]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Committing generated configure & Makefile.in pieces of
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_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 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 ENABLE_WERROR_FALSE
680 ENABLE_WERROR_TRUE
681 ENABLE_PYTHONDIR_FALSE
682 ENABLE_PYTHONDIR_TRUE
683 python_mod_dir
684 ENABLE_EXTERN_TEMPLATE_FALSE
685 ENABLE_EXTERN_TEMPLATE_TRUE
686 EXTRA_CXX_FLAGS
687 GLIBCXX_BUILD_DEBUG_FALSE
688 GLIBCXX_BUILD_DEBUG_TRUE
689 DEBUG_FLAGS
690 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
692 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
693 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
694 GLIBCXX_C_HEADERS_C_STD_FALSE
695 GLIBCXX_C_HEADERS_C_STD_TRUE
696 GLIBCXX_C_HEADERS_C_FALSE
697 GLIBCXX_C_HEADERS_C_TRUE
698 C_INCLUDE_DIR
699 ALLOCATOR_NAME
700 ALLOCATOR_H
701 CLOCALE_INTERNAL_H
702 CLOCALE_CC
703 CTIME_CC
704 CTIME_H
705 CNUMERIC_CC
706 CMONEY_CC
707 CMESSAGES_CC
708 CCTYPE_CC
709 CCOLLATE_CC
710 CCODECVT_CC
711 CMESSAGES_H
712 CLOCALE_H
713 USE_NLS
714 glibcxx_localedir
715 glibcxx_POFILES
716 glibcxx_MOFILES
717 check_msgfmt
718 BASIC_FILE_CC
719 BASIC_FILE_H
720 CSTDIO_H
721 SECTION_FLAGS
722 WERROR
723 thread_header
724 glibcxx_PCHFLAGS
725 GLIBCXX_BUILD_PCH_FALSE
726 GLIBCXX_BUILD_PCH_TRUE
727 GLIBCXX_HOSTED_FALSE
728 GLIBCXX_HOSTED_TRUE
729 glibcxx_compiler_shared_flag
730 glibcxx_compiler_pic_flag
731 glibcxx_lt_pic_flag
732 enable_static
733 enable_shared
734 lt_host_flags
735 CXXCPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 OBJDUMP
742 NM
743 ac_ct_DUMPBIN
744 DUMPBIN
745 LD
746 FGREP
747 SED
748 LIBTOOL
749 EGREP
750 GREP
751 CPP
752 MAINT
753 MAINTAINER_MODE_FALSE
754 MAINTAINER_MODE_TRUE
755 RANLIB
756 AR
757 AS
758 LN_S
759 toplevel_srcdir
760 toplevel_builddir
761 glibcxx_srcdir
762 glibcxx_builddir
763 ac_ct_CXX
764 CXXFLAGS
765 CXX
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
772 CC
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
778 AWK
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_os
797 target_vendor
798 target_cpu
799 target
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 multi_basedir
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_multilib
851 with_target_subdir
852 with_cross_host
853 with_newlib
854 enable_maintainer_mode
855 enable_shared
856 enable_static
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 enable_libtool_lock
861 enable_hosted_libstdcxx
862 enable_libstdcxx_verbose
863 enable_sjlj_exceptions
864 enable_libstdcxx_pch
865 enable_cstdio
866 enable_clocale
867 enable_nls
868 enable_libstdcxx_allocator
869 enable_cheaders
870 enable_long_long
871 enable_wchar_t
872 enable_c99
873 enable_concept_checks
874 enable_libstdcxx_debug_flags
875 enable_libstdcxx_debug
876 enable_cxx_flags
877 enable_fully_dynamic_string
878 enable_extern_template
879 with_python_dir
880 enable_werror
881 enable_vtable_verify
882 enable_libstdcxx_time
883 enable_tls
884 enable_rpath
885 with_libiconv_prefix
886 with_system_libunwind
887 enable_linux_futex
888 enable_symvers
889 enable_libstdcxx_visibility
890 enable_libstdcxx_dual_abi
891 with_default_libstdcxx_abi
892 enable_libstdcxx_threads
893 with_gxx_include_dir
894 enable_version_specific_runtime_libs
895 '
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
899 CC
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
904 CXX
905 CXXFLAGS
906 CCC
907 CPP
908 CXXCPP
909 CXXFILT'
910
911
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
933
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
959
960 ac_prev=
961 ac_dashdash=
962 for ac_option
963 do
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
967 ac_prev=
968 continue
969 fi
970
971 case $ac_option in
972 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 *) ac_optarg=yes ;;
974 esac
975
976 # Accept the important Cygnus configure options, so we can diagnose typos.
977
978 case $ac_dashdash$ac_option in
979 --)
980 ac_dashdash=yes ;;
981
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 ac_prev=bindir ;;
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 bindir=$ac_optarg ;;
986
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
991
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
998
999 --config-cache | -C)
1000 cache_file=config.cache ;;
1001
1002 -datadir | --datadir | --datadi | --datad)
1003 ac_prev=datadir ;;
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1006
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1013
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1022 *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1029
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1034
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1039
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1048 *"
1049 "enable_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1055
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1064
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1067 with_gas=yes ;;
1068
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1075
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1080
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 ac_prev=htmldir ;;
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 | --ht=*)
1085 htmldir=$ac_optarg ;;
1086
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1093
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 ac_prev=infodir ;;
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1098
1099 -libdir | --libdir | --libdi | --libd)
1100 ac_prev=libdir ;;
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1103
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1110
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1115
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1122
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 ac_prev=mandir ;;
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1127
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1130 with_fp=no ;;
1131
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1134 no_create=yes ;;
1135
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 no_recursion=yes ;;
1139
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1148
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 ac_prev=prefix ;;
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1153
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1160
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1167
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1184
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 ac_prev=pdfdir ;;
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1189
1190 -psdir | --psdir | --psdi | --psd | --ps)
1191 ac_prev=psdir ;;
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 psdir=$ac_optarg ;;
1194
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1197 silent=yes ;;
1198
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 ac_prev=sbindir ;;
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 | --sbi=* | --sb=*)
1203 sbindir=$ac_optarg ;;
1204
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1208 | --sha | --sh)
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 | --sha=* | --sh=*)
1214 sharedstatedir=$ac_optarg ;;
1215
1216 -site | --site | --sit)
1217 ac_prev=site ;;
1218 -site=* | --site=* | --sit=*)
1219 site=$ac_optarg ;;
1220
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 ac_prev=srcdir ;;
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1225
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1232
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1237
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 verbose=yes ;;
1240
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1243
1244 -with-* | --with-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1252 *"
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=\$ac_optarg ;;
1259
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1268 *"
1269 "with_$ac_useropt"
1270 "*) ;;
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1273 esac
1274 eval with_$ac_useropt=no ;;
1275
1276 --x)
1277 # Obsolete; use --with-x.
1278 with_x=yes ;;
1279
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1286
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1293
1294 -*) as_fn_error "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information."
1296 ;;
1297
1298 *=*)
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1304 esac
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1307
1308 *)
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314 ;;
1315
1316 esac
1317 done
1318
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error "missing argument to $ac_option"
1322 fi
1323
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1326 no) ;;
1327 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 esac
1330 fi
1331
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1337 do
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1340 case $ac_val in
1341 */ )
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1344 esac
1345 # Be sure to have absolute directory names.
1346 case $ac_val in
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 esac
1350 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1352
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1359
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1367 cross_compiling=yes
1368 fi
1369 fi
1370
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1373
1374 test "$silent" = yes && exec 6>/dev/null
1375
1376
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 as_fn_error "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382 as_fn_error "pwd does not report name of working directory"
1383
1384
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$as_myself" : 'X\(//\)[^/]' \| \
1392 X"$as_myself" : 'X\(//\)$' \| \
1393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 s//\1/
1397 q
1398 }
1399 /^X\(\/\/\)[^/].*/{
1400 s//\1/
1401 q
1402 }
1403 /^X\(\/\/\)$/{
1404 s//\1/
1405 q
1406 }
1407 /^X\(\/\).*/{
1408 s//\1/
1409 q
1410 }
1411 s/.*/./; q'`
1412 srcdir=$ac_confdir
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 srcdir=..
1415 fi
1416 else
1417 ac_srcdir_defaulted=no
1418 fi
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1422 fi
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426 pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 srcdir=.
1430 fi
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_env_${ac_var}_value=\$${ac_var}
1440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1443
1444 #
1445 # Report the --help message.
1446 #
1447 if test "$ac_init_help" = "long"; then
1448 # Omit some internal or obsolete options to make the list less imposing.
1449 # This message is too long to be a string in the A/UX 3.1 sh.
1450 cat <<_ACEOF
1451 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1452
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1454
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE. See below for descriptions of some of the useful variables.
1457
1458 Defaults for the options are specified in brackets.
1459
1460 Configuration:
1461 -h, --help display this help and exit
1462 --help=short display options specific to this package
1463 --help=recursive display the short help of all the included packages
1464 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1466 --cache-file=FILE cache test results in FILE [disabled]
1467 -C, --config-cache alias for \`--cache-file=config.cache'
1468 -n, --no-create do not create output files
1469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470
1471 Installation directories:
1472 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 [PREFIX]
1476
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1481
1482 For better control, use the options below.
1483
1484 Fine tuning of the installation directories:
1485 --bindir=DIR user executables [EPREFIX/bin]
1486 --sbindir=DIR system admin executables [EPREFIX/sbin]
1487 --libexecdir=DIR program executables [EPREFIX/libexec]
1488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491 --libdir=DIR object code libraries [EPREFIX/lib]
1492 --includedir=DIR C header files [PREFIX/include]
1493 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1494 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496 --infodir=DIR info documentation [DATAROOTDIR/info]
1497 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498 --mandir=DIR man documentation [DATAROOTDIR/man]
1499 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1500 --htmldir=DIR html documentation [DOCDIR]
1501 --dvidir=DIR dvi documentation [DOCDIR]
1502 --pdfdir=DIR pdf documentation [DOCDIR]
1503 --psdir=DIR ps documentation [DOCDIR]
1504 _ACEOF
1505
1506 cat <<\_ACEOF
1507
1508 Program names:
1509 --program-prefix=PREFIX prepend PREFIX to installed program names
1510 --program-suffix=SUFFIX append SUFFIX to installed program names
1511 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1512
1513 System types:
1514 --build=BUILD configure for building on BUILD [guessed]
1515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 --target=TARGET configure for building compilers for TARGET [HOST]
1517 _ACEOF
1518 fi
1519
1520 if test -n "$ac_init_help"; then
1521 case $ac_init_help in
1522 short | recursive ) echo "Configuration of package-unused version-unused:";;
1523 esac
1524 cat <<\_ACEOF
1525
1526 Optional Features:
1527 --disable-option-checking ignore unrecognized --enable/--with options
1528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1530 --enable-multilib build many library versions (default)
1531 --enable-maintainer-mode enable make rules and dependencies not useful
1532 (and sometimes confusing) to the casual installer
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-static[=PKGS] build static libraries [default=yes]
1535 --enable-fast-install[=PKGS]
1536 optimize for fast installation [default=yes]
1537 --disable-libtool-lock avoid locking (might break parallel builds)
1538 --disable-hosted-libstdcxx
1539 only build freestanding C++ runtime support
1540 --disable-libstdcxx-verbose
1541 disable termination messages to standard error
1542 --enable-sjlj-exceptions
1543 force use of builtin_setjmp for exceptions
1544 [default=auto]
1545 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1546 [default=$is_hosted]
1547 --enable-cstdio[=PACKAGE]
1548 use target-specific I/O package [default=stdio]
1549 --enable-clocale[=MODEL]
1550 use MODEL for target locale package [default=auto]
1551 --enable-nls use Native Language Support (default)
1552 --enable-libstdcxx-allocator[=KIND]
1553 use KIND for target std::allocator base
1554 [default=auto]
1555 --enable-cheaders[=KIND]
1556 construct "C" headers for g++ [default=$c_model]
1557 --enable-long-long enable template specializations for 'long long'
1558 [default=yes]
1559 --enable-wchar_t enable template specializations for 'wchar_t'
1560 [default=yes]
1561 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1562 --enable-concept-checks use Boost-derived template checks [default=no]
1563 --enable-libstdcxx-debug-flags=FLAGS
1564 pass compiler FLAGS when building debug library
1565 [default="-gdwarf-4 -g3 -O0"]
1566 --enable-libstdcxx-debug
1567 build extra debug library [default=no]
1568 --enable-cxx-flags=FLAGS
1569 pass compiler FLAGS when building library [default=]
1570 --enable-fully-dynamic-string
1571 do not put empty strings in per-process static
1572 memory [default=no]
1573 --enable-extern-template
1574 enable extern template [default=yes]
1575 --enable-werror turns on -Werror [default=yes]
1576 --enable-vtable-verify enable vtable verify [default=no]
1577 --enable-libstdcxx-time[=KIND]
1578 use KIND for check type [default=auto]
1579 --enable-tls Use thread-local storage [default=yes]
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-linux-futex use the Linux futex system call [default=default]
1582 --enable-symvers[=STYLE]
1583 enables symbol versioning of the shared library
1584 [default=yes]
1585 --enable-libstdcxx-visibility
1586 enables visibility safe usage [default=yes]
1587 --enable-libstdcxx-dual-abi
1588 support two versions of std::string [default=yes]
1589 --enable-libstdcxx-threads
1590 enable C++11 threads support [default=auto]
1591 --enable-version-specific-runtime-libs
1592 Specify that runtime libraries should be installed
1593 in a compiler-specific directory
1594
1595 Optional Packages:
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-target-subdir=SUBDIR
1599 configuring in a subdirectory
1600 --with-cross-host=HOST configuring with a cross compiler
1601 --with-newlib assume newlib as a system C library
1602 --with-pic try to use only PIC/non-PIC objects [default=use
1603 both]
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1605 --with-python-dir the location to install Python modules. This path is
1606 relative starting from the prefix.
1607 --with-gnu-ld assume the C compiler uses GNU ld default=no
1608 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1609 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1610 --with-system-libunwind use installed libunwind
1611 --with-default-libstdcxx-abi
1612 set the std::string ABI to use by default
1613 --with-gxx-include-dir=DIR
1614 installation directory for include files
1615
1616 Some influential environment variables:
1617 CC C compiler command
1618 CFLAGS C compiler flags
1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1620 nonstandard directory <lib dir>
1621 LIBS libraries to pass to the linker, e.g. -l<library>
1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 you have headers in a nonstandard directory <include dir>
1624 CXX C++ compiler command
1625 CXXFLAGS C++ compiler flags
1626 CPP C preprocessor
1627 CXXCPP C++ preprocessor
1628 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1629 `c++filt', `gc++filt' on PATH.
1630
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1633
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1637 fi
1638
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 continue
1645 ac_builddir=.
1646
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *)
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1662
1663 case $srcdir in
1664 .) # We are building in place.
1665 ac_srcdir=.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1672 *) # Relative name.
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1682 echo &&
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1687 else
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 fi || ac_status=$?
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1691 done
1692 fi
1693
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696 cat <<\_ACEOF
1697 package-unused configure version-unused
1698 generated by GNU Autoconf 2.64
1699
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704 exit
1705 fi
1706
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1710
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1715 {
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1731 fi
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742 ac_retval=1
1743 fi
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1746
1747 } # ac_fn_c_try_compile
1748
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1753 {
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1769 fi
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780 ac_retval=1
1781 fi
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1784
1785 } # ac_fn_cxx_try_compile
1786
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1791 {
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1806 fi
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } >/dev/null && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817 ac_retval=1
1818 fi
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 return $ac_retval
1821
1822 } # ac_fn_c_try_cpp
1823
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_c_try_link ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1839 ac_status=$?
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1844 fi
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 $as_test_x conftest$ac_exeext
1852 }; then :
1853 ac_retval=0
1854 else
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858 ac_retval=1
1859 fi
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 return $ac_retval
1867
1868 } # ac_fn_c_try_link
1869
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1875 {
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 $4
1885 #include <$2>
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=yes"
1889 else
1890 eval "$3=no"
1891 fi
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 fi
1894 eval ac_res=\$$3
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1898
1899 } # ac_fn_c_check_header_compile
1900
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1905 ac_fn_c_try_run ()
1906 {
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_link"
1909 case "(($ac_try" in
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1916 ac_status=$?
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1926 ac_status=$?
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1929 ac_retval=0
1930 else
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1934
1935 ac_retval=$ac_status
1936 fi
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 return $ac_retval
1940
1941 } # ac_fn_c_try_run
1942
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1947 {
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1953 else
1954 if test x$gcc_no_link = xyes; then
1955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1956 fi
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1961 #define $2 innocuous_$2
1962
1963 /* System header to define __stub macros and hopefully few prototypes,
1964 which can conflict with char $2 (); below.
1965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966 <limits.h> exists even on freestanding compilers. */
1967
1968 #ifdef __STDC__
1969 # include <limits.h>
1970 #else
1971 # include <assert.h>
1972 #endif
1973
1974 #undef $2
1975
1976 /* Override any GCC internal prototype to avoid an error.
1977 Use char because int might match the return type of a GCC
1978 builtin and then its argument prototype would still apply. */
1979 #ifdef __cplusplus
1980 extern "C"
1981 #endif
1982 char $2 ();
1983 /* The GNU C library defines this for functions which it implements
1984 to always fail with ENOSYS. Some functions are actually named
1985 something starting with __ and the normal name is an alias. */
1986 #if defined __stub_$2 || defined __stub___$2
1987 choke me
1988 #endif
1989
1990 int
1991 main ()
1992 {
1993 return $2 ();
1994 ;
1995 return 0;
1996 }
1997 _ACEOF
1998 if ac_fn_c_try_link "$LINENO"; then :
1999 eval "$3=yes"
2000 else
2001 eval "$3=no"
2002 fi
2003 rm -f core conftest.err conftest.$ac_objext \
2004 conftest$ac_exeext conftest.$ac_ext
2005 fi
2006 eval ac_res=\$$3
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010
2011 } # ac_fn_c_check_func
2012
2013 # ac_fn_cxx_try_cpp LINENO
2014 # ------------------------
2015 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_cpp ()
2017 {
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if { { ac_try="$ac_cpp conftest.$ac_ext"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2032 fi
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } >/dev/null && {
2035 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 }; then :
2038 ac_retval=0
2039 else
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2042
2043 ac_retval=1
2044 fi
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046 return $ac_retval
2047
2048 } # ac_fn_cxx_try_cpp
2049
2050 # ac_fn_cxx_try_link LINENO
2051 # -------------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_link ()
2054 {
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 rm -f conftest.$ac_objext conftest$ac_exeext
2057 if { { ac_try="$ac_link"
2058 case "(($ac_try" in
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>conftest.err
2065 ac_status=$?
2066 if test -s conftest.err; then
2067 grep -v '^ *+' conftest.err >conftest.er1
2068 cat conftest.er1 >&5
2069 mv -f conftest.er1 conftest.err
2070 fi
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; } && {
2073 test -z "$ac_cxx_werror_flag" ||
2074 test ! -s conftest.err
2075 } && test -s conftest$ac_exeext && {
2076 test "$cross_compiling" = yes ||
2077 $as_test_x conftest$ac_exeext
2078 }; then :
2079 ac_retval=0
2080 else
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2083
2084 ac_retval=1
2085 fi
2086 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088 # interfere with the next link command; also delete a directory that is
2089 # left behind by Apple's compiler. We do this before executing the actions.
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 return $ac_retval
2093
2094 } # ac_fn_cxx_try_link
2095
2096 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099 # the include files in INCLUDES and setting the cache variable VAR
2100 # accordingly.
2101 ac_fn_c_check_header_mongrel ()
2102 {
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 $as_echo_n "(cached) " >&6
2109 fi
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 else
2114 # Is the header compilable?
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116 $as_echo_n "checking $2 usability... " >&6; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2119 $4
2120 #include <$2>
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_header_compiler=yes
2124 else
2125 ac_header_compiler=no
2126 fi
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129 $as_echo "$ac_header_compiler" >&6; }
2130
2131 # Is the header present?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133 $as_echo_n "checking $2 presence... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_cpp "$LINENO"; then :
2139 ac_header_preproc=yes
2140 else
2141 ac_header_preproc=no
2142 fi
2143 rm -f conftest.err conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145 $as_echo "$ac_header_preproc" >&6; }
2146
2147 # So? What about this header?
2148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149 yes:no: )
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 ;;
2155 no:yes:* )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2159 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2163 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2166 ;;
2167 esac
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 eval "$3=\$ac_header_compiler"
2174 fi
2175 eval ac_res=\$$3
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2178 fi
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2180
2181 } # ac_fn_c_check_header_mongrel
2182
2183 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # ---------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_cxx_check_header_mongrel ()
2189 {
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2196 fi
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 $4
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_cxx_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2213 fi
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2217
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_cxx_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2229 fi
2230 rm -f conftest.err conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2233
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 ;;
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2253 ;;
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2261 fi
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2265 fi
2266 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2267
2268 } # ac_fn_cxx_check_header_mongrel
2269
2270 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2271 # --------------------------------------------
2272 # Tries to find the compile-time value of EXPR in a program that includes
2273 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2274 # computed
2275 ac_fn_c_compute_int ()
2276 {
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if test "$cross_compiling" = yes; then
2279 # Depending upon the size, compute the lo and hi bounds.
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2282 $4
2283 int
2284 main ()
2285 {
2286 static int test_array [1 - 2 * !(($2) >= 0)];
2287 test_array [0] = 0
2288
2289 ;
2290 return 0;
2291 }
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294 ac_lo=0 ac_mid=0
2295 while :; do
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2298 $4
2299 int
2300 main ()
2301 {
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2303 test_array [0] = 0
2304
2305 ;
2306 return 0;
2307 }
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310 ac_hi=$ac_mid; break
2311 else
2312 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2313 if test $ac_lo -le $ac_mid; then
2314 ac_lo= ac_hi=
2315 break
2316 fi
2317 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2318 fi
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 done
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2324 $4
2325 int
2326 main ()
2327 {
2328 static int test_array [1 - 2 * !(($2) < 0)];
2329 test_array [0] = 0
2330
2331 ;
2332 return 0;
2333 }
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"; then :
2336 ac_hi=-1 ac_mid=-1
2337 while :; do
2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2340 $4
2341 int
2342 main ()
2343 {
2344 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2345 test_array [0] = 0
2346
2347 ;
2348 return 0;
2349 }
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=$ac_mid; break
2353 else
2354 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2355 if test $ac_mid -le $ac_hi; then
2356 ac_lo= ac_hi=
2357 break
2358 fi
2359 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2360 fi
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 done
2363 else
2364 ac_lo= ac_hi=
2365 fi
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 fi
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 # Binary search between lo and hi bounds.
2370 while test "x$ac_lo" != "x$ac_hi"; do
2371 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2374 $4
2375 int
2376 main ()
2377 {
2378 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2379 test_array [0] = 0
2380
2381 ;
2382 return 0;
2383 }
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid
2387 else
2388 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2389 fi
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2391 done
2392 case $ac_lo in #((
2393 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2394 '') ac_retval=1 ;;
2395 esac
2396 else
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2399 $4
2400 static long int longval () { return $2; }
2401 static unsigned long int ulongval () { return $2; }
2402 #include <stdio.h>
2403 #include <stdlib.h>
2404 int
2405 main ()
2406 {
2407
2408 FILE *f = fopen ("conftest.val", "w");
2409 if (! f)
2410 return 1;
2411 if (($2) < 0)
2412 {
2413 long int i = longval ();
2414 if (i != ($2))
2415 return 1;
2416 fprintf (f, "%ld", i);
2417 }
2418 else
2419 {
2420 unsigned long int i = ulongval ();
2421 if (i != ($2))
2422 return 1;
2423 fprintf (f, "%lu", i);
2424 }
2425 /* Do not output a trailing newline, as this causes \r\n confusion
2426 on some platforms. */
2427 return ferror (f) || fclose (f) != 0;
2428
2429 ;
2430 return 0;
2431 }
2432 _ACEOF
2433 if ac_fn_c_try_run "$LINENO"; then :
2434 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2435 else
2436 ac_retval=1
2437 fi
2438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2439 conftest.$ac_objext conftest.beam conftest.$ac_ext
2440 rm -f conftest.val
2441
2442 fi
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2444 return $ac_retval
2445
2446 } # ac_fn_c_compute_int
2447
2448 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2449 # -------------------------------------------
2450 # Tests whether TYPE exists after having included INCLUDES, setting cache
2451 # variable VAR accordingly.
2452 ac_fn_c_check_type ()
2453 {
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2458 $as_echo_n "(cached) " >&6
2459 else
2460 eval "$3=no"
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2463 $4
2464 int
2465 main ()
2466 {
2467 if (sizeof ($2))
2468 return 0;
2469 ;
2470 return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2476 $4
2477 int
2478 main ()
2479 {
2480 if (sizeof (($2)))
2481 return 0;
2482 ;
2483 return 0;
2484 }
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2487
2488 else
2489 eval "$3=yes"
2490 fi
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 fi
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 fi
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2499
2500 } # ac_fn_c_check_type
2501 cat >config.log <<_ACEOF
2502 This file contains any messages produced by compilers while
2503 running configure, to aid debugging if configure makes a mistake.
2504
2505 It was created by package-unused $as_me version-unused, which was
2506 generated by GNU Autoconf 2.64. Invocation command line was
2507
2508 $ $0 $@
2509
2510 _ACEOF
2511 exec 5>>config.log
2512 {
2513 cat <<_ASUNAME
2514 ## --------- ##
2515 ## Platform. ##
2516 ## --------- ##
2517
2518 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2519 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2520 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2521 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2522 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2523
2524 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2525 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2526
2527 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2528 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2529 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2530 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2531 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2532 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2533 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2534
2535 _ASUNAME
2536
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2539 do
2540 IFS=$as_save_IFS
2541 test -z "$as_dir" && as_dir=.
2542 $as_echo "PATH: $as_dir"
2543 done
2544 IFS=$as_save_IFS
2545
2546 } >&5
2547
2548 cat >&5 <<_ACEOF
2549
2550
2551 ## ----------- ##
2552 ## Core tests. ##
2553 ## ----------- ##
2554
2555 _ACEOF
2556
2557
2558 # Keep a trace of the command line.
2559 # Strip out --no-create and --no-recursion so they do not pile up.
2560 # Strip out --silent because we don't want to record it for future runs.
2561 # Also quote any args containing shell meta-characters.
2562 # Make two passes to allow for proper duplicate-argument suppression.
2563 ac_configure_args=
2564 ac_configure_args0=
2565 ac_configure_args1=
2566 ac_must_keep_next=false
2567 for ac_pass in 1 2
2568 do
2569 for ac_arg
2570 do
2571 case $ac_arg in
2572 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2574 | -silent | --silent | --silen | --sile | --sil)
2575 continue ;;
2576 *\'*)
2577 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2578 esac
2579 case $ac_pass in
2580 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2581 2)
2582 as_fn_append ac_configure_args1 " '$ac_arg'"
2583 if test $ac_must_keep_next = true; then
2584 ac_must_keep_next=false # Got value, back to normal.
2585 else
2586 case $ac_arg in
2587 *=* | --config-cache | -C | -disable-* | --disable-* \
2588 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2589 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2590 | -with-* | --with-* | -without-* | --without-* | --x)
2591 case "$ac_configure_args0 " in
2592 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2593 esac
2594 ;;
2595 -* ) ac_must_keep_next=true ;;
2596 esac
2597 fi
2598 as_fn_append ac_configure_args " '$ac_arg'"
2599 ;;
2600 esac
2601 done
2602 done
2603 { ac_configure_args0=; unset ac_configure_args0;}
2604 { ac_configure_args1=; unset ac_configure_args1;}
2605
2606 # When interrupted or exit'd, cleanup temporary files, and complete
2607 # config.log. We remove comments because anyway the quotes in there
2608 # would cause problems or look ugly.
2609 # WARNING: Use '\'' to represent an apostrophe within the trap.
2610 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2611 trap 'exit_status=$?
2612 # Save into config.log some information that might help in debugging.
2613 {
2614 echo
2615
2616 cat <<\_ASBOX
2617 ## ---------------- ##
2618 ## Cache variables. ##
2619 ## ---------------- ##
2620 _ASBOX
2621 echo
2622 # The following way of writing the cache mishandles newlines in values,
2623 (
2624 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2625 eval ac_val=\$$ac_var
2626 case $ac_val in #(
2627 *${as_nl}*)
2628 case $ac_var in #(
2629 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2631 esac
2632 case $ac_var in #(
2633 _ | IFS | as_nl) ;; #(
2634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2635 *) { eval $ac_var=; unset $ac_var;} ;;
2636 esac ;;
2637 esac
2638 done
2639 (set) 2>&1 |
2640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2641 *${as_nl}ac_space=\ *)
2642 sed -n \
2643 "s/'\''/'\''\\\\'\'''\''/g;
2644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2645 ;; #(
2646 *)
2647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2648 ;;
2649 esac |
2650 sort
2651 )
2652 echo
2653
2654 cat <<\_ASBOX
2655 ## ----------------- ##
2656 ## Output variables. ##
2657 ## ----------------- ##
2658 _ASBOX
2659 echo
2660 for ac_var in $ac_subst_vars
2661 do
2662 eval ac_val=\$$ac_var
2663 case $ac_val in
2664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2665 esac
2666 $as_echo "$ac_var='\''$ac_val'\''"
2667 done | sort
2668 echo
2669
2670 if test -n "$ac_subst_files"; then
2671 cat <<\_ASBOX
2672 ## ------------------- ##
2673 ## File substitutions. ##
2674 ## ------------------- ##
2675 _ASBOX
2676 echo
2677 for ac_var in $ac_subst_files
2678 do
2679 eval ac_val=\$$ac_var
2680 case $ac_val in
2681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2682 esac
2683 $as_echo "$ac_var='\''$ac_val'\''"
2684 done | sort
2685 echo
2686 fi
2687
2688 if test -s confdefs.h; then
2689 cat <<\_ASBOX
2690 ## ----------- ##
2691 ## confdefs.h. ##
2692 ## ----------- ##
2693 _ASBOX
2694 echo
2695 cat confdefs.h
2696 echo
2697 fi
2698 test "$ac_signal" != 0 &&
2699 $as_echo "$as_me: caught signal $ac_signal"
2700 $as_echo "$as_me: exit $exit_status"
2701 } >&5
2702 rm -f core *.core core.conftest.* &&
2703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2704 exit $exit_status
2705 ' 0
2706 for ac_signal in 1 2 13 15; do
2707 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2708 done
2709 ac_signal=0
2710
2711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2712 rm -f -r conftest* confdefs.h
2713
2714 $as_echo "/* confdefs.h */" > confdefs.h
2715
2716 # Predefined preprocessor variables.
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_NAME "$PACKAGE_NAME"
2720 _ACEOF
2721
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2724 _ACEOF
2725
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2728 _ACEOF
2729
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_STRING "$PACKAGE_STRING"
2732 _ACEOF
2733
2734 cat >>confdefs.h <<_ACEOF
2735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2736 _ACEOF
2737
2738 cat >>confdefs.h <<_ACEOF
2739 #define PACKAGE_URL "$PACKAGE_URL"
2740 _ACEOF
2741
2742
2743 # Let the site file select an alternate cache file if it wants to.
2744 # Prefer an explicitly selected file to automatically selected ones.
2745 ac_site_file1=NONE
2746 ac_site_file2=NONE
2747 if test -n "$CONFIG_SITE"; then
2748 ac_site_file1=$CONFIG_SITE
2749 elif test "x$prefix" != xNONE; then
2750 ac_site_file1=$prefix/share/config.site
2751 ac_site_file2=$prefix/etc/config.site
2752 else
2753 ac_site_file1=$ac_default_prefix/share/config.site
2754 ac_site_file2=$ac_default_prefix/etc/config.site
2755 fi
2756 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2757 do
2758 test "x$ac_site_file" = xNONE && continue
2759 if test -r "$ac_site_file"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2761 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2762 sed 's/^/| /' "$ac_site_file" >&5
2763 . "$ac_site_file"
2764 fi
2765 done
2766
2767 if test -r "$cache_file"; then
2768 # Some versions of bash will fail to source /dev/null (special
2769 # files actually), so we avoid doing that.
2770 if test -f "$cache_file"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2772 $as_echo "$as_me: loading cache $cache_file" >&6;}
2773 case $cache_file in
2774 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2775 *) . "./$cache_file";;
2776 esac
2777 fi
2778 else
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2780 $as_echo "$as_me: creating cache $cache_file" >&6;}
2781 >$cache_file
2782 fi
2783
2784 # Check that the precious variables saved in the cache have kept the same
2785 # value.
2786 ac_cache_corrupted=false
2787 for ac_var in $ac_precious_vars; do
2788 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2789 eval ac_new_set=\$ac_env_${ac_var}_set
2790 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2791 eval ac_new_val=\$ac_env_${ac_var}_value
2792 case $ac_old_set,$ac_new_set in
2793 set,)
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2796 ac_cache_corrupted=: ;;
2797 ,set)
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2800 ac_cache_corrupted=: ;;
2801 ,);;
2802 *)
2803 if test "x$ac_old_val" != "x$ac_new_val"; then
2804 # differences in whitespace do not lead to failure.
2805 ac_old_val_w=`echo x $ac_old_val`
2806 ac_new_val_w=`echo x $ac_new_val`
2807 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2810 ac_cache_corrupted=:
2811 else
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2814 eval $ac_var=\$ac_old_val
2815 fi
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2820 fi;;
2821 esac
2822 # Pass precious variables to config.status.
2823 if test "$ac_new_set" = set; then
2824 case $ac_new_val in
2825 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2826 *) ac_arg=$ac_var=$ac_new_val ;;
2827 esac
2828 case " $ac_configure_args " in
2829 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2830 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2831 esac
2832 fi
2833 done
2834 if $ac_cache_corrupted; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2839 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2840 fi
2841 ## -------------------- ##
2842 ## Main body of script. ##
2843 ## -------------------- ##
2844
2845 ac_ext=c
2846 ac_cpp='$CPP $CPPFLAGS'
2847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2850
2851
2852
2853
2854
2855
2856 ac_config_headers="$ac_config_headers config.h"
2857
2858
2859 # This works around the fact that libtool configuration may change LD
2860 # for this particular configuration, but some shells, instead of
2861 # keeping the changes in LD private, export them just because LD is
2862 # exported. Only used at the end of this file.
2863 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2864
2865 # Find the rest of the source tree framework.
2866 # Default to --enable-multilib
2867 # Check whether --enable-multilib was given.
2868 if test "${enable_multilib+set}" = set; then :
2869 enableval=$enable_multilib; case "$enableval" in
2870 yes) multilib=yes ;;
2871 no) multilib=no ;;
2872 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2873 esac
2874 else
2875 multilib=yes
2876 fi
2877
2878
2879 # We may get other options which we leave undocumented:
2880 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2881 # See config-ml.in if you want the gory details.
2882
2883 if test "$srcdir" = "."; then
2884 if test "$with_target_subdir" != "."; then
2885 multi_basedir="$srcdir/$with_multisrctop../.."
2886 else
2887 multi_basedir="$srcdir/$with_multisrctop.."
2888 fi
2889 else
2890 multi_basedir="$srcdir/.."
2891 fi
2892
2893
2894 # Even if the default multilib is not a cross compilation,
2895 # it may be that some of the other multilibs are.
2896 if test $cross_compiling = no && test $multilib = yes \
2897 && test "x${with_multisubdir}" != x ; then
2898 cross_compiling=maybe
2899 fi
2900
2901 ac_config_commands="$ac_config_commands default-1"
2902
2903
2904 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2905 #
2906 # You will slowly go insane if you do not grok the following fact: when
2907 # building v3 as part of the compiler, the top-level /target/ becomes the
2908 # library's /host/. configure then causes --target to default to --host,
2909 # exactly like any other package using autoconf. Therefore, 'target' and
2910 # 'host' will always be the same. This makes sense both for native and
2911 # cross compilers, just think about it for a little while. :-)
2912 #
2913 # Also, if v3 is being configured as part of a cross compiler, the top-level
2914 # configure script will pass the "real" host as $with_cross_host.
2915 #
2916 # Do not delete or change the following two lines. For why, see
2917 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2918 ac_aux_dir=
2919 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2920 for ac_t in install-sh install.sh shtool; do
2921 if test -f "$ac_dir/$ac_t"; then
2922 ac_aux_dir=$ac_dir
2923 ac_install_sh="$ac_aux_dir/$ac_t -c"
2924 break 2
2925 fi
2926 done
2927 done
2928 if test -z "$ac_aux_dir"; then
2929 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2930 fi
2931
2932 # These three variables are undocumented and unsupported,
2933 # and are intended to be withdrawn in a future Autoconf release.
2934 # They can cause serious problems if a builder's source tree is in a directory
2935 # whose full name contains unusual characters.
2936 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2937 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2938 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2939
2940
2941 # Make sure we can run config.sub.
2942 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2943 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2944
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2946 $as_echo_n "checking build system type... " >&6; }
2947 if test "${ac_cv_build+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 ac_build_alias=$build_alias
2951 test "x$ac_build_alias" = x &&
2952 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2953 test "x$ac_build_alias" = x &&
2954 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2955 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2956 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2957
2958 fi
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2960 $as_echo "$ac_cv_build" >&6; }
2961 case $ac_cv_build in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2964 esac
2965 build=$ac_cv_build
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_build
2968 shift
2969 build_cpu=$1
2970 build_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 build_os=$*
2975 IFS=$ac_save_IFS
2976 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2977
2978
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2980 $as_echo_n "checking host system type... " >&6; }
2981 if test "${ac_cv_host+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test "x$host_alias" = x; then
2985 ac_cv_host=$ac_cv_build
2986 else
2987 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2988 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2989 fi
2990
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2993 $as_echo "$ac_cv_host" >&6; }
2994 case $ac_cv_host in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2997 esac
2998 host=$ac_cv_host
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_host
3001 shift
3002 host_cpu=$1
3003 host_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 host_os=$*
3008 IFS=$ac_save_IFS
3009 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3010
3011
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3013 $as_echo_n "checking target system type... " >&6; }
3014 if test "${ac_cv_target+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3016 else
3017 if test "x$target_alias" = x; then
3018 ac_cv_target=$ac_cv_host
3019 else
3020 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3021 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3022 fi
3023
3024 fi
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3026 $as_echo "$ac_cv_target" >&6; }
3027 case $ac_cv_target in
3028 *-*-*) ;;
3029 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3030 esac
3031 target=$ac_cv_target
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_target
3034 shift
3035 target_cpu=$1
3036 target_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 target_os=$*
3041 IFS=$ac_save_IFS
3042 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3043
3044
3045 # The aliases save the names the user supplied, while $host etc.
3046 # will get canonicalized.
3047 test -n "$target_alias" &&
3048 test "$program_prefix$program_suffix$program_transform_name" = \
3049 NONENONEs,x,x, &&
3050 program_prefix=${target_alias}-
3051
3052 target_alias=${target_alias-$host_alias}
3053
3054 # Handy for debugging:
3055 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3056
3057 if test "$build" != "$host"; then
3058 # We are being configured with some form of cross compiler.
3059 GLIBCXX_IS_NATIVE=false
3060 case "$host","$target" in
3061 # Darwin crosses can use the host system's libraries and headers,
3062 # because of the fat library support. Of course, it must be the
3063 # same version of Darwin on both sides. Allow the user to
3064 # just say --target=foo-darwin without a version number to mean
3065 # "the version on this system".
3066 *-*-darwin*,*-*-darwin*)
3067 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3068 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3069 if test $hostos = $targetos -o $targetos = darwin ; then
3070 GLIBCXX_IS_NATIVE=true
3071 fi
3072 ;;
3073
3074 *)
3075
3076 ;;
3077 esac
3078 else
3079 GLIBCXX_IS_NATIVE=true
3080 fi
3081
3082 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3083 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3084 # 1.x: minimum required version
3085 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3086 # of other PACKAGE_* variables will, however, and there's nothing
3087 # we can do about that; they come from AC_INIT).
3088 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3089 # file in the top srcdir, etc, etc), so stop complaining.
3090 # no-dependencies: turns off auto dependency generation (just for now)
3091 # no-dist: we don't want 'dist' and related rules.
3092 # -Wall: turns on all automake warnings...
3093 # -Wno-portability: ...except this one, since GNU make is now required.
3094 am__api_version='1.11'
3095
3096 # Find a good install program. We prefer a C program (faster),
3097 # so one script is as good as another. But avoid the broken or
3098 # incompatible versions:
3099 # SysV /etc/install, /usr/sbin/install
3100 # SunOS /usr/etc/install
3101 # IRIX /sbin/install
3102 # AIX /bin/install
3103 # AmigaOS /C/install, which installs bootblocks on floppy discs
3104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3107 # OS/2's system install, which has a completely different semantic
3108 # ./install, which can be erroneously created by make from ./install.sh.
3109 # Reject install programs that cannot install multiple files.
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3111 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3112 if test -z "$INSTALL"; then
3113 if test "${ac_cv_path_install+set}" = set; then :
3114 $as_echo_n "(cached) " >&6
3115 else
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3118 do
3119 IFS=$as_save_IFS
3120 test -z "$as_dir" && as_dir=.
3121 # Account for people who put trailing slashes in PATH elements.
3122 case $as_dir/ in #((
3123 ./ | .// | /[cC]/* | \
3124 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3125 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3126 /usr/ucb/* ) ;;
3127 *)
3128 # OSF1 and SCO ODT 3.0 have their own names for install.
3129 # Don't use installbsd from OSF since it installs stuff as root
3130 # by default.
3131 for ac_prog in ginstall scoinst install; do
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3134 if test $ac_prog = install &&
3135 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3136 # AIX install. It has an incompatible calling convention.
3137 :
3138 elif test $ac_prog = install &&
3139 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3140 # program-specific install script used by HP pwplus--don't use.
3141 :
3142 else
3143 rm -rf conftest.one conftest.two conftest.dir
3144 echo one > conftest.one
3145 echo two > conftest.two
3146 mkdir conftest.dir
3147 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3148 test -s conftest.one && test -s conftest.two &&
3149 test -s conftest.dir/conftest.one &&
3150 test -s conftest.dir/conftest.two
3151 then
3152 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3153 break 3
3154 fi
3155 fi
3156 fi
3157 done
3158 done
3159 ;;
3160 esac
3161
3162 done
3163 IFS=$as_save_IFS
3164
3165 rm -rf conftest.one conftest.two conftest.dir
3166
3167 fi
3168 if test "${ac_cv_path_install+set}" = set; then
3169 INSTALL=$ac_cv_path_install
3170 else
3171 # As a last resort, use the slow shell script. Don't cache a
3172 # value for INSTALL within a source directory, because that will
3173 # break other packages using the cache if that directory is
3174 # removed, or if the value is a relative name.
3175 INSTALL=$ac_install_sh
3176 fi
3177 fi
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3179 $as_echo "$INSTALL" >&6; }
3180
3181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3182 # It thinks the first close brace ends the variable substitution.
3183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3184
3185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3186
3187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3188
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3190 $as_echo_n "checking whether build environment is sane... " >&6; }
3191 # Just in case
3192 sleep 1
3193 echo timestamp > conftest.file
3194 # Reject unsafe characters in $srcdir or the absolute working directory
3195 # name. Accept space and tab only in the latter.
3196 am_lf='
3197 '
3198 case `pwd` in
3199 *[\\\"\#\$\&\'\`$am_lf]*)
3200 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3201 esac
3202 case $srcdir in
3203 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3204 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3205 esac
3206
3207 # Do `set' in a subshell so we don't clobber the current shell's
3208 # arguments. Must try -L first in case configure is actually a
3209 # symlink; some systems play weird games with the mod time of symlinks
3210 # (eg FreeBSD returns the mod time of the symlink's containing
3211 # directory).
3212 if (
3213 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3214 if test "$*" = "X"; then
3215 # -L didn't work.
3216 set X `ls -t "$srcdir/configure" conftest.file`
3217 fi
3218 rm -f conftest.file
3219 if test "$*" != "X $srcdir/configure conftest.file" \
3220 && test "$*" != "X conftest.file $srcdir/configure"; then
3221
3222 # If neither matched, then we have a broken ls. This can happen
3223 # if, for instance, CONFIG_SHELL is bash and it inherits a
3224 # broken ls alias from the environment. This has actually
3225 # happened. Such a system could not be considered "sane".
3226 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3227 alias in your environment" "$LINENO" 5
3228 fi
3229
3230 test "$2" = conftest.file
3231 )
3232 then
3233 # Ok.
3234 :
3235 else
3236 as_fn_error "newly created file is older than distributed files!
3237 Check your system clock" "$LINENO" 5
3238 fi
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3241 test "$program_prefix" != NONE &&
3242 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3243 # Use a double $ so make ignores it.
3244 test "$program_suffix" != NONE &&
3245 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3246 # Double any \ or $.
3247 # By default was `s,x,x', remove it if useless.
3248 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3249 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3250
3251 # expand $ac_aux_dir to an absolute path
3252 am_aux_dir=`cd $ac_aux_dir && pwd`
3253
3254 if test x"${MISSING+set}" != xset; then
3255 case $am_aux_dir in
3256 *\ * | *\ *)
3257 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3258 *)
3259 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3260 esac
3261 fi
3262 # Use eval to expand $SHELL
3263 if eval "$MISSING --run true"; then
3264 am_missing_run="$MISSING --run "
3265 else
3266 am_missing_run=
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3269 fi
3270
3271 if test x"${install_sh}" != xset; then
3272 case $am_aux_dir in
3273 *\ * | *\ *)
3274 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3275 *)
3276 install_sh="\${SHELL} $am_aux_dir/install-sh"
3277 esac
3278 fi
3279
3280 # Installed binaries are usually stripped using `strip' when the user
3281 # run `make install-strip'. However `strip' might not be the right
3282 # tool to use in cross-compilation environments, therefore Automake
3283 # will honor the `STRIP' environment variable to overrule this program.
3284 if test "$cross_compiling" != no; then
3285 if test -n "$ac_tool_prefix"; then
3286 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3287 set dummy ${ac_tool_prefix}strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$STRIP"; then
3294 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3298 do
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3306 fi
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 fi
3312 fi
3313 STRIP=$ac_cv_prog_STRIP
3314 if test -n "$STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3316 $as_echo "$STRIP" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 fi
3321
3322
3323 fi
3324 if test -z "$ac_cv_prog_STRIP"; then
3325 ac_ct_STRIP=$STRIP
3326 # Extract the first word of "strip", so it can be a program name with args.
3327 set dummy strip; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 if test -n "$ac_ct_STRIP"; then
3334 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3338 do
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_ac_ct_STRIP="strip"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3346 fi
3347 done
3348 done
3349 IFS=$as_save_IFS
3350
3351 fi
3352 fi
3353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3354 if test -n "$ac_ct_STRIP"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3356 $as_echo "$ac_ct_STRIP" >&6; }
3357 else
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3360 fi
3361
3362 if test "x$ac_ct_STRIP" = x; then
3363 STRIP=":"
3364 else
3365 case $cross_compiling:$ac_tool_warned in
3366 yes:)
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3369 ac_tool_warned=yes ;;
3370 esac
3371 STRIP=$ac_ct_STRIP
3372 fi
3373 else
3374 STRIP="$ac_cv_prog_STRIP"
3375 fi
3376
3377 fi
3378 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3379
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3381 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3382 if test -z "$MKDIR_P"; then
3383 if test "${ac_cv_path_mkdir+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3388 do
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_prog in mkdir gmkdir; do
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3394 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3395 'mkdir (GNU coreutils) '* | \
3396 'mkdir (coreutils) '* | \
3397 'mkdir (fileutils) '4.1*)
3398 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3399 break 3;;
3400 esac
3401 done
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407
3408 if test "${ac_cv_path_mkdir+set}" = set; then
3409 MKDIR_P="$ac_cv_path_mkdir -p"
3410 else
3411 # As a last resort, use the slow shell script. Don't cache a
3412 # value for MKDIR_P within a source directory, because that will
3413 # break other packages using the cache if that directory is
3414 # removed, or if the value is a relative name.
3415 test -d ./--version && rmdir ./--version
3416 MKDIR_P="$ac_install_sh -d"
3417 fi
3418 fi
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3420 $as_echo "$MKDIR_P" >&6; }
3421
3422 mkdir_p="$MKDIR_P"
3423 case $mkdir_p in
3424 [\\/$]* | ?:[\\/]*) ;;
3425 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3426 esac
3427
3428 for ac_prog in gawk mawk nawk awk
3429 do
3430 # Extract the first word of "$ac_prog", so it can be a program name with args.
3431 set dummy $ac_prog; ac_word=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if test "${ac_cv_prog_AWK+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 if test -n "$AWK"; then
3438 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3442 do
3443 IFS=$as_save_IFS
3444 test -z "$as_dir" && as_dir=.
3445 for ac_exec_ext in '' $ac_executable_extensions; do
3446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3447 ac_cv_prog_AWK="$ac_prog"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3449 break 2
3450 fi
3451 done
3452 done
3453 IFS=$as_save_IFS
3454
3455 fi
3456 fi
3457 AWK=$ac_cv_prog_AWK
3458 if test -n "$AWK"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3460 $as_echo "$AWK" >&6; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 fi
3465
3466
3467 test -n "$AWK" && break
3468 done
3469
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3471 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3472 set x ${MAKE-make}
3473 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3474 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 cat >conftest.make <<\_ACEOF
3478 SHELL = /bin/sh
3479 all:
3480 @echo '@@@%%%=$(MAKE)=@@@%%%'
3481 _ACEOF
3482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3484 *@@@%%%=?*=@@@%%%*)
3485 eval ac_cv_prog_make_${ac_make}_set=yes;;
3486 *)
3487 eval ac_cv_prog_make_${ac_make}_set=no;;
3488 esac
3489 rm -f conftest.make
3490 fi
3491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3493 $as_echo "yes" >&6; }
3494 SET_MAKE=
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 SET_MAKE="MAKE=${MAKE-make}"
3499 fi
3500
3501 rm -rf .tst 2>/dev/null
3502 mkdir .tst 2>/dev/null
3503 if test -d .tst; then
3504 am__leading_dot=.
3505 else
3506 am__leading_dot=_
3507 fi
3508 rmdir .tst 2>/dev/null
3509
3510 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3511 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3512 # is not polluted with repeated "-I."
3513 am__isrc=' -I$(srcdir)'
3514 # test to see if srcdir already configured
3515 if test -f $srcdir/config.status; then
3516 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3517 fi
3518 fi
3519
3520 # test whether we have cygpath
3521 if test -z "$CYGPATH_W"; then
3522 if (cygpath --version) >/dev/null 2>/dev/null; then
3523 CYGPATH_W='cygpath -w'
3524 else
3525 CYGPATH_W=echo
3526 fi
3527 fi
3528
3529
3530 # Define the identity of the package.
3531 PACKAGE='libstdc++'
3532 VERSION='version-unused'
3533
3534
3535 # Some tools Automake needs.
3536
3537 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3538
3539
3540 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3541
3542
3543 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3544
3545
3546 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3547
3548
3549 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3550
3551 # We need awk for the "check" target. The system "awk" is bad on
3552 # some platforms.
3553 # Always define AMTAR for backward compatibility.
3554
3555 AMTAR=${AMTAR-"${am_missing_run}tar"}
3556
3557 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3558
3559
3560
3561
3562
3563
3564
3565
3566 # -fno-builtin must be present here so that a non-conflicting form of
3567 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3568
3569 save_CXXFLAGS="$CXXFLAGS"
3570 CXXFLAGS="$CXXFLAGS -fno-builtin"
3571 ac_ext=c
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3589 do
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3597 fi
3598 done
3599 done
3600 IFS=$as_save_IFS
3601
3602 fi
3603 fi
3604 CC=$ac_cv_prog_CC
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3611 fi
3612
3613
3614 fi
3615 if test -z "$ac_cv_prog_CC"; then
3616 ac_ct_CC=$CC
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3629 do
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3637 fi
3638 done
3639 done
3640 IFS=$as_save_IFS
3641
3642 fi
3643 fi
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3651 fi
3652
3653 if test "x$ac_ct_CC" = x; then
3654 CC=""
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3661 esac
3662 CC=$ac_ct_CC
3663 fi
3664 else
3665 CC="$ac_cv_prog_CC"
3666 fi
3667
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3682 do
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3690 fi
3691 done
3692 done
3693 IFS=$as_save_IFS
3694
3695 fi
3696 fi
3697 CC=$ac_cv_prog_CC
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3704 fi
3705
3706
3707 fi
3708 fi
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_CC+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 ac_prog_rejected=no
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3723 do
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3730 continue
3731 fi
3732 ac_cv_prog_CC="cc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3735 fi
3736 done
3737 done
3738 IFS=$as_save_IFS
3739
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3743 shift
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3748 shift
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3750 fi
3751 fi
3752 fi
3753 fi
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3761 fi
3762
3763
3764 fi
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3768 do
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if test "${ac_cv_prog_CC+set}" = set; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3781 do
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3789 fi
3790 done
3791 done
3792 IFS=$as_save_IFS
3793
3794 fi
3795 fi
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3803 fi
3804
3805
3806 test -n "$CC" && break
3807 done
3808 fi
3809 if test -z "$CC"; then
3810 ac_ct_CC=$CC
3811 for ac_prog in cl.exe
3812 do
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3825 do
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3833 fi
3834 done
3835 done
3836 IFS=$as_save_IFS
3837
3838 fi
3839 fi
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3847 fi
3848
3849
3850 test -n "$ac_ct_CC" && break
3851 done
3852
3853 if test "x$ac_ct_CC" = x; then
3854 CC=""
3855 else
3856 case $cross_compiling:$ac_tool_warned in
3857 yes:)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3861 esac
3862 CC=$ac_ct_CC
3863 fi
3864 fi
3865
3866 fi
3867
3868
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details." "$LINENO" 5; }
3873
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 set X $ac_compile
3877 ac_compiler=$2
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 ac_status=$?
3888 if test -s conftest.err; then
3889 sed '10a\
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3893 rm -f conftest.er1 conftest.err
3894 fi
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3897 done
3898
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901
3902 int
3903 main ()
3904 {
3905
3906 ;
3907 return 0;
3908 }
3909 _ACEOF
3910 # FIXME: Cleanup?
3911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3912 (eval $ac_link) 2>&5
3913 ac_status=$?
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }; then :
3916 gcc_no_link=no
3917 else
3918 gcc_no_link=yes
3919 fi
3920 if test x$gcc_no_link = xyes; then
3921 # Setting cross_compile will disable run tests; it will
3922 # also disable AC_CHECK_FILE but that's generally
3923 # correct if we can't link.
3924 cross_compiling=yes
3925 EXEEXT=
3926 else
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3929
3930 int
3931 main ()
3932 {
3933
3934 ;
3935 return 0;
3936 }
3937 _ACEOF
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3942 # of exeext.
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3944 $as_echo_n "checking for C compiler default output file name... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3946
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3949
3950 ac_rmfiles=
3951 for ac_file in $ac_files
3952 do
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 esac
3957 done
3958 rm -f $ac_rmfiles
3959
3960 if { { ac_try="$ac_link_default"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3975 # Autoconf.
3976 for ac_file in $ac_files ''
3977 do
3978 test -f "$ac_file" || continue
3979 case $ac_file in
3980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3981 ;;
3982 [ab].out )
3983 # We found the default executable, but exeext='' is most
3984 # certainly right.
3985 break;;
3986 *.* )
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3988 then :; else
3989 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 fi
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
3995 # actually working.
3996 break;;
3997 * )
3998 break;;
3999 esac
4000 done
4001 test "$ac_cv_exeext" = no && ac_cv_exeext=
4002
4003 else
4004 ac_file=''
4005 fi
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4007 $as_echo "$ac_file" >&6; }
4008 if test -z "$ac_file"; then :
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4011
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 { as_fn_set_status 77
4015 as_fn_error "C compiler cannot create executables
4016 See \`config.log' for more details." "$LINENO" 5; }; }
4017 fi
4018 ac_exeext=$ac_cv_exeext
4019
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4023 $as_echo_n "checking whether the C compiler works... " >&6; }
4024 # If not cross compiling, check that we can run a simple program.
4025 if test "$cross_compiling" != yes; then
4026 if { ac_try='./$ac_file'
4027 { { case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; }; then
4037 cross_compiling=no
4038 else
4039 if test "$cross_compiling" = maybe; then
4040 cross_compiling=yes
4041 else
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error "cannot run C compiled programs.
4045 If you meant to cross compile, use \`--host'.
4046 See \`config.log' for more details." "$LINENO" 5; }
4047 fi
4048 fi
4049 fi
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4052
4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4054 ac_clean_files=$ac_clean_files_save
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 $as_echo "$cross_compiling" >&6; }
4061
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4072 ac_status=$?
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe'), while it won't with
4078 # `rm'.
4079 for ac_file in conftest.exe conftest conftest.*; do
4080 test -f "$ac_file" || continue
4081 case $ac_file in
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4084 break;;
4085 * ) break;;
4086 esac
4087 done
4088 else
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error "cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details." "$LINENO" 5; }
4093 fi
4094 rm -f conftest$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4097
4098 rm -f conftest.$ac_ext
4099 EXEEXT=$ac_cv_exeext
4100 ac_exeext=$EXEEXT
4101 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4103 $as_echo_n "checking for suffix of object files... " >&6; }
4104 if test "${ac_cv_objext+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4106 else
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109
4110 int
4111 main ()
4112 {
4113
4114 ;
4115 return 0;
4116 }
4117 _ACEOF
4118 rm -f conftest.o conftest.obj
4119 if { { ac_try="$ac_compile"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_compile") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 for ac_file in conftest.o conftest.obj conftest.*; do
4131 test -f "$ac_file" || continue;
4132 case $ac_file in
4133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4134 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4135 break;;
4136 esac
4137 done
4138 else
4139 $as_echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4141
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error "cannot compute suffix of object files: cannot compile
4145 See \`config.log' for more details." "$LINENO" 5; }
4146 fi
4147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4148 fi
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4150 $as_echo "$ac_cv_objext" >&6; }
4151 OBJEXT=$ac_cv_objext
4152 ac_objext=$OBJEXT
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4154 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4155 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160
4161 int
4162 main ()
4163 {
4164 #ifndef __GNUC__
4165 choke me
4166 #endif
4167
4168 ;
4169 return 0;
4170 }
4171 _ACEOF
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_compiler_gnu=yes
4174 else
4175 ac_compiler_gnu=no
4176 fi
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4182 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4183 if test $ac_compiler_gnu = yes; then
4184 GCC=yes
4185 else
4186 GCC=
4187 fi
4188 ac_test_CFLAGS=${CFLAGS+set}
4189 ac_save_CFLAGS=$CFLAGS
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4191 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4192 if test "${ac_cv_prog_cc_g+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 ac_save_c_werror_flag=$ac_c_werror_flag
4196 ac_c_werror_flag=yes
4197 ac_cv_prog_cc_g=no
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4201
4202 int
4203 main ()
4204 {
4205
4206 ;
4207 return 0;
4208 }
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4212 else
4213 CFLAGS=""
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216
4217 int
4218 main ()
4219 {
4220
4221 ;
4222 return 0;
4223 }
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226
4227 else
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4229 CFLAGS="-g"
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4232
4233 int
4234 main ()
4235 {
4236
4237 ;
4238 return 0;
4239 }
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_cv_prog_cc_g=yes
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 fi
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4249 ac_c_werror_flag=$ac_save_c_werror_flag
4250 fi
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4252 $as_echo "$ac_cv_prog_cc_g" >&6; }
4253 if test "$ac_test_CFLAGS" = set; then
4254 CFLAGS=$ac_save_CFLAGS
4255 elif test $ac_cv_prog_cc_g = yes; then
4256 if test "$GCC" = yes; then
4257 CFLAGS="-g -O2"
4258 else
4259 CFLAGS="-g"
4260 fi
4261 else
4262 if test "$GCC" = yes; then
4263 CFLAGS="-O2"
4264 else
4265 CFLAGS=
4266 fi
4267 fi
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4269 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4270 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 ac_cv_prog_cc_c89=no
4274 ac_save_CC=$CC
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4277 #include <stdarg.h>
4278 #include <stdio.h>
4279 #include <sys/types.h>
4280 #include <sys/stat.h>
4281 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4282 struct buf { int x; };
4283 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4284 static char *e (p, i)
4285 char **p;
4286 int i;
4287 {
4288 return p[i];
4289 }
4290 static char *f (char * (*g) (char **, int), char **p, ...)
4291 {
4292 char *s;
4293 va_list v;
4294 va_start (v,p);
4295 s = g (p, va_arg (v,int));
4296 va_end (v);
4297 return s;
4298 }
4299
4300 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4301 function prototypes and stuff, but not '\xHH' hex character constants.
4302 These don't provoke an error unfortunately, instead are silently treated
4303 as 'x'. The following induces an error, until -std is added to get
4304 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4305 array size at least. It's necessary to write '\x00'==0 to get something
4306 that's true only with -std. */
4307 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4308
4309 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4310 inside strings and character constants. */
4311 #define FOO(x) 'x'
4312 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4313
4314 int test (int i, double x);
4315 struct s1 {int (*f) (int a);};
4316 struct s2 {int (*f) (double a);};
4317 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4318 int argc;
4319 char **argv;
4320 int
4321 main ()
4322 {
4323 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4324 ;
4325 return 0;
4326 }
4327 _ACEOF
4328 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4329 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4330 do
4331 CC="$ac_save_CC $ac_arg"
4332 if ac_fn_c_try_compile "$LINENO"; then :
4333 ac_cv_prog_cc_c89=$ac_arg
4334 fi
4335 rm -f core conftest.err conftest.$ac_objext
4336 test "x$ac_cv_prog_cc_c89" != "xno" && break
4337 done
4338 rm -f conftest.$ac_ext
4339 CC=$ac_save_CC
4340
4341 fi
4342 # AC_CACHE_VAL
4343 case "x$ac_cv_prog_cc_c89" in
4344 x)
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4346 $as_echo "none needed" >&6; } ;;
4347 xno)
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4349 $as_echo "unsupported" >&6; } ;;
4350 *)
4351 CC="$CC $ac_cv_prog_cc_c89"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4353 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4354 esac
4355 if test "x$ac_cv_prog_cc_c89" != xno; then :
4356
4357 fi
4358
4359 ac_ext=c
4360 ac_cpp='$CPP $CPPFLAGS'
4361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364
4365 ac_ext=cpp
4366 ac_cpp='$CXXCPP $CPPFLAGS'
4367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 if test -z "$CXX"; then
4371 if test -n "$CCC"; then
4372 CXX=$CCC
4373 else
4374 if test -n "$ac_tool_prefix"; then
4375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4376 do
4377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_CXX+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$CXX"; then
4385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4389 do
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4397 fi
4398 done
4399 done
4400 IFS=$as_save_IFS
4401
4402 fi
4403 fi
4404 CXX=$ac_cv_prog_CXX
4405 if test -n "$CXX"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4407 $as_echo "$CXX" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4411 fi
4412
4413
4414 test -n "$CXX" && break
4415 done
4416 fi
4417 if test -z "$CXX"; then
4418 ac_ct_CXX=$CXX
4419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4420 do
4421 # Extract the first word of "$ac_prog", so it can be a program name with args.
4422 set dummy $ac_prog; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$ac_ct_CXX"; then
4429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4433 do
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_ac_ct_CXX="$ac_prog"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4441 fi
4442 done
4443 done
4444 IFS=$as_save_IFS
4445
4446 fi
4447 fi
4448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4449 if test -n "$ac_ct_CXX"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4451 $as_echo "$ac_ct_CXX" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4455 fi
4456
4457
4458 test -n "$ac_ct_CXX" && break
4459 done
4460
4461 if test "x$ac_ct_CXX" = x; then
4462 CXX="g++"
4463 else
4464 case $cross_compiling:$ac_tool_warned in
4465 yes:)
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned=yes ;;
4469 esac
4470 CXX=$ac_ct_CXX
4471 fi
4472 fi
4473
4474 fi
4475 fi
4476 # Provide some information about the compiler.
4477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4478 set X $ac_compile
4479 ac_compiler=$2
4480 for ac_option in --version -v -V -qversion; do
4481 { { ac_try="$ac_compiler $ac_option >&5"
4482 case "(($ac_try" in
4483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4485 esac
4486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4487 $as_echo "$ac_try_echo"; } >&5
4488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4489 ac_status=$?
4490 if test -s conftest.err; then
4491 sed '10a\
4492 ... rest of stderr output deleted ...
4493 10q' conftest.err >conftest.er1
4494 cat conftest.er1 >&5
4495 rm -f conftest.er1 conftest.err
4496 fi
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }
4499 done
4500
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508
4509 int
4510 main ()
4511 {
4512 #ifndef __GNUC__
4513 choke me
4514 #endif
4515
4516 ;
4517 return 0;
4518 }
4519 _ACEOF
4520 if ac_fn_cxx_try_compile "$LINENO"; then :
4521 ac_compiler_gnu=yes
4522 else
4523 ac_compiler_gnu=no
4524 fi
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4527
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4530 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4532 GXX=yes
4533 else
4534 GXX=
4535 fi
4536 ac_test_CXXFLAGS=${CXXFLAGS+set}
4537 ac_save_CXXFLAGS=$CXXFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4539 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4540 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4544 ac_cxx_werror_flag=yes
4545 ac_cv_prog_cxx_g=no
4546 CXXFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549
4550 int
4551 main ()
4552 {
4553
4554 ;
4555 return 0;
4556 }
4557 _ACEOF
4558 if ac_fn_cxx_try_compile "$LINENO"; then :
4559 ac_cv_prog_cxx_g=yes
4560 else
4561 CXXFLAGS=""
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4564
4565 int
4566 main ()
4567 {
4568
4569 ;
4570 return 0;
4571 }
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4574
4575 else
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4577 CXXFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4580
4581 int
4582 main ()
4583 {
4584
4585 ;
4586 return 0;
4587 }
4588 _ACEOF
4589 if ac_fn_cxx_try_compile "$LINENO"; then :
4590 ac_cv_prog_cxx_g=yes
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 fi
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4598 fi
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4600 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4601 if test "$ac_test_CXXFLAGS" = set; then
4602 CXXFLAGS=$ac_save_CXXFLAGS
4603 elif test $ac_cv_prog_cxx_g = yes; then
4604 if test "$GXX" = yes; then
4605 CXXFLAGS="-g -O2"
4606 else
4607 CXXFLAGS="-g"
4608 fi
4609 else
4610 if test "$GXX" = yes; then
4611 CXXFLAGS="-O2"
4612 else
4613 CXXFLAGS=
4614 fi
4615 fi
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4621
4622 CXXFLAGS="$save_CXXFLAGS"
4623
4624 # Runs configure.host, and assorted other critical bits. Sets
4625 # up critical shell variables.
4626
4627 ac_ext=c
4628 ac_cpp='$CPP $CPPFLAGS'
4629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4633 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4634 # On Suns, sometimes $CPP names a directory.
4635 if test -n "$CPP" && test -d "$CPP"; then
4636 CPP=
4637 fi
4638 if test -z "$CPP"; then
4639 if test "${ac_cv_prog_CPP+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 # Double quotes because CPP needs to be expanded
4643 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4644 do
4645 ac_preproc_ok=false
4646 for ac_c_preproc_warn_flag in '' yes
4647 do
4648 # Use a header file that comes with gcc, so configuring glibc
4649 # with a fresh cross-compiler works.
4650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4651 # <limits.h> exists even on freestanding compilers.
4652 # On the NeXT, cc -E runs the code through the compiler's parser,
4653 # not just through cpp. "Syntax error" is here to catch this case.
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #ifdef __STDC__
4657 # include <limits.h>
4658 #else
4659 # include <assert.h>
4660 #endif
4661 Syntax error
4662 _ACEOF
4663 if ac_fn_c_try_cpp "$LINENO"; then :
4664
4665 else
4666 # Broken: fails on valid input.
4667 continue
4668 fi
4669 rm -f conftest.err conftest.$ac_ext
4670
4671 # OK, works on sane cases. Now check whether nonexistent headers
4672 # can be detected and how.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675 #include <ac_nonexistent.h>
4676 _ACEOF
4677 if ac_fn_c_try_cpp "$LINENO"; then :
4678 # Broken: success on invalid input.
4679 continue
4680 else
4681 # Passes both tests.
4682 ac_preproc_ok=:
4683 break
4684 fi
4685 rm -f conftest.err conftest.$ac_ext
4686
4687 done
4688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4689 rm -f conftest.err conftest.$ac_ext
4690 if $ac_preproc_ok; then :
4691 break
4692 fi
4693
4694 done
4695 ac_cv_prog_CPP=$CPP
4696
4697 fi
4698 CPP=$ac_cv_prog_CPP
4699 else
4700 ac_cv_prog_CPP=$CPP
4701 fi
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4703 $as_echo "$CPP" >&6; }
4704 ac_preproc_ok=false
4705 for ac_c_preproc_warn_flag in '' yes
4706 do
4707 # Use a header file that comes with gcc, so configuring glibc
4708 # with a fresh cross-compiler works.
4709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710 # <limits.h> exists even on freestanding compilers.
4711 # On the NeXT, cc -E runs the code through the compiler's parser,
4712 # not just through cpp. "Syntax error" is here to catch this case.
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if ac_fn_c_try_cpp "$LINENO"; then :
4723
4724 else
4725 # Broken: fails on valid input.
4726 continue
4727 fi
4728 rm -f conftest.err conftest.$ac_ext
4729
4730 # OK, works on sane cases. Now check whether nonexistent headers
4731 # can be detected and how.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <ac_nonexistent.h>
4735 _ACEOF
4736 if ac_fn_c_try_cpp "$LINENO"; then :
4737 # Broken: success on invalid input.
4738 continue
4739 else
4740 # Passes both tests.
4741 ac_preproc_ok=:
4742 break
4743 fi
4744 rm -f conftest.err conftest.$ac_ext
4745
4746 done
4747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4748 rm -f conftest.err conftest.$ac_ext
4749 if $ac_preproc_ok; then :
4750
4751 else
4752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4755 See \`config.log' for more details." "$LINENO" 5; }
4756 fi
4757
4758 ac_ext=c
4759 ac_cpp='$CPP $CPPFLAGS'
4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763
4764
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4766 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4767 if test "${ac_cv_path_GREP+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 if test -z "$GREP"; then
4771 ac_path_GREP_found=false
4772 # Loop through the user's path and test for each of PROGNAME-LIST
4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4775 do
4776 IFS=$as_save_IFS
4777 test -z "$as_dir" && as_dir=.
4778 for ac_prog in grep ggrep; do
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4781 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4782 # Check for GNU ac_path_GREP and select it if it is found.
4783 # Check for GNU $ac_path_GREP
4784 case `"$ac_path_GREP" --version 2>&1` in
4785 *GNU*)
4786 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4787 *)
4788 ac_count=0
4789 $as_echo_n 0123456789 >"conftest.in"
4790 while :
4791 do
4792 cat "conftest.in" "conftest.in" >"conftest.tmp"
4793 mv "conftest.tmp" "conftest.in"
4794 cp "conftest.in" "conftest.nl"
4795 $as_echo 'GREP' >> "conftest.nl"
4796 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4797 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4798 as_fn_arith $ac_count + 1 && ac_count=$as_val
4799 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4800 # Best one so far, save it but keep looking for a better one
4801 ac_cv_path_GREP="$ac_path_GREP"
4802 ac_path_GREP_max=$ac_count
4803 fi
4804 # 10*(2^10) chars as input seems more than enough
4805 test $ac_count -gt 10 && break
4806 done
4807 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4808 esac
4809
4810 $ac_path_GREP_found && break 3
4811 done
4812 done
4813 done
4814 IFS=$as_save_IFS
4815 if test -z "$ac_cv_path_GREP"; then
4816 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4817 fi
4818 else
4819 ac_cv_path_GREP=$GREP
4820 fi
4821
4822 fi
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4824 $as_echo "$ac_cv_path_GREP" >&6; }
4825 GREP="$ac_cv_path_GREP"
4826
4827
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4829 $as_echo_n "checking for egrep... " >&6; }
4830 if test "${ac_cv_path_EGREP+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4834 then ac_cv_path_EGREP="$GREP -E"
4835 else
4836 if test -z "$EGREP"; then
4837 ac_path_EGREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4841 do
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in egrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4848 # Check for GNU ac_path_EGREP and select it if it is found.
4849 # Check for GNU $ac_path_EGREP
4850 case `"$ac_path_EGREP" --version 2>&1` in
4851 *GNU*)
4852 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4853 *)
4854 ac_count=0
4855 $as_echo_n 0123456789 >"conftest.in"
4856 while :
4857 do
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo 'EGREP' >> "conftest.nl"
4862 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_EGREP="$ac_path_EGREP"
4868 ac_path_EGREP_max=$ac_count
4869 fi
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4872 done
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4875
4876 $ac_path_EGREP_found && break 3
4877 done
4878 done
4879 done
4880 IFS=$as_save_IFS
4881 if test -z "$ac_cv_path_EGREP"; then
4882 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4883 fi
4884 else
4885 ac_cv_path_EGREP=$EGREP
4886 fi
4887
4888 fi
4889 fi
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4891 $as_echo "$ac_cv_path_EGREP" >&6; }
4892 EGREP="$ac_cv_path_EGREP"
4893
4894
4895
4896 # Keep these sync'd with the list in Makefile.am. The first provides an
4897 # expandable list at autoconf time; the second provides an expandable list
4898 # (i.e., shell variable) at configure time.
4899
4900 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4901
4902 # These need to be absolute paths, yet at the same time need to
4903 # canonicalize only relative paths, because then amd will not unmount
4904 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4905 glibcxx_builddir=`${PWDCMD-pwd}`
4906 case $srcdir in
4907 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4908 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4909 esac
4910 toplevel_builddir=${glibcxx_builddir}/..
4911 toplevel_srcdir=${glibcxx_srcdir}/..
4912
4913
4914
4915
4916
4917 # We use these options to decide which functions to include. They are
4918 # set from the top level.
4919
4920 # Check whether --with-target-subdir was given.
4921 if test "${with_target_subdir+set}" = set; then :
4922 withval=$with_target_subdir;
4923 fi
4924
4925
4926
4927 # Check whether --with-cross-host was given.
4928 if test "${with_cross_host+set}" = set; then :
4929 withval=$with_cross_host;
4930 fi
4931
4932
4933
4934 # Check whether --with-newlib was given.
4935 if test "${with_newlib+set}" = set; then :
4936 withval=$with_newlib;
4937 fi
4938
4939
4940 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4941 # available). Uncomment the next line to force a particular method.
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4943 $as_echo_n "checking whether ln -s works... " >&6; }
4944 LN_S=$as_ln_s
4945 if test "$LN_S" = "ln -s"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4947 $as_echo "yes" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4950 $as_echo "no, using $LN_S" >&6; }
4951 fi
4952
4953 #LN_S='cp -p'
4954
4955 if test -n "$ac_tool_prefix"; then
4956 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4957 set dummy ${ac_tool_prefix}as; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if test "${ac_cv_prog_AS+set}" = set; then :
4961 $as_echo_n "(cached) " >&6
4962 else
4963 if test -n "$AS"; then
4964 ac_cv_prog_AS="$AS" # Let the user override the test.
4965 else
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4968 do
4969 IFS=$as_save_IFS
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_AS="${ac_tool_prefix}as"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 break 2
4976 fi
4977 done
4978 done
4979 IFS=$as_save_IFS
4980
4981 fi
4982 fi
4983 AS=$ac_cv_prog_AS
4984 if test -n "$AS"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4986 $as_echo "$AS" >&6; }
4987 else
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 fi
4991
4992
4993 fi
4994 if test -z "$ac_cv_prog_AS"; then
4995 ac_ct_AS=$AS
4996 # Extract the first word of "as", so it can be a program name with args.
4997 set dummy as; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 if test -n "$ac_ct_AS"; then
5004 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5008 do
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_ac_ct_AS="as"
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5016 fi
5017 done
5018 done
5019 IFS=$as_save_IFS
5020
5021 fi
5022 fi
5023 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5024 if test -n "$ac_ct_AS"; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5026 $as_echo "$ac_ct_AS" >&6; }
5027 else
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5030 fi
5031
5032 if test "x$ac_ct_AS" = x; then
5033 AS=""
5034 else
5035 case $cross_compiling:$ac_tool_warned in
5036 yes:)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5040 esac
5041 AS=$ac_ct_AS
5042 fi
5043 else
5044 AS="$ac_cv_prog_AS"
5045 fi
5046
5047 if test -n "$ac_tool_prefix"; then
5048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5049 set dummy ${ac_tool_prefix}ar; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_AR+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$AR"; then
5056 ac_cv_prog_AR="$AR" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5060 do
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_AR="${ac_tool_prefix}ar"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5068 fi
5069 done
5070 done
5071 IFS=$as_save_IFS
5072
5073 fi
5074 fi
5075 AR=$ac_cv_prog_AR
5076 if test -n "$AR"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5078 $as_echo "$AR" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5082 fi
5083
5084
5085 fi
5086 if test -z "$ac_cv_prog_AR"; then
5087 ac_ct_AR=$AR
5088 # Extract the first word of "ar", so it can be a program name with args.
5089 set dummy ar; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 if test -n "$ac_ct_AR"; then
5096 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5100 do
5101 IFS=$as_save_IFS
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_ac_ct_AR="ar"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 break 2
5108 fi
5109 done
5110 done
5111 IFS=$as_save_IFS
5112
5113 fi
5114 fi
5115 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5116 if test -n "$ac_ct_AR"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5118 $as_echo "$ac_ct_AR" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 fi
5123
5124 if test "x$ac_ct_AR" = x; then
5125 AR=""
5126 else
5127 case $cross_compiling:$ac_tool_warned in
5128 yes:)
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned=yes ;;
5132 esac
5133 AR=$ac_ct_AR
5134 fi
5135 else
5136 AR="$ac_cv_prog_AR"
5137 fi
5138
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5152 do
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5160 fi
5161 done
5162 done
5163 IFS=$as_save_IFS
5164
5165 fi
5166 fi
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5170 $as_echo "$RANLIB" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5174 fi
5175
5176
5177 fi
5178 if test -z "$ac_cv_prog_RANLIB"; then
5179 ac_ct_RANLIB=$RANLIB
5180 # Extract the first word of "ranlib", so it can be a program name with args.
5181 set dummy ranlib; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$ac_ct_RANLIB"; then
5188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5192 do
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_ac_ct_RANLIB="ranlib"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5200 fi
5201 done
5202 done
5203 IFS=$as_save_IFS
5204
5205 fi
5206 fi
5207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5208 if test -n "$ac_ct_RANLIB"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5210 $as_echo "$ac_ct_RANLIB" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5214 fi
5215
5216 if test "x$ac_ct_RANLIB" = x; then
5217 RANLIB="ranlib-not-found-in-path-error"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 RANLIB=$ac_ct_RANLIB
5226 fi
5227 else
5228 RANLIB="$ac_cv_prog_RANLIB"
5229 fi
5230
5231
5232
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5234 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5235 # Check whether --enable-maintainer-mode was given.
5236 if test "${enable_maintainer_mode+set}" = set; then :
5237 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5238 else
5239 USE_MAINTAINER_MODE=no
5240 fi
5241
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5243 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5244 if test $USE_MAINTAINER_MODE = yes; then
5245 MAINTAINER_MODE_TRUE=
5246 MAINTAINER_MODE_FALSE='#'
5247 else
5248 MAINTAINER_MODE_TRUE='#'
5249 MAINTAINER_MODE_FALSE=
5250 fi
5251
5252 MAINT=$MAINTAINER_MODE_TRUE
5253
5254
5255
5256 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5257 # which are themselves conditionally expanded.
5258 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5259 ## other macros from doing the same. This should be automated.) -pme
5260
5261 # Check for C library flavor since GNU/Linux platforms use different
5262 # configuration directories depending on the C library in use.
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5265
5266 #include <stdio.h>
5267 #if __UCLIBC__
5268 _using_uclibc
5269 #endif
5270
5271 _ACEOF
5272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5273 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5274 uclibc=yes
5275 else
5276 uclibc=no
5277 fi
5278 rm -f conftest*
5279
5280
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5283
5284 #include <stdio.h>
5285 #if __BIONIC__
5286 _using_bionic
5287 #endif
5288
5289 _ACEOF
5290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5291 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5292 bionic=yes
5293 else
5294 bionic=no
5295 fi
5296 rm -f conftest*
5297
5298
5299 # Find platform-specific directories containing configuration info.
5300 # Also possibly modify flags used elsewhere, as needed by the platform.
5301
5302 . $glibcxx_srcdir/configure.host
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5304 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5306 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5307
5308
5309
5310 # Libtool setup.
5311 if test "x${with_newlib}" != "xyes"; then
5312 enable_dlopen=yes
5313
5314
5315
5316 fi
5317 case `pwd` in
5318 *\ * | *\ *)
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5320 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5321 esac
5322
5323
5324
5325 macro_version='2.2.7a'
5326 macro_revision='1.3134'
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340 ltmain="$ac_aux_dir/ltmain.sh"
5341
5342 # Backslashify metacharacters that are still active within
5343 # double-quoted strings.
5344 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5345
5346 # Same as above, but do not quote variable references.
5347 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5348
5349 # Sed substitution to delay expansion of an escaped shell variable in a
5350 # double_quote_subst'ed string.
5351 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5352
5353 # Sed substitution to delay expansion of an escaped single quote.
5354 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5355
5356 # Sed substitution to avoid accidental globbing in evaled expressions
5357 no_glob_subst='s/\*/\\\*/g'
5358
5359 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5360 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5361 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5362
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5364 $as_echo_n "checking how to print strings... " >&6; }
5365 # Test print first, because it will be a builtin if present.
5366 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5367 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5368 ECHO='print -r --'
5369 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5370 ECHO='printf %s\n'
5371 else
5372 # Use this function as a fallback that always works.
5373 func_fallback_echo ()
5374 {
5375 eval 'cat <<_LTECHO_EOF
5376 $1
5377 _LTECHO_EOF'
5378 }
5379 ECHO='func_fallback_echo'
5380 fi
5381
5382 # func_echo_all arg...
5383 # Invoke $ECHO with all args, space-separated.
5384 func_echo_all ()
5385 {
5386 $ECHO ""
5387 }
5388
5389 case "$ECHO" in
5390 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5391 $as_echo "printf" >&6; } ;;
5392 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5393 $as_echo "print -r" >&6; } ;;
5394 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5395 $as_echo "cat" >&6; } ;;
5396 esac
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5412 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5413 if test "${ac_cv_path_SED+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5417 for ac_i in 1 2 3 4 5 6 7; do
5418 ac_script="$ac_script$as_nl$ac_script"
5419 done
5420 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5421 { ac_script=; unset ac_script;}
5422 if test -z "$SED"; then
5423 ac_path_SED_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5427 do
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in sed gsed; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5434 # Check for GNU ac_path_SED and select it if it is found.
5435 # Check for GNU $ac_path_SED
5436 case `"$ac_path_SED" --version 2>&1` in
5437 *GNU*)
5438 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5439 *)
5440 ac_count=0
5441 $as_echo_n 0123456789 >"conftest.in"
5442 while :
5443 do
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo '' >> "conftest.nl"
5448 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_SED_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_SED="$ac_path_SED"
5454 ac_path_SED_max=$ac_count
5455 fi
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5458 done
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5461
5462 $ac_path_SED_found && break 3
5463 done
5464 done
5465 done
5466 IFS=$as_save_IFS
5467 if test -z "$ac_cv_path_SED"; then
5468 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5469 fi
5470 else
5471 ac_cv_path_SED=$SED
5472 fi
5473
5474 fi
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5476 $as_echo "$ac_cv_path_SED" >&6; }
5477 SED="$ac_cv_path_SED"
5478 rm -f conftest.sed
5479
5480 test -z "$SED" && SED=sed
5481 Xsed="$SED -e 1s/^X//"
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5494 $as_echo_n "checking for fgrep... " >&6; }
5495 if test "${ac_cv_path_FGREP+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5499 then ac_cv_path_FGREP="$GREP -F"
5500 else
5501 if test -z "$FGREP"; then
5502 ac_path_FGREP_found=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5506 do
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_prog in fgrep; do
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5512 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5513 # Check for GNU ac_path_FGREP and select it if it is found.
5514 # Check for GNU $ac_path_FGREP
5515 case `"$ac_path_FGREP" --version 2>&1` in
5516 *GNU*)
5517 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5518 *)
5519 ac_count=0
5520 $as_echo_n 0123456789 >"conftest.in"
5521 while :
5522 do
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'FGREP' >> "conftest.nl"
5527 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529 as_fn_arith $ac_count + 1 && ac_count=$as_val
5530 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_FGREP="$ac_path_FGREP"
5533 ac_path_FGREP_max=$ac_count
5534 fi
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5537 done
5538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 esac
5540
5541 $ac_path_FGREP_found && break 3
5542 done
5543 done
5544 done
5545 IFS=$as_save_IFS
5546 if test -z "$ac_cv_path_FGREP"; then
5547 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5548 fi
5549 else
5550 ac_cv_path_FGREP=$FGREP
5551 fi
5552
5553 fi
5554 fi
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5556 $as_echo "$ac_cv_path_FGREP" >&6; }
5557 FGREP="$ac_cv_path_FGREP"
5558
5559
5560 test -z "$GREP" && GREP=grep
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580 # Check whether --with-gnu-ld was given.
5581 if test "${with_gnu_ld+set}" = set; then :
5582 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5583 else
5584 with_gnu_ld=no
5585 fi
5586
5587 ac_prog=ld
5588 if test "$GCC" = yes; then
5589 # Check if gcc -print-prog-name=ld gives a path.
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5591 $as_echo_n "checking for ld used by $CC... " >&6; }
5592 case $host in
5593 *-*-mingw*)
5594 # gcc leaves a trailing carriage return which upsets mingw
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5596 *)
5597 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5598 esac
5599 case $ac_prog in
5600 # Accept absolute paths.
5601 [\\/]* | ?:[\\/]*)
5602 re_direlt='/[^/][^/]*/\.\./'
5603 # Canonicalize the pathname of ld
5604 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5605 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5606 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5607 done
5608 test -z "$LD" && LD="$ac_prog"
5609 ;;
5610 "")
5611 # If it fails, then pretend we aren't using GCC.
5612 ac_prog=ld
5613 ;;
5614 *)
5615 # If it is relative, then search for the first ld in PATH.
5616 with_gnu_ld=unknown
5617 ;;
5618 esac
5619 elif test "$with_gnu_ld" = yes; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5621 $as_echo_n "checking for GNU ld... " >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5624 $as_echo_n "checking for non-GNU ld... " >&6; }
5625 fi
5626 if test "${lt_cv_path_LD+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -z "$LD"; then
5630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5631 for ac_dir in $PATH; do
5632 IFS="$lt_save_ifs"
5633 test -z "$ac_dir" && ac_dir=.
5634 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5635 lt_cv_path_LD="$ac_dir/$ac_prog"
5636 # Check to see if the program is GNU ld. I'd rather use --version,
5637 # but apparently some variants of GNU ld only accept -v.
5638 # Break only if it was the GNU/non-GNU ld that we prefer.
5639 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5640 *GNU* | *'with BFD'*)
5641 test "$with_gnu_ld" != no && break
5642 ;;
5643 *)
5644 test "$with_gnu_ld" != yes && break
5645 ;;
5646 esac
5647 fi
5648 done
5649 IFS="$lt_save_ifs"
5650 else
5651 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5652 fi
5653 fi
5654
5655 LD="$lt_cv_path_LD"
5656 if test -n "$LD"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5658 $as_echo "$LD" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5662 fi
5663 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5665 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5666 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5670 case `$LD -v 2>&1 </dev/null` in
5671 *GNU* | *'with BFD'*)
5672 lt_cv_prog_gnu_ld=yes
5673 ;;
5674 *)
5675 lt_cv_prog_gnu_ld=no
5676 ;;
5677 esac
5678 fi
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5680 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5681 with_gnu_ld=$lt_cv_prog_gnu_ld
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5692 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5693 if test "${lt_cv_path_NM+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$NM"; then
5697 # Let the user override the test.
5698 lt_cv_path_NM="$NM"
5699 else
5700 lt_nm_to_check="${ac_tool_prefix}nm"
5701 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5702 lt_nm_to_check="$lt_nm_to_check nm"
5703 fi
5704 for lt_tmp_nm in $lt_nm_to_check; do
5705 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5706 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5707 IFS="$lt_save_ifs"
5708 test -z "$ac_dir" && ac_dir=.
5709 tmp_nm="$ac_dir/$lt_tmp_nm"
5710 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5711 # Check to see if the nm accepts a BSD-compat flag.
5712 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5713 # nm: unknown option "B" ignored
5714 # Tru64's nm complains that /dev/null is an invalid object file
5715 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5716 */dev/null* | *'Invalid file or object type'*)
5717 lt_cv_path_NM="$tmp_nm -B"
5718 break
5719 ;;
5720 *)
5721 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5722 */dev/null*)
5723 lt_cv_path_NM="$tmp_nm -p"
5724 break
5725 ;;
5726 *)
5727 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5728 continue # so that we can try to find one that supports BSD flags
5729 ;;
5730 esac
5731 ;;
5732 esac
5733 fi
5734 done
5735 IFS="$lt_save_ifs"
5736 done
5737 : ${lt_cv_path_NM=no}
5738 fi
5739 fi
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5741 $as_echo "$lt_cv_path_NM" >&6; }
5742 if test "$lt_cv_path_NM" != "no"; then
5743 NM="$lt_cv_path_NM"
5744 else
5745 # Didn't find any BSD compatible name lister, look for dumpbin.
5746 if test -n "$DUMPBIN"; then :
5747 # Let the user override the test.
5748 else
5749 if test -n "$ac_tool_prefix"; then
5750 for ac_prog in dumpbin "link -dump"
5751 do
5752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 if test -n "$DUMPBIN"; then
5760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5761 else
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 for as_dir in $PATH
5764 do
5765 IFS=$as_save_IFS
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 break 2
5772 fi
5773 done
5774 done
5775 IFS=$as_save_IFS
5776
5777 fi
5778 fi
5779 DUMPBIN=$ac_cv_prog_DUMPBIN
5780 if test -n "$DUMPBIN"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5782 $as_echo "$DUMPBIN" >&6; }
5783 else
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5786 fi
5787
5788
5789 test -n "$DUMPBIN" && break
5790 done
5791 fi
5792 if test -z "$DUMPBIN"; then
5793 ac_ct_DUMPBIN=$DUMPBIN
5794 for ac_prog in dumpbin "link -dump"
5795 do
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy $ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$ac_ct_DUMPBIN"; then
5804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5808 do
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5816 fi
5817 done
5818 done
5819 IFS=$as_save_IFS
5820
5821 fi
5822 fi
5823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5824 if test -n "$ac_ct_DUMPBIN"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5826 $as_echo "$ac_ct_DUMPBIN" >&6; }
5827 else
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5830 fi
5831
5832
5833 test -n "$ac_ct_DUMPBIN" && break
5834 done
5835
5836 if test "x$ac_ct_DUMPBIN" = x; then
5837 DUMPBIN=":"
5838 else
5839 case $cross_compiling:$ac_tool_warned in
5840 yes:)
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5844 esac
5845 DUMPBIN=$ac_ct_DUMPBIN
5846 fi
5847 fi
5848
5849 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5850 *COFF*)
5851 DUMPBIN="$DUMPBIN -symbols"
5852 ;;
5853 *)
5854 DUMPBIN=:
5855 ;;
5856 esac
5857 fi
5858
5859 if test "$DUMPBIN" != ":"; then
5860 NM="$DUMPBIN"
5861 fi
5862 fi
5863 test -z "$NM" && NM=nm
5864
5865
5866
5867
5868
5869
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5872 if test "${lt_cv_nm_interface+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 lt_cv_nm_interface="BSD nm"
5876 echo "int some_variable = 0;" > conftest.$ac_ext
5877 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5878 (eval "$ac_compile" 2>conftest.err)
5879 cat conftest.err >&5
5880 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5881 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5882 cat conftest.err >&5
5883 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5884 cat conftest.out >&5
5885 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5886 lt_cv_nm_interface="MS dumpbin"
5887 fi
5888 rm -f conftest*
5889 fi
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5891 $as_echo "$lt_cv_nm_interface" >&6; }
5892
5893 # find the maximum length of command line arguments
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5895 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5896 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 i=0
5900 teststring="ABCD"
5901
5902 case $build_os in
5903 msdosdjgpp*)
5904 # On DJGPP, this test can blow up pretty badly due to problems in libc
5905 # (any single argument exceeding 2000 bytes causes a buffer overrun
5906 # during glob expansion). Even if it were fixed, the result of this
5907 # check would be larger than it should be.
5908 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5909 ;;
5910
5911 gnu*)
5912 # Under GNU Hurd, this test is not required because there is
5913 # no limit to the length of command line arguments.
5914 # Libtool will interpret -1 as no limit whatsoever
5915 lt_cv_sys_max_cmd_len=-1;
5916 ;;
5917
5918 cygwin* | mingw* | cegcc*)
5919 # On Win9x/ME, this test blows up -- it succeeds, but takes
5920 # about 5 minutes as the teststring grows exponentially.
5921 # Worse, since 9x/ME are not pre-emptively multitasking,
5922 # you end up with a "frozen" computer, even though with patience
5923 # the test eventually succeeds (with a max line length of 256k).
5924 # Instead, let's just punt: use the minimum linelength reported by
5925 # all of the supported platforms: 8192 (on NT/2K/XP).
5926 lt_cv_sys_max_cmd_len=8192;
5927 ;;
5928
5929 mint*)
5930 # On MiNT this can take a long time and run out of memory.
5931 lt_cv_sys_max_cmd_len=8192;
5932 ;;
5933
5934 amigaos*)
5935 # On AmigaOS with pdksh, this test takes hours, literally.
5936 # So we just punt and use a minimum line length of 8192.
5937 lt_cv_sys_max_cmd_len=8192;
5938 ;;
5939
5940 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5941 # This has been around since 386BSD, at least. Likely further.
5942 if test -x /sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5944 elif test -x /usr/sbin/sysctl; then
5945 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5946 else
5947 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5948 fi
5949 # And add a safety zone
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 ;;
5953
5954 interix*)
5955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5956 lt_cv_sys_max_cmd_len=196608
5957 ;;
5958
5959 osf*)
5960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5962 # nice to cause kernel panics so lets avoid the loop below.
5963 # First set a reasonable default.
5964 lt_cv_sys_max_cmd_len=16384
5965 #
5966 if test -x /sbin/sysconfig; then
5967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5969 esac
5970 fi
5971 ;;
5972 sco3.2v5*)
5973 lt_cv_sys_max_cmd_len=102400
5974 ;;
5975 sysv5* | sco5v6* | sysv4.2uw2*)
5976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5977 if test -n "$kargmax"; then
5978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5979 else
5980 lt_cv_sys_max_cmd_len=32768
5981 fi
5982 ;;
5983 *)
5984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5985 if test -n "$lt_cv_sys_max_cmd_len"; then
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5988 else
5989 # Make teststring a little bigger before we do anything with it.
5990 # a 1K string should be a reasonable start.
5991 for i in 1 2 3 4 5 6 7 8 ; do
5992 teststring=$teststring$teststring
5993 done
5994 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5995 # If test is not a shell built-in, we'll probably end up computing a
5996 # maximum length that is only half of the actual maximum length, but
5997 # we can't tell.
5998 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5999 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6000 test $i != 17 # 1/2 MB should be enough
6001 do
6002 i=`expr $i + 1`
6003 teststring=$teststring$teststring
6004 done
6005 # Only check the string length outside the loop.
6006 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6007 teststring=
6008 # Add a significant safety factor because C++ compilers can tack on
6009 # massive amounts of additional arguments before passing them to the
6010 # linker. It appears as though 1/2 is a usable value.
6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6012 fi
6013 ;;
6014 esac
6015
6016 fi
6017
6018 if test -n $lt_cv_sys_max_cmd_len ; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6020 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6023 $as_echo "none" >&6; }
6024 fi
6025 max_cmd_len=$lt_cv_sys_max_cmd_len
6026
6027
6028
6029
6030
6031
6032 : ${CP="cp -f"}
6033 : ${MV="mv -f"}
6034 : ${RM="rm -f"}
6035
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6037 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6038 # Try some XSI features
6039 xsi_shell=no
6040 ( _lt_dummy="a/b/c"
6041 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6042 = c,a/b,, \
6043 && eval 'test $(( 1 + 1 )) -eq 2 \
6044 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6045 && xsi_shell=yes
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6047 $as_echo "$xsi_shell" >&6; }
6048
6049
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6051 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6052 lt_shell_append=no
6053 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6054 >/dev/null 2>&1 \
6055 && lt_shell_append=yes
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6057 $as_echo "$lt_shell_append" >&6; }
6058
6059
6060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6061 lt_unset=unset
6062 else
6063 lt_unset=false
6064 fi
6065
6066
6067
6068
6069
6070 # test EBCDIC or ASCII
6071 case `echo X|tr X '\101'` in
6072 A) # ASCII based system
6073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6074 lt_SP2NL='tr \040 \012'
6075 lt_NL2SP='tr \015\012 \040\040'
6076 ;;
6077 *) # EBCDIC based system
6078 lt_SP2NL='tr \100 \n'
6079 lt_NL2SP='tr \r\n \100\100'
6080 ;;
6081 esac
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6092 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6093 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 lt_cv_ld_reload_flag='-r'
6097 fi
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6100 reload_flag=$lt_cv_ld_reload_flag
6101 case $reload_flag in
6102 "" | " "*) ;;
6103 *) reload_flag=" $reload_flag" ;;
6104 esac
6105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6106 case $host_os in
6107 darwin*)
6108 if test "$GCC" = yes; then
6109 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6110 else
6111 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6112 fi
6113 ;;
6114 esac
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124 if test -n "$ac_tool_prefix"; then
6125 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6126 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$OBJDUMP"; then
6133 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6137 do
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6145 fi
6146 done
6147 done
6148 IFS=$as_save_IFS
6149
6150 fi
6151 fi
6152 OBJDUMP=$ac_cv_prog_OBJDUMP
6153 if test -n "$OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6155 $as_echo "$OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6159 fi
6160
6161
6162 fi
6163 if test -z "$ac_cv_prog_OBJDUMP"; then
6164 ac_ct_OBJDUMP=$OBJDUMP
6165 # Extract the first word of "objdump", so it can be a program name with args.
6166 set dummy objdump; ac_word=$2
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 $as_echo_n "checking for $ac_word... " >&6; }
6169 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 if test -n "$ac_ct_OBJDUMP"; then
6173 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6177 do
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 break 2
6185 fi
6186 done
6187 done
6188 IFS=$as_save_IFS
6189
6190 fi
6191 fi
6192 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6193 if test -n "$ac_ct_OBJDUMP"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6195 $as_echo "$ac_ct_OBJDUMP" >&6; }
6196 else
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 fi
6200
6201 if test "x$ac_ct_OBJDUMP" = x; then
6202 OBJDUMP="false"
6203 else
6204 case $cross_compiling:$ac_tool_warned in
6205 yes:)
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208 ac_tool_warned=yes ;;
6209 esac
6210 OBJDUMP=$ac_ct_OBJDUMP
6211 fi
6212 else
6213 OBJDUMP="$ac_cv_prog_OBJDUMP"
6214 fi
6215
6216 test -z "$OBJDUMP" && OBJDUMP=objdump
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6227 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6228 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 lt_cv_file_magic_cmd='$MAGIC_CMD'
6232 lt_cv_file_magic_test_file=
6233 lt_cv_deplibs_check_method='unknown'
6234 # Need to set the preceding variable on all platforms that support
6235 # interlibrary dependencies.
6236 # 'none' -- dependencies not supported.
6237 # `unknown' -- same as none, but documents that we really don't know.
6238 # 'pass_all' -- all dependencies passed with no checks.
6239 # 'test_compile' -- check by making test program.
6240 # 'file_magic [[regex]]' -- check by looking for files in library path
6241 # which responds to the $file_magic_cmd with a given extended regex.
6242 # If you have `file' or equivalent on your system and you're not sure
6243 # whether `pass_all' will *always* work, you probably want this one.
6244
6245 case $host_os in
6246 aix[4-9]*)
6247 lt_cv_deplibs_check_method=pass_all
6248 ;;
6249
6250 beos*)
6251 lt_cv_deplibs_check_method=pass_all
6252 ;;
6253
6254 bsdi[45]*)
6255 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6256 lt_cv_file_magic_cmd='/usr/bin/file -L'
6257 lt_cv_file_magic_test_file=/shlib/libc.so
6258 ;;
6259
6260 cygwin*)
6261 # func_win32_libid is a shell function defined in ltmain.sh
6262 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6263 lt_cv_file_magic_cmd='func_win32_libid'
6264 ;;
6265
6266 mingw* | pw32*)
6267 # Base MSYS/MinGW do not provide the 'file' command needed by
6268 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6269 # unless we find 'file', for example because we are cross-compiling.
6270 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6271 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6273 lt_cv_file_magic_cmd='func_win32_libid'
6274 else
6275 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6276 lt_cv_file_magic_cmd='$OBJDUMP -f'
6277 fi
6278 ;;
6279
6280 cegcc*)
6281 # use the weaker test based on 'objdump'. See mingw*.
6282 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6283 lt_cv_file_magic_cmd='$OBJDUMP -f'
6284 ;;
6285
6286 darwin* | rhapsody*)
6287 lt_cv_deplibs_check_method=pass_all
6288 ;;
6289
6290 freebsd* | dragonfly*)
6291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6292 case $host_cpu in
6293 i*86 )
6294 # Not sure whether the presence of OpenBSD here was a mistake.
6295 # Let's accept both of them until this is cleared up.
6296 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6297 lt_cv_file_magic_cmd=/usr/bin/file
6298 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6299 ;;
6300 esac
6301 else
6302 lt_cv_deplibs_check_method=pass_all
6303 fi
6304 ;;
6305
6306 gnu*)
6307 lt_cv_deplibs_check_method=pass_all
6308 ;;
6309
6310 haiku*)
6311 lt_cv_deplibs_check_method=pass_all
6312 ;;
6313
6314 hpux10.20* | hpux11*)
6315 lt_cv_file_magic_cmd=/usr/bin/file
6316 case $host_cpu in
6317 ia64*)
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6319 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6320 ;;
6321 hppa*64*)
6322 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]'
6323 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6324 ;;
6325 *)
6326 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6327 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6328 ;;
6329 esac
6330 ;;
6331
6332 interix[3-9]*)
6333 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6335 ;;
6336
6337 irix5* | irix6* | nonstopux*)
6338 case $LD in
6339 *-32|*"-32 ") libmagic=32-bit;;
6340 *-n32|*"-n32 ") libmagic=N32;;
6341 *-64|*"-64 ") libmagic=64-bit;;
6342 *) libmagic=never-match;;
6343 esac
6344 lt_cv_deplibs_check_method=pass_all
6345 ;;
6346
6347 # This must be Linux ELF.
6348 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6349 lt_cv_deplibs_check_method=pass_all
6350 ;;
6351
6352 netbsd*)
6353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 else
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6357 fi
6358 ;;
6359
6360 newos6*)
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6362 lt_cv_file_magic_cmd=/usr/bin/file
6363 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6364 ;;
6365
6366 *nto* | *qnx*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 openbsd*)
6371 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6373 else
6374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6375 fi
6376 ;;
6377
6378 osf3* | osf4* | osf5*)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382 rdos*)
6383 lt_cv_deplibs_check_method=pass_all
6384 ;;
6385
6386 solaris*)
6387 lt_cv_deplibs_check_method=pass_all
6388 ;;
6389
6390 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6391 lt_cv_deplibs_check_method=pass_all
6392 ;;
6393
6394 sysv4 | sysv4.3*)
6395 case $host_vendor in
6396 motorola)
6397 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]'
6398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6399 ;;
6400 ncr)
6401 lt_cv_deplibs_check_method=pass_all
6402 ;;
6403 sequent)
6404 lt_cv_file_magic_cmd='/bin/file'
6405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6406 ;;
6407 sni)
6408 lt_cv_file_magic_cmd='/bin/file'
6409 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6410 lt_cv_file_magic_test_file=/lib/libc.so
6411 ;;
6412 siemens)
6413 lt_cv_deplibs_check_method=pass_all
6414 ;;
6415 pc)
6416 lt_cv_deplibs_check_method=pass_all
6417 ;;
6418 esac
6419 ;;
6420
6421 tpf*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424 esac
6425
6426 fi
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6428 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6429 file_magic_cmd=$lt_cv_file_magic_cmd
6430 deplibs_check_method=$lt_cv_deplibs_check_method
6431 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$AR"; then
6453 ac_cv_prog_AR="$AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_AR="${ac_tool_prefix}ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6465 fi
6466 done
6467 done
6468 IFS=$as_save_IFS
6469
6470 fi
6471 fi
6472 AR=$ac_cv_prog_AR
6473 if test -n "$AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6475 $as_echo "$AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6479 fi
6480
6481
6482 fi
6483 if test -z "$ac_cv_prog_AR"; then
6484 ac_ct_AR=$AR
6485 # Extract the first word of "ar", so it can be a program name with args.
6486 set dummy ar; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 if test -n "$ac_ct_AR"; then
6493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6497 do
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_AR="ar"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6505 fi
6506 done
6507 done
6508 IFS=$as_save_IFS
6509
6510 fi
6511 fi
6512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6513 if test -n "$ac_ct_AR"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6515 $as_echo "$ac_ct_AR" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6519 fi
6520
6521 if test "x$ac_ct_AR" = x; then
6522 AR="false"
6523 else
6524 case $cross_compiling:$ac_tool_warned in
6525 yes:)
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6529 esac
6530 AR=$ac_ct_AR
6531 fi
6532 else
6533 AR="$ac_cv_prog_AR"
6534 fi
6535
6536 test -z "$AR" && AR=ar
6537 test -z "$AR_FLAGS" && AR_FLAGS=cru
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$STRIP"; then
6558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6562 do
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573 IFS=$as_save_IFS
6574
6575 fi
6576 fi
6577 STRIP=$ac_cv_prog_STRIP
6578 if test -n "$STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6580 $as_echo "$STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6584 fi
6585
6586
6587 fi
6588 if test -z "$ac_cv_prog_STRIP"; then
6589 ac_ct_STRIP=$STRIP
6590 # Extract the first word of "strip", so it can be a program name with args.
6591 set dummy strip; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$ac_ct_STRIP"; then
6598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6602 do
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_STRIP="strip"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6610 fi
6611 done
6612 done
6613 IFS=$as_save_IFS
6614
6615 fi
6616 fi
6617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6618 if test -n "$ac_ct_STRIP"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6620 $as_echo "$ac_ct_STRIP" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6624 fi
6625
6626 if test "x$ac_ct_STRIP" = x; then
6627 STRIP=":"
6628 else
6629 case $cross_compiling:$ac_tool_warned in
6630 yes:)
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned=yes ;;
6634 esac
6635 STRIP=$ac_ct_STRIP
6636 fi
6637 else
6638 STRIP="$ac_cv_prog_STRIP"
6639 fi
6640
6641 test -z "$STRIP" && STRIP=:
6642
6643
6644
6645
6646
6647
6648 if test -n "$ac_tool_prefix"; then
6649 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6650 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$RANLIB"; then
6657 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6661 do
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6669 fi
6670 done
6671 done
6672 IFS=$as_save_IFS
6673
6674 fi
6675 fi
6676 RANLIB=$ac_cv_prog_RANLIB
6677 if test -n "$RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6679 $as_echo "$RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6683 fi
6684
6685
6686 fi
6687 if test -z "$ac_cv_prog_RANLIB"; then
6688 ac_ct_RANLIB=$RANLIB
6689 # Extract the first word of "ranlib", so it can be a program name with args.
6690 set dummy ranlib; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$ac_ct_RANLIB"; then
6697 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6701 do
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6706 ac_cv_prog_ac_ct_RANLIB="ranlib"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6709 fi
6710 done
6711 done
6712 IFS=$as_save_IFS
6713
6714 fi
6715 fi
6716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6717 if test -n "$ac_ct_RANLIB"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6719 $as_echo "$ac_ct_RANLIB" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6723 fi
6724
6725 if test "x$ac_ct_RANLIB" = x; then
6726 RANLIB=":"
6727 else
6728 case $cross_compiling:$ac_tool_warned in
6729 yes:)
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6732 ac_tool_warned=yes ;;
6733 esac
6734 RANLIB=$ac_ct_RANLIB
6735 fi
6736 else
6737 RANLIB="$ac_cv_prog_RANLIB"
6738 fi
6739
6740 test -z "$RANLIB" && RANLIB=:
6741
6742
6743
6744
6745
6746
6747 # Determine commands to create old-style static archives.
6748 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6749 old_postinstall_cmds='chmod 644 $oldlib'
6750 old_postuninstall_cmds=
6751
6752 if test -n "$RANLIB"; then
6753 case $host_os in
6754 openbsd*)
6755 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6756 ;;
6757 *)
6758 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6759 ;;
6760 esac
6761 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6762 fi
6763
6764 case $host_os in
6765 darwin*)
6766 lock_old_archive_extraction=yes ;;
6767 *)
6768 lock_old_archive_extraction=no ;;
6769 esac
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
6808
6809 # If no C compiler was specified, use CC.
6810 LTCC=${LTCC-"$CC"}
6811
6812 # If no C compiler flags were specified, use CFLAGS.
6813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6814
6815 # Allow CC to be a program name with arguments.
6816 compiler=$CC
6817
6818
6819 # Check for command to grab the raw symbol name followed by C symbol from nm.
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6821 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6822 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6824 else
6825
6826 # These are sane defaults that work on at least a few old systems.
6827 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6828
6829 # Character class describing NM global symbol codes.
6830 symcode='[BCDEGRST]'
6831
6832 # Regexp to match symbols that can be accessed directly from C.
6833 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6834
6835 # Define system-specific variables.
6836 case $host_os in
6837 aix*)
6838 symcode='[BCDT]'
6839 ;;
6840 cygwin* | mingw* | pw32* | cegcc*)
6841 symcode='[ABCDGISTW]'
6842 ;;
6843 hpux*)
6844 if test "$host_cpu" = ia64; then
6845 symcode='[ABCDEGRST]'
6846 fi
6847 ;;
6848 irix* | nonstopux*)
6849 symcode='[BCDEGRST]'
6850 ;;
6851 osf*)
6852 symcode='[BCDEGQRST]'
6853 ;;
6854 solaris*)
6855 symcode='[BDRT]'
6856 ;;
6857 sco3.2v5*)
6858 symcode='[DT]'
6859 ;;
6860 sysv4.2uw2*)
6861 symcode='[DT]'
6862 ;;
6863 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6864 symcode='[ABDT]'
6865 ;;
6866 sysv4)
6867 symcode='[DFNSTU]'
6868 ;;
6869 esac
6870
6871 # If we're using GNU nm, then use its standard symbol codes.
6872 case `$NM -V 2>&1` in
6873 *GNU* | *'with BFD'*)
6874 symcode='[ABCDGIRSTW]' ;;
6875 esac
6876
6877 # Transform an extracted symbol line into a proper C declaration.
6878 # Some systems (esp. on ia64) link data and code symbols differently,
6879 # so use this general approach.
6880 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6881
6882 # Transform an extracted symbol line into symbol name and symbol address
6883 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6884 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'"
6885
6886 # Handle CRLF in mingw tool chain
6887 opt_cr=
6888 case $build_os in
6889 mingw*)
6890 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6891 ;;
6892 esac
6893
6894 # Try without a prefix underscore, then with it.
6895 for ac_symprfx in "" "_"; do
6896
6897 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898 symxfrm="\\1 $ac_symprfx\\2 \\2"
6899
6900 # Write the raw and C identifiers.
6901 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6902 # Fake it for dumpbin and say T for any non-static function
6903 # and D for any global variable.
6904 # Also find C++ and __fastcall symbols from MSVC++,
6905 # which start with @ or ?.
6906 lt_cv_sys_global_symbol_pipe="$AWK '"\
6907 " {last_section=section; section=\$ 3};"\
6908 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6909 " \$ 0!~/External *\|/{next};"\
6910 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6911 " {if(hide[section]) next};"\
6912 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6913 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6914 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6915 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6916 " ' prfx=^$ac_symprfx"
6917 else
6918 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6919 fi
6920
6921 # Check to see that the pipe works correctly.
6922 pipe_works=no
6923
6924 rm -f conftest*
6925 cat > conftest.$ac_ext <<_LT_EOF
6926 #ifdef __cplusplus
6927 extern "C" {
6928 #endif
6929 char nm_test_var;
6930 void nm_test_func(void);
6931 void nm_test_func(void){}
6932 #ifdef __cplusplus
6933 }
6934 #endif
6935 int main(){nm_test_var='a';nm_test_func();return(0);}
6936 _LT_EOF
6937
6938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6939 (eval $ac_compile) 2>&5
6940 ac_status=$?
6941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6942 test $ac_status = 0; }; then
6943 # Now try to grab the symbols.
6944 nlist=conftest.nm
6945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6946 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6947 ac_status=$?
6948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6949 test $ac_status = 0; } && test -s "$nlist"; then
6950 # Try sorting and uniquifying the output.
6951 if sort "$nlist" | uniq > "$nlist"T; then
6952 mv -f "$nlist"T "$nlist"
6953 else
6954 rm -f "$nlist"T
6955 fi
6956
6957 # Make sure that we snagged all the symbols we need.
6958 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6959 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6960 cat <<_LT_EOF > conftest.$ac_ext
6961 #ifdef __cplusplus
6962 extern "C" {
6963 #endif
6964
6965 _LT_EOF
6966 # Now generate the symbol file.
6967 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6968
6969 cat <<_LT_EOF >> conftest.$ac_ext
6970
6971 /* The mapping between symbol names and symbols. */
6972 const struct {
6973 const char *name;
6974 void *address;
6975 }
6976 lt__PROGRAM__LTX_preloaded_symbols[] =
6977 {
6978 { "@PROGRAM@", (void *) 0 },
6979 _LT_EOF
6980 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6981 cat <<\_LT_EOF >> conftest.$ac_ext
6982 {0, (void *) 0}
6983 };
6984
6985 /* This works around a problem in FreeBSD linker */
6986 #ifdef FREEBSD_WORKAROUND
6987 static const void *lt_preloaded_setup() {
6988 return lt__PROGRAM__LTX_preloaded_symbols;
6989 }
6990 #endif
6991
6992 #ifdef __cplusplus
6993 }
6994 #endif
6995 _LT_EOF
6996 # Now try linking the two files.
6997 mv conftest.$ac_objext conftstm.$ac_objext
6998 lt_save_LIBS="$LIBS"
6999 lt_save_CFLAGS="$CFLAGS"
7000 LIBS="conftstm.$ac_objext"
7001 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7003 (eval $ac_link) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7007 pipe_works=yes
7008 fi
7009 LIBS="$lt_save_LIBS"
7010 CFLAGS="$lt_save_CFLAGS"
7011 else
7012 echo "cannot find nm_test_func in $nlist" >&5
7013 fi
7014 else
7015 echo "cannot find nm_test_var in $nlist" >&5
7016 fi
7017 else
7018 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7019 fi
7020 else
7021 echo "$progname: failed program was:" >&5
7022 cat conftest.$ac_ext >&5
7023 fi
7024 rm -rf conftest* conftst*
7025
7026 # Do not use the global_symbol_pipe unless it works.
7027 if test "$pipe_works" = yes; then
7028 break
7029 else
7030 lt_cv_sys_global_symbol_pipe=
7031 fi
7032 done
7033
7034 fi
7035
7036 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7037 lt_cv_sys_global_symbol_to_cdecl=
7038 fi
7039 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7041 $as_echo "failed" >&6; }
7042 else
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7044 $as_echo "ok" >&6; }
7045 fi
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068 # Check whether --enable-libtool-lock was given.
7069 if test "${enable_libtool_lock+set}" = set; then :
7070 enableval=$enable_libtool_lock;
7071 fi
7072
7073 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7074
7075 # Some flags need to be propagated to the compiler or linker for good
7076 # libtool support.
7077 case $host in
7078 ia64-*-hpux*)
7079 # Find out which ABI we are using.
7080 echo 'int i;' > conftest.$ac_ext
7081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7082 (eval $ac_compile) 2>&5
7083 ac_status=$?
7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7085 test $ac_status = 0; }; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *ELF-32*)
7088 HPUX_IA64_MODE="32"
7089 ;;
7090 *ELF-64*)
7091 HPUX_IA64_MODE="64"
7092 ;;
7093 esac
7094 fi
7095 rm -rf conftest*
7096 ;;
7097 *-*-irix6*)
7098 # Find out which ABI we are using.
7099 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7101 (eval $ac_compile) 2>&5
7102 ac_status=$?
7103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7104 test $ac_status = 0; }; then
7105 if test "$lt_cv_prog_gnu_ld" = yes; then
7106 case `/usr/bin/file conftest.$ac_objext` in
7107 *32-bit*)
7108 LD="${LD-ld} -melf32bsmip"
7109 ;;
7110 *N32*)
7111 LD="${LD-ld} -melf32bmipn32"
7112 ;;
7113 *64-bit*)
7114 LD="${LD-ld} -melf64bmip"
7115 ;;
7116 esac
7117 else
7118 case `/usr/bin/file conftest.$ac_objext` in
7119 *32-bit*)
7120 LD="${LD-ld} -32"
7121 ;;
7122 *N32*)
7123 LD="${LD-ld} -n32"
7124 ;;
7125 *64-bit*)
7126 LD="${LD-ld} -64"
7127 ;;
7128 esac
7129 fi
7130 fi
7131 rm -rf conftest*
7132 ;;
7133
7134 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7135 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.o` in
7144 *32-bit*)
7145 case $host in
7146 x86_64-*kfreebsd*-gnu)
7147 LD="${LD-ld} -m elf_i386_fbsd"
7148 ;;
7149 x86_64-*linux*)
7150 case `/usr/bin/file conftest.o` in
7151 *x86-64*)
7152 LD="${LD-ld} -m elf32_x86_64"
7153 ;;
7154 *)
7155 LD="${LD-ld} -m elf_i386"
7156 ;;
7157 esac
7158 ;;
7159 powerpc64le-*linux*)
7160 LD="${LD-ld} -m elf32lppclinux"
7161 ;;
7162 powerpc64-*linux*)
7163 LD="${LD-ld} -m elf32ppclinux"
7164 ;;
7165 s390x-*linux*)
7166 LD="${LD-ld} -m elf_s390"
7167 ;;
7168 sparc64-*linux*)
7169 LD="${LD-ld} -m elf32_sparc"
7170 ;;
7171 esac
7172 ;;
7173 *64-bit*)
7174 case $host in
7175 x86_64-*kfreebsd*-gnu)
7176 LD="${LD-ld} -m elf_x86_64_fbsd"
7177 ;;
7178 x86_64-*linux*)
7179 LD="${LD-ld} -m elf_x86_64"
7180 ;;
7181 powerpcle-*linux*)
7182 LD="${LD-ld} -m elf64lppc"
7183 ;;
7184 powerpc-*linux*)
7185 LD="${LD-ld} -m elf64ppc"
7186 ;;
7187 s390*-*linux*|s390*-*tpf*)
7188 LD="${LD-ld} -m elf64_s390"
7189 ;;
7190 sparc*-*linux*)
7191 LD="${LD-ld} -m elf64_sparc"
7192 ;;
7193 esac
7194 ;;
7195 esac
7196 fi
7197 rm -rf conftest*
7198 ;;
7199
7200 *-*-sco3.2v5*)
7201 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7202 SAVE_CFLAGS="$CFLAGS"
7203 CFLAGS="$CFLAGS -belf"
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7205 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7206 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7208 else
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7214
7215 if test x$gcc_no_link = xyes; then
7216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7217 fi
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220
7221 int
7222 main ()
7223 {
7224
7225 ;
7226 return 0;
7227 }
7228 _ACEOF
7229 if ac_fn_c_try_link "$LINENO"; then :
7230 lt_cv_cc_needs_belf=yes
7231 else
7232 lt_cv_cc_needs_belf=no
7233 fi
7234 rm -f core conftest.err conftest.$ac_objext \
7235 conftest$ac_exeext conftest.$ac_ext
7236 ac_ext=c
7237 ac_cpp='$CPP $CPPFLAGS'
7238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7241
7242 fi
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7244 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7245 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7246 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7247 CFLAGS="$SAVE_CFLAGS"
7248 fi
7249 ;;
7250 sparc*-*solaris*)
7251 # Find out which ABI we are using.
7252 echo 'int i;' > conftest.$ac_ext
7253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254 (eval $ac_compile) 2>&5
7255 ac_status=$?
7256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257 test $ac_status = 0; }; then
7258 case `/usr/bin/file conftest.o` in
7259 *64-bit*)
7260 case $lt_cv_prog_gnu_ld in
7261 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7262 *)
7263 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7264 LD="${LD-ld} -64"
7265 fi
7266 ;;
7267 esac
7268 ;;
7269 esac
7270 fi
7271 rm -rf conftest*
7272 ;;
7273 esac
7274
7275 need_locks="$enable_libtool_lock"
7276
7277
7278 case $host_os in
7279 rhapsody* | darwin*)
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$DSYMUTIL"; then
7289 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7293 do
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7301 fi
7302 done
7303 done
7304 IFS=$as_save_IFS
7305
7306 fi
7307 fi
7308 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7309 if test -n "$DSYMUTIL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7311 $as_echo "$DSYMUTIL" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7315 fi
7316
7317
7318 fi
7319 if test -z "$ac_cv_prog_DSYMUTIL"; then
7320 ac_ct_DSYMUTIL=$DSYMUTIL
7321 # Extract the first word of "dsymutil", so it can be a program name with args.
7322 set dummy dsymutil; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_DSYMUTIL"; then
7329 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7333 do
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7341 fi
7342 done
7343 done
7344 IFS=$as_save_IFS
7345
7346 fi
7347 fi
7348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7349 if test -n "$ac_ct_DSYMUTIL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7351 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7355 fi
7356
7357 if test "x$ac_ct_DSYMUTIL" = x; then
7358 DSYMUTIL=":"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 DSYMUTIL=$ac_ct_DSYMUTIL
7367 fi
7368 else
7369 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7370 fi
7371
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$NMEDIT"; then
7381 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7385 do
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7393 fi
7394 done
7395 done
7396 IFS=$as_save_IFS
7397
7398 fi
7399 fi
7400 NMEDIT=$ac_cv_prog_NMEDIT
7401 if test -n "$NMEDIT"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7403 $as_echo "$NMEDIT" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7407 fi
7408
7409
7410 fi
7411 if test -z "$ac_cv_prog_NMEDIT"; then
7412 ac_ct_NMEDIT=$NMEDIT
7413 # Extract the first word of "nmedit", so it can be a program name with args.
7414 set dummy nmedit; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_NMEDIT"; then
7421 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7425 do
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7433 fi
7434 done
7435 done
7436 IFS=$as_save_IFS
7437
7438 fi
7439 fi
7440 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7441 if test -n "$ac_ct_NMEDIT"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7443 $as_echo "$ac_ct_NMEDIT" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 fi
7448
7449 if test "x$ac_ct_NMEDIT" = x; then
7450 NMEDIT=":"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 NMEDIT=$ac_ct_NMEDIT
7459 fi
7460 else
7461 NMEDIT="$ac_cv_prog_NMEDIT"
7462 fi
7463
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_LIPO+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$LIPO"; then
7473 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7477 do
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7485 fi
7486 done
7487 done
7488 IFS=$as_save_IFS
7489
7490 fi
7491 fi
7492 LIPO=$ac_cv_prog_LIPO
7493 if test -n "$LIPO"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7495 $as_echo "$LIPO" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7499 fi
7500
7501
7502 fi
7503 if test -z "$ac_cv_prog_LIPO"; then
7504 ac_ct_LIPO=$LIPO
7505 # Extract the first word of "lipo", so it can be a program name with args.
7506 set dummy lipo; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_LIPO"; then
7513 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7517 do
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_LIPO="lipo"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7525 fi
7526 done
7527 done
7528 IFS=$as_save_IFS
7529
7530 fi
7531 fi
7532 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7533 if test -n "$ac_ct_LIPO"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7535 $as_echo "$ac_ct_LIPO" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7539 fi
7540
7541 if test "x$ac_ct_LIPO" = x; then
7542 LIPO=":"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 LIPO=$ac_ct_LIPO
7551 fi
7552 else
7553 LIPO="$ac_cv_prog_LIPO"
7554 fi
7555
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$OTOOL"; then
7565 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7569 do
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7577 fi
7578 done
7579 done
7580 IFS=$as_save_IFS
7581
7582 fi
7583 fi
7584 OTOOL=$ac_cv_prog_OTOOL
7585 if test -n "$OTOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7587 $as_echo "$OTOOL" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7591 fi
7592
7593
7594 fi
7595 if test -z "$ac_cv_prog_OTOOL"; then
7596 ac_ct_OTOOL=$OTOOL
7597 # Extract the first word of "otool", so it can be a program name with args.
7598 set dummy otool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_OTOOL"; then
7605 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7609 do
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL="otool"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7617 fi
7618 done
7619 done
7620 IFS=$as_save_IFS
7621
7622 fi
7623 fi
7624 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7625 if test -n "$ac_ct_OTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7627 $as_echo "$ac_ct_OTOOL" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7631 fi
7632
7633 if test "x$ac_ct_OTOOL" = x; then
7634 OTOOL=":"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 OTOOL=$ac_ct_OTOOL
7643 fi
7644 else
7645 OTOOL="$ac_cv_prog_OTOOL"
7646 fi
7647
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7650 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7654 $as_echo_n "(cached) " >&6
7655 else
7656 if test -n "$OTOOL64"; then
7657 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7658 else
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 for as_dir in $PATH
7661 do
7662 IFS=$as_save_IFS
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7668 break 2
7669 fi
7670 done
7671 done
7672 IFS=$as_save_IFS
7673
7674 fi
7675 fi
7676 OTOOL64=$ac_cv_prog_OTOOL64
7677 if test -n "$OTOOL64"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7679 $as_echo "$OTOOL64" >&6; }
7680 else
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7683 fi
7684
7685
7686 fi
7687 if test -z "$ac_cv_prog_OTOOL64"; then
7688 ac_ct_OTOOL64=$OTOOL64
7689 # Extract the first word of "otool64", so it can be a program name with args.
7690 set dummy otool64; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7695 else
7696 if test -n "$ac_ct_OTOOL64"; then
7697 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7698 else
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 for as_dir in $PATH
7701 do
7702 IFS=$as_save_IFS
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_prog_ac_ct_OTOOL64="otool64"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 break 2
7709 fi
7710 done
7711 done
7712 IFS=$as_save_IFS
7713
7714 fi
7715 fi
7716 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7717 if test -n "$ac_ct_OTOOL64"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7719 $as_echo "$ac_ct_OTOOL64" >&6; }
7720 else
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7723 fi
7724
7725 if test "x$ac_ct_OTOOL64" = x; then
7726 OTOOL64=":"
7727 else
7728 case $cross_compiling:$ac_tool_warned in
7729 yes:)
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned=yes ;;
7733 esac
7734 OTOOL64=$ac_ct_OTOOL64
7735 fi
7736 else
7737 OTOOL64="$ac_cv_prog_OTOOL64"
7738 fi
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
7765
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7767 $as_echo_n "checking for -single_module linker flag... " >&6; }
7768 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7769 $as_echo_n "(cached) " >&6
7770 else
7771 lt_cv_apple_cc_single_mod=no
7772 if test -z "${LT_MULTI_MODULE}"; then
7773 # By default we will add the -single_module flag. You can override
7774 # by either setting the environment variable LT_MULTI_MODULE
7775 # non-empty at configure time, or by adding -multi_module to the
7776 # link flags.
7777 rm -rf libconftest.dylib*
7778 echo "int foo(void){return 1;}" > conftest.c
7779 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c" >&5
7781 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7782 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7783 _lt_result=$?
7784 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7785 lt_cv_apple_cc_single_mod=yes
7786 else
7787 cat conftest.err >&5
7788 fi
7789 rm -rf libconftest.dylib*
7790 rm -f conftest.*
7791 fi
7792 fi
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7794 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7796 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7797 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7798 $as_echo_n "(cached) " >&6
7799 else
7800 lt_cv_ld_exported_symbols_list=no
7801 save_LDFLAGS=$LDFLAGS
7802 echo "_main" > conftest.sym
7803 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7804 if test x$gcc_no_link = xyes; then
7805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7806 fi
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7809
7810 int
7811 main ()
7812 {
7813
7814 ;
7815 return 0;
7816 }
7817 _ACEOF
7818 if ac_fn_c_try_link "$LINENO"; then :
7819 lt_cv_ld_exported_symbols_list=yes
7820 else
7821 lt_cv_ld_exported_symbols_list=no
7822 fi
7823 rm -f core conftest.err conftest.$ac_objext \
7824 conftest$ac_exeext conftest.$ac_ext
7825 LDFLAGS="$save_LDFLAGS"
7826
7827 fi
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7829 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7831 $as_echo_n "checking for -force_load linker flag... " >&6; }
7832 if test "${lt_cv_ld_force_load+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7834 else
7835 lt_cv_ld_force_load=no
7836 cat > conftest.c << _LT_EOF
7837 int forced_loaded() { return 2;}
7838 _LT_EOF
7839 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7840 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7841 echo "$AR cru libconftest.a conftest.o" >&5
7842 $AR cru libconftest.a conftest.o 2>&5
7843 cat > conftest.c << _LT_EOF
7844 int main() { return 0;}
7845 _LT_EOF
7846 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7847 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7848 _lt_result=$?
7849 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7850 lt_cv_ld_force_load=yes
7851 else
7852 cat conftest.err >&5
7853 fi
7854 rm -f conftest.err libconftest.a conftest conftest.c
7855 rm -rf conftest.dSYM
7856
7857 fi
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7859 $as_echo "$lt_cv_ld_force_load" >&6; }
7860 case $host_os in
7861 rhapsody* | darwin1.[012])
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7863 darwin1.*)
7864 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7865 darwin*) # darwin 5.x on
7866 # if running on 10.5 or later, the deployment target defaults
7867 # to the OS version, if on x86, and 10.4, the deployment
7868 # target defaults to 10.4. Don't you love it?
7869 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7870 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7871 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7872 10.[012][,.]*)
7873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7874 10.*)
7875 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7876 esac
7877 ;;
7878 esac
7879 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7880 _lt_dar_single_mod='$single_module'
7881 fi
7882 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7883 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7884 else
7885 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7886 fi
7887 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7888 _lt_dsymutil='~$DSYMUTIL $lib || :'
7889 else
7890 _lt_dsymutil=
7891 fi
7892 ;;
7893 esac
7894
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7896 $as_echo_n "checking for ANSI C header files... " >&6; }
7897 if test "${ac_cv_header_stdc+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7899 else
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7903 #include <stdarg.h>
7904 #include <string.h>
7905 #include <float.h>
7906
7907 int
7908 main ()
7909 {
7910
7911 ;
7912 return 0;
7913 }
7914 _ACEOF
7915 if ac_fn_c_try_compile "$LINENO"; then :
7916 ac_cv_header_stdc=yes
7917 else
7918 ac_cv_header_stdc=no
7919 fi
7920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7921
7922 if test $ac_cv_header_stdc = yes; then
7923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 #include <string.h>
7927
7928 _ACEOF
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "memchr" >/dev/null 2>&1; then :
7931
7932 else
7933 ac_cv_header_stdc=no
7934 fi
7935 rm -f conftest*
7936
7937 fi
7938
7939 if test $ac_cv_header_stdc = yes; then
7940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 #include <stdlib.h>
7944
7945 _ACEOF
7946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7947 $EGREP "free" >/dev/null 2>&1; then :
7948
7949 else
7950 ac_cv_header_stdc=no
7951 fi
7952 rm -f conftest*
7953
7954 fi
7955
7956 if test $ac_cv_header_stdc = yes; then
7957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7958 if test "$cross_compiling" = yes; then :
7959 :
7960 else
7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 #include <ctype.h>
7964 #include <stdlib.h>
7965 #if ((' ' & 0x0FF) == 0x020)
7966 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7967 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7968 #else
7969 # define ISLOWER(c) \
7970 (('a' <= (c) && (c) <= 'i') \
7971 || ('j' <= (c) && (c) <= 'r') \
7972 || ('s' <= (c) && (c) <= 'z'))
7973 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7974 #endif
7975
7976 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7977 int
7978 main ()
7979 {
7980 int i;
7981 for (i = 0; i < 256; i++)
7982 if (XOR (islower (i), ISLOWER (i))
7983 || toupper (i) != TOUPPER (i))
7984 return 2;
7985 return 0;
7986 }
7987 _ACEOF
7988 if ac_fn_c_try_run "$LINENO"; then :
7989
7990 else
7991 ac_cv_header_stdc=no
7992 fi
7993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7994 conftest.$ac_objext conftest.beam conftest.$ac_ext
7995 fi
7996
7997 fi
7998 fi
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8000 $as_echo "$ac_cv_header_stdc" >&6; }
8001 if test $ac_cv_header_stdc = yes; then
8002
8003 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8004
8005 fi
8006
8007 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8009 inttypes.h stdint.h unistd.h
8010 do :
8011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8013 "
8014 eval as_val=\$$as_ac_Header
8015 if test "x$as_val" = x""yes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 _ACEOF
8019
8020 fi
8021
8022 done
8023
8024
8025 for ac_header in dlfcn.h
8026 do :
8027 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8028 "
8029 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8030 cat >>confdefs.h <<_ACEOF
8031 #define HAVE_DLFCN_H 1
8032 _ACEOF
8033
8034 fi
8035
8036 done
8037
8038
8039
8040
8041
8042
8043 # Set options
8044
8045
8046
8047
8048 enable_win32_dll=no
8049
8050
8051 # Check whether --enable-shared was given.
8052 if test "${enable_shared+set}" = set; then :
8053 enableval=$enable_shared; p=${PACKAGE-default}
8054 case $enableval in
8055 yes) enable_shared=yes ;;
8056 no) enable_shared=no ;;
8057 *)
8058 enable_shared=no
8059 # Look at the argument we got. We use all the common list separators.
8060 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8061 for pkg in $enableval; do
8062 IFS="$lt_save_ifs"
8063 if test "X$pkg" = "X$p"; then
8064 enable_shared=yes
8065 fi
8066 done
8067 IFS="$lt_save_ifs"
8068 ;;
8069 esac
8070 else
8071 enable_shared=yes
8072 fi
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082 # Check whether --enable-static was given.
8083 if test "${enable_static+set}" = set; then :
8084 enableval=$enable_static; p=${PACKAGE-default}
8085 case $enableval in
8086 yes) enable_static=yes ;;
8087 no) enable_static=no ;;
8088 *)
8089 enable_static=no
8090 # Look at the argument we got. We use all the common list separators.
8091 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8092 for pkg in $enableval; do
8093 IFS="$lt_save_ifs"
8094 if test "X$pkg" = "X$p"; then
8095 enable_static=yes
8096 fi
8097 done
8098 IFS="$lt_save_ifs"
8099 ;;
8100 esac
8101 else
8102 enable_static=yes
8103 fi
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114 # Check whether --with-pic was given.
8115 if test "${with_pic+set}" = set; then :
8116 withval=$with_pic; pic_mode="$withval"
8117 else
8118 pic_mode=default
8119 fi
8120
8121
8122 test -z "$pic_mode" && pic_mode=default
8123
8124
8125
8126
8127
8128
8129
8130 # Check whether --enable-fast-install was given.
8131 if test "${enable_fast_install+set}" = set; then :
8132 enableval=$enable_fast_install; p=${PACKAGE-default}
8133 case $enableval in
8134 yes) enable_fast_install=yes ;;
8135 no) enable_fast_install=no ;;
8136 *)
8137 enable_fast_install=no
8138 # Look at the argument we got. We use all the common list separators.
8139 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8140 for pkg in $enableval; do
8141 IFS="$lt_save_ifs"
8142 if test "X$pkg" = "X$p"; then
8143 enable_fast_install=yes
8144 fi
8145 done
8146 IFS="$lt_save_ifs"
8147 ;;
8148 esac
8149 else
8150 enable_fast_install=yes
8151 fi
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163 # This can be used to rebuild libtool when needed
8164 LIBTOOL_DEPS="$ltmain"
8165
8166 # Always use our own libtool.
8167 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
8193
8194 test -z "$LN_S" && LN_S="ln -s"
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209 if test -n "${ZSH_VERSION+set}" ; then
8210 setopt NO_GLOB_SUBST
8211 fi
8212
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8214 $as_echo_n "checking for objdir... " >&6; }
8215 if test "${lt_cv_objdir+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 rm -f .libs 2>/dev/null
8219 mkdir .libs 2>/dev/null
8220 if test -d .libs; then
8221 lt_cv_objdir=.libs
8222 else
8223 # MS-DOS does not allow filenames that begin with a dot.
8224 lt_cv_objdir=_libs
8225 fi
8226 rmdir .libs 2>/dev/null
8227 fi
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8229 $as_echo "$lt_cv_objdir" >&6; }
8230 objdir=$lt_cv_objdir
8231
8232
8233
8234
8235
8236 cat >>confdefs.h <<_ACEOF
8237 #define LT_OBJDIR "$lt_cv_objdir/"
8238 _ACEOF
8239
8240
8241
8242
8243 case $host_os in
8244 aix3*)
8245 # AIX sometimes has problems with the GCC collect2 program. For some
8246 # reason, if we set the COLLECT_NAMES environment variable, the problems
8247 # vanish in a puff of smoke.
8248 if test "X${COLLECT_NAMES+set}" != Xset; then
8249 COLLECT_NAMES=
8250 export COLLECT_NAMES
8251 fi
8252 ;;
8253 esac
8254
8255 # Global variables:
8256 ofile=libtool
8257 can_build_shared=yes
8258
8259 # All known linkers require a `.a' archive for static linking (except MSVC,
8260 # which needs '.lib').
8261 libext=a
8262
8263 with_gnu_ld="$lt_cv_prog_gnu_ld"
8264
8265 old_CC="$CC"
8266 old_CFLAGS="$CFLAGS"
8267
8268 # Set sane defaults for various variables
8269 test -z "$CC" && CC=cc
8270 test -z "$LTCC" && LTCC=$CC
8271 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8272 test -z "$LD" && LD=ld
8273 test -z "$ac_objext" && ac_objext=o
8274
8275 for cc_temp in $compiler""; do
8276 case $cc_temp in
8277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8279 \-*) ;;
8280 *) break;;
8281 esac
8282 done
8283 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8284
8285
8286 # Only perform the check for file, if the check method requires it
8287 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8288 case $deplibs_check_method in
8289 file_magic*)
8290 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8292 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8293 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 case $MAGIC_CMD in
8297 [\\/*] | ?:[\\/]*)
8298 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8299 ;;
8300 *)
8301 lt_save_MAGIC_CMD="$MAGIC_CMD"
8302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8303 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8304 for ac_dir in $ac_dummy; do
8305 IFS="$lt_save_ifs"
8306 test -z "$ac_dir" && ac_dir=.
8307 if test -f $ac_dir/${ac_tool_prefix}file; then
8308 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8309 if test -n "$file_magic_test_file"; then
8310 case $deplibs_check_method in
8311 "file_magic "*)
8312 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8314 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8315 $EGREP "$file_magic_regex" > /dev/null; then
8316 :
8317 else
8318 cat <<_LT_EOF 1>&2
8319
8320 *** Warning: the command libtool uses to detect shared libraries,
8321 *** $file_magic_cmd, produces output that libtool cannot recognize.
8322 *** The result is that libtool may fail to recognize shared libraries
8323 *** as such. This will affect the creation of libtool libraries that
8324 *** depend on shared libraries, but programs linked with such libtool
8325 *** libraries will work regardless of this problem. Nevertheless, you
8326 *** may want to report the problem to your system manager and/or to
8327 *** bug-libtool@gnu.org
8328
8329 _LT_EOF
8330 fi ;;
8331 esac
8332 fi
8333 break
8334 fi
8335 done
8336 IFS="$lt_save_ifs"
8337 MAGIC_CMD="$lt_save_MAGIC_CMD"
8338 ;;
8339 esac
8340 fi
8341
8342 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8343 if test -n "$MAGIC_CMD"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8345 $as_echo "$MAGIC_CMD" >&6; }
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8349 fi
8350
8351
8352
8353
8354
8355 if test -z "$lt_cv_path_MAGIC_CMD"; then
8356 if test -n "$ac_tool_prefix"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8358 $as_echo_n "checking for file... " >&6; }
8359 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 case $MAGIC_CMD in
8363 [\\/*] | ?:[\\/]*)
8364 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8365 ;;
8366 *)
8367 lt_save_MAGIC_CMD="$MAGIC_CMD"
8368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8369 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8370 for ac_dir in $ac_dummy; do
8371 IFS="$lt_save_ifs"
8372 test -z "$ac_dir" && ac_dir=.
8373 if test -f $ac_dir/file; then
8374 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8375 if test -n "$file_magic_test_file"; then
8376 case $deplibs_check_method in
8377 "file_magic "*)
8378 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8380 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8381 $EGREP "$file_magic_regex" > /dev/null; then
8382 :
8383 else
8384 cat <<_LT_EOF 1>&2
8385
8386 *** Warning: the command libtool uses to detect shared libraries,
8387 *** $file_magic_cmd, produces output that libtool cannot recognize.
8388 *** The result is that libtool may fail to recognize shared libraries
8389 *** as such. This will affect the creation of libtool libraries that
8390 *** depend on shared libraries, but programs linked with such libtool
8391 *** libraries will work regardless of this problem. Nevertheless, you
8392 *** may want to report the problem to your system manager and/or to
8393 *** bug-libtool@gnu.org
8394
8395 _LT_EOF
8396 fi ;;
8397 esac
8398 fi
8399 break
8400 fi
8401 done
8402 IFS="$lt_save_ifs"
8403 MAGIC_CMD="$lt_save_MAGIC_CMD"
8404 ;;
8405 esac
8406 fi
8407
8408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8409 if test -n "$MAGIC_CMD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8411 $as_echo "$MAGIC_CMD" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8415 fi
8416
8417
8418 else
8419 MAGIC_CMD=:
8420 fi
8421 fi
8422
8423 fi
8424 ;;
8425 esac
8426
8427 # Use C for the default configuration in the libtool script
8428
8429 lt_save_CC="$CC"
8430 ac_ext=c
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8435
8436
8437 # Source file extension for C test sources.
8438 ac_ext=c
8439
8440 # Object file extension for compiled C test sources.
8441 objext=o
8442 objext=$objext
8443
8444 # Code to be used in simple compile tests
8445 lt_simple_compile_test_code="int some_variable = 0;"
8446
8447 # Code to be used in simple link tests
8448 lt_simple_link_test_code='int main(){return(0);}'
8449
8450
8451
8452
8453
8454
8455
8456 # If no C compiler was specified, use CC.
8457 LTCC=${LTCC-"$CC"}
8458
8459 # If no C compiler flags were specified, use CFLAGS.
8460 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8461
8462 # Allow CC to be a program name with arguments.
8463 compiler=$CC
8464
8465 # Save the default compiler, since it gets overwritten when the other
8466 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8467 compiler_DEFAULT=$CC
8468
8469 # save warnings/boilerplate of simple test code
8470 ac_outfile=conftest.$ac_objext
8471 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8472 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8473 _lt_compiler_boilerplate=`cat conftest.err`
8474 $RM conftest*
8475
8476 ac_outfile=conftest.$ac_objext
8477 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8478 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8479 _lt_linker_boilerplate=`cat conftest.err`
8480 $RM -r conftest*
8481
8482
8483 ## CAVEAT EMPTOR:
8484 ## There is no encapsulation within the following macros, do not change
8485 ## the running order or otherwise move them around unless you know exactly
8486 ## what you are doing...
8487 if test -n "$compiler"; then
8488
8489 lt_prog_compiler_no_builtin_flag=
8490
8491 if test "$GCC" = yes; then
8492 case $cc_basename in
8493 nvcc*)
8494 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8495 *)
8496 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8497 esac
8498
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8500 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8501 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 lt_cv_prog_compiler_rtti_exceptions=no
8505 ac_outfile=conftest.$ac_objext
8506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8507 lt_compiler_flag="-fno-rtti -fno-exceptions"
8508 # Insert the option either (1) after the last *FLAGS variable, or
8509 # (2) before a word containing "conftest.", or (3) at the end.
8510 # Note that $ac_compile itself does not contain backslashes and begins
8511 # with a dollar sign (not a hyphen), so the echo should work correctly.
8512 # The option is referenced via a variable to avoid confusing sed.
8513 lt_compile=`echo "$ac_compile" | $SED \
8514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8516 -e 's:$: $lt_compiler_flag:'`
8517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8518 (eval "$lt_compile" 2>conftest.err)
8519 ac_status=$?
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 if (exit $ac_status) && test -s "$ac_outfile"; then
8523 # The compiler can only warn and ignore the option if not recognized
8524 # So say no if there are warnings other than the usual output.
8525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8528 lt_cv_prog_compiler_rtti_exceptions=yes
8529 fi
8530 fi
8531 $RM conftest*
8532
8533 fi
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8535 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8536
8537 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8538 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8539 else
8540 :
8541 fi
8542
8543 fi
8544
8545
8546
8547
8548
8549
8550 lt_prog_compiler_wl=
8551 lt_prog_compiler_pic=
8552 lt_prog_compiler_static=
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8555 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8556
8557 if test "$GCC" = yes; then
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_static='-static'
8560
8561 case $host_os in
8562 aix*)
8563 # All AIX code is PIC.
8564 if test "$host_cpu" = ia64; then
8565 # AIX 5 now supports IA64 processor
8566 lt_prog_compiler_static='-Bstatic'
8567 fi
8568 lt_prog_compiler_pic='-fPIC'
8569 ;;
8570
8571 amigaos*)
8572 case $host_cpu in
8573 powerpc)
8574 # see comment about AmigaOS4 .so support
8575 lt_prog_compiler_pic='-fPIC'
8576 ;;
8577 m68k)
8578 # FIXME: we need at least 68020 code to build shared libraries, but
8579 # adding the `-m68020' flag to GCC prevents building anything better,
8580 # like `-m68040'.
8581 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8582 ;;
8583 esac
8584 ;;
8585
8586 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8587 # PIC is the default for these OSes.
8588 ;;
8589
8590 mingw* | cygwin* | pw32* | os2* | cegcc*)
8591 # This hack is so that the source file can tell whether it is being
8592 # built for inclusion in a dll (and should export symbols for example).
8593 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8594 # (--disable-auto-import) libraries
8595 lt_prog_compiler_pic='-DDLL_EXPORT'
8596 ;;
8597
8598 darwin* | rhapsody*)
8599 # PIC is the default on this platform
8600 # Common symbols not allowed in MH_DYLIB files
8601 lt_prog_compiler_pic='-fno-common'
8602 ;;
8603
8604 haiku*)
8605 # PIC is the default for Haiku.
8606 # The "-static" flag exists, but is broken.
8607 lt_prog_compiler_static=
8608 ;;
8609
8610 hpux*)
8611 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8612 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8613 # sets the default TLS model and affects inlining.
8614 case $host_cpu in
8615 hppa*64*)
8616 # +Z the default
8617 ;;
8618 *)
8619 lt_prog_compiler_pic='-fPIC'
8620 ;;
8621 esac
8622 ;;
8623
8624 interix[3-9]*)
8625 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8626 # Instead, we relocate shared libraries at runtime.
8627 ;;
8628
8629 msdosdjgpp*)
8630 # Just because we use GCC doesn't mean we suddenly get shared libraries
8631 # on systems that don't support them.
8632 lt_prog_compiler_can_build_shared=no
8633 enable_shared=no
8634 ;;
8635
8636 *nto* | *qnx*)
8637 # QNX uses GNU C++, but need to define -shared option too, otherwise
8638 # it will coredump.
8639 lt_prog_compiler_pic='-fPIC -shared'
8640 ;;
8641
8642 sysv4*MP*)
8643 if test -d /usr/nec; then
8644 lt_prog_compiler_pic=-Kconform_pic
8645 fi
8646 ;;
8647
8648 *)
8649 lt_prog_compiler_pic='-fPIC'
8650 ;;
8651 esac
8652
8653 case $cc_basename in
8654 nvcc*) # Cuda Compiler Driver 2.2
8655 lt_prog_compiler_wl='-Xlinker '
8656 lt_prog_compiler_pic='-Xcompiler -fPIC'
8657 ;;
8658 esac
8659 else
8660 # PORTME Check for flag to pass linker flags through the system compiler.
8661 case $host_os in
8662 aix*)
8663 lt_prog_compiler_wl='-Wl,'
8664 if test "$host_cpu" = ia64; then
8665 # AIX 5 now supports IA64 processor
8666 lt_prog_compiler_static='-Bstatic'
8667 else
8668 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8669 fi
8670 ;;
8671
8672 mingw* | cygwin* | pw32* | os2* | cegcc*)
8673 # This hack is so that the source file can tell whether it is being
8674 # built for inclusion in a dll (and should export symbols for example).
8675 lt_prog_compiler_pic='-DDLL_EXPORT'
8676 ;;
8677
8678 hpux9* | hpux10* | hpux11*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8681 # not for PA HP-UX.
8682 case $host_cpu in
8683 hppa*64*|ia64*)
8684 # +Z the default
8685 ;;
8686 *)
8687 lt_prog_compiler_pic='+Z'
8688 ;;
8689 esac
8690 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8691 lt_prog_compiler_static='${wl}-a ${wl}archive'
8692 ;;
8693
8694 irix5* | irix6* | nonstopux*)
8695 lt_prog_compiler_wl='-Wl,'
8696 # PIC (with -KPIC) is the default.
8697 lt_prog_compiler_static='-non_shared'
8698 ;;
8699
8700 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8701 case $cc_basename in
8702 # old Intel for x86_64 which still supported -KPIC.
8703 ecc*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-static'
8707 ;;
8708 # icc used to be incompatible with GCC.
8709 # ICC 10 doesn't accept -KPIC any more.
8710 icc* | ifort*)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fPIC'
8713 lt_prog_compiler_static='-static'
8714 ;;
8715 # Lahey Fortran 8.1.
8716 lf95*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='--shared'
8719 lt_prog_compiler_static='--static'
8720 ;;
8721 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8722 # Portland Group compilers (*not* the Pentium gcc compiler,
8723 # which looks to be a dead project)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-fpic'
8726 lt_prog_compiler_static='-Bstatic'
8727 ;;
8728 ccc*)
8729 lt_prog_compiler_wl='-Wl,'
8730 # All Alpha code is PIC.
8731 lt_prog_compiler_static='-non_shared'
8732 ;;
8733 xl* | bgxl* | bgf* | mpixl*)
8734 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-qpic'
8737 lt_prog_compiler_static='-qstaticlink'
8738 ;;
8739 *)
8740 case `$CC -V 2>&1 | sed 5q` in
8741 *Sun\ F* | *Sun*Fortran*)
8742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8743 lt_prog_compiler_pic='-KPIC'
8744 lt_prog_compiler_static='-Bstatic'
8745 lt_prog_compiler_wl=''
8746 ;;
8747 *Sun\ C*)
8748 # Sun C 5.9
8749 lt_prog_compiler_pic='-KPIC'
8750 lt_prog_compiler_static='-Bstatic'
8751 lt_prog_compiler_wl='-Wl,'
8752 ;;
8753 esac
8754 ;;
8755 esac
8756 ;;
8757
8758 newsos6)
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-Bstatic'
8761 ;;
8762
8763 *nto* | *qnx*)
8764 # QNX uses GNU C++, but need to define -shared option too, otherwise
8765 # it will coredump.
8766 lt_prog_compiler_pic='-fPIC -shared'
8767 ;;
8768
8769 osf3* | osf4* | osf5*)
8770 lt_prog_compiler_wl='-Wl,'
8771 # All OSF/1 code is PIC.
8772 lt_prog_compiler_static='-non_shared'
8773 ;;
8774
8775 rdos*)
8776 lt_prog_compiler_static='-non_shared'
8777 ;;
8778
8779 solaris*)
8780 lt_prog_compiler_pic='-KPIC'
8781 lt_prog_compiler_static='-Bstatic'
8782 case $cc_basename in
8783 f77* | f90* | f95*)
8784 lt_prog_compiler_wl='-Qoption ld ';;
8785 *)
8786 lt_prog_compiler_wl='-Wl,';;
8787 esac
8788 ;;
8789
8790 sunos4*)
8791 lt_prog_compiler_wl='-Qoption ld '
8792 lt_prog_compiler_pic='-PIC'
8793 lt_prog_compiler_static='-Bstatic'
8794 ;;
8795
8796 sysv4 | sysv4.2uw2* | sysv4.3*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 ;;
8801
8802 sysv4*MP*)
8803 if test -d /usr/nec ;then
8804 lt_prog_compiler_pic='-Kconform_pic'
8805 lt_prog_compiler_static='-Bstatic'
8806 fi
8807 ;;
8808
8809 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8810 lt_prog_compiler_wl='-Wl,'
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 ;;
8814
8815 unicos*)
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_can_build_shared=no
8818 ;;
8819
8820 uts4*)
8821 lt_prog_compiler_pic='-pic'
8822 lt_prog_compiler_static='-Bstatic'
8823 ;;
8824
8825 *)
8826 lt_prog_compiler_can_build_shared=no
8827 ;;
8828 esac
8829 fi
8830
8831 case $host_os in
8832 # For platforms which do not support PIC, -DPIC is meaningless:
8833 *djgpp*)
8834 lt_prog_compiler_pic=
8835 ;;
8836 *)
8837 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8838 ;;
8839 esac
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8841 $as_echo "$lt_prog_compiler_pic" >&6; }
8842
8843
8844
8845
8846
8847
8848 #
8849 # Check to make sure the PIC flag actually works.
8850 #
8851 if test -n "$lt_prog_compiler_pic"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8853 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8854 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8856 else
8857 lt_cv_prog_compiler_pic_works=no
8858 ac_outfile=conftest.$ac_objext
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8861 # Insert the option either (1) after the last *FLAGS variable, or
8862 # (2) before a word containing "conftest.", or (3) at the end.
8863 # Note that $ac_compile itself does not contain backslashes and begins
8864 # with a dollar sign (not a hyphen), so the echo should work correctly.
8865 # The option is referenced via a variable to avoid confusing sed.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>conftest.err)
8872 ac_status=$?
8873 cat conftest.err >&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s "$ac_outfile"; then
8876 # The compiler can only warn and ignore the option if not recognized
8877 # So say no if there are warnings other than the usual output.
8878 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881 lt_cv_prog_compiler_pic_works=yes
8882 fi
8883 fi
8884 $RM conftest*
8885
8886 fi
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8888 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8889
8890 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8891 case $lt_prog_compiler_pic in
8892 "" | " "*) ;;
8893 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8894 esac
8895 else
8896 lt_prog_compiler_pic=
8897 lt_prog_compiler_can_build_shared=no
8898 fi
8899
8900 fi
8901
8902
8903
8904
8905
8906
8907 #
8908 # Check to make sure the static flag actually works.
8909 #
8910 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8912 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8913 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 lt_cv_prog_compiler_static_works=no
8917 save_LDFLAGS="$LDFLAGS"
8918 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8919 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8920 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8921 # The linker can only warn and ignore the option if not recognized
8922 # So say no if there are warnings
8923 if test -s conftest.err; then
8924 # Append any errors to the config.log.
8925 cat conftest.err 1>&5
8926 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8927 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8928 if diff conftest.exp conftest.er2 >/dev/null; then
8929 lt_cv_prog_compiler_static_works=yes
8930 fi
8931 else
8932 lt_cv_prog_compiler_static_works=yes
8933 fi
8934 fi
8935 $RM -r conftest*
8936 LDFLAGS="$save_LDFLAGS"
8937
8938 fi
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8940 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8941
8942 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8943 :
8944 else
8945 lt_prog_compiler_static=
8946 fi
8947
8948
8949
8950
8951
8952
8953
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8956 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 lt_cv_prog_compiler_c_o=no
8960 $RM -r conftest 2>/dev/null
8961 mkdir conftest
8962 cd conftest
8963 mkdir out
8964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8965
8966 lt_compiler_flag="-o out/conftest2.$ac_objext"
8967 # Insert the option either (1) after the last *FLAGS variable, or
8968 # (2) before a word containing "conftest.", or (3) at the end.
8969 # Note that $ac_compile itself does not contain backslashes and begins
8970 # with a dollar sign (not a hyphen), so the echo should work correctly.
8971 lt_compile=`echo "$ac_compile" | $SED \
8972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974 -e 's:$: $lt_compiler_flag:'`
8975 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8976 (eval "$lt_compile" 2>out/conftest.err)
8977 ac_status=$?
8978 cat out/conftest.err >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8981 then
8982 # The compiler can only warn and ignore the option if not recognized
8983 # So say no if there are warnings
8984 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8985 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8986 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_c_o=yes
8988 fi
8989 fi
8990 chmod u+w . 2>&5
8991 $RM conftest*
8992 # SGI C++ compiler will create directory out/ii_files/ for
8993 # template instantiation
8994 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8995 $RM out/* && rmdir out
8996 cd ..
8997 $RM -r conftest
8998 $RM conftest*
8999
9000 fi
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9002 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9003
9004
9005
9006
9007
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9043 fi
9044 fi
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9054
9055 fi
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9058
9059
9060
9061
9062 hard_links="nottested"
9063 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9064 # do not overwrite the value of need_locks provided by the user
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9066 $as_echo_n "checking if we can lock with hard links... " >&6; }
9067 hard_links=yes
9068 $RM conftest*
9069 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9070 touch conftest.a
9071 ln conftest.a conftest.b 2>&5 || hard_links=no
9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9074 $as_echo "$hard_links" >&6; }
9075 if test "$hard_links" = no; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9077 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9078 need_locks=warn
9079 fi
9080 else
9081 need_locks=no
9082 fi
9083
9084
9085
9086
9087
9088
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9090 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9091
9092 runpath_var=
9093 allow_undefined_flag=
9094 always_export_symbols=no
9095 archive_cmds=
9096 archive_expsym_cmds=
9097 compiler_needs_object=no
9098 enable_shared_with_static_runtimes=no
9099 export_dynamic_flag_spec=
9100 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9101 hardcode_automatic=no
9102 hardcode_direct=no
9103 hardcode_direct_absolute=no
9104 hardcode_libdir_flag_spec=
9105 hardcode_libdir_flag_spec_ld=
9106 hardcode_libdir_separator=
9107 hardcode_minus_L=no
9108 hardcode_shlibpath_var=unsupported
9109 inherit_rpath=no
9110 link_all_deplibs=unknown
9111 module_cmds=
9112 module_expsym_cmds=
9113 old_archive_from_new_cmds=
9114 old_archive_from_expsyms_cmds=
9115 thread_safe_flag_spec=
9116 whole_archive_flag_spec=
9117 # include_expsyms should be a list of space-separated symbols to be *always*
9118 # included in the symbol list
9119 include_expsyms=
9120 # exclude_expsyms can be an extended regexp of symbols to exclude
9121 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9122 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9123 # as well as any symbol that contains `d'.
9124 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9125 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9126 # platforms (ab)use it in PIC code, but their linkers get confused if
9127 # the symbol is explicitly referenced. Since portable code cannot
9128 # rely on this symbol name, it's probably fine to never include it in
9129 # preloaded symbol tables.
9130 # Exclude shared library initialization/finalization symbols.
9131 extract_expsyms_cmds=
9132
9133 case $host_os in
9134 cygwin* | mingw* | pw32* | cegcc*)
9135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9136 # When not using gcc, we currently assume that we are using
9137 # Microsoft Visual C++.
9138 if test "$GCC" != yes; then
9139 with_gnu_ld=no
9140 fi
9141 ;;
9142 interix*)
9143 # we just hope/assume this is gcc and not c89 (= MSVC++)
9144 with_gnu_ld=yes
9145 ;;
9146 openbsd*)
9147 with_gnu_ld=no
9148 ;;
9149 esac
9150
9151 ld_shlibs=yes
9152
9153 # On some targets, GNU ld is compatible enough with the native linker
9154 # that we're better off using the native interface for both.
9155 lt_use_gnu_ld_interface=no
9156 if test "$with_gnu_ld" = yes; then
9157 case $host_os in
9158 aix*)
9159 # The AIX port of GNU ld has always aspired to compatibility
9160 # with the native linker. However, as the warning in the GNU ld
9161 # block says, versions before 2.19.5* couldn't really create working
9162 # shared libraries, regardless of the interface used.
9163 case `$LD -v 2>&1` in
9164 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9165 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9166 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9167 *)
9168 lt_use_gnu_ld_interface=yes
9169 ;;
9170 esac
9171 ;;
9172 *)
9173 lt_use_gnu_ld_interface=yes
9174 ;;
9175 esac
9176 fi
9177
9178 if test "$lt_use_gnu_ld_interface" = yes; then
9179 # If archive_cmds runs LD, not CC, wlarc should be empty
9180 wlarc='${wl}'
9181
9182 # Set some defaults for GNU ld with shared library support. These
9183 # are reset later if shared libraries are not supported. Putting them
9184 # here allows them to be overridden if necessary.
9185 runpath_var=LD_RUN_PATH
9186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187 export_dynamic_flag_spec='${wl}--export-dynamic'
9188 # ancient GNU ld didn't support --whole-archive et. al.
9189 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9190 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9191 else
9192 whole_archive_flag_spec=
9193 fi
9194 supports_anon_versioning=no
9195 case `$LD -v 2>&1` in
9196 *GNU\ gold*) supports_anon_versioning=yes ;;
9197 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9198 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9199 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9200 *\ 2.11.*) ;; # other 2.11 versions
9201 *) supports_anon_versioning=yes ;;
9202 esac
9203
9204 # See if GNU ld supports shared libraries.
9205 case $host_os in
9206 aix[3-9]*)
9207 # On AIX/PPC, the GNU linker is very broken
9208 if test "$host_cpu" != ia64; then
9209 ld_shlibs=no
9210 cat <<_LT_EOF 1>&2
9211
9212 *** Warning: the GNU linker, at least up to release 2.19, is reported
9213 *** to be unable to reliably create shared libraries on AIX.
9214 *** Therefore, libtool is disabling shared libraries support. If you
9215 *** really care for shared libraries, you may want to install binutils
9216 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9217 *** You will then need to restart the configuration process.
9218
9219 _LT_EOF
9220 fi
9221 ;;
9222
9223 amigaos*)
9224 case $host_cpu in
9225 powerpc)
9226 # see comment about AmigaOS4 .so support
9227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds=''
9229 ;;
9230 m68k)
9231 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)'
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 hardcode_minus_L=yes
9234 ;;
9235 esac
9236 ;;
9237
9238 beos*)
9239 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9240 allow_undefined_flag=unsupported
9241 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9242 # support --undefined. This deserves some investigation. FIXME
9243 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 else
9245 ld_shlibs=no
9246 fi
9247 ;;
9248
9249 cygwin* | mingw* | pw32* | cegcc*)
9250 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9251 # as there is no search path for DLLs.
9252 hardcode_libdir_flag_spec='-L$libdir'
9253 export_dynamic_flag_spec='${wl}--export-all-symbols'
9254 allow_undefined_flag=unsupported
9255 always_export_symbols=no
9256 enable_shared_with_static_runtimes=yes
9257 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9258
9259 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9261 # If the export-symbols file already is a .def file (1st line
9262 # is EXPORTS), use it as is; otherwise, prepend...
9263 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9264 cp $export_symbols $output_objdir/$soname.def;
9265 else
9266 echo EXPORTS > $output_objdir/$soname.def;
9267 cat $export_symbols >> $output_objdir/$soname.def;
9268 fi~
9269 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9270 else
9271 ld_shlibs=no
9272 fi
9273 ;;
9274
9275 haiku*)
9276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 link_all_deplibs=yes
9278 ;;
9279
9280 interix[3-9]*)
9281 hardcode_direct=no
9282 hardcode_shlibpath_var=no
9283 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9284 export_dynamic_flag_spec='${wl}-E'
9285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9286 # Instead, shared libraries are loaded at an image base (0x10000000 by
9287 # default) and relocated if they conflict, which is a slow very memory
9288 # consuming and fragmenting process. To avoid this, we pick a random,
9289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9291 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9292 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'
9293 ;;
9294
9295 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9296 tmp_diet=no
9297 if test "$host_os" = linux-dietlibc; then
9298 case $cc_basename in
9299 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 esac
9301 fi
9302 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9303 && test "$tmp_diet" = no
9304 then
9305 tmp_addflag=' $pic_flag'
9306 tmp_sharedflag='-shared'
9307 case $cc_basename,$host_cpu in
9308 pgcc*) # Portland Group C compiler
9309 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'
9310 tmp_addflag=' $pic_flag'
9311 ;;
9312 pgf77* | pgf90* | pgf95* | pgfortran*)
9313 # Portland Group f77 and f90 compilers
9314 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'
9315 tmp_addflag=' $pic_flag -Mnomain' ;;
9316 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9317 tmp_addflag=' -i_dynamic' ;;
9318 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9319 tmp_addflag=' -i_dynamic -nofor_main' ;;
9320 ifc* | ifort*) # Intel Fortran compiler
9321 tmp_addflag=' -nofor_main' ;;
9322 lf95*) # Lahey Fortran 8.1
9323 whole_archive_flag_spec=
9324 tmp_sharedflag='--shared' ;;
9325 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9326 tmp_sharedflag='-qmkshrobj'
9327 tmp_addflag= ;;
9328 nvcc*) # Cuda Compiler Driver 2.2
9329 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'
9330 compiler_needs_object=yes
9331 ;;
9332 esac
9333 case `$CC -V 2>&1 | sed 5q` in
9334 *Sun\ C*) # Sun C 5.9
9335 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'
9336 compiler_needs_object=yes
9337 tmp_sharedflag='-G' ;;
9338 *Sun\ F*) # Sun Fortran 8.3
9339 tmp_sharedflag='-G' ;;
9340 esac
9341 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9342
9343 if test "x$supports_anon_versioning" = xyes; then
9344 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9346 echo "local: *; };" >> $output_objdir/$libname.ver~
9347 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9348 fi
9349
9350 case $cc_basename in
9351 xlf* | bgf* | bgxlf* | mpixlf*)
9352 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9353 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9354 hardcode_libdir_flag_spec=
9355 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9356 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9357 if test "x$supports_anon_versioning" = xyes; then
9358 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9360 echo "local: *; };" >> $output_objdir/$libname.ver~
9361 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9362 fi
9363 ;;
9364 esac
9365 else
9366 ld_shlibs=no
9367 fi
9368 ;;
9369
9370 netbsd*)
9371 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9372 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9373 wlarc=
9374 else
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377 fi
9378 ;;
9379
9380 solaris*)
9381 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9382 ld_shlibs=no
9383 cat <<_LT_EOF 1>&2
9384
9385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9386 *** create shared libraries on Solaris systems. Therefore, libtool
9387 *** is disabling shared libraries support. We urge you to upgrade GNU
9388 *** binutils to release 2.9.1 or newer. Another option is to modify
9389 *** your PATH or compiler configuration so that the native linker is
9390 *** used, and then restart.
9391
9392 _LT_EOF
9393 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 else
9397 ld_shlibs=no
9398 fi
9399 ;;
9400
9401 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9402 case `$LD -v 2>&1` in
9403 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9404 ld_shlibs=no
9405 cat <<_LT_EOF 1>&2
9406
9407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9408 *** reliably create shared libraries on SCO systems. Therefore, libtool
9409 *** is disabling shared libraries support. We urge you to upgrade GNU
9410 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9411 *** your PATH or compiler configuration so that the native linker is
9412 *** used, and then restart.
9413
9414 _LT_EOF
9415 ;;
9416 *)
9417 # For security reasons, it is highly recommended that you always
9418 # use absolute paths for naming shared libraries, and exclude the
9419 # DT_RUNPATH tag from executables and libraries. But doing so
9420 # requires that you compile everything twice, which is a pain.
9421 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9423 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9424 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9425 else
9426 ld_shlibs=no
9427 fi
9428 ;;
9429 esac
9430 ;;
9431
9432 sunos4*)
9433 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9434 wlarc=
9435 hardcode_direct=yes
9436 hardcode_shlibpath_var=no
9437 ;;
9438
9439 *)
9440 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9443 else
9444 ld_shlibs=no
9445 fi
9446 ;;
9447 esac
9448
9449 if test "$ld_shlibs" = no; then
9450 runpath_var=
9451 hardcode_libdir_flag_spec=
9452 export_dynamic_flag_spec=
9453 whole_archive_flag_spec=
9454 fi
9455 else
9456 # PORTME fill in a description of your system's linker (not GNU ld)
9457 case $host_os in
9458 aix3*)
9459 allow_undefined_flag=unsupported
9460 always_export_symbols=yes
9461 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'
9462 # Note: this linker hardcodes the directories in LIBPATH if there
9463 # are no directories specified by -L.
9464 hardcode_minus_L=yes
9465 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9466 # Neither direct hardcoding nor static linking is supported with a
9467 # broken collect2.
9468 hardcode_direct=unsupported
9469 fi
9470 ;;
9471
9472 aix[4-9]*)
9473 if test "$host_cpu" = ia64; then
9474 # On IA64, the linker does run time linking by default, so we don't
9475 # have to do anything special.
9476 aix_use_runtimelinking=no
9477 exp_sym_flag='-Bexport'
9478 no_entry_flag=""
9479 else
9480 # If we're using GNU nm, then we don't want the "-C" option.
9481 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9482 # Also, AIX nm treats weak defined symbols like other global
9483 # defined symbols, whereas GNU nm marks them as "W".
9484 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9485 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'
9486 else
9487 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'
9488 fi
9489 aix_use_runtimelinking=no
9490
9491 # Test if we are trying to use run time linking or normal
9492 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9493 # need to do runtime linking.
9494 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9495 for ld_flag in $LDFLAGS; do
9496 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9497 aix_use_runtimelinking=yes
9498 break
9499 fi
9500 done
9501 ;;
9502 esac
9503
9504 exp_sym_flag='-bexport'
9505 no_entry_flag='-bnoentry'
9506 fi
9507
9508 # When large executables or shared objects are built, AIX ld can
9509 # have problems creating the table of contents. If linking a library
9510 # or program results in "error TOC overflow" add -mminimal-toc to
9511 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9512 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9513
9514 archive_cmds=''
9515 hardcode_direct=yes
9516 hardcode_direct_absolute=yes
9517 hardcode_libdir_separator=':'
9518 link_all_deplibs=yes
9519 file_list_spec='${wl}-f,'
9520
9521 if test "$GCC" = yes; then
9522 case $host_os in aix4.[012]|aix4.[012].*)
9523 # We only want to do this on AIX 4.2 and lower, the check
9524 # below for broken collect2 doesn't work under 4.3+
9525 collect2name=`${CC} -print-prog-name=collect2`
9526 if test -f "$collect2name" &&
9527 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9528 then
9529 # We have reworked collect2
9530 :
9531 else
9532 # We have old collect2
9533 hardcode_direct=unsupported
9534 # It fails to find uninstalled libraries when the uninstalled
9535 # path is not listed in the libpath. Setting hardcode_minus_L
9536 # to unsupported forces relinking
9537 hardcode_minus_L=yes
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_libdir_separator=
9540 fi
9541 ;;
9542 esac
9543 shared_flag='-shared'
9544 if test "$aix_use_runtimelinking" = yes; then
9545 shared_flag="$shared_flag "'${wl}-G'
9546 fi
9547 else
9548 # not using gcc
9549 if test "$host_cpu" = ia64; then
9550 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9551 # chokes on -Wl,-G. The following line is correct:
9552 shared_flag='-G'
9553 else
9554 if test "$aix_use_runtimelinking" = yes; then
9555 shared_flag='${wl}-G'
9556 else
9557 shared_flag='${wl}-bM:SRE'
9558 fi
9559 fi
9560 fi
9561
9562 export_dynamic_flag_spec='${wl}-bexpall'
9563 # It seems that -bexpall does not export symbols beginning with
9564 # underscore (_), so it is better to generate a list of symbols to export.
9565 always_export_symbols=yes
9566 if test "$aix_use_runtimelinking" = yes; then
9567 # Warning - without using the other runtime loading flags (-brtl),
9568 # -berok will link without error, but may produce a broken library.
9569 allow_undefined_flag='-berok'
9570 # Determine the default libpath from the value encoded in an
9571 # empty executable.
9572 if test x$gcc_no_link = xyes; then
9573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9574 fi
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9577
9578 int
9579 main ()
9580 {
9581
9582 ;
9583 return 0;
9584 }
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587
9588 lt_aix_libpath_sed='
9589 /Import File Strings/,/^$/ {
9590 /^0/ {
9591 s/^0 *\(.*\)$/\1/
9592 p
9593 }
9594 }'
9595 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596 # Check for a 64-bit object if we didn't find anything.
9597 if test -z "$aix_libpath"; then
9598 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 fi
9600 fi
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9604
9605 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606 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"
9607 else
9608 if test "$host_cpu" = ia64; then
9609 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 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"
9612 else
9613 # Determine the default libpath from the value encoded in an
9614 # empty executable.
9615 if test x$gcc_no_link = xyes; then
9616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9617 fi
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9620
9621 int
9622 main ()
9623 {
9624
9625 ;
9626 return 0;
9627 }
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630
9631 lt_aix_libpath_sed='
9632 /Import File Strings/,/^$/ {
9633 /^0/ {
9634 s/^0 *\(.*\)$/\1/
9635 p
9636 }
9637 }'
9638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9639 # Check for a 64-bit object if we didn't find anything.
9640 if test -z "$aix_libpath"; then
9641 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 fi
9643 fi
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9647
9648 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9649 # Warning - without using the other run time loading flags,
9650 # -berok will link without error, but may produce a broken library.
9651 no_undefined_flag=' ${wl}-bernotok'
9652 allow_undefined_flag=' ${wl}-berok'
9653 if test "$with_gnu_ld" = yes; then
9654 # We only use this code for GNU lds that support --whole-archive.
9655 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9656 else
9657 # Exported symbols can be pulled into shared objects from archives
9658 whole_archive_flag_spec='$convenience'
9659 fi
9660 archive_cmds_need_lc=yes
9661 # This is similar to how AIX traditionally builds its shared libraries.
9662 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'
9663 fi
9664 fi
9665 ;;
9666
9667 amigaos*)
9668 case $host_cpu in
9669 powerpc)
9670 # see comment about AmigaOS4 .so support
9671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672 archive_expsym_cmds=''
9673 ;;
9674 m68k)
9675 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)'
9676 hardcode_libdir_flag_spec='-L$libdir'
9677 hardcode_minus_L=yes
9678 ;;
9679 esac
9680 ;;
9681
9682 bsdi[45]*)
9683 export_dynamic_flag_spec=-rdynamic
9684 ;;
9685
9686 cygwin* | mingw* | pw32* | cegcc*)
9687 # When not using gcc, we currently assume that we are using
9688 # Microsoft Visual C++.
9689 # hardcode_libdir_flag_spec is actually meaningless, as there is
9690 # no search path for DLLs.
9691 hardcode_libdir_flag_spec=' '
9692 allow_undefined_flag=unsupported
9693 # Tell ltmain to make .lib files, not .a files.
9694 libext=lib
9695 # Tell ltmain to make .dll files, not .so files.
9696 shrext_cmds=".dll"
9697 # FIXME: Setting linknames here is a bad hack.
9698 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9699 # The linker will automatically build a .lib file if we build a DLL.
9700 old_archive_from_new_cmds='true'
9701 # FIXME: Should let the user specify the lib program.
9702 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9703 fix_srcfile_path='`cygpath -w "$srcfile"`'
9704 enable_shared_with_static_runtimes=yes
9705 ;;
9706
9707 darwin* | rhapsody*)
9708
9709
9710 archive_cmds_need_lc=no
9711 hardcode_direct=no
9712 hardcode_automatic=yes
9713 hardcode_shlibpath_var=unsupported
9714 if test "$lt_cv_ld_force_load" = "yes"; then
9715 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\"`'
9716 else
9717 whole_archive_flag_spec=''
9718 fi
9719 link_all_deplibs=yes
9720 allow_undefined_flag="$_lt_dar_allow_undefined"
9721 case $cc_basename in
9722 ifort*) _lt_dar_can_shared=yes ;;
9723 *) _lt_dar_can_shared=$GCC ;;
9724 esac
9725 if test "$_lt_dar_can_shared" = "yes"; then
9726 output_verbose_link_cmd=func_echo_all
9727 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9728 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9729 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}"
9730 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}"
9731
9732 else
9733 ld_shlibs=no
9734 fi
9735
9736 ;;
9737
9738 dgux*)
9739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_shlibpath_var=no
9742 ;;
9743
9744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9745 # support. Future versions do this automatically, but an explicit c++rt0.o
9746 # does not break anything, and helps significantly (at the cost of a little
9747 # extra space).
9748 freebsd2.2*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9750 hardcode_libdir_flag_spec='-R$libdir'
9751 hardcode_direct=yes
9752 hardcode_shlibpath_var=no
9753 ;;
9754
9755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9756 freebsd2.*)
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9758 hardcode_direct=yes
9759 hardcode_minus_L=yes
9760 hardcode_shlibpath_var=no
9761 ;;
9762
9763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9764 freebsd* | dragonfly*)
9765 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9766 hardcode_libdir_flag_spec='-R$libdir'
9767 hardcode_direct=yes
9768 hardcode_shlibpath_var=no
9769 ;;
9770
9771 hpux9*)
9772 if test "$GCC" = yes; then
9773 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'
9774 else
9775 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'
9776 fi
9777 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9778 hardcode_libdir_separator=:
9779 hardcode_direct=yes
9780
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9784 export_dynamic_flag_spec='${wl}-E'
9785 ;;
9786
9787 hpux10*)
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9790 else
9791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9792 fi
9793 if test "$with_gnu_ld" = no; then
9794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795 hardcode_libdir_flag_spec_ld='+b $libdir'
9796 hardcode_libdir_separator=:
9797 hardcode_direct=yes
9798 hardcode_direct_absolute=yes
9799 export_dynamic_flag_spec='${wl}-E'
9800 # hardcode_minus_L: Not really in the search PATH,
9801 # but as the default location of the library.
9802 hardcode_minus_L=yes
9803 fi
9804 ;;
9805
9806 hpux11*)
9807 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9808 case $host_cpu in
9809 hppa*64*)
9810 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ;;
9812 ia64*)
9813 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9814 ;;
9815 *)
9816 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9817 ;;
9818 esac
9819 else
9820 case $host_cpu in
9821 hppa*64*)
9822 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9823 ;;
9824 ia64*)
9825 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9826 ;;
9827 *)
9828
9829 # Older versions of the 11.00 compiler do not understand -b yet
9830 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9832 $as_echo_n "checking if $CC understands -b... " >&6; }
9833 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 lt_cv_prog_compiler__b=no
9837 save_LDFLAGS="$LDFLAGS"
9838 LDFLAGS="$LDFLAGS -b"
9839 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9840 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9841 # The linker can only warn and ignore the option if not recognized
9842 # So say no if there are warnings
9843 if test -s conftest.err; then
9844 # Append any errors to the config.log.
9845 cat conftest.err 1>&5
9846 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9847 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9848 if diff conftest.exp conftest.er2 >/dev/null; then
9849 lt_cv_prog_compiler__b=yes
9850 fi
9851 else
9852 lt_cv_prog_compiler__b=yes
9853 fi
9854 fi
9855 $RM -r conftest*
9856 LDFLAGS="$save_LDFLAGS"
9857
9858 fi
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9860 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9861
9862 if test x"$lt_cv_prog_compiler__b" = xyes; then
9863 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864 else
9865 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9866 fi
9867
9868 ;;
9869 esac
9870 fi
9871 if test "$with_gnu_ld" = no; then
9872 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9873 hardcode_libdir_separator=:
9874
9875 case $host_cpu in
9876 hppa*64*|ia64*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9879 ;;
9880 *)
9881 hardcode_direct=yes
9882 hardcode_direct_absolute=yes
9883 export_dynamic_flag_spec='${wl}-E'
9884
9885 # hardcode_minus_L: Not really in the search PATH,
9886 # but as the default location of the library.
9887 hardcode_minus_L=yes
9888 ;;
9889 esac
9890 fi
9891 ;;
9892
9893 irix5* | irix6* | nonstopux*)
9894 if test "$GCC" = yes; then
9895 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'
9896 # Try to use the -exported_symbol ld option, if it does not
9897 # work, assume that -exports_file does not work either and
9898 # implicitly export all symbols.
9899 save_LDFLAGS="$LDFLAGS"
9900 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9901 if test x$gcc_no_link = xyes; then
9902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9903 fi
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int foo(void) {}
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 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'
9910
9911 fi
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LDFLAGS="$save_LDFLAGS"
9915 else
9916 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'
9917 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'
9918 fi
9919 archive_cmds_need_lc='no'
9920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921 hardcode_libdir_separator=:
9922 inherit_rpath=yes
9923 link_all_deplibs=yes
9924 ;;
9925
9926 netbsd*)
9927 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9928 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9929 else
9930 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9931 fi
9932 hardcode_libdir_flag_spec='-R$libdir'
9933 hardcode_direct=yes
9934 hardcode_shlibpath_var=no
9935 ;;
9936
9937 newsos6)
9938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9939 hardcode_direct=yes
9940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9941 hardcode_libdir_separator=:
9942 hardcode_shlibpath_var=no
9943 ;;
9944
9945 *nto* | *qnx*)
9946 ;;
9947
9948 openbsd*)
9949 if test -f /usr/libexec/ld.so; then
9950 hardcode_direct=yes
9951 hardcode_shlibpath_var=no
9952 hardcode_direct_absolute=yes
9953 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9954 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9955 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9957 export_dynamic_flag_spec='${wl}-E'
9958 else
9959 case $host_os in
9960 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9961 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9962 hardcode_libdir_flag_spec='-R$libdir'
9963 ;;
9964 *)
9965 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9966 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9967 ;;
9968 esac
9969 fi
9970 else
9971 ld_shlibs=no
9972 fi
9973 ;;
9974
9975 os2*)
9976 hardcode_libdir_flag_spec='-L$libdir'
9977 hardcode_minus_L=yes
9978 allow_undefined_flag=unsupported
9979 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'
9980 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9981 ;;
9982
9983 osf3*)
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9987 else
9988 allow_undefined_flag=' -expect_unresolved \*'
9989 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'
9990 fi
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 hardcode_libdir_separator=:
9994 ;;
9995
9996 osf4* | osf5*) # as osf3* with the addition of -msym flag
9997 if test "$GCC" = yes; then
9998 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999 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'
10000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10001 else
10002 allow_undefined_flag=' -expect_unresolved \*'
10003 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'
10004 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~
10005 $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'
10006
10007 # Both c and cxx compiler support -rpath directly
10008 hardcode_libdir_flag_spec='-rpath $libdir'
10009 fi
10010 archive_cmds_need_lc='no'
10011 hardcode_libdir_separator=:
10012 ;;
10013
10014 solaris*)
10015 no_undefined_flag=' -z defs'
10016 if test "$GCC" = yes; then
10017 wlarc='${wl}'
10018 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10021 else
10022 case `$CC -V 2>&1` in
10023 *"Compilers 5.0"*)
10024 wlarc=''
10025 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10028 ;;
10029 *)
10030 wlarc='${wl}'
10031 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10034 ;;
10035 esac
10036 fi
10037 hardcode_libdir_flag_spec='-R$libdir'
10038 hardcode_shlibpath_var=no
10039 case $host_os in
10040 solaris2.[0-5] | solaris2.[0-5].*) ;;
10041 *)
10042 # The compiler driver will combine and reorder linker options,
10043 # but understands `-z linker_flag'. GCC discards it without `$wl',
10044 # but is careful enough not to reorder.
10045 # Supported since Solaris 2.6 (maybe 2.5.1?)
10046 if test "$GCC" = yes; then
10047 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10048 else
10049 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10050 fi
10051 ;;
10052 esac
10053 link_all_deplibs=yes
10054 ;;
10055
10056 sunos4*)
10057 if test "x$host_vendor" = xsequent; then
10058 # Use $CC to link under sequent, because it throws in some extra .o
10059 # files that make .init and .fini sections work.
10060 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10061 else
10062 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10063 fi
10064 hardcode_libdir_flag_spec='-L$libdir'
10065 hardcode_direct=yes
10066 hardcode_minus_L=yes
10067 hardcode_shlibpath_var=no
10068 ;;
10069
10070 sysv4)
10071 case $host_vendor in
10072 sni)
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_direct=yes # is this really true???
10075 ;;
10076 siemens)
10077 ## LD is ld it makes a PLAMLIB
10078 ## CC just makes a GrossModule.
10079 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10080 reload_cmds='$CC -r -o $output$reload_objs'
10081 hardcode_direct=no
10082 ;;
10083 motorola)
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10086 ;;
10087 esac
10088 runpath_var='LD_RUN_PATH'
10089 hardcode_shlibpath_var=no
10090 ;;
10091
10092 sysv4.3*)
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_shlibpath_var=no
10095 export_dynamic_flag_spec='-Bexport'
10096 ;;
10097
10098 sysv4*MP*)
10099 if test -d /usr/nec; then
10100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_shlibpath_var=no
10102 runpath_var=LD_RUN_PATH
10103 hardcode_runpath_var=yes
10104 ld_shlibs=yes
10105 fi
10106 ;;
10107
10108 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10109 no_undefined_flag='${wl}-z,text'
10110 archive_cmds_need_lc=no
10111 hardcode_shlibpath_var=no
10112 runpath_var='LD_RUN_PATH'
10113
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 fi
10121 ;;
10122
10123 sysv5* | sco3.2v5* | sco5v6*)
10124 # Note: We can NOT use -z defs as we might desire, because we do not
10125 # link with -lc, and that would cause any symbols used from libc to
10126 # always be unresolved, which means just about no library would
10127 # ever link correctly. If we're not using GNU ld we use -z text
10128 # though, which does catch some bad symbols but isn't as heavy-handed
10129 # as -z defs.
10130 no_undefined_flag='${wl}-z,text'
10131 allow_undefined_flag='${wl}-z,nodefs'
10132 archive_cmds_need_lc=no
10133 hardcode_shlibpath_var=no
10134 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10135 hardcode_libdir_separator=':'
10136 link_all_deplibs=yes
10137 export_dynamic_flag_spec='${wl}-Bexport'
10138 runpath_var='LD_RUN_PATH'
10139
10140 if test "$GCC" = yes; then
10141 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 else
10144 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10146 fi
10147 ;;
10148
10149 uts4*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_libdir_flag_spec='-L$libdir'
10152 hardcode_shlibpath_var=no
10153 ;;
10154
10155 *)
10156 ld_shlibs=no
10157 ;;
10158 esac
10159
10160 if test x$host_vendor = xsni; then
10161 case $host in
10162 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10163 export_dynamic_flag_spec='${wl}-Blargedynsym'
10164 ;;
10165 esac
10166 fi
10167 fi
10168
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10170 $as_echo "$ld_shlibs" >&6; }
10171 test "$ld_shlibs" = no && can_build_shared=no
10172
10173 with_gnu_ld=$with_gnu_ld
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189 #
10190 # Do we need to explicitly link libc?
10191 #
10192 case "x$archive_cmds_need_lc" in
10193 x|xyes)
10194 # Assume -lc should be added
10195 archive_cmds_need_lc=yes
10196
10197 if test "$enable_shared" = yes && test "$GCC" = yes; then
10198 case $archive_cmds in
10199 *'~'*)
10200 # FIXME: we may have to deal with multi-command sequences.
10201 ;;
10202 '$CC '*)
10203 # Test whether the compiler implicitly links with -lc since on some
10204 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10205 # to ld, don't add -lc before -lgcc.
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10207 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10208 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 $RM conftest*
10212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10213
10214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10215 (eval $ac_compile) 2>&5
10216 ac_status=$?
10217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10218 test $ac_status = 0; } 2>conftest.err; then
10219 soname=conftest
10220 lib=conftest
10221 libobjs=conftest.$ac_objext
10222 deplibs=
10223 wl=$lt_prog_compiler_wl
10224 pic_flag=$lt_prog_compiler_pic
10225 compiler_flags=-v
10226 linker_flags=-v
10227 verstring=
10228 output_objdir=.
10229 libname=conftest
10230 lt_save_allow_undefined_flag=$allow_undefined_flag
10231 allow_undefined_flag=
10232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10233 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10234 ac_status=$?
10235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10236 test $ac_status = 0; }
10237 then
10238 lt_cv_archive_cmds_need_lc=no
10239 else
10240 lt_cv_archive_cmds_need_lc=yes
10241 fi
10242 allow_undefined_flag=$lt_save_allow_undefined_flag
10243 else
10244 cat conftest.err 1>&5
10245 fi
10246 $RM conftest*
10247
10248 fi
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10250 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10251 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10252 ;;
10253 esac
10254 fi
10255 ;;
10256 esac
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
10413
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10415 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10416
10417 if test "$GCC" = yes; then
10418 case $host_os in
10419 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10420 *) lt_awk_arg="/^libraries:/" ;;
10421 esac
10422 case $host_os in
10423 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10424 *) lt_sed_strip_eq="s,=/,/,g" ;;
10425 esac
10426 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10427 case $lt_search_path_spec in
10428 *\;*)
10429 # if the path contains ";" then we assume it to be the separator
10430 # otherwise default to the standard path separator (i.e. ":") - it is
10431 # assumed that no part of a normal pathname contains ";" but that should
10432 # okay in the real world where ";" in dirpaths is itself problematic.
10433 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10434 ;;
10435 *)
10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10437 ;;
10438 esac
10439 # Ok, now we have the path, separated by spaces, we can step through it
10440 # and add multilib dir if necessary.
10441 lt_tmp_lt_search_path_spec=
10442 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10443 for lt_sys_path in $lt_search_path_spec; do
10444 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10445 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10446 else
10447 test -d "$lt_sys_path" && \
10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10449 fi
10450 done
10451 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10452 BEGIN {RS=" "; FS="/|\n";} {
10453 lt_foo="";
10454 lt_count=0;
10455 for (lt_i = NF; lt_i > 0; lt_i--) {
10456 if ($lt_i != "" && $lt_i != ".") {
10457 if ($lt_i == "..") {
10458 lt_count++;
10459 } else {
10460 if (lt_count == 0) {
10461 lt_foo="/" $lt_i lt_foo;
10462 } else {
10463 lt_count--;
10464 }
10465 }
10466 }
10467 }
10468 if (lt_foo != "") { lt_freq[lt_foo]++; }
10469 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10470 }'`
10471 # AWK program above erroneously prepends '/' to C:/dos/paths
10472 # for these hosts.
10473 case $host_os in
10474 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10475 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10476 esac
10477 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10478 else
10479 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10480 fi
10481 library_names_spec=
10482 libname_spec='lib$name'
10483 soname_spec=
10484 shrext_cmds=".so"
10485 postinstall_cmds=
10486 postuninstall_cmds=
10487 finish_cmds=
10488 finish_eval=
10489 shlibpath_var=
10490 shlibpath_overrides_runpath=unknown
10491 version_type=none
10492 dynamic_linker="$host_os ld.so"
10493 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10494 need_lib_prefix=unknown
10495 hardcode_into_libs=no
10496
10497 # when you set need_version to no, make sure it does not cause -set_version
10498 # flags to be left without arguments
10499 need_version=unknown
10500
10501 case $host_os in
10502 aix3*)
10503 version_type=linux
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10505 shlibpath_var=LIBPATH
10506
10507 # AIX 3 has no versioning support, so we append a major version to the name.
10508 soname_spec='${libname}${release}${shared_ext}$major'
10509 ;;
10510
10511 aix[4-9]*)
10512 version_type=linux
10513 need_lib_prefix=no
10514 need_version=no
10515 hardcode_into_libs=yes
10516 if test "$host_cpu" = ia64; then
10517 # AIX 5 supports IA64
10518 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 else
10521 # With GCC up to 2.95.x, collect2 would create an import file
10522 # for dependence libraries. The import file would start with
10523 # the line `#! .'. This would cause the generated library to
10524 # depend on `.', always an invalid library. This was fixed in
10525 # development snapshots of GCC prior to 3.0.
10526 case $host_os in
10527 aix4 | aix4.[01] | aix4.[01].*)
10528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10529 echo ' yes '
10530 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10531 :
10532 else
10533 can_build_shared=no
10534 fi
10535 ;;
10536 esac
10537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10538 # soname into executable. Probably we can add versioning support to
10539 # collect2, so additional links can be useful in future.
10540 if test "$aix_use_runtimelinking" = yes; then
10541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10542 # instead of lib<name>.a to let people know that these are not
10543 # typical AIX shared libraries.
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 else
10546 # We preserve .a as extension for shared libraries through AIX4.2
10547 # and later when we are not doing run time linking.
10548 library_names_spec='${libname}${release}.a $libname.a'
10549 soname_spec='${libname}${release}${shared_ext}$major'
10550 fi
10551 shlibpath_var=LIBPATH
10552 fi
10553 ;;
10554
10555 amigaos*)
10556 case $host_cpu in
10557 powerpc)
10558 # Since July 2007 AmigaOS4 officially supports .so libraries.
10559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561 ;;
10562 m68k)
10563 library_names_spec='$libname.ixlibrary $libname.a'
10564 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10565 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'
10566 ;;
10567 esac
10568 ;;
10569
10570 beos*)
10571 library_names_spec='${libname}${shared_ext}'
10572 dynamic_linker="$host_os ld.so"
10573 shlibpath_var=LIBRARY_PATH
10574 ;;
10575
10576 bsdi[45]*)
10577 version_type=linux
10578 need_version=no
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10582 shlibpath_var=LD_LIBRARY_PATH
10583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10585 # the default ld.so.conf also contains /usr/contrib/lib and
10586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10587 # libtool to hard-code these into programs
10588 ;;
10589
10590 cygwin* | mingw* | pw32* | cegcc*)
10591 version_type=windows
10592 shrext_cmds=".dll"
10593 need_version=no
10594 need_lib_prefix=no
10595
10596 case $GCC,$host_os in
10597 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10598 library_names_spec='$libname.dll.a'
10599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10600 postinstall_cmds='base_file=`basename \${file}`~
10601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10602 dldir=$destdir/`dirname \$dlpath`~
10603 test -d \$dldir || mkdir -p \$dldir~
10604 $install_prog $dir/$dlname \$dldir/$dlname~
10605 chmod a+x \$dldir/$dlname~
10606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10608 fi'
10609 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10610 dlpath=$dir/\$dldll~
10611 $RM \$dlpath'
10612 shlibpath_overrides_runpath=yes
10613
10614 case $host_os in
10615 cygwin*)
10616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10617 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10618
10619 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10620 ;;
10621 mingw* | cegcc*)
10622 # MinGW DLLs use traditional 'lib' prefix
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624 ;;
10625 pw32*)
10626 # pw32 DLLs use 'pw' prefix rather than 'lib'
10627 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628 ;;
10629 esac
10630 ;;
10631
10632 *)
10633 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10634 ;;
10635 esac
10636 dynamic_linker='Win32 ld.exe'
10637 # FIXME: first we should search . and the directory the executable is in
10638 shlibpath_var=PATH
10639 ;;
10640
10641 darwin* | rhapsody*)
10642 dynamic_linker="$host_os dyld"
10643 version_type=darwin
10644 need_lib_prefix=no
10645 need_version=no
10646 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10647 soname_spec='${libname}${release}${major}$shared_ext'
10648 shlibpath_overrides_runpath=yes
10649 shlibpath_var=DYLD_LIBRARY_PATH
10650 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10651
10652 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10653 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10654 ;;
10655
10656 dgux*)
10657 version_type=linux
10658 need_lib_prefix=no
10659 need_version=no
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 shlibpath_var=LD_LIBRARY_PATH
10663 ;;
10664
10665 freebsd* | dragonfly*)
10666 # DragonFly does not have aout. When/if they implement a new
10667 # versioning mechanism, adjust this.
10668 if test -x /usr/bin/objformat; then
10669 objformat=`/usr/bin/objformat`
10670 else
10671 case $host_os in
10672 freebsd[23].*) objformat=aout ;;
10673 *) objformat=elf ;;
10674 esac
10675 fi
10676 version_type=freebsd-$objformat
10677 case $version_type in
10678 freebsd-elf*)
10679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10680 need_version=no
10681 need_lib_prefix=no
10682 ;;
10683 freebsd-*)
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10685 need_version=yes
10686 ;;
10687 esac
10688 shlibpath_var=LD_LIBRARY_PATH
10689 case $host_os in
10690 freebsd2.*)
10691 shlibpath_overrides_runpath=yes
10692 ;;
10693 freebsd3.[01]* | freebsdelf3.[01]*)
10694 shlibpath_overrides_runpath=yes
10695 hardcode_into_libs=yes
10696 ;;
10697 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10698 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10699 shlibpath_overrides_runpath=no
10700 hardcode_into_libs=yes
10701 ;;
10702 *) # from 4.6 on, and DragonFly
10703 shlibpath_overrides_runpath=yes
10704 hardcode_into_libs=yes
10705 ;;
10706 esac
10707 ;;
10708
10709 gnu*)
10710 version_type=linux
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10714 soname_spec='${libname}${release}${shared_ext}$major'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 hardcode_into_libs=yes
10717 ;;
10718
10719 haiku*)
10720 version_type=linux
10721 need_lib_prefix=no
10722 need_version=no
10723 dynamic_linker="$host_os runtime_loader"
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10725 soname_spec='${libname}${release}${shared_ext}$major'
10726 shlibpath_var=LIBRARY_PATH
10727 shlibpath_overrides_runpath=yes
10728 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10729 hardcode_into_libs=yes
10730 ;;
10731
10732 hpux9* | hpux10* | hpux11*)
10733 # Give a soname corresponding to the major version so that dld.sl refuses to
10734 # link against other versions.
10735 version_type=sunos
10736 need_lib_prefix=no
10737 need_version=no
10738 case $host_cpu in
10739 ia64*)
10740 shrext_cmds='.so'
10741 hardcode_into_libs=yes
10742 dynamic_linker="$host_os dld.so"
10743 shlibpath_var=LD_LIBRARY_PATH
10744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 if test "X$HPUX_IA64_MODE" = X32; then
10748 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10749 else
10750 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10751 fi
10752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 ;;
10754 hppa*64*)
10755 shrext_cmds='.sl'
10756 hardcode_into_libs=yes
10757 dynamic_linker="$host_os dld.sl"
10758 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10759 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10763 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10764 ;;
10765 *)
10766 shrext_cmds='.sl'
10767 dynamic_linker="$host_os dld.sl"
10768 shlibpath_var=SHLIB_PATH
10769 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 ;;
10773 esac
10774 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10775 postinstall_cmds='chmod 555 $lib'
10776 # or fails outright, so override atomically:
10777 install_override_mode=555
10778 ;;
10779
10780 interix[3-9]*)
10781 version_type=linux
10782 need_lib_prefix=no
10783 need_version=no
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10787 shlibpath_var=LD_LIBRARY_PATH
10788 shlibpath_overrides_runpath=no
10789 hardcode_into_libs=yes
10790 ;;
10791
10792 irix5* | irix6* | nonstopux*)
10793 case $host_os in
10794 nonstopux*) version_type=nonstopux ;;
10795 *)
10796 if test "$lt_cv_prog_gnu_ld" = yes; then
10797 version_type=linux
10798 else
10799 version_type=irix
10800 fi ;;
10801 esac
10802 need_lib_prefix=no
10803 need_version=no
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10806 case $host_os in
10807 irix5* | nonstopux*)
10808 libsuff= shlibsuff=
10809 ;;
10810 *)
10811 case $LD in # libtool.m4 will add one of these switches to LD
10812 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10813 libsuff= shlibsuff= libmagic=32-bit;;
10814 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10815 libsuff=32 shlibsuff=N32 libmagic=N32;;
10816 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10817 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10818 *) libsuff= shlibsuff= libmagic=never-match;;
10819 esac
10820 ;;
10821 esac
10822 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10823 shlibpath_overrides_runpath=no
10824 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10825 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10826 hardcode_into_libs=yes
10827 ;;
10828
10829 # No shared lib support for Linux oldld, aout, or coff.
10830 linux*oldld* | linux*aout* | linux*coff*)
10831 dynamic_linker=no
10832 ;;
10833
10834 # This must be Linux ELF.
10835 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844
10845 # Some binutils ld are patched to set DT_RUNPATH
10846 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10847 $as_echo_n "(cached) " >&6
10848 else
10849 lt_cv_shlibpath_overrides_runpath=no
10850 save_LDFLAGS=$LDFLAGS
10851 save_libdir=$libdir
10852 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10853 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10854 if test x$gcc_no_link = xyes; then
10855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10856 fi
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859
10860 int
10861 main ()
10862 {
10863
10864 ;
10865 return 0;
10866 }
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10870 lt_cv_shlibpath_overrides_runpath=yes
10871 fi
10872 fi
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LDFLAGS=$save_LDFLAGS
10876 libdir=$save_libdir
10877
10878 fi
10879
10880 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10881
10882 # This implies no fast_install, which is unacceptable.
10883 # Some rework will be needed to allow for fast_install
10884 # before this can be enabled.
10885 hardcode_into_libs=yes
10886
10887 # Append ld.so.conf contents to the search path
10888 if test -f /etc/ld.so.conf; then
10889 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' ' '`
10890 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10891 fi
10892
10893 # We used to test for /lib/ld.so.1 and disable shared libraries on
10894 # powerpc, because MkLinux only supported shared libraries with the
10895 # GNU dynamic linker. Since this was broken with cross compilers,
10896 # most powerpc-linux boxes support dynamic linking these days and
10897 # people can always --disable-shared, the test was removed, and we
10898 # assume the GNU/Linux dynamic linker is in use.
10899 dynamic_linker='GNU/Linux ld.so'
10900 ;;
10901
10902 netbsd*)
10903 version_type=sunos
10904 need_lib_prefix=no
10905 need_version=no
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909 dynamic_linker='NetBSD (a.out) ld.so'
10910 else
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 dynamic_linker='NetBSD ld.elf_so'
10914 fi
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 hardcode_into_libs=yes
10918 ;;
10919
10920 newsos6)
10921 version_type=linux
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=yes
10925 ;;
10926
10927 *nto* | *qnx*)
10928 version_type=qnx
10929 need_lib_prefix=no
10930 need_version=no
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10936 dynamic_linker='ldqnx.so'
10937 ;;
10938
10939 openbsd*)
10940 version_type=sunos
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10942 need_lib_prefix=no
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10944 case $host_os in
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10947 esac
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10952 case $host_os in
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10955 ;;
10956 *)
10957 shlibpath_overrides_runpath=yes
10958 ;;
10959 esac
10960 else
10961 shlibpath_overrides_runpath=yes
10962 fi
10963 ;;
10964
10965 os2*)
10966 libname_spec='$name'
10967 shrext_cmds=".dll"
10968 need_lib_prefix=no
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10972 ;;
10973
10974 osf3* | osf4* | osf5*)
10975 version_type=osf
10976 need_lib_prefix=no
10977 need_version=no
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10983 ;;
10984
10985 rdos*)
10986 dynamic_linker=no
10987 ;;
10988
10989 solaris*)
10990 version_type=linux
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11000 ;;
11001
11002 sunos4*)
11003 version_type=sunos
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11009 need_lib_prefix=no
11010 fi
11011 need_version=yes
11012 ;;
11013
11014 sysv4 | sysv4.3*)
11015 version_type=linux
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11020 sni)
11021 shlibpath_overrides_runpath=no
11022 need_lib_prefix=no
11023 runpath_var=LD_RUN_PATH
11024 ;;
11025 siemens)
11026 need_lib_prefix=no
11027 ;;
11028 motorola)
11029 need_lib_prefix=no
11030 need_version=no
11031 shlibpath_overrides_runpath=no
11032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11033 ;;
11034 esac
11035 ;;
11036
11037 sysv4*MP*)
11038 if test -d /usr/nec ;then
11039 version_type=linux
11040 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041 soname_spec='$libname${shared_ext}.$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11043 fi
11044 ;;
11045
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047 version_type=freebsd-elf
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11057 else
11058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11059 case $host_os in
11060 sco3.2v5*)
11061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11062 ;;
11063 esac
11064 fi
11065 sys_lib_dlsearch_path_spec='/usr/lib'
11066 ;;
11067
11068 tpf*)
11069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11070 version_type=linux
11071 need_lib_prefix=no
11072 need_version=no
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11077 ;;
11078
11079 uts4*)
11080 version_type=linux
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 ;;
11085
11086 *)
11087 dynamic_linker=no
11088 ;;
11089 esac
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11093
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11097 fi
11098
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11101 fi
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11104 fi
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
11196
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11199 hardcode_action=
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201 test -n "$runpath_var" ||
11202 test "X$hardcode_automatic" = "Xyes" ; then
11203
11204 # We can hardcode non-existent directories.
11205 if test "$hardcode_direct" != no &&
11206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207 # have to relink, otherwise we might link with an installed library
11208 # when we should be linking with a yet-to-be-installed one
11209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210 test "$hardcode_minus_L" != no; then
11211 # Linking always hardcodes the temporary library directory.
11212 hardcode_action=relink
11213 else
11214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215 hardcode_action=immediate
11216 fi
11217 else
11218 # We cannot hardcode anything, or else we can only hardcode existing
11219 # directories.
11220 hardcode_action=unsupported
11221 fi
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11224
11225 if test "$hardcode_action" = relink ||
11226 test "$inherit_rpath" = yes; then
11227 # Fast installation is not supported
11228 enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230 test "$enable_shared" = no; then
11231 # Fast installation is not necessary
11232 enable_fast_install=needless
11233 fi
11234
11235
11236
11237
11238
11239
11240 if test "x$enable_dlopen" != xyes; then
11241 enable_dlopen=unknown
11242 enable_dlopen_self=unknown
11243 enable_dlopen_self_static=unknown
11244 else
11245 lt_cv_dlopen=no
11246 lt_cv_dlopen_libs=
11247
11248 case $host_os in
11249 beos*)
11250 lt_cv_dlopen="load_add_on"
11251 lt_cv_dlopen_libs=
11252 lt_cv_dlopen_self=yes
11253 ;;
11254
11255 mingw* | pw32* | cegcc*)
11256 lt_cv_dlopen="LoadLibrary"
11257 lt_cv_dlopen_libs=
11258 ;;
11259
11260 cygwin*)
11261 lt_cv_dlopen="dlopen"
11262 lt_cv_dlopen_libs=
11263 ;;
11264
11265 darwin*)
11266 # if libdl is installed we need to link against it
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-ldl $LIBS"
11274 if test x$gcc_no_link = xyes; then
11275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11276 fi
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11279
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char dlopen ();
11287 int
11288 main ()
11289 {
11290 return dlopen ();
11291 ;
11292 return 0;
11293 }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_dl_dlopen=yes
11297 else
11298 ac_cv_lib_dl_dlopen=no
11299 fi
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11303 fi
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11307 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11308 else
11309
11310 lt_cv_dlopen="dyld"
11311 lt_cv_dlopen_libs=
11312 lt_cv_dlopen_self=yes
11313
11314 fi
11315
11316 ;;
11317
11318 *)
11319 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320 if test "x$ac_cv_func_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load"
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11325 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-ldld $LIBS"
11330 if test x$gcc_no_link = xyes; then
11331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11332 fi
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char shl_load ();
11343 int
11344 main ()
11345 {
11346 return shl_load ();
11347 ;
11348 return 0;
11349 }
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_dld_shl_load=yes
11353 else
11354 ac_cv_lib_dld_shl_load=no
11355 fi
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11359 fi
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11362 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11363 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11364 else
11365 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11366 if test "x$ac_cv_func_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-ldl $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 fi
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11389 int
11390 main ()
11391 {
11392 return dlopen ();
11393 ;
11394 return 0;
11395 }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_dl_dlopen=yes
11399 else
11400 ac_cv_lib_dl_dlopen=no
11401 fi
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11405 fi
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11408 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11412 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11413 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lsvld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11420 fi
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dlopen ();
11431 int
11432 main ()
11433 {
11434 return dlopen ();
11435 ;
11436 return 0;
11437 }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_svld_dlopen=yes
11441 else
11442 ac_cv_lib_svld_dlopen=no
11443 fi
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11449 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11450 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11452 else
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11454 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldld $LIBS"
11460 if test x$gcc_no_link = xyes; then
11461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11462 fi
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char dld_link ();
11473 int
11474 main ()
11475 {
11476 return dld_link ();
11477 ;
11478 return 0;
11479 }
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_dld_dld_link=yes
11483 else
11484 ac_cv_lib_dld_dld_link=no
11485 fi
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11489 fi
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11491 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11492 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11493 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11494 fi
11495
11496
11497 fi
11498
11499
11500 fi
11501
11502
11503 fi
11504
11505
11506 fi
11507
11508
11509 fi
11510
11511 ;;
11512 esac
11513
11514 if test "x$lt_cv_dlopen" != xno; then
11515 enable_dlopen=yes
11516 else
11517 enable_dlopen=no
11518 fi
11519
11520 case $lt_cv_dlopen in
11521 dlopen)
11522 save_CPPFLAGS="$CPPFLAGS"
11523 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11524
11525 save_LDFLAGS="$LDFLAGS"
11526 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11527
11528 save_LIBS="$LIBS"
11529 LIBS="$lt_cv_dlopen_libs $LIBS"
11530
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11532 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11533 if test "${lt_cv_dlopen_self+set}" = set; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 if test "$cross_compiling" = yes; then :
11537 lt_cv_dlopen_self=cross
11538 else
11539 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540 lt_status=$lt_dlunknown
11541 cat > conftest.$ac_ext <<_LT_EOF
11542 #line 11542 "configure"
11543 #include "confdefs.h"
11544
11545 #if HAVE_DLFCN_H
11546 #include <dlfcn.h>
11547 #endif
11548
11549 #include <stdio.h>
11550
11551 #ifdef RTLD_GLOBAL
11552 # define LT_DLGLOBAL RTLD_GLOBAL
11553 #else
11554 # ifdef DL_GLOBAL
11555 # define LT_DLGLOBAL DL_GLOBAL
11556 # else
11557 # define LT_DLGLOBAL 0
11558 # endif
11559 #endif
11560
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562 find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11564 # ifdef RTLD_LAZY
11565 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11566 # else
11567 # ifdef DL_LAZY
11568 # define LT_DLLAZY_OR_NOW DL_LAZY
11569 # else
11570 # ifdef RTLD_NOW
11571 # define LT_DLLAZY_OR_NOW RTLD_NOW
11572 # else
11573 # ifdef DL_NOW
11574 # define LT_DLLAZY_OR_NOW DL_NOW
11575 # else
11576 # define LT_DLLAZY_OR_NOW 0
11577 # endif
11578 # endif
11579 # endif
11580 # endif
11581 #endif
11582
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584 correspondingly for the symbols needed. */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 void fnord () __attribute__((visibility("default")));
11587 #endif
11588
11589 void fnord () { int i=42; }
11590 int main ()
11591 {
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11594
11595 if (self)
11596 {
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11598 else
11599 {
11600 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11601 else puts (dlerror ());
11602 }
11603 /* dlclose (self); */
11604 }
11605 else
11606 puts (dlerror ());
11607
11608 return status;
11609 }
11610 _LT_EOF
11611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612 (eval $ac_link) 2>&5
11613 ac_status=$?
11614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616 (./conftest; exit; ) >&5 2>/dev/null
11617 lt_status=$?
11618 case x$lt_status in
11619 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11620 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11621 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11622 esac
11623 else :
11624 # compilation failed
11625 lt_cv_dlopen_self=no
11626 fi
11627 fi
11628 rm -fr conftest*
11629
11630
11631 fi
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11633 $as_echo "$lt_cv_dlopen_self" >&6; }
11634
11635 if test "x$lt_cv_dlopen_self" = xyes; then
11636 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11638 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11639 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 if test "$cross_compiling" = yes; then :
11643 lt_cv_dlopen_self_static=cross
11644 else
11645 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11646 lt_status=$lt_dlunknown
11647 cat > conftest.$ac_ext <<_LT_EOF
11648 #line 11648 "configure"
11649 #include "confdefs.h"
11650
11651 #if HAVE_DLFCN_H
11652 #include <dlfcn.h>
11653 #endif
11654
11655 #include <stdio.h>
11656
11657 #ifdef RTLD_GLOBAL
11658 # define LT_DLGLOBAL RTLD_GLOBAL
11659 #else
11660 # ifdef DL_GLOBAL
11661 # define LT_DLGLOBAL DL_GLOBAL
11662 # else
11663 # define LT_DLGLOBAL 0
11664 # endif
11665 #endif
11666
11667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11668 find out it does not work in some platform. */
11669 #ifndef LT_DLLAZY_OR_NOW
11670 # ifdef RTLD_LAZY
11671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11672 # else
11673 # ifdef DL_LAZY
11674 # define LT_DLLAZY_OR_NOW DL_LAZY
11675 # else
11676 # ifdef RTLD_NOW
11677 # define LT_DLLAZY_OR_NOW RTLD_NOW
11678 # else
11679 # ifdef DL_NOW
11680 # define LT_DLLAZY_OR_NOW DL_NOW
11681 # else
11682 # define LT_DLLAZY_OR_NOW 0
11683 # endif
11684 # endif
11685 # endif
11686 # endif
11687 #endif
11688
11689 /* When -fvisbility=hidden is used, assume the code has been annotated
11690 correspondingly for the symbols needed. */
11691 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11692 void fnord () __attribute__((visibility("default")));
11693 #endif
11694
11695 void fnord () { int i=42; }
11696 int main ()
11697 {
11698 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11699 int status = $lt_dlunknown;
11700
11701 if (self)
11702 {
11703 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11704 else
11705 {
11706 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11707 else puts (dlerror ());
11708 }
11709 /* dlclose (self); */
11710 }
11711 else
11712 puts (dlerror ());
11713
11714 return status;
11715 }
11716 _LT_EOF
11717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11718 (eval $ac_link) 2>&5
11719 ac_status=$?
11720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11721 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11722 (./conftest; exit; ) >&5 2>/dev/null
11723 lt_status=$?
11724 case x$lt_status in
11725 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11726 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11727 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11728 esac
11729 else :
11730 # compilation failed
11731 lt_cv_dlopen_self_static=no
11732 fi
11733 fi
11734 rm -fr conftest*
11735
11736
11737 fi
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11739 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11740 fi
11741
11742 CPPFLAGS="$save_CPPFLAGS"
11743 LDFLAGS="$save_LDFLAGS"
11744 LIBS="$save_LIBS"
11745 ;;
11746 esac
11747
11748 case $lt_cv_dlopen_self in
11749 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11750 *) enable_dlopen_self=unknown ;;
11751 esac
11752
11753 case $lt_cv_dlopen_self_static in
11754 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11755 *) enable_dlopen_self_static=unknown ;;
11756 esac
11757 fi
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775 striplib=
11776 old_striplib=
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11778 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11779 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11780 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11781 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11783 $as_echo "yes" >&6; }
11784 else
11785 # FIXME - insert some real tests, host_os isn't really good enough
11786 case $host_os in
11787 darwin*)
11788 if test -n "$STRIP" ; then
11789 striplib="$STRIP -x"
11790 old_striplib="$STRIP -S"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11792 $as_echo "yes" >&6; }
11793 else
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11796 fi
11797 ;;
11798 *)
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11801 ;;
11802 esac
11803 fi
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816 # Report which library types will actually be built
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11818 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11820 $as_echo "$can_build_shared" >&6; }
11821
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11823 $as_echo_n "checking whether to build shared libraries... " >&6; }
11824 test "$can_build_shared" = "no" && enable_shared=no
11825
11826 # On AIX, shared libraries and static libraries use the same namespace, and
11827 # are all built from PIC.
11828 case $host_os in
11829 aix3*)
11830 test "$enable_shared" = yes && enable_static=no
11831 if test -n "$RANLIB"; then
11832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11833 postinstall_cmds='$RANLIB $lib'
11834 fi
11835 ;;
11836
11837 aix[4-9]*)
11838 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11839 test "$enable_shared" = yes && enable_static=no
11840 fi
11841 ;;
11842 esac
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11844 $as_echo "$enable_shared" >&6; }
11845
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11847 $as_echo_n "checking whether to build static libraries... " >&6; }
11848 # Make sure either enable_shared or enable_static is yes.
11849 test "$enable_shared" = yes || enable_static=yes
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11851 $as_echo "$enable_static" >&6; }
11852
11853
11854
11855
11856 fi
11857 ac_ext=c
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11862
11863 CC="$lt_save_CC"
11864
11865 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11866 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11867 (test "X$CXX" != "Xg++"))) ; then
11868 ac_ext=cpp
11869 ac_cpp='$CXXCPP $CPPFLAGS'
11870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11874 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11875 if test -z "$CXXCPP"; then
11876 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 # Double quotes because CXXCPP needs to be expanded
11880 for CXXCPP in "$CXX -E" "/lib/cpp"
11881 do
11882 ac_preproc_ok=false
11883 for ac_cxx_preproc_warn_flag in '' yes
11884 do
11885 # Use a header file that comes with gcc, so configuring glibc
11886 # with a fresh cross-compiler works.
11887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11888 # <limits.h> exists even on freestanding compilers.
11889 # On the NeXT, cc -E runs the code through the compiler's parser,
11890 # not just through cpp. "Syntax error" is here to catch this case.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #ifdef __STDC__
11894 # include <limits.h>
11895 #else
11896 # include <assert.h>
11897 #endif
11898 Syntax error
11899 _ACEOF
11900 if ac_fn_cxx_try_cpp "$LINENO"; then :
11901
11902 else
11903 # Broken: fails on valid input.
11904 continue
11905 fi
11906 rm -f conftest.err conftest.$ac_ext
11907
11908 # OK, works on sane cases. Now check whether nonexistent headers
11909 # can be detected and how.
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11912 #include <ac_nonexistent.h>
11913 _ACEOF
11914 if ac_fn_cxx_try_cpp "$LINENO"; then :
11915 # Broken: success on invalid input.
11916 continue
11917 else
11918 # Passes both tests.
11919 ac_preproc_ok=:
11920 break
11921 fi
11922 rm -f conftest.err conftest.$ac_ext
11923
11924 done
11925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11926 rm -f conftest.err conftest.$ac_ext
11927 if $ac_preproc_ok; then :
11928 break
11929 fi
11930
11931 done
11932 ac_cv_prog_CXXCPP=$CXXCPP
11933
11934 fi
11935 CXXCPP=$ac_cv_prog_CXXCPP
11936 else
11937 ac_cv_prog_CXXCPP=$CXXCPP
11938 fi
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11940 $as_echo "$CXXCPP" >&6; }
11941 ac_preproc_ok=false
11942 for ac_cxx_preproc_warn_flag in '' yes
11943 do
11944 # Use a header file that comes with gcc, so configuring glibc
11945 # with a fresh cross-compiler works.
11946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11947 # <limits.h> exists even on freestanding compilers.
11948 # On the NeXT, cc -E runs the code through the compiler's parser,
11949 # not just through cpp. "Syntax error" is here to catch this case.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #ifdef __STDC__
11953 # include <limits.h>
11954 #else
11955 # include <assert.h>
11956 #endif
11957 Syntax error
11958 _ACEOF
11959 if ac_fn_cxx_try_cpp "$LINENO"; then :
11960
11961 else
11962 # Broken: fails on valid input.
11963 continue
11964 fi
11965 rm -f conftest.err conftest.$ac_ext
11966
11967 # OK, works on sane cases. Now check whether nonexistent headers
11968 # can be detected and how.
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11971 #include <ac_nonexistent.h>
11972 _ACEOF
11973 if ac_fn_cxx_try_cpp "$LINENO"; then :
11974 # Broken: success on invalid input.
11975 continue
11976 else
11977 # Passes both tests.
11978 ac_preproc_ok=:
11979 break
11980 fi
11981 rm -f conftest.err conftest.$ac_ext
11982
11983 done
11984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11985 rm -f conftest.err conftest.$ac_ext
11986 if $ac_preproc_ok; then :
11987
11988 else
11989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11991 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11992 See \`config.log' for more details." "$LINENO" 5; }
11993 fi
11994
11995 ac_ext=c
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12000
12001 else
12002 _lt_caught_CXX_error=yes
12003 fi
12004
12005 ac_ext=cpp
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12010
12011 archive_cmds_need_lc_CXX=no
12012 allow_undefined_flag_CXX=
12013 always_export_symbols_CXX=no
12014 archive_expsym_cmds_CXX=
12015 compiler_needs_object_CXX=no
12016 export_dynamic_flag_spec_CXX=
12017 hardcode_direct_CXX=no
12018 hardcode_direct_absolute_CXX=no
12019 hardcode_libdir_flag_spec_CXX=
12020 hardcode_libdir_flag_spec_ld_CXX=
12021 hardcode_libdir_separator_CXX=
12022 hardcode_minus_L_CXX=no
12023 hardcode_shlibpath_var_CXX=unsupported
12024 hardcode_automatic_CXX=no
12025 inherit_rpath_CXX=no
12026 module_cmds_CXX=
12027 module_expsym_cmds_CXX=
12028 link_all_deplibs_CXX=unknown
12029 old_archive_cmds_CXX=$old_archive_cmds
12030 reload_flag_CXX=$reload_flag
12031 reload_cmds_CXX=$reload_cmds
12032 no_undefined_flag_CXX=
12033 whole_archive_flag_spec_CXX=
12034 enable_shared_with_static_runtimes_CXX=no
12035
12036 # Source file extension for C++ test sources.
12037 ac_ext=cpp
12038
12039 # Object file extension for compiled C++ test sources.
12040 objext=o
12041 objext_CXX=$objext
12042
12043 # No sense in running all these tests if we already determined that
12044 # the CXX compiler isn't working. Some variables (like enable_shared)
12045 # are currently assumed to apply to all compilers on this platform,
12046 # and will be corrupted by setting them based on a non-working compiler.
12047 if test "$_lt_caught_CXX_error" != yes; then
12048 # Code to be used in simple compile tests
12049 lt_simple_compile_test_code="int some_variable = 0;"
12050
12051 # Code to be used in simple link tests
12052 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12053
12054 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12055
12056
12057
12058
12059
12060
12061 # If no C compiler was specified, use CC.
12062 LTCC=${LTCC-"$CC"}
12063
12064 # If no C compiler flags were specified, use CFLAGS.
12065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12066
12067 # Allow CC to be a program name with arguments.
12068 compiler=$CC
12069
12070
12071 # save warnings/boilerplate of simple test code
12072 ac_outfile=conftest.$ac_objext
12073 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12074 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12075 _lt_compiler_boilerplate=`cat conftest.err`
12076 $RM conftest*
12077
12078 ac_outfile=conftest.$ac_objext
12079 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12080 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12081 _lt_linker_boilerplate=`cat conftest.err`
12082 $RM -r conftest*
12083
12084
12085 # Allow CC to be a program name with arguments.
12086 lt_save_CC=$CC
12087 lt_save_LD=$LD
12088 lt_save_GCC=$GCC
12089 GCC=$GXX
12090 lt_save_with_gnu_ld=$with_gnu_ld
12091 lt_save_path_LD=$lt_cv_path_LD
12092 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12093 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12094 else
12095 $as_unset lt_cv_prog_gnu_ld
12096 fi
12097 if test -n "${lt_cv_path_LDCXX+set}"; then
12098 lt_cv_path_LD=$lt_cv_path_LDCXX
12099 else
12100 $as_unset lt_cv_path_LD
12101 fi
12102 test -z "${LDCXX+set}" || LD=$LDCXX
12103 CC=${CXX-"c++"}
12104 compiler=$CC
12105 compiler_CXX=$CC
12106 for cc_temp in $compiler""; do
12107 case $cc_temp in
12108 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12109 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12110 \-*) ;;
12111 *) break;;
12112 esac
12113 done
12114 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12115
12116
12117 if test -n "$compiler"; then
12118 # We don't want -fno-exception when compiling C++ code, so set the
12119 # no_builtin_flag separately
12120 if test "$GXX" = yes; then
12121 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12122 else
12123 lt_prog_compiler_no_builtin_flag_CXX=
12124 fi
12125
12126 if test "$GXX" = yes; then
12127 # Set up default GNU C++ configuration
12128
12129
12130
12131 # Check whether --with-gnu-ld was given.
12132 if test "${with_gnu_ld+set}" = set; then :
12133 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12134 else
12135 with_gnu_ld=no
12136 fi
12137
12138 ac_prog=ld
12139 if test "$GCC" = yes; then
12140 # Check if gcc -print-prog-name=ld gives a path.
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12142 $as_echo_n "checking for ld used by $CC... " >&6; }
12143 case $host in
12144 *-*-mingw*)
12145 # gcc leaves a trailing carriage return which upsets mingw
12146 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12147 *)
12148 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12149 esac
12150 case $ac_prog in
12151 # Accept absolute paths.
12152 [\\/]* | ?:[\\/]*)
12153 re_direlt='/[^/][^/]*/\.\./'
12154 # Canonicalize the pathname of ld
12155 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12156 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12157 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12158 done
12159 test -z "$LD" && LD="$ac_prog"
12160 ;;
12161 "")
12162 # If it fails, then pretend we aren't using GCC.
12163 ac_prog=ld
12164 ;;
12165 *)
12166 # If it is relative, then search for the first ld in PATH.
12167 with_gnu_ld=unknown
12168 ;;
12169 esac
12170 elif test "$with_gnu_ld" = yes; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12172 $as_echo_n "checking for GNU ld... " >&6; }
12173 else
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12175 $as_echo_n "checking for non-GNU ld... " >&6; }
12176 fi
12177 if test "${lt_cv_path_LD+set}" = set; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 if test -z "$LD"; then
12181 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12182 for ac_dir in $PATH; do
12183 IFS="$lt_save_ifs"
12184 test -z "$ac_dir" && ac_dir=.
12185 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12186 lt_cv_path_LD="$ac_dir/$ac_prog"
12187 # Check to see if the program is GNU ld. I'd rather use --version,
12188 # but apparently some variants of GNU ld only accept -v.
12189 # Break only if it was the GNU/non-GNU ld that we prefer.
12190 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12191 *GNU* | *'with BFD'*)
12192 test "$with_gnu_ld" != no && break
12193 ;;
12194 *)
12195 test "$with_gnu_ld" != yes && break
12196 ;;
12197 esac
12198 fi
12199 done
12200 IFS="$lt_save_ifs"
12201 else
12202 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12203 fi
12204 fi
12205
12206 LD="$lt_cv_path_LD"
12207 if test -n "$LD"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12209 $as_echo "$LD" >&6; }
12210 else
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 $as_echo "no" >&6; }
12213 fi
12214 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12217 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12221 case `$LD -v 2>&1 </dev/null` in
12222 *GNU* | *'with BFD'*)
12223 lt_cv_prog_gnu_ld=yes
12224 ;;
12225 *)
12226 lt_cv_prog_gnu_ld=no
12227 ;;
12228 esac
12229 fi
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12232 with_gnu_ld=$lt_cv_prog_gnu_ld
12233
12234
12235
12236
12237
12238
12239
12240 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12241 # archiving commands below assume that GNU ld is being used.
12242 if test "$with_gnu_ld" = yes; then
12243 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12244 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'
12245
12246 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12247 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12248
12249 # If archive_cmds runs LD, not CC, wlarc should be empty
12250 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12251 # investigate it a little bit more. (MM)
12252 wlarc='${wl}'
12253
12254 # ancient GNU ld didn't support --whole-archive et. al.
12255 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12256 $GREP 'no-whole-archive' > /dev/null; then
12257 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12258 else
12259 whole_archive_flag_spec_CXX=
12260 fi
12261 else
12262 with_gnu_ld=no
12263 wlarc=
12264
12265 # A generic and very simple default shared library creation
12266 # command for GNU C++ for the case where it uses the native
12267 # linker, instead of GNU ld. If possible, this setting should
12268 # overridden to take advantage of the native linker features on
12269 # the platform it is being used on.
12270 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12271 fi
12272
12273 # Commands to make compiler produce verbose output that lists
12274 # what "hidden" libraries, object files and flags are used when
12275 # linking a shared library.
12276 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12277
12278 else
12279 GXX=no
12280 with_gnu_ld=no
12281 wlarc=
12282 fi
12283
12284 # PORTME: fill in a description of your system's C++ link characteristics
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12286 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12287 ld_shlibs_CXX=yes
12288 case $host_os in
12289 aix3*)
12290 # FIXME: insert proper C++ library support
12291 ld_shlibs_CXX=no
12292 ;;
12293 aix[4-9]*)
12294 if test "$host_cpu" = ia64; then
12295 # On IA64, the linker does run time linking by default, so we don't
12296 # have to do anything special.
12297 aix_use_runtimelinking=no
12298 exp_sym_flag='-Bexport'
12299 no_entry_flag=""
12300 else
12301 aix_use_runtimelinking=no
12302
12303 # Test if we are trying to use run time linking or normal
12304 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12305 # need to do runtime linking.
12306 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12307 for ld_flag in $LDFLAGS; do
12308 case $ld_flag in
12309 *-brtl*)
12310 aix_use_runtimelinking=yes
12311 break
12312 ;;
12313 esac
12314 done
12315 ;;
12316 esac
12317
12318 exp_sym_flag='-bexport'
12319 no_entry_flag='-bnoentry'
12320 fi
12321
12322 # When large executables or shared objects are built, AIX ld can
12323 # have problems creating the table of contents. If linking a library
12324 # or program results in "error TOC overflow" add -mminimal-toc to
12325 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12326 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12327
12328 archive_cmds_CXX=''
12329 hardcode_direct_CXX=yes
12330 hardcode_direct_absolute_CXX=yes
12331 hardcode_libdir_separator_CXX=':'
12332 link_all_deplibs_CXX=yes
12333 file_list_spec_CXX='${wl}-f,'
12334
12335 if test "$GXX" = yes; then
12336 case $host_os in aix4.[012]|aix4.[012].*)
12337 # We only want to do this on AIX 4.2 and lower, the check
12338 # below for broken collect2 doesn't work under 4.3+
12339 collect2name=`${CC} -print-prog-name=collect2`
12340 if test -f "$collect2name" &&
12341 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12342 then
12343 # We have reworked collect2
12344 :
12345 else
12346 # We have old collect2
12347 hardcode_direct_CXX=unsupported
12348 # It fails to find uninstalled libraries when the uninstalled
12349 # path is not listed in the libpath. Setting hardcode_minus_L
12350 # to unsupported forces relinking
12351 hardcode_minus_L_CXX=yes
12352 hardcode_libdir_flag_spec_CXX='-L$libdir'
12353 hardcode_libdir_separator_CXX=
12354 fi
12355 esac
12356 shared_flag='-shared'
12357 if test "$aix_use_runtimelinking" = yes; then
12358 shared_flag="$shared_flag "'${wl}-G'
12359 fi
12360 else
12361 # not using gcc
12362 if test "$host_cpu" = ia64; then
12363 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12364 # chokes on -Wl,-G. The following line is correct:
12365 shared_flag='-G'
12366 else
12367 if test "$aix_use_runtimelinking" = yes; then
12368 shared_flag='${wl}-G'
12369 else
12370 shared_flag='${wl}-bM:SRE'
12371 fi
12372 fi
12373 fi
12374
12375 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12376 # It seems that -bexpall does not export symbols beginning with
12377 # underscore (_), so it is better to generate a list of symbols to
12378 # export.
12379 always_export_symbols_CXX=yes
12380 if test "$aix_use_runtimelinking" = yes; then
12381 # Warning - without using the other runtime loading flags (-brtl),
12382 # -berok will link without error, but may produce a broken library.
12383 allow_undefined_flag_CXX='-berok'
12384 # Determine the default libpath from the value encoded in an empty
12385 # executable.
12386 if test x$gcc_no_link = xyes; then
12387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12388 fi
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12391
12392 int
12393 main ()
12394 {
12395
12396 ;
12397 return 0;
12398 }
12399 _ACEOF
12400 if ac_fn_cxx_try_link "$LINENO"; then :
12401
12402 lt_aix_libpath_sed='
12403 /Import File Strings/,/^$/ {
12404 /^0/ {
12405 s/^0 *\(.*\)$/\1/
12406 p
12407 }
12408 }'
12409 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 # Check for a 64-bit object if we didn't find anything.
12411 if test -z "$aix_libpath"; then
12412 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12413 fi
12414 fi
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12418
12419 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12420
12421 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"
12422 else
12423 if test "$host_cpu" = ia64; then
12424 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12425 allow_undefined_flag_CXX="-z nodefs"
12426 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"
12427 else
12428 # Determine the default libpath from the value encoded in an
12429 # empty executable.
12430 if test x$gcc_no_link = xyes; then
12431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12432 fi
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12435
12436 int
12437 main ()
12438 {
12439
12440 ;
12441 return 0;
12442 }
12443 _ACEOF
12444 if ac_fn_cxx_try_link "$LINENO"; then :
12445
12446 lt_aix_libpath_sed='
12447 /Import File Strings/,/^$/ {
12448 /^0/ {
12449 s/^0 *\(.*\)$/\1/
12450 p
12451 }
12452 }'
12453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454 # Check for a 64-bit object if we didn't find anything.
12455 if test -z "$aix_libpath"; then
12456 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457 fi
12458 fi
12459 rm -f core conftest.err conftest.$ac_objext \
12460 conftest$ac_exeext conftest.$ac_ext
12461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12462
12463 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12464 # Warning - without using the other run time loading flags,
12465 # -berok will link without error, but may produce a broken library.
12466 no_undefined_flag_CXX=' ${wl}-bernotok'
12467 allow_undefined_flag_CXX=' ${wl}-berok'
12468 if test "$with_gnu_ld" = yes; then
12469 # We only use this code for GNU lds that support --whole-archive.
12470 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12471 else
12472 # Exported symbols can be pulled into shared objects from archives
12473 whole_archive_flag_spec_CXX='$convenience'
12474 fi
12475 archive_cmds_need_lc_CXX=yes
12476 # This is similar to how AIX traditionally builds its shared
12477 # libraries.
12478 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'
12479 fi
12480 fi
12481 ;;
12482
12483 beos*)
12484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12485 allow_undefined_flag_CXX=unsupported
12486 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12487 # support --undefined. This deserves some investigation. FIXME
12488 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12489 else
12490 ld_shlibs_CXX=no
12491 fi
12492 ;;
12493
12494 chorus*)
12495 case $cc_basename in
12496 *)
12497 # FIXME: insert proper C++ library support
12498 ld_shlibs_CXX=no
12499 ;;
12500 esac
12501 ;;
12502
12503 cygwin* | mingw* | pw32* | cegcc*)
12504 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12505 # as there is no search path for DLLs.
12506 hardcode_libdir_flag_spec_CXX='-L$libdir'
12507 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12508 allow_undefined_flag_CXX=unsupported
12509 always_export_symbols_CXX=no
12510 enable_shared_with_static_runtimes_CXX=yes
12511
12512 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12513 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'
12514 # If the export-symbols file already is a .def file (1st line
12515 # is EXPORTS), use it as is; otherwise, prepend...
12516 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12517 cp $export_symbols $output_objdir/$soname.def;
12518 else
12519 echo EXPORTS > $output_objdir/$soname.def;
12520 cat $export_symbols >> $output_objdir/$soname.def;
12521 fi~
12522 $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'
12523 else
12524 ld_shlibs_CXX=no
12525 fi
12526 ;;
12527 darwin* | rhapsody*)
12528
12529
12530 archive_cmds_need_lc_CXX=no
12531 hardcode_direct_CXX=no
12532 hardcode_automatic_CXX=yes
12533 hardcode_shlibpath_var_CXX=unsupported
12534 if test "$lt_cv_ld_force_load" = "yes"; then
12535 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\"`'
12536 else
12537 whole_archive_flag_spec_CXX=''
12538 fi
12539 link_all_deplibs_CXX=yes
12540 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12541 case $cc_basename in
12542 ifort*) _lt_dar_can_shared=yes ;;
12543 *) _lt_dar_can_shared=$GCC ;;
12544 esac
12545 if test "$_lt_dar_can_shared" = "yes"; then
12546 output_verbose_link_cmd=func_echo_all
12547 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}"
12548 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12549 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}"
12550 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}"
12551 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12552 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}"
12553 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}"
12554 fi
12555
12556 else
12557 ld_shlibs_CXX=no
12558 fi
12559
12560 ;;
12561
12562 dgux*)
12563 case $cc_basename in
12564 ec++*)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12567 ;;
12568 ghcx*)
12569 # Green Hills C++ Compiler
12570 # FIXME: insert proper C++ library support
12571 ld_shlibs_CXX=no
12572 ;;
12573 *)
12574 # FIXME: insert proper C++ library support
12575 ld_shlibs_CXX=no
12576 ;;
12577 esac
12578 ;;
12579
12580 freebsd2.*)
12581 # C++ shared libraries reported to be fairly broken before
12582 # switch to ELF
12583 ld_shlibs_CXX=no
12584 ;;
12585
12586 freebsd-elf*)
12587 archive_cmds_need_lc_CXX=no
12588 ;;
12589
12590 freebsd* | dragonfly*)
12591 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12592 # conventions
12593 ld_shlibs_CXX=yes
12594 ;;
12595
12596 gnu*)
12597 ;;
12598
12599 haiku*)
12600 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12601 link_all_deplibs_CXX=yes
12602 ;;
12603
12604 hpux9*)
12605 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12606 hardcode_libdir_separator_CXX=:
12607 export_dynamic_flag_spec_CXX='${wl}-E'
12608 hardcode_direct_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12612
12613 case $cc_basename in
12614 CC*)
12615 # FIXME: insert proper C++ library support
12616 ld_shlibs_CXX=no
12617 ;;
12618 aCC*)
12619 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'
12620 # Commands to make compiler produce verbose output that lists
12621 # what "hidden" libraries, object files and flags are used when
12622 # linking a shared library.
12623 #
12624 # There doesn't appear to be a way to prevent this compiler from
12625 # explicitly linking system object files so we need to strip them
12626 # from the output so that they don't get included in the library
12627 # dependencies.
12628 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"'
12629 ;;
12630 *)
12631 if test "$GXX" = yes; then
12632 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'
12633 else
12634 # FIXME: insert proper C++ library support
12635 ld_shlibs_CXX=no
12636 fi
12637 ;;
12638 esac
12639 ;;
12640
12641 hpux10*|hpux11*)
12642 if test $with_gnu_ld = no; then
12643 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12644 hardcode_libdir_separator_CXX=:
12645
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12648 ;;
12649 *)
12650 export_dynamic_flag_spec_CXX='${wl}-E'
12651 ;;
12652 esac
12653 fi
12654 case $host_cpu in
12655 hppa*64*|ia64*)
12656 hardcode_direct_CXX=no
12657 hardcode_shlibpath_var_CXX=no
12658 ;;
12659 *)
12660 hardcode_direct_CXX=yes
12661 hardcode_direct_absolute_CXX=yes
12662 hardcode_minus_L_CXX=yes # Not in the search PATH,
12663 # but as the default
12664 # location of the library.
12665 ;;
12666 esac
12667
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12672 ;;
12673 aCC*)
12674 case $host_cpu in
12675 hppa*64*)
12676 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12677 ;;
12678 ia64*)
12679 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 ;;
12681 *)
12682 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12683 ;;
12684 esac
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12688 #
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12692 # dependencies.
12693 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"'
12694 ;;
12695 *)
12696 if test "$GXX" = yes; then
12697 if test $with_gnu_ld = no; then
12698 case $host_cpu in
12699 hppa*64*)
12700 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12701 ;;
12702 ia64*)
12703 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12704 ;;
12705 *)
12706 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'
12707 ;;
12708 esac
12709 fi
12710 else
12711 # FIXME: insert proper C++ library support
12712 ld_shlibs_CXX=no
12713 fi
12714 ;;
12715 esac
12716 ;;
12717
12718 interix[3-9]*)
12719 hardcode_direct_CXX=no
12720 hardcode_shlibpath_var_CXX=no
12721 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12722 export_dynamic_flag_spec_CXX='${wl}-E'
12723 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12724 # Instead, shared libraries are loaded at an image base (0x10000000 by
12725 # default) and relocated if they conflict, which is a slow very memory
12726 # consuming and fragmenting process. To avoid this, we pick a random,
12727 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12728 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12729 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'
12730 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'
12731 ;;
12732 irix5* | irix6*)
12733 case $cc_basename in
12734 CC*)
12735 # SGI C++
12736 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'
12737
12738 # Archives containing C++ object files must be created using
12739 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12740 # necessary to make sure instantiated templates are included
12741 # in the archive.
12742 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12743 ;;
12744 *)
12745 if test "$GXX" = yes; then
12746 if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12748 else
12749 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'
12750 fi
12751 fi
12752 link_all_deplibs_CXX=yes
12753 ;;
12754 esac
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12756 hardcode_libdir_separator_CXX=:
12757 inherit_rpath_CXX=yes
12758 ;;
12759
12760 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12761 case $cc_basename in
12762 KCC*)
12763 # Kuck and Associates, Inc. (KAI) C++ Compiler
12764
12765 # KCC will only create a shared library if the output file
12766 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12767 # to its proper name (with version) after linking.
12768 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'
12769 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'
12770 # Commands to make compiler produce verbose output that lists
12771 # what "hidden" libraries, object files and flags are used when
12772 # linking a shared library.
12773 #
12774 # There doesn't appear to be a way to prevent this compiler from
12775 # explicitly linking system object files so we need to strip them
12776 # from the output so that they don't get included in the library
12777 # dependencies.
12778 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"'
12779
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12782
12783 # Archives containing C++ object files must be created using
12784 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12785 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12786 ;;
12787 icpc* | ecpc* )
12788 # Intel C++
12789 with_gnu_ld=yes
12790 # version 8.0 and above of icpc choke on multiply defined symbols
12791 # if we add $predep_objects and $postdep_objects, however 7.1 and
12792 # earlier do not add the objects themselves.
12793 case `$CC -V 2>&1` in
12794 *"Version 7."*)
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12797 ;;
12798 *) # Version 8.0 or newer
12799 tmp_idyn=
12800 case $host_cpu in
12801 ia64*) tmp_idyn=' -i_dynamic';;
12802 esac
12803 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12804 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'
12805 ;;
12806 esac
12807 archive_cmds_need_lc_CXX=no
12808 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12810 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12811 ;;
12812 pgCC* | pgcpp*)
12813 # Portland Group C++ compiler
12814 case `$CC -V` in
12815 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12816 prelink_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12819 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12820 old_archive_cmds_CXX='tpldir=Template.dir~
12821 rm -rf $tpldir~
12822 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12823 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12824 $RANLIB $oldlib'
12825 archive_cmds_CXX='tpldir=Template.dir~
12826 rm -rf $tpldir~
12827 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12828 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12829 archive_expsym_cmds_CXX='tpldir=Template.dir~
12830 rm -rf $tpldir~
12831 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12832 $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'
12833 ;;
12834 *) # Version 6 and above use weak symbols
12835 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12836 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'
12837 ;;
12838 esac
12839
12840 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12841 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12842 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'
12843 ;;
12844 cxx*)
12845 # Compaq C++
12846 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 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'
12848
12849 runpath_var=LD_RUN_PATH
12850 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12851 hardcode_libdir_separator_CXX=:
12852
12853 # Commands to make compiler produce verbose output that lists
12854 # what "hidden" libraries, object files and flags are used when
12855 # linking a shared library.
12856 #
12857 # There doesn't appear to be a way to prevent this compiler from
12858 # explicitly linking system object files so we need to strip them
12859 # from the output so that they don't get included in the library
12860 # dependencies.
12861 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'
12862 ;;
12863 xl* | mpixl* | bgxl*)
12864 # IBM XL 8.0 on PPC, with GNU ld
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868 if test "x$supports_anon_versioning" = xyes; then
12869 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12870 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12871 echo "local: *; };" >> $output_objdir/$libname.ver~
12872 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12873 fi
12874 ;;
12875 *)
12876 case `$CC -V 2>&1 | sed 5q` in
12877 *Sun\ C*)
12878 # Sun C++ 5.9
12879 no_undefined_flag_CXX=' -zdefs'
12880 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12881 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'
12882 hardcode_libdir_flag_spec_CXX='-R$libdir'
12883 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'
12884 compiler_needs_object_CXX=yes
12885
12886 # Not sure whether something based on
12887 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12888 # would be better.
12889 output_verbose_link_cmd='func_echo_all'
12890
12891 # Archives containing C++ object files must be created using
12892 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12893 # necessary to make sure instantiated templates are included
12894 # in the archive.
12895 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12896 ;;
12897 esac
12898 ;;
12899 esac
12900 ;;
12901
12902 lynxos*)
12903 # FIXME: insert proper C++ library support
12904 ld_shlibs_CXX=no
12905 ;;
12906
12907 m88k*)
12908 # FIXME: insert proper C++ library support
12909 ld_shlibs_CXX=no
12910 ;;
12911
12912 mvs*)
12913 case $cc_basename in
12914 cxx*)
12915 # FIXME: insert proper C++ library support
12916 ld_shlibs_CXX=no
12917 ;;
12918 *)
12919 # FIXME: insert proper C++ library support
12920 ld_shlibs_CXX=no
12921 ;;
12922 esac
12923 ;;
12924
12925 netbsd*)
12926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12927 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12928 wlarc=
12929 hardcode_libdir_flag_spec_CXX='-R$libdir'
12930 hardcode_direct_CXX=yes
12931 hardcode_shlibpath_var_CXX=no
12932 fi
12933 # Workaround some broken pre-1.5 toolchains
12934 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12935 ;;
12936
12937 *nto* | *qnx*)
12938 ld_shlibs_CXX=yes
12939 ;;
12940
12941 openbsd2*)
12942 # C++ shared libraries are fairly broken
12943 ld_shlibs_CXX=no
12944 ;;
12945
12946 openbsd*)
12947 if test -f /usr/libexec/ld.so; then
12948 hardcode_direct_CXX=yes
12949 hardcode_shlibpath_var_CXX=no
12950 hardcode_direct_absolute_CXX=yes
12951 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12953 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12954 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12955 export_dynamic_flag_spec_CXX='${wl}-E'
12956 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12957 fi
12958 output_verbose_link_cmd=func_echo_all
12959 else
12960 ld_shlibs_CXX=no
12961 fi
12962 ;;
12963
12964 osf3* | osf4* | osf5*)
12965 case $cc_basename in
12966 KCC*)
12967 # Kuck and Associates, Inc. (KAI) C++ Compiler
12968
12969 # KCC will only create a shared library if the output file
12970 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12971 # to its proper name (with version) after linking.
12972 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'
12973
12974 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12975 hardcode_libdir_separator_CXX=:
12976
12977 # Archives containing C++ object files must be created using
12978 # the KAI C++ compiler.
12979 case $host in
12980 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12981 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12982 esac
12983 ;;
12984 RCC*)
12985 # Rational C++ 2.4.1
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12988 ;;
12989 cxx*)
12990 case $host in
12991 osf3*)
12992 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12993 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'
12994 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12995 ;;
12996 *)
12997 allow_undefined_flag_CXX=' -expect_unresolved \*'
12998 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'
12999 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13000 echo "-hidden">> $lib.exp~
13001 $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~
13002 $RM $lib.exp'
13003 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13004 ;;
13005 esac
13006
13007 hardcode_libdir_separator_CXX=:
13008
13009 # Commands to make compiler produce verbose output that lists
13010 # what "hidden" libraries, object files and flags are used when
13011 # linking a shared library.
13012 #
13013 # There doesn't appear to be a way to prevent this compiler from
13014 # explicitly linking system object files so we need to strip them
13015 # from the output so that they don't get included in the library
13016 # dependencies.
13017 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"'
13018 ;;
13019 *)
13020 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13021 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13022 case $host in
13023 osf3*)
13024 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'
13025 ;;
13026 *)
13027 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'
13028 ;;
13029 esac
13030
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13032 hardcode_libdir_separator_CXX=:
13033
13034 # Commands to make compiler produce verbose output that lists
13035 # what "hidden" libraries, object files and flags are used when
13036 # linking a shared library.
13037 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13038
13039 else
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13042 fi
13043 ;;
13044 esac
13045 ;;
13046
13047 psos*)
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13050 ;;
13051
13052 sunos4*)
13053 case $cc_basename in
13054 CC*)
13055 # Sun C++ 4.x
13056 # FIXME: insert proper C++ library support
13057 ld_shlibs_CXX=no
13058 ;;
13059 lcc*)
13060 # Lucid
13061 # FIXME: insert proper C++ library support
13062 ld_shlibs_CXX=no
13063 ;;
13064 *)
13065 # FIXME: insert proper C++ library support
13066 ld_shlibs_CXX=no
13067 ;;
13068 esac
13069 ;;
13070
13071 solaris*)
13072 case $cc_basename in
13073 CC*)
13074 # Sun C++ 4.2, 5.x and Centerline C++
13075 archive_cmds_need_lc_CXX=yes
13076 no_undefined_flag_CXX=' -zdefs'
13077 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13078 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13079 $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'
13080
13081 hardcode_libdir_flag_spec_CXX='-R$libdir'
13082 hardcode_shlibpath_var_CXX=no
13083 case $host_os in
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13085 *)
13086 # The compiler driver will combine and reorder linker options,
13087 # but understands `-z linker_flag'.
13088 # Supported since Solaris 2.6 (maybe 2.5.1?)
13089 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13090 ;;
13091 esac
13092 link_all_deplibs_CXX=yes
13093
13094 output_verbose_link_cmd='func_echo_all'
13095
13096 # Archives containing C++ object files must be created using
13097 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13098 # necessary to make sure instantiated templates are included
13099 # in the archive.
13100 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13101 ;;
13102 gcx*)
13103 # Green Hills C++ Compiler
13104 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13105
13106 # The C++ compiler must be used to create the archive.
13107 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13108 ;;
13109 *)
13110 # GNU C++ compiler with Solaris linker
13111 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13112 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13113 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13114 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13115 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13116 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13117
13118 # Commands to make compiler produce verbose output that lists
13119 # what "hidden" libraries, object files and flags are used when
13120 # linking a shared library.
13121 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 else
13123 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13124 # platform.
13125 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13126 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13128
13129 # Commands to make compiler produce verbose output that lists
13130 # what "hidden" libraries, object files and flags are used when
13131 # linking a shared library.
13132 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13133 fi
13134
13135 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13136 case $host_os in
13137 solaris2.[0-5] | solaris2.[0-5].*) ;;
13138 *)
13139 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13140 ;;
13141 esac
13142 fi
13143 ;;
13144 esac
13145 ;;
13146
13147 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13148 no_undefined_flag_CXX='${wl}-z,text'
13149 archive_cmds_need_lc_CXX=no
13150 hardcode_shlibpath_var_CXX=no
13151 runpath_var='LD_RUN_PATH'
13152
13153 case $cc_basename in
13154 CC*)
13155 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13156 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13157 ;;
13158 *)
13159 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13161 ;;
13162 esac
13163 ;;
13164
13165 sysv5* | sco3.2v5* | sco5v6*)
13166 # Note: We can NOT use -z defs as we might desire, because we do not
13167 # link with -lc, and that would cause any symbols used from libc to
13168 # always be unresolved, which means just about no library would
13169 # ever link correctly. If we're not using GNU ld we use -z text
13170 # though, which does catch some bad symbols but isn't as heavy-handed
13171 # as -z defs.
13172 no_undefined_flag_CXX='${wl}-z,text'
13173 allow_undefined_flag_CXX='${wl}-z,nodefs'
13174 archive_cmds_need_lc_CXX=no
13175 hardcode_shlibpath_var_CXX=no
13176 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13177 hardcode_libdir_separator_CXX=':'
13178 link_all_deplibs_CXX=yes
13179 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13180 runpath_var='LD_RUN_PATH'
13181
13182 case $cc_basename in
13183 CC*)
13184 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13187 '"$old_archive_cmds_CXX"
13188 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13189 '"$reload_cmds_CXX"
13190 ;;
13191 *)
13192 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13194 ;;
13195 esac
13196 ;;
13197
13198 tandem*)
13199 case $cc_basename in
13200 NCC*)
13201 # NonStop-UX NCC 3.20
13202 # FIXME: insert proper C++ library support
13203 ld_shlibs_CXX=no
13204 ;;
13205 *)
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13208 ;;
13209 esac
13210 ;;
13211
13212 vxworks*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13215 ;;
13216
13217 *)
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13220 ;;
13221 esac
13222
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13224 $as_echo "$ld_shlibs_CXX" >&6; }
13225 test "$ld_shlibs_CXX" = no && can_build_shared=no
13226
13227 GCC_CXX="$GXX"
13228 LD_CXX="$LD"
13229
13230 ## CAVEAT EMPTOR:
13231 ## There is no encapsulation within the following macros, do not change
13232 ## the running order or otherwise move them around unless you know exactly
13233 ## what you are doing...
13234 # Dependencies to place before and after the object being linked:
13235 predep_objects_CXX=
13236 postdep_objects_CXX=
13237 predeps_CXX=
13238 postdeps_CXX=
13239 compiler_lib_search_path_CXX=
13240
13241 cat > conftest.$ac_ext <<_LT_EOF
13242 class Foo
13243 {
13244 public:
13245 Foo (void) { a = 0; }
13246 private:
13247 int a;
13248 };
13249 _LT_EOF
13250
13251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13252 (eval $ac_compile) 2>&5
13253 ac_status=$?
13254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13255 test $ac_status = 0; }; then
13256 # Parse the compiler output and extract the necessary
13257 # objects, libraries and library flags.
13258
13259 # Sentinel used to keep track of whether or not we are before
13260 # the conftest object file.
13261 pre_test_object_deps_done=no
13262
13263 for p in `eval "$output_verbose_link_cmd"`; do
13264 case $p in
13265
13266 -L* | -R* | -l*)
13267 # Some compilers place space between "-{L,R}" and the path.
13268 # Remove the space.
13269 if test $p = "-L" ||
13270 test $p = "-R"; then
13271 prev=$p
13272 continue
13273 else
13274 prev=
13275 fi
13276
13277 if test "$pre_test_object_deps_done" = no; then
13278 case $p in
13279 -L* | -R*)
13280 # Internal compiler library paths should come after those
13281 # provided the user. The postdeps already come after the
13282 # user supplied libs so there is no need to process them.
13283 if test -z "$compiler_lib_search_path_CXX"; then
13284 compiler_lib_search_path_CXX="${prev}${p}"
13285 else
13286 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13287 fi
13288 ;;
13289 # The "-l" case would never come before the object being
13290 # linked, so don't bother handling this case.
13291 esac
13292 else
13293 if test -z "$postdeps_CXX"; then
13294 postdeps_CXX="${prev}${p}"
13295 else
13296 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13297 fi
13298 fi
13299 ;;
13300
13301 *.$objext)
13302 # This assumes that the test object file only shows up
13303 # once in the compiler output.
13304 if test "$p" = "conftest.$objext"; then
13305 pre_test_object_deps_done=yes
13306 continue
13307 fi
13308
13309 if test "$pre_test_object_deps_done" = no; then
13310 if test -z "$predep_objects_CXX"; then
13311 predep_objects_CXX="$p"
13312 else
13313 predep_objects_CXX="$predep_objects_CXX $p"
13314 fi
13315 else
13316 if test -z "$postdep_objects_CXX"; then
13317 postdep_objects_CXX="$p"
13318 else
13319 postdep_objects_CXX="$postdep_objects_CXX $p"
13320 fi
13321 fi
13322 ;;
13323
13324 *) ;; # Ignore the rest.
13325
13326 esac
13327 done
13328
13329 # Clean up.
13330 rm -f a.out a.exe
13331 else
13332 echo "libtool.m4: error: problem compiling CXX test program"
13333 fi
13334
13335 $RM -f confest.$objext
13336
13337 # PORTME: override above test on systems where it is broken
13338 case $host_os in
13339 interix[3-9]*)
13340 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13341 # hack all around it, let's just trust "g++" to DTRT.
13342 predep_objects_CXX=
13343 postdep_objects_CXX=
13344 postdeps_CXX=
13345 ;;
13346
13347 linux*)
13348 case `$CC -V 2>&1 | sed 5q` in
13349 *Sun\ C*)
13350 # Sun C++ 5.9
13351
13352 # The more standards-conforming stlport4 library is
13353 # incompatible with the Cstd library. Avoid specifying
13354 # it if it's in CXXFLAGS. Ignore libCrun as
13355 # -library=stlport4 depends on it.
13356 case " $CXX $CXXFLAGS " in
13357 *" -library=stlport4 "*)
13358 solaris_use_stlport4=yes
13359 ;;
13360 esac
13361
13362 if test "$solaris_use_stlport4" != yes; then
13363 postdeps_CXX='-library=Cstd -library=Crun'
13364 fi
13365 ;;
13366 esac
13367 ;;
13368
13369 solaris*)
13370 case $cc_basename in
13371 CC*)
13372 # The more standards-conforming stlport4 library is
13373 # incompatible with the Cstd library. Avoid specifying
13374 # it if it's in CXXFLAGS. Ignore libCrun as
13375 # -library=stlport4 depends on it.
13376 case " $CXX $CXXFLAGS " in
13377 *" -library=stlport4 "*)
13378 solaris_use_stlport4=yes
13379 ;;
13380 esac
13381
13382 # Adding this requires a known-good setup of shared libraries for
13383 # Sun compiler versions before 5.6, else PIC objects from an old
13384 # archive will be linked into the output, leading to subtle bugs.
13385 if test "$solaris_use_stlport4" != yes; then
13386 postdeps_CXX='-library=Cstd -library=Crun'
13387 fi
13388 ;;
13389 esac
13390 ;;
13391 esac
13392
13393
13394 case " $postdeps_CXX " in
13395 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13396 esac
13397 compiler_lib_search_dirs_CXX=
13398 if test -n "${compiler_lib_search_path_CXX}"; then
13399 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13400 fi
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
13431
13432 lt_prog_compiler_wl_CXX=
13433 lt_prog_compiler_pic_CXX=
13434 lt_prog_compiler_static_CXX=
13435
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13437 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13438
13439 # C++ specific cases for pic, static, wl, etc.
13440 if test "$GXX" = yes; then
13441 lt_prog_compiler_wl_CXX='-Wl,'
13442 lt_prog_compiler_static_CXX='-static'
13443
13444 case $host_os in
13445 aix*)
13446 # All AIX code is PIC.
13447 if test "$host_cpu" = ia64; then
13448 # AIX 5 now supports IA64 processor
13449 lt_prog_compiler_static_CXX='-Bstatic'
13450 fi
13451 lt_prog_compiler_pic_CXX='-fPIC'
13452 ;;
13453
13454 amigaos*)
13455 case $host_cpu in
13456 powerpc)
13457 # see comment about AmigaOS4 .so support
13458 lt_prog_compiler_pic_CXX='-fPIC'
13459 ;;
13460 m68k)
13461 # FIXME: we need at least 68020 code to build shared libraries, but
13462 # adding the `-m68020' flag to GCC prevents building anything better,
13463 # like `-m68040'.
13464 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13465 ;;
13466 esac
13467 ;;
13468
13469 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13470 # PIC is the default for these OSes.
13471 ;;
13472 mingw* | cygwin* | os2* | pw32* | cegcc*)
13473 # This hack is so that the source file can tell whether it is being
13474 # built for inclusion in a dll (and should export symbols for example).
13475 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13476 # (--disable-auto-import) libraries
13477 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13478 ;;
13479 darwin* | rhapsody*)
13480 # PIC is the default on this platform
13481 # Common symbols not allowed in MH_DYLIB files
13482 lt_prog_compiler_pic_CXX='-fno-common'
13483 ;;
13484 *djgpp*)
13485 # DJGPP does not support shared libraries at all
13486 lt_prog_compiler_pic_CXX=
13487 ;;
13488 haiku*)
13489 # PIC is the default for Haiku.
13490 # The "-static" flag exists, but is broken.
13491 lt_prog_compiler_static_CXX=
13492 ;;
13493 interix[3-9]*)
13494 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13495 # Instead, we relocate shared libraries at runtime.
13496 ;;
13497 sysv4*MP*)
13498 if test -d /usr/nec; then
13499 lt_prog_compiler_pic_CXX=-Kconform_pic
13500 fi
13501 ;;
13502 hpux*)
13503 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13504 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13505 # sets the default TLS model and affects inlining.
13506 case $host_cpu in
13507 hppa*64*)
13508 ;;
13509 *)
13510 lt_prog_compiler_pic_CXX='-fPIC'
13511 ;;
13512 esac
13513 ;;
13514 *qnx* | *nto*)
13515 # QNX uses GNU C++, but need to define -shared option too, otherwise
13516 # it will coredump.
13517 lt_prog_compiler_pic_CXX='-fPIC -shared'
13518 ;;
13519 *)
13520 lt_prog_compiler_pic_CXX='-fPIC'
13521 ;;
13522 esac
13523 else
13524 case $host_os in
13525 aix[4-9]*)
13526 # All AIX code is PIC.
13527 if test "$host_cpu" = ia64; then
13528 # AIX 5 now supports IA64 processor
13529 lt_prog_compiler_static_CXX='-Bstatic'
13530 else
13531 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13532 fi
13533 ;;
13534 chorus*)
13535 case $cc_basename in
13536 cxch68*)
13537 # Green Hills C++ Compiler
13538 # _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"
13539 ;;
13540 esac
13541 ;;
13542 dgux*)
13543 case $cc_basename in
13544 ec++*)
13545 lt_prog_compiler_pic_CXX='-KPIC'
13546 ;;
13547 ghcx*)
13548 # Green Hills C++ Compiler
13549 lt_prog_compiler_pic_CXX='-pic'
13550 ;;
13551 *)
13552 ;;
13553 esac
13554 ;;
13555 freebsd* | dragonfly*)
13556 # FreeBSD uses GNU C++
13557 ;;
13558 hpux9* | hpux10* | hpux11*)
13559 case $cc_basename in
13560 CC*)
13561 lt_prog_compiler_wl_CXX='-Wl,'
13562 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13563 if test "$host_cpu" != ia64; then
13564 lt_prog_compiler_pic_CXX='+Z'
13565 fi
13566 ;;
13567 aCC*)
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13570 case $host_cpu in
13571 hppa*64*|ia64*)
13572 # +Z the default
13573 ;;
13574 *)
13575 lt_prog_compiler_pic_CXX='+Z'
13576 ;;
13577 esac
13578 ;;
13579 *)
13580 ;;
13581 esac
13582 ;;
13583 interix*)
13584 # This is c89, which is MS Visual C++ (no shared libs)
13585 # Anyone wants to do a port?
13586 ;;
13587 irix5* | irix6* | nonstopux*)
13588 case $cc_basename in
13589 CC*)
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_static_CXX='-non_shared'
13592 # CC pic flag -KPIC is the default.
13593 ;;
13594 *)
13595 ;;
13596 esac
13597 ;;
13598 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13599 case $cc_basename in
13600 KCC*)
13601 # KAI C++ Compiler
13602 lt_prog_compiler_wl_CXX='--backend -Wl,'
13603 lt_prog_compiler_pic_CXX='-fPIC'
13604 ;;
13605 ecpc* )
13606 # old Intel C++ for x86_64 which still supported -KPIC.
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-KPIC'
13609 lt_prog_compiler_static_CXX='-static'
13610 ;;
13611 icpc* )
13612 # Intel C++, used to be incompatible with GCC.
13613 # ICC 10 doesn't accept -KPIC any more.
13614 lt_prog_compiler_wl_CXX='-Wl,'
13615 lt_prog_compiler_pic_CXX='-fPIC'
13616 lt_prog_compiler_static_CXX='-static'
13617 ;;
13618 pgCC* | pgcpp*)
13619 # Portland Group C++ compiler
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-fpic'
13622 lt_prog_compiler_static_CXX='-Bstatic'
13623 ;;
13624 cxx*)
13625 # Compaq C++
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13630 ;;
13631 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13632 # IBM XL 8.0, 9.0 on PPC and BlueGene
13633 lt_prog_compiler_wl_CXX='-Wl,'
13634 lt_prog_compiler_pic_CXX='-qpic'
13635 lt_prog_compiler_static_CXX='-qstaticlink'
13636 ;;
13637 *)
13638 case `$CC -V 2>&1 | sed 5q` in
13639 *Sun\ C*)
13640 # Sun C++ 5.9
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13644 ;;
13645 esac
13646 ;;
13647 esac
13648 ;;
13649 lynxos*)
13650 ;;
13651 m88k*)
13652 ;;
13653 mvs*)
13654 case $cc_basename in
13655 cxx*)
13656 lt_prog_compiler_pic_CXX='-W c,exportall'
13657 ;;
13658 *)
13659 ;;
13660 esac
13661 ;;
13662 netbsd*)
13663 ;;
13664 *qnx* | *nto*)
13665 # QNX uses GNU C++, but need to define -shared option too, otherwise
13666 # it will coredump.
13667 lt_prog_compiler_pic_CXX='-fPIC -shared'
13668 ;;
13669 osf3* | osf4* | osf5*)
13670 case $cc_basename in
13671 KCC*)
13672 lt_prog_compiler_wl_CXX='--backend -Wl,'
13673 ;;
13674 RCC*)
13675 # Rational C++ 2.4.1
13676 lt_prog_compiler_pic_CXX='-pic'
13677 ;;
13678 cxx*)
13679 # Digital/Compaq C++
13680 lt_prog_compiler_wl_CXX='-Wl,'
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13685 ;;
13686 *)
13687 ;;
13688 esac
13689 ;;
13690 psos*)
13691 ;;
13692 solaris*)
13693 case $cc_basename in
13694 CC*)
13695 # Sun C++ 4.2, 5.x and Centerline C++
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 ;;
13700 gcx*)
13701 # Green Hills C++ Compiler
13702 lt_prog_compiler_pic_CXX='-PIC'
13703 ;;
13704 *)
13705 ;;
13706 esac
13707 ;;
13708 sunos4*)
13709 case $cc_basename in
13710 CC*)
13711 # Sun C++ 4.x
13712 lt_prog_compiler_pic_CXX='-pic'
13713 lt_prog_compiler_static_CXX='-Bstatic'
13714 ;;
13715 lcc*)
13716 # Lucid
13717 lt_prog_compiler_pic_CXX='-pic'
13718 ;;
13719 *)
13720 ;;
13721 esac
13722 ;;
13723 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13724 case $cc_basename in
13725 CC*)
13726 lt_prog_compiler_wl_CXX='-Wl,'
13727 lt_prog_compiler_pic_CXX='-KPIC'
13728 lt_prog_compiler_static_CXX='-Bstatic'
13729 ;;
13730 esac
13731 ;;
13732 tandem*)
13733 case $cc_basename in
13734 NCC*)
13735 # NonStop-UX NCC 3.20
13736 lt_prog_compiler_pic_CXX='-KPIC'
13737 ;;
13738 *)
13739 ;;
13740 esac
13741 ;;
13742 vxworks*)
13743 ;;
13744 *)
13745 lt_prog_compiler_can_build_shared_CXX=no
13746 ;;
13747 esac
13748 fi
13749
13750 case $host_os in
13751 # For platforms which do not support PIC, -DPIC is meaningless:
13752 *djgpp*)
13753 lt_prog_compiler_pic_CXX=
13754 ;;
13755 *)
13756 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13757 ;;
13758 esac
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13760 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13761
13762
13763
13764 #
13765 # Check to make sure the PIC flag actually works.
13766 #
13767 if test -n "$lt_prog_compiler_pic_CXX"; then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13769 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13770 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 lt_cv_prog_compiler_pic_works_CXX=no
13774 ac_outfile=conftest.$ac_objext
13775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13776 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13777 # Insert the option either (1) after the last *FLAGS variable, or
13778 # (2) before a word containing "conftest.", or (3) at the end.
13779 # Note that $ac_compile itself does not contain backslashes and begins
13780 # with a dollar sign (not a hyphen), so the echo should work correctly.
13781 # The option is referenced via a variable to avoid confusing sed.
13782 lt_compile=`echo "$ac_compile" | $SED \
13783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785 -e 's:$: $lt_compiler_flag:'`
13786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13787 (eval "$lt_compile" 2>conftest.err)
13788 ac_status=$?
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 if (exit $ac_status) && test -s "$ac_outfile"; then
13792 # The compiler can only warn and ignore the option if not recognized
13793 # So say no if there are warnings other than the usual output.
13794 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13796 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13797 lt_cv_prog_compiler_pic_works_CXX=yes
13798 fi
13799 fi
13800 $RM conftest*
13801
13802 fi
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13804 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13805
13806 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13807 case $lt_prog_compiler_pic_CXX in
13808 "" | " "*) ;;
13809 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13810 esac
13811 else
13812 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_can_build_shared_CXX=no
13814 fi
13815
13816 fi
13817
13818
13819
13820 #
13821 # Check to make sure the static flag actually works.
13822 #
13823 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13825 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13826 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 lt_cv_prog_compiler_static_works_CXX=no
13830 save_LDFLAGS="$LDFLAGS"
13831 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13832 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13833 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13834 # The linker can only warn and ignore the option if not recognized
13835 # So say no if there are warnings
13836 if test -s conftest.err; then
13837 # Append any errors to the config.log.
13838 cat conftest.err 1>&5
13839 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13840 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13841 if diff conftest.exp conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_static_works_CXX=yes
13843 fi
13844 else
13845 lt_cv_prog_compiler_static_works_CXX=yes
13846 fi
13847 fi
13848 $RM -r conftest*
13849 LDFLAGS="$save_LDFLAGS"
13850
13851 fi
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13853 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13854
13855 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13856 :
13857 else
13858 lt_prog_compiler_static_CXX=
13859 fi
13860
13861
13862
13863
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13875
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13898 fi
13899 fi
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13909
13910 fi
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13913
13914
13915
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13918 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 lt_cv_prog_compiler_c_o_CXX=no
13922 $RM -r conftest 2>/dev/null
13923 mkdir conftest
13924 cd conftest
13925 mkdir out
13926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13927
13928 lt_compiler_flag="-o out/conftest2.$ac_objext"
13929 # Insert the option either (1) after the last *FLAGS variable, or
13930 # (2) before a word containing "conftest.", or (3) at the end.
13931 # Note that $ac_compile itself does not contain backslashes and begins
13932 # with a dollar sign (not a hyphen), so the echo should work correctly.
13933 lt_compile=`echo "$ac_compile" | $SED \
13934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13936 -e 's:$: $lt_compiler_flag:'`
13937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13938 (eval "$lt_compile" 2>out/conftest.err)
13939 ac_status=$?
13940 cat out/conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13943 then
13944 # The compiler can only warn and ignore the option if not recognized
13945 # So say no if there are warnings
13946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13949 lt_cv_prog_compiler_c_o_CXX=yes
13950 fi
13951 fi
13952 chmod u+w . 2>&5
13953 $RM conftest*
13954 # SGI C++ compiler will create directory out/ii_files/ for
13955 # template instantiation
13956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13957 $RM out/* && rmdir out
13958 cd ..
13959 $RM -r conftest
13960 $RM conftest*
13961
13962 fi
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13964 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13965
13966
13967
13968
13969 hard_links="nottested"
13970 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13971 # do not overwrite the value of need_locks provided by the user
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13973 $as_echo_n "checking if we can lock with hard links... " >&6; }
13974 hard_links=yes
13975 $RM conftest*
13976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13977 touch conftest.a
13978 ln conftest.a conftest.b 2>&5 || hard_links=no
13979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13981 $as_echo "$hard_links" >&6; }
13982 if test "$hard_links" = no; then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13985 need_locks=warn
13986 fi
13987 else
13988 need_locks=no
13989 fi
13990
13991
13992
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13994 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13995
13996 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13997 case $host_os in
13998 aix[4-9]*)
13999 # If we're using GNU nm, then we don't want the "-C" option.
14000 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14001 # Also, AIX nm treats weak defined symbols like other global defined
14002 # symbols, whereas GNU nm marks them as "W".
14003 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14004 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'
14005 else
14006 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'
14007 fi
14008 ;;
14009 pw32*)
14010 export_symbols_cmds_CXX="$ltdll_cmds"
14011 ;;
14012 cygwin* | mingw* | cegcc*)
14013 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'
14014 ;;
14015 *)
14016 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14017 ;;
14018 esac
14019 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14020
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14022 $as_echo "$ld_shlibs_CXX" >&6; }
14023 test "$ld_shlibs_CXX" = no && can_build_shared=no
14024
14025 with_gnu_ld_CXX=$with_gnu_ld
14026
14027
14028
14029
14030
14031
14032 #
14033 # Do we need to explicitly link libc?
14034 #
14035 case "x$archive_cmds_need_lc_CXX" in
14036 x|xyes)
14037 # Assume -lc should be added
14038 archive_cmds_need_lc_CXX=yes
14039
14040 if test "$enable_shared" = yes && test "$GCC" = yes; then
14041 case $archive_cmds_CXX in
14042 *'~'*)
14043 # FIXME: we may have to deal with multi-command sequences.
14044 ;;
14045 '$CC '*)
14046 # Test whether the compiler implicitly links with -lc since on some
14047 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14048 # to ld, don't add -lc before -lgcc.
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14050 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14051 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 $RM conftest*
14055 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14056
14057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14058 (eval $ac_compile) 2>&5
14059 ac_status=$?
14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061 test $ac_status = 0; } 2>conftest.err; then
14062 soname=conftest
14063 lib=conftest
14064 libobjs=conftest.$ac_objext
14065 deplibs=
14066 wl=$lt_prog_compiler_wl_CXX
14067 pic_flag=$lt_prog_compiler_pic_CXX
14068 compiler_flags=-v
14069 linker_flags=-v
14070 verstring=
14071 output_objdir=.
14072 libname=conftest
14073 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14074 allow_undefined_flag_CXX=
14075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14076 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14077 ac_status=$?
14078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14079 test $ac_status = 0; }
14080 then
14081 lt_cv_archive_cmds_need_lc_CXX=no
14082 else
14083 lt_cv_archive_cmds_need_lc_CXX=yes
14084 fi
14085 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14086 else
14087 cat conftest.err 1>&5
14088 fi
14089 $RM conftest*
14090
14091 fi
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14093 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14094 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14095 ;;
14096 esac
14097 fi
14098 ;;
14099 esac
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
14163
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14165 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14166
14167 library_names_spec=
14168 libname_spec='lib$name'
14169 soname_spec=
14170 shrext_cmds=".so"
14171 postinstall_cmds=
14172 postuninstall_cmds=
14173 finish_cmds=
14174 finish_eval=
14175 shlibpath_var=
14176 shlibpath_overrides_runpath=unknown
14177 version_type=none
14178 dynamic_linker="$host_os ld.so"
14179 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14180 need_lib_prefix=unknown
14181 hardcode_into_libs=no
14182
14183 # when you set need_version to no, make sure it does not cause -set_version
14184 # flags to be left without arguments
14185 need_version=unknown
14186
14187 case $host_os in
14188 aix3*)
14189 version_type=linux
14190 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14191 shlibpath_var=LIBPATH
14192
14193 # AIX 3 has no versioning support, so we append a major version to the name.
14194 soname_spec='${libname}${release}${shared_ext}$major'
14195 ;;
14196
14197 aix[4-9]*)
14198 version_type=linux
14199 need_lib_prefix=no
14200 need_version=no
14201 hardcode_into_libs=yes
14202 if test "$host_cpu" = ia64; then
14203 # AIX 5 supports IA64
14204 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14205 shlibpath_var=LD_LIBRARY_PATH
14206 else
14207 # With GCC up to 2.95.x, collect2 would create an import file
14208 # for dependence libraries. The import file would start with
14209 # the line `#! .'. This would cause the generated library to
14210 # depend on `.', always an invalid library. This was fixed in
14211 # development snapshots of GCC prior to 3.0.
14212 case $host_os in
14213 aix4 | aix4.[01] | aix4.[01].*)
14214 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14215 echo ' yes '
14216 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14217 :
14218 else
14219 can_build_shared=no
14220 fi
14221 ;;
14222 esac
14223 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14224 # soname into executable. Probably we can add versioning support to
14225 # collect2, so additional links can be useful in future.
14226 if test "$aix_use_runtimelinking" = yes; then
14227 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14228 # instead of lib<name>.a to let people know that these are not
14229 # typical AIX shared libraries.
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231 else
14232 # We preserve .a as extension for shared libraries through AIX4.2
14233 # and later when we are not doing run time linking.
14234 library_names_spec='${libname}${release}.a $libname.a'
14235 soname_spec='${libname}${release}${shared_ext}$major'
14236 fi
14237 shlibpath_var=LIBPATH
14238 fi
14239 ;;
14240
14241 amigaos*)
14242 case $host_cpu in
14243 powerpc)
14244 # Since July 2007 AmigaOS4 officially supports .so libraries.
14245 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 ;;
14248 m68k)
14249 library_names_spec='$libname.ixlibrary $libname.a'
14250 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14251 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'
14252 ;;
14253 esac
14254 ;;
14255
14256 beos*)
14257 library_names_spec='${libname}${shared_ext}'
14258 dynamic_linker="$host_os ld.so"
14259 shlibpath_var=LIBRARY_PATH
14260 ;;
14261
14262 bsdi[45]*)
14263 version_type=linux
14264 need_version=no
14265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266 soname_spec='${libname}${release}${shared_ext}$major'
14267 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14268 shlibpath_var=LD_LIBRARY_PATH
14269 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14270 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14271 # the default ld.so.conf also contains /usr/contrib/lib and
14272 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14273 # libtool to hard-code these into programs
14274 ;;
14275
14276 cygwin* | mingw* | pw32* | cegcc*)
14277 version_type=windows
14278 shrext_cmds=".dll"
14279 need_version=no
14280 need_lib_prefix=no
14281
14282 case $GCC,$host_os in
14283 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14284 library_names_spec='$libname.dll.a'
14285 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14286 postinstall_cmds='base_file=`basename \${file}`~
14287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14288 dldir=$destdir/`dirname \$dlpath`~
14289 test -d \$dldir || mkdir -p \$dldir~
14290 $install_prog $dir/$dlname \$dldir/$dlname~
14291 chmod a+x \$dldir/$dlname~
14292 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14293 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14294 fi'
14295 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14296 dlpath=$dir/\$dldll~
14297 $RM \$dlpath'
14298 shlibpath_overrides_runpath=yes
14299
14300 case $host_os in
14301 cygwin*)
14302 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14303 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14304
14305 ;;
14306 mingw* | cegcc*)
14307 # MinGW DLLs use traditional 'lib' prefix
14308 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14309 ;;
14310 pw32*)
14311 # pw32 DLLs use 'pw' prefix rather than 'lib'
14312 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14313 ;;
14314 esac
14315 ;;
14316
14317 *)
14318 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14319 ;;
14320 esac
14321 dynamic_linker='Win32 ld.exe'
14322 # FIXME: first we should search . and the directory the executable is in
14323 shlibpath_var=PATH
14324 ;;
14325
14326 darwin* | rhapsody*)
14327 dynamic_linker="$host_os dyld"
14328 version_type=darwin
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14332 soname_spec='${libname}${release}${major}$shared_ext'
14333 shlibpath_overrides_runpath=yes
14334 shlibpath_var=DYLD_LIBRARY_PATH
14335 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14336
14337 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14338 ;;
14339
14340 dgux*)
14341 version_type=linux
14342 need_lib_prefix=no
14343 need_version=no
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14347 ;;
14348
14349 freebsd* | dragonfly*)
14350 # DragonFly does not have aout. When/if they implement a new
14351 # versioning mechanism, adjust this.
14352 if test -x /usr/bin/objformat; then
14353 objformat=`/usr/bin/objformat`
14354 else
14355 case $host_os in
14356 freebsd[23].*) objformat=aout ;;
14357 *) objformat=elf ;;
14358 esac
14359 fi
14360 version_type=freebsd-$objformat
14361 case $version_type in
14362 freebsd-elf*)
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14364 need_version=no
14365 need_lib_prefix=no
14366 ;;
14367 freebsd-*)
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14369 need_version=yes
14370 ;;
14371 esac
14372 shlibpath_var=LD_LIBRARY_PATH
14373 case $host_os in
14374 freebsd2.*)
14375 shlibpath_overrides_runpath=yes
14376 ;;
14377 freebsd3.[01]* | freebsdelf3.[01]*)
14378 shlibpath_overrides_runpath=yes
14379 hardcode_into_libs=yes
14380 ;;
14381 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14382 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14383 shlibpath_overrides_runpath=no
14384 hardcode_into_libs=yes
14385 ;;
14386 *) # from 4.6 on, and DragonFly
14387 shlibpath_overrides_runpath=yes
14388 hardcode_into_libs=yes
14389 ;;
14390 esac
14391 ;;
14392
14393 gnu*)
14394 version_type=linux
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14398 soname_spec='${libname}${release}${shared_ext}$major'
14399 shlibpath_var=LD_LIBRARY_PATH
14400 hardcode_into_libs=yes
14401 ;;
14402
14403 haiku*)
14404 version_type=linux
14405 need_lib_prefix=no
14406 need_version=no
14407 dynamic_linker="$host_os runtime_loader"
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 shlibpath_var=LIBRARY_PATH
14411 shlibpath_overrides_runpath=yes
14412 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14413 hardcode_into_libs=yes
14414 ;;
14415
14416 hpux9* | hpux10* | hpux11*)
14417 # Give a soname corresponding to the major version so that dld.sl refuses to
14418 # link against other versions.
14419 version_type=sunos
14420 need_lib_prefix=no
14421 need_version=no
14422 case $host_cpu in
14423 ia64*)
14424 shrext_cmds='.so'
14425 hardcode_into_libs=yes
14426 dynamic_linker="$host_os dld.so"
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 if test "X$HPUX_IA64_MODE" = X32; then
14432 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14433 else
14434 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14435 fi
14436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 ;;
14438 hppa*64*)
14439 shrext_cmds='.sl'
14440 hardcode_into_libs=yes
14441 dynamic_linker="$host_os dld.sl"
14442 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14443 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14447 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14448 ;;
14449 *)
14450 shrext_cmds='.sl'
14451 dynamic_linker="$host_os dld.sl"
14452 shlibpath_var=SHLIB_PATH
14453 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 ;;
14457 esac
14458 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14459 postinstall_cmds='chmod 555 $lib'
14460 # or fails outright, so override atomically:
14461 install_override_mode=555
14462 ;;
14463
14464 interix[3-9]*)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14473 hardcode_into_libs=yes
14474 ;;
14475
14476 irix5* | irix6* | nonstopux*)
14477 case $host_os in
14478 nonstopux*) version_type=nonstopux ;;
14479 *)
14480 if test "$lt_cv_prog_gnu_ld" = yes; then
14481 version_type=linux
14482 else
14483 version_type=irix
14484 fi ;;
14485 esac
14486 need_lib_prefix=no
14487 need_version=no
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14490 case $host_os in
14491 irix5* | nonstopux*)
14492 libsuff= shlibsuff=
14493 ;;
14494 *)
14495 case $LD in # libtool.m4 will add one of these switches to LD
14496 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14497 libsuff= shlibsuff= libmagic=32-bit;;
14498 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14499 libsuff=32 shlibsuff=N32 libmagic=N32;;
14500 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14501 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14502 *) libsuff= shlibsuff= libmagic=never-match;;
14503 esac
14504 ;;
14505 esac
14506 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14507 shlibpath_overrides_runpath=no
14508 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14509 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14510 hardcode_into_libs=yes
14511 ;;
14512
14513 # No shared lib support for Linux oldld, aout, or coff.
14514 linux*oldld* | linux*aout* | linux*coff*)
14515 dynamic_linker=no
14516 ;;
14517
14518 # This must be Linux ELF.
14519 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528
14529 # Some binutils ld are patched to set DT_RUNPATH
14530 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 lt_cv_shlibpath_overrides_runpath=no
14534 save_LDFLAGS=$LDFLAGS
14535 save_libdir=$libdir
14536 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14537 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14538 if test x$gcc_no_link = xyes; then
14539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14540 fi
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543
14544 int
14545 main ()
14546 {
14547
14548 ;
14549 return 0;
14550 }
14551 _ACEOF
14552 if ac_fn_cxx_try_link "$LINENO"; then :
14553 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14554 lt_cv_shlibpath_overrides_runpath=yes
14555 fi
14556 fi
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LDFLAGS=$save_LDFLAGS
14560 libdir=$save_libdir
14561
14562 fi
14563
14564 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14565
14566 # This implies no fast_install, which is unacceptable.
14567 # Some rework will be needed to allow for fast_install
14568 # before this can be enabled.
14569 hardcode_into_libs=yes
14570
14571 # Append ld.so.conf contents to the search path
14572 if test -f /etc/ld.so.conf; then
14573 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' ' '`
14574 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14575 fi
14576
14577 # We used to test for /lib/ld.so.1 and disable shared libraries on
14578 # powerpc, because MkLinux only supported shared libraries with the
14579 # GNU dynamic linker. Since this was broken with cross compilers,
14580 # most powerpc-linux boxes support dynamic linking these days and
14581 # people can always --disable-shared, the test was removed, and we
14582 # assume the GNU/Linux dynamic linker is in use.
14583 dynamic_linker='GNU/Linux ld.so'
14584 ;;
14585
14586 netbsd*)
14587 version_type=sunos
14588 need_lib_prefix=no
14589 need_version=no
14590 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14593 dynamic_linker='NetBSD (a.out) ld.so'
14594 else
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 dynamic_linker='NetBSD ld.elf_so'
14598 fi
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14601 hardcode_into_libs=yes
14602 ;;
14603
14604 newsos6)
14605 version_type=linux
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 shlibpath_var=LD_LIBRARY_PATH
14608 shlibpath_overrides_runpath=yes
14609 ;;
14610
14611 *nto* | *qnx*)
14612 version_type=qnx
14613 need_lib_prefix=no
14614 need_version=no
14615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616 soname_spec='${libname}${release}${shared_ext}$major'
14617 shlibpath_var=LD_LIBRARY_PATH
14618 shlibpath_overrides_runpath=no
14619 hardcode_into_libs=yes
14620 dynamic_linker='ldqnx.so'
14621 ;;
14622
14623 openbsd*)
14624 version_type=sunos
14625 sys_lib_dlsearch_path_spec="/usr/lib"
14626 need_lib_prefix=no
14627 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14628 case $host_os in
14629 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14630 *) need_version=no ;;
14631 esac
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634 shlibpath_var=LD_LIBRARY_PATH
14635 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14636 case $host_os in
14637 openbsd2.[89] | openbsd2.[89].*)
14638 shlibpath_overrides_runpath=no
14639 ;;
14640 *)
14641 shlibpath_overrides_runpath=yes
14642 ;;
14643 esac
14644 else
14645 shlibpath_overrides_runpath=yes
14646 fi
14647 ;;
14648
14649 os2*)
14650 libname_spec='$name'
14651 shrext_cmds=".dll"
14652 need_lib_prefix=no
14653 library_names_spec='$libname${shared_ext} $libname.a'
14654 dynamic_linker='OS/2 ld.exe'
14655 shlibpath_var=LIBPATH
14656 ;;
14657
14658 osf3* | osf4* | osf5*)
14659 version_type=osf
14660 need_lib_prefix=no
14661 need_version=no
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14666 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14667 ;;
14668
14669 rdos*)
14670 dynamic_linker=no
14671 ;;
14672
14673 solaris*)
14674 version_type=linux
14675 need_lib_prefix=no
14676 need_version=no
14677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec='${libname}${release}${shared_ext}$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath=yes
14681 hardcode_into_libs=yes
14682 # ldd complains unless libraries are executable
14683 postinstall_cmds='chmod +x $lib'
14684 ;;
14685
14686 sunos4*)
14687 version_type=sunos
14688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14689 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath=yes
14692 if test "$with_gnu_ld" = yes; then
14693 need_lib_prefix=no
14694 fi
14695 need_version=yes
14696 ;;
14697
14698 sysv4 | sysv4.3*)
14699 version_type=linux
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701 soname_spec='${libname}${release}${shared_ext}$major'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 case $host_vendor in
14704 sni)
14705 shlibpath_overrides_runpath=no
14706 need_lib_prefix=no
14707 runpath_var=LD_RUN_PATH
14708 ;;
14709 siemens)
14710 need_lib_prefix=no
14711 ;;
14712 motorola)
14713 need_lib_prefix=no
14714 need_version=no
14715 shlibpath_overrides_runpath=no
14716 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14717 ;;
14718 esac
14719 ;;
14720
14721 sysv4*MP*)
14722 if test -d /usr/nec ;then
14723 version_type=linux
14724 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14725 soname_spec='$libname${shared_ext}.$major'
14726 shlibpath_var=LD_LIBRARY_PATH
14727 fi
14728 ;;
14729
14730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14731 version_type=freebsd-elf
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 if test "$with_gnu_ld" = yes; then
14740 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14741 else
14742 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14743 case $host_os in
14744 sco3.2v5*)
14745 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14746 ;;
14747 esac
14748 fi
14749 sys_lib_dlsearch_path_spec='/usr/lib'
14750 ;;
14751
14752 tpf*)
14753 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14754 version_type=linux
14755 need_lib_prefix=no
14756 need_version=no
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=no
14760 hardcode_into_libs=yes
14761 ;;
14762
14763 uts4*)
14764 version_type=linux
14765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766 soname_spec='${libname}${release}${shared_ext}$major'
14767 shlibpath_var=LD_LIBRARY_PATH
14768 ;;
14769
14770 *)
14771 dynamic_linker=no
14772 ;;
14773 esac
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14775 $as_echo "$dynamic_linker" >&6; }
14776 test "$dynamic_linker" = no && can_build_shared=no
14777
14778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14779 if test "$GCC" = yes; then
14780 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14781 fi
14782
14783 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14784 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14785 fi
14786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14787 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14788 fi
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
14826
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14828 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14829 hardcode_action_CXX=
14830 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14831 test -n "$runpath_var_CXX" ||
14832 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14833
14834 # We can hardcode non-existent directories.
14835 if test "$hardcode_direct_CXX" != no &&
14836 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14837 # have to relink, otherwise we might link with an installed library
14838 # when we should be linking with a yet-to-be-installed one
14839 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14840 test "$hardcode_minus_L_CXX" != no; then
14841 # Linking always hardcodes the temporary library directory.
14842 hardcode_action_CXX=relink
14843 else
14844 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14845 hardcode_action_CXX=immediate
14846 fi
14847 else
14848 # We cannot hardcode anything, or else we can only hardcode existing
14849 # directories.
14850 hardcode_action_CXX=unsupported
14851 fi
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14853 $as_echo "$hardcode_action_CXX" >&6; }
14854
14855 if test "$hardcode_action_CXX" = relink ||
14856 test "$inherit_rpath_CXX" = yes; then
14857 # Fast installation is not supported
14858 enable_fast_install=no
14859 elif test "$shlibpath_overrides_runpath" = yes ||
14860 test "$enable_shared" = no; then
14861 # Fast installation is not necessary
14862 enable_fast_install=needless
14863 fi
14864
14865
14866
14867
14868
14869
14870
14871 fi # test -n "$compiler"
14872
14873 CC=$lt_save_CC
14874 LDCXX=$LD
14875 LD=$lt_save_LD
14876 GCC=$lt_save_GCC
14877 with_gnu_ld=$lt_save_with_gnu_ld
14878 lt_cv_path_LDCXX=$lt_cv_path_LD
14879 lt_cv_path_LD=$lt_save_path_LD
14880 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14881 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14882 fi # test "$_lt_caught_CXX_error" != yes
14883
14884 ac_ext=c
14885 ac_cpp='$CPP $CPPFLAGS'
14886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902 ac_config_commands="$ac_config_commands libtool"
14903
14904
14905
14906
14907 # Only expand once:
14908
14909
14910
14911
14912
14913 case $host in
14914 *-cygwin* | *-mingw*)
14915 # 'host' will be top-level target in the case of a target lib,
14916 # we must compare to with_cross_host to decide if this is a native
14917 # or cross-compiler and select where to install dlls appropriately.
14918 if test -n "$with_cross_host" &&
14919 test x"$with_cross_host" != x"no"; then
14920 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14921 else
14922 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14923 fi
14924 ;;
14925 *)
14926 lt_host_flags=
14927 ;;
14928 esac
14929
14930
14931
14932
14933
14934
14935 if test "$enable_vtable_verify" = yes; then
14936 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14937 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14938 fi
14939
14940
14941 # libtool variables for C++ shared and position-independent compiles.
14942 #
14943 # Use glibcxx_lt_pic_flag to designate the automake variable
14944 # used to encapsulate the default libtool approach to creating objects
14945 # with position-independent code. Default: -prefer-pic.
14946 #
14947 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14948 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14949 #
14950 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14951 # creating position-independent objects. This varies with the target
14952 # hardware and operating system, but is often: -DPIC -fPIC.
14953 if test "$enable_shared" = yes; then
14954 glibcxx_lt_pic_flag="-prefer-pic"
14955 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14956 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14957
14958 else
14959 glibcxx_lt_pic_flag=
14960 glibcxx_compiler_pic_flag=
14961 glibcxx_compiler_shared_flag=
14962 fi
14963
14964
14965
14966
14967 # Override the libtool's pic_flag and pic_mode.
14968 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14969 # NB: this impacts --with-pic and --without-pic.
14970 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14971 pic_mode='default'
14972
14973 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14974 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14975
14976 # Possibly disable most of the library.
14977 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14978 ## than just ignoring the results. Faster /and/ more correct, win win.
14979
14980 # Check whether --enable-hosted-libstdcxx was given.
14981 if test "${enable_hosted_libstdcxx+set}" = set; then :
14982 enableval=$enable_hosted_libstdcxx;
14983 else
14984 case "$host" in
14985 arm*-*-symbianelf*)
14986 enable_hosted_libstdcxx=no
14987 ;;
14988 *)
14989 enable_hosted_libstdcxx=yes
14990 ;;
14991 esac
14992 fi
14993
14994 if test "$enable_hosted_libstdcxx" = no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14996 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14997 is_hosted=no
14998 hosted_define=0
14999 enable_abi_check=no
15000 enable_libstdcxx_pch=no
15001 else
15002 is_hosted=yes
15003 hosted_define=1
15004 fi
15005
15006
15007 cat >>confdefs.h <<_ACEOF
15008 #define _GLIBCXX_HOSTED $hosted_define
15009 _ACEOF
15010
15011
15012
15013 # Enable descriptive messages to standard output on termination.
15014
15015 # Check whether --enable-libstdcxx-verbose was given.
15016 if test "${enable_libstdcxx_verbose+set}" = set; then :
15017 enableval=$enable_libstdcxx_verbose;
15018 else
15019 enable_libstdcxx_verbose=yes
15020 fi
15021
15022 if test x"$enable_libstdcxx_verbose" = xyes; then
15023 verbose_define=1
15024 else
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15026 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15027 verbose_define=0
15028 fi
15029
15030 cat >>confdefs.h <<_ACEOF
15031 #define _GLIBCXX_VERBOSE $verbose_define
15032 _ACEOF
15033
15034
15035
15036 # Enable compiler support that doesn't require linking.
15037
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15039 $as_echo_n "checking for exception model to use... " >&6; }
15040
15041 ac_ext=cpp
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15046
15047 # Check whether --enable-sjlj-exceptions was given.
15048 if test "${enable_sjlj_exceptions+set}" = set; then :
15049 enableval=$enable_sjlj_exceptions;
15050 case "$enableval" in
15051 yes|no|auto) ;;
15052 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15053 esac
15054
15055 else
15056 enable_sjlj_exceptions=auto
15057 fi
15058
15059
15060
15061 if test $enable_sjlj_exceptions = auto; then
15062 # Botheration. Now we've got to detect the exception model. Link tests
15063 # against libgcc.a are problematic since we've not been given proper -L
15064 # bits for single-tree newlib and libgloss.
15065 #
15066 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15067 cat > conftest.$ac_ext << EOF
15068 #line 15068 "configure"
15069 struct S { ~S(); };
15070 void bar();
15071 void foo()
15072 {
15073 S s;
15074 bar();
15075 }
15076 EOF
15077 old_CXXFLAGS="$CXXFLAGS"
15078 CXXFLAGS=-S
15079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15080 (eval $ac_compile) 2>&5
15081 ac_status=$?
15082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15083 test $ac_status = 0; }; then
15084 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15085 enable_sjlj_exceptions=yes
15086 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15087 enable_sjlj_exceptions=yes
15088 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15089 enable_sjlj_exceptions=no
15090 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15091 enable_sjlj_exceptions=no
15092 fi
15093 fi
15094 CXXFLAGS="$old_CXXFLAGS"
15095 rm -f conftest*
15096 fi
15097
15098 # This is a tad weird, for hysterical raisins. We have to map
15099 # enable/disable to two different models.
15100 case $enable_sjlj_exceptions in
15101 yes)
15102
15103 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15104
15105 ac_exception_model_name=sjlj
15106 ;;
15107 no)
15108 ac_exception_model_name="call frame"
15109 ;;
15110 *)
15111 as_fn_error "unable to detect exception model" "$LINENO" 5
15112 ;;
15113 esac
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15119
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15121 $as_echo "$ac_exception_model_name" >&6; }
15122
15123
15124 # Check whether --enable-libstdcxx-pch was given.
15125 if test "${enable_libstdcxx_pch+set}" = set; then :
15126 enableval=$enable_libstdcxx_pch;
15127 case "$enableval" in
15128 yes|no) ;;
15129 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15130 esac
15131
15132 else
15133 enable_libstdcxx_pch=$is_hosted
15134 fi
15135
15136
15137 if test $enable_libstdcxx_pch = yes; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15139 $as_echo_n "checking for compiler with PCH support... " >&6; }
15140 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 ac_save_CXXFLAGS="$CXXFLAGS"
15144 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15145
15146 ac_ext=cpp
15147 ac_cpp='$CXXCPP $CPPFLAGS'
15148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15151
15152 echo '#include <math.h>' > conftest.h
15153 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15154 -o conftest.h.gch 1>&5 2>&1 &&
15155 echo '#error "pch failed"' > conftest.h &&
15156 echo '#include "conftest.h"' > conftest.cc &&
15157 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15158 then
15159 glibcxx_cv_prog_CXX_pch=yes
15160 else
15161 glibcxx_cv_prog_CXX_pch=no
15162 fi
15163 rm -f conftest*
15164 CXXFLAGS=$ac_save_CXXFLAGS
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170
15171
15172 fi
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15174 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15175 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15176 fi
15177
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15179 $as_echo_n "checking for enabled PCH... " >&6; }
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15181 $as_echo "$enable_libstdcxx_pch" >&6; }
15182
15183
15184 if test $enable_libstdcxx_pch = yes; then
15185 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15186 else
15187 glibcxx_PCHFLAGS=""
15188 fi
15189
15190
15191
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15193 $as_echo_n "checking for thread model used by GCC... " >&6; }
15194 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15196 $as_echo "$target_thread_file" >&6; }
15197
15198 case $target_thread_file in
15199 aix) thread_header=config/rs6000/gthr-aix.h ;;
15200 dce) thread_header=config/pa/gthr-dce.h ;;
15201 lynx) thread_header=config/gthr-lynx.h ;;
15202 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15203 posix) thread_header=gthr-posix.h ;;
15204 rtems) thread_header=config/gthr-rtems.h ;;
15205 single) thread_header=gthr-single.h ;;
15206 tpf) thread_header=config/s390/gthr-tpf.h ;;
15207 vxworks) thread_header=config/gthr-vxworks.h ;;
15208 win32) thread_header=config/i386/gthr-win32.h ;;
15209 esac
15210
15211
15212
15213
15214
15215 ac_ext=cpp
15216 ac_cpp='$CXXCPP $CPPFLAGS'
15217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15220
15221 old_CXXFLAGS="$CXXFLAGS"
15222
15223 # Do link tests if possible, instead asm tests, limited to some platforms
15224 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15225 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15226 atomic_builtins_link_tests=no
15227 if test x$gcc_no_link != xyes; then
15228 # Can do link tests. Limit to some tested platforms
15229 case "$host" in
15230 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15231 atomic_builtins_link_tests=yes
15232 ;;
15233 esac
15234 fi
15235
15236 if test x$atomic_builtins_link_tests = xyes; then
15237
15238 # Do link tests.
15239
15240 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15241
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15243 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15244 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15247
15248 if test x$gcc_no_link = xyes; then
15249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15250 fi
15251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252 /* end confdefs.h. */
15253
15254 int
15255 main ()
15256 {
15257 typedef bool atomic_type;
15258 atomic_type c1;
15259 atomic_type c2;
15260 atomic_type c3(0);
15261 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15262 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15263 __ATOMIC_RELAXED);
15264 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15265 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15266
15267 ;
15268 return 0;
15269 }
15270 _ACEOF
15271 if ac_fn_cxx_try_link "$LINENO"; then :
15272 glibcxx_cv_atomic_bool=yes
15273 else
15274 glibcxx_cv_atomic_bool=no
15275 fi
15276 rm -f core conftest.err conftest.$ac_objext \
15277 conftest$ac_exeext conftest.$ac_ext
15278
15279 fi
15280
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15282 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15283
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15285 $as_echo_n "checking for atomic builtins for short... " >&6; }
15286 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289
15290 if test x$gcc_no_link = xyes; then
15291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15292 fi
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15295
15296 int
15297 main ()
15298 {
15299 typedef short atomic_type;
15300 atomic_type c1;
15301 atomic_type c2;
15302 atomic_type c3(0);
15303 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15304 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15305 __ATOMIC_RELAXED);
15306 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15307 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15308
15309 ;
15310 return 0;
15311 }
15312 _ACEOF
15313 if ac_fn_cxx_try_link "$LINENO"; then :
15314 glibcxx_cv_atomic_short=yes
15315 else
15316 glibcxx_cv_atomic_short=no
15317 fi
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15320
15321 fi
15322
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15324 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15325
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15327 $as_echo_n "checking for atomic builtins for int... " >&6; }
15328 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331
15332 if test x$gcc_no_link = xyes; then
15333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15334 fi
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337
15338 int
15339 main ()
15340 {
15341 typedef int atomic_type;
15342 atomic_type c1;
15343 atomic_type c2;
15344 atomic_type c3(0);
15345 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15346 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15347 __ATOMIC_RELAXED);
15348 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15349 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 if ac_fn_cxx_try_link "$LINENO"; then :
15356 glibcxx_cv_atomic_int=yes
15357 else
15358 glibcxx_cv_atomic_int=no
15359 fi
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15362
15363 fi
15364
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15366 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15367
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15369 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15370 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373
15374 if test x$gcc_no_link = xyes; then
15375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15376 fi
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379
15380 int
15381 main ()
15382 {
15383 typedef long long atomic_type;
15384 atomic_type c1;
15385 atomic_type c2;
15386 atomic_type c3(0);
15387 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15388 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15389 __ATOMIC_RELAXED);
15390 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15391 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15392
15393 ;
15394 return 0;
15395 }
15396 _ACEOF
15397 if ac_fn_cxx_try_link "$LINENO"; then :
15398 glibcxx_cv_atomic_long_long=yes
15399 else
15400 glibcxx_cv_atomic_long_long=no
15401 fi
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15404
15405 fi
15406
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15408 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15409
15410 else
15411
15412 # Do asm tests.
15413
15414 # Compile unoptimized.
15415 CXXFLAGS='-O0 -S'
15416
15417 # Fake what AC_TRY_COMPILE does.
15418
15419 cat > conftest.$ac_ext << EOF
15420 #line 15420 "configure"
15421 int main()
15422 {
15423 typedef bool atomic_type;
15424 atomic_type c1;
15425 atomic_type c2;
15426 atomic_type c3(0);
15427 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15428 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15429 __ATOMIC_RELAXED);
15430 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15431 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15432
15433 return 0;
15434 }
15435 EOF
15436
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15438 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15440 (eval $ac_compile) 2>&5
15441 ac_status=$?
15442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443 test $ac_status = 0; }; then
15444 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15445 glibcxx_cv_atomic_bool=no
15446 else
15447 glibcxx_cv_atomic_bool=yes
15448 fi
15449 fi
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15451 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15452 rm -f conftest*
15453
15454 cat > conftest.$ac_ext << EOF
15455 #line 15455 "configure"
15456 int main()
15457 {
15458 typedef short atomic_type;
15459 atomic_type c1;
15460 atomic_type c2;
15461 atomic_type c3(0);
15462 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15463 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15464 __ATOMIC_RELAXED);
15465 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15466 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15467
15468 return 0;
15469 }
15470 EOF
15471
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15473 $as_echo_n "checking for atomic builtins for short... " >&6; }
15474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15475 (eval $ac_compile) 2>&5
15476 ac_status=$?
15477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478 test $ac_status = 0; }; then
15479 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15480 glibcxx_cv_atomic_short=no
15481 else
15482 glibcxx_cv_atomic_short=yes
15483 fi
15484 fi
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15486 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15487 rm -f conftest*
15488
15489 cat > conftest.$ac_ext << EOF
15490 #line 15490 "configure"
15491 int main()
15492 {
15493 // NB: _Atomic_word not necessarily int.
15494 typedef int atomic_type;
15495 atomic_type c1;
15496 atomic_type c2;
15497 atomic_type c3(0);
15498 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15499 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15500 __ATOMIC_RELAXED);
15501 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15502 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15503
15504 return 0;
15505 }
15506 EOF
15507
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15509 $as_echo_n "checking for atomic builtins for int... " >&6; }
15510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15511 (eval $ac_compile) 2>&5
15512 ac_status=$?
15513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15514 test $ac_status = 0; }; then
15515 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15516 glibcxx_cv_atomic_int=no
15517 else
15518 glibcxx_cv_atomic_int=yes
15519 fi
15520 fi
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15522 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15523 rm -f conftest*
15524
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 int main()
15528 {
15529 typedef long long atomic_type;
15530 atomic_type c1;
15531 atomic_type c2;
15532 atomic_type c3(0);
15533 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15534 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15535 __ATOMIC_RELAXED);
15536 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15537 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15538
15539 return 0;
15540 }
15541 EOF
15542
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15544 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15546 (eval $ac_compile) 2>&5
15547 ac_status=$?
15548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549 test $ac_status = 0; }; then
15550 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15551 glibcxx_cv_atomic_long_long=no
15552 else
15553 glibcxx_cv_atomic_long_long=yes
15554 fi
15555 fi
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15557 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15558 rm -f conftest*
15559
15560 fi
15561
15562 CXXFLAGS="$old_CXXFLAGS"
15563 ac_ext=c
15564 ac_cpp='$CPP $CPPFLAGS'
15565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15568
15569
15570 # Set atomicity_dir to builtins if all but the long long test above passes.
15571 if test $glibcxx_cv_atomic_bool = yes \
15572 && test $glibcxx_cv_atomic_short = yes \
15573 && test $glibcxx_cv_atomic_int = yes; then
15574
15575 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15576
15577 atomicity_dir=cpu/generic/atomicity_builtins
15578 fi
15579
15580 # If still generic, set to mutex.
15581 if test $atomicity_dir = "cpu/generic" ; then
15582 atomicity_dir=cpu/generic/atomicity_mutex
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15584 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15585 if test "x$target_thread_file" = xsingle; then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15587 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15589 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15590 else
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15592 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15594 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15595 fi
15596 fi
15597
15598
15599
15600
15601 # Fake what AC_TRY_COMPILE does, without linking as this is
15602 # unnecessary for this test.
15603
15604 cat > conftest.$ac_ext << EOF
15605 #line 15605 "configure"
15606 int main()
15607 {
15608 _Decimal32 d1;
15609 _Decimal64 d2;
15610 _Decimal128 d3;
15611 return 0;
15612 }
15613 EOF
15614
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15616 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15618 (eval $ac_compile) 2>&5
15619 ac_status=$?
15620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15621 test $ac_status = 0; }; then
15622
15623 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15624
15625 enable_dfp=yes
15626 else
15627 enable_dfp=no
15628 fi
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15630 $as_echo "$enable_dfp" >&6; }
15631 rm -f conftest*
15632
15633
15634
15635
15636 ac_ext=cpp
15637 ac_cpp='$CXXCPP $CPPFLAGS'
15638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15641
15642
15643 # Fake what AC_TRY_COMPILE does, without linking as this is
15644 # unnecessary for this test.
15645
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15651
15652 template<typename T>
15653 struct same<T, T>;
15654
15655 int main()
15656 {
15657 typename same<long, __int128>::type i1;
15658 typename same<long long, __int128>::type i2;
15659 }
15660 EOF
15661
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15663 $as_echo_n "checking for __int128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15671
15672 enable_int128=yes
15673 else
15674 enable_int128=no
15675 fi
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15677 $as_echo "$enable_int128" >&6; }
15678 rm -f conftest*
15679
15680 cat > conftest.$ac_ext << EOF
15681 #line 15681 "configure"
15682 template<typename T1, typename T2>
15683 struct same
15684 { typedef T2 type; };
15685
15686 template<typename T>
15687 struct same<T, T>;
15688
15689 int main()
15690 {
15691 typename same<double, __float128>::type f1;
15692 typename same<long double, __float128>::type f2;
15693 }
15694 EOF
15695
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15697 $as_echo_n "checking for __float128... " >&6; }
15698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15699 (eval $ac_compile) 2>&5
15700 ac_status=$?
15701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15702 test $ac_status = 0; }; then
15703
15704 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15705
15706 enable_float128=yes
15707 else
15708 enable_float128=no
15709 fi
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15711 $as_echo "$enable_float128" >&6; }
15712 rm -f conftest*
15713
15714 ac_ext=c
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719
15720
15721 if test "$enable_float128" = yes; then
15722 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15723 fi
15724
15725 # Checks for compiler support that doesn't require linking.
15726
15727 # All these tests are for C++; save the language and the compiler flags.
15728 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15729 # found in GLIBCXX_CONFIGURE.
15730
15731 ac_ext=cpp
15732 ac_cpp='$CXXCPP $CPPFLAGS'
15733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15736
15737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15738 ac_save_CXXFLAGS="$CXXFLAGS"
15739
15740 # Check for maintainer-mode bits.
15741 if test x"$USE_MAINTAINER_MODE" = xno; then
15742 WERROR=''
15743 else
15744 WERROR='-Werror'
15745 fi
15746
15747 # Check for -ffunction-sections -fdata-sections
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15749 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15750 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15752 /* end confdefs.h. */
15753 int foo; void bar() { };
15754 int
15755 main ()
15756 {
15757
15758 ;
15759 return 0;
15760 }
15761 _ACEOF
15762 if ac_fn_cxx_try_compile "$LINENO"; then :
15763 ac_fdsections=yes
15764 else
15765 ac_fdsections=no
15766 fi
15767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 if test "$ac_test_CXXFLAGS" = set; then
15769 CXXFLAGS="$ac_save_CXXFLAGS"
15770 else
15771 # this is the suspicious part
15772 CXXFLAGS=''
15773 fi
15774 if test x"$ac_fdsections" = x"yes"; then
15775 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15776 fi
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15778 $as_echo "$ac_fdsections" >&6; }
15779
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785
15786
15787
15788
15789
15790 # Enable all the variable C++ runtime options that don't require linking.
15791
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15793 $as_echo_n "checking for underlying I/O to use... " >&6; }
15794 # Check whether --enable-cstdio was given.
15795 if test "${enable_cstdio+set}" = set; then :
15796 enableval=$enable_cstdio;
15797 case "$enableval" in
15798 stdio) ;;
15799 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15800 esac
15801
15802 else
15803 enable_cstdio=stdio
15804 fi
15805
15806
15807
15808 # Now that libio has been removed, you can have any color you want as long
15809 # as it's black. This is one big no-op until other packages are added, but
15810 # showing the framework never hurts.
15811 case ${enable_cstdio} in
15812 stdio)
15813 CSTDIO_H=config/io/c_io_stdio.h
15814 BASIC_FILE_H=config/io/basic_file_stdio.h
15815 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15817 $as_echo "stdio" >&6; }
15818 ;;
15819 esac
15820
15821
15822
15823
15824
15825
15826 # Check whether --enable-clocale was given.
15827 if test "${enable_clocale+set}" = set; then :
15828 enableval=$enable_clocale;
15829 case "$enableval" in
15830 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15831 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15832 esac
15833
15834 else
15835 enable_clocale=auto
15836 fi
15837
15838
15839
15840 # Deal with gettext issues. Default to not using it (=no) until we detect
15841 # support for it later. Let the user turn it off via --e/d, but let that
15842 # default to on for easier handling.
15843 USE_NLS=no
15844 # Check whether --enable-nls was given.
15845 if test "${enable_nls+set}" = set; then :
15846 enableval=$enable_nls;
15847 else
15848 enable_nls=yes
15849 fi
15850
15851
15852 # Either a known package, or "auto"
15853 if test $enable_clocale = no || test $enable_clocale = yes; then
15854 enable_clocale=auto
15855 fi
15856 enable_clocale_flag=$enable_clocale
15857
15858 # Probe for locale model to use if none specified.
15859 # Default to "generic".
15860 if test $enable_clocale_flag = auto; then
15861 case ${target_os} in
15862 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15863 enable_clocale_flag=gnu
15864 ;;
15865 darwin* | freebsd*)
15866 enable_clocale_flag=darwin
15867 ;;
15868 dragonfly*)
15869 enable_clocale_flag=dragonfly
15870 ;;
15871 openbsd*)
15872 enable_clocale_flag=newlib
15873 ;;
15874 *)
15875 if test x"$with_newlib" = x"yes"; then
15876 enable_clocale_flag=newlib
15877 else
15878 enable_clocale_flag=generic
15879 fi
15880 ;;
15881 esac
15882 fi
15883
15884 # Sanity check model, and test for special functionality.
15885 if test $enable_clocale_flag = gnu; then
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15888
15889 #include <features.h>
15890 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15891 _GLIBCXX_ok
15892 #endif
15893
15894 _ACEOF
15895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15896 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15897 enable_clocale_flag=gnu
15898 else
15899 enable_clocale_flag=generic
15900 fi
15901 rm -f conftest*
15902
15903
15904 # Set it to scream when it hurts.
15905 ac_save_CFLAGS="$CFLAGS"
15906 CFLAGS="-Wimplicit-function-declaration -Werror"
15907
15908 # Use strxfrm_l if available.
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #define _GNU_SOURCE 1
15912 #include <string.h>
15913 #include <locale.h>
15914 int
15915 main ()
15916 {
15917 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15918 ;
15919 return 0;
15920 }
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15923
15924 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15925
15926 fi
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15928
15929 # Use strerror_l if available.
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15935 int
15936 main ()
15937 {
15938 __locale_t loc; strerror_l(5, loc);
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15944
15945 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15946
15947 fi
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949
15950 CFLAGS="$ac_save_CFLAGS"
15951 fi
15952
15953 # Perhaps use strerror_r if available, and strerror_l isn't.
15954 ac_save_CFLAGS="$CFLAGS"
15955 CFLAGS="-Wimplicit-function-declaration -Werror"
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15958 #define _GNU_SOURCE 1
15959 #include <string.h>
15960 #include <locale.h>
15961 int
15962 main ()
15963 {
15964 char s[128]; strerror_r(5, s, 128);
15965 ;
15966 return 0;
15967 }
15968 _ACEOF
15969 if ac_fn_c_try_compile "$LINENO"; then :
15970
15971 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15972
15973 fi
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15975 CFLAGS="$ac_save_CFLAGS"
15976
15977 # Set configure bits for specified locale package
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15979 $as_echo_n "checking for C locale to use... " >&6; }
15980 case ${enable_clocale_flag} in
15981 generic)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15983 $as_echo "generic" >&6; }
15984
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/generic/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 ;;
15998 darwin)
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16000 $as_echo "darwin or freebsd" >&6; }
16001
16002 CLOCALE_H=config/locale/generic/c_locale.h
16003 CLOCALE_CC=config/locale/generic/c_locale.cc
16004 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16005 CCOLLATE_CC=config/locale/generic/collate_members.cc
16006 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16007 CMESSAGES_H=config/locale/generic/messages_members.h
16008 CMESSAGES_CC=config/locale/generic/messages_members.cc
16009 CMONEY_CC=config/locale/generic/monetary_members.cc
16010 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16011 CTIME_H=config/locale/generic/time_members.h
16012 CTIME_CC=config/locale/generic/time_members.cc
16013 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16014 ;;
16015
16016 dragonfly)
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16018 $as_echo "dragonfly" >&6; }
16019
16020 CLOCALE_H=config/locale/generic/c_locale.h
16021 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16022 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16023 CCOLLATE_CC=config/locale/generic/collate_members.cc
16024 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16025 CMESSAGES_H=config/locale/generic/messages_members.h
16026 CMESSAGES_CC=config/locale/generic/messages_members.cc
16027 CMONEY_CC=config/locale/generic/monetary_members.cc
16028 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16029 CTIME_H=config/locale/generic/time_members.h
16030 CTIME_CC=config/locale/generic/time_members.cc
16031 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16032 ;;
16033
16034 gnu)
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16036 $as_echo "gnu" >&6; }
16037
16038 # Declare intention to use gettext, and add support for specific
16039 # languages.
16040 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16041 ALL_LINGUAS="de fr"
16042
16043 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16044 # Extract the first word of "msgfmt", so it can be a program name with args.
16045 set dummy msgfmt; ac_word=$2
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16047 $as_echo_n "checking for $ac_word... " >&6; }
16048 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 if test -n "$check_msgfmt"; then
16052 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16053 else
16054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16055 for as_dir in $PATH
16056 do
16057 IFS=$as_save_IFS
16058 test -z "$as_dir" && as_dir=.
16059 for ac_exec_ext in '' $ac_executable_extensions; do
16060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16061 ac_cv_prog_check_msgfmt="yes"
16062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16063 break 2
16064 fi
16065 done
16066 done
16067 IFS=$as_save_IFS
16068
16069 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16070 fi
16071 fi
16072 check_msgfmt=$ac_cv_prog_check_msgfmt
16073 if test -n "$check_msgfmt"; then
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16075 $as_echo "$check_msgfmt" >&6; }
16076 else
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16078 $as_echo "no" >&6; }
16079 fi
16080
16081
16082 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16083 USE_NLS=yes
16084 fi
16085 # Export the build objects.
16086 for ling in $ALL_LINGUAS; do \
16087 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16088 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16089 done
16090
16091
16092
16093 CLOCALE_H=config/locale/gnu/c_locale.h
16094 CLOCALE_CC=config/locale/gnu/c_locale.cc
16095 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16097 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16098 CMESSAGES_H=config/locale/gnu/messages_members.h
16099 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16100 CMONEY_CC=config/locale/gnu/monetary_members.cc
16101 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16102 CTIME_H=config/locale/gnu/time_members.h
16103 CTIME_CC=config/locale/gnu/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16105 ;;
16106 ieee_1003.1-2001)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16108 $as_echo "IEEE 1003.1" >&6; }
16109
16110 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16111 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/generic/ctype_members.cc
16115 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16116 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16122 ;;
16123 newlib)
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16125 $as_echo "newlib" >&6; }
16126
16127 CLOCALE_H=config/locale/generic/c_locale.h
16128 CLOCALE_CC=config/locale/generic/c_locale.cc
16129 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16130 CCOLLATE_CC=config/locale/generic/collate_members.cc
16131 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16132 CMESSAGES_H=config/locale/generic/messages_members.h
16133 CMESSAGES_CC=config/locale/generic/messages_members.cc
16134 CMONEY_CC=config/locale/generic/monetary_members.cc
16135 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16136 CTIME_H=config/locale/generic/time_members.h
16137 CTIME_CC=config/locale/generic/time_members.cc
16138 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16139 ;;
16140 esac
16141
16142 # This is where the testsuite looks for locale catalogs, using the
16143 # -DLOCALEDIR define during testsuite compilation.
16144 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16145
16146
16147 # A standalone libintl (e.g., GNU libintl) may be in use.
16148 if test $USE_NLS = yes; then
16149 for ac_header in libintl.h
16150 do :
16151 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16152 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_LIBINTL_H 1
16155 _ACEOF
16156
16157 else
16158 USE_NLS=no
16159 fi
16160
16161 done
16162
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16164 $as_echo_n "checking for library containing gettext... " >&6; }
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 ac_func_search_save_LIBS=$LIBS
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16171
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char gettext ();
16179 int
16180 main ()
16181 {
16182 return gettext ();
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 for ac_lib in '' intl; do
16188 if test -z "$ac_lib"; then
16189 ac_res="none required"
16190 else
16191 ac_res=-l$ac_lib
16192 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16193 fi
16194 if test x$gcc_no_link = xyes; then
16195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16196 fi
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_search_gettext=$ac_res
16199 fi
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext
16202 if test "${ac_cv_search_gettext+set}" = set; then :
16203 break
16204 fi
16205 done
16206 if test "${ac_cv_search_gettext+set}" = set; then :
16207
16208 else
16209 ac_cv_search_gettext=no
16210 fi
16211 rm conftest.$ac_ext
16212 LIBS=$ac_func_search_save_LIBS
16213 fi
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16215 $as_echo "$ac_cv_search_gettext" >&6; }
16216 ac_res=$ac_cv_search_gettext
16217 if test "$ac_res" != no; then :
16218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16219
16220 else
16221 USE_NLS=no
16222 fi
16223
16224 fi
16225 if test $USE_NLS = yes; then
16226
16227 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16228
16229 fi
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16247 $as_echo_n "checking for std::allocator base class... " >&6; }
16248 # Check whether --enable-libstdcxx-allocator was given.
16249 if test "${enable_libstdcxx_allocator+set}" = set; then :
16250 enableval=$enable_libstdcxx_allocator;
16251 case "$enableval" in
16252 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16253 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16254 esac
16255
16256 else
16257 enable_libstdcxx_allocator=auto
16258 fi
16259
16260
16261
16262 # If they didn't use this option switch, or if they specified --enable
16263 # with no specific model, we'll have to look for one. If they
16264 # specified --disable (???), do likewise.
16265 if test $enable_libstdcxx_allocator = no ||
16266 test $enable_libstdcxx_allocator = yes;
16267 then
16268 enable_libstdcxx_allocator=auto
16269 fi
16270
16271 # Either a known package, or "auto". Auto implies the default choice
16272 # for a particular platform.
16273 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16274
16275 # Probe for host-specific support if no specific model is specified.
16276 # Default to "new".
16277 if test $enable_libstdcxx_allocator_flag = auto; then
16278 case ${target_os} in
16279 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16280 enable_libstdcxx_allocator_flag=new
16281 ;;
16282 *)
16283 enable_libstdcxx_allocator_flag=new
16284 ;;
16285 esac
16286 fi
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16288 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16289
16290
16291 # Set configure bits for specified locale package
16292 case ${enable_libstdcxx_allocator_flag} in
16293 bitmap)
16294 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16296 ;;
16297 malloc)
16298 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16299 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16300 ;;
16301 mt)
16302 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16303 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16304 ;;
16305 new)
16306 ALLOCATOR_H=config/allocator/new_allocator_base.h
16307 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16308 ;;
16309 pool)
16310 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16311 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16312 ;;
16313 esac
16314
16315
16316
16317
16318
16319 # Check whether --enable-cheaders was given.
16320 if test "${enable_cheaders+set}" = set; then :
16321 enableval=$enable_cheaders;
16322 case "$enableval" in
16323 c|c_std|c_global) ;;
16324 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16325 esac
16326
16327 else
16328 enable_cheaders=$c_model
16329 fi
16330
16331
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16333 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16334
16335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16336
16337 # Allow overrides to configure.host here.
16338 if test $enable_cheaders = c_global; then
16339 c_compatibility=yes
16340 fi
16341
16342
16343
16344
16345
16346
16347
16348 # Check whether --enable-long-long was given.
16349 if test "${enable_long_long+set}" = set; then :
16350 enableval=$enable_long_long;
16351 case "$enableval" in
16352 yes|no) ;;
16353 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16354 esac
16355
16356 else
16357 enable_long_long=yes
16358 fi
16359
16360
16361 if test $enable_long_long = yes; then
16362
16363 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16364
16365 fi
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16367 $as_echo_n "checking for enabled long long specializations... " >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16369 $as_echo "$enable_long_long" >&6; }
16370
16371
16372 # Check whether --enable-wchar_t was given.
16373 if test "${enable_wchar_t+set}" = set; then :
16374 enableval=$enable_wchar_t;
16375 case "$enableval" in
16376 yes|no) ;;
16377 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16378 esac
16379
16380 else
16381 enable_wchar_t=yes
16382 fi
16383
16384
16385
16386 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16387 for ac_header in wchar.h
16388 do :
16389 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16390 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_WCHAR_H 1
16393 _ACEOF
16394 ac_has_wchar_h=yes
16395 else
16396 ac_has_wchar_h=no
16397 fi
16398
16399 done
16400
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16402 $as_echo_n "checking for mbstate_t... " >&6; }
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #include <wchar.h>
16406 int
16407 main ()
16408 {
16409 mbstate_t teststate;
16410 ;
16411 return 0;
16412 }
16413 _ACEOF
16414 if ac_fn_c_try_compile "$LINENO"; then :
16415 have_mbstate_t=yes
16416 else
16417 have_mbstate_t=no
16418 fi
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16421 $as_echo "$have_mbstate_t" >&6; }
16422 if test x"$have_mbstate_t" = xyes; then
16423
16424 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16425
16426 fi
16427
16428 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16429 # ac_has_wchar_h.
16430 for ac_header in wctype.h
16431 do :
16432 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_WCTYPE_H 1
16436 _ACEOF
16437 ac_has_wctype_h=yes
16438 else
16439 ac_has_wctype_h=no
16440 fi
16441
16442 done
16443
16444
16445 if test x"$enable_wchar_t" = x"yes"; then
16446
16447
16448 ac_ext=cpp
16449 ac_cpp='$CXXCPP $CPPFLAGS'
16450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16453
16454
16455 if test x"$ac_has_wchar_h" = xyes &&
16456 test x"$ac_has_wctype_h" = xyes; then
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #include <wchar.h>
16460 #include <stddef.h>
16461 wint_t i;
16462 long l = WEOF;
16463 long j = WCHAR_MIN;
16464 long k = WCHAR_MAX;
16465 namespace test
16466 {
16467 using ::btowc;
16468 using ::fgetwc;
16469 using ::fgetws;
16470 using ::fputwc;
16471 using ::fputws;
16472 using ::fwide;
16473 using ::fwprintf;
16474 using ::fwscanf;
16475 using ::getwc;
16476 using ::getwchar;
16477 using ::mbrlen;
16478 using ::mbrtowc;
16479 using ::mbsinit;
16480 using ::mbsrtowcs;
16481 using ::putwc;
16482 using ::putwchar;
16483 using ::swprintf;
16484 using ::swscanf;
16485 using ::ungetwc;
16486 using ::vfwprintf;
16487 using ::vswprintf;
16488 using ::vwprintf;
16489 using ::wcrtomb;
16490 using ::wcscat;
16491 using ::wcschr;
16492 using ::wcscmp;
16493 using ::wcscoll;
16494 using ::wcscpy;
16495 using ::wcscspn;
16496 using ::wcsftime;
16497 using ::wcslen;
16498 using ::wcsncat;
16499 using ::wcsncmp;
16500 using ::wcsncpy;
16501 using ::wcspbrk;
16502 using ::wcsrchr;
16503 using ::wcsrtombs;
16504 using ::wcsspn;
16505 using ::wcsstr;
16506 using ::wcstod;
16507 using ::wcstok;
16508 using ::wcstol;
16509 using ::wcstoul;
16510 using ::wcsxfrm;
16511 using ::wctob;
16512 using ::wmemchr;
16513 using ::wmemcmp;
16514 using ::wmemcpy;
16515 using ::wmemmove;
16516 using ::wmemset;
16517 using ::wprintf;
16518 using ::wscanf;
16519 }
16520
16521 int
16522 main ()
16523 {
16524
16525 ;
16526 return 0;
16527 }
16528 _ACEOF
16529 if ac_fn_cxx_try_compile "$LINENO"; then :
16530
16531 else
16532 enable_wchar_t=no
16533 fi
16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 else
16536 enable_wchar_t=no
16537 fi
16538
16539 ac_ext=c
16540 ac_cpp='$CPP $CPPFLAGS'
16541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16544
16545 fi
16546
16547 if test x"$enable_wchar_t" = x"yes"; then
16548
16549 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16550
16551 fi
16552
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16554 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16556 $as_echo "$enable_wchar_t" >&6; }
16557
16558
16559
16560 # Check whether --enable-c99 was given.
16561 if test "${enable_c99+set}" = set; then :
16562 enableval=$enable_c99;
16563 case "$enableval" in
16564 yes|no) ;;
16565 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16566 esac
16567
16568 else
16569 enable_c99=yes
16570 fi
16571
16572
16573
16574 if test x"$enable_c99" = x"yes"; then
16575
16576
16577 ac_ext=cpp
16578 ac_cpp='$CXXCPP $CPPFLAGS'
16579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16582
16583
16584 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16585 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16586 # spuriously enabled.
16587 # Long term, -std=c++0x could be even better, could manage to explicitly
16588 # request C99 facilities to the underlying C headers.
16589 ac_save_CXXFLAGS="$CXXFLAGS"
16590 CXXFLAGS="$CXXFLAGS -std=c++98"
16591 ac_save_LIBS="$LIBS"
16592 ac_save_gcc_no_link="$gcc_no_link"
16593
16594 if test x$gcc_no_link != xyes; then
16595 # Use -fno-exceptions to that the C driver can link these tests without
16596 # hitting undefined references to personality routines.
16597 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16599 $as_echo_n "checking for sin in -lm... " >&6; }
16600 if test "${ac_cv_lib_m_sin+set}" = set; then :
16601 $as_echo_n "(cached) " >&6
16602 else
16603 ac_check_lib_save_LIBS=$LIBS
16604 LIBS="-lm $LIBS"
16605 if test x$gcc_no_link = xyes; then
16606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16607 fi
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16610
16611 /* Override any GCC internal prototype to avoid an error.
16612 Use char because int might match the return type of a GCC
16613 builtin and then its argument prototype would still apply. */
16614 #ifdef __cplusplus
16615 extern "C"
16616 #endif
16617 char sin ();
16618 int
16619 main ()
16620 {
16621 return sin ();
16622 ;
16623 return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_link "$LINENO"; then :
16627 ac_cv_lib_m_sin=yes
16628 else
16629 ac_cv_lib_m_sin=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext \
16632 conftest$ac_exeext conftest.$ac_ext
16633 LIBS=$ac_check_lib_save_LIBS
16634 fi
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16636 $as_echo "$ac_cv_lib_m_sin" >&6; }
16637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16638
16639 LIBS="$LIBS -lm"
16640
16641 else
16642
16643 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16644 gcc_no_link=yes
16645
16646 fi
16647
16648 fi
16649
16650 # Check for the existence of <math.h> functions used if C99 is enabled.
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16652 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16653 if test "${glibcxx_cv_c99_math+set}" = set; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656
16657 if test x$gcc_no_link = xyes; then
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <math.h>
16661 volatile double d1, d2;
16662 volatile int i;
16663 int
16664 main ()
16665 {
16666 i = fpclassify(d1);
16667 i = isfinite(d1);
16668 i = isinf(d1);
16669 i = isnan(d1);
16670 i = isnormal(d1);
16671 i = signbit(d1);
16672 i = isgreater(d1, d2);
16673 i = isgreaterequal(d1, d2);
16674 i = isless(d1, d2);
16675 i = islessequal(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = islessgreater(d1, d2);
16678 i = isunordered(d1, d2);
16679
16680 ;
16681 return 0;
16682 }
16683 _ACEOF
16684 if ac_fn_cxx_try_compile "$LINENO"; then :
16685 glibcxx_cv_c99_math=yes
16686 else
16687 glibcxx_cv_c99_math=no
16688 fi
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 else
16691 if test x$gcc_no_link = xyes; then
16692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16693 fi
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 volatile double d1, d2;
16698 volatile int i;
16699 int
16700 main ()
16701 {
16702 i = fpclassify(d1);
16703 i = isfinite(d1);
16704 i = isinf(d1);
16705 i = isnan(d1);
16706 i = isnormal(d1);
16707 i = signbit(d1);
16708 i = isgreater(d1, d2);
16709 i = isgreaterequal(d1, d2);
16710 i = isless(d1, d2);
16711 i = islessequal(d1, d2);
16712 i = islessgreater(d1, d2);
16713 i = islessgreater(d1, d2);
16714 i = isunordered(d1, d2);
16715
16716 ;
16717 return 0;
16718 }
16719 _ACEOF
16720 if ac_fn_cxx_try_link "$LINENO"; then :
16721 glibcxx_cv_c99_math=yes
16722 else
16723 glibcxx_cv_c99_math=no
16724 fi
16725 rm -f core conftest.err conftest.$ac_objext \
16726 conftest$ac_exeext conftest.$ac_ext
16727 fi
16728
16729 fi
16730
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16732 $as_echo "$glibcxx_cv_c99_math" >&6; }
16733 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16734
16735 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16736
16737 fi
16738
16739 # Check for the existence of <complex.h> complex math functions.
16740 # This is necessary even though libstdc++ uses the builtin versions
16741 # of these functions, because if the builtin cannot be used, a reference
16742 # to the library function is emitted.
16743 for ac_header in tgmath.h
16744 do :
16745 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16746 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_TGMATH_H 1
16749 _ACEOF
16750 ac_has_tgmath_h=yes
16751 else
16752 ac_has_tgmath_h=no
16753 fi
16754
16755 done
16756
16757 for ac_header in complex.h
16758 do :
16759 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16760 if test "x$ac_cv_header_complex_h" = x""yes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_COMPLEX_H 1
16763 _ACEOF
16764 ac_has_complex_h=yes
16765 else
16766 ac_has_complex_h=no
16767 fi
16768
16769 done
16770
16771 glibcxx_cv_c99_complex=no;
16772 if test x"$ac_has_complex_h" = x"yes"; then
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16774 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16775 if test x$gcc_no_link = xyes; then
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #include <complex.h>
16779 typedef __complex__ float float_type;
16780 typedef __complex__ double double_type;
16781 typedef __complex__ long double ld_type;
16782 volatile float_type tmpf;
16783 volatile double_type tmpd;
16784 volatile ld_type tmpld;
16785 volatile float f;
16786 volatile double d;
16787 volatile long double ld;
16788 int
16789 main ()
16790 {
16791 f = cabsf(tmpf);
16792 f = cargf(tmpf);
16793 tmpf = ccosf(tmpf);
16794 tmpf = ccoshf(tmpf);
16795 tmpf = cexpf(tmpf);
16796 tmpf = clogf(tmpf);
16797 tmpf = csinf(tmpf);
16798 tmpf = csinhf(tmpf);
16799 tmpf = csqrtf(tmpf);
16800 tmpf = ctanf(tmpf);
16801 tmpf = ctanhf(tmpf);
16802 tmpf = cpowf(tmpf, tmpf);
16803 tmpf = cprojf(tmpf);
16804 d = cabs(tmpd);
16805 d = carg(tmpd);
16806 tmpd = ccos(tmpd);
16807 tmpd = ccosh(tmpd);
16808 tmpd = cexp(tmpd);
16809 tmpd = clog(tmpd);
16810 tmpd = csin(tmpd);
16811 tmpd = csinh(tmpd);
16812 tmpd = csqrt(tmpd);
16813 tmpd = ctan(tmpd);
16814 tmpd = ctanh(tmpd);
16815 tmpd = cpow(tmpd, tmpd);
16816 tmpd = cproj(tmpd);
16817 ld = cabsl(tmpld);
16818 ld = cargl(tmpld);
16819 tmpld = ccosl(tmpld);
16820 tmpld = ccoshl(tmpld);
16821 tmpld = cexpl(tmpld);
16822 tmpld = clogl(tmpld);
16823 tmpld = csinl(tmpld);
16824 tmpld = csinhl(tmpld);
16825 tmpld = csqrtl(tmpld);
16826 tmpld = ctanl(tmpld);
16827 tmpld = ctanhl(tmpld);
16828 tmpld = cpowl(tmpld, tmpld);
16829 tmpld = cprojl(tmpld);
16830
16831 ;
16832 return 0;
16833 }
16834 _ACEOF
16835 if ac_fn_cxx_try_compile "$LINENO"; then :
16836 glibcxx_cv_c99_complex=yes
16837 else
16838 glibcxx_cv_c99_complex=no
16839 fi
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16841 else
16842 if test x$gcc_no_link = xyes; then
16843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16844 fi
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 #include <complex.h>
16848 typedef __complex__ float float_type;
16849 typedef __complex__ double double_type;
16850 typedef __complex__ long double ld_type;
16851 volatile float_type tmpf;
16852 volatile double_type tmpd;
16853 volatile ld_type tmpld;
16854 volatile float f;
16855 volatile double d;
16856 volatile long double ld;
16857 int
16858 main ()
16859 {
16860 f = cabsf(tmpf);
16861 f = cargf(tmpf);
16862 tmpf = ccosf(tmpf);
16863 tmpf = ccoshf(tmpf);
16864 tmpf = cexpf(tmpf);
16865 tmpf = clogf(tmpf);
16866 tmpf = csinf(tmpf);
16867 tmpf = csinhf(tmpf);
16868 tmpf = csqrtf(tmpf);
16869 tmpf = ctanf(tmpf);
16870 tmpf = ctanhf(tmpf);
16871 tmpf = cpowf(tmpf, tmpf);
16872 tmpf = cprojf(tmpf);
16873 d = cabs(tmpd);
16874 d = carg(tmpd);
16875 tmpd = ccos(tmpd);
16876 tmpd = ccosh(tmpd);
16877 tmpd = cexp(tmpd);
16878 tmpd = clog(tmpd);
16879 tmpd = csin(tmpd);
16880 tmpd = csinh(tmpd);
16881 tmpd = csqrt(tmpd);
16882 tmpd = ctan(tmpd);
16883 tmpd = ctanh(tmpd);
16884 tmpd = cpow(tmpd, tmpd);
16885 tmpd = cproj(tmpd);
16886 ld = cabsl(tmpld);
16887 ld = cargl(tmpld);
16888 tmpld = ccosl(tmpld);
16889 tmpld = ccoshl(tmpld);
16890 tmpld = cexpl(tmpld);
16891 tmpld = clogl(tmpld);
16892 tmpld = csinl(tmpld);
16893 tmpld = csinhl(tmpld);
16894 tmpld = csqrtl(tmpld);
16895 tmpld = ctanl(tmpld);
16896 tmpld = ctanhl(tmpld);
16897 tmpld = cpowl(tmpld, tmpld);
16898 tmpld = cprojl(tmpld);
16899
16900 ;
16901 return 0;
16902 }
16903 _ACEOF
16904 if ac_fn_cxx_try_link "$LINENO"; then :
16905 glibcxx_cv_c99_complex=yes
16906 else
16907 glibcxx_cv_c99_complex=no
16908 fi
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16911 fi
16912 fi
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16914 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16915 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16916
16917 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16918
16919 fi
16920
16921 # Check for the existence in <stdio.h> of vscanf, et. al.
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16923 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16924 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927
16928 if test x$gcc_no_link = xyes; then
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16934 {
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16941 }
16942 int
16943 main ()
16944 {
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 else
16957 if test x$gcc_no_link = xyes; then
16958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16959 fi
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #include <stdio.h>
16963 #include <stdarg.h>
16964 void foo(char* fmt, ...)
16965 {
16966 va_list args; va_start(args, fmt);
16967 vfscanf(stderr, "%i", args);
16968 vscanf("%i", args);
16969 vsnprintf(fmt, 0, "%i", args);
16970 vsscanf(fmt, "%i", args);
16971 snprintf(fmt, 0, "%i");
16972 }
16973 int
16974 main ()
16975 {
16976
16977 ;
16978 return 0;
16979 }
16980 _ACEOF
16981 if ac_fn_cxx_try_link "$LINENO"; then :
16982 glibcxx_cv_c99_stdio=yes
16983 else
16984 glibcxx_cv_c99_stdio=no
16985 fi
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 fi
16989
16990 fi
16991
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16993 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16994
16995 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16997 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16998 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001
17002 if test x$gcc_no_link = xyes; then
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 #include <stdlib.h>
17006 volatile float f;
17007 volatile long double ld;
17008 volatile unsigned long long ll;
17009 lldiv_t mydivt;
17010 int
17011 main ()
17012 {
17013 char* tmp;
17014 f = strtof("gnu", &tmp);
17015 ld = strtold("gnu", &tmp);
17016 ll = strtoll("gnu", &tmp, 10);
17017 ll = strtoull("gnu", &tmp, 10);
17018 ll = llabs(10);
17019 mydivt = lldiv(10,1);
17020 ll = mydivt.quot;
17021 ll = mydivt.rem;
17022 ll = atoll("10");
17023 _Exit(0);
17024
17025 ;
17026 return 0;
17027 }
17028 _ACEOF
17029 if ac_fn_cxx_try_compile "$LINENO"; then :
17030 glibcxx_cv_c99_stdlib=yes
17031 else
17032 glibcxx_cv_c99_stdlib=no
17033 fi
17034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17035 else
17036 if test x$gcc_no_link = xyes; then
17037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17038 fi
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #include <stdlib.h>
17042 volatile float f;
17043 volatile long double ld;
17044 volatile unsigned long long ll;
17045 lldiv_t mydivt;
17046 int
17047 main ()
17048 {
17049 char* tmp;
17050 f = strtof("gnu", &tmp);
17051 ld = strtold("gnu", &tmp);
17052 ll = strtoll("gnu", &tmp, 10);
17053 ll = strtoull("gnu", &tmp, 10);
17054 ll = llabs(10);
17055 mydivt = lldiv(10,1);
17056 ll = mydivt.quot;
17057 ll = mydivt.rem;
17058 ll = atoll("10");
17059 _Exit(0);
17060
17061 ;
17062 return 0;
17063 }
17064 _ACEOF
17065 if ac_fn_cxx_try_link "$LINENO"; then :
17066 glibcxx_cv_c99_stdlib=yes
17067 else
17068 glibcxx_cv_c99_stdlib=no
17069 fi
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17072 fi
17073
17074 fi
17075
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17077 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17078
17079 # Check for the existence in <wchar.h> of wcstold, etc.
17080 glibcxx_cv_c99_wchar=no;
17081 if test x"$ac_has_wchar_h" = xyes &&
17082 test x"$ac_has_wctype_h" = xyes; then
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17084 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #include <wchar.h>
17088 namespace test
17089 {
17090 using ::wcstold;
17091 using ::wcstoll;
17092 using ::wcstoull;
17093 }
17094
17095 int
17096 main ()
17097 {
17098
17099 ;
17100 return 0;
17101 }
17102 _ACEOF
17103 if ac_fn_cxx_try_compile "$LINENO"; then :
17104 glibcxx_cv_c99_wchar=yes
17105 else
17106 glibcxx_cv_c99_wchar=no
17107 fi
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109
17110 # Checks for wide character functions that may not be present.
17111 # Injection of these is wrapped with guard macros.
17112 # NB: only put functions here, instead of immediately above, if
17113 # absolutely necessary.
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 namespace test { using ::vfwscanf; }
17118 int
17119 main ()
17120 {
17121
17122 ;
17123 return 0;
17124 }
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17127
17128 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17129
17130 fi
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <wchar.h>
17136 namespace test { using ::vswscanf; }
17137 int
17138 main ()
17139 {
17140
17141 ;
17142 return 0;
17143 }
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17146
17147 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17148
17149 fi
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <wchar.h>
17155 namespace test { using ::vwscanf; }
17156 int
17157 main ()
17158 {
17159
17160 ;
17161 return 0;
17162 }
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17165
17166 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17167
17168 fi
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <wchar.h>
17174 namespace test { using ::wcstof; }
17175 int
17176 main ()
17177 {
17178
17179 ;
17180 return 0;
17181 }
17182 _ACEOF
17183 if ac_fn_cxx_try_compile "$LINENO"; then :
17184
17185 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17186
17187 fi
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17189
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <wctype.h>
17193 int
17194 main ()
17195 {
17196 wint_t t; int i = iswblank(t);
17197 ;
17198 return 0;
17199 }
17200 _ACEOF
17201 if ac_fn_cxx_try_compile "$LINENO"; then :
17202
17203 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17204
17205 fi
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17209 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17210 fi
17211
17212 # Option parsed, now set things appropriately.
17213 if test x"$glibcxx_cv_c99_math" = x"no" ||
17214 test x"$glibcxx_cv_c99_complex" = x"no" ||
17215 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17216 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17217 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17218 enable_c99=no;
17219 else
17220
17221 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222
17223 fi
17224
17225 gcc_no_link="$ac_save_gcc_no_link"
17226 LIBS="$ac_save_LIBS"
17227 CXXFLAGS="$ac_save_CXXFLAGS"
17228 ac_ext=c
17229 ac_cpp='$CPP $CPPFLAGS'
17230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233
17234 fi
17235
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17237 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17239 $as_echo "$enable_c99" >&6; }
17240
17241
17242 # Check whether --enable-concept-checks was given.
17243 if test "${enable_concept_checks+set}" = set; then :
17244 enableval=$enable_concept_checks;
17245 case "$enableval" in
17246 yes|no) ;;
17247 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17248 esac
17249
17250 else
17251 enable_concept_checks=no
17252 fi
17253
17254
17255 if test $enable_concept_checks = yes; then
17256
17257 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17258
17259 fi
17260
17261
17262 # Check whether --enable-libstdcxx-debug-flags was given.
17263 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17264 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17265 xno | x) enable_libstdcxx_debug_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17271 fi
17272
17273
17274
17275 # Option parsed, now set things appropriately
17276 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17277
17278
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17280 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17281
17282
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17284 $as_echo_n "checking for additional debug build... " >&6; }
17285 # Check whether --enable-libstdcxx-debug was given.
17286 if test "${enable_libstdcxx_debug+set}" = set; then :
17287 enableval=$enable_libstdcxx_debug;
17288 case "$enableval" in
17289 yes|no) ;;
17290 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17291 esac
17292
17293 else
17294 enable_libstdcxx_debug=no
17295 fi
17296
17297
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17299 $as_echo "$enable_libstdcxx_debug" >&6; }
17300
17301
17302
17303
17304 enable_parallel=no;
17305
17306 # See if configured libgomp/omp.h exists. (libgomp may be in
17307 # noconfigdirs but not explicitly disabled.)
17308 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17309 enable_parallel=yes;
17310 else
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17312 $as_echo "$as_me: target-libgomp not built" >&6;}
17313 fi
17314
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17316 $as_echo_n "checking for parallel mode support... " >&6; }
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17318 $as_echo "$enable_parallel" >&6; }
17319
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17321 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17322 # Check whether --enable-cxx-flags was given.
17323 if test "${enable_cxx_flags+set}" = set; then :
17324 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17325 xno | x) enable_cxx_flags= ;;
17326 x-*) ;;
17327 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17328 esac
17329 else
17330 enable_cxx_flags=
17331 fi
17332
17333
17334
17335 # Run through flags (either default or command-line) and set anything
17336 # extra (e.g., #defines) that must accompany particular g++ options.
17337 if test -n "$enable_cxx_flags"; then
17338 for f in $enable_cxx_flags; do
17339 case "$f" in
17340 -fhonor-std) ;;
17341 -*) ;;
17342 *) # and we're trying to pass /what/ exactly?
17343 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17344 esac
17345 done
17346 fi
17347
17348 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17350 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17351
17352
17353
17354 # Check whether --enable-fully-dynamic-string was given.
17355 if test "${enable_fully_dynamic_string+set}" = set; then :
17356 enableval=$enable_fully_dynamic_string;
17357 case "$enableval" in
17358 yes|no) ;;
17359 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17360 esac
17361
17362 else
17363 enable_fully_dynamic_string=no
17364 fi
17365
17366
17367 if test $enable_fully_dynamic_string = yes; then
17368 enable_fully_dynamic_string_def=1
17369 else
17370 enable_fully_dynamic_string_def=0
17371 fi
17372
17373 cat >>confdefs.h <<_ACEOF
17374 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17375 _ACEOF
17376
17377
17378
17379
17380 # Check whether --enable-extern-template was given.
17381 if test "${enable_extern_template+set}" = set; then :
17382 enableval=$enable_extern_template;
17383 case "$enableval" in
17384 yes|no) ;;
17385 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17386 esac
17387
17388 else
17389 enable_extern_template=yes
17390 fi
17391
17392
17393
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17395 $as_echo_n "checking for extern template support... " >&6; }
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17397 $as_echo "$enable_extern_template" >&6; }
17398
17399
17400
17401
17402
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17404 $as_echo_n "checking for custom python install directory... " >&6; }
17405
17406 # Check whether --with-python-dir was given.
17407 if test "${with_python_dir+set}" = set; then :
17408 withval=$with_python_dir; with_python_dir=$withval
17409 else
17410 with_python_dir="no"
17411 fi
17412
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17414 $as_echo "${with_python_dir}" >&6; }
17415
17416 # Needed for installing Python modules during make install.
17417 python_mod_dir="${with_python_dir}"
17418
17419
17420
17421
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17423 $as_echo_n "checking for -Werror... " >&6; }
17424 # Check whether --enable-werror was given.
17425 if test "${enable_werror+set}" = set; then :
17426 enableval=$enable_werror;
17427 case "$enableval" in
17428 yes|no) ;;
17429 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17430 esac
17431
17432 else
17433 enable_werror=yes
17434 fi
17435
17436
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17438 $as_echo "$enable_werror" >&6; }
17439
17440
17441
17442
17443 # Check whether --enable-vtable-verify was given.
17444 if test "${enable_vtable_verify+set}" = set; then :
17445 enableval=$enable_vtable_verify;
17446 case "$enableval" in
17447 yes|no) ;;
17448 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17449 esac
17450
17451 else
17452 enable_vtable_verify=no
17453 fi
17454
17455
17456
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17458 $as_echo_n "checking for vtable verify support... " >&6; }
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17460 $as_echo "$enable_vtable_verify" >&6; }
17461
17462 if test $enable_vtable_verify = yes; then
17463 case ${target_os} in
17464 cygwin*|mingw32*)
17465 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17466 vtv_cygmin="yes"
17467 ;;
17468 *)
17469 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17470 vtv_cygmin="no"
17471 ;;
17472 esac
17473 if test $vtv_cygmin = yes; then
17474 VTV_CYGMIN_TRUE=
17475 VTV_CYGMIN_FALSE='#'
17476 else
17477 VTV_CYGMIN_TRUE='#'
17478 VTV_CYGMIN_FALSE=
17479 fi
17480
17481 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17482 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17483 else
17484 VTV_CXXFLAGS=
17485 VTV_PCH_CXXFLAGS=
17486 VTV_CXXLINKFLAGS=
17487 fi
17488
17489
17490
17491
17492
17493
17494
17495 # Checks for operating systems support that doesn't require linking.
17496
17497
17498
17499 ac_ext=cpp
17500 ac_cpp='$CXXCPP $CPPFLAGS'
17501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17504
17505
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17507 $as_echo_n "checking for gets declaration... " >&6; }
17508 if test "${glibcxx_cv_gets+set}" = set; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <stdio.h>
17515 namespace test
17516 {
17517 using ::gets;
17518 }
17519
17520 _ACEOF
17521 if ac_fn_cxx_try_compile "$LINENO"; then :
17522 glibcxx_cv_gets=yes
17523 else
17524 glibcxx_cv_gets=no
17525
17526 fi
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 fi
17529
17530
17531 if test $glibcxx_cv_gets = yes; then
17532
17533 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17534
17535 fi
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17537 $as_echo "$glibcxx_cv_gets" >&6; }
17538
17539 ac_ext=c
17540 ac_cpp='$CPP $CPPFLAGS'
17541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17544
17545
17546
17547
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17549 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17550 if test "${glibcxx_cv_system_error1+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17557 int
17558 main ()
17559 {
17560 int i = EOWNERDEAD;
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error1=yes
17567 else
17568 glibcxx_cv_system_error1=no
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571
17572 fi
17573
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17575 $as_echo "$glibcxx_cv_system_error1" >&6; }
17576 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17577
17578 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17579
17580 fi
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17582 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17583 if test "${glibcxx_cv_system_error2+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17590 int
17591 main ()
17592 {
17593 int i = ENOTRECOVERABLE;
17594 ;
17595 return 0;
17596 }
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error2=yes
17600 else
17601 glibcxx_cv_system_error2=no
17602 fi
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605 fi
17606
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17608 $as_echo "$glibcxx_cv_system_error2" >&6; }
17609 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17610
17611 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17612
17613 fi
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17615 $as_echo_n "checking for ENOLINK... " >&6; }
17616 if test "${glibcxx_cv_system_error3+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17623 int
17624 main ()
17625 {
17626 int i = ENOLINK;
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error3=yes
17633 else
17634 glibcxx_cv_system_error3=no
17635 fi
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637
17638 fi
17639
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17641 $as_echo "$glibcxx_cv_system_error3" >&6; }
17642 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17643
17644 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17645
17646 fi
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17648 $as_echo_n "checking for EPROTO... " >&6; }
17649 if test "${glibcxx_cv_system_error4+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17656 int
17657 main ()
17658 {
17659 int i = EPROTO;
17660 ;
17661 return 0;
17662 }
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error4=yes
17666 else
17667 glibcxx_cv_system_error4=no
17668 fi
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17674 $as_echo "$glibcxx_cv_system_error4" >&6; }
17675 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17676
17677 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17678
17679 fi
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17681 $as_echo_n "checking for ENODATA... " >&6; }
17682 if test "${glibcxx_cv_system_error5+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17689 int
17690 main ()
17691 {
17692 int i = ENODATA;
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error5=yes
17699 else
17700 glibcxx_cv_system_error5=no
17701 fi
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703
17704 fi
17705
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17707 $as_echo "$glibcxx_cv_system_error5" >&6; }
17708 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17709
17710 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17711
17712 fi
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17714 $as_echo_n "checking for ENOSR... " >&6; }
17715 if test "${glibcxx_cv_system_error6+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17722 int
17723 main ()
17724 {
17725 int i = ENOSR;
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error6=yes
17732 else
17733 glibcxx_cv_system_error6=no
17734 fi
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736
17737 fi
17738
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17740 $as_echo "$glibcxx_cv_system_error6" >&6; }
17741 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17742
17743 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17744
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17747 $as_echo_n "checking for ENOSTR... " >&6; }
17748 if test "${glibcxx_cv_system_error7+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17755 int
17756 main ()
17757 {
17758 int i = ENOSTR;
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error7=yes
17765 else
17766 glibcxx_cv_system_error7=no
17767 fi
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769
17770 fi
17771
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17773 $as_echo "$glibcxx_cv_system_error7" >&6; }
17774 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17775
17776 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17777
17778 fi
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17780 $as_echo_n "checking for ETIME... " >&6; }
17781 if test "${glibcxx_cv_system_error8+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17788 int
17789 main ()
17790 {
17791 int i = ETIME;
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error8=yes
17798 else
17799 glibcxx_cv_system_error8=no
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803 fi
17804
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17806 $as_echo "$glibcxx_cv_system_error8" >&6; }
17807 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17808
17809 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17810
17811 fi
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17813 $as_echo_n "checking for EBADMSG... " >&6; }
17814 if test "${glibcxx_cv_system_error9+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17821 int
17822 main ()
17823 {
17824 int i = EBADMSG;
17825 ;
17826 return 0;
17827 }
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error9=yes
17831 else
17832 glibcxx_cv_system_error9=no
17833 fi
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835
17836 fi
17837
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17839 $as_echo "$glibcxx_cv_system_error9" >&6; }
17840 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17841
17842 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17843
17844 fi
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17846 $as_echo_n "checking for ECANCELED... " >&6; }
17847 if test "${glibcxx_cv_system_error10+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17854 int
17855 main ()
17856 {
17857 int i = ECANCELED;
17858 ;
17859 return 0;
17860 }
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error10=yes
17864 else
17865 glibcxx_cv_system_error10=no
17866 fi
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868
17869 fi
17870
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17872 $as_echo "$glibcxx_cv_system_error10" >&6; }
17873 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17874
17875 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17876
17877 fi
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17879 $as_echo_n "checking for EOVERFLOW... " >&6; }
17880 if test "${glibcxx_cv_system_error11+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17887 int
17888 main ()
17889 {
17890 int i = EOVERFLOW;
17891 ;
17892 return 0;
17893 }
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error11=yes
17897 else
17898 glibcxx_cv_system_error11=no
17899 fi
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901
17902 fi
17903
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17905 $as_echo "$glibcxx_cv_system_error11" >&6; }
17906 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17907
17908 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17909
17910 fi
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17912 $as_echo_n "checking for ENOTSUP... " >&6; }
17913 if test "${glibcxx_cv_system_error12+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17920 int
17921 main ()
17922 {
17923 int i = ENOTSUP;
17924 ;
17925 return 0;
17926 }
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error12=yes
17930 else
17931 glibcxx_cv_system_error12=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934
17935 fi
17936
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17938 $as_echo "$glibcxx_cv_system_error12" >&6; }
17939 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17940
17941 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17942
17943 fi
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17945 $as_echo_n "checking for EIDRM... " >&6; }
17946 if test "${glibcxx_cv_system_error13+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17953 int
17954 main ()
17955 {
17956 int i = EIDRM;
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error13=yes
17963 else
17964 glibcxx_cv_system_error13=no
17965 fi
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967
17968 fi
17969
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17971 $as_echo "$glibcxx_cv_system_error13" >&6; }
17972 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17973
17974 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17975
17976 fi
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17978 $as_echo_n "checking for ETXTBSY... " >&6; }
17979 if test "${glibcxx_cv_system_error14+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17986 int
17987 main ()
17988 {
17989 int i = ETXTBSY;
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error14=yes
17996 else
17997 glibcxx_cv_system_error14=no
17998 fi
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000
18001 fi
18002
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18004 $as_echo "$glibcxx_cv_system_error14" >&6; }
18005 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18006
18007 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18008
18009 fi
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18011 $as_echo_n "checking for ECHILD... " >&6; }
18012 if test "${glibcxx_cv_system_error15+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18019 int
18020 main ()
18021 {
18022 int i = ECHILD;
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error15=yes
18029 else
18030 glibcxx_cv_system_error15=no
18031 fi
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033
18034 fi
18035
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18037 $as_echo "$glibcxx_cv_system_error15" >&6; }
18038 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18039
18040 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18041
18042 fi
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18044 $as_echo_n "checking for ENOSPC... " >&6; }
18045 if test "${glibcxx_cv_system_error16+set}" = set; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18048
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <errno.h>
18052 int
18053 main ()
18054 {
18055 int i = ENOSPC;
18056 ;
18057 return 0;
18058 }
18059 _ACEOF
18060 if ac_fn_c_try_compile "$LINENO"; then :
18061 glibcxx_cv_system_error16=yes
18062 else
18063 glibcxx_cv_system_error16=no
18064 fi
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066
18067 fi
18068
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18070 $as_echo "$glibcxx_cv_system_error16" >&6; }
18071 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18072
18073 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18074
18075 fi
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18077 $as_echo_n "checking for EPERM... " >&6; }
18078 if test "${glibcxx_cv_system_error17+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <errno.h>
18085 int
18086 main ()
18087 {
18088 int i = EPERM;
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_c_try_compile "$LINENO"; then :
18094 glibcxx_cv_system_error17=yes
18095 else
18096 glibcxx_cv_system_error17=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18103 $as_echo "$glibcxx_cv_system_error17" >&6; }
18104 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18105
18106 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18107
18108 fi
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18110 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18111 if test "${glibcxx_cv_system_error18+set}" = set; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18114
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <errno.h>
18118 int
18119 main ()
18120 {
18121 int i = ETIMEDOUT;
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 if ac_fn_c_try_compile "$LINENO"; then :
18127 glibcxx_cv_system_error18=yes
18128 else
18129 glibcxx_cv_system_error18=no
18130 fi
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132
18133 fi
18134
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18136 $as_echo "$glibcxx_cv_system_error18" >&6; }
18137 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18138
18139 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18140
18141 fi
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18143 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18144 if test "${glibcxx_cv_system_error19+set}" = set; then :
18145 $as_echo_n "(cached) " >&6
18146 else
18147
18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18150 #include <errno.h>
18151 int
18152 main ()
18153 {
18154 int i = EWOULDBLOCK;
18155 ;
18156 return 0;
18157 }
18158 _ACEOF
18159 if ac_fn_c_try_compile "$LINENO"; then :
18160 glibcxx_cv_system_error19=yes
18161 else
18162 glibcxx_cv_system_error19=no
18163 fi
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165
18166 fi
18167
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18169 $as_echo "$glibcxx_cv_system_error19" >&6; }
18170 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18171
18172 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18173
18174 fi
18175
18176
18177
18178 # For the streamoff typedef.
18179
18180
18181
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187
18188
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18190 $as_echo_n "checking for int64_t... " >&6; }
18191 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18194
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18197 #include <stdint.h>
18198 int
18199 main ()
18200 {
18201 int64_t var;
18202 ;
18203 return 0;
18204 }
18205 _ACEOF
18206 if ac_fn_cxx_try_compile "$LINENO"; then :
18207 glibcxx_cv_INT64_T=yes
18208 else
18209 glibcxx_cv_INT64_T=no
18210 fi
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212
18213 fi
18214
18215
18216 if test $glibcxx_cv_INT64_T = yes; then
18217
18218 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18219
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18221 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18222
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18224 $as_echo_n "checking for int64_t as long... " >&6; }
18225 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18226 $as_echo_n "(cached) " >&6
18227 else
18228
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18231 #include <stdint.h>
18232 template<typename, typename> struct same { enum { value = -1 }; };
18233 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18234 int array[same<int64_t, long>::value];
18235 int
18236 main ()
18237 {
18238
18239 ;
18240 return 0;
18241 }
18242 _ACEOF
18243 if ac_fn_cxx_try_compile "$LINENO"; then :
18244 glibcxx_cv_int64_t_long=yes
18245 else
18246 glibcxx_cv_int64_t_long=no
18247 fi
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249
18250 fi
18251
18252
18253 if test $glibcxx_cv_int64_t_long = yes; then
18254
18255 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18256
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18258 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18259 fi
18260
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18262 $as_echo_n "checking for int64_t as long long... " >&6; }
18263 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18266
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18269 #include <stdint.h>
18270 template<typename, typename> struct same { enum { value = -1 }; };
18271 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18272 int array[same<int64_t, long long>::value];
18273 int
18274 main ()
18275 {
18276
18277 ;
18278 return 0;
18279 }
18280 _ACEOF
18281 if ac_fn_cxx_try_compile "$LINENO"; then :
18282 glibcxx_cv_int64_t_long_long=yes
18283 else
18284 glibcxx_cv_int64_t_long_long=no
18285 fi
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18287
18288 fi
18289
18290
18291 if test $glibcxx_cv_int64_t_long_long = yes; then
18292
18293 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18294
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18296 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18297 fi
18298 fi
18299
18300 ac_ext=c
18301 ac_cpp='$CPP $CPPFLAGS'
18302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18305
18306
18307
18308 # For LFS support.
18309
18310
18311 ac_ext=cpp
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316
18317 ac_save_CXXFLAGS="$CXXFLAGS"
18318 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18320 $as_echo_n "checking for LFS support... " >&6; }
18321 if test "${glibcxx_cv_LFS+set}" = set; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324
18325 if test x$gcc_no_link = xyes; then
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18328 #include <unistd.h>
18329 #include <stdio.h>
18330 #include <sys/stat.h>
18331
18332 int
18333 main ()
18334 {
18335 FILE* fp;
18336 fopen64("t", "w");
18337 fseeko64(fp, 0, SEEK_CUR);
18338 ftello64(fp);
18339 lseek64(1, 0, SEEK_CUR);
18340 struct stat64 buf;
18341 fstat64(1, &buf);
18342 ;
18343 return 0;
18344 }
18345 _ACEOF
18346 if ac_fn_cxx_try_compile "$LINENO"; then :
18347 glibcxx_cv_LFS=yes
18348 else
18349 glibcxx_cv_LFS=no
18350 fi
18351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18352 else
18353 if test x$gcc_no_link = xyes; then
18354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18355 fi
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18358 #include <unistd.h>
18359 #include <stdio.h>
18360 #include <sys/stat.h>
18361
18362 int
18363 main ()
18364 {
18365 FILE* fp;
18366 fopen64("t", "w");
18367 fseeko64(fp, 0, SEEK_CUR);
18368 ftello64(fp);
18369 lseek64(1, 0, SEEK_CUR);
18370 struct stat64 buf;
18371 fstat64(1, &buf);
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_cxx_try_link "$LINENO"; then :
18377 glibcxx_cv_LFS=yes
18378 else
18379 glibcxx_cv_LFS=no
18380 fi
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18383 fi
18384
18385 fi
18386
18387 if test $glibcxx_cv_LFS = yes; then
18388
18389 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18390
18391 fi
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18393 $as_echo "$glibcxx_cv_LFS" >&6; }
18394 CXXFLAGS="$ac_save_CXXFLAGS"
18395 ac_ext=c
18396 ac_cpp='$CPP $CPPFLAGS'
18397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18400
18401
18402
18403 # For showmanyc_helper().
18404 for ac_header in sys/ioctl.h sys/filio.h
18405 do :
18406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18407 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18408 eval as_val=\$$as_ac_Header
18409 if test "x$as_val" = x""yes; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18412 _ACEOF
18413
18414 fi
18415
18416 done
18417
18418
18419
18420
18421 ac_ext=cpp
18422 ac_cpp='$CXXCPP $CPPFLAGS'
18423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18426
18427 ac_save_CXXFLAGS="$CXXFLAGS"
18428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18429
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18431 $as_echo_n "checking for poll... " >&6; }
18432 if test "${glibcxx_cv_POLL+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18435
18436 if test x$gcc_no_link = xyes; then
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 #include <poll.h>
18440 int
18441 main ()
18442 {
18443 struct pollfd pfd[1];
18444 pfd[0].events = POLLIN;
18445 poll(pfd, 1, 0);
18446 ;
18447 return 0;
18448 }
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18451 glibcxx_cv_POLL=yes
18452 else
18453 glibcxx_cv_POLL=no
18454 fi
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 else
18457 if test x$gcc_no_link = xyes; then
18458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18459 fi
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #include <poll.h>
18463 int
18464 main ()
18465 {
18466 struct pollfd pfd[1];
18467 pfd[0].events = POLLIN;
18468 poll(pfd, 1, 0);
18469 ;
18470 return 0;
18471 }
18472 _ACEOF
18473 if ac_fn_cxx_try_link "$LINENO"; then :
18474 glibcxx_cv_POLL=yes
18475 else
18476 glibcxx_cv_POLL=no
18477 fi
18478 rm -f core conftest.err conftest.$ac_objext \
18479 conftest$ac_exeext conftest.$ac_ext
18480 fi
18481
18482 fi
18483
18484 if test $glibcxx_cv_POLL = yes; then
18485
18486 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18487
18488 fi
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18490 $as_echo "$glibcxx_cv_POLL" >&6; }
18491
18492 CXXFLAGS="$ac_save_CXXFLAGS"
18493 ac_ext=c
18494 ac_cpp='$CPP $CPPFLAGS'
18495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18498
18499
18500
18501
18502
18503 ac_ext=cpp
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508
18509 ac_save_CXXFLAGS="$CXXFLAGS"
18510 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18511
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18513 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18514 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18517
18518 if test x$gcc_no_link = xyes; then
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 #include <sys/stat.h>
18522 int
18523 main ()
18524 {
18525 struct stat buffer;
18526 fstat(0, &buffer);
18527 S_ISREG(buffer.st_mode);
18528 ;
18529 return 0;
18530 }
18531 _ACEOF
18532 if ac_fn_cxx_try_compile "$LINENO"; then :
18533 glibcxx_cv_S_ISREG=yes
18534 else
18535 glibcxx_cv_S_ISREG=no
18536 fi
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 else
18539 if test x$gcc_no_link = xyes; then
18540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18541 fi
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544 #include <sys/stat.h>
18545 int
18546 main ()
18547 {
18548 struct stat buffer;
18549 fstat(0, &buffer);
18550 S_ISREG(buffer.st_mode);
18551 ;
18552 return 0;
18553 }
18554 _ACEOF
18555 if ac_fn_cxx_try_link "$LINENO"; then :
18556 glibcxx_cv_S_ISREG=yes
18557 else
18558 glibcxx_cv_S_ISREG=no
18559 fi
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18562 fi
18563
18564 fi
18565
18566 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18569
18570 if test x$gcc_no_link = xyes; then
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 #include <sys/stat.h>
18574 int
18575 main ()
18576 {
18577 struct stat buffer;
18578 fstat(0, &buffer);
18579 S_IFREG & buffer.st_mode;
18580 ;
18581 return 0;
18582 }
18583 _ACEOF
18584 if ac_fn_cxx_try_compile "$LINENO"; then :
18585 glibcxx_cv_S_IFREG=yes
18586 else
18587 glibcxx_cv_S_IFREG=no
18588 fi
18589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18590 else
18591 if test x$gcc_no_link = xyes; then
18592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18593 fi
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596 #include <sys/stat.h>
18597 int
18598 main ()
18599 {
18600 struct stat buffer;
18601 fstat(0, &buffer);
18602 S_IFREG & buffer.st_mode;
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 if ac_fn_cxx_try_link "$LINENO"; then :
18608 glibcxx_cv_S_IFREG=yes
18609 else
18610 glibcxx_cv_S_IFREG=no
18611 fi
18612 rm -f core conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18614 fi
18615
18616 fi
18617
18618 res=no
18619 if test $glibcxx_cv_S_ISREG = yes; then
18620
18621 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18622
18623 res=S_ISREG
18624 elif test $glibcxx_cv_S_IFREG = yes; then
18625
18626 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18627
18628 res=S_IFREG
18629 fi
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18631 $as_echo "$res" >&6; }
18632
18633 CXXFLAGS="$ac_save_CXXFLAGS"
18634 ac_ext=c
18635 ac_cpp='$CPP $CPPFLAGS'
18636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18639
18640
18641
18642 # For xsputn_2().
18643 for ac_header in sys/uio.h
18644 do :
18645 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18646 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18647 cat >>confdefs.h <<_ACEOF
18648 #define HAVE_SYS_UIO_H 1
18649 _ACEOF
18650
18651 fi
18652
18653 done
18654
18655
18656
18657
18658 ac_ext=cpp
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18663
18664 ac_save_CXXFLAGS="$CXXFLAGS"
18665 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18666
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18668 $as_echo_n "checking for writev... " >&6; }
18669 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18670 $as_echo_n "(cached) " >&6
18671 else
18672
18673 if test x$gcc_no_link = xyes; then
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <sys/uio.h>
18677 int
18678 main ()
18679 {
18680 struct iovec iov[2];
18681 writev(0, iov, 0);
18682 ;
18683 return 0;
18684 }
18685 _ACEOF
18686 if ac_fn_cxx_try_compile "$LINENO"; then :
18687 glibcxx_cv_WRITEV=yes
18688 else
18689 glibcxx_cv_WRITEV=no
18690 fi
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 else
18693 if test x$gcc_no_link = xyes; then
18694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18695 fi
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #include <sys/uio.h>
18699 int
18700 main ()
18701 {
18702 struct iovec iov[2];
18703 writev(0, iov, 0);
18704 ;
18705 return 0;
18706 }
18707 _ACEOF
18708 if ac_fn_cxx_try_link "$LINENO"; then :
18709 glibcxx_cv_WRITEV=yes
18710 else
18711 glibcxx_cv_WRITEV=no
18712 fi
18713 rm -f core conftest.err conftest.$ac_objext \
18714 conftest$ac_exeext conftest.$ac_ext
18715 fi
18716
18717 fi
18718
18719 if test $glibcxx_cv_WRITEV = yes; then
18720
18721 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18722
18723 fi
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18725 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18726
18727 CXXFLAGS="$ac_save_CXXFLAGS"
18728 ac_ext=c
18729 ac_cpp='$CPP $CPPFLAGS'
18730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18733
18734
18735
18736 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18737 # so that the check is done with the C compiler (not C++).
18738 # Checking with C++ can break a canadian cross build if either
18739 # file does not exist in C but does in C++.
18740 for ac_header in fenv.h complex.h
18741 do :
18742 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18743 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18744 eval as_val=\$$as_ac_Header
18745 if test "x$as_val" = x""yes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18748 _ACEOF
18749
18750 fi
18751
18752 done
18753
18754
18755 # For C99 support to TR1.
18756
18757
18758
18759 ac_ext=cpp
18760 ac_cpp='$CXXCPP $CPPFLAGS'
18761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18764
18765
18766 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18767 # undefined and fake C99 facilities may be spuriously enabled.
18768 ac_save_CXXFLAGS="$CXXFLAGS"
18769 CXXFLAGS="$CXXFLAGS -std=c++98"
18770
18771 # Check for the existence of <complex.h> complex math functions used
18772 # by tr1/complex.
18773 for ac_header in complex.h
18774 do :
18775 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_complex_h" = x""yes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_COMPLEX_H 1
18779 _ACEOF
18780 ac_has_complex_h=yes
18781 else
18782 ac_has_complex_h=no
18783 fi
18784
18785 done
18786
18787 ac_c99_complex_tr1=no;
18788 if test x"$ac_has_complex_h" = x"yes"; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18790 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 #include <complex.h>
18794 int
18795 main ()
18796 {
18797 typedef __complex__ float float_type; float_type tmpf;
18798 cacosf(tmpf);
18799 casinf(tmpf);
18800 catanf(tmpf);
18801 cacoshf(tmpf);
18802 casinhf(tmpf);
18803 catanhf(tmpf);
18804 typedef __complex__ double double_type; double_type tmpd;
18805 cacos(tmpd);
18806 casin(tmpd);
18807 catan(tmpd);
18808 cacosh(tmpd);
18809 casinh(tmpd);
18810 catanh(tmpd);
18811 typedef __complex__ long double ld_type; ld_type tmpld;
18812 cacosl(tmpld);
18813 casinl(tmpld);
18814 catanl(tmpld);
18815 cacoshl(tmpld);
18816 casinhl(tmpld);
18817 catanhl(tmpld);
18818
18819 ;
18820 return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_cxx_try_compile "$LINENO"; then :
18824 ac_c99_complex_tr1=yes
18825 else
18826 ac_c99_complex_tr1=no
18827 fi
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 fi
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18831 $as_echo "$ac_c99_complex_tr1" >&6; }
18832 if test x"$ac_c99_complex_tr1" = x"yes"; then
18833
18834 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18835
18836 fi
18837
18838 # Check for the existence of <ctype.h> functions.
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18840 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18841 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18842 $as_echo_n "(cached) " >&6
18843 else
18844
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #include <ctype.h>
18848 int
18849 main ()
18850 {
18851 int ch;
18852 int ret;
18853 ret = isblank(ch);
18854
18855 ;
18856 return 0;
18857 }
18858 _ACEOF
18859 if ac_fn_cxx_try_compile "$LINENO"; then :
18860 glibcxx_cv_c99_ctype_tr1=yes
18861 else
18862 glibcxx_cv_c99_ctype_tr1=no
18863 fi
18864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18865
18866 fi
18867
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18869 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18870 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18871
18872 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18873
18874 fi
18875
18876 # Check for the existence of <fenv.h> functions.
18877 for ac_header in fenv.h
18878 do :
18879 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18880 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18881 cat >>confdefs.h <<_ACEOF
18882 #define HAVE_FENV_H 1
18883 _ACEOF
18884 ac_has_fenv_h=yes
18885 else
18886 ac_has_fenv_h=no
18887 fi
18888
18889 done
18890
18891 ac_c99_fenv_tr1=no;
18892 if test x"$ac_has_fenv_h" = x"yes"; then
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18894 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18897 #include <fenv.h>
18898 int
18899 main ()
18900 {
18901 int except, mode;
18902 fexcept_t* pflag;
18903 fenv_t* penv;
18904 int ret;
18905 ret = feclearexcept(except);
18906 ret = fegetexceptflag(pflag, except);
18907 ret = feraiseexcept(except);
18908 ret = fesetexceptflag(pflag, except);
18909 ret = fetestexcept(except);
18910 ret = fegetround();
18911 ret = fesetround(mode);
18912 ret = fegetenv(penv);
18913 ret = feholdexcept(penv);
18914 ret = fesetenv(penv);
18915 ret = feupdateenv(penv);
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 if ac_fn_cxx_try_compile "$LINENO"; then :
18922 ac_c99_fenv_tr1=yes
18923 else
18924 ac_c99_fenv_tr1=no
18925 fi
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 fi
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18929 $as_echo "$ac_c99_fenv_tr1" >&6; }
18930 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18931
18932 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18933
18934 fi
18935
18936 # Check for the existence of <stdint.h> types.
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18938 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18939 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18942
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 #define __STDC_LIMIT_MACROS
18946 #define __STDC_CONSTANT_MACROS
18947 #include <stdint.h>
18948 int
18949 main ()
18950 {
18951 typedef int8_t my_int8_t;
18952 my_int8_t i8 = INT8_MIN;
18953 i8 = INT8_MAX;
18954 typedef int16_t my_int16_t;
18955 my_int16_t i16 = INT16_MIN;
18956 i16 = INT16_MAX;
18957 typedef int32_t my_int32_t;
18958 my_int32_t i32 = INT32_MIN;
18959 i32 = INT32_MAX;
18960 typedef int64_t my_int64_t;
18961 my_int64_t i64 = INT64_MIN;
18962 i64 = INT64_MAX;
18963 typedef int_fast8_t my_int_fast8_t;
18964 my_int_fast8_t if8 = INT_FAST8_MIN;
18965 if8 = INT_FAST8_MAX;
18966 typedef int_fast16_t my_int_fast16_t;
18967 my_int_fast16_t if16 = INT_FAST16_MIN;
18968 if16 = INT_FAST16_MAX;
18969 typedef int_fast32_t my_int_fast32_t;
18970 my_int_fast32_t if32 = INT_FAST32_MIN;
18971 if32 = INT_FAST32_MAX;
18972 typedef int_fast64_t my_int_fast64_t;
18973 my_int_fast64_t if64 = INT_FAST64_MIN;
18974 if64 = INT_FAST64_MAX;
18975 typedef int_least8_t my_int_least8_t;
18976 my_int_least8_t il8 = INT_LEAST8_MIN;
18977 il8 = INT_LEAST8_MAX;
18978 typedef int_least16_t my_int_least16_t;
18979 my_int_least16_t il16 = INT_LEAST16_MIN;
18980 il16 = INT_LEAST16_MAX;
18981 typedef int_least32_t my_int_least32_t;
18982 my_int_least32_t il32 = INT_LEAST32_MIN;
18983 il32 = INT_LEAST32_MAX;
18984 typedef int_least64_t my_int_least64_t;
18985 my_int_least64_t il64 = INT_LEAST64_MIN;
18986 il64 = INT_LEAST64_MAX;
18987 typedef intmax_t my_intmax_t;
18988 my_intmax_t im = INTMAX_MAX;
18989 im = INTMAX_MIN;
18990 typedef intptr_t my_intptr_t;
18991 my_intptr_t ip = INTPTR_MAX;
18992 ip = INTPTR_MIN;
18993 typedef uint8_t my_uint8_t;
18994 my_uint8_t ui8 = UINT8_MAX;
18995 ui8 = UINT8_MAX;
18996 typedef uint16_t my_uint16_t;
18997 my_uint16_t ui16 = UINT16_MAX;
18998 ui16 = UINT16_MAX;
18999 typedef uint32_t my_uint32_t;
19000 my_uint32_t ui32 = UINT32_MAX;
19001 ui32 = UINT32_MAX;
19002 typedef uint64_t my_uint64_t;
19003 my_uint64_t ui64 = UINT64_MAX;
19004 ui64 = UINT64_MAX;
19005 typedef uint_fast8_t my_uint_fast8_t;
19006 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19007 uif8 = UINT_FAST8_MAX;
19008 typedef uint_fast16_t my_uint_fast16_t;
19009 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19010 uif16 = UINT_FAST16_MAX;
19011 typedef uint_fast32_t my_uint_fast32_t;
19012 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19013 uif32 = UINT_FAST32_MAX;
19014 typedef uint_fast64_t my_uint_fast64_t;
19015 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19016 uif64 = UINT_FAST64_MAX;
19017 typedef uint_least8_t my_uint_least8_t;
19018 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19019 uil8 = UINT_LEAST8_MAX;
19020 typedef uint_least16_t my_uint_least16_t;
19021 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19022 uil16 = UINT_LEAST16_MAX;
19023 typedef uint_least32_t my_uint_least32_t;
19024 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19025 uil32 = UINT_LEAST32_MAX;
19026 typedef uint_least64_t my_uint_least64_t;
19027 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19028 uil64 = UINT_LEAST64_MAX;
19029 typedef uintmax_t my_uintmax_t;
19030 my_uintmax_t uim = UINTMAX_MAX;
19031 uim = UINTMAX_MAX;
19032 typedef uintptr_t my_uintptr_t;
19033 my_uintptr_t uip = UINTPTR_MAX;
19034 uip = UINTPTR_MAX;
19035
19036 ;
19037 return 0;
19038 }
19039 _ACEOF
19040 if ac_fn_cxx_try_compile "$LINENO"; then :
19041 glibcxx_cv_c99_stdint_tr1=yes
19042 else
19043 glibcxx_cv_c99_stdint_tr1=no
19044 fi
19045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046
19047 fi
19048
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19050 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19051 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19052
19053 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19054
19055 fi
19056
19057 # Check for the existence of <math.h> functions.
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19059 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19060 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19066 #include <math.h>
19067 int
19068 main ()
19069 {
19070 typedef double_t my_double_t;
19071 typedef float_t my_float_t;
19072 acosh(0.0);
19073 acoshf(0.0f);
19074 acoshl(0.0l);
19075 asinh(0.0);
19076 asinhf(0.0f);
19077 asinhl(0.0l);
19078 atanh(0.0);
19079 atanhf(0.0f);
19080 atanhl(0.0l);
19081 cbrt(0.0);
19082 cbrtf(0.0f);
19083 cbrtl(0.0l);
19084 copysign(0.0, 0.0);
19085 copysignf(0.0f, 0.0f);
19086 copysignl(0.0l, 0.0l);
19087 erf(0.0);
19088 erff(0.0f);
19089 erfl(0.0l);
19090 erfc(0.0);
19091 erfcf(0.0f);
19092 erfcl(0.0l);
19093 exp2(0.0);
19094 exp2f(0.0f);
19095 exp2l(0.0l);
19096 expm1(0.0);
19097 expm1f(0.0f);
19098 expm1l(0.0l);
19099 fdim(0.0, 0.0);
19100 fdimf(0.0f, 0.0f);
19101 fdiml(0.0l, 0.0l);
19102 fma(0.0, 0.0, 0.0);
19103 fmaf(0.0f, 0.0f, 0.0f);
19104 fmal(0.0l, 0.0l, 0.0l);
19105 fmax(0.0, 0.0);
19106 fmaxf(0.0f, 0.0f);
19107 fmaxl(0.0l, 0.0l);
19108 fmin(0.0, 0.0);
19109 fminf(0.0f, 0.0f);
19110 fminl(0.0l, 0.0l);
19111 hypot(0.0, 0.0);
19112 hypotf(0.0f, 0.0f);
19113 hypotl(0.0l, 0.0l);
19114 ilogb(0.0);
19115 ilogbf(0.0f);
19116 ilogbl(0.0l);
19117 lgamma(0.0);
19118 lgammaf(0.0f);
19119 lgammal(0.0l);
19120 llrint(0.0);
19121 llrintf(0.0f);
19122 llrintl(0.0l);
19123 llround(0.0);
19124 llroundf(0.0f);
19125 llroundl(0.0l);
19126 log1p(0.0);
19127 log1pf(0.0f);
19128 log1pl(0.0l);
19129 log2(0.0);
19130 log2f(0.0f);
19131 log2l(0.0l);
19132 logb(0.0);
19133 logbf(0.0f);
19134 logbl(0.0l);
19135 lrint(0.0);
19136 lrintf(0.0f);
19137 lrintl(0.0l);
19138 lround(0.0);
19139 lroundf(0.0f);
19140 lroundl(0.0l);
19141 nan(0);
19142 nanf(0);
19143 nanl(0);
19144 nearbyint(0.0);
19145 nearbyintf(0.0f);
19146 nearbyintl(0.0l);
19147 nextafter(0.0, 0.0);
19148 nextafterf(0.0f, 0.0f);
19149 nextafterl(0.0l, 0.0l);
19150 nexttoward(0.0, 0.0);
19151 nexttowardf(0.0f, 0.0f);
19152 nexttowardl(0.0l, 0.0l);
19153 remainder(0.0, 0.0);
19154 remainderf(0.0f, 0.0f);
19155 remainderl(0.0l, 0.0l);
19156 remquo(0.0, 0.0, 0);
19157 remquof(0.0f, 0.0f, 0);
19158 remquol(0.0l, 0.0l, 0);
19159 rint(0.0);
19160 rintf(0.0f);
19161 rintl(0.0l);
19162 round(0.0);
19163 roundf(0.0f);
19164 roundl(0.0l);
19165 scalbln(0.0, 0l);
19166 scalblnf(0.0f, 0l);
19167 scalblnl(0.0l, 0l);
19168 scalbn(0.0, 0);
19169 scalbnf(0.0f, 0);
19170 scalbnl(0.0l, 0);
19171 tgamma(0.0);
19172 tgammaf(0.0f);
19173 tgammal(0.0l);
19174 trunc(0.0);
19175 truncf(0.0f);
19176 truncl(0.0l);
19177
19178 ;
19179 return 0;
19180 }
19181 _ACEOF
19182 if ac_fn_cxx_try_compile "$LINENO"; then :
19183 glibcxx_cv_c99_math_tr1=yes
19184 else
19185 glibcxx_cv_c99_math_tr1=no
19186 fi
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188
19189 fi
19190
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19192 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19193 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19194
19195 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19196
19197 fi
19198
19199 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19200 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19201 ac_c99_inttypes_tr1=no;
19202 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19204 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #include <inttypes.h>
19208 int
19209 main ()
19210 {
19211 intmax_t i, numer, denom, base;
19212 const char* s;
19213 char** endptr;
19214 intmax_t ret = imaxabs(i);
19215 imaxdiv_t dret = imaxdiv(numer, denom);
19216 ret = strtoimax(s, endptr, base);
19217 uintmax_t uret = strtoumax(s, endptr, base);
19218
19219 ;
19220 return 0;
19221 }
19222 _ACEOF
19223 if ac_fn_cxx_try_compile "$LINENO"; then :
19224 ac_c99_inttypes_tr1=yes
19225 else
19226 ac_c99_inttypes_tr1=no
19227 fi
19228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19229 fi
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19231 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19232 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19233
19234 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19235
19236 fi
19237
19238 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19239 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19240 ac_c99_inttypes_wchar_t_tr1=no;
19241 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19243 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 #include <inttypes.h>
19247 int
19248 main ()
19249 {
19250 intmax_t base;
19251 const wchar_t* s;
19252 wchar_t** endptr;
19253 intmax_t ret = wcstoimax(s, endptr, base);
19254 uintmax_t uret = wcstoumax(s, endptr, base);
19255
19256 ;
19257 return 0;
19258 }
19259 _ACEOF
19260 if ac_fn_cxx_try_compile "$LINENO"; then :
19261 ac_c99_inttypes_wchar_t_tr1=yes
19262 else
19263 ac_c99_inttypes_wchar_t_tr1=no
19264 fi
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 fi
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19268 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19269 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19270
19271 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19272
19273 fi
19274
19275 # Check for the existence of the <stdbool.h> header.
19276 for ac_header in stdbool.h
19277 do :
19278 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19279 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_STDBOOL_H 1
19282 _ACEOF
19283
19284 fi
19285
19286 done
19287
19288
19289 # Check for the existence of the <stdalign.h> header.
19290 for ac_header in stdalign.h
19291 do :
19292 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19293 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STDALIGN_H 1
19296 _ACEOF
19297
19298 fi
19299
19300 done
19301
19302
19303 CXXFLAGS="$ac_save_CXXFLAGS"
19304 ac_ext=c
19305 ac_cpp='$CPP $CPPFLAGS'
19306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19309
19310
19311
19312 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19313
19314
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19316 $as_echo_n "checking for the value of EOF... " >&6; }
19317 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19318 $as_echo_n "(cached) " >&6
19319 else
19320
19321 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19322
19323 else
19324 as_fn_error "computing EOF failed" "$LINENO" 5
19325 fi
19326
19327
19328 fi
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19330 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19331
19332 cat >>confdefs.h <<_ACEOF
19333 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19334 _ACEOF
19335
19336
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19338 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19339 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19340 $as_echo_n "(cached) " >&6
19341 else
19342
19343 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19344
19345 else
19346 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19347 fi
19348
19349
19350 fi
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19352 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19353
19354 cat >>confdefs.h <<_ACEOF
19355 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19356 _ACEOF
19357
19358
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19360 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19361 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19362 $as_echo_n "(cached) " >&6
19363 else
19364
19365 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19366
19367 else
19368 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19369 fi
19370
19371
19372 fi
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19374 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19375
19376 cat >>confdefs.h <<_ACEOF
19377 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19378 _ACEOF
19379
19380
19381
19382 # For gettimeofday support.
19383
19384
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19386 $as_echo_n "checking for gettimeofday... " >&6; }
19387
19388
19389 ac_ext=cpp
19390 ac_cpp='$CXXCPP $CPPFLAGS'
19391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19394
19395 ac_save_CXXFLAGS="$CXXFLAGS"
19396 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19397
19398 ac_has_gettimeofday=no;
19399 for ac_header in sys/time.h
19400 do :
19401 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19402 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_SYS_TIME_H 1
19405 _ACEOF
19406 ac_has_sys_time_h=yes
19407 else
19408 ac_has_sys_time_h=no
19409 fi
19410
19411 done
19412
19413 if test x"$ac_has_sys_time_h" = x"yes"; then
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19415 $as_echo_n "checking for gettimeofday... " >&6; }
19416 if test x$gcc_no_link = xyes; then
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #include <sys/time.h>
19420 int
19421 main ()
19422 {
19423 timeval tv; gettimeofday(&tv, 0);
19424 ;
19425 return 0;
19426 }
19427 _ACEOF
19428 if ac_fn_cxx_try_compile "$LINENO"; then :
19429 ac_has_gettimeofday=yes
19430 else
19431 ac_has_gettimeofday=no
19432 fi
19433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19434 else
19435 if test x$gcc_no_link = xyes; then
19436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19437 fi
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 #include <sys/time.h>
19441 int
19442 main ()
19443 {
19444 timeval tv; gettimeofday(&tv, 0);
19445 ;
19446 return 0;
19447 }
19448 _ACEOF
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 ac_has_gettimeofday=yes
19451 else
19452 ac_has_gettimeofday=no
19453 fi
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19456 fi
19457
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19459 $as_echo "$ac_has_gettimeofday" >&6; }
19460 fi
19461
19462 if test x"$ac_has_gettimeofday" = x"yes"; then
19463
19464 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19465
19466 fi
19467
19468 CXXFLAGS="$ac_save_CXXFLAGS"
19469 ac_ext=c
19470 ac_cpp='$CPP $CPPFLAGS'
19471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19474
19475
19476
19477 # For clock_gettime, nanosleep and sched_yield support.
19478
19479
19480 # Check whether --enable-libstdcxx-time was given.
19481 if test "${enable_libstdcxx_time+set}" = set; then :
19482 enableval=$enable_libstdcxx_time;
19483 case "$enableval" in
19484 yes|no|rt) ;;
19485 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19486 esac
19487
19488 else
19489 enable_libstdcxx_time=auto
19490 fi
19491
19492
19493
19494
19495 ac_ext=cpp
19496 ac_cpp='$CXXCPP $CPPFLAGS'
19497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19500
19501 ac_save_CXXFLAGS="$CXXFLAGS"
19502 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19503 ac_save_LIBS="$LIBS"
19504
19505 ac_has_clock_monotonic=no
19506 ac_has_clock_realtime=no
19507 ac_has_nanosleep=no
19508 ac_has_sched_yield=no
19509
19510 if test x"$enable_libstdcxx_time" = x"auto"; then
19511
19512 case "${target_os}" in
19513 cygwin*)
19514 ac_has_nanosleep=yes
19515 ;;
19516 darwin*)
19517 ac_has_nanosleep=yes
19518 ac_has_sched_yield=yes
19519 ;;
19520 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19522 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #include <features.h>
19526 int
19527 main ()
19528 {
19529
19530 #if ! __GLIBC_PREREQ(2, 17)
19531 #error
19532 #endif
19533
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 if ac_fn_cxx_try_compile "$LINENO"; then :
19539 glibcxx_glibc217=yes
19540 else
19541 glibcxx_glibc217=no
19542 fi
19543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19545 $as_echo "$glibcxx_glibc217" >&6; }
19546
19547 if test x"$glibcxx_glibc217" = x"yes"; then
19548 ac_has_clock_monotonic=yes
19549 ac_has_clock_realtime=yes
19550 fi
19551 ac_has_nanosleep=yes
19552 ac_has_sched_yield=yes
19553 ;;
19554 freebsd*|netbsd*)
19555 ac_has_clock_monotonic=yes
19556 ac_has_clock_realtime=yes
19557 ac_has_nanosleep=yes
19558 ac_has_sched_yield=yes
19559 ;;
19560 openbsd*)
19561 ac_has_clock_monotonic=yes
19562 ac_has_clock_realtime=yes
19563 ac_has_nanosleep=yes
19564 ;;
19565 solaris*)
19566 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19567 ac_has_clock_monotonic=yes
19568 ac_has_clock_realtime=yes
19569 ac_has_nanosleep=yes
19570 ac_has_sched_yield=yes
19571 ;;
19572 esac
19573
19574 elif test x"$enable_libstdcxx_time" != x"no"; then
19575
19576 if test x"$enable_libstdcxx_time" = x"rt"; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19578 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19579 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19580 $as_echo_n "(cached) " >&6
19581 else
19582 ac_func_search_save_LIBS=$LIBS
19583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19584 /* end confdefs.h. */
19585
19586 /* Override any GCC internal prototype to avoid an error.
19587 Use char because int might match the return type of a GCC
19588 builtin and then its argument prototype would still apply. */
19589 #ifdef __cplusplus
19590 extern "C"
19591 #endif
19592 char clock_gettime ();
19593 int
19594 main ()
19595 {
19596 return clock_gettime ();
19597 ;
19598 return 0;
19599 }
19600 _ACEOF
19601 for ac_lib in '' rt posix4; do
19602 if test -z "$ac_lib"; then
19603 ac_res="none required"
19604 else
19605 ac_res=-l$ac_lib
19606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19607 fi
19608 if test x$gcc_no_link = xyes; then
19609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19610 fi
19611 if ac_fn_cxx_try_link "$LINENO"; then :
19612 ac_cv_search_clock_gettime=$ac_res
19613 fi
19614 rm -f core conftest.err conftest.$ac_objext \
19615 conftest$ac_exeext
19616 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19617 break
19618 fi
19619 done
19620 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19621
19622 else
19623 ac_cv_search_clock_gettime=no
19624 fi
19625 rm conftest.$ac_ext
19626 LIBS=$ac_func_search_save_LIBS
19627 fi
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19629 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19630 ac_res=$ac_cv_search_clock_gettime
19631 if test "$ac_res" != no; then :
19632 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19633
19634 fi
19635
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19637 $as_echo_n "checking for library containing nanosleep... " >&6; }
19638 if test "${ac_cv_search_nanosleep+set}" = set; then :
19639 $as_echo_n "(cached) " >&6
19640 else
19641 ac_func_search_save_LIBS=$LIBS
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644
19645 /* Override any GCC internal prototype to avoid an error.
19646 Use char because int might match the return type of a GCC
19647 builtin and then its argument prototype would still apply. */
19648 #ifdef __cplusplus
19649 extern "C"
19650 #endif
19651 char nanosleep ();
19652 int
19653 main ()
19654 {
19655 return nanosleep ();
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 for ac_lib in '' rt posix4; do
19661 if test -z "$ac_lib"; then
19662 ac_res="none required"
19663 else
19664 ac_res=-l$ac_lib
19665 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19666 fi
19667 if test x$gcc_no_link = xyes; then
19668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 fi
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 ac_cv_search_nanosleep=$ac_res
19672 fi
19673 rm -f core conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext
19675 if test "${ac_cv_search_nanosleep+set}" = set; then :
19676 break
19677 fi
19678 done
19679 if test "${ac_cv_search_nanosleep+set}" = set; then :
19680
19681 else
19682 ac_cv_search_nanosleep=no
19683 fi
19684 rm conftest.$ac_ext
19685 LIBS=$ac_func_search_save_LIBS
19686 fi
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19688 $as_echo "$ac_cv_search_nanosleep" >&6; }
19689 ac_res=$ac_cv_search_nanosleep
19690 if test "$ac_res" != no; then :
19691 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19692
19693 fi
19694
19695 else
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19697 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19698 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 ac_func_search_save_LIBS=$LIBS
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704
19705 /* Override any GCC internal prototype to avoid an error.
19706 Use char because int might match the return type of a GCC
19707 builtin and then its argument prototype would still apply. */
19708 #ifdef __cplusplus
19709 extern "C"
19710 #endif
19711 char clock_gettime ();
19712 int
19713 main ()
19714 {
19715 return clock_gettime ();
19716 ;
19717 return 0;
19718 }
19719 _ACEOF
19720 for ac_lib in '' posix4; do
19721 if test -z "$ac_lib"; then
19722 ac_res="none required"
19723 else
19724 ac_res=-l$ac_lib
19725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19726 fi
19727 if test x$gcc_no_link = xyes; then
19728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19729 fi
19730 if ac_fn_cxx_try_link "$LINENO"; then :
19731 ac_cv_search_clock_gettime=$ac_res
19732 fi
19733 rm -f core conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext
19735 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19736 break
19737 fi
19738 done
19739 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19740
19741 else
19742 ac_cv_search_clock_gettime=no
19743 fi
19744 rm conftest.$ac_ext
19745 LIBS=$ac_func_search_save_LIBS
19746 fi
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19748 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19749 ac_res=$ac_cv_search_clock_gettime
19750 if test "$ac_res" != no; then :
19751 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19752
19753 fi
19754
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19756 $as_echo_n "checking for library containing nanosleep... " >&6; }
19757 if test "${ac_cv_search_nanosleep+set}" = set; then :
19758 $as_echo_n "(cached) " >&6
19759 else
19760 ac_func_search_save_LIBS=$LIBS
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19763
19764 /* Override any GCC internal prototype to avoid an error.
19765 Use char because int might match the return type of a GCC
19766 builtin and then its argument prototype would still apply. */
19767 #ifdef __cplusplus
19768 extern "C"
19769 #endif
19770 char nanosleep ();
19771 int
19772 main ()
19773 {
19774 return nanosleep ();
19775 ;
19776 return 0;
19777 }
19778 _ACEOF
19779 for ac_lib in '' posix4; do
19780 if test -z "$ac_lib"; then
19781 ac_res="none required"
19782 else
19783 ac_res=-l$ac_lib
19784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19785 fi
19786 if test x$gcc_no_link = xyes; then
19787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19788 fi
19789 if ac_fn_cxx_try_link "$LINENO"; then :
19790 ac_cv_search_nanosleep=$ac_res
19791 fi
19792 rm -f core conftest.err conftest.$ac_objext \
19793 conftest$ac_exeext
19794 if test "${ac_cv_search_nanosleep+set}" = set; then :
19795 break
19796 fi
19797 done
19798 if test "${ac_cv_search_nanosleep+set}" = set; then :
19799
19800 else
19801 ac_cv_search_nanosleep=no
19802 fi
19803 rm conftest.$ac_ext
19804 LIBS=$ac_func_search_save_LIBS
19805 fi
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19807 $as_echo "$ac_cv_search_nanosleep" >&6; }
19808 ac_res=$ac_cv_search_nanosleep
19809 if test "$ac_res" != no; then :
19810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19811
19812 fi
19813
19814 fi
19815
19816 case "$ac_cv_search_clock_gettime" in
19817 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19818 ;;
19819 esac
19820 case "$ac_cv_search_nanosleep" in
19821 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19822 ;;
19823 esac
19824
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19826 $as_echo_n "checking for library containing sched_yield... " >&6; }
19827 if test "${ac_cv_search_sched_yield+set}" = set; then :
19828 $as_echo_n "(cached) " >&6
19829 else
19830 ac_func_search_save_LIBS=$LIBS
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19833
19834 /* Override any GCC internal prototype to avoid an error.
19835 Use char because int might match the return type of a GCC
19836 builtin and then its argument prototype would still apply. */
19837 #ifdef __cplusplus
19838 extern "C"
19839 #endif
19840 char sched_yield ();
19841 int
19842 main ()
19843 {
19844 return sched_yield ();
19845 ;
19846 return 0;
19847 }
19848 _ACEOF
19849 for ac_lib in '' rt posix4; do
19850 if test -z "$ac_lib"; then
19851 ac_res="none required"
19852 else
19853 ac_res=-l$ac_lib
19854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19855 fi
19856 if test x$gcc_no_link = xyes; then
19857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19858 fi
19859 if ac_fn_cxx_try_link "$LINENO"; then :
19860 ac_cv_search_sched_yield=$ac_res
19861 fi
19862 rm -f core conftest.err conftest.$ac_objext \
19863 conftest$ac_exeext
19864 if test "${ac_cv_search_sched_yield+set}" = set; then :
19865 break
19866 fi
19867 done
19868 if test "${ac_cv_search_sched_yield+set}" = set; then :
19869
19870 else
19871 ac_cv_search_sched_yield=no
19872 fi
19873 rm conftest.$ac_ext
19874 LIBS=$ac_func_search_save_LIBS
19875 fi
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19877 $as_echo "$ac_cv_search_sched_yield" >&6; }
19878 ac_res=$ac_cv_search_sched_yield
19879 if test "$ac_res" != no; then :
19880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19881
19882 fi
19883
19884
19885 case "$ac_cv_search_sched_yield" in
19886 -lposix4*)
19887 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19888 ac_has_sched_yield=yes
19889 ;;
19890 -lrt*)
19891 if test x"$enable_libstdcxx_time" = x"rt"; then
19892 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19893 ac_has_sched_yield=yes
19894 fi
19895 ;;
19896 *)
19897 ac_has_sched_yield=yes
19898 ;;
19899 esac
19900
19901 for ac_header in unistd.h
19902 do :
19903 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19904 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19905 cat >>confdefs.h <<_ACEOF
19906 #define HAVE_UNISTD_H 1
19907 _ACEOF
19908 ac_has_unistd_h=yes
19909 else
19910 ac_has_unistd_h=no
19911 fi
19912
19913 done
19914
19915
19916 if test x"$ac_has_unistd_h" = x"yes"; then
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19918 $as_echo_n "checking for monotonic clock... " >&6; }
19919 if test x$gcc_no_link = xyes; then
19920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19921 fi
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <unistd.h>
19925 #include <time.h>
19926
19927 int
19928 main ()
19929 {
19930 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19931 timespec tp;
19932 #endif
19933 clock_gettime(CLOCK_MONOTONIC, &tp);
19934
19935 ;
19936 return 0;
19937 }
19938 _ACEOF
19939 if ac_fn_cxx_try_link "$LINENO"; then :
19940 ac_has_clock_monotonic=yes
19941 else
19942 ac_has_clock_monotonic=no
19943 fi
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19946
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19948 $as_echo "$ac_has_clock_monotonic" >&6; }
19949
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19951 $as_echo_n "checking for realtime clock... " >&6; }
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 fi
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19958 #include <time.h>
19959
19960 int
19961 main ()
19962 {
19963 #if _POSIX_TIMERS > 0
19964 timespec tp;
19965 #endif
19966 clock_gettime(CLOCK_REALTIME, &tp);
19967
19968 ;
19969 return 0;
19970 }
19971 _ACEOF
19972 if ac_fn_cxx_try_link "$LINENO"; then :
19973 ac_has_clock_realtime=yes
19974 else
19975 ac_has_clock_realtime=no
19976 fi
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19979
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19981 $as_echo "$ac_has_clock_realtime" >&6; }
19982
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19984 $as_echo_n "checking for nanosleep... " >&6; }
19985 if test x$gcc_no_link = xyes; then
19986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19987 fi
19988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #include <unistd.h>
19991 #include <time.h>
19992
19993 int
19994 main ()
19995 {
19996 #if _POSIX_TIMERS > 0
19997 timespec tp;
19998 #endif
19999 nanosleep(&tp, 0);
20000
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 if ac_fn_cxx_try_link "$LINENO"; then :
20006 ac_has_nanosleep=yes
20007 else
20008 ac_has_nanosleep=no
20009 fi
20010 rm -f core conftest.err conftest.$ac_objext \
20011 conftest$ac_exeext conftest.$ac_ext
20012
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20014 $as_echo "$ac_has_nanosleep" >&6; }
20015 fi
20016 fi
20017
20018 if test x"$ac_has_clock_monotonic" != x"yes"; then
20019 case ${target_os} in
20020 linux*)
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20022 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <unistd.h>
20026 #include <time.h>
20027 #include <sys/syscall.h>
20028
20029 int
20030 main ()
20031 {
20032 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20033 timespec tp;
20034 #endif
20035 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20036 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20037
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 if ac_fn_cxx_try_compile "$LINENO"; then :
20043 ac_has_clock_monotonic_syscall=yes
20044 else
20045 ac_has_clock_monotonic_syscall=no
20046 fi
20047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20049 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20050 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20051
20052 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20053
20054 ac_has_clock_monotonic=yes
20055 ac_has_clock_realtime=yes
20056 fi;;
20057 esac
20058 fi
20059
20060 if test x"$ac_has_clock_monotonic" = x"yes"; then
20061
20062 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20063
20064 fi
20065
20066 if test x"$ac_has_clock_realtime" = x"yes"; then
20067
20068 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20069
20070 fi
20071
20072 if test x"$ac_has_sched_yield" = x"yes"; then
20073
20074 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20075
20076 fi
20077
20078 if test x"$ac_has_nanosleep" = x"yes"; then
20079
20080 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20081
20082 else
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20084 $as_echo_n "checking for sleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <unistd.h>
20088 int
20089 main ()
20090 {
20091 sleep(1)
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_sleep=yes
20098 else
20099 ac_has_sleep=no
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 if test x"$ac_has_sleep" = x"yes"; then
20103
20104 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20105
20106 fi
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20108 $as_echo "$ac_has_sleep" >&6; }
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20110 $as_echo_n "checking for usleep... " >&6; }
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #include <unistd.h>
20114 int
20115 main ()
20116 {
20117 sleep(1);
20118 usleep(100);
20119 ;
20120 return 0;
20121 }
20122 _ACEOF
20123 if ac_fn_cxx_try_compile "$LINENO"; then :
20124 ac_has_usleep=yes
20125 else
20126 ac_has_usleep=no
20127 fi
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 if test x"$ac_has_usleep" = x"yes"; then
20130
20131 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20132
20133 fi
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20135 $as_echo "$ac_has_usleep" >&6; }
20136 fi
20137
20138 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20140 $as_echo_n "checking for Sleep... " >&6; }
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20143 #include <windows.h>
20144 int
20145 main ()
20146 {
20147 Sleep(1)
20148 ;
20149 return 0;
20150 }
20151 _ACEOF
20152 if ac_fn_cxx_try_compile "$LINENO"; then :
20153 ac_has_win32_sleep=yes
20154 else
20155 ac_has_win32_sleep=no
20156 fi
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 if test x"$ac_has_win32_sleep" = x"yes"; then
20159
20160 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20161
20162 fi
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20164 $as_echo "$ac_has_win32_sleep" >&6; }
20165 fi
20166
20167
20168
20169 CXXFLAGS="$ac_save_CXXFLAGS"
20170 LIBS="$ac_save_LIBS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20176
20177
20178
20179 # Check for tmpnam which is obsolescent in POSIX.1-2008
20180
20181 ac_ext=cpp
20182 ac_cpp='$CXXCPP $CPPFLAGS'
20183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20186
20187 ac_save_CXXFLAGS="$CXXFLAGS"
20188 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20190 $as_echo_n "checking for tmpnam... " >&6; }
20191 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20192 $as_echo_n "(cached) " >&6
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <stdio.h>
20198 int
20199 main ()
20200 {
20201 char *tmp = tmpnam(NULL);
20202 ;
20203 return 0;
20204 }
20205 _ACEOF
20206 if ac_fn_cxx_try_compile "$LINENO"; then :
20207 glibcxx_cv_TMPNAM=yes
20208 else
20209 glibcxx_cv_TMPNAM=no
20210 fi
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 else
20213 if test x$gcc_no_link = xyes; then
20214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20215 fi
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 #include <stdio.h>
20219 int
20220 main ()
20221 {
20222 char *tmp = tmpnam(NULL);
20223 ;
20224 return 0;
20225 }
20226 _ACEOF
20227 if ac_fn_cxx_try_link "$LINENO"; then :
20228 glibcxx_cv_TMPNAM=yes
20229 else
20230 glibcxx_cv_TMPNAM=no
20231 fi
20232 rm -f core conftest.err conftest.$ac_objext \
20233 conftest$ac_exeext conftest.$ac_ext
20234 fi
20235
20236 fi
20237
20238 if test $glibcxx_cv_TMPNAM = yes; then
20239
20240 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20241
20242 fi
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20244 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20245 CXXFLAGS="$ac_save_CXXFLAGS"
20246 ac_ext=c
20247 ac_cpp='$CPP $CPPFLAGS'
20248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20251
20252
20253
20254
20255 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20256 if test "x$ac_cv_header_locale_h" = x""yes; then :
20257
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20259 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20260 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20261 $as_echo_n "(cached) " >&6
20262 else
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <locale.h>
20266 int
20267 main ()
20268 {
20269 return LC_MESSAGES
20270 ;
20271 return 0;
20272 }
20273 _ACEOF
20274 if ac_fn_c_try_compile "$LINENO"; then :
20275 ac_cv_val_LC_MESSAGES=yes
20276 else
20277 ac_cv_val_LC_MESSAGES=no
20278 fi
20279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280 fi
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20282 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20283 if test $ac_cv_val_LC_MESSAGES = yes; then
20284
20285 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20286
20287 fi
20288
20289 fi
20290
20291
20292
20293
20294 # For hardware_concurrency
20295 for ac_header in sys/sysinfo.h
20296 do :
20297 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_SYS_SYSINFO_H 1
20301 _ACEOF
20302
20303 fi
20304
20305 done
20306
20307
20308
20309
20310 ac_ext=cpp
20311 ac_cpp='$CXXCPP $CPPFLAGS'
20312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20315
20316 ac_save_CXXFLAGS="$CXXFLAGS"
20317 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20318
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20320 $as_echo_n "checking for get_nprocs... " >&6; }
20321 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20323 else
20324
20325 if test x$gcc_no_link = xyes; then
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h. */
20328 #include <sys/sysinfo.h>
20329 int
20330 main ()
20331 {
20332 int n = get_nprocs();
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 if ac_fn_cxx_try_compile "$LINENO"; then :
20338 glibcxx_cv_GET_NPROCS=yes
20339 else
20340 glibcxx_cv_GET_NPROCS=no
20341 fi
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 else
20344 if test x$gcc_no_link = xyes; then
20345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20346 fi
20347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h. */
20349 #include <sys/sysinfo.h>
20350 int
20351 main ()
20352 {
20353 int n = get_nprocs();
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 if ac_fn_cxx_try_link "$LINENO"; then :
20359 glibcxx_cv_GET_NPROCS=yes
20360 else
20361 glibcxx_cv_GET_NPROCS=no
20362 fi
20363 rm -f core conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20365 fi
20366
20367 fi
20368
20369 if test $glibcxx_cv_GET_NPROCS = yes; then
20370
20371 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20372
20373 fi
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20375 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20376
20377 CXXFLAGS="$ac_save_CXXFLAGS"
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20383
20384
20385 for ac_header in unistd.h
20386 do :
20387 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20388 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20389 cat >>confdefs.h <<_ACEOF
20390 #define HAVE_UNISTD_H 1
20391 _ACEOF
20392
20393 fi
20394
20395 done
20396
20397
20398
20399
20400 ac_ext=cpp
20401 ac_cpp='$CXXCPP $CPPFLAGS'
20402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20405
20406 ac_save_CXXFLAGS="$CXXFLAGS"
20407 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20408
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20410 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20411 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20412 $as_echo_n "(cached) " >&6
20413 else
20414
20415 if test x$gcc_no_link = xyes; then
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h. */
20418 #include <unistd.h>
20419 int
20420 main ()
20421 {
20422 int n = sysconf(_SC_NPROCESSORS_ONLN);
20423 ;
20424 return 0;
20425 }
20426 _ACEOF
20427 if ac_fn_cxx_try_compile "$LINENO"; then :
20428 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20429 else
20430 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20431 fi
20432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 else
20434 if test x$gcc_no_link = xyes; then
20435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20436 fi
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20439 #include <unistd.h>
20440 int
20441 main ()
20442 {
20443 int n = sysconf(_SC_NPROCESSORS_ONLN);
20444 ;
20445 return 0;
20446 }
20447 _ACEOF
20448 if ac_fn_cxx_try_link "$LINENO"; then :
20449 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20450 else
20451 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20452 fi
20453 rm -f core conftest.err conftest.$ac_objext \
20454 conftest$ac_exeext conftest.$ac_ext
20455 fi
20456
20457 fi
20458
20459 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20460
20461 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20462
20463 fi
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20465 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20466
20467 CXXFLAGS="$ac_save_CXXFLAGS"
20468 ac_ext=c
20469 ac_cpp='$CPP $CPPFLAGS'
20470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20473
20474
20475
20476
20477
20478 ac_ext=cpp
20479 ac_cpp='$CXXCPP $CPPFLAGS'
20480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20483
20484 ac_save_CXXFLAGS="$CXXFLAGS"
20485 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20486
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20488 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20489 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20490 $as_echo_n "(cached) " >&6
20491 else
20492
20493 if test x$gcc_no_link = xyes; then
20494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20495 /* end confdefs.h. */
20496 #include <unistd.h>
20497 int
20498 main ()
20499 {
20500 int n = sysconf(_SC_NPROC_ONLN);
20501 ;
20502 return 0;
20503 }
20504 _ACEOF
20505 if ac_fn_cxx_try_compile "$LINENO"; then :
20506 glibcxx_cv_SC_NPROC_ONLN=yes
20507 else
20508 glibcxx_cv_SC_NPROC_ONLN=no
20509 fi
20510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20511 else
20512 if test x$gcc_no_link = xyes; then
20513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20514 fi
20515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516 /* end confdefs.h. */
20517 #include <unistd.h>
20518 int
20519 main ()
20520 {
20521 int n = sysconf(_SC_NPROC_ONLN);
20522 ;
20523 return 0;
20524 }
20525 _ACEOF
20526 if ac_fn_cxx_try_link "$LINENO"; then :
20527 glibcxx_cv_SC_NPROC_ONLN=yes
20528 else
20529 glibcxx_cv_SC_NPROC_ONLN=no
20530 fi
20531 rm -f core conftest.err conftest.$ac_objext \
20532 conftest$ac_exeext conftest.$ac_ext
20533 fi
20534
20535 fi
20536
20537 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20538
20539 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20540
20541 fi
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20543 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20544
20545 CXXFLAGS="$ac_save_CXXFLAGS"
20546 ac_ext=c
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20551
20552
20553
20554
20555
20556 ac_ext=cpp
20557 ac_cpp='$CXXCPP $CPPFLAGS'
20558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20561
20562 ac_save_CXXFLAGS="$CXXFLAGS"
20563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20564
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20566 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20567 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20568 $as_echo_n "(cached) " >&6
20569 else
20570
20571 if test x$gcc_no_link = xyes; then
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20574 #include <pthread.h>
20575 int
20576 main ()
20577 {
20578 int n = pthread_num_processors_np();
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 if ac_fn_cxx_try_compile "$LINENO"; then :
20584 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20585 else
20586 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20587 fi
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20589 else
20590 if test x$gcc_no_link = xyes; then
20591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20592 fi
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 #include <pthread.h>
20596 int
20597 main ()
20598 {
20599 int n = pthread_num_processors_np();
20600 ;
20601 return 0;
20602 }
20603 _ACEOF
20604 if ac_fn_cxx_try_link "$LINENO"; then :
20605 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20606 else
20607 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20608 fi
20609 rm -f core conftest.err conftest.$ac_objext \
20610 conftest$ac_exeext conftest.$ac_ext
20611 fi
20612
20613 fi
20614
20615 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20616
20617 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20618
20619 fi
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20621 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20622
20623 CXXFLAGS="$ac_save_CXXFLAGS"
20624 ac_ext=c
20625 ac_cpp='$CPP $CPPFLAGS'
20626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20629
20630
20631
20632
20633
20634 ac_ext=cpp
20635 ac_cpp='$CXXCPP $CPPFLAGS'
20636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20639
20640 ac_save_CXXFLAGS="$CXXFLAGS"
20641 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20642
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20644 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20645 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20648
20649 if test x$gcc_no_link = xyes; then
20650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20651 /* end confdefs.h. */
20652
20653 #include <stddef.h>
20654 #include <sys/sysctl.h>
20655
20656 int
20657 main ()
20658 {
20659
20660 int count;
20661 size_t size = sizeof(count);
20662 int mib[] = { CTL_HW, HW_NCPU };
20663 sysctl(mib, 2, &count, &size, NULL, 0);
20664
20665 ;
20666 return 0;
20667 }
20668 _ACEOF
20669 if ac_fn_cxx_try_compile "$LINENO"; then :
20670 glibcxx_cv_SYSCTL_HW_NCPU=yes
20671 else
20672 glibcxx_cv_SYSCTL_HW_NCPU=no
20673 fi
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 else
20676 if test x$gcc_no_link = xyes; then
20677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20678 fi
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20681
20682 #include <stddef.h>
20683 #include <sys/sysctl.h>
20684
20685 int
20686 main ()
20687 {
20688
20689 int count;
20690 size_t size = sizeof(count);
20691 int mib[] = { CTL_HW, HW_NCPU };
20692 sysctl(mib, 2, &count, &size, NULL, 0);
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 if ac_fn_cxx_try_link "$LINENO"; then :
20699 glibcxx_cv_SYSCTL_HW_NCPU=yes
20700 else
20701 glibcxx_cv_SYSCTL_HW_NCPU=no
20702 fi
20703 rm -f core conftest.err conftest.$ac_objext \
20704 conftest$ac_exeext conftest.$ac_ext
20705 fi
20706
20707 fi
20708
20709 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20710
20711 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20712
20713 fi
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20715 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20716
20717 CXXFLAGS="$ac_save_CXXFLAGS"
20718 ac_ext=c
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20723
20724
20725
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20727 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20728 # Note that this test has to be run with the C language.
20729 # Otherwise, sdt.h will try to include some headers from
20730 # libstdc++ itself.
20731
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20737
20738 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20739 $as_echo_n "(cached) " >&6
20740 else
20741
20742 # Because we have to run the test in C, we use grep rather
20743 # than the compiler to check for the bug. The bug is that
20744 # were strings without trailing whitespace, causing g++
20745 # to look for operator"". The pattern searches for the fixed
20746 # output.
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749
20750 #include <sys/sdt.h>
20751 int f() { STAP_PROBE(hi, bob); }
20752
20753 _ACEOF
20754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20755 $EGREP " \",\" " >/dev/null 2>&1; then :
20756 glibcxx_cv_sys_sdt_h=yes
20757 else
20758 glibcxx_cv_sys_sdt_h=no
20759 fi
20760 rm -f conftest*
20761
20762
20763 fi
20764
20765 ac_ext=c
20766 ac_cpp='$CPP $CPPFLAGS'
20767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20770
20771 if test $glibcxx_cv_sys_sdt_h = yes; then
20772
20773 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20774
20775 fi
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20777 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20778
20779
20780 # Check for available headers.
20781 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20782 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20783 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20784 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20785 wchar.h wctype.h
20786 do :
20787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20788 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20789 eval as_val=\$$as_ac_Header
20790 if test "x$as_val" = x""yes; then :
20791 cat >>confdefs.h <<_ACEOF
20792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20793 _ACEOF
20794
20795 fi
20796
20797 done
20798
20799
20800 # Only do link tests if native. Else, hardcode.
20801 if $GLIBCXX_IS_NATIVE; then
20802
20803 # We can do more elaborate tests that assume a working linker.
20804 CANADIAN=no
20805
20806
20807
20808 # Check whether --with-gnu-ld was given.
20809 if test "${with_gnu_ld+set}" = set; then :
20810 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20811 else
20812 with_gnu_ld=no
20813 fi
20814
20815 ac_prog=ld
20816 if test "$GCC" = yes; then
20817 # Check if gcc -print-prog-name=ld gives a path.
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20819 $as_echo_n "checking for ld used by $CC... " >&6; }
20820 case $host in
20821 *-*-mingw*)
20822 # gcc leaves a trailing carriage return which upsets mingw
20823 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20824 *)
20825 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20826 esac
20827 case $ac_prog in
20828 # Accept absolute paths.
20829 [\\/]* | ?:[\\/]*)
20830 re_direlt='/[^/][^/]*/\.\./'
20831 # Canonicalize the pathname of ld
20832 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20833 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20834 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20835 done
20836 test -z "$LD" && LD="$ac_prog"
20837 ;;
20838 "")
20839 # If it fails, then pretend we aren't using GCC.
20840 ac_prog=ld
20841 ;;
20842 *)
20843 # If it is relative, then search for the first ld in PATH.
20844 with_gnu_ld=unknown
20845 ;;
20846 esac
20847 elif test "$with_gnu_ld" = yes; then
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20849 $as_echo_n "checking for GNU ld... " >&6; }
20850 else
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20852 $as_echo_n "checking for non-GNU ld... " >&6; }
20853 fi
20854 if test "${lt_cv_path_LD+set}" = set; then :
20855 $as_echo_n "(cached) " >&6
20856 else
20857 if test -z "$LD"; then
20858 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20859 for ac_dir in $PATH; do
20860 IFS="$lt_save_ifs"
20861 test -z "$ac_dir" && ac_dir=.
20862 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20863 lt_cv_path_LD="$ac_dir/$ac_prog"
20864 # Check to see if the program is GNU ld. I'd rather use --version,
20865 # but apparently some variants of GNU ld only accept -v.
20866 # Break only if it was the GNU/non-GNU ld that we prefer.
20867 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20868 *GNU* | *'with BFD'*)
20869 test "$with_gnu_ld" != no && break
20870 ;;
20871 *)
20872 test "$with_gnu_ld" != yes && break
20873 ;;
20874 esac
20875 fi
20876 done
20877 IFS="$lt_save_ifs"
20878 else
20879 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20880 fi
20881 fi
20882
20883 LD="$lt_cv_path_LD"
20884 if test -n "$LD"; then
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20886 $as_echo "$LD" >&6; }
20887 else
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20889 $as_echo "no" >&6; }
20890 fi
20891 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20893 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20894 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20895 $as_echo_n "(cached) " >&6
20896 else
20897 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20898 case `$LD -v 2>&1 </dev/null` in
20899 *GNU* | *'with BFD'*)
20900 lt_cv_prog_gnu_ld=yes
20901 ;;
20902 *)
20903 lt_cv_prog_gnu_ld=no
20904 ;;
20905 esac
20906 fi
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20908 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20909 with_gnu_ld=$lt_cv_prog_gnu_ld
20910
20911
20912
20913
20914
20915
20916
20917 # If we're not using GNU ld, then there's no point in even trying these
20918 # tests. Check for that first. We should have already tested for gld
20919 # by now (in libtool), but require it now just to be safe...
20920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20922
20923
20924
20925 # The name set by libtool depends on the version of libtool. Shame on us
20926 # for depending on an impl detail, but c'est la vie. Older versions used
20927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20930 # set (hence we're using an older libtool), then set it.
20931 if test x${with_gnu_ld+set} != xset; then
20932 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20934 with_gnu_ld=no
20935 else
20936 with_gnu_ld=$ac_cv_prog_gnu_ld
20937 fi
20938 fi
20939
20940 # Start by getting the version number. I think the libtool test already
20941 # does some of this, but throws away the result.
20942 glibcxx_ld_is_gold=no
20943 if test x"$with_gnu_ld" = x"yes"; then
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20945 $as_echo_n "checking for ld version... " >&6; }
20946
20947 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20948 glibcxx_ld_is_gold=yes
20949 fi
20950 ldver=`$LD --version 2>/dev/null |
20951 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'`
20952
20953 glibcxx_gnu_ld_version=`echo $ldver | \
20954 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20956 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20957 fi
20958
20959 # Set --gc-sections.
20960 glibcxx_have_gc_sections=no
20961 if test "$glibcxx_ld_is_gold" = "yes"; then
20962 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20963 glibcxx_have_gc_sections=yes
20964 fi
20965 else
20966 glibcxx_gcsections_min_ld=21602
20967 if test x"$with_gnu_ld" = x"yes" &&
20968 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20969 glibcxx_have_gc_sections=yes
20970 fi
20971 fi
20972 if test "$glibcxx_have_gc_sections" = "yes"; then
20973 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20974 # NB: This flag only works reliably after 2.16.1. Configure tests
20975 # for this are difficult, so hard wire a value that should work.
20976
20977 ac_test_CFLAGS="${CFLAGS+set}"
20978 ac_save_CFLAGS="$CFLAGS"
20979 CFLAGS='-Wl,--gc-sections'
20980
20981 # Check for -Wl,--gc-sections
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20983 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986 fi
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 int one(void) { return 1; }
20990 int two(void) { return 2; }
20991
20992 int
20993 main ()
20994 {
20995 two();
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 if ac_fn_c_try_link "$LINENO"; then :
21001 ac_gcsections=yes
21002 else
21003 ac_gcsections=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext \
21006 conftest$ac_exeext conftest.$ac_ext
21007 if test "$ac_gcsections" = "yes"; then
21008 rm -f conftest.c
21009 touch conftest.c
21010 if $CC -c conftest.c; then
21011 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21012 grep "Warning: gc-sections option ignored" > /dev/null; then
21013 ac_gcsections=no
21014 fi
21015 fi
21016 rm -f conftest.c conftest.o conftest
21017 fi
21018 if test "$ac_gcsections" = "yes"; then
21019 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21020 fi
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21022 $as_echo "$ac_gcsections" >&6; }
21023
21024 if test "$ac_test_CFLAGS" = set; then
21025 CFLAGS="$ac_save_CFLAGS"
21026 else
21027 # this is the suspicious part
21028 CFLAGS=''
21029 fi
21030 fi
21031
21032 # Set -z,relro.
21033 # Note this is only for shared objects.
21034 ac_ld_relro=no
21035 if test x"$with_gnu_ld" = x"yes"; then
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21037 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21038 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21039 if test -n "$cxx_z_relo"; then
21040 OPT_LDFLAGS="-Wl,-z,relro"
21041 ac_ld_relro=yes
21042 fi
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21044 $as_echo "$ac_ld_relro" >&6; }
21045 fi
21046
21047 # Set linker optimization flags.
21048 if test x"$with_gnu_ld" = x"yes"; then
21049 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21050 fi
21051
21052
21053
21054
21055
21056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21057 ac_save_CXXFLAGS="$CXXFLAGS"
21058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21059
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21061 $as_echo_n "checking for sin in -lm... " >&6; }
21062 if test "${ac_cv_lib_m_sin+set}" = set; then :
21063 $as_echo_n "(cached) " >&6
21064 else
21065 ac_check_lib_save_LIBS=$LIBS
21066 LIBS="-lm $LIBS"
21067 if test x$gcc_no_link = xyes; then
21068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21069 fi
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072
21073 /* Override any GCC internal prototype to avoid an error.
21074 Use char because int might match the return type of a GCC
21075 builtin and then its argument prototype would still apply. */
21076 #ifdef __cplusplus
21077 extern "C"
21078 #endif
21079 char sin ();
21080 int
21081 main ()
21082 {
21083 return sin ();
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 if ac_fn_c_try_link "$LINENO"; then :
21089 ac_cv_lib_m_sin=yes
21090 else
21091 ac_cv_lib_m_sin=no
21092 fi
21093 rm -f core conftest.err conftest.$ac_objext \
21094 conftest$ac_exeext conftest.$ac_ext
21095 LIBS=$ac_check_lib_save_LIBS
21096 fi
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21098 $as_echo "$ac_cv_lib_m_sin" >&6; }
21099 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21100 libm="-lm"
21101 fi
21102
21103 ac_save_LIBS="$LIBS"
21104 LIBS="$LIBS $libm"
21105
21106
21107
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21109 $as_echo_n "checking for isinf declaration... " >&6; }
21110 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21111 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21112 $as_echo_n "(cached) " >&6
21113 else
21114
21115
21116 ac_ext=cpp
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21121
21122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21124 #include <math.h>
21125 #ifdef HAVE_IEEEFP_H
21126 #include <ieeefp.h>
21127 #endif
21128
21129 int
21130 main ()
21131 {
21132 isinf(0);
21133 ;
21134 return 0;
21135 }
21136 _ACEOF
21137 if ac_fn_cxx_try_compile "$LINENO"; then :
21138 glibcxx_cv_func_isinf_use=yes
21139 else
21140 glibcxx_cv_func_isinf_use=no
21141 fi
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 ac_ext=c
21144 ac_cpp='$CPP $CPPFLAGS'
21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148
21149
21150 fi
21151
21152 fi
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21154 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21155
21156 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21157 for ac_func in isinf
21158 do :
21159 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21160 if test "x$ac_cv_func_isinf" = x""yes; then :
21161 cat >>confdefs.h <<_ACEOF
21162 #define HAVE_ISINF 1
21163 _ACEOF
21164
21165 fi
21166 done
21167
21168 else
21169
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21171 $as_echo_n "checking for _isinf declaration... " >&6; }
21172 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21173 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21176
21177
21178 ac_ext=cpp
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21183
21184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21185 /* end confdefs.h. */
21186 #include <math.h>
21187 #ifdef HAVE_IEEEFP_H
21188 #include <ieeefp.h>
21189 #endif
21190
21191 int
21192 main ()
21193 {
21194 _isinf(0);
21195 ;
21196 return 0;
21197 }
21198 _ACEOF
21199 if ac_fn_cxx_try_compile "$LINENO"; then :
21200 glibcxx_cv_func__isinf_use=yes
21201 else
21202 glibcxx_cv_func__isinf_use=no
21203 fi
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 ac_ext=c
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21210
21211
21212 fi
21213
21214 fi
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21216 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21217
21218 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21219 for ac_func in _isinf
21220 do :
21221 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21222 if test "x$ac_cv_func__isinf" = x""yes; then :
21223 cat >>confdefs.h <<_ACEOF
21224 #define HAVE__ISINF 1
21225 _ACEOF
21226
21227 fi
21228 done
21229
21230 fi
21231 fi
21232
21233
21234
21235
21236
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21238 $as_echo_n "checking for isnan declaration... " >&6; }
21239 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21240 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21241 $as_echo_n "(cached) " >&6
21242 else
21243
21244
21245 ac_ext=cpp
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250
21251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21252 /* end confdefs.h. */
21253 #include <math.h>
21254 #ifdef HAVE_IEEEFP_H
21255 #include <ieeefp.h>
21256 #endif
21257
21258 int
21259 main ()
21260 {
21261 isnan(0);
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 if ac_fn_cxx_try_compile "$LINENO"; then :
21267 glibcxx_cv_func_isnan_use=yes
21268 else
21269 glibcxx_cv_func_isnan_use=no
21270 fi
21271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21272 ac_ext=c
21273 ac_cpp='$CPP $CPPFLAGS'
21274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21277
21278
21279 fi
21280
21281 fi
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21283 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21284
21285 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21286 for ac_func in isnan
21287 do :
21288 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21289 if test "x$ac_cv_func_isnan" = x""yes; then :
21290 cat >>confdefs.h <<_ACEOF
21291 #define HAVE_ISNAN 1
21292 _ACEOF
21293
21294 fi
21295 done
21296
21297 else
21298
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21300 $as_echo_n "checking for _isnan declaration... " >&6; }
21301 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21302 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21303 $as_echo_n "(cached) " >&6
21304 else
21305
21306
21307 ac_ext=cpp
21308 ac_cpp='$CXXCPP $CPPFLAGS'
21309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21312
21313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21315 #include <math.h>
21316 #ifdef HAVE_IEEEFP_H
21317 #include <ieeefp.h>
21318 #endif
21319
21320 int
21321 main ()
21322 {
21323 _isnan(0);
21324 ;
21325 return 0;
21326 }
21327 _ACEOF
21328 if ac_fn_cxx_try_compile "$LINENO"; then :
21329 glibcxx_cv_func__isnan_use=yes
21330 else
21331 glibcxx_cv_func__isnan_use=no
21332 fi
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334 ac_ext=c
21335 ac_cpp='$CPP $CPPFLAGS'
21336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21339
21340
21341 fi
21342
21343 fi
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21345 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21346
21347 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21348 for ac_func in _isnan
21349 do :
21350 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21351 if test "x$ac_cv_func__isnan" = x""yes; then :
21352 cat >>confdefs.h <<_ACEOF
21353 #define HAVE__ISNAN 1
21354 _ACEOF
21355
21356 fi
21357 done
21358
21359 fi
21360 fi
21361
21362
21363
21364
21365
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21367 $as_echo_n "checking for finite declaration... " >&6; }
21368 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21369 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21371 else
21372
21373
21374 ac_ext=cpp
21375 ac_cpp='$CXXCPP $CPPFLAGS'
21376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21379
21380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h. */
21382 #include <math.h>
21383 #ifdef HAVE_IEEEFP_H
21384 #include <ieeefp.h>
21385 #endif
21386
21387 int
21388 main ()
21389 {
21390 finite(0);
21391 ;
21392 return 0;
21393 }
21394 _ACEOF
21395 if ac_fn_cxx_try_compile "$LINENO"; then :
21396 glibcxx_cv_func_finite_use=yes
21397 else
21398 glibcxx_cv_func_finite_use=no
21399 fi
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21401 ac_ext=c
21402 ac_cpp='$CPP $CPPFLAGS'
21403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21406
21407
21408 fi
21409
21410 fi
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21412 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21413
21414 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21415 for ac_func in finite
21416 do :
21417 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21418 if test "x$ac_cv_func_finite" = x""yes; then :
21419 cat >>confdefs.h <<_ACEOF
21420 #define HAVE_FINITE 1
21421 _ACEOF
21422
21423 fi
21424 done
21425
21426 else
21427
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21429 $as_echo_n "checking for _finite declaration... " >&6; }
21430 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21431 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21434
21435
21436 ac_ext=cpp
21437 ac_cpp='$CXXCPP $CPPFLAGS'
21438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21441
21442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21444 #include <math.h>
21445 #ifdef HAVE_IEEEFP_H
21446 #include <ieeefp.h>
21447 #endif
21448
21449 int
21450 main ()
21451 {
21452 _finite(0);
21453 ;
21454 return 0;
21455 }
21456 _ACEOF
21457 if ac_fn_cxx_try_compile "$LINENO"; then :
21458 glibcxx_cv_func__finite_use=yes
21459 else
21460 glibcxx_cv_func__finite_use=no
21461 fi
21462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468
21469
21470 fi
21471
21472 fi
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21474 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21475
21476 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21477 for ac_func in _finite
21478 do :
21479 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21480 if test "x$ac_cv_func__finite" = x""yes; then :
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE__FINITE 1
21483 _ACEOF
21484
21485 fi
21486 done
21487
21488 fi
21489 fi
21490
21491
21492
21493
21494
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21496 $as_echo_n "checking for sincos declaration... " >&6; }
21497 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21498 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21499 $as_echo_n "(cached) " >&6
21500 else
21501
21502
21503 ac_ext=cpp
21504 ac_cpp='$CXXCPP $CPPFLAGS'
21505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21508
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h. */
21511 #include <math.h>
21512 int
21513 main ()
21514 {
21515 sincos(0, 0, 0);
21516 ;
21517 return 0;
21518 }
21519 _ACEOF
21520 if ac_fn_cxx_try_compile "$LINENO"; then :
21521 glibcxx_cv_func_sincos_use=yes
21522 else
21523 glibcxx_cv_func_sincos_use=no
21524 fi
21525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 ac_ext=c
21527 ac_cpp='$CPP $CPPFLAGS'
21528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21531
21532
21533 fi
21534
21535 fi
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21537 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21538
21539 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21540 for ac_func in sincos
21541 do :
21542 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21543 if test "x$ac_cv_func_sincos" = x""yes; then :
21544 cat >>confdefs.h <<_ACEOF
21545 #define HAVE_SINCOS 1
21546 _ACEOF
21547
21548 fi
21549 done
21550
21551 else
21552
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21554 $as_echo_n "checking for _sincos declaration... " >&6; }
21555 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21556 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21557 $as_echo_n "(cached) " >&6
21558 else
21559
21560
21561 ac_ext=cpp
21562 ac_cpp='$CXXCPP $CPPFLAGS'
21563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21566
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21569 #include <math.h>
21570 int
21571 main ()
21572 {
21573 _sincos(0, 0, 0);
21574 ;
21575 return 0;
21576 }
21577 _ACEOF
21578 if ac_fn_cxx_try_compile "$LINENO"; then :
21579 glibcxx_cv_func__sincos_use=yes
21580 else
21581 glibcxx_cv_func__sincos_use=no
21582 fi
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 ac_ext=c
21585 ac_cpp='$CPP $CPPFLAGS'
21586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21589
21590
21591 fi
21592
21593 fi
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21595 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21596
21597 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21598 for ac_func in _sincos
21599 do :
21600 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21601 if test "x$ac_cv_func__sincos" = x""yes; then :
21602 cat >>confdefs.h <<_ACEOF
21603 #define HAVE__SINCOS 1
21604 _ACEOF
21605
21606 fi
21607 done
21608
21609 fi
21610 fi
21611
21612
21613
21614
21615
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21617 $as_echo_n "checking for fpclass declaration... " >&6; }
21618 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21619 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21620 $as_echo_n "(cached) " >&6
21621 else
21622
21623
21624 ac_ext=cpp
21625 ac_cpp='$CXXCPP $CPPFLAGS'
21626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21629
21630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21631 /* end confdefs.h. */
21632 #include <math.h>
21633 #ifdef HAVE_IEEEFP_H
21634 #include <ieeefp.h>
21635 #endif
21636
21637 int
21638 main ()
21639 {
21640 fpclass(0);
21641 ;
21642 return 0;
21643 }
21644 _ACEOF
21645 if ac_fn_cxx_try_compile "$LINENO"; then :
21646 glibcxx_cv_func_fpclass_use=yes
21647 else
21648 glibcxx_cv_func_fpclass_use=no
21649 fi
21650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 ac_ext=c
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21656
21657
21658 fi
21659
21660 fi
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21662 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21663
21664 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21665 for ac_func in fpclass
21666 do :
21667 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21668 if test "x$ac_cv_func_fpclass" = x""yes; then :
21669 cat >>confdefs.h <<_ACEOF
21670 #define HAVE_FPCLASS 1
21671 _ACEOF
21672
21673 fi
21674 done
21675
21676 else
21677
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21679 $as_echo_n "checking for _fpclass declaration... " >&6; }
21680 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21681 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21682 $as_echo_n "(cached) " >&6
21683 else
21684
21685
21686 ac_ext=cpp
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21691
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <math.h>
21695 #ifdef HAVE_IEEEFP_H
21696 #include <ieeefp.h>
21697 #endif
21698
21699 int
21700 main ()
21701 {
21702 _fpclass(0);
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 if ac_fn_cxx_try_compile "$LINENO"; then :
21708 glibcxx_cv_func__fpclass_use=yes
21709 else
21710 glibcxx_cv_func__fpclass_use=no
21711 fi
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 ac_ext=c
21714 ac_cpp='$CPP $CPPFLAGS'
21715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21718
21719
21720 fi
21721
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21724 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21725
21726 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21727 for ac_func in _fpclass
21728 do :
21729 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21730 if test "x$ac_cv_func__fpclass" = x""yes; then :
21731 cat >>confdefs.h <<_ACEOF
21732 #define HAVE__FPCLASS 1
21733 _ACEOF
21734
21735 fi
21736 done
21737
21738 fi
21739 fi
21740
21741
21742
21743
21744
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21746 $as_echo_n "checking for qfpclass declaration... " >&6; }
21747 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21748 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21749 $as_echo_n "(cached) " >&6
21750 else
21751
21752
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21758
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21761 #include <math.h>
21762 #ifdef HAVE_IEEEFP_H
21763 #include <ieeefp.h>
21764 #endif
21765
21766 int
21767 main ()
21768 {
21769 qfpclass(0);
21770 ;
21771 return 0;
21772 }
21773 _ACEOF
21774 if ac_fn_cxx_try_compile "$LINENO"; then :
21775 glibcxx_cv_func_qfpclass_use=yes
21776 else
21777 glibcxx_cv_func_qfpclass_use=no
21778 fi
21779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 ac_ext=c
21781 ac_cpp='$CPP $CPPFLAGS'
21782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21785
21786
21787 fi
21788
21789 fi
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21791 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21792
21793 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21794 for ac_func in qfpclass
21795 do :
21796 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21797 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21798 cat >>confdefs.h <<_ACEOF
21799 #define HAVE_QFPCLASS 1
21800 _ACEOF
21801
21802 fi
21803 done
21804
21805 else
21806
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21808 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21809 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21810 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21811 $as_echo_n "(cached) " >&6
21812 else
21813
21814
21815 ac_ext=cpp
21816 ac_cpp='$CXXCPP $CPPFLAGS'
21817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21820
21821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21822 /* end confdefs.h. */
21823 #include <math.h>
21824 #ifdef HAVE_IEEEFP_H
21825 #include <ieeefp.h>
21826 #endif
21827
21828 int
21829 main ()
21830 {
21831 _qfpclass(0);
21832 ;
21833 return 0;
21834 }
21835 _ACEOF
21836 if ac_fn_cxx_try_compile "$LINENO"; then :
21837 glibcxx_cv_func__qfpclass_use=yes
21838 else
21839 glibcxx_cv_func__qfpclass_use=no
21840 fi
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 ac_ext=c
21843 ac_cpp='$CPP $CPPFLAGS'
21844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21847
21848
21849 fi
21850
21851 fi
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21853 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21854
21855 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21856 for ac_func in _qfpclass
21857 do :
21858 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21859 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21860 cat >>confdefs.h <<_ACEOF
21861 #define HAVE__QFPCLASS 1
21862 _ACEOF
21863
21864 fi
21865 done
21866
21867 fi
21868 fi
21869
21870
21871
21872
21873
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21875 $as_echo_n "checking for hypot declaration... " >&6; }
21876 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21877 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21878 $as_echo_n "(cached) " >&6
21879 else
21880
21881
21882 ac_ext=cpp
21883 ac_cpp='$CXXCPP $CPPFLAGS'
21884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21887
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21890 #include <math.h>
21891 int
21892 main ()
21893 {
21894 hypot(0, 0);
21895 ;
21896 return 0;
21897 }
21898 _ACEOF
21899 if ac_fn_cxx_try_compile "$LINENO"; then :
21900 glibcxx_cv_func_hypot_use=yes
21901 else
21902 glibcxx_cv_func_hypot_use=no
21903 fi
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 ac_ext=c
21906 ac_cpp='$CPP $CPPFLAGS'
21907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21910
21911
21912 fi
21913
21914 fi
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21916 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21917
21918 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21919 for ac_func in hypot
21920 do :
21921 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21922 if test "x$ac_cv_func_hypot" = x""yes; then :
21923 cat >>confdefs.h <<_ACEOF
21924 #define HAVE_HYPOT 1
21925 _ACEOF
21926
21927 fi
21928 done
21929
21930 else
21931
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21933 $as_echo_n "checking for _hypot declaration... " >&6; }
21934 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21935 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21936 $as_echo_n "(cached) " >&6
21937 else
21938
21939
21940 ac_ext=cpp
21941 ac_cpp='$CXXCPP $CPPFLAGS'
21942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21945
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h. */
21948 #include <math.h>
21949 int
21950 main ()
21951 {
21952 _hypot(0, 0);
21953 ;
21954 return 0;
21955 }
21956 _ACEOF
21957 if ac_fn_cxx_try_compile "$LINENO"; then :
21958 glibcxx_cv_func__hypot_use=yes
21959 else
21960 glibcxx_cv_func__hypot_use=no
21961 fi
21962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21963 ac_ext=c
21964 ac_cpp='$CPP $CPPFLAGS'
21965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968
21969
21970 fi
21971
21972 fi
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21974 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21975
21976 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21977 for ac_func in _hypot
21978 do :
21979 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21980 if test "x$ac_cv_func__hypot" = x""yes; then :
21981 cat >>confdefs.h <<_ACEOF
21982 #define HAVE__HYPOT 1
21983 _ACEOF
21984
21985 fi
21986 done
21987
21988 fi
21989 fi
21990
21991
21992
21993
21994
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21996 $as_echo_n "checking for float trig functions... " >&6; }
21997 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
21999 else
22000
22001
22002 ac_ext=cpp
22003 ac_cpp='$CXXCPP $CPPFLAGS'
22004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007
22008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009 /* end confdefs.h. */
22010 #include <math.h>
22011 int
22012 main ()
22013 {
22014 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22015 ;
22016 return 0;
22017 }
22018 _ACEOF
22019 if ac_fn_cxx_try_compile "$LINENO"; then :
22020 glibcxx_cv_func_float_trig_use=yes
22021 else
22022 glibcxx_cv_func_float_trig_use=no
22023 fi
22024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22025 ac_ext=c
22026 ac_cpp='$CPP $CPPFLAGS'
22027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22030
22031 fi
22032
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22034 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22035 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22036 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22037 do :
22038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22040 eval as_val=\$$as_ac_var
22041 if test "x$as_val" = x""yes; then :
22042 cat >>confdefs.h <<_ACEOF
22043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22044 _ACEOF
22045
22046 fi
22047 done
22048
22049 else
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22051 $as_echo_n "checking for _float trig functions... " >&6; }
22052 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22055
22056
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22062
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22065 #include <math.h>
22066 int
22067 main ()
22068 {
22069 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22070 ;
22071 return 0;
22072 }
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func__float_trig_use=yes
22076 else
22077 glibcxx_cv_func__float_trig_use=no
22078 fi
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22085
22086 fi
22087
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22089 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22090 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22091 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22092 do :
22093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22095 eval as_val=\$$as_ac_var
22096 if test "x$as_val" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 _ACEOF
22100
22101 fi
22102 done
22103
22104 fi
22105 fi
22106
22107
22108
22109
22110
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22112 $as_echo_n "checking for float round functions... " >&6; }
22113 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22114 $as_echo_n "(cached) " >&6
22115 else
22116
22117
22118 ac_ext=cpp
22119 ac_cpp='$CXXCPP $CPPFLAGS'
22120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22123
22124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22125 /* end confdefs.h. */
22126 #include <math.h>
22127 int
22128 main ()
22129 {
22130 ceilf (0); floorf (0);
22131 ;
22132 return 0;
22133 }
22134 _ACEOF
22135 if ac_fn_cxx_try_compile "$LINENO"; then :
22136 glibcxx_cv_func_float_round_use=yes
22137 else
22138 glibcxx_cv_func_float_round_use=no
22139 fi
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141 ac_ext=c
22142 ac_cpp='$CPP $CPPFLAGS'
22143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22146
22147 fi
22148
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22150 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22151 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22152 for ac_func in ceilf floorf
22153 do :
22154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22156 eval as_val=\$$as_ac_var
22157 if test "x$as_val" = x""yes; then :
22158 cat >>confdefs.h <<_ACEOF
22159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22160 _ACEOF
22161
22162 fi
22163 done
22164
22165 else
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22167 $as_echo_n "checking for _float round functions... " >&6; }
22168 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22171
22172
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22178
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22182 int
22183 main ()
22184 {
22185 _ceilf (0); _floorf (0);
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func__float_round_use=yes
22192 else
22193 glibcxx_cv_func__float_round_use=no
22194 fi
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201
22202 fi
22203
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22205 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22206 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22207 for ac_func in _ceilf _floorf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22216
22217 fi
22218 done
22219
22220 fi
22221 fi
22222
22223
22224
22225
22226
22227
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22229 $as_echo_n "checking for expf declaration... " >&6; }
22230 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22231 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22232 $as_echo_n "(cached) " >&6
22233 else
22234
22235
22236 ac_ext=cpp
22237 ac_cpp='$CXXCPP $CPPFLAGS'
22238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22241
22242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22244 #include <math.h>
22245 #ifdef HAVE_IEEEFP_H
22246 #include <ieeefp.h>
22247 #endif
22248
22249 int
22250 main ()
22251 {
22252 expf(0);
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 if ac_fn_cxx_try_compile "$LINENO"; then :
22258 glibcxx_cv_func_expf_use=yes
22259 else
22260 glibcxx_cv_func_expf_use=no
22261 fi
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 ac_ext=c
22264 ac_cpp='$CPP $CPPFLAGS'
22265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22268
22269
22270 fi
22271
22272 fi
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22274 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22275
22276 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22277 for ac_func in expf
22278 do :
22279 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22280 if test "x$ac_cv_func_expf" = x""yes; then :
22281 cat >>confdefs.h <<_ACEOF
22282 #define HAVE_EXPF 1
22283 _ACEOF
22284
22285 fi
22286 done
22287
22288 else
22289
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22291 $as_echo_n "checking for _expf declaration... " >&6; }
22292 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22293 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22294 $as_echo_n "(cached) " >&6
22295 else
22296
22297
22298 ac_ext=cpp
22299 ac_cpp='$CXXCPP $CPPFLAGS'
22300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22303
22304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22305 /* end confdefs.h. */
22306 #include <math.h>
22307 #ifdef HAVE_IEEEFP_H
22308 #include <ieeefp.h>
22309 #endif
22310
22311 int
22312 main ()
22313 {
22314 _expf(0);
22315 ;
22316 return 0;
22317 }
22318 _ACEOF
22319 if ac_fn_cxx_try_compile "$LINENO"; then :
22320 glibcxx_cv_func__expf_use=yes
22321 else
22322 glibcxx_cv_func__expf_use=no
22323 fi
22324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22325 ac_ext=c
22326 ac_cpp='$CPP $CPPFLAGS'
22327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22330
22331
22332 fi
22333
22334 fi
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22336 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22337
22338 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22339 for ac_func in _expf
22340 do :
22341 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22342 if test "x$ac_cv_func__expf" = x""yes; then :
22343 cat >>confdefs.h <<_ACEOF
22344 #define HAVE__EXPF 1
22345 _ACEOF
22346
22347 fi
22348 done
22349
22350 fi
22351 fi
22352
22353
22354
22355
22356
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22358 $as_echo_n "checking for isnanf declaration... " >&6; }
22359 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22360 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22361 $as_echo_n "(cached) " >&6
22362 else
22363
22364
22365 ac_ext=cpp
22366 ac_cpp='$CXXCPP $CPPFLAGS'
22367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22370
22371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22372 /* end confdefs.h. */
22373 #include <math.h>
22374 #ifdef HAVE_IEEEFP_H
22375 #include <ieeefp.h>
22376 #endif
22377
22378 int
22379 main ()
22380 {
22381 isnanf(0);
22382 ;
22383 return 0;
22384 }
22385 _ACEOF
22386 if ac_fn_cxx_try_compile "$LINENO"; then :
22387 glibcxx_cv_func_isnanf_use=yes
22388 else
22389 glibcxx_cv_func_isnanf_use=no
22390 fi
22391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22392 ac_ext=c
22393 ac_cpp='$CPP $CPPFLAGS'
22394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22397
22398
22399 fi
22400
22401 fi
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22403 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22404
22405 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22406 for ac_func in isnanf
22407 do :
22408 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22409 if test "x$ac_cv_func_isnanf" = x""yes; then :
22410 cat >>confdefs.h <<_ACEOF
22411 #define HAVE_ISNANF 1
22412 _ACEOF
22413
22414 fi
22415 done
22416
22417 else
22418
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22420 $as_echo_n "checking for _isnanf declaration... " >&6; }
22421 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22422 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22423 $as_echo_n "(cached) " >&6
22424 else
22425
22426
22427 ac_ext=cpp
22428 ac_cpp='$CXXCPP $CPPFLAGS'
22429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22432
22433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22434 /* end confdefs.h. */
22435 #include <math.h>
22436 #ifdef HAVE_IEEEFP_H
22437 #include <ieeefp.h>
22438 #endif
22439
22440 int
22441 main ()
22442 {
22443 _isnanf(0);
22444 ;
22445 return 0;
22446 }
22447 _ACEOF
22448 if ac_fn_cxx_try_compile "$LINENO"; then :
22449 glibcxx_cv_func__isnanf_use=yes
22450 else
22451 glibcxx_cv_func__isnanf_use=no
22452 fi
22453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22454 ac_ext=c
22455 ac_cpp='$CPP $CPPFLAGS'
22456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22459
22460
22461 fi
22462
22463 fi
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22465 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22466
22467 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22468 for ac_func in _isnanf
22469 do :
22470 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22471 if test "x$ac_cv_func__isnanf" = x""yes; then :
22472 cat >>confdefs.h <<_ACEOF
22473 #define HAVE__ISNANF 1
22474 _ACEOF
22475
22476 fi
22477 done
22478
22479 fi
22480 fi
22481
22482
22483
22484
22485
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22487 $as_echo_n "checking for isinff declaration... " >&6; }
22488 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22489 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22490 $as_echo_n "(cached) " >&6
22491 else
22492
22493
22494 ac_ext=cpp
22495 ac_cpp='$CXXCPP $CPPFLAGS'
22496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22499
22500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22501 /* end confdefs.h. */
22502 #include <math.h>
22503 #ifdef HAVE_IEEEFP_H
22504 #include <ieeefp.h>
22505 #endif
22506
22507 int
22508 main ()
22509 {
22510 isinff(0);
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 if ac_fn_cxx_try_compile "$LINENO"; then :
22516 glibcxx_cv_func_isinff_use=yes
22517 else
22518 glibcxx_cv_func_isinff_use=no
22519 fi
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526
22527
22528 fi
22529
22530 fi
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22532 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22533
22534 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22535 for ac_func in isinff
22536 do :
22537 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22538 if test "x$ac_cv_func_isinff" = x""yes; then :
22539 cat >>confdefs.h <<_ACEOF
22540 #define HAVE_ISINFF 1
22541 _ACEOF
22542
22543 fi
22544 done
22545
22546 else
22547
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22549 $as_echo_n "checking for _isinff declaration... " >&6; }
22550 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22551 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22552 $as_echo_n "(cached) " >&6
22553 else
22554
22555
22556 ac_ext=cpp
22557 ac_cpp='$CXXCPP $CPPFLAGS'
22558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22561
22562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22563 /* end confdefs.h. */
22564 #include <math.h>
22565 #ifdef HAVE_IEEEFP_H
22566 #include <ieeefp.h>
22567 #endif
22568
22569 int
22570 main ()
22571 {
22572 _isinff(0);
22573 ;
22574 return 0;
22575 }
22576 _ACEOF
22577 if ac_fn_cxx_try_compile "$LINENO"; then :
22578 glibcxx_cv_func__isinff_use=yes
22579 else
22580 glibcxx_cv_func__isinff_use=no
22581 fi
22582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22583 ac_ext=c
22584 ac_cpp='$CPP $CPPFLAGS'
22585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22588
22589
22590 fi
22591
22592 fi
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22594 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22595
22596 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22597 for ac_func in _isinff
22598 do :
22599 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22600 if test "x$ac_cv_func__isinff" = x""yes; then :
22601 cat >>confdefs.h <<_ACEOF
22602 #define HAVE__ISINFF 1
22603 _ACEOF
22604
22605 fi
22606 done
22607
22608 fi
22609 fi
22610
22611
22612
22613
22614
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22616 $as_echo_n "checking for atan2f declaration... " >&6; }
22617 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22618 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22619 $as_echo_n "(cached) " >&6
22620 else
22621
22622
22623 ac_ext=cpp
22624 ac_cpp='$CXXCPP $CPPFLAGS'
22625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628
22629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22631 #include <math.h>
22632 int
22633 main ()
22634 {
22635 atan2f(0, 0);
22636 ;
22637 return 0;
22638 }
22639 _ACEOF
22640 if ac_fn_cxx_try_compile "$LINENO"; then :
22641 glibcxx_cv_func_atan2f_use=yes
22642 else
22643 glibcxx_cv_func_atan2f_use=no
22644 fi
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 ac_ext=c
22647 ac_cpp='$CPP $CPPFLAGS'
22648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22651
22652
22653 fi
22654
22655 fi
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22657 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22658
22659 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22660 for ac_func in atan2f
22661 do :
22662 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22663 if test "x$ac_cv_func_atan2f" = x""yes; then :
22664 cat >>confdefs.h <<_ACEOF
22665 #define HAVE_ATAN2F 1
22666 _ACEOF
22667
22668 fi
22669 done
22670
22671 else
22672
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22674 $as_echo_n "checking for _atan2f declaration... " >&6; }
22675 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22676 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22677 $as_echo_n "(cached) " >&6
22678 else
22679
22680
22681 ac_ext=cpp
22682 ac_cpp='$CXXCPP $CPPFLAGS'
22683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22686
22687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22689 #include <math.h>
22690 int
22691 main ()
22692 {
22693 _atan2f(0, 0);
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 if ac_fn_cxx_try_compile "$LINENO"; then :
22699 glibcxx_cv_func__atan2f_use=yes
22700 else
22701 glibcxx_cv_func__atan2f_use=no
22702 fi
22703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22709
22710
22711 fi
22712
22713 fi
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22715 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22716
22717 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22718 for ac_func in _atan2f
22719 do :
22720 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22721 if test "x$ac_cv_func__atan2f" = x""yes; then :
22722 cat >>confdefs.h <<_ACEOF
22723 #define HAVE__ATAN2F 1
22724 _ACEOF
22725
22726 fi
22727 done
22728
22729 fi
22730 fi
22731
22732
22733
22734
22735
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22737 $as_echo_n "checking for fabsf declaration... " >&6; }
22738 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22739 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22740 $as_echo_n "(cached) " >&6
22741 else
22742
22743
22744 ac_ext=cpp
22745 ac_cpp='$CXXCPP $CPPFLAGS'
22746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22749
22750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22751 /* end confdefs.h. */
22752 #include <math.h>
22753 #ifdef HAVE_IEEEFP_H
22754 #include <ieeefp.h>
22755 #endif
22756
22757 int
22758 main ()
22759 {
22760 fabsf(0);
22761 ;
22762 return 0;
22763 }
22764 _ACEOF
22765 if ac_fn_cxx_try_compile "$LINENO"; then :
22766 glibcxx_cv_func_fabsf_use=yes
22767 else
22768 glibcxx_cv_func_fabsf_use=no
22769 fi
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 ac_ext=c
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22776
22777
22778 fi
22779
22780 fi
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22782 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22783
22784 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22785 for ac_func in fabsf
22786 do :
22787 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22788 if test "x$ac_cv_func_fabsf" = x""yes; then :
22789 cat >>confdefs.h <<_ACEOF
22790 #define HAVE_FABSF 1
22791 _ACEOF
22792
22793 fi
22794 done
22795
22796 else
22797
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22799 $as_echo_n "checking for _fabsf declaration... " >&6; }
22800 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22801 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22802 $as_echo_n "(cached) " >&6
22803 else
22804
22805
22806 ac_ext=cpp
22807 ac_cpp='$CXXCPP $CPPFLAGS'
22808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22811
22812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22813 /* end confdefs.h. */
22814 #include <math.h>
22815 #ifdef HAVE_IEEEFP_H
22816 #include <ieeefp.h>
22817 #endif
22818
22819 int
22820 main ()
22821 {
22822 _fabsf(0);
22823 ;
22824 return 0;
22825 }
22826 _ACEOF
22827 if ac_fn_cxx_try_compile "$LINENO"; then :
22828 glibcxx_cv_func__fabsf_use=yes
22829 else
22830 glibcxx_cv_func__fabsf_use=no
22831 fi
22832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22833 ac_ext=c
22834 ac_cpp='$CPP $CPPFLAGS'
22835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22838
22839
22840 fi
22841
22842 fi
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22844 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22845
22846 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22847 for ac_func in _fabsf
22848 do :
22849 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22850 if test "x$ac_cv_func__fabsf" = x""yes; then :
22851 cat >>confdefs.h <<_ACEOF
22852 #define HAVE__FABSF 1
22853 _ACEOF
22854
22855 fi
22856 done
22857
22858 fi
22859 fi
22860
22861
22862
22863
22864
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22866 $as_echo_n "checking for fmodf declaration... " >&6; }
22867 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22868 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22869 $as_echo_n "(cached) " >&6
22870 else
22871
22872
22873 ac_ext=cpp
22874 ac_cpp='$CXXCPP $CPPFLAGS'
22875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22878
22879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22880 /* end confdefs.h. */
22881 #include <math.h>
22882 int
22883 main ()
22884 {
22885 fmodf(0, 0);
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 if ac_fn_cxx_try_compile "$LINENO"; then :
22891 glibcxx_cv_func_fmodf_use=yes
22892 else
22893 glibcxx_cv_func_fmodf_use=no
22894 fi
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 ac_ext=c
22897 ac_cpp='$CPP $CPPFLAGS'
22898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22901
22902
22903 fi
22904
22905 fi
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22907 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22908
22909 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22910 for ac_func in fmodf
22911 do :
22912 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22913 if test "x$ac_cv_func_fmodf" = x""yes; then :
22914 cat >>confdefs.h <<_ACEOF
22915 #define HAVE_FMODF 1
22916 _ACEOF
22917
22918 fi
22919 done
22920
22921 else
22922
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22924 $as_echo_n "checking for _fmodf declaration... " >&6; }
22925 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22926 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22927 $as_echo_n "(cached) " >&6
22928 else
22929
22930
22931 ac_ext=cpp
22932 ac_cpp='$CXXCPP $CPPFLAGS'
22933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22936
22937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22938 /* end confdefs.h. */
22939 #include <math.h>
22940 int
22941 main ()
22942 {
22943 _fmodf(0, 0);
22944 ;
22945 return 0;
22946 }
22947 _ACEOF
22948 if ac_fn_cxx_try_compile "$LINENO"; then :
22949 glibcxx_cv_func__fmodf_use=yes
22950 else
22951 glibcxx_cv_func__fmodf_use=no
22952 fi
22953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22954 ac_ext=c
22955 ac_cpp='$CPP $CPPFLAGS'
22956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22959
22960
22961 fi
22962
22963 fi
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22965 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22966
22967 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22968 for ac_func in _fmodf
22969 do :
22970 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22971 if test "x$ac_cv_func__fmodf" = x""yes; then :
22972 cat >>confdefs.h <<_ACEOF
22973 #define HAVE__FMODF 1
22974 _ACEOF
22975
22976 fi
22977 done
22978
22979 fi
22980 fi
22981
22982
22983
22984
22985
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22987 $as_echo_n "checking for frexpf declaration... " >&6; }
22988 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22989 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22990 $as_echo_n "(cached) " >&6
22991 else
22992
22993
22994 ac_ext=cpp
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22999
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23002 #include <math.h>
23003 int
23004 main ()
23005 {
23006 frexpf(0, 0);
23007 ;
23008 return 0;
23009 }
23010 _ACEOF
23011 if ac_fn_cxx_try_compile "$LINENO"; then :
23012 glibcxx_cv_func_frexpf_use=yes
23013 else
23014 glibcxx_cv_func_frexpf_use=no
23015 fi
23016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23017 ac_ext=c
23018 ac_cpp='$CPP $CPPFLAGS'
23019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23022
23023
23024 fi
23025
23026 fi
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23028 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23029
23030 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23031 for ac_func in frexpf
23032 do :
23033 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23034 if test "x$ac_cv_func_frexpf" = x""yes; then :
23035 cat >>confdefs.h <<_ACEOF
23036 #define HAVE_FREXPF 1
23037 _ACEOF
23038
23039 fi
23040 done
23041
23042 else
23043
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23045 $as_echo_n "checking for _frexpf declaration... " >&6; }
23046 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23047 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23048 $as_echo_n "(cached) " >&6
23049 else
23050
23051
23052 ac_ext=cpp
23053 ac_cpp='$CXXCPP $CPPFLAGS'
23054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23057
23058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23059 /* end confdefs.h. */
23060 #include <math.h>
23061 int
23062 main ()
23063 {
23064 _frexpf(0, 0);
23065 ;
23066 return 0;
23067 }
23068 _ACEOF
23069 if ac_fn_cxx_try_compile "$LINENO"; then :
23070 glibcxx_cv_func__frexpf_use=yes
23071 else
23072 glibcxx_cv_func__frexpf_use=no
23073 fi
23074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23075 ac_ext=c
23076 ac_cpp='$CPP $CPPFLAGS'
23077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23080
23081
23082 fi
23083
23084 fi
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23086 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23087
23088 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23089 for ac_func in _frexpf
23090 do :
23091 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23092 if test "x$ac_cv_func__frexpf" = x""yes; then :
23093 cat >>confdefs.h <<_ACEOF
23094 #define HAVE__FREXPF 1
23095 _ACEOF
23096
23097 fi
23098 done
23099
23100 fi
23101 fi
23102
23103
23104
23105
23106
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23108 $as_echo_n "checking for hypotf declaration... " >&6; }
23109 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23110 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23111 $as_echo_n "(cached) " >&6
23112 else
23113
23114
23115 ac_ext=cpp
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23120
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23123 #include <math.h>
23124 int
23125 main ()
23126 {
23127 hypotf(0, 0);
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 if ac_fn_cxx_try_compile "$LINENO"; then :
23133 glibcxx_cv_func_hypotf_use=yes
23134 else
23135 glibcxx_cv_func_hypotf_use=no
23136 fi
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 ac_ext=c
23139 ac_cpp='$CPP $CPPFLAGS'
23140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23143
23144
23145 fi
23146
23147 fi
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23149 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23150
23151 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23152 for ac_func in hypotf
23153 do :
23154 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23155 if test "x$ac_cv_func_hypotf" = x""yes; then :
23156 cat >>confdefs.h <<_ACEOF
23157 #define HAVE_HYPOTF 1
23158 _ACEOF
23159
23160 fi
23161 done
23162
23163 else
23164
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23166 $as_echo_n "checking for _hypotf declaration... " >&6; }
23167 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23168 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23169 $as_echo_n "(cached) " >&6
23170 else
23171
23172
23173 ac_ext=cpp
23174 ac_cpp='$CXXCPP $CPPFLAGS'
23175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23178
23179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23180 /* end confdefs.h. */
23181 #include <math.h>
23182 int
23183 main ()
23184 {
23185 _hypotf(0, 0);
23186 ;
23187 return 0;
23188 }
23189 _ACEOF
23190 if ac_fn_cxx_try_compile "$LINENO"; then :
23191 glibcxx_cv_func__hypotf_use=yes
23192 else
23193 glibcxx_cv_func__hypotf_use=no
23194 fi
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23196 ac_ext=c
23197 ac_cpp='$CPP $CPPFLAGS'
23198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201
23202
23203 fi
23204
23205 fi
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23207 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23208
23209 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23210 for ac_func in _hypotf
23211 do :
23212 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23213 if test "x$ac_cv_func__hypotf" = x""yes; then :
23214 cat >>confdefs.h <<_ACEOF
23215 #define HAVE__HYPOTF 1
23216 _ACEOF
23217
23218 fi
23219 done
23220
23221 fi
23222 fi
23223
23224
23225
23226
23227
23228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23229 $as_echo_n "checking for ldexpf declaration... " >&6; }
23230 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23231 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23232 $as_echo_n "(cached) " >&6
23233 else
23234
23235
23236 ac_ext=cpp
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23241
23242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23243 /* end confdefs.h. */
23244 #include <math.h>
23245 int
23246 main ()
23247 {
23248 ldexpf(0, 0);
23249 ;
23250 return 0;
23251 }
23252 _ACEOF
23253 if ac_fn_cxx_try_compile "$LINENO"; then :
23254 glibcxx_cv_func_ldexpf_use=yes
23255 else
23256 glibcxx_cv_func_ldexpf_use=no
23257 fi
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 ac_ext=c
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23264
23265
23266 fi
23267
23268 fi
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23270 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23271
23272 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23273 for ac_func in ldexpf
23274 do :
23275 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23276 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23277 cat >>confdefs.h <<_ACEOF
23278 #define HAVE_LDEXPF 1
23279 _ACEOF
23280
23281 fi
23282 done
23283
23284 else
23285
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23287 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23288 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23289 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23290 $as_echo_n "(cached) " >&6
23291 else
23292
23293
23294 ac_ext=cpp
23295 ac_cpp='$CXXCPP $CPPFLAGS'
23296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23299
23300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23301 /* end confdefs.h. */
23302 #include <math.h>
23303 int
23304 main ()
23305 {
23306 _ldexpf(0, 0);
23307 ;
23308 return 0;
23309 }
23310 _ACEOF
23311 if ac_fn_cxx_try_compile "$LINENO"; then :
23312 glibcxx_cv_func__ldexpf_use=yes
23313 else
23314 glibcxx_cv_func__ldexpf_use=no
23315 fi
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23317 ac_ext=c
23318 ac_cpp='$CPP $CPPFLAGS'
23319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322
23323
23324 fi
23325
23326 fi
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23328 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23329
23330 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23331 for ac_func in _ldexpf
23332 do :
23333 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23334 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23335 cat >>confdefs.h <<_ACEOF
23336 #define HAVE__LDEXPF 1
23337 _ACEOF
23338
23339 fi
23340 done
23341
23342 fi
23343 fi
23344
23345
23346
23347
23348
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23350 $as_echo_n "checking for logf declaration... " >&6; }
23351 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23352 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23353 $as_echo_n "(cached) " >&6
23354 else
23355
23356
23357 ac_ext=cpp
23358 ac_cpp='$CXXCPP $CPPFLAGS'
23359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23362
23363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23364 /* end confdefs.h. */
23365 #include <math.h>
23366 #ifdef HAVE_IEEEFP_H
23367 #include <ieeefp.h>
23368 #endif
23369
23370 int
23371 main ()
23372 {
23373 logf(0);
23374 ;
23375 return 0;
23376 }
23377 _ACEOF
23378 if ac_fn_cxx_try_compile "$LINENO"; then :
23379 glibcxx_cv_func_logf_use=yes
23380 else
23381 glibcxx_cv_func_logf_use=no
23382 fi
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 ac_ext=c
23385 ac_cpp='$CPP $CPPFLAGS'
23386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23389
23390
23391 fi
23392
23393 fi
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23395 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23396
23397 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23398 for ac_func in logf
23399 do :
23400 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23401 if test "x$ac_cv_func_logf" = x""yes; then :
23402 cat >>confdefs.h <<_ACEOF
23403 #define HAVE_LOGF 1
23404 _ACEOF
23405
23406 fi
23407 done
23408
23409 else
23410
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23412 $as_echo_n "checking for _logf declaration... " >&6; }
23413 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23414 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23415 $as_echo_n "(cached) " >&6
23416 else
23417
23418
23419 ac_ext=cpp
23420 ac_cpp='$CXXCPP $CPPFLAGS'
23421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23424
23425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23426 /* end confdefs.h. */
23427 #include <math.h>
23428 #ifdef HAVE_IEEEFP_H
23429 #include <ieeefp.h>
23430 #endif
23431
23432 int
23433 main ()
23434 {
23435 _logf(0);
23436 ;
23437 return 0;
23438 }
23439 _ACEOF
23440 if ac_fn_cxx_try_compile "$LINENO"; then :
23441 glibcxx_cv_func__logf_use=yes
23442 else
23443 glibcxx_cv_func__logf_use=no
23444 fi
23445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23446 ac_ext=c
23447 ac_cpp='$CPP $CPPFLAGS'
23448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23451
23452
23453 fi
23454
23455 fi
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23457 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23458
23459 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23460 for ac_func in _logf
23461 do :
23462 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23463 if test "x$ac_cv_func__logf" = x""yes; then :
23464 cat >>confdefs.h <<_ACEOF
23465 #define HAVE__LOGF 1
23466 _ACEOF
23467
23468 fi
23469 done
23470
23471 fi
23472 fi
23473
23474
23475
23476
23477
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23479 $as_echo_n "checking for log10f declaration... " >&6; }
23480 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23481 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23482 $as_echo_n "(cached) " >&6
23483 else
23484
23485
23486 ac_ext=cpp
23487 ac_cpp='$CXXCPP $CPPFLAGS'
23488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23491
23492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23493 /* end confdefs.h. */
23494 #include <math.h>
23495 #ifdef HAVE_IEEEFP_H
23496 #include <ieeefp.h>
23497 #endif
23498
23499 int
23500 main ()
23501 {
23502 log10f(0);
23503 ;
23504 return 0;
23505 }
23506 _ACEOF
23507 if ac_fn_cxx_try_compile "$LINENO"; then :
23508 glibcxx_cv_func_log10f_use=yes
23509 else
23510 glibcxx_cv_func_log10f_use=no
23511 fi
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23513 ac_ext=c
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23518
23519
23520 fi
23521
23522 fi
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23524 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23525
23526 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23527 for ac_func in log10f
23528 do :
23529 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23530 if test "x$ac_cv_func_log10f" = x""yes; then :
23531 cat >>confdefs.h <<_ACEOF
23532 #define HAVE_LOG10F 1
23533 _ACEOF
23534
23535 fi
23536 done
23537
23538 else
23539
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23541 $as_echo_n "checking for _log10f declaration... " >&6; }
23542 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23543 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23544 $as_echo_n "(cached) " >&6
23545 else
23546
23547
23548 ac_ext=cpp
23549 ac_cpp='$CXXCPP $CPPFLAGS'
23550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23553
23554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h. */
23556 #include <math.h>
23557 #ifdef HAVE_IEEEFP_H
23558 #include <ieeefp.h>
23559 #endif
23560
23561 int
23562 main ()
23563 {
23564 _log10f(0);
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 if ac_fn_cxx_try_compile "$LINENO"; then :
23570 glibcxx_cv_func__log10f_use=yes
23571 else
23572 glibcxx_cv_func__log10f_use=no
23573 fi
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23575 ac_ext=c
23576 ac_cpp='$CPP $CPPFLAGS'
23577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23580
23581
23582 fi
23583
23584 fi
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23586 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23587
23588 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23589 for ac_func in _log10f
23590 do :
23591 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23592 if test "x$ac_cv_func__log10f" = x""yes; then :
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE__LOG10F 1
23595 _ACEOF
23596
23597 fi
23598 done
23599
23600 fi
23601 fi
23602
23603
23604
23605
23606
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23608 $as_echo_n "checking for modff declaration... " >&6; }
23609 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23610 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23611 $as_echo_n "(cached) " >&6
23612 else
23613
23614
23615 ac_ext=cpp
23616 ac_cpp='$CXXCPP $CPPFLAGS'
23617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23620
23621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h. */
23623 #include <math.h>
23624 int
23625 main ()
23626 {
23627 modff(0, 0);
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 if ac_fn_cxx_try_compile "$LINENO"; then :
23633 glibcxx_cv_func_modff_use=yes
23634 else
23635 glibcxx_cv_func_modff_use=no
23636 fi
23637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23638 ac_ext=c
23639 ac_cpp='$CPP $CPPFLAGS'
23640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23643
23644
23645 fi
23646
23647 fi
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23649 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23650
23651 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23652 for ac_func in modff
23653 do :
23654 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23655 if test "x$ac_cv_func_modff" = x""yes; then :
23656 cat >>confdefs.h <<_ACEOF
23657 #define HAVE_MODFF 1
23658 _ACEOF
23659
23660 fi
23661 done
23662
23663 else
23664
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23666 $as_echo_n "checking for _modff declaration... " >&6; }
23667 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23668 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23669 $as_echo_n "(cached) " >&6
23670 else
23671
23672
23673 ac_ext=cpp
23674 ac_cpp='$CXXCPP $CPPFLAGS'
23675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23678
23679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23680 /* end confdefs.h. */
23681 #include <math.h>
23682 int
23683 main ()
23684 {
23685 _modff(0, 0);
23686 ;
23687 return 0;
23688 }
23689 _ACEOF
23690 if ac_fn_cxx_try_compile "$LINENO"; then :
23691 glibcxx_cv_func__modff_use=yes
23692 else
23693 glibcxx_cv_func__modff_use=no
23694 fi
23695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696 ac_ext=c
23697 ac_cpp='$CPP $CPPFLAGS'
23698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23701
23702
23703 fi
23704
23705 fi
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23707 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23708
23709 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23710 for ac_func in _modff
23711 do :
23712 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23713 if test "x$ac_cv_func__modff" = x""yes; then :
23714 cat >>confdefs.h <<_ACEOF
23715 #define HAVE__MODFF 1
23716 _ACEOF
23717
23718 fi
23719 done
23720
23721 fi
23722 fi
23723
23724
23725
23726
23727
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23729 $as_echo_n "checking for modf declaration... " >&6; }
23730 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23731 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23732 $as_echo_n "(cached) " >&6
23733 else
23734
23735
23736 ac_ext=cpp
23737 ac_cpp='$CXXCPP $CPPFLAGS'
23738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23741
23742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23743 /* end confdefs.h. */
23744 #include <math.h>
23745 int
23746 main ()
23747 {
23748 modf(0, 0);
23749 ;
23750 return 0;
23751 }
23752 _ACEOF
23753 if ac_fn_cxx_try_compile "$LINENO"; then :
23754 glibcxx_cv_func_modf_use=yes
23755 else
23756 glibcxx_cv_func_modf_use=no
23757 fi
23758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23759 ac_ext=c
23760 ac_cpp='$CPP $CPPFLAGS'
23761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23764
23765
23766 fi
23767
23768 fi
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23770 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23771
23772 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23773 for ac_func in modf
23774 do :
23775 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23776 if test "x$ac_cv_func_modf" = x""yes; then :
23777 cat >>confdefs.h <<_ACEOF
23778 #define HAVE_MODF 1
23779 _ACEOF
23780
23781 fi
23782 done
23783
23784 else
23785
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23787 $as_echo_n "checking for _modf declaration... " >&6; }
23788 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23789 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23790 $as_echo_n "(cached) " >&6
23791 else
23792
23793
23794 ac_ext=cpp
23795 ac_cpp='$CXXCPP $CPPFLAGS'
23796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23799
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23802 #include <math.h>
23803 int
23804 main ()
23805 {
23806 _modf(0, 0);
23807 ;
23808 return 0;
23809 }
23810 _ACEOF
23811 if ac_fn_cxx_try_compile "$LINENO"; then :
23812 glibcxx_cv_func__modf_use=yes
23813 else
23814 glibcxx_cv_func__modf_use=no
23815 fi
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_ext=c
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23822
23823
23824 fi
23825
23826 fi
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23828 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23829
23830 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23831 for ac_func in _modf
23832 do :
23833 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23834 if test "x$ac_cv_func__modf" = x""yes; then :
23835 cat >>confdefs.h <<_ACEOF
23836 #define HAVE__MODF 1
23837 _ACEOF
23838
23839 fi
23840 done
23841
23842 fi
23843 fi
23844
23845
23846
23847
23848
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23850 $as_echo_n "checking for powf declaration... " >&6; }
23851 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23852 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23853 $as_echo_n "(cached) " >&6
23854 else
23855
23856
23857 ac_ext=cpp
23858 ac_cpp='$CXXCPP $CPPFLAGS'
23859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23862
23863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23864 /* end confdefs.h. */
23865 #include <math.h>
23866 int
23867 main ()
23868 {
23869 powf(0, 0);
23870 ;
23871 return 0;
23872 }
23873 _ACEOF
23874 if ac_fn_cxx_try_compile "$LINENO"; then :
23875 glibcxx_cv_func_powf_use=yes
23876 else
23877 glibcxx_cv_func_powf_use=no
23878 fi
23879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23880 ac_ext=c
23881 ac_cpp='$CPP $CPPFLAGS'
23882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23885
23886
23887 fi
23888
23889 fi
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23891 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23892
23893 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23894 for ac_func in powf
23895 do :
23896 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23897 if test "x$ac_cv_func_powf" = x""yes; then :
23898 cat >>confdefs.h <<_ACEOF
23899 #define HAVE_POWF 1
23900 _ACEOF
23901
23902 fi
23903 done
23904
23905 else
23906
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23908 $as_echo_n "checking for _powf declaration... " >&6; }
23909 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23910 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23911 $as_echo_n "(cached) " >&6
23912 else
23913
23914
23915 ac_ext=cpp
23916 ac_cpp='$CXXCPP $CPPFLAGS'
23917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23920
23921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23922 /* end confdefs.h. */
23923 #include <math.h>
23924 int
23925 main ()
23926 {
23927 _powf(0, 0);
23928 ;
23929 return 0;
23930 }
23931 _ACEOF
23932 if ac_fn_cxx_try_compile "$LINENO"; then :
23933 glibcxx_cv_func__powf_use=yes
23934 else
23935 glibcxx_cv_func__powf_use=no
23936 fi
23937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23938 ac_ext=c
23939 ac_cpp='$CPP $CPPFLAGS'
23940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23943
23944
23945 fi
23946
23947 fi
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23949 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23950
23951 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23952 for ac_func in _powf
23953 do :
23954 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23955 if test "x$ac_cv_func__powf" = x""yes; then :
23956 cat >>confdefs.h <<_ACEOF
23957 #define HAVE__POWF 1
23958 _ACEOF
23959
23960 fi
23961 done
23962
23963 fi
23964 fi
23965
23966
23967
23968
23969
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23971 $as_echo_n "checking for sqrtf declaration... " >&6; }
23972 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23973 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23974 $as_echo_n "(cached) " >&6
23975 else
23976
23977
23978 ac_ext=cpp
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23983
23984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23985 /* end confdefs.h. */
23986 #include <math.h>
23987 #ifdef HAVE_IEEEFP_H
23988 #include <ieeefp.h>
23989 #endif
23990
23991 int
23992 main ()
23993 {
23994 sqrtf(0);
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 if ac_fn_cxx_try_compile "$LINENO"; then :
24000 glibcxx_cv_func_sqrtf_use=yes
24001 else
24002 glibcxx_cv_func_sqrtf_use=no
24003 fi
24004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005 ac_ext=c
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24010
24011
24012 fi
24013
24014 fi
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24016 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24017
24018 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24019 for ac_func in sqrtf
24020 do :
24021 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24022 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24023 cat >>confdefs.h <<_ACEOF
24024 #define HAVE_SQRTF 1
24025 _ACEOF
24026
24027 fi
24028 done
24029
24030 else
24031
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24033 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24034 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24035 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24036 $as_echo_n "(cached) " >&6
24037 else
24038
24039
24040 ac_ext=cpp
24041 ac_cpp='$CXXCPP $CPPFLAGS'
24042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24045
24046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24047 /* end confdefs.h. */
24048 #include <math.h>
24049 #ifdef HAVE_IEEEFP_H
24050 #include <ieeefp.h>
24051 #endif
24052
24053 int
24054 main ()
24055 {
24056 _sqrtf(0);
24057 ;
24058 return 0;
24059 }
24060 _ACEOF
24061 if ac_fn_cxx_try_compile "$LINENO"; then :
24062 glibcxx_cv_func__sqrtf_use=yes
24063 else
24064 glibcxx_cv_func__sqrtf_use=no
24065 fi
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 ac_ext=c
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24072
24073
24074 fi
24075
24076 fi
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24078 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24079
24080 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24081 for ac_func in _sqrtf
24082 do :
24083 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24084 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24085 cat >>confdefs.h <<_ACEOF
24086 #define HAVE__SQRTF 1
24087 _ACEOF
24088
24089 fi
24090 done
24091
24092 fi
24093 fi
24094
24095
24096
24097
24098
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24100 $as_echo_n "checking for sincosf declaration... " >&6; }
24101 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24102 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24103 $as_echo_n "(cached) " >&6
24104 else
24105
24106
24107 ac_ext=cpp
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24112
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115 #include <math.h>
24116 int
24117 main ()
24118 {
24119 sincosf(0, 0, 0);
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 if ac_fn_cxx_try_compile "$LINENO"; then :
24125 glibcxx_cv_func_sincosf_use=yes
24126 else
24127 glibcxx_cv_func_sincosf_use=no
24128 fi
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24135
24136
24137 fi
24138
24139 fi
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24141 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24142
24143 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24144 for ac_func in sincosf
24145 do :
24146 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24147 if test "x$ac_cv_func_sincosf" = x""yes; then :
24148 cat >>confdefs.h <<_ACEOF
24149 #define HAVE_SINCOSF 1
24150 _ACEOF
24151
24152 fi
24153 done
24154
24155 else
24156
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24158 $as_echo_n "checking for _sincosf declaration... " >&6; }
24159 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24160 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24161 $as_echo_n "(cached) " >&6
24162 else
24163
24164
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24170
24171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24173 #include <math.h>
24174 int
24175 main ()
24176 {
24177 _sincosf(0, 0, 0);
24178 ;
24179 return 0;
24180 }
24181 _ACEOF
24182 if ac_fn_cxx_try_compile "$LINENO"; then :
24183 glibcxx_cv_func__sincosf_use=yes
24184 else
24185 glibcxx_cv_func__sincosf_use=no
24186 fi
24187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24188 ac_ext=c
24189 ac_cpp='$CPP $CPPFLAGS'
24190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24193
24194
24195 fi
24196
24197 fi
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24199 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24200
24201 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24202 for ac_func in _sincosf
24203 do :
24204 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24205 if test "x$ac_cv_func__sincosf" = x""yes; then :
24206 cat >>confdefs.h <<_ACEOF
24207 #define HAVE__SINCOSF 1
24208 _ACEOF
24209
24210 fi
24211 done
24212
24213 fi
24214 fi
24215
24216
24217
24218
24219
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24221 $as_echo_n "checking for finitef declaration... " >&6; }
24222 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24223 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24224 $as_echo_n "(cached) " >&6
24225 else
24226
24227
24228 ac_ext=cpp
24229 ac_cpp='$CXXCPP $CPPFLAGS'
24230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24233
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24235 /* end confdefs.h. */
24236 #include <math.h>
24237 #ifdef HAVE_IEEEFP_H
24238 #include <ieeefp.h>
24239 #endif
24240
24241 int
24242 main ()
24243 {
24244 finitef(0);
24245 ;
24246 return 0;
24247 }
24248 _ACEOF
24249 if ac_fn_cxx_try_compile "$LINENO"; then :
24250 glibcxx_cv_func_finitef_use=yes
24251 else
24252 glibcxx_cv_func_finitef_use=no
24253 fi
24254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24255 ac_ext=c
24256 ac_cpp='$CPP $CPPFLAGS'
24257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24260
24261
24262 fi
24263
24264 fi
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24266 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24267
24268 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24269 for ac_func in finitef
24270 do :
24271 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24272 if test "x$ac_cv_func_finitef" = x""yes; then :
24273 cat >>confdefs.h <<_ACEOF
24274 #define HAVE_FINITEF 1
24275 _ACEOF
24276
24277 fi
24278 done
24279
24280 else
24281
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24283 $as_echo_n "checking for _finitef declaration... " >&6; }
24284 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24285 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24286 $as_echo_n "(cached) " >&6
24287 else
24288
24289
24290 ac_ext=cpp
24291 ac_cpp='$CXXCPP $CPPFLAGS'
24292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24295
24296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24297 /* end confdefs.h. */
24298 #include <math.h>
24299 #ifdef HAVE_IEEEFP_H
24300 #include <ieeefp.h>
24301 #endif
24302
24303 int
24304 main ()
24305 {
24306 _finitef(0);
24307 ;
24308 return 0;
24309 }
24310 _ACEOF
24311 if ac_fn_cxx_try_compile "$LINENO"; then :
24312 glibcxx_cv_func__finitef_use=yes
24313 else
24314 glibcxx_cv_func__finitef_use=no
24315 fi
24316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24317 ac_ext=c
24318 ac_cpp='$CPP $CPPFLAGS'
24319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24322
24323
24324 fi
24325
24326 fi
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24328 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24329
24330 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24331 for ac_func in _finitef
24332 do :
24333 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24334 if test "x$ac_cv_func__finitef" = x""yes; then :
24335 cat >>confdefs.h <<_ACEOF
24336 #define HAVE__FINITEF 1
24337 _ACEOF
24338
24339 fi
24340 done
24341
24342 fi
24343 fi
24344
24345
24346
24347
24348
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24350 $as_echo_n "checking for long double trig functions... " >&6; }
24351 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24352 $as_echo_n "(cached) " >&6
24353 else
24354
24355
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361
24362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h. */
24364 #include <math.h>
24365 int
24366 main ()
24367 {
24368 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24369 ;
24370 return 0;
24371 }
24372 _ACEOF
24373 if ac_fn_cxx_try_compile "$LINENO"; then :
24374 glibcxx_cv_func_long_double_trig_use=yes
24375 else
24376 glibcxx_cv_func_long_double_trig_use=no
24377 fi
24378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24379 ac_ext=c
24380 ac_cpp='$CPP $CPPFLAGS'
24381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24384
24385 fi
24386
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24388 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24389 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24390 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24391 do :
24392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24394 eval as_val=\$$as_ac_var
24395 if test "x$as_val" = x""yes; then :
24396 cat >>confdefs.h <<_ACEOF
24397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24398 _ACEOF
24399
24400 fi
24401 done
24402
24403 else
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24405 $as_echo_n "checking for _long double trig functions... " >&6; }
24406 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24407 $as_echo_n "(cached) " >&6
24408 else
24409
24410
24411 ac_ext=cpp
24412 ac_cpp='$CXXCPP $CPPFLAGS'
24413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24416
24417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 /* end confdefs.h. */
24419 #include <math.h>
24420 int
24421 main ()
24422 {
24423 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24424 ;
24425 return 0;
24426 }
24427 _ACEOF
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429 glibcxx_cv_func__long_double_trig_use=yes
24430 else
24431 glibcxx_cv_func__long_double_trig_use=no
24432 fi
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24439
24440 fi
24441
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24443 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24444 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24445 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24446 do :
24447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24449 eval as_val=\$$as_ac_var
24450 if test "x$as_val" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24453 _ACEOF
24454
24455 fi
24456 done
24457
24458 fi
24459 fi
24460
24461
24462
24463
24464
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24466 $as_echo_n "checking for long double round functions... " >&6; }
24467 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24468 $as_echo_n "(cached) " >&6
24469 else
24470
24471
24472 ac_ext=cpp
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24477
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24480 #include <math.h>
24481 int
24482 main ()
24483 {
24484 ceill (0); floorl (0);
24485 ;
24486 return 0;
24487 }
24488 _ACEOF
24489 if ac_fn_cxx_try_compile "$LINENO"; then :
24490 glibcxx_cv_func_long_double_round_use=yes
24491 else
24492 glibcxx_cv_func_long_double_round_use=no
24493 fi
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 ac_ext=c
24496 ac_cpp='$CPP $CPPFLAGS'
24497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24500
24501 fi
24502
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24504 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24505 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24506 for ac_func in ceill floorl
24507 do :
24508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24510 eval as_val=\$$as_ac_var
24511 if test "x$as_val" = x""yes; then :
24512 cat >>confdefs.h <<_ACEOF
24513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24514 _ACEOF
24515
24516 fi
24517 done
24518
24519 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24521 $as_echo_n "checking for _long double round functions... " >&6; }
24522 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24525
24526
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24532
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24536 int
24537 main ()
24538 {
24539 _ceill (0); _floorl (0);
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func__long_double_round_use=yes
24546 else
24547 glibcxx_cv_func__long_double_round_use=no
24548 fi
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556 fi
24557
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24559 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24560 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24561 for ac_func in _ceill _floorl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 fi
24575 fi
24576
24577
24578
24579
24580
24581
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24583 $as_echo_n "checking for isnanl declaration... " >&6; }
24584 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24585 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24586 $as_echo_n "(cached) " >&6
24587 else
24588
24589
24590 ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24595
24596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24598 #include <math.h>
24599 #ifdef HAVE_IEEEFP_H
24600 #include <ieeefp.h>
24601 #endif
24602
24603 int
24604 main ()
24605 {
24606 isnanl(0);
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 if ac_fn_cxx_try_compile "$LINENO"; then :
24612 glibcxx_cv_func_isnanl_use=yes
24613 else
24614 glibcxx_cv_func_isnanl_use=no
24615 fi
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 ac_ext=c
24618 ac_cpp='$CPP $CPPFLAGS'
24619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24622
24623
24624 fi
24625
24626 fi
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24628 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24629
24630 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24631 for ac_func in isnanl
24632 do :
24633 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24634 if test "x$ac_cv_func_isnanl" = x""yes; then :
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE_ISNANL 1
24637 _ACEOF
24638
24639 fi
24640 done
24641
24642 else
24643
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24645 $as_echo_n "checking for _isnanl declaration... " >&6; }
24646 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24647 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24648 $as_echo_n "(cached) " >&6
24649 else
24650
24651
24652 ac_ext=cpp
24653 ac_cpp='$CXXCPP $CPPFLAGS'
24654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657
24658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24659 /* end confdefs.h. */
24660 #include <math.h>
24661 #ifdef HAVE_IEEEFP_H
24662 #include <ieeefp.h>
24663 #endif
24664
24665 int
24666 main ()
24667 {
24668 _isnanl(0);
24669 ;
24670 return 0;
24671 }
24672 _ACEOF
24673 if ac_fn_cxx_try_compile "$LINENO"; then :
24674 glibcxx_cv_func__isnanl_use=yes
24675 else
24676 glibcxx_cv_func__isnanl_use=no
24677 fi
24678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24679 ac_ext=c
24680 ac_cpp='$CPP $CPPFLAGS'
24681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684
24685
24686 fi
24687
24688 fi
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24690 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24691
24692 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24693 for ac_func in _isnanl
24694 do :
24695 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24696 if test "x$ac_cv_func__isnanl" = x""yes; then :
24697 cat >>confdefs.h <<_ACEOF
24698 #define HAVE__ISNANL 1
24699 _ACEOF
24700
24701 fi
24702 done
24703
24704 fi
24705 fi
24706
24707
24708
24709
24710
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24712 $as_echo_n "checking for isinfl declaration... " >&6; }
24713 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24714 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24715 $as_echo_n "(cached) " >&6
24716 else
24717
24718
24719 ac_ext=cpp
24720 ac_cpp='$CXXCPP $CPPFLAGS'
24721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24724
24725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h. */
24727 #include <math.h>
24728 #ifdef HAVE_IEEEFP_H
24729 #include <ieeefp.h>
24730 #endif
24731
24732 int
24733 main ()
24734 {
24735 isinfl(0);
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 if ac_fn_cxx_try_compile "$LINENO"; then :
24741 glibcxx_cv_func_isinfl_use=yes
24742 else
24743 glibcxx_cv_func_isinfl_use=no
24744 fi
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746 ac_ext=c
24747 ac_cpp='$CPP $CPPFLAGS'
24748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24751
24752
24753 fi
24754
24755 fi
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24757 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24758
24759 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24760 for ac_func in isinfl
24761 do :
24762 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24763 if test "x$ac_cv_func_isinfl" = x""yes; then :
24764 cat >>confdefs.h <<_ACEOF
24765 #define HAVE_ISINFL 1
24766 _ACEOF
24767
24768 fi
24769 done
24770
24771 else
24772
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24774 $as_echo_n "checking for _isinfl declaration... " >&6; }
24775 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24776 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24777 $as_echo_n "(cached) " >&6
24778 else
24779
24780
24781 ac_ext=cpp
24782 ac_cpp='$CXXCPP $CPPFLAGS'
24783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24786
24787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24788 /* end confdefs.h. */
24789 #include <math.h>
24790 #ifdef HAVE_IEEEFP_H
24791 #include <ieeefp.h>
24792 #endif
24793
24794 int
24795 main ()
24796 {
24797 _isinfl(0);
24798 ;
24799 return 0;
24800 }
24801 _ACEOF
24802 if ac_fn_cxx_try_compile "$LINENO"; then :
24803 glibcxx_cv_func__isinfl_use=yes
24804 else
24805 glibcxx_cv_func__isinfl_use=no
24806 fi
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808 ac_ext=c
24809 ac_cpp='$CPP $CPPFLAGS'
24810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24813
24814
24815 fi
24816
24817 fi
24818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24819 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24820
24821 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24822 for ac_func in _isinfl
24823 do :
24824 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24825 if test "x$ac_cv_func__isinfl" = x""yes; then :
24826 cat >>confdefs.h <<_ACEOF
24827 #define HAVE__ISINFL 1
24828 _ACEOF
24829
24830 fi
24831 done
24832
24833 fi
24834 fi
24835
24836
24837
24838
24839
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24841 $as_echo_n "checking for atan2l declaration... " >&6; }
24842 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24843 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24844 $as_echo_n "(cached) " >&6
24845 else
24846
24847
24848 ac_ext=cpp
24849 ac_cpp='$CXXCPP $CPPFLAGS'
24850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24853
24854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24855 /* end confdefs.h. */
24856 #include <math.h>
24857 int
24858 main ()
24859 {
24860 atan2l(0, 0);
24861 ;
24862 return 0;
24863 }
24864 _ACEOF
24865 if ac_fn_cxx_try_compile "$LINENO"; then :
24866 glibcxx_cv_func_atan2l_use=yes
24867 else
24868 glibcxx_cv_func_atan2l_use=no
24869 fi
24870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24871 ac_ext=c
24872 ac_cpp='$CPP $CPPFLAGS'
24873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24876
24877
24878 fi
24879
24880 fi
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24882 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24883
24884 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24885 for ac_func in atan2l
24886 do :
24887 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24888 if test "x$ac_cv_func_atan2l" = x""yes; then :
24889 cat >>confdefs.h <<_ACEOF
24890 #define HAVE_ATAN2L 1
24891 _ACEOF
24892
24893 fi
24894 done
24895
24896 else
24897
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24899 $as_echo_n "checking for _atan2l declaration... " >&6; }
24900 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24901 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24902 $as_echo_n "(cached) " >&6
24903 else
24904
24905
24906 ac_ext=cpp
24907 ac_cpp='$CXXCPP $CPPFLAGS'
24908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24911
24912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24913 /* end confdefs.h. */
24914 #include <math.h>
24915 int
24916 main ()
24917 {
24918 _atan2l(0, 0);
24919 ;
24920 return 0;
24921 }
24922 _ACEOF
24923 if ac_fn_cxx_try_compile "$LINENO"; then :
24924 glibcxx_cv_func__atan2l_use=yes
24925 else
24926 glibcxx_cv_func__atan2l_use=no
24927 fi
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24929 ac_ext=c
24930 ac_cpp='$CPP $CPPFLAGS'
24931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24934
24935
24936 fi
24937
24938 fi
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24940 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24941
24942 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24943 for ac_func in _atan2l
24944 do :
24945 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24946 if test "x$ac_cv_func__atan2l" = x""yes; then :
24947 cat >>confdefs.h <<_ACEOF
24948 #define HAVE__ATAN2L 1
24949 _ACEOF
24950
24951 fi
24952 done
24953
24954 fi
24955 fi
24956
24957
24958
24959
24960
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24962 $as_echo_n "checking for expl declaration... " >&6; }
24963 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24964 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24965 $as_echo_n "(cached) " >&6
24966 else
24967
24968
24969 ac_ext=cpp
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24974
24975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24976 /* end confdefs.h. */
24977 #include <math.h>
24978 #ifdef HAVE_IEEEFP_H
24979 #include <ieeefp.h>
24980 #endif
24981
24982 int
24983 main ()
24984 {
24985 expl(0);
24986 ;
24987 return 0;
24988 }
24989 _ACEOF
24990 if ac_fn_cxx_try_compile "$LINENO"; then :
24991 glibcxx_cv_func_expl_use=yes
24992 else
24993 glibcxx_cv_func_expl_use=no
24994 fi
24995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24996 ac_ext=c
24997 ac_cpp='$CPP $CPPFLAGS'
24998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25001
25002
25003 fi
25004
25005 fi
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25007 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25008
25009 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25010 for ac_func in expl
25011 do :
25012 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25013 if test "x$ac_cv_func_expl" = x""yes; then :
25014 cat >>confdefs.h <<_ACEOF
25015 #define HAVE_EXPL 1
25016 _ACEOF
25017
25018 fi
25019 done
25020
25021 else
25022
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25024 $as_echo_n "checking for _expl declaration... " >&6; }
25025 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25026 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25027 $as_echo_n "(cached) " >&6
25028 else
25029
25030
25031 ac_ext=cpp
25032 ac_cpp='$CXXCPP $CPPFLAGS'
25033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25036
25037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25038 /* end confdefs.h. */
25039 #include <math.h>
25040 #ifdef HAVE_IEEEFP_H
25041 #include <ieeefp.h>
25042 #endif
25043
25044 int
25045 main ()
25046 {
25047 _expl(0);
25048 ;
25049 return 0;
25050 }
25051 _ACEOF
25052 if ac_fn_cxx_try_compile "$LINENO"; then :
25053 glibcxx_cv_func__expl_use=yes
25054 else
25055 glibcxx_cv_func__expl_use=no
25056 fi
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25058 ac_ext=c
25059 ac_cpp='$CPP $CPPFLAGS'
25060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25063
25064
25065 fi
25066
25067 fi
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25069 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25070
25071 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25072 for ac_func in _expl
25073 do :
25074 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25075 if test "x$ac_cv_func__expl" = x""yes; then :
25076 cat >>confdefs.h <<_ACEOF
25077 #define HAVE__EXPL 1
25078 _ACEOF
25079
25080 fi
25081 done
25082
25083 fi
25084 fi
25085
25086
25087
25088
25089
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25091 $as_echo_n "checking for fabsl declaration... " >&6; }
25092 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25093 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25094 $as_echo_n "(cached) " >&6
25095 else
25096
25097
25098 ac_ext=cpp
25099 ac_cpp='$CXXCPP $CPPFLAGS'
25100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25103
25104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25105 /* end confdefs.h. */
25106 #include <math.h>
25107 #ifdef HAVE_IEEEFP_H
25108 #include <ieeefp.h>
25109 #endif
25110
25111 int
25112 main ()
25113 {
25114 fabsl(0);
25115 ;
25116 return 0;
25117 }
25118 _ACEOF
25119 if ac_fn_cxx_try_compile "$LINENO"; then :
25120 glibcxx_cv_func_fabsl_use=yes
25121 else
25122 glibcxx_cv_func_fabsl_use=no
25123 fi
25124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25125 ac_ext=c
25126 ac_cpp='$CPP $CPPFLAGS'
25127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25130
25131
25132 fi
25133
25134 fi
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25136 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25137
25138 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25139 for ac_func in fabsl
25140 do :
25141 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25142 if test "x$ac_cv_func_fabsl" = x""yes; then :
25143 cat >>confdefs.h <<_ACEOF
25144 #define HAVE_FABSL 1
25145 _ACEOF
25146
25147 fi
25148 done
25149
25150 else
25151
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25153 $as_echo_n "checking for _fabsl declaration... " >&6; }
25154 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25155 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25156 $as_echo_n "(cached) " >&6
25157 else
25158
25159
25160 ac_ext=cpp
25161 ac_cpp='$CXXCPP $CPPFLAGS'
25162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25165
25166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25167 /* end confdefs.h. */
25168 #include <math.h>
25169 #ifdef HAVE_IEEEFP_H
25170 #include <ieeefp.h>
25171 #endif
25172
25173 int
25174 main ()
25175 {
25176 _fabsl(0);
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 if ac_fn_cxx_try_compile "$LINENO"; then :
25182 glibcxx_cv_func__fabsl_use=yes
25183 else
25184 glibcxx_cv_func__fabsl_use=no
25185 fi
25186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25187 ac_ext=c
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25192
25193
25194 fi
25195
25196 fi
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25198 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25199
25200 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25201 for ac_func in _fabsl
25202 do :
25203 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25204 if test "x$ac_cv_func__fabsl" = x""yes; then :
25205 cat >>confdefs.h <<_ACEOF
25206 #define HAVE__FABSL 1
25207 _ACEOF
25208
25209 fi
25210 done
25211
25212 fi
25213 fi
25214
25215
25216
25217
25218
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25220 $as_echo_n "checking for fmodl declaration... " >&6; }
25221 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25222 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25223 $as_echo_n "(cached) " >&6
25224 else
25225
25226
25227 ac_ext=cpp
25228 ac_cpp='$CXXCPP $CPPFLAGS'
25229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25232
25233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25235 #include <math.h>
25236 int
25237 main ()
25238 {
25239 fmodl(0, 0);
25240 ;
25241 return 0;
25242 }
25243 _ACEOF
25244 if ac_fn_cxx_try_compile "$LINENO"; then :
25245 glibcxx_cv_func_fmodl_use=yes
25246 else
25247 glibcxx_cv_func_fmodl_use=no
25248 fi
25249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25250 ac_ext=c
25251 ac_cpp='$CPP $CPPFLAGS'
25252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25255
25256
25257 fi
25258
25259 fi
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25261 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25262
25263 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25264 for ac_func in fmodl
25265 do :
25266 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25267 if test "x$ac_cv_func_fmodl" = x""yes; then :
25268 cat >>confdefs.h <<_ACEOF
25269 #define HAVE_FMODL 1
25270 _ACEOF
25271
25272 fi
25273 done
25274
25275 else
25276
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25278 $as_echo_n "checking for _fmodl declaration... " >&6; }
25279 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25280 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25281 $as_echo_n "(cached) " >&6
25282 else
25283
25284
25285 ac_ext=cpp
25286 ac_cpp='$CXXCPP $CPPFLAGS'
25287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25290
25291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25292 /* end confdefs.h. */
25293 #include <math.h>
25294 int
25295 main ()
25296 {
25297 _fmodl(0, 0);
25298 ;
25299 return 0;
25300 }
25301 _ACEOF
25302 if ac_fn_cxx_try_compile "$LINENO"; then :
25303 glibcxx_cv_func__fmodl_use=yes
25304 else
25305 glibcxx_cv_func__fmodl_use=no
25306 fi
25307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25308 ac_ext=c
25309 ac_cpp='$CPP $CPPFLAGS'
25310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25313
25314
25315 fi
25316
25317 fi
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25319 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25320
25321 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25322 for ac_func in _fmodl
25323 do :
25324 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25325 if test "x$ac_cv_func__fmodl" = x""yes; then :
25326 cat >>confdefs.h <<_ACEOF
25327 #define HAVE__FMODL 1
25328 _ACEOF
25329
25330 fi
25331 done
25332
25333 fi
25334 fi
25335
25336
25337
25338
25339
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25341 $as_echo_n "checking for frexpl declaration... " >&6; }
25342 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25343 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25344 $as_echo_n "(cached) " >&6
25345 else
25346
25347
25348 ac_ext=cpp
25349 ac_cpp='$CXXCPP $CPPFLAGS'
25350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25353
25354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25356 #include <math.h>
25357 int
25358 main ()
25359 {
25360 frexpl(0, 0);
25361 ;
25362 return 0;
25363 }
25364 _ACEOF
25365 if ac_fn_cxx_try_compile "$LINENO"; then :
25366 glibcxx_cv_func_frexpl_use=yes
25367 else
25368 glibcxx_cv_func_frexpl_use=no
25369 fi
25370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25371 ac_ext=c
25372 ac_cpp='$CPP $CPPFLAGS'
25373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25376
25377
25378 fi
25379
25380 fi
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25382 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25383
25384 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25385 for ac_func in frexpl
25386 do :
25387 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25388 if test "x$ac_cv_func_frexpl" = x""yes; then :
25389 cat >>confdefs.h <<_ACEOF
25390 #define HAVE_FREXPL 1
25391 _ACEOF
25392
25393 fi
25394 done
25395
25396 else
25397
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25399 $as_echo_n "checking for _frexpl declaration... " >&6; }
25400 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25401 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25402 $as_echo_n "(cached) " >&6
25403 else
25404
25405
25406 ac_ext=cpp
25407 ac_cpp='$CXXCPP $CPPFLAGS'
25408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25411
25412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25413 /* end confdefs.h. */
25414 #include <math.h>
25415 int
25416 main ()
25417 {
25418 _frexpl(0, 0);
25419 ;
25420 return 0;
25421 }
25422 _ACEOF
25423 if ac_fn_cxx_try_compile "$LINENO"; then :
25424 glibcxx_cv_func__frexpl_use=yes
25425 else
25426 glibcxx_cv_func__frexpl_use=no
25427 fi
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429 ac_ext=c
25430 ac_cpp='$CPP $CPPFLAGS'
25431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25434
25435
25436 fi
25437
25438 fi
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25440 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25441
25442 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25443 for ac_func in _frexpl
25444 do :
25445 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25446 if test "x$ac_cv_func__frexpl" = x""yes; then :
25447 cat >>confdefs.h <<_ACEOF
25448 #define HAVE__FREXPL 1
25449 _ACEOF
25450
25451 fi
25452 done
25453
25454 fi
25455 fi
25456
25457
25458
25459
25460
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25462 $as_echo_n "checking for hypotl declaration... " >&6; }
25463 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25464 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25465 $as_echo_n "(cached) " >&6
25466 else
25467
25468
25469 ac_ext=cpp
25470 ac_cpp='$CXXCPP $CPPFLAGS'
25471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25474
25475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25476 /* end confdefs.h. */
25477 #include <math.h>
25478 int
25479 main ()
25480 {
25481 hypotl(0, 0);
25482 ;
25483 return 0;
25484 }
25485 _ACEOF
25486 if ac_fn_cxx_try_compile "$LINENO"; then :
25487 glibcxx_cv_func_hypotl_use=yes
25488 else
25489 glibcxx_cv_func_hypotl_use=no
25490 fi
25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25492 ac_ext=c
25493 ac_cpp='$CPP $CPPFLAGS'
25494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25497
25498
25499 fi
25500
25501 fi
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25503 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25504
25505 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25506 for ac_func in hypotl
25507 do :
25508 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25509 if test "x$ac_cv_func_hypotl" = x""yes; then :
25510 cat >>confdefs.h <<_ACEOF
25511 #define HAVE_HYPOTL 1
25512 _ACEOF
25513
25514 fi
25515 done
25516
25517 else
25518
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25520 $as_echo_n "checking for _hypotl declaration... " >&6; }
25521 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25522 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25523 $as_echo_n "(cached) " >&6
25524 else
25525
25526
25527 ac_ext=cpp
25528 ac_cpp='$CXXCPP $CPPFLAGS'
25529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25532
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h. */
25535 #include <math.h>
25536 int
25537 main ()
25538 {
25539 _hypotl(0, 0);
25540 ;
25541 return 0;
25542 }
25543 _ACEOF
25544 if ac_fn_cxx_try_compile "$LINENO"; then :
25545 glibcxx_cv_func__hypotl_use=yes
25546 else
25547 glibcxx_cv_func__hypotl_use=no
25548 fi
25549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25550 ac_ext=c
25551 ac_cpp='$CPP $CPPFLAGS'
25552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25555
25556
25557 fi
25558
25559 fi
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25561 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25562
25563 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25564 for ac_func in _hypotl
25565 do :
25566 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25567 if test "x$ac_cv_func__hypotl" = x""yes; then :
25568 cat >>confdefs.h <<_ACEOF
25569 #define HAVE__HYPOTL 1
25570 _ACEOF
25571
25572 fi
25573 done
25574
25575 fi
25576 fi
25577
25578
25579
25580
25581
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25583 $as_echo_n "checking for ldexpl declaration... " >&6; }
25584 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25585 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25586 $as_echo_n "(cached) " >&6
25587 else
25588
25589
25590 ac_ext=cpp
25591 ac_cpp='$CXXCPP $CPPFLAGS'
25592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25595
25596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25597 /* end confdefs.h. */
25598 #include <math.h>
25599 int
25600 main ()
25601 {
25602 ldexpl(0, 0);
25603 ;
25604 return 0;
25605 }
25606 _ACEOF
25607 if ac_fn_cxx_try_compile "$LINENO"; then :
25608 glibcxx_cv_func_ldexpl_use=yes
25609 else
25610 glibcxx_cv_func_ldexpl_use=no
25611 fi
25612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25613 ac_ext=c
25614 ac_cpp='$CPP $CPPFLAGS'
25615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618
25619
25620 fi
25621
25622 fi
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25624 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25625
25626 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25627 for ac_func in ldexpl
25628 do :
25629 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25630 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25631 cat >>confdefs.h <<_ACEOF
25632 #define HAVE_LDEXPL 1
25633 _ACEOF
25634
25635 fi
25636 done
25637
25638 else
25639
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25641 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25642 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25643 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25644 $as_echo_n "(cached) " >&6
25645 else
25646
25647
25648 ac_ext=cpp
25649 ac_cpp='$CXXCPP $CPPFLAGS'
25650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25653
25654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h. */
25656 #include <math.h>
25657 int
25658 main ()
25659 {
25660 _ldexpl(0, 0);
25661 ;
25662 return 0;
25663 }
25664 _ACEOF
25665 if ac_fn_cxx_try_compile "$LINENO"; then :
25666 glibcxx_cv_func__ldexpl_use=yes
25667 else
25668 glibcxx_cv_func__ldexpl_use=no
25669 fi
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671 ac_ext=c
25672 ac_cpp='$CPP $CPPFLAGS'
25673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25676
25677
25678 fi
25679
25680 fi
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25682 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25683
25684 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25685 for ac_func in _ldexpl
25686 do :
25687 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25688 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25689 cat >>confdefs.h <<_ACEOF
25690 #define HAVE__LDEXPL 1
25691 _ACEOF
25692
25693 fi
25694 done
25695
25696 fi
25697 fi
25698
25699
25700
25701
25702
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25704 $as_echo_n "checking for logl declaration... " >&6; }
25705 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25706 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25707 $as_echo_n "(cached) " >&6
25708 else
25709
25710
25711 ac_ext=cpp
25712 ac_cpp='$CXXCPP $CPPFLAGS'
25713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25716
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h. */
25719 #include <math.h>
25720 #ifdef HAVE_IEEEFP_H
25721 #include <ieeefp.h>
25722 #endif
25723
25724 int
25725 main ()
25726 {
25727 logl(0);
25728 ;
25729 return 0;
25730 }
25731 _ACEOF
25732 if ac_fn_cxx_try_compile "$LINENO"; then :
25733 glibcxx_cv_func_logl_use=yes
25734 else
25735 glibcxx_cv_func_logl_use=no
25736 fi
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25738 ac_ext=c
25739 ac_cpp='$CPP $CPPFLAGS'
25740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25743
25744
25745 fi
25746
25747 fi
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25749 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25750
25751 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25752 for ac_func in logl
25753 do :
25754 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25755 if test "x$ac_cv_func_logl" = x""yes; then :
25756 cat >>confdefs.h <<_ACEOF
25757 #define HAVE_LOGL 1
25758 _ACEOF
25759
25760 fi
25761 done
25762
25763 else
25764
25765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25766 $as_echo_n "checking for _logl declaration... " >&6; }
25767 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25768 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25769 $as_echo_n "(cached) " >&6
25770 else
25771
25772
25773 ac_ext=cpp
25774 ac_cpp='$CXXCPP $CPPFLAGS'
25775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25778
25779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25780 /* end confdefs.h. */
25781 #include <math.h>
25782 #ifdef HAVE_IEEEFP_H
25783 #include <ieeefp.h>
25784 #endif
25785
25786 int
25787 main ()
25788 {
25789 _logl(0);
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 if ac_fn_cxx_try_compile "$LINENO"; then :
25795 glibcxx_cv_func__logl_use=yes
25796 else
25797 glibcxx_cv_func__logl_use=no
25798 fi
25799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25800 ac_ext=c
25801 ac_cpp='$CPP $CPPFLAGS'
25802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25805
25806
25807 fi
25808
25809 fi
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25811 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25812
25813 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25814 for ac_func in _logl
25815 do :
25816 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25817 if test "x$ac_cv_func__logl" = x""yes; then :
25818 cat >>confdefs.h <<_ACEOF
25819 #define HAVE__LOGL 1
25820 _ACEOF
25821
25822 fi
25823 done
25824
25825 fi
25826 fi
25827
25828
25829
25830
25831
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25833 $as_echo_n "checking for log10l declaration... " >&6; }
25834 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25835 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25836 $as_echo_n "(cached) " >&6
25837 else
25838
25839
25840 ac_ext=cpp
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25845
25846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25847 /* end confdefs.h. */
25848 #include <math.h>
25849 #ifdef HAVE_IEEEFP_H
25850 #include <ieeefp.h>
25851 #endif
25852
25853 int
25854 main ()
25855 {
25856 log10l(0);
25857 ;
25858 return 0;
25859 }
25860 _ACEOF
25861 if ac_fn_cxx_try_compile "$LINENO"; then :
25862 glibcxx_cv_func_log10l_use=yes
25863 else
25864 glibcxx_cv_func_log10l_use=no
25865 fi
25866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25867 ac_ext=c
25868 ac_cpp='$CPP $CPPFLAGS'
25869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25872
25873
25874 fi
25875
25876 fi
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25878 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25879
25880 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25881 for ac_func in log10l
25882 do :
25883 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25884 if test "x$ac_cv_func_log10l" = x""yes; then :
25885 cat >>confdefs.h <<_ACEOF
25886 #define HAVE_LOG10L 1
25887 _ACEOF
25888
25889 fi
25890 done
25891
25892 else
25893
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25895 $as_echo_n "checking for _log10l declaration... " >&6; }
25896 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25897 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25898 $as_echo_n "(cached) " >&6
25899 else
25900
25901
25902 ac_ext=cpp
25903 ac_cpp='$CXXCPP $CPPFLAGS'
25904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25907
25908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25909 /* end confdefs.h. */
25910 #include <math.h>
25911 #ifdef HAVE_IEEEFP_H
25912 #include <ieeefp.h>
25913 #endif
25914
25915 int
25916 main ()
25917 {
25918 _log10l(0);
25919 ;
25920 return 0;
25921 }
25922 _ACEOF
25923 if ac_fn_cxx_try_compile "$LINENO"; then :
25924 glibcxx_cv_func__log10l_use=yes
25925 else
25926 glibcxx_cv_func__log10l_use=no
25927 fi
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25934
25935
25936 fi
25937
25938 fi
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25940 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25941
25942 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25943 for ac_func in _log10l
25944 do :
25945 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25946 if test "x$ac_cv_func__log10l" = x""yes; then :
25947 cat >>confdefs.h <<_ACEOF
25948 #define HAVE__LOG10L 1
25949 _ACEOF
25950
25951 fi
25952 done
25953
25954 fi
25955 fi
25956
25957
25958
25959
25960
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25962 $as_echo_n "checking for modfl declaration... " >&6; }
25963 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25964 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25965 $as_echo_n "(cached) " >&6
25966 else
25967
25968
25969 ac_ext=cpp
25970 ac_cpp='$CXXCPP $CPPFLAGS'
25971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25974
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h. */
25977 #include <math.h>
25978 int
25979 main ()
25980 {
25981 modfl(0, 0);
25982 ;
25983 return 0;
25984 }
25985 _ACEOF
25986 if ac_fn_cxx_try_compile "$LINENO"; then :
25987 glibcxx_cv_func_modfl_use=yes
25988 else
25989 glibcxx_cv_func_modfl_use=no
25990 fi
25991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 ac_ext=c
25993 ac_cpp='$CPP $CPPFLAGS'
25994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25997
25998
25999 fi
26000
26001 fi
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26003 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26004
26005 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26006 for ac_func in modfl
26007 do :
26008 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26009 if test "x$ac_cv_func_modfl" = x""yes; then :
26010 cat >>confdefs.h <<_ACEOF
26011 #define HAVE_MODFL 1
26012 _ACEOF
26013
26014 fi
26015 done
26016
26017 else
26018
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26020 $as_echo_n "checking for _modfl declaration... " >&6; }
26021 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26022 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26023 $as_echo_n "(cached) " >&6
26024 else
26025
26026
26027 ac_ext=cpp
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26032
26033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26035 #include <math.h>
26036 int
26037 main ()
26038 {
26039 _modfl(0, 0);
26040 ;
26041 return 0;
26042 }
26043 _ACEOF
26044 if ac_fn_cxx_try_compile "$LINENO"; then :
26045 glibcxx_cv_func__modfl_use=yes
26046 else
26047 glibcxx_cv_func__modfl_use=no
26048 fi
26049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26050 ac_ext=c
26051 ac_cpp='$CPP $CPPFLAGS'
26052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26055
26056
26057 fi
26058
26059 fi
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26061 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26062
26063 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26064 for ac_func in _modfl
26065 do :
26066 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26067 if test "x$ac_cv_func__modfl" = x""yes; then :
26068 cat >>confdefs.h <<_ACEOF
26069 #define HAVE__MODFL 1
26070 _ACEOF
26071
26072 fi
26073 done
26074
26075 fi
26076 fi
26077
26078
26079
26080
26081
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26083 $as_echo_n "checking for powl declaration... " >&6; }
26084 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26085 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26086 $as_echo_n "(cached) " >&6
26087 else
26088
26089
26090 ac_ext=cpp
26091 ac_cpp='$CXXCPP $CPPFLAGS'
26092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26095
26096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26097 /* end confdefs.h. */
26098 #include <math.h>
26099 int
26100 main ()
26101 {
26102 powl(0, 0);
26103 ;
26104 return 0;
26105 }
26106 _ACEOF
26107 if ac_fn_cxx_try_compile "$LINENO"; then :
26108 glibcxx_cv_func_powl_use=yes
26109 else
26110 glibcxx_cv_func_powl_use=no
26111 fi
26112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26113 ac_ext=c
26114 ac_cpp='$CPP $CPPFLAGS'
26115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26118
26119
26120 fi
26121
26122 fi
26123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26124 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26125
26126 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26127 for ac_func in powl
26128 do :
26129 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26130 if test "x$ac_cv_func_powl" = x""yes; then :
26131 cat >>confdefs.h <<_ACEOF
26132 #define HAVE_POWL 1
26133 _ACEOF
26134
26135 fi
26136 done
26137
26138 else
26139
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26141 $as_echo_n "checking for _powl declaration... " >&6; }
26142 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26143 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26144 $as_echo_n "(cached) " >&6
26145 else
26146
26147
26148 ac_ext=cpp
26149 ac_cpp='$CXXCPP $CPPFLAGS'
26150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26153
26154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26155 /* end confdefs.h. */
26156 #include <math.h>
26157 int
26158 main ()
26159 {
26160 _powl(0, 0);
26161 ;
26162 return 0;
26163 }
26164 _ACEOF
26165 if ac_fn_cxx_try_compile "$LINENO"; then :
26166 glibcxx_cv_func__powl_use=yes
26167 else
26168 glibcxx_cv_func__powl_use=no
26169 fi
26170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26171 ac_ext=c
26172 ac_cpp='$CPP $CPPFLAGS'
26173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26176
26177
26178 fi
26179
26180 fi
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26182 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26183
26184 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26185 for ac_func in _powl
26186 do :
26187 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26188 if test "x$ac_cv_func__powl" = x""yes; then :
26189 cat >>confdefs.h <<_ACEOF
26190 #define HAVE__POWL 1
26191 _ACEOF
26192
26193 fi
26194 done
26195
26196 fi
26197 fi
26198
26199
26200
26201
26202
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26204 $as_echo_n "checking for sqrtl declaration... " >&6; }
26205 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26206 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26208 else
26209
26210
26211 ac_ext=cpp
26212 ac_cpp='$CXXCPP $CPPFLAGS'
26213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26216
26217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26218 /* end confdefs.h. */
26219 #include <math.h>
26220 #ifdef HAVE_IEEEFP_H
26221 #include <ieeefp.h>
26222 #endif
26223
26224 int
26225 main ()
26226 {
26227 sqrtl(0);
26228 ;
26229 return 0;
26230 }
26231 _ACEOF
26232 if ac_fn_cxx_try_compile "$LINENO"; then :
26233 glibcxx_cv_func_sqrtl_use=yes
26234 else
26235 glibcxx_cv_func_sqrtl_use=no
26236 fi
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 ac_ext=c
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26243
26244
26245 fi
26246
26247 fi
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26249 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26250
26251 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26252 for ac_func in sqrtl
26253 do :
26254 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26255 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26256 cat >>confdefs.h <<_ACEOF
26257 #define HAVE_SQRTL 1
26258 _ACEOF
26259
26260 fi
26261 done
26262
26263 else
26264
26265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26266 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26267 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26268 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26269 $as_echo_n "(cached) " >&6
26270 else
26271
26272
26273 ac_ext=cpp
26274 ac_cpp='$CXXCPP $CPPFLAGS'
26275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26278
26279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26280 /* end confdefs.h. */
26281 #include <math.h>
26282 #ifdef HAVE_IEEEFP_H
26283 #include <ieeefp.h>
26284 #endif
26285
26286 int
26287 main ()
26288 {
26289 _sqrtl(0);
26290 ;
26291 return 0;
26292 }
26293 _ACEOF
26294 if ac_fn_cxx_try_compile "$LINENO"; then :
26295 glibcxx_cv_func__sqrtl_use=yes
26296 else
26297 glibcxx_cv_func__sqrtl_use=no
26298 fi
26299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26300 ac_ext=c
26301 ac_cpp='$CPP $CPPFLAGS'
26302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26305
26306
26307 fi
26308
26309 fi
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26311 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26312
26313 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26314 for ac_func in _sqrtl
26315 do :
26316 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26317 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26318 cat >>confdefs.h <<_ACEOF
26319 #define HAVE__SQRTL 1
26320 _ACEOF
26321
26322 fi
26323 done
26324
26325 fi
26326 fi
26327
26328
26329
26330
26331
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26333 $as_echo_n "checking for sincosl declaration... " >&6; }
26334 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26335 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26336 $as_echo_n "(cached) " >&6
26337 else
26338
26339
26340 ac_ext=cpp
26341 ac_cpp='$CXXCPP $CPPFLAGS'
26342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26345
26346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26347 /* end confdefs.h. */
26348 #include <math.h>
26349 int
26350 main ()
26351 {
26352 sincosl(0, 0, 0);
26353 ;
26354 return 0;
26355 }
26356 _ACEOF
26357 if ac_fn_cxx_try_compile "$LINENO"; then :
26358 glibcxx_cv_func_sincosl_use=yes
26359 else
26360 glibcxx_cv_func_sincosl_use=no
26361 fi
26362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26363 ac_ext=c
26364 ac_cpp='$CPP $CPPFLAGS'
26365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26368
26369
26370 fi
26371
26372 fi
26373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26374 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26375
26376 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26377 for ac_func in sincosl
26378 do :
26379 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26380 if test "x$ac_cv_func_sincosl" = x""yes; then :
26381 cat >>confdefs.h <<_ACEOF
26382 #define HAVE_SINCOSL 1
26383 _ACEOF
26384
26385 fi
26386 done
26387
26388 else
26389
26390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26391 $as_echo_n "checking for _sincosl declaration... " >&6; }
26392 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26393 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26394 $as_echo_n "(cached) " >&6
26395 else
26396
26397
26398 ac_ext=cpp
26399 ac_cpp='$CXXCPP $CPPFLAGS'
26400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26403
26404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26406 #include <math.h>
26407 int
26408 main ()
26409 {
26410 _sincosl(0, 0, 0);
26411 ;
26412 return 0;
26413 }
26414 _ACEOF
26415 if ac_fn_cxx_try_compile "$LINENO"; then :
26416 glibcxx_cv_func__sincosl_use=yes
26417 else
26418 glibcxx_cv_func__sincosl_use=no
26419 fi
26420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26421 ac_ext=c
26422 ac_cpp='$CPP $CPPFLAGS'
26423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26426
26427
26428 fi
26429
26430 fi
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26432 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26433
26434 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26435 for ac_func in _sincosl
26436 do :
26437 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26438 if test "x$ac_cv_func__sincosl" = x""yes; then :
26439 cat >>confdefs.h <<_ACEOF
26440 #define HAVE__SINCOSL 1
26441 _ACEOF
26442
26443 fi
26444 done
26445
26446 fi
26447 fi
26448
26449
26450
26451
26452
26453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26454 $as_echo_n "checking for finitel declaration... " >&6; }
26455 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26456 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26457 $as_echo_n "(cached) " >&6
26458 else
26459
26460
26461 ac_ext=cpp
26462 ac_cpp='$CXXCPP $CPPFLAGS'
26463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26466
26467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26468 /* end confdefs.h. */
26469 #include <math.h>
26470 #ifdef HAVE_IEEEFP_H
26471 #include <ieeefp.h>
26472 #endif
26473
26474 int
26475 main ()
26476 {
26477 finitel(0);
26478 ;
26479 return 0;
26480 }
26481 _ACEOF
26482 if ac_fn_cxx_try_compile "$LINENO"; then :
26483 glibcxx_cv_func_finitel_use=yes
26484 else
26485 glibcxx_cv_func_finitel_use=no
26486 fi
26487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26488 ac_ext=c
26489 ac_cpp='$CPP $CPPFLAGS'
26490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26493
26494
26495 fi
26496
26497 fi
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26499 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26500
26501 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26502 for ac_func in finitel
26503 do :
26504 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26505 if test "x$ac_cv_func_finitel" = x""yes; then :
26506 cat >>confdefs.h <<_ACEOF
26507 #define HAVE_FINITEL 1
26508 _ACEOF
26509
26510 fi
26511 done
26512
26513 else
26514
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26516 $as_echo_n "checking for _finitel declaration... " >&6; }
26517 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26518 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26519 $as_echo_n "(cached) " >&6
26520 else
26521
26522
26523 ac_ext=cpp
26524 ac_cpp='$CXXCPP $CPPFLAGS'
26525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26528
26529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26530 /* end confdefs.h. */
26531 #include <math.h>
26532 #ifdef HAVE_IEEEFP_H
26533 #include <ieeefp.h>
26534 #endif
26535
26536 int
26537 main ()
26538 {
26539 _finitel(0);
26540 ;
26541 return 0;
26542 }
26543 _ACEOF
26544 if ac_fn_cxx_try_compile "$LINENO"; then :
26545 glibcxx_cv_func__finitel_use=yes
26546 else
26547 glibcxx_cv_func__finitel_use=no
26548 fi
26549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26550 ac_ext=c
26551 ac_cpp='$CPP $CPPFLAGS'
26552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26555
26556
26557 fi
26558
26559 fi
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26561 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26562
26563 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26564 for ac_func in _finitel
26565 do :
26566 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26567 if test "x$ac_cv_func__finitel" = x""yes; then :
26568 cat >>confdefs.h <<_ACEOF
26569 #define HAVE__FINITEL 1
26570 _ACEOF
26571
26572 fi
26573 done
26574
26575 fi
26576 fi
26577
26578
26579
26580
26581 LIBS="$ac_save_LIBS"
26582 CXXFLAGS="$ac_save_CXXFLAGS"
26583
26584
26585 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26586 ac_save_CXXFLAGS="$CXXFLAGS"
26587 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26588
26589
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26591 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26592 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26593 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26594 $as_echo_n "(cached) " >&6
26595 else
26596
26597
26598 ac_ext=cpp
26599 ac_cpp='$CXXCPP $CPPFLAGS'
26600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26603
26604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26605 /* end confdefs.h. */
26606 #include <stdlib.h>
26607 int
26608 main ()
26609 {
26610 at_quick_exit(0);
26611 ;
26612 return 0;
26613 }
26614 _ACEOF
26615 if ac_fn_cxx_try_compile "$LINENO"; then :
26616 glibcxx_cv_func_at_quick_exit_use=yes
26617 else
26618 glibcxx_cv_func_at_quick_exit_use=no
26619 fi
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26621 ac_ext=c
26622 ac_cpp='$CPP $CPPFLAGS'
26623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26626
26627
26628 fi
26629
26630 fi
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26632 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26633 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26634 for ac_func in at_quick_exit
26635 do :
26636 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26637 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26638 cat >>confdefs.h <<_ACEOF
26639 #define HAVE_AT_QUICK_EXIT 1
26640 _ACEOF
26641
26642 fi
26643 done
26644
26645 fi
26646
26647
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26649 $as_echo_n "checking for quick_exit declaration... " >&6; }
26650 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26651 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26652 $as_echo_n "(cached) " >&6
26653 else
26654
26655
26656 ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26661
26662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26663 /* end confdefs.h. */
26664 #include <stdlib.h>
26665 int
26666 main ()
26667 {
26668 quick_exit(0);
26669 ;
26670 return 0;
26671 }
26672 _ACEOF
26673 if ac_fn_cxx_try_compile "$LINENO"; then :
26674 glibcxx_cv_func_quick_exit_use=yes
26675 else
26676 glibcxx_cv_func_quick_exit_use=no
26677 fi
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679 ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26684
26685
26686 fi
26687
26688 fi
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26690 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26691 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26692 for ac_func in quick_exit
26693 do :
26694 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26695 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26696 cat >>confdefs.h <<_ACEOF
26697 #define HAVE_QUICK_EXIT 1
26698 _ACEOF
26699
26700 fi
26701 done
26702
26703 fi
26704
26705
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26707 $as_echo_n "checking for strtold declaration... " >&6; }
26708 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26709 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26710 $as_echo_n "(cached) " >&6
26711 else
26712
26713
26714 ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26719
26720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h. */
26722 #include <stdlib.h>
26723 int
26724 main ()
26725 {
26726 strtold(0, 0);
26727 ;
26728 return 0;
26729 }
26730 _ACEOF
26731 if ac_fn_cxx_try_compile "$LINENO"; then :
26732 glibcxx_cv_func_strtold_use=yes
26733 else
26734 glibcxx_cv_func_strtold_use=no
26735 fi
26736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737 ac_ext=c
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742
26743
26744 fi
26745
26746 fi
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26748 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26749 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26750 for ac_func in strtold
26751 do :
26752 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26753 if test "x$ac_cv_func_strtold" = x""yes; then :
26754 cat >>confdefs.h <<_ACEOF
26755 #define HAVE_STRTOLD 1
26756 _ACEOF
26757
26758 fi
26759 done
26760
26761 fi
26762
26763
26764
26765
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26767 $as_echo_n "checking for strtof declaration... " >&6; }
26768 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26769 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26770 $as_echo_n "(cached) " >&6
26771 else
26772
26773
26774 ac_ext=cpp
26775 ac_cpp='$CXXCPP $CPPFLAGS'
26776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26779
26780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26782 #include <stdlib.h>
26783 int
26784 main ()
26785 {
26786 strtof(0, 0);
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 if ac_fn_cxx_try_compile "$LINENO"; then :
26792 glibcxx_cv_func_strtof_use=yes
26793 else
26794 glibcxx_cv_func_strtof_use=no
26795 fi
26796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26797 ac_ext=c
26798 ac_cpp='$CPP $CPPFLAGS'
26799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26802
26803
26804 fi
26805
26806 fi
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26808 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26809 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26810 for ac_func in strtof
26811 do :
26812 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26813 if test "x$ac_cv_func_strtof" = x""yes; then :
26814 cat >>confdefs.h <<_ACEOF
26815 #define HAVE_STRTOF 1
26816 _ACEOF
26817
26818 fi
26819 done
26820
26821 fi
26822
26823
26824
26825
26826 CXXFLAGS="$ac_save_CXXFLAGS"
26827
26828
26829 # For /dev/random and /dev/urandom for TR1.
26830
26831
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26833 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26834 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26835 $as_echo_n "(cached) " >&6
26836 else
26837
26838 if test -r /dev/random && test -r /dev/urandom; then
26839 ## For MSys environment the test above is detect as false-positive
26840 ## on mingw-targets. So disable it explicit for them.
26841 case ${target_os} in
26842 *mingw*) glibcxx_cv_random_tr1=no ;;
26843 *) glibcxx_cv_random_tr1=yes ;;
26844 esac
26845 else
26846 glibcxx_cv_random_tr1=no;
26847 fi
26848
26849 fi
26850
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26852 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26853
26854 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26855
26856 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26857
26858 fi
26859
26860
26861
26862 # For TLS support.
26863
26864
26865 # Check whether --enable-tls was given.
26866 if test "${enable_tls+set}" = set; then :
26867 enableval=$enable_tls;
26868 case "$enableval" in
26869 yes|no) ;;
26870 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26871 esac
26872
26873 else
26874 enable_tls=yes
26875 fi
26876
26877
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26879 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26880 if test "${gcc_cv_have_tls+set}" = set; then :
26881 $as_echo_n "(cached) " >&6
26882 else
26883
26884 if test "$cross_compiling" = yes; then :
26885 if test x$gcc_no_link = xyes; then
26886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26887 fi
26888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26889 /* end confdefs.h. */
26890 __thread int a; int b; int main() { return a = b; }
26891 _ACEOF
26892 if ac_fn_c_try_link "$LINENO"; then :
26893 chktls_save_LDFLAGS="$LDFLAGS"
26894 case $host in
26895 *-*-linux*)
26896 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26897 ;;
26898 esac
26899 chktls_save_CFLAGS="$CFLAGS"
26900 CFLAGS="-fPIC $CFLAGS"
26901 if test x$gcc_no_link = xyes; then
26902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26903 fi
26904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26905 /* end confdefs.h. */
26906 int f() { return 0; }
26907 _ACEOF
26908 if ac_fn_c_try_link "$LINENO"; then :
26909 if test x$gcc_no_link = xyes; then
26910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26911 fi
26912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26913 /* end confdefs.h. */
26914 __thread int a; int b; int f() { return a = b; }
26915 _ACEOF
26916 if ac_fn_c_try_link "$LINENO"; then :
26917 gcc_cv_have_tls=yes
26918 else
26919 gcc_cv_have_tls=no
26920 fi
26921 rm -f core conftest.err conftest.$ac_objext \
26922 conftest$ac_exeext conftest.$ac_ext
26923 else
26924 gcc_cv_have_tls=yes
26925 fi
26926 rm -f core conftest.err conftest.$ac_objext \
26927 conftest$ac_exeext conftest.$ac_ext
26928 CFLAGS="$chktls_save_CFLAGS"
26929 LDFLAGS="$chktls_save_LDFLAGS"
26930 else
26931 gcc_cv_have_tls=no
26932 fi
26933 rm -f core conftest.err conftest.$ac_objext \
26934 conftest$ac_exeext conftest.$ac_ext
26935
26936
26937 else
26938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26939 /* end confdefs.h. */
26940 __thread int a; int b; int main() { return a = b; }
26941 _ACEOF
26942 if ac_fn_c_try_run "$LINENO"; then :
26943 chktls_save_LDFLAGS="$LDFLAGS"
26944 LDFLAGS="-static $LDFLAGS"
26945 if test x$gcc_no_link = xyes; then
26946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26947 fi
26948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26949 /* end confdefs.h. */
26950 int main() { return 0; }
26951 _ACEOF
26952 if ac_fn_c_try_link "$LINENO"; then :
26953 if test "$cross_compiling" = yes; then :
26954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26956 as_fn_error "cannot run test program while cross compiling
26957 See \`config.log' for more details." "$LINENO" 5; }
26958 else
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 __thread int a; int b; int main() { return a = b; }
26962 _ACEOF
26963 if ac_fn_c_try_run "$LINENO"; then :
26964 gcc_cv_have_tls=yes
26965 else
26966 gcc_cv_have_tls=no
26967 fi
26968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26969 conftest.$ac_objext conftest.beam conftest.$ac_ext
26970 fi
26971
26972 else
26973 gcc_cv_have_tls=yes
26974 fi
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 LDFLAGS="$chktls_save_LDFLAGS"
26978 if test $gcc_cv_have_tls = yes; then
26979 chktls_save_CFLAGS="$CFLAGS"
26980 thread_CFLAGS=failed
26981 for flag in '' '-pthread' '-lpthread'; do
26982 CFLAGS="$flag $chktls_save_CFLAGS"
26983 if test x$gcc_no_link = xyes; then
26984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26985 fi
26986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26987 /* end confdefs.h. */
26988 #include <pthread.h>
26989 void *g(void *d) { return NULL; }
26990 int
26991 main ()
26992 {
26993 pthread_t t; pthread_create(&t,NULL,g,NULL);
26994 ;
26995 return 0;
26996 }
26997 _ACEOF
26998 if ac_fn_c_try_link "$LINENO"; then :
26999 thread_CFLAGS="$flag"
27000 fi
27001 rm -f core conftest.err conftest.$ac_objext \
27002 conftest$ac_exeext conftest.$ac_ext
27003 if test "X$thread_CFLAGS" != Xfailed; then
27004 break
27005 fi
27006 done
27007 CFLAGS="$chktls_save_CFLAGS"
27008 if test "X$thread_CFLAGS" != Xfailed; then
27009 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27010 if test "$cross_compiling" = yes; then :
27011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27013 as_fn_error "cannot run test program while cross compiling
27014 See \`config.log' for more details." "$LINENO" 5; }
27015 else
27016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27017 /* end confdefs.h. */
27018 #include <pthread.h>
27019 __thread int a;
27020 static int *volatile a_in_other_thread;
27021 static void *
27022 thread_func (void *arg)
27023 {
27024 a_in_other_thread = &a;
27025 return (void *)0;
27026 }
27027 int
27028 main ()
27029 {
27030 pthread_t thread;
27031 void *thread_retval;
27032 int *volatile a_in_main_thread;
27033 a_in_main_thread = &a;
27034 if (pthread_create (&thread, (pthread_attr_t *)0,
27035 thread_func, (void *)0))
27036 return 0;
27037 if (pthread_join (thread, &thread_retval))
27038 return 0;
27039 return (a_in_other_thread == a_in_main_thread);
27040 ;
27041 return 0;
27042 }
27043 _ACEOF
27044 if ac_fn_c_try_run "$LINENO"; then :
27045 gcc_cv_have_tls=yes
27046 else
27047 gcc_cv_have_tls=no
27048 fi
27049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27050 conftest.$ac_objext conftest.beam conftest.$ac_ext
27051 fi
27052
27053 CFLAGS="$chktls_save_CFLAGS"
27054 fi
27055 fi
27056 else
27057 gcc_cv_have_tls=no
27058 fi
27059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27060 conftest.$ac_objext conftest.beam conftest.$ac_ext
27061 fi
27062
27063 fi
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27065 $as_echo "$gcc_cv_have_tls" >&6; }
27066 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27067
27068 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27069
27070 fi
27071
27072 for ac_func in __cxa_thread_atexit_impl
27073 do :
27074 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27075 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27076 cat >>confdefs.h <<_ACEOF
27077 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27078 _ACEOF
27079
27080 fi
27081 done
27082
27083
27084 # For iconv support.
27085
27086 if test "X$prefix" = "XNONE"; then
27087 acl_final_prefix="$ac_default_prefix"
27088 else
27089 acl_final_prefix="$prefix"
27090 fi
27091 if test "X$exec_prefix" = "XNONE"; then
27092 acl_final_exec_prefix='${prefix}'
27093 else
27094 acl_final_exec_prefix="$exec_prefix"
27095 fi
27096 acl_save_prefix="$prefix"
27097 prefix="$acl_final_prefix"
27098 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27099 prefix="$acl_save_prefix"
27100
27101
27102 # Check whether --with-gnu-ld was given.
27103 if test "${with_gnu_ld+set}" = set; then :
27104 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27105 else
27106 with_gnu_ld=no
27107 fi
27108
27109 # Prepare PATH_SEPARATOR.
27110 # The user is always right.
27111 if test "${PATH_SEPARATOR+set}" != set; then
27112 echo "#! /bin/sh" >conf$$.sh
27113 echo "exit 0" >>conf$$.sh
27114 chmod +x conf$$.sh
27115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27116 PATH_SEPARATOR=';'
27117 else
27118 PATH_SEPARATOR=:
27119 fi
27120 rm -f conf$$.sh
27121 fi
27122 ac_prog=ld
27123 if test "$GCC" = yes; then
27124 # Check if gcc -print-prog-name=ld gives a path.
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27126 $as_echo_n "checking for ld used by GCC... " >&6; }
27127 case $host in
27128 *-*-mingw*)
27129 # gcc leaves a trailing carriage return which upsets mingw
27130 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27131 *)
27132 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27133 esac
27134 case $ac_prog in
27135 # Accept absolute paths.
27136 [\\/]* | [A-Za-z]:[\\/]*)
27137 re_direlt='/[^/][^/]*/\.\./'
27138 # Canonicalize the path of ld
27139 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27140 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27141 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27142 done
27143 test -z "$LD" && LD="$ac_prog"
27144 ;;
27145 "")
27146 # If it fails, then pretend we aren't using GCC.
27147 ac_prog=ld
27148 ;;
27149 *)
27150 # If it is relative, then search for the first ld in PATH.
27151 with_gnu_ld=unknown
27152 ;;
27153 esac
27154 elif test "$with_gnu_ld" = yes; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27156 $as_echo_n "checking for GNU ld... " >&6; }
27157 else
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27159 $as_echo_n "checking for non-GNU ld... " >&6; }
27160 fi
27161 if test "${acl_cv_path_LD+set}" = set; then :
27162 $as_echo_n "(cached) " >&6
27163 else
27164 if test -z "$LD"; then
27165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27166 for ac_dir in $PATH; do
27167 test -z "$ac_dir" && ac_dir=.
27168 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27169 acl_cv_path_LD="$ac_dir/$ac_prog"
27170 # Check to see if the program is GNU ld. I'd rather use --version,
27171 # but apparently some GNU ld's only accept -v.
27172 # Break only if it was the GNU/non-GNU ld that we prefer.
27173 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27174 test "$with_gnu_ld" != no && break
27175 else
27176 test "$with_gnu_ld" != yes && break
27177 fi
27178 fi
27179 done
27180 IFS="$ac_save_ifs"
27181 else
27182 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27183 fi
27184 fi
27185
27186 LD="$acl_cv_path_LD"
27187 if test -n "$LD"; then
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27189 $as_echo "$LD" >&6; }
27190 else
27191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27192 $as_echo "no" >&6; }
27193 fi
27194 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27197 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27198 $as_echo_n "(cached) " >&6
27199 else
27200 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27201 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27202 acl_cv_prog_gnu_ld=yes
27203 else
27204 acl_cv_prog_gnu_ld=no
27205 fi
27206 fi
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27208 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27209 with_gnu_ld=$acl_cv_prog_gnu_ld
27210
27211
27212
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27214 $as_echo_n "checking for shared library run path origin... " >&6; }
27215 if test "${acl_cv_rpath+set}" = set; then :
27216 $as_echo_n "(cached) " >&6
27217 else
27218
27219 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27220 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27221 . ./conftest.sh
27222 rm -f ./conftest.sh
27223 acl_cv_rpath=done
27224
27225 fi
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27227 $as_echo "$acl_cv_rpath" >&6; }
27228 wl="$acl_cv_wl"
27229 libext="$acl_cv_libext"
27230 shlibext="$acl_cv_shlibext"
27231 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27232 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27233 hardcode_direct="$acl_cv_hardcode_direct"
27234 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27235 # Check whether --enable-rpath was given.
27236 if test "${enable_rpath+set}" = set; then :
27237 enableval=$enable_rpath; :
27238 else
27239 enable_rpath=yes
27240 fi
27241
27242
27243
27244
27245
27246
27247
27248
27249 use_additional=yes
27250
27251 acl_save_prefix="$prefix"
27252 prefix="$acl_final_prefix"
27253 acl_save_exec_prefix="$exec_prefix"
27254 exec_prefix="$acl_final_exec_prefix"
27255
27256 eval additional_includedir=\"$includedir\"
27257 eval additional_libdir=\"$libdir\"
27258
27259 exec_prefix="$acl_save_exec_prefix"
27260 prefix="$acl_save_prefix"
27261
27262
27263 # Check whether --with-libiconv-prefix was given.
27264 if test "${with_libiconv_prefix+set}" = set; then :
27265 withval=$with_libiconv_prefix;
27266 if test "X$withval" = "Xno"; then
27267 use_additional=no
27268 else
27269 if test "X$withval" = "X"; then
27270
27271 acl_save_prefix="$prefix"
27272 prefix="$acl_final_prefix"
27273 acl_save_exec_prefix="$exec_prefix"
27274 exec_prefix="$acl_final_exec_prefix"
27275
27276 eval additional_includedir=\"$includedir\"
27277 eval additional_libdir=\"$libdir\"
27278
27279 exec_prefix="$acl_save_exec_prefix"
27280 prefix="$acl_save_prefix"
27281
27282 else
27283 additional_includedir="$withval/include"
27284 additional_libdir="$withval/lib"
27285 fi
27286 fi
27287
27288 fi
27289
27290 LIBICONV=
27291 LTLIBICONV=
27292 INCICONV=
27293 rpathdirs=
27294 ltrpathdirs=
27295 names_already_handled=
27296 names_next_round='iconv '
27297 while test -n "$names_next_round"; do
27298 names_this_round="$names_next_round"
27299 names_next_round=
27300 for name in $names_this_round; do
27301 already_handled=
27302 for n in $names_already_handled; do
27303 if test "$n" = "$name"; then
27304 already_handled=yes
27305 break
27306 fi
27307 done
27308 if test -z "$already_handled"; then
27309 names_already_handled="$names_already_handled $name"
27310 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27311 eval value=\"\$HAVE_LIB$uppername\"
27312 if test -n "$value"; then
27313 if test "$value" = yes; then
27314 eval value=\"\$LIB$uppername\"
27315 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27316 eval value=\"\$LTLIB$uppername\"
27317 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27318 else
27319 :
27320 fi
27321 else
27322 found_dir=
27323 found_la=
27324 found_so=
27325 found_a=
27326 if test $use_additional = yes; then
27327 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27328 found_dir="$additional_libdir"
27329 found_so="$additional_libdir/lib$name.$shlibext"
27330 if test -f "$additional_libdir/lib$name.la"; then
27331 found_la="$additional_libdir/lib$name.la"
27332 fi
27333 else
27334 if test -f "$additional_libdir/lib$name.$libext"; then
27335 found_dir="$additional_libdir"
27336 found_a="$additional_libdir/lib$name.$libext"
27337 if test -f "$additional_libdir/lib$name.la"; then
27338 found_la="$additional_libdir/lib$name.la"
27339 fi
27340 fi
27341 fi
27342 fi
27343 if test "X$found_dir" = "X"; then
27344 for x in $LDFLAGS $LTLIBICONV; do
27345
27346 acl_save_prefix="$prefix"
27347 prefix="$acl_final_prefix"
27348 acl_save_exec_prefix="$exec_prefix"
27349 exec_prefix="$acl_final_exec_prefix"
27350 eval x=\"$x\"
27351 exec_prefix="$acl_save_exec_prefix"
27352 prefix="$acl_save_prefix"
27353
27354 case "$x" in
27355 -L*)
27356 dir=`echo "X$x" | sed -e 's/^X-L//'`
27357 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27358 found_dir="$dir"
27359 found_so="$dir/lib$name.$shlibext"
27360 if test -f "$dir/lib$name.la"; then
27361 found_la="$dir/lib$name.la"
27362 fi
27363 else
27364 if test -f "$dir/lib$name.$libext"; then
27365 found_dir="$dir"
27366 found_a="$dir/lib$name.$libext"
27367 if test -f "$dir/lib$name.la"; then
27368 found_la="$dir/lib$name.la"
27369 fi
27370 fi
27371 fi
27372 ;;
27373 esac
27374 if test "X$found_dir" != "X"; then
27375 break
27376 fi
27377 done
27378 fi
27379 if test "X$found_dir" != "X"; then
27380 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27381 if test "X$found_so" != "X"; then
27382 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27383 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27384 else
27385 haveit=
27386 for x in $ltrpathdirs; do
27387 if test "X$x" = "X$found_dir"; then
27388 haveit=yes
27389 break
27390 fi
27391 done
27392 if test -z "$haveit"; then
27393 ltrpathdirs="$ltrpathdirs $found_dir"
27394 fi
27395 if test "$hardcode_direct" = yes; then
27396 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27397 else
27398 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27399 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27400 haveit=
27401 for x in $rpathdirs; do
27402 if test "X$x" = "X$found_dir"; then
27403 haveit=yes
27404 break
27405 fi
27406 done
27407 if test -z "$haveit"; then
27408 rpathdirs="$rpathdirs $found_dir"
27409 fi
27410 else
27411 haveit=
27412 for x in $LDFLAGS $LIBICONV; do
27413
27414 acl_save_prefix="$prefix"
27415 prefix="$acl_final_prefix"
27416 acl_save_exec_prefix="$exec_prefix"
27417 exec_prefix="$acl_final_exec_prefix"
27418 eval x=\"$x\"
27419 exec_prefix="$acl_save_exec_prefix"
27420 prefix="$acl_save_prefix"
27421
27422 if test "X$x" = "X-L$found_dir"; then
27423 haveit=yes
27424 break
27425 fi
27426 done
27427 if test -z "$haveit"; then
27428 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27429 fi
27430 if test "$hardcode_minus_L" != no; then
27431 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27432 else
27433 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27434 fi
27435 fi
27436 fi
27437 fi
27438 else
27439 if test "X$found_a" != "X"; then
27440 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27441 else
27442 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27443 fi
27444 fi
27445 additional_includedir=
27446 case "$found_dir" in
27447 */lib | */lib/)
27448 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27449 additional_includedir="$basedir/include"
27450 ;;
27451 esac
27452 if test "X$additional_includedir" != "X"; then
27453 if test "X$additional_includedir" != "X/usr/include"; then
27454 haveit=
27455 if test "X$additional_includedir" = "X/usr/local/include"; then
27456 if test -n "$GCC"; then
27457 case $host_os in
27458 linux*) haveit=yes;;
27459 esac
27460 fi
27461 fi
27462 if test -z "$haveit"; then
27463 for x in $CPPFLAGS $INCICONV; do
27464
27465 acl_save_prefix="$prefix"
27466 prefix="$acl_final_prefix"
27467 acl_save_exec_prefix="$exec_prefix"
27468 exec_prefix="$acl_final_exec_prefix"
27469 eval x=\"$x\"
27470 exec_prefix="$acl_save_exec_prefix"
27471 prefix="$acl_save_prefix"
27472
27473 if test "X$x" = "X-I$additional_includedir"; then
27474 haveit=yes
27475 break
27476 fi
27477 done
27478 if test -z "$haveit"; then
27479 if test -d "$additional_includedir"; then
27480 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27481 fi
27482 fi
27483 fi
27484 fi
27485 fi
27486 if test -n "$found_la"; then
27487 save_libdir="$libdir"
27488 case "$found_la" in
27489 */* | *\\*) . "$found_la" ;;
27490 *) . "./$found_la" ;;
27491 esac
27492 libdir="$save_libdir"
27493 for dep in $dependency_libs; do
27494 case "$dep" in
27495 -L*)
27496 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27497 if test "X$additional_libdir" != "X/usr/lib"; then
27498 haveit=
27499 if test "X$additional_libdir" = "X/usr/local/lib"; then
27500 if test -n "$GCC"; then
27501 case $host_os in
27502 linux*) haveit=yes;;
27503 esac
27504 fi
27505 fi
27506 if test -z "$haveit"; then
27507 haveit=
27508 for x in $LDFLAGS $LIBICONV; do
27509
27510 acl_save_prefix="$prefix"
27511 prefix="$acl_final_prefix"
27512 acl_save_exec_prefix="$exec_prefix"
27513 exec_prefix="$acl_final_exec_prefix"
27514 eval x=\"$x\"
27515 exec_prefix="$acl_save_exec_prefix"
27516 prefix="$acl_save_prefix"
27517
27518 if test "X$x" = "X-L$additional_libdir"; then
27519 haveit=yes
27520 break
27521 fi
27522 done
27523 if test -z "$haveit"; then
27524 if test -d "$additional_libdir"; then
27525 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27526 fi
27527 fi
27528 haveit=
27529 for x in $LDFLAGS $LTLIBICONV; do
27530
27531 acl_save_prefix="$prefix"
27532 prefix="$acl_final_prefix"
27533 acl_save_exec_prefix="$exec_prefix"
27534 exec_prefix="$acl_final_exec_prefix"
27535 eval x=\"$x\"
27536 exec_prefix="$acl_save_exec_prefix"
27537 prefix="$acl_save_prefix"
27538
27539 if test "X$x" = "X-L$additional_libdir"; then
27540 haveit=yes
27541 break
27542 fi
27543 done
27544 if test -z "$haveit"; then
27545 if test -d "$additional_libdir"; then
27546 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27547 fi
27548 fi
27549 fi
27550 fi
27551 ;;
27552 -R*)
27553 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27554 if test "$enable_rpath" != no; then
27555 haveit=
27556 for x in $rpathdirs; do
27557 if test "X$x" = "X$dir"; then
27558 haveit=yes
27559 break
27560 fi
27561 done
27562 if test -z "$haveit"; then
27563 rpathdirs="$rpathdirs $dir"
27564 fi
27565 haveit=
27566 for x in $ltrpathdirs; do
27567 if test "X$x" = "X$dir"; then
27568 haveit=yes
27569 break
27570 fi
27571 done
27572 if test -z "$haveit"; then
27573 ltrpathdirs="$ltrpathdirs $dir"
27574 fi
27575 fi
27576 ;;
27577 -l*)
27578 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27579 ;;
27580 *.la)
27581 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27582 ;;
27583 *)
27584 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27585 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27586 ;;
27587 esac
27588 done
27589 fi
27590 else
27591 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27592 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27593 fi
27594 fi
27595 fi
27596 done
27597 done
27598 if test "X$rpathdirs" != "X"; then
27599 if test -n "$hardcode_libdir_separator"; then
27600 alldirs=
27601 for found_dir in $rpathdirs; do
27602 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27603 done
27604 acl_save_libdir="$libdir"
27605 libdir="$alldirs"
27606 eval flag=\"$hardcode_libdir_flag_spec\"
27607 libdir="$acl_save_libdir"
27608 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27609 else
27610 for found_dir in $rpathdirs; do
27611 acl_save_libdir="$libdir"
27612 libdir="$found_dir"
27613 eval flag=\"$hardcode_libdir_flag_spec\"
27614 libdir="$acl_save_libdir"
27615 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27616 done
27617 fi
27618 fi
27619 if test "X$ltrpathdirs" != "X"; then
27620 for found_dir in $ltrpathdirs; do
27621 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27622 done
27623 fi
27624
27625
27626
27627
27628
27629
27630
27631 am_save_CPPFLAGS="$CPPFLAGS"
27632
27633 for element in $INCICONV; do
27634 haveit=
27635 for x in $CPPFLAGS; do
27636
27637 acl_save_prefix="$prefix"
27638 prefix="$acl_final_prefix"
27639 acl_save_exec_prefix="$exec_prefix"
27640 exec_prefix="$acl_final_exec_prefix"
27641 eval x=\"$x\"
27642 exec_prefix="$acl_save_exec_prefix"
27643 prefix="$acl_save_prefix"
27644
27645 if test "X$x" = "X$element"; then
27646 haveit=yes
27647 break
27648 fi
27649 done
27650 if test -z "$haveit"; then
27651 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27652 fi
27653 done
27654
27655
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27657 $as_echo_n "checking for iconv... " >&6; }
27658 if test "${am_cv_func_iconv+set}" = set; then :
27659 $as_echo_n "(cached) " >&6
27660 else
27661
27662 am_cv_func_iconv="no, consider installing GNU libiconv"
27663 am_cv_lib_iconv=no
27664 if test x$gcc_no_link = xyes; then
27665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27666 fi
27667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h. */
27669 #include <stdlib.h>
27670 #include <iconv.h>
27671 int
27672 main ()
27673 {
27674 iconv_t cd = iconv_open("","");
27675 iconv(cd,NULL,NULL,NULL,NULL);
27676 iconv_close(cd);
27677 ;
27678 return 0;
27679 }
27680 _ACEOF
27681 if ac_fn_c_try_link "$LINENO"; then :
27682 am_cv_func_iconv=yes
27683 fi
27684 rm -f core conftest.err conftest.$ac_objext \
27685 conftest$ac_exeext conftest.$ac_ext
27686 if test "$am_cv_func_iconv" != yes; then
27687 am_save_LIBS="$LIBS"
27688 LIBS="$LIBS $LIBICONV"
27689 if test x$gcc_no_link = xyes; then
27690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27691 fi
27692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27693 /* end confdefs.h. */
27694 #include <stdlib.h>
27695 #include <iconv.h>
27696 int
27697 main ()
27698 {
27699 iconv_t cd = iconv_open("","");
27700 iconv(cd,NULL,NULL,NULL,NULL);
27701 iconv_close(cd);
27702 ;
27703 return 0;
27704 }
27705 _ACEOF
27706 if ac_fn_c_try_link "$LINENO"; then :
27707 am_cv_lib_iconv=yes
27708 am_cv_func_iconv=yes
27709 fi
27710 rm -f core conftest.err conftest.$ac_objext \
27711 conftest$ac_exeext conftest.$ac_ext
27712 LIBS="$am_save_LIBS"
27713 fi
27714
27715 fi
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27717 $as_echo "$am_cv_func_iconv" >&6; }
27718 if test "$am_cv_func_iconv" = yes; then
27719
27720 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27721
27722 fi
27723 if test "$am_cv_lib_iconv" = yes; then
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27725 $as_echo_n "checking how to link with libiconv... " >&6; }
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27727 $as_echo "$LIBICONV" >&6; }
27728 else
27729 CPPFLAGS="$am_save_CPPFLAGS"
27730 LIBICONV=
27731 LTLIBICONV=
27732 fi
27733
27734
27735
27736 if test "$am_cv_func_iconv" = yes; then
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27738 $as_echo_n "checking for iconv declaration... " >&6; }
27739 if test "${am_cv_proto_iconv+set}" = set; then :
27740 $as_echo_n "(cached) " >&6
27741 else
27742
27743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27744 /* end confdefs.h. */
27745
27746 #include <stdlib.h>
27747 #include <iconv.h>
27748 extern
27749 #ifdef __cplusplus
27750 "C"
27751 #endif
27752 #if defined(__STDC__) || defined(__cplusplus)
27753 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27754 #else
27755 size_t iconv();
27756 #endif
27757
27758 int
27759 main ()
27760 {
27761
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 if ac_fn_c_try_compile "$LINENO"; then :
27767 am_cv_proto_iconv_arg1=""
27768 else
27769 am_cv_proto_iconv_arg1="const"
27770 fi
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 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);"
27773 fi
27774
27775 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27777 }$am_cv_proto_iconv" >&5
27778 $as_echo "${ac_t:-
27779 }$am_cv_proto_iconv" >&6; }
27780
27781 cat >>confdefs.h <<_ACEOF
27782 #define ICONV_CONST $am_cv_proto_iconv_arg1
27783 _ACEOF
27784
27785 fi
27786
27787
27788 else
27789
27790 # This lets us hard-code the functionality we know we'll have in the cross
27791 # target environment. "Let" is a sugar-coated word placed on an especially
27792 # dull and tedious hack, actually.
27793 #
27794 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27795 # that involve linking, can't be used:
27796 # "cannot open sim-crt0.o"
27797 # "cannot open crt0.o"
27798 # etc. All this is because there currently exists no unified, consistent
27799 # way for top level CC information to be passed down to target directories:
27800 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27801 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27802 # crosses can be removed.
27803
27804 # If Canadian cross, then don't pick up tools from the build directory.
27805 # Used only in GLIBCXX_EXPORT_INCLUDES.
27806 if test -n "$with_cross_host" &&
27807 test x"$build_alias" != x"$with_cross_host" &&
27808 test x"$build" != x"$target";
27809 then
27810 CANADIAN=yes
27811 else
27812 CANADIAN=no
27813 fi
27814
27815 # Construct crosses by hand, eliminating bits that need ld...
27816 # GLIBCXX_CHECK_MATH_SUPPORT
27817
27818 # First, test for "known" system libraries. We may be using newlib even
27819 # on a hosted environment.
27820 if test "x${with_newlib}" = "xyes"; then
27821 os_include_dir="os/newlib"
27822 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27823
27824
27825 # GLIBCXX_CHECK_STDLIB_SUPPORT
27826 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27827
27828
27829 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27830
27831 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27832
27833 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27834
27835 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27836
27837 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27838
27839 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27840
27841 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27842
27843 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27844
27845 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27846
27847 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27848
27849 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27850
27851 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27852
27853 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27854
27855 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27856
27857 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27858
27859 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27860
27861 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27862
27863 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27864
27865 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27866
27867 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27868
27869 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27870
27871 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27872
27873
27874 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27875
27876 else
27877
27878 # Base decisions on target environment.
27879 case "${host}" in
27880 arm*-*-symbianelf*)
27881 # This is a freestanding configuration; there is nothing to do here.
27882 ;;
27883
27884 mips*-sde-elf*)
27885 # These definitions are for the SDE C library rather than newlib.
27886 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27887
27888
27889 # All these tests are for C++; save the language and the compiler flags.
27890 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27891 # found in GLIBCXX_CONFIGURE.
27892
27893 ac_ext=cpp
27894 ac_cpp='$CXXCPP $CPPFLAGS'
27895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27898
27899 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27900 ac_save_CXXFLAGS="$CXXFLAGS"
27901
27902 # Check for maintainer-mode bits.
27903 if test x"$USE_MAINTAINER_MODE" = xno; then
27904 WERROR=''
27905 else
27906 WERROR='-Werror'
27907 fi
27908
27909 # Check for -ffunction-sections -fdata-sections
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27911 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27912 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27914 /* end confdefs.h. */
27915 int foo; void bar() { };
27916 int
27917 main ()
27918 {
27919
27920 ;
27921 return 0;
27922 }
27923 _ACEOF
27924 if ac_fn_cxx_try_compile "$LINENO"; then :
27925 ac_fdsections=yes
27926 else
27927 ac_fdsections=no
27928 fi
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27930 if test "$ac_test_CXXFLAGS" = set; then
27931 CXXFLAGS="$ac_save_CXXFLAGS"
27932 else
27933 # this is the suspicious part
27934 CXXFLAGS=''
27935 fi
27936 if test x"$ac_fdsections" = x"yes"; then
27937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27938 fi
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27940 $as_echo "$ac_fdsections" >&6; }
27941
27942 ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27947
27948
27949
27950
27951
27952 # If we're not using GNU ld, then there's no point in even trying these
27953 # tests. Check for that first. We should have already tested for gld
27954 # by now (in libtool), but require it now just to be safe...
27955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27957
27958
27959
27960 # The name set by libtool depends on the version of libtool. Shame on us
27961 # for depending on an impl detail, but c'est la vie. Older versions used
27962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27965 # set (hence we're using an older libtool), then set it.
27966 if test x${with_gnu_ld+set} != xset; then
27967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27969 with_gnu_ld=no
27970 else
27971 with_gnu_ld=$ac_cv_prog_gnu_ld
27972 fi
27973 fi
27974
27975 # Start by getting the version number. I think the libtool test already
27976 # does some of this, but throws away the result.
27977 glibcxx_ld_is_gold=no
27978 if test x"$with_gnu_ld" = x"yes"; then
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27980 $as_echo_n "checking for ld version... " >&6; }
27981
27982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27983 glibcxx_ld_is_gold=yes
27984 fi
27985 ldver=`$LD --version 2>/dev/null |
27986 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'`
27987
27988 glibcxx_gnu_ld_version=`echo $ldver | \
27989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27992 fi
27993
27994 # Set --gc-sections.
27995 glibcxx_have_gc_sections=no
27996 if test "$glibcxx_ld_is_gold" = "yes"; then
27997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27998 glibcxx_have_gc_sections=yes
27999 fi
28000 else
28001 glibcxx_gcsections_min_ld=21602
28002 if test x"$with_gnu_ld" = x"yes" &&
28003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28004 glibcxx_have_gc_sections=yes
28005 fi
28006 fi
28007 if test "$glibcxx_have_gc_sections" = "yes"; then
28008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28009 # NB: This flag only works reliably after 2.16.1. Configure tests
28010 # for this are difficult, so hard wire a value that should work.
28011
28012 ac_test_CFLAGS="${CFLAGS+set}"
28013 ac_save_CFLAGS="$CFLAGS"
28014 CFLAGS='-Wl,--gc-sections'
28015
28016 # Check for -Wl,--gc-sections
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28019 if test x$gcc_no_link = xyes; then
28020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 fi
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 int one(void) { return 1; }
28025 int two(void) { return 2; }
28026
28027 int
28028 main ()
28029 {
28030 two();
28031 ;
28032 return 0;
28033 }
28034 _ACEOF
28035 if ac_fn_c_try_link "$LINENO"; then :
28036 ac_gcsections=yes
28037 else
28038 ac_gcsections=no
28039 fi
28040 rm -f core conftest.err conftest.$ac_objext \
28041 conftest$ac_exeext conftest.$ac_ext
28042 if test "$ac_gcsections" = "yes"; then
28043 rm -f conftest.c
28044 touch conftest.c
28045 if $CC -c conftest.c; then
28046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28047 grep "Warning: gc-sections option ignored" > /dev/null; then
28048 ac_gcsections=no
28049 fi
28050 fi
28051 rm -f conftest.c conftest.o conftest
28052 fi
28053 if test "$ac_gcsections" = "yes"; then
28054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28055 fi
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28057 $as_echo "$ac_gcsections" >&6; }
28058
28059 if test "$ac_test_CFLAGS" = set; then
28060 CFLAGS="$ac_save_CFLAGS"
28061 else
28062 # this is the suspicious part
28063 CFLAGS=''
28064 fi
28065 fi
28066
28067 # Set -z,relro.
28068 # Note this is only for shared objects.
28069 ac_ld_relro=no
28070 if test x"$with_gnu_ld" = x"yes"; then
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28074 if test -n "$cxx_z_relo"; then
28075 OPT_LDFLAGS="-Wl,-z,relro"
28076 ac_ld_relro=yes
28077 fi
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28079 $as_echo "$ac_ld_relro" >&6; }
28080 fi
28081
28082 # Set linker optimization flags.
28083 if test x"$with_gnu_ld" = x"yes"; then
28084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28085 fi
28086
28087
28088
28089
28090
28091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28092 ac_save_CXXFLAGS="$CXXFLAGS"
28093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28094
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28096 $as_echo_n "checking for sin in -lm... " >&6; }
28097 if test "${ac_cv_lib_m_sin+set}" = set; then :
28098 $as_echo_n "(cached) " >&6
28099 else
28100 ac_check_lib_save_LIBS=$LIBS
28101 LIBS="-lm $LIBS"
28102 if test x$gcc_no_link = xyes; then
28103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28104 fi
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107
28108 /* Override any GCC internal prototype to avoid an error.
28109 Use char because int might match the return type of a GCC
28110 builtin and then its argument prototype would still apply. */
28111 #ifdef __cplusplus
28112 extern "C"
28113 #endif
28114 char sin ();
28115 int
28116 main ()
28117 {
28118 return sin ();
28119 ;
28120 return 0;
28121 }
28122 _ACEOF
28123 if ac_fn_c_try_link "$LINENO"; then :
28124 ac_cv_lib_m_sin=yes
28125 else
28126 ac_cv_lib_m_sin=no
28127 fi
28128 rm -f core conftest.err conftest.$ac_objext \
28129 conftest$ac_exeext conftest.$ac_ext
28130 LIBS=$ac_check_lib_save_LIBS
28131 fi
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28133 $as_echo "$ac_cv_lib_m_sin" >&6; }
28134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28135 libm="-lm"
28136 fi
28137
28138 ac_save_LIBS="$LIBS"
28139 LIBS="$LIBS $libm"
28140
28141
28142
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28144 $as_echo_n "checking for isinf declaration... " >&6; }
28145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28147 $as_echo_n "(cached) " >&6
28148 else
28149
28150
28151 ac_ext=cpp
28152 ac_cpp='$CXXCPP $CPPFLAGS'
28153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28156
28157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 /* end confdefs.h. */
28159 #include <math.h>
28160 #ifdef HAVE_IEEEFP_H
28161 #include <ieeefp.h>
28162 #endif
28163
28164 int
28165 main ()
28166 {
28167 isinf(0);
28168 ;
28169 return 0;
28170 }
28171 _ACEOF
28172 if ac_fn_cxx_try_compile "$LINENO"; then :
28173 glibcxx_cv_func_isinf_use=yes
28174 else
28175 glibcxx_cv_func_isinf_use=no
28176 fi
28177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28178 ac_ext=c
28179 ac_cpp='$CPP $CPPFLAGS'
28180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28183
28184
28185 fi
28186
28187 fi
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28190
28191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28192 for ac_func in isinf
28193 do :
28194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28195 if test "x$ac_cv_func_isinf" = x""yes; then :
28196 cat >>confdefs.h <<_ACEOF
28197 #define HAVE_ISINF 1
28198 _ACEOF
28199
28200 fi
28201 done
28202
28203 else
28204
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28206 $as_echo_n "checking for _isinf declaration... " >&6; }
28207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28209 $as_echo_n "(cached) " >&6
28210 else
28211
28212
28213 ac_ext=cpp
28214 ac_cpp='$CXXCPP $CPPFLAGS'
28215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28218
28219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h. */
28221 #include <math.h>
28222 #ifdef HAVE_IEEEFP_H
28223 #include <ieeefp.h>
28224 #endif
28225
28226 int
28227 main ()
28228 {
28229 _isinf(0);
28230 ;
28231 return 0;
28232 }
28233 _ACEOF
28234 if ac_fn_cxx_try_compile "$LINENO"; then :
28235 glibcxx_cv_func__isinf_use=yes
28236 else
28237 glibcxx_cv_func__isinf_use=no
28238 fi
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240 ac_ext=c
28241 ac_cpp='$CPP $CPPFLAGS'
28242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28245
28246
28247 fi
28248
28249 fi
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28252
28253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28254 for ac_func in _isinf
28255 do :
28256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28257 if test "x$ac_cv_func__isinf" = x""yes; then :
28258 cat >>confdefs.h <<_ACEOF
28259 #define HAVE__ISINF 1
28260 _ACEOF
28261
28262 fi
28263 done
28264
28265 fi
28266 fi
28267
28268
28269
28270
28271
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28273 $as_echo_n "checking for isnan declaration... " >&6; }
28274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28276 $as_echo_n "(cached) " >&6
28277 else
28278
28279
28280 ac_ext=cpp
28281 ac_cpp='$CXXCPP $CPPFLAGS'
28282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28285
28286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28287 /* end confdefs.h. */
28288 #include <math.h>
28289 #ifdef HAVE_IEEEFP_H
28290 #include <ieeefp.h>
28291 #endif
28292
28293 int
28294 main ()
28295 {
28296 isnan(0);
28297 ;
28298 return 0;
28299 }
28300 _ACEOF
28301 if ac_fn_cxx_try_compile "$LINENO"; then :
28302 glibcxx_cv_func_isnan_use=yes
28303 else
28304 glibcxx_cv_func_isnan_use=no
28305 fi
28306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28307 ac_ext=c
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28312
28313
28314 fi
28315
28316 fi
28317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28319
28320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28321 for ac_func in isnan
28322 do :
28323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28324 if test "x$ac_cv_func_isnan" = x""yes; then :
28325 cat >>confdefs.h <<_ACEOF
28326 #define HAVE_ISNAN 1
28327 _ACEOF
28328
28329 fi
28330 done
28331
28332 else
28333
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28335 $as_echo_n "checking for _isnan declaration... " >&6; }
28336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28338 $as_echo_n "(cached) " >&6
28339 else
28340
28341
28342 ac_ext=cpp
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28347
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349 /* end confdefs.h. */
28350 #include <math.h>
28351 #ifdef HAVE_IEEEFP_H
28352 #include <ieeefp.h>
28353 #endif
28354
28355 int
28356 main ()
28357 {
28358 _isnan(0);
28359 ;
28360 return 0;
28361 }
28362 _ACEOF
28363 if ac_fn_cxx_try_compile "$LINENO"; then :
28364 glibcxx_cv_func__isnan_use=yes
28365 else
28366 glibcxx_cv_func__isnan_use=no
28367 fi
28368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28369 ac_ext=c
28370 ac_cpp='$CPP $CPPFLAGS'
28371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28374
28375
28376 fi
28377
28378 fi
28379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28381
28382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28383 for ac_func in _isnan
28384 do :
28385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28386 if test "x$ac_cv_func__isnan" = x""yes; then :
28387 cat >>confdefs.h <<_ACEOF
28388 #define HAVE__ISNAN 1
28389 _ACEOF
28390
28391 fi
28392 done
28393
28394 fi
28395 fi
28396
28397
28398
28399
28400
28401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28402 $as_echo_n "checking for finite declaration... " >&6; }
28403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28405 $as_echo_n "(cached) " >&6
28406 else
28407
28408
28409 ac_ext=cpp
28410 ac_cpp='$CXXCPP $CPPFLAGS'
28411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28414
28415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28416 /* end confdefs.h. */
28417 #include <math.h>
28418 #ifdef HAVE_IEEEFP_H
28419 #include <ieeefp.h>
28420 #endif
28421
28422 int
28423 main ()
28424 {
28425 finite(0);
28426 ;
28427 return 0;
28428 }
28429 _ACEOF
28430 if ac_fn_cxx_try_compile "$LINENO"; then :
28431 glibcxx_cv_func_finite_use=yes
28432 else
28433 glibcxx_cv_func_finite_use=no
28434 fi
28435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28436 ac_ext=c
28437 ac_cpp='$CPP $CPPFLAGS'
28438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28441
28442
28443 fi
28444
28445 fi
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28448
28449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28450 for ac_func in finite
28451 do :
28452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28453 if test "x$ac_cv_func_finite" = x""yes; then :
28454 cat >>confdefs.h <<_ACEOF
28455 #define HAVE_FINITE 1
28456 _ACEOF
28457
28458 fi
28459 done
28460
28461 else
28462
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28464 $as_echo_n "checking for _finite declaration... " >&6; }
28465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28467 $as_echo_n "(cached) " >&6
28468 else
28469
28470
28471 ac_ext=cpp
28472 ac_cpp='$CXXCPP $CPPFLAGS'
28473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28476
28477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28478 /* end confdefs.h. */
28479 #include <math.h>
28480 #ifdef HAVE_IEEEFP_H
28481 #include <ieeefp.h>
28482 #endif
28483
28484 int
28485 main ()
28486 {
28487 _finite(0);
28488 ;
28489 return 0;
28490 }
28491 _ACEOF
28492 if ac_fn_cxx_try_compile "$LINENO"; then :
28493 glibcxx_cv_func__finite_use=yes
28494 else
28495 glibcxx_cv_func__finite_use=no
28496 fi
28497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28498 ac_ext=c
28499 ac_cpp='$CPP $CPPFLAGS'
28500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28503
28504
28505 fi
28506
28507 fi
28508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28510
28511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28512 for ac_func in _finite
28513 do :
28514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28515 if test "x$ac_cv_func__finite" = x""yes; then :
28516 cat >>confdefs.h <<_ACEOF
28517 #define HAVE__FINITE 1
28518 _ACEOF
28519
28520 fi
28521 done
28522
28523 fi
28524 fi
28525
28526
28527
28528
28529
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28531 $as_echo_n "checking for sincos declaration... " >&6; }
28532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28534 $as_echo_n "(cached) " >&6
28535 else
28536
28537
28538 ac_ext=cpp
28539 ac_cpp='$CXXCPP $CPPFLAGS'
28540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28543
28544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28545 /* end confdefs.h. */
28546 #include <math.h>
28547 int
28548 main ()
28549 {
28550 sincos(0, 0, 0);
28551 ;
28552 return 0;
28553 }
28554 _ACEOF
28555 if ac_fn_cxx_try_compile "$LINENO"; then :
28556 glibcxx_cv_func_sincos_use=yes
28557 else
28558 glibcxx_cv_func_sincos_use=no
28559 fi
28560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28561 ac_ext=c
28562 ac_cpp='$CPP $CPPFLAGS'
28563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28566
28567
28568 fi
28569
28570 fi
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28573
28574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28575 for ac_func in sincos
28576 do :
28577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28578 if test "x$ac_cv_func_sincos" = x""yes; then :
28579 cat >>confdefs.h <<_ACEOF
28580 #define HAVE_SINCOS 1
28581 _ACEOF
28582
28583 fi
28584 done
28585
28586 else
28587
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28589 $as_echo_n "checking for _sincos declaration... " >&6; }
28590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28592 $as_echo_n "(cached) " >&6
28593 else
28594
28595
28596 ac_ext=cpp
28597 ac_cpp='$CXXCPP $CPPFLAGS'
28598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28601
28602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28603 /* end confdefs.h. */
28604 #include <math.h>
28605 int
28606 main ()
28607 {
28608 _sincos(0, 0, 0);
28609 ;
28610 return 0;
28611 }
28612 _ACEOF
28613 if ac_fn_cxx_try_compile "$LINENO"; then :
28614 glibcxx_cv_func__sincos_use=yes
28615 else
28616 glibcxx_cv_func__sincos_use=no
28617 fi
28618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28619 ac_ext=c
28620 ac_cpp='$CPP $CPPFLAGS'
28621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28624
28625
28626 fi
28627
28628 fi
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28631
28632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28633 for ac_func in _sincos
28634 do :
28635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28636 if test "x$ac_cv_func__sincos" = x""yes; then :
28637 cat >>confdefs.h <<_ACEOF
28638 #define HAVE__SINCOS 1
28639 _ACEOF
28640
28641 fi
28642 done
28643
28644 fi
28645 fi
28646
28647
28648
28649
28650
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28652 $as_echo_n "checking for fpclass declaration... " >&6; }
28653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28655 $as_echo_n "(cached) " >&6
28656 else
28657
28658
28659 ac_ext=cpp
28660 ac_cpp='$CXXCPP $CPPFLAGS'
28661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28664
28665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28666 /* end confdefs.h. */
28667 #include <math.h>
28668 #ifdef HAVE_IEEEFP_H
28669 #include <ieeefp.h>
28670 #endif
28671
28672 int
28673 main ()
28674 {
28675 fpclass(0);
28676 ;
28677 return 0;
28678 }
28679 _ACEOF
28680 if ac_fn_cxx_try_compile "$LINENO"; then :
28681 glibcxx_cv_func_fpclass_use=yes
28682 else
28683 glibcxx_cv_func_fpclass_use=no
28684 fi
28685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28686 ac_ext=c
28687 ac_cpp='$CPP $CPPFLAGS'
28688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28691
28692
28693 fi
28694
28695 fi
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28698
28699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28700 for ac_func in fpclass
28701 do :
28702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28703 if test "x$ac_cv_func_fpclass" = x""yes; then :
28704 cat >>confdefs.h <<_ACEOF
28705 #define HAVE_FPCLASS 1
28706 _ACEOF
28707
28708 fi
28709 done
28710
28711 else
28712
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28714 $as_echo_n "checking for _fpclass declaration... " >&6; }
28715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28717 $as_echo_n "(cached) " >&6
28718 else
28719
28720
28721 ac_ext=cpp
28722 ac_cpp='$CXXCPP $CPPFLAGS'
28723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28726
28727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28728 /* end confdefs.h. */
28729 #include <math.h>
28730 #ifdef HAVE_IEEEFP_H
28731 #include <ieeefp.h>
28732 #endif
28733
28734 int
28735 main ()
28736 {
28737 _fpclass(0);
28738 ;
28739 return 0;
28740 }
28741 _ACEOF
28742 if ac_fn_cxx_try_compile "$LINENO"; then :
28743 glibcxx_cv_func__fpclass_use=yes
28744 else
28745 glibcxx_cv_func__fpclass_use=no
28746 fi
28747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28748 ac_ext=c
28749 ac_cpp='$CPP $CPPFLAGS'
28750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28753
28754
28755 fi
28756
28757 fi
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28760
28761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28762 for ac_func in _fpclass
28763 do :
28764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28765 if test "x$ac_cv_func__fpclass" = x""yes; then :
28766 cat >>confdefs.h <<_ACEOF
28767 #define HAVE__FPCLASS 1
28768 _ACEOF
28769
28770 fi
28771 done
28772
28773 fi
28774 fi
28775
28776
28777
28778
28779
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28781 $as_echo_n "checking for qfpclass declaration... " >&6; }
28782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28784 $as_echo_n "(cached) " >&6
28785 else
28786
28787
28788 ac_ext=cpp
28789 ac_cpp='$CXXCPP $CPPFLAGS'
28790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28793
28794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28795 /* end confdefs.h. */
28796 #include <math.h>
28797 #ifdef HAVE_IEEEFP_H
28798 #include <ieeefp.h>
28799 #endif
28800
28801 int
28802 main ()
28803 {
28804 qfpclass(0);
28805 ;
28806 return 0;
28807 }
28808 _ACEOF
28809 if ac_fn_cxx_try_compile "$LINENO"; then :
28810 glibcxx_cv_func_qfpclass_use=yes
28811 else
28812 glibcxx_cv_func_qfpclass_use=no
28813 fi
28814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28815 ac_ext=c
28816 ac_cpp='$CPP $CPPFLAGS'
28817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28820
28821
28822 fi
28823
28824 fi
28825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28827
28828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28829 for ac_func in qfpclass
28830 do :
28831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28833 cat >>confdefs.h <<_ACEOF
28834 #define HAVE_QFPCLASS 1
28835 _ACEOF
28836
28837 fi
28838 done
28839
28840 else
28841
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28846 $as_echo_n "(cached) " >&6
28847 else
28848
28849
28850 ac_ext=cpp
28851 ac_cpp='$CXXCPP $CPPFLAGS'
28852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28855
28856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28857 /* end confdefs.h. */
28858 #include <math.h>
28859 #ifdef HAVE_IEEEFP_H
28860 #include <ieeefp.h>
28861 #endif
28862
28863 int
28864 main ()
28865 {
28866 _qfpclass(0);
28867 ;
28868 return 0;
28869 }
28870 _ACEOF
28871 if ac_fn_cxx_try_compile "$LINENO"; then :
28872 glibcxx_cv_func__qfpclass_use=yes
28873 else
28874 glibcxx_cv_func__qfpclass_use=no
28875 fi
28876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28877 ac_ext=c
28878 ac_cpp='$CPP $CPPFLAGS'
28879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28882
28883
28884 fi
28885
28886 fi
28887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28889
28890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28891 for ac_func in _qfpclass
28892 do :
28893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28895 cat >>confdefs.h <<_ACEOF
28896 #define HAVE__QFPCLASS 1
28897 _ACEOF
28898
28899 fi
28900 done
28901
28902 fi
28903 fi
28904
28905
28906
28907
28908
28909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28910 $as_echo_n "checking for hypot declaration... " >&6; }
28911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28913 $as_echo_n "(cached) " >&6
28914 else
28915
28916
28917 ac_ext=cpp
28918 ac_cpp='$CXXCPP $CPPFLAGS'
28919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28922
28923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28924 /* end confdefs.h. */
28925 #include <math.h>
28926 int
28927 main ()
28928 {
28929 hypot(0, 0);
28930 ;
28931 return 0;
28932 }
28933 _ACEOF
28934 if ac_fn_cxx_try_compile "$LINENO"; then :
28935 glibcxx_cv_func_hypot_use=yes
28936 else
28937 glibcxx_cv_func_hypot_use=no
28938 fi
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28940 ac_ext=c
28941 ac_cpp='$CPP $CPPFLAGS'
28942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28945
28946
28947 fi
28948
28949 fi
28950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28952
28953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28954 for ac_func in hypot
28955 do :
28956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28957 if test "x$ac_cv_func_hypot" = x""yes; then :
28958 cat >>confdefs.h <<_ACEOF
28959 #define HAVE_HYPOT 1
28960 _ACEOF
28961
28962 fi
28963 done
28964
28965 else
28966
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28968 $as_echo_n "checking for _hypot declaration... " >&6; }
28969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28971 $as_echo_n "(cached) " >&6
28972 else
28973
28974
28975 ac_ext=cpp
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980
28981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28982 /* end confdefs.h. */
28983 #include <math.h>
28984 int
28985 main ()
28986 {
28987 _hypot(0, 0);
28988 ;
28989 return 0;
28990 }
28991 _ACEOF
28992 if ac_fn_cxx_try_compile "$LINENO"; then :
28993 glibcxx_cv_func__hypot_use=yes
28994 else
28995 glibcxx_cv_func__hypot_use=no
28996 fi
28997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28998 ac_ext=c
28999 ac_cpp='$CPP $CPPFLAGS'
29000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29003
29004
29005 fi
29006
29007 fi
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29010
29011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29012 for ac_func in _hypot
29013 do :
29014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29015 if test "x$ac_cv_func__hypot" = x""yes; then :
29016 cat >>confdefs.h <<_ACEOF
29017 #define HAVE__HYPOT 1
29018 _ACEOF
29019
29020 fi
29021 done
29022
29023 fi
29024 fi
29025
29026
29027
29028
29029
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29031 $as_echo_n "checking for float trig functions... " >&6; }
29032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29033 $as_echo_n "(cached) " >&6
29034 else
29035
29036
29037 ac_ext=cpp
29038 ac_cpp='$CXXCPP $CPPFLAGS'
29039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29042
29043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h. */
29045 #include <math.h>
29046 int
29047 main ()
29048 {
29049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29050 ;
29051 return 0;
29052 }
29053 _ACEOF
29054 if ac_fn_cxx_try_compile "$LINENO"; then :
29055 glibcxx_cv_func_float_trig_use=yes
29056 else
29057 glibcxx_cv_func_float_trig_use=no
29058 fi
29059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29065
29066 fi
29067
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29072 do :
29073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29075 eval as_val=\$$as_ac_var
29076 if test "x$as_val" = x""yes; then :
29077 cat >>confdefs.h <<_ACEOF
29078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29079 _ACEOF
29080
29081 fi
29082 done
29083
29084 else
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29086 $as_echo_n "checking for _float trig functions... " >&6; }
29087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29088 $as_echo_n "(cached) " >&6
29089 else
29090
29091
29092 ac_ext=cpp
29093 ac_cpp='$CXXCPP $CPPFLAGS'
29094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29097
29098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29099 /* end confdefs.h. */
29100 #include <math.h>
29101 int
29102 main ()
29103 {
29104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29105 ;
29106 return 0;
29107 }
29108 _ACEOF
29109 if ac_fn_cxx_try_compile "$LINENO"; then :
29110 glibcxx_cv_func__float_trig_use=yes
29111 else
29112 glibcxx_cv_func__float_trig_use=no
29113 fi
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29115 ac_ext=c
29116 ac_cpp='$CPP $CPPFLAGS'
29117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29120
29121 fi
29122
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29127 do :
29128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29130 eval as_val=\$$as_ac_var
29131 if test "x$as_val" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29134 _ACEOF
29135
29136 fi
29137 done
29138
29139 fi
29140 fi
29141
29142
29143
29144
29145
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29147 $as_echo_n "checking for float round functions... " >&6; }
29148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29149 $as_echo_n "(cached) " >&6
29150 else
29151
29152
29153 ac_ext=cpp
29154 ac_cpp='$CXXCPP $CPPFLAGS'
29155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29158
29159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29160 /* end confdefs.h. */
29161 #include <math.h>
29162 int
29163 main ()
29164 {
29165 ceilf (0); floorf (0);
29166 ;
29167 return 0;
29168 }
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func_float_round_use=yes
29172 else
29173 glibcxx_cv_func_float_round_use=no
29174 fi
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29181
29182 fi
29183
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29187 for ac_func in ceilf floorf
29188 do :
29189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29191 eval as_val=\$$as_ac_var
29192 if test "x$as_val" = x""yes; then :
29193 cat >>confdefs.h <<_ACEOF
29194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29195 _ACEOF
29196
29197 fi
29198 done
29199
29200 else
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29202 $as_echo_n "checking for _float round functions... " >&6; }
29203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29204 $as_echo_n "(cached) " >&6
29205 else
29206
29207
29208 ac_ext=cpp
29209 ac_cpp='$CXXCPP $CPPFLAGS'
29210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29213
29214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29215 /* end confdefs.h. */
29216 #include <math.h>
29217 int
29218 main ()
29219 {
29220 _ceilf (0); _floorf (0);
29221 ;
29222 return 0;
29223 }
29224 _ACEOF
29225 if ac_fn_cxx_try_compile "$LINENO"; then :
29226 glibcxx_cv_func__float_round_use=yes
29227 else
29228 glibcxx_cv_func__float_round_use=no
29229 fi
29230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29231 ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29236
29237 fi
29238
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29242 for ac_func in _ceilf _floorf
29243 do :
29244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29246 eval as_val=\$$as_ac_var
29247 if test "x$as_val" = x""yes; then :
29248 cat >>confdefs.h <<_ACEOF
29249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29250 _ACEOF
29251
29252 fi
29253 done
29254
29255 fi
29256 fi
29257
29258
29259
29260
29261
29262
29263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29264 $as_echo_n "checking for expf declaration... " >&6; }
29265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29267 $as_echo_n "(cached) " >&6
29268 else
29269
29270
29271 ac_ext=cpp
29272 ac_cpp='$CXXCPP $CPPFLAGS'
29273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29276
29277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29278 /* end confdefs.h. */
29279 #include <math.h>
29280 #ifdef HAVE_IEEEFP_H
29281 #include <ieeefp.h>
29282 #endif
29283
29284 int
29285 main ()
29286 {
29287 expf(0);
29288 ;
29289 return 0;
29290 }
29291 _ACEOF
29292 if ac_fn_cxx_try_compile "$LINENO"; then :
29293 glibcxx_cv_func_expf_use=yes
29294 else
29295 glibcxx_cv_func_expf_use=no
29296 fi
29297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29298 ac_ext=c
29299 ac_cpp='$CPP $CPPFLAGS'
29300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29303
29304
29305 fi
29306
29307 fi
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29310
29311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29312 for ac_func in expf
29313 do :
29314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29315 if test "x$ac_cv_func_expf" = x""yes; then :
29316 cat >>confdefs.h <<_ACEOF
29317 #define HAVE_EXPF 1
29318 _ACEOF
29319
29320 fi
29321 done
29322
29323 else
29324
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29326 $as_echo_n "checking for _expf declaration... " >&6; }
29327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29329 $as_echo_n "(cached) " >&6
29330 else
29331
29332
29333 ac_ext=cpp
29334 ac_cpp='$CXXCPP $CPPFLAGS'
29335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29338
29339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29340 /* end confdefs.h. */
29341 #include <math.h>
29342 #ifdef HAVE_IEEEFP_H
29343 #include <ieeefp.h>
29344 #endif
29345
29346 int
29347 main ()
29348 {
29349 _expf(0);
29350 ;
29351 return 0;
29352 }
29353 _ACEOF
29354 if ac_fn_cxx_try_compile "$LINENO"; then :
29355 glibcxx_cv_func__expf_use=yes
29356 else
29357 glibcxx_cv_func__expf_use=no
29358 fi
29359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29360 ac_ext=c
29361 ac_cpp='$CPP $CPPFLAGS'
29362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29365
29366
29367 fi
29368
29369 fi
29370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29372
29373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29374 for ac_func in _expf
29375 do :
29376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29377 if test "x$ac_cv_func__expf" = x""yes; then :
29378 cat >>confdefs.h <<_ACEOF
29379 #define HAVE__EXPF 1
29380 _ACEOF
29381
29382 fi
29383 done
29384
29385 fi
29386 fi
29387
29388
29389
29390
29391
29392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29393 $as_echo_n "checking for isnanf declaration... " >&6; }
29394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29396 $as_echo_n "(cached) " >&6
29397 else
29398
29399
29400 ac_ext=cpp
29401 ac_cpp='$CXXCPP $CPPFLAGS'
29402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29405
29406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29407 /* end confdefs.h. */
29408 #include <math.h>
29409 #ifdef HAVE_IEEEFP_H
29410 #include <ieeefp.h>
29411 #endif
29412
29413 int
29414 main ()
29415 {
29416 isnanf(0);
29417 ;
29418 return 0;
29419 }
29420 _ACEOF
29421 if ac_fn_cxx_try_compile "$LINENO"; then :
29422 glibcxx_cv_func_isnanf_use=yes
29423 else
29424 glibcxx_cv_func_isnanf_use=no
29425 fi
29426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 ac_ext=c
29428 ac_cpp='$CPP $CPPFLAGS'
29429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29432
29433
29434 fi
29435
29436 fi
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29439
29440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29441 for ac_func in isnanf
29442 do :
29443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29444 if test "x$ac_cv_func_isnanf" = x""yes; then :
29445 cat >>confdefs.h <<_ACEOF
29446 #define HAVE_ISNANF 1
29447 _ACEOF
29448
29449 fi
29450 done
29451
29452 else
29453
29454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29455 $as_echo_n "checking for _isnanf declaration... " >&6; }
29456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29458 $as_echo_n "(cached) " >&6
29459 else
29460
29461
29462 ac_ext=cpp
29463 ac_cpp='$CXXCPP $CPPFLAGS'
29464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29467
29468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29469 /* end confdefs.h. */
29470 #include <math.h>
29471 #ifdef HAVE_IEEEFP_H
29472 #include <ieeefp.h>
29473 #endif
29474
29475 int
29476 main ()
29477 {
29478 _isnanf(0);
29479 ;
29480 return 0;
29481 }
29482 _ACEOF
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 glibcxx_cv_func__isnanf_use=yes
29485 else
29486 glibcxx_cv_func__isnanf_use=no
29487 fi
29488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494
29495
29496 fi
29497
29498 fi
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29501
29502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29503 for ac_func in _isnanf
29504 do :
29505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29506 if test "x$ac_cv_func__isnanf" = x""yes; then :
29507 cat >>confdefs.h <<_ACEOF
29508 #define HAVE__ISNANF 1
29509 _ACEOF
29510
29511 fi
29512 done
29513
29514 fi
29515 fi
29516
29517
29518
29519
29520
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29522 $as_echo_n "checking for isinff declaration... " >&6; }
29523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29525 $as_echo_n "(cached) " >&6
29526 else
29527
29528
29529 ac_ext=cpp
29530 ac_cpp='$CXXCPP $CPPFLAGS'
29531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29534
29535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29536 /* end confdefs.h. */
29537 #include <math.h>
29538 #ifdef HAVE_IEEEFP_H
29539 #include <ieeefp.h>
29540 #endif
29541
29542 int
29543 main ()
29544 {
29545 isinff(0);
29546 ;
29547 return 0;
29548 }
29549 _ACEOF
29550 if ac_fn_cxx_try_compile "$LINENO"; then :
29551 glibcxx_cv_func_isinff_use=yes
29552 else
29553 glibcxx_cv_func_isinff_use=no
29554 fi
29555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29556 ac_ext=c
29557 ac_cpp='$CPP $CPPFLAGS'
29558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29561
29562
29563 fi
29564
29565 fi
29566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29568
29569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29570 for ac_func in isinff
29571 do :
29572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29573 if test "x$ac_cv_func_isinff" = x""yes; then :
29574 cat >>confdefs.h <<_ACEOF
29575 #define HAVE_ISINFF 1
29576 _ACEOF
29577
29578 fi
29579 done
29580
29581 else
29582
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29584 $as_echo_n "checking for _isinff declaration... " >&6; }
29585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29587 $as_echo_n "(cached) " >&6
29588 else
29589
29590
29591 ac_ext=cpp
29592 ac_cpp='$CXXCPP $CPPFLAGS'
29593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29596
29597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29598 /* end confdefs.h. */
29599 #include <math.h>
29600 #ifdef HAVE_IEEEFP_H
29601 #include <ieeefp.h>
29602 #endif
29603
29604 int
29605 main ()
29606 {
29607 _isinff(0);
29608 ;
29609 return 0;
29610 }
29611 _ACEOF
29612 if ac_fn_cxx_try_compile "$LINENO"; then :
29613 glibcxx_cv_func__isinff_use=yes
29614 else
29615 glibcxx_cv_func__isinff_use=no
29616 fi
29617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29618 ac_ext=c
29619 ac_cpp='$CPP $CPPFLAGS'
29620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29623
29624
29625 fi
29626
29627 fi
29628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29630
29631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29632 for ac_func in _isinff
29633 do :
29634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29635 if test "x$ac_cv_func__isinff" = x""yes; then :
29636 cat >>confdefs.h <<_ACEOF
29637 #define HAVE__ISINFF 1
29638 _ACEOF
29639
29640 fi
29641 done
29642
29643 fi
29644 fi
29645
29646
29647
29648
29649
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29651 $as_echo_n "checking for atan2f declaration... " >&6; }
29652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29654 $as_echo_n "(cached) " >&6
29655 else
29656
29657
29658 ac_ext=cpp
29659 ac_cpp='$CXXCPP $CPPFLAGS'
29660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29663
29664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29665 /* end confdefs.h. */
29666 #include <math.h>
29667 int
29668 main ()
29669 {
29670 atan2f(0, 0);
29671 ;
29672 return 0;
29673 }
29674 _ACEOF
29675 if ac_fn_cxx_try_compile "$LINENO"; then :
29676 glibcxx_cv_func_atan2f_use=yes
29677 else
29678 glibcxx_cv_func_atan2f_use=no
29679 fi
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 ac_ext=c
29682 ac_cpp='$CPP $CPPFLAGS'
29683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29686
29687
29688 fi
29689
29690 fi
29691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29693
29694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29695 for ac_func in atan2f
29696 do :
29697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29698 if test "x$ac_cv_func_atan2f" = x""yes; then :
29699 cat >>confdefs.h <<_ACEOF
29700 #define HAVE_ATAN2F 1
29701 _ACEOF
29702
29703 fi
29704 done
29705
29706 else
29707
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29709 $as_echo_n "checking for _atan2f declaration... " >&6; }
29710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29712 $as_echo_n "(cached) " >&6
29713 else
29714
29715
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721
29722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29723 /* end confdefs.h. */
29724 #include <math.h>
29725 int
29726 main ()
29727 {
29728 _atan2f(0, 0);
29729 ;
29730 return 0;
29731 }
29732 _ACEOF
29733 if ac_fn_cxx_try_compile "$LINENO"; then :
29734 glibcxx_cv_func__atan2f_use=yes
29735 else
29736 glibcxx_cv_func__atan2f_use=no
29737 fi
29738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29739 ac_ext=c
29740 ac_cpp='$CPP $CPPFLAGS'
29741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29744
29745
29746 fi
29747
29748 fi
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29751
29752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29753 for ac_func in _atan2f
29754 do :
29755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29756 if test "x$ac_cv_func__atan2f" = x""yes; then :
29757 cat >>confdefs.h <<_ACEOF
29758 #define HAVE__ATAN2F 1
29759 _ACEOF
29760
29761 fi
29762 done
29763
29764 fi
29765 fi
29766
29767
29768
29769
29770
29771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29772 $as_echo_n "checking for fabsf declaration... " >&6; }
29773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29775 $as_echo_n "(cached) " >&6
29776 else
29777
29778
29779 ac_ext=cpp
29780 ac_cpp='$CXXCPP $CPPFLAGS'
29781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29784
29785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29786 /* end confdefs.h. */
29787 #include <math.h>
29788 #ifdef HAVE_IEEEFP_H
29789 #include <ieeefp.h>
29790 #endif
29791
29792 int
29793 main ()
29794 {
29795 fabsf(0);
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 if ac_fn_cxx_try_compile "$LINENO"; then :
29801 glibcxx_cv_func_fabsf_use=yes
29802 else
29803 glibcxx_cv_func_fabsf_use=no
29804 fi
29805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29806 ac_ext=c
29807 ac_cpp='$CPP $CPPFLAGS'
29808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29811
29812
29813 fi
29814
29815 fi
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29818
29819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29820 for ac_func in fabsf
29821 do :
29822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29823 if test "x$ac_cv_func_fabsf" = x""yes; then :
29824 cat >>confdefs.h <<_ACEOF
29825 #define HAVE_FABSF 1
29826 _ACEOF
29827
29828 fi
29829 done
29830
29831 else
29832
29833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29834 $as_echo_n "checking for _fabsf declaration... " >&6; }
29835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29837 $as_echo_n "(cached) " >&6
29838 else
29839
29840
29841 ac_ext=cpp
29842 ac_cpp='$CXXCPP $CPPFLAGS'
29843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29846
29847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29848 /* end confdefs.h. */
29849 #include <math.h>
29850 #ifdef HAVE_IEEEFP_H
29851 #include <ieeefp.h>
29852 #endif
29853
29854 int
29855 main ()
29856 {
29857 _fabsf(0);
29858 ;
29859 return 0;
29860 }
29861 _ACEOF
29862 if ac_fn_cxx_try_compile "$LINENO"; then :
29863 glibcxx_cv_func__fabsf_use=yes
29864 else
29865 glibcxx_cv_func__fabsf_use=no
29866 fi
29867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29868 ac_ext=c
29869 ac_cpp='$CPP $CPPFLAGS'
29870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29873
29874
29875 fi
29876
29877 fi
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29880
29881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29882 for ac_func in _fabsf
29883 do :
29884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29885 if test "x$ac_cv_func__fabsf" = x""yes; then :
29886 cat >>confdefs.h <<_ACEOF
29887 #define HAVE__FABSF 1
29888 _ACEOF
29889
29890 fi
29891 done
29892
29893 fi
29894 fi
29895
29896
29897
29898
29899
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29901 $as_echo_n "checking for fmodf declaration... " >&6; }
29902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29904 $as_echo_n "(cached) " >&6
29905 else
29906
29907
29908 ac_ext=cpp
29909 ac_cpp='$CXXCPP $CPPFLAGS'
29910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29913
29914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29915 /* end confdefs.h. */
29916 #include <math.h>
29917 int
29918 main ()
29919 {
29920 fmodf(0, 0);
29921 ;
29922 return 0;
29923 }
29924 _ACEOF
29925 if ac_fn_cxx_try_compile "$LINENO"; then :
29926 glibcxx_cv_func_fmodf_use=yes
29927 else
29928 glibcxx_cv_func_fmodf_use=no
29929 fi
29930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29931 ac_ext=c
29932 ac_cpp='$CPP $CPPFLAGS'
29933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29936
29937
29938 fi
29939
29940 fi
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29943
29944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29945 for ac_func in fmodf
29946 do :
29947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29948 if test "x$ac_cv_func_fmodf" = x""yes; then :
29949 cat >>confdefs.h <<_ACEOF
29950 #define HAVE_FMODF 1
29951 _ACEOF
29952
29953 fi
29954 done
29955
29956 else
29957
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29959 $as_echo_n "checking for _fmodf declaration... " >&6; }
29960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29962 $as_echo_n "(cached) " >&6
29963 else
29964
29965
29966 ac_ext=cpp
29967 ac_cpp='$CXXCPP $CPPFLAGS'
29968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971
29972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973 /* end confdefs.h. */
29974 #include <math.h>
29975 int
29976 main ()
29977 {
29978 _fmodf(0, 0);
29979 ;
29980 return 0;
29981 }
29982 _ACEOF
29983 if ac_fn_cxx_try_compile "$LINENO"; then :
29984 glibcxx_cv_func__fmodf_use=yes
29985 else
29986 glibcxx_cv_func__fmodf_use=no
29987 fi
29988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29989 ac_ext=c
29990 ac_cpp='$CPP $CPPFLAGS'
29991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994
29995
29996 fi
29997
29998 fi
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30001
30002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30003 for ac_func in _fmodf
30004 do :
30005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30006 if test "x$ac_cv_func__fmodf" = x""yes; then :
30007 cat >>confdefs.h <<_ACEOF
30008 #define HAVE__FMODF 1
30009 _ACEOF
30010
30011 fi
30012 done
30013
30014 fi
30015 fi
30016
30017
30018
30019
30020
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30022 $as_echo_n "checking for frexpf declaration... " >&6; }
30023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30025 $as_echo_n "(cached) " >&6
30026 else
30027
30028
30029 ac_ext=cpp
30030 ac_cpp='$CXXCPP $CPPFLAGS'
30031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30034
30035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30036 /* end confdefs.h. */
30037 #include <math.h>
30038 int
30039 main ()
30040 {
30041 frexpf(0, 0);
30042 ;
30043 return 0;
30044 }
30045 _ACEOF
30046 if ac_fn_cxx_try_compile "$LINENO"; then :
30047 glibcxx_cv_func_frexpf_use=yes
30048 else
30049 glibcxx_cv_func_frexpf_use=no
30050 fi
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30052 ac_ext=c
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30057
30058
30059 fi
30060
30061 fi
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30064
30065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30066 for ac_func in frexpf
30067 do :
30068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30069 if test "x$ac_cv_func_frexpf" = x""yes; then :
30070 cat >>confdefs.h <<_ACEOF
30071 #define HAVE_FREXPF 1
30072 _ACEOF
30073
30074 fi
30075 done
30076
30077 else
30078
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30080 $as_echo_n "checking for _frexpf declaration... " >&6; }
30081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30083 $as_echo_n "(cached) " >&6
30084 else
30085
30086
30087 ac_ext=cpp
30088 ac_cpp='$CXXCPP $CPPFLAGS'
30089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30092
30093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30094 /* end confdefs.h. */
30095 #include <math.h>
30096 int
30097 main ()
30098 {
30099 _frexpf(0, 0);
30100 ;
30101 return 0;
30102 }
30103 _ACEOF
30104 if ac_fn_cxx_try_compile "$LINENO"; then :
30105 glibcxx_cv_func__frexpf_use=yes
30106 else
30107 glibcxx_cv_func__frexpf_use=no
30108 fi
30109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30110 ac_ext=c
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30115
30116
30117 fi
30118
30119 fi
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30122
30123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30124 for ac_func in _frexpf
30125 do :
30126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30127 if test "x$ac_cv_func__frexpf" = x""yes; then :
30128 cat >>confdefs.h <<_ACEOF
30129 #define HAVE__FREXPF 1
30130 _ACEOF
30131
30132 fi
30133 done
30134
30135 fi
30136 fi
30137
30138
30139
30140
30141
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30143 $as_echo_n "checking for hypotf declaration... " >&6; }
30144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30148
30149
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30159 int
30160 main ()
30161 {
30162 hypotf(0, 0);
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 if ac_fn_cxx_try_compile "$LINENO"; then :
30168 glibcxx_cv_func_hypotf_use=yes
30169 else
30170 glibcxx_cv_func_hypotf_use=no
30171 fi
30172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30173 ac_ext=c
30174 ac_cpp='$CPP $CPPFLAGS'
30175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30178
30179
30180 fi
30181
30182 fi
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30185
30186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30187 for ac_func in hypotf
30188 do :
30189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30190 if test "x$ac_cv_func_hypotf" = x""yes; then :
30191 cat >>confdefs.h <<_ACEOF
30192 #define HAVE_HYPOTF 1
30193 _ACEOF
30194
30195 fi
30196 done
30197
30198 else
30199
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30201 $as_echo_n "checking for _hypotf declaration... " >&6; }
30202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30204 $as_echo_n "(cached) " >&6
30205 else
30206
30207
30208 ac_ext=cpp
30209 ac_cpp='$CXXCPP $CPPFLAGS'
30210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30213
30214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30215 /* end confdefs.h. */
30216 #include <math.h>
30217 int
30218 main ()
30219 {
30220 _hypotf(0, 0);
30221 ;
30222 return 0;
30223 }
30224 _ACEOF
30225 if ac_fn_cxx_try_compile "$LINENO"; then :
30226 glibcxx_cv_func__hypotf_use=yes
30227 else
30228 glibcxx_cv_func__hypotf_use=no
30229 fi
30230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30231 ac_ext=c
30232 ac_cpp='$CPP $CPPFLAGS'
30233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30236
30237
30238 fi
30239
30240 fi
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30243
30244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30245 for ac_func in _hypotf
30246 do :
30247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30248 if test "x$ac_cv_func__hypotf" = x""yes; then :
30249 cat >>confdefs.h <<_ACEOF
30250 #define HAVE__HYPOTF 1
30251 _ACEOF
30252
30253 fi
30254 done
30255
30256 fi
30257 fi
30258
30259
30260
30261
30262
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30264 $as_echo_n "checking for ldexpf declaration... " >&6; }
30265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30267 $as_echo_n "(cached) " >&6
30268 else
30269
30270
30271 ac_ext=cpp
30272 ac_cpp='$CXXCPP $CPPFLAGS'
30273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30276
30277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30278 /* end confdefs.h. */
30279 #include <math.h>
30280 int
30281 main ()
30282 {
30283 ldexpf(0, 0);
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 if ac_fn_cxx_try_compile "$LINENO"; then :
30289 glibcxx_cv_func_ldexpf_use=yes
30290 else
30291 glibcxx_cv_func_ldexpf_use=no
30292 fi
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 ac_ext=c
30295 ac_cpp='$CPP $CPPFLAGS'
30296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30299
30300
30301 fi
30302
30303 fi
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30306
30307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30308 for ac_func in ldexpf
30309 do :
30310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30312 cat >>confdefs.h <<_ACEOF
30313 #define HAVE_LDEXPF 1
30314 _ACEOF
30315
30316 fi
30317 done
30318
30319 else
30320
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30325 $as_echo_n "(cached) " >&6
30326 else
30327
30328
30329 ac_ext=cpp
30330 ac_cpp='$CXXCPP $CPPFLAGS'
30331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30334
30335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30336 /* end confdefs.h. */
30337 #include <math.h>
30338 int
30339 main ()
30340 {
30341 _ldexpf(0, 0);
30342 ;
30343 return 0;
30344 }
30345 _ACEOF
30346 if ac_fn_cxx_try_compile "$LINENO"; then :
30347 glibcxx_cv_func__ldexpf_use=yes
30348 else
30349 glibcxx_cv_func__ldexpf_use=no
30350 fi
30351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30352 ac_ext=c
30353 ac_cpp='$CPP $CPPFLAGS'
30354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30357
30358
30359 fi
30360
30361 fi
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30364
30365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30366 for ac_func in _ldexpf
30367 do :
30368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30370 cat >>confdefs.h <<_ACEOF
30371 #define HAVE__LDEXPF 1
30372 _ACEOF
30373
30374 fi
30375 done
30376
30377 fi
30378 fi
30379
30380
30381
30382
30383
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30385 $as_echo_n "checking for logf declaration... " >&6; }
30386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30388 $as_echo_n "(cached) " >&6
30389 else
30390
30391
30392 ac_ext=cpp
30393 ac_cpp='$CXXCPP $CPPFLAGS'
30394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30397
30398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30400 #include <math.h>
30401 #ifdef HAVE_IEEEFP_H
30402 #include <ieeefp.h>
30403 #endif
30404
30405 int
30406 main ()
30407 {
30408 logf(0);
30409 ;
30410 return 0;
30411 }
30412 _ACEOF
30413 if ac_fn_cxx_try_compile "$LINENO"; then :
30414 glibcxx_cv_func_logf_use=yes
30415 else
30416 glibcxx_cv_func_logf_use=no
30417 fi
30418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30419 ac_ext=c
30420 ac_cpp='$CPP $CPPFLAGS'
30421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30424
30425
30426 fi
30427
30428 fi
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30431
30432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30433 for ac_func in logf
30434 do :
30435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30436 if test "x$ac_cv_func_logf" = x""yes; then :
30437 cat >>confdefs.h <<_ACEOF
30438 #define HAVE_LOGF 1
30439 _ACEOF
30440
30441 fi
30442 done
30443
30444 else
30445
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30447 $as_echo_n "checking for _logf declaration... " >&6; }
30448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30450 $as_echo_n "(cached) " >&6
30451 else
30452
30453
30454 ac_ext=cpp
30455 ac_cpp='$CXXCPP $CPPFLAGS'
30456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30459
30460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30461 /* end confdefs.h. */
30462 #include <math.h>
30463 #ifdef HAVE_IEEEFP_H
30464 #include <ieeefp.h>
30465 #endif
30466
30467 int
30468 main ()
30469 {
30470 _logf(0);
30471 ;
30472 return 0;
30473 }
30474 _ACEOF
30475 if ac_fn_cxx_try_compile "$LINENO"; then :
30476 glibcxx_cv_func__logf_use=yes
30477 else
30478 glibcxx_cv_func__logf_use=no
30479 fi
30480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30481 ac_ext=c
30482 ac_cpp='$CPP $CPPFLAGS'
30483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30486
30487
30488 fi
30489
30490 fi
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30493
30494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30495 for ac_func in _logf
30496 do :
30497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30498 if test "x$ac_cv_func__logf" = x""yes; then :
30499 cat >>confdefs.h <<_ACEOF
30500 #define HAVE__LOGF 1
30501 _ACEOF
30502
30503 fi
30504 done
30505
30506 fi
30507 fi
30508
30509
30510
30511
30512
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30514 $as_echo_n "checking for log10f declaration... " >&6; }
30515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30517 $as_echo_n "(cached) " >&6
30518 else
30519
30520
30521 ac_ext=cpp
30522 ac_cpp='$CXXCPP $CPPFLAGS'
30523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30526
30527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30528 /* end confdefs.h. */
30529 #include <math.h>
30530 #ifdef HAVE_IEEEFP_H
30531 #include <ieeefp.h>
30532 #endif
30533
30534 int
30535 main ()
30536 {
30537 log10f(0);
30538 ;
30539 return 0;
30540 }
30541 _ACEOF
30542 if ac_fn_cxx_try_compile "$LINENO"; then :
30543 glibcxx_cv_func_log10f_use=yes
30544 else
30545 glibcxx_cv_func_log10f_use=no
30546 fi
30547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30548 ac_ext=c
30549 ac_cpp='$CPP $CPPFLAGS'
30550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30553
30554
30555 fi
30556
30557 fi
30558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30560
30561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30562 for ac_func in log10f
30563 do :
30564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30565 if test "x$ac_cv_func_log10f" = x""yes; then :
30566 cat >>confdefs.h <<_ACEOF
30567 #define HAVE_LOG10F 1
30568 _ACEOF
30569
30570 fi
30571 done
30572
30573 else
30574
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30576 $as_echo_n "checking for _log10f declaration... " >&6; }
30577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30579 $as_echo_n "(cached) " >&6
30580 else
30581
30582
30583 ac_ext=cpp
30584 ac_cpp='$CXXCPP $CPPFLAGS'
30585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30588
30589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30590 /* end confdefs.h. */
30591 #include <math.h>
30592 #ifdef HAVE_IEEEFP_H
30593 #include <ieeefp.h>
30594 #endif
30595
30596 int
30597 main ()
30598 {
30599 _log10f(0);
30600 ;
30601 return 0;
30602 }
30603 _ACEOF
30604 if ac_fn_cxx_try_compile "$LINENO"; then :
30605 glibcxx_cv_func__log10f_use=yes
30606 else
30607 glibcxx_cv_func__log10f_use=no
30608 fi
30609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30610 ac_ext=c
30611 ac_cpp='$CPP $CPPFLAGS'
30612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30615
30616
30617 fi
30618
30619 fi
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30622
30623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30624 for ac_func in _log10f
30625 do :
30626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30627 if test "x$ac_cv_func__log10f" = x""yes; then :
30628 cat >>confdefs.h <<_ACEOF
30629 #define HAVE__LOG10F 1
30630 _ACEOF
30631
30632 fi
30633 done
30634
30635 fi
30636 fi
30637
30638
30639
30640
30641
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30643 $as_echo_n "checking for modff declaration... " >&6; }
30644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30646 $as_echo_n "(cached) " >&6
30647 else
30648
30649
30650 ac_ext=cpp
30651 ac_cpp='$CXXCPP $CPPFLAGS'
30652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30655
30656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30657 /* end confdefs.h. */
30658 #include <math.h>
30659 int
30660 main ()
30661 {
30662 modff(0, 0);
30663 ;
30664 return 0;
30665 }
30666 _ACEOF
30667 if ac_fn_cxx_try_compile "$LINENO"; then :
30668 glibcxx_cv_func_modff_use=yes
30669 else
30670 glibcxx_cv_func_modff_use=no
30671 fi
30672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30673 ac_ext=c
30674 ac_cpp='$CPP $CPPFLAGS'
30675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30678
30679
30680 fi
30681
30682 fi
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30685
30686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30687 for ac_func in modff
30688 do :
30689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30690 if test "x$ac_cv_func_modff" = x""yes; then :
30691 cat >>confdefs.h <<_ACEOF
30692 #define HAVE_MODFF 1
30693 _ACEOF
30694
30695 fi
30696 done
30697
30698 else
30699
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30701 $as_echo_n "checking for _modff declaration... " >&6; }
30702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30704 $as_echo_n "(cached) " >&6
30705 else
30706
30707
30708 ac_ext=cpp
30709 ac_cpp='$CXXCPP $CPPFLAGS'
30710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30713
30714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30715 /* end confdefs.h. */
30716 #include <math.h>
30717 int
30718 main ()
30719 {
30720 _modff(0, 0);
30721 ;
30722 return 0;
30723 }
30724 _ACEOF
30725 if ac_fn_cxx_try_compile "$LINENO"; then :
30726 glibcxx_cv_func__modff_use=yes
30727 else
30728 glibcxx_cv_func__modff_use=no
30729 fi
30730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30731 ac_ext=c
30732 ac_cpp='$CPP $CPPFLAGS'
30733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30736
30737
30738 fi
30739
30740 fi
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30743
30744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30745 for ac_func in _modff
30746 do :
30747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30748 if test "x$ac_cv_func__modff" = x""yes; then :
30749 cat >>confdefs.h <<_ACEOF
30750 #define HAVE__MODFF 1
30751 _ACEOF
30752
30753 fi
30754 done
30755
30756 fi
30757 fi
30758
30759
30760
30761
30762
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30764 $as_echo_n "checking for modf declaration... " >&6; }
30765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30767 $as_echo_n "(cached) " >&6
30768 else
30769
30770
30771 ac_ext=cpp
30772 ac_cpp='$CXXCPP $CPPFLAGS'
30773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30776
30777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30778 /* end confdefs.h. */
30779 #include <math.h>
30780 int
30781 main ()
30782 {
30783 modf(0, 0);
30784 ;
30785 return 0;
30786 }
30787 _ACEOF
30788 if ac_fn_cxx_try_compile "$LINENO"; then :
30789 glibcxx_cv_func_modf_use=yes
30790 else
30791 glibcxx_cv_func_modf_use=no
30792 fi
30793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30794 ac_ext=c
30795 ac_cpp='$CPP $CPPFLAGS'
30796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30799
30800
30801 fi
30802
30803 fi
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30806
30807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30808 for ac_func in modf
30809 do :
30810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30811 if test "x$ac_cv_func_modf" = x""yes; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define HAVE_MODF 1
30814 _ACEOF
30815
30816 fi
30817 done
30818
30819 else
30820
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30822 $as_echo_n "checking for _modf declaration... " >&6; }
30823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30825 $as_echo_n "(cached) " >&6
30826 else
30827
30828
30829 ac_ext=cpp
30830 ac_cpp='$CXXCPP $CPPFLAGS'
30831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30834
30835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30836 /* end confdefs.h. */
30837 #include <math.h>
30838 int
30839 main ()
30840 {
30841 _modf(0, 0);
30842 ;
30843 return 0;
30844 }
30845 _ACEOF
30846 if ac_fn_cxx_try_compile "$LINENO"; then :
30847 glibcxx_cv_func__modf_use=yes
30848 else
30849 glibcxx_cv_func__modf_use=no
30850 fi
30851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30852 ac_ext=c
30853 ac_cpp='$CPP $CPPFLAGS'
30854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30857
30858
30859 fi
30860
30861 fi
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30864
30865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30866 for ac_func in _modf
30867 do :
30868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30869 if test "x$ac_cv_func__modf" = x""yes; then :
30870 cat >>confdefs.h <<_ACEOF
30871 #define HAVE__MODF 1
30872 _ACEOF
30873
30874 fi
30875 done
30876
30877 fi
30878 fi
30879
30880
30881
30882
30883
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30885 $as_echo_n "checking for powf declaration... " >&6; }
30886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30888 $as_echo_n "(cached) " >&6
30889 else
30890
30891
30892 ac_ext=cpp
30893 ac_cpp='$CXXCPP $CPPFLAGS'
30894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30897
30898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30899 /* end confdefs.h. */
30900 #include <math.h>
30901 int
30902 main ()
30903 {
30904 powf(0, 0);
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 if ac_fn_cxx_try_compile "$LINENO"; then :
30910 glibcxx_cv_func_powf_use=yes
30911 else
30912 glibcxx_cv_func_powf_use=no
30913 fi
30914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30915 ac_ext=c
30916 ac_cpp='$CPP $CPPFLAGS'
30917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30920
30921
30922 fi
30923
30924 fi
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30927
30928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30929 for ac_func in powf
30930 do :
30931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30932 if test "x$ac_cv_func_powf" = x""yes; then :
30933 cat >>confdefs.h <<_ACEOF
30934 #define HAVE_POWF 1
30935 _ACEOF
30936
30937 fi
30938 done
30939
30940 else
30941
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30943 $as_echo_n "checking for _powf declaration... " >&6; }
30944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30946 $as_echo_n "(cached) " >&6
30947 else
30948
30949
30950 ac_ext=cpp
30951 ac_cpp='$CXXCPP $CPPFLAGS'
30952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30955
30956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30957 /* end confdefs.h. */
30958 #include <math.h>
30959 int
30960 main ()
30961 {
30962 _powf(0, 0);
30963 ;
30964 return 0;
30965 }
30966 _ACEOF
30967 if ac_fn_cxx_try_compile "$LINENO"; then :
30968 glibcxx_cv_func__powf_use=yes
30969 else
30970 glibcxx_cv_func__powf_use=no
30971 fi
30972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30973 ac_ext=c
30974 ac_cpp='$CPP $CPPFLAGS'
30975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30978
30979
30980 fi
30981
30982 fi
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30985
30986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30987 for ac_func in _powf
30988 do :
30989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30990 if test "x$ac_cv_func__powf" = x""yes; then :
30991 cat >>confdefs.h <<_ACEOF
30992 #define HAVE__POWF 1
30993 _ACEOF
30994
30995 fi
30996 done
30997
30998 fi
30999 fi
31000
31001
31002
31003
31004
31005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31006 $as_echo_n "checking for sqrtf declaration... " >&6; }
31007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31009 $as_echo_n "(cached) " >&6
31010 else
31011
31012
31013 ac_ext=cpp
31014 ac_cpp='$CXXCPP $CPPFLAGS'
31015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31018
31019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31020 /* end confdefs.h. */
31021 #include <math.h>
31022 #ifdef HAVE_IEEEFP_H
31023 #include <ieeefp.h>
31024 #endif
31025
31026 int
31027 main ()
31028 {
31029 sqrtf(0);
31030 ;
31031 return 0;
31032 }
31033 _ACEOF
31034 if ac_fn_cxx_try_compile "$LINENO"; then :
31035 glibcxx_cv_func_sqrtf_use=yes
31036 else
31037 glibcxx_cv_func_sqrtf_use=no
31038 fi
31039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31040 ac_ext=c
31041 ac_cpp='$CPP $CPPFLAGS'
31042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31045
31046
31047 fi
31048
31049 fi
31050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31052
31053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31054 for ac_func in sqrtf
31055 do :
31056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31058 cat >>confdefs.h <<_ACEOF
31059 #define HAVE_SQRTF 1
31060 _ACEOF
31061
31062 fi
31063 done
31064
31065 else
31066
31067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31071 $as_echo_n "(cached) " >&6
31072 else
31073
31074
31075 ac_ext=cpp
31076 ac_cpp='$CXXCPP $CPPFLAGS'
31077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31080
31081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31082 /* end confdefs.h. */
31083 #include <math.h>
31084 #ifdef HAVE_IEEEFP_H
31085 #include <ieeefp.h>
31086 #endif
31087
31088 int
31089 main ()
31090 {
31091 _sqrtf(0);
31092 ;
31093 return 0;
31094 }
31095 _ACEOF
31096 if ac_fn_cxx_try_compile "$LINENO"; then :
31097 glibcxx_cv_func__sqrtf_use=yes
31098 else
31099 glibcxx_cv_func__sqrtf_use=no
31100 fi
31101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31102 ac_ext=c
31103 ac_cpp='$CPP $CPPFLAGS'
31104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31107
31108
31109 fi
31110
31111 fi
31112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31114
31115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31116 for ac_func in _sqrtf
31117 do :
31118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31120 cat >>confdefs.h <<_ACEOF
31121 #define HAVE__SQRTF 1
31122 _ACEOF
31123
31124 fi
31125 done
31126
31127 fi
31128 fi
31129
31130
31131
31132
31133
31134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31135 $as_echo_n "checking for sincosf declaration... " >&6; }
31136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31138 $as_echo_n "(cached) " >&6
31139 else
31140
31141
31142 ac_ext=cpp
31143 ac_cpp='$CXXCPP $CPPFLAGS'
31144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31147
31148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31150 #include <math.h>
31151 int
31152 main ()
31153 {
31154 sincosf(0, 0, 0);
31155 ;
31156 return 0;
31157 }
31158 _ACEOF
31159 if ac_fn_cxx_try_compile "$LINENO"; then :
31160 glibcxx_cv_func_sincosf_use=yes
31161 else
31162 glibcxx_cv_func_sincosf_use=no
31163 fi
31164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31165 ac_ext=c
31166 ac_cpp='$CPP $CPPFLAGS'
31167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31170
31171
31172 fi
31173
31174 fi
31175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31177
31178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31179 for ac_func in sincosf
31180 do :
31181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31182 if test "x$ac_cv_func_sincosf" = x""yes; then :
31183 cat >>confdefs.h <<_ACEOF
31184 #define HAVE_SINCOSF 1
31185 _ACEOF
31186
31187 fi
31188 done
31189
31190 else
31191
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31193 $as_echo_n "checking for _sincosf declaration... " >&6; }
31194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31196 $as_echo_n "(cached) " >&6
31197 else
31198
31199
31200 ac_ext=cpp
31201 ac_cpp='$CXXCPP $CPPFLAGS'
31202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31205
31206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31207 /* end confdefs.h. */
31208 #include <math.h>
31209 int
31210 main ()
31211 {
31212 _sincosf(0, 0, 0);
31213 ;
31214 return 0;
31215 }
31216 _ACEOF
31217 if ac_fn_cxx_try_compile "$LINENO"; then :
31218 glibcxx_cv_func__sincosf_use=yes
31219 else
31220 glibcxx_cv_func__sincosf_use=no
31221 fi
31222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31223 ac_ext=c
31224 ac_cpp='$CPP $CPPFLAGS'
31225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31228
31229
31230 fi
31231
31232 fi
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31235
31236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31237 for ac_func in _sincosf
31238 do :
31239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31240 if test "x$ac_cv_func__sincosf" = x""yes; then :
31241 cat >>confdefs.h <<_ACEOF
31242 #define HAVE__SINCOSF 1
31243 _ACEOF
31244
31245 fi
31246 done
31247
31248 fi
31249 fi
31250
31251
31252
31253
31254
31255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31256 $as_echo_n "checking for finitef declaration... " >&6; }
31257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31259 $as_echo_n "(cached) " >&6
31260 else
31261
31262
31263 ac_ext=cpp
31264 ac_cpp='$CXXCPP $CPPFLAGS'
31265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31268
31269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31270 /* end confdefs.h. */
31271 #include <math.h>
31272 #ifdef HAVE_IEEEFP_H
31273 #include <ieeefp.h>
31274 #endif
31275
31276 int
31277 main ()
31278 {
31279 finitef(0);
31280 ;
31281 return 0;
31282 }
31283 _ACEOF
31284 if ac_fn_cxx_try_compile "$LINENO"; then :
31285 glibcxx_cv_func_finitef_use=yes
31286 else
31287 glibcxx_cv_func_finitef_use=no
31288 fi
31289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31290 ac_ext=c
31291 ac_cpp='$CPP $CPPFLAGS'
31292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31295
31296
31297 fi
31298
31299 fi
31300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31302
31303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31304 for ac_func in finitef
31305 do :
31306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31307 if test "x$ac_cv_func_finitef" = x""yes; then :
31308 cat >>confdefs.h <<_ACEOF
31309 #define HAVE_FINITEF 1
31310 _ACEOF
31311
31312 fi
31313 done
31314
31315 else
31316
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31318 $as_echo_n "checking for _finitef declaration... " >&6; }
31319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31321 $as_echo_n "(cached) " >&6
31322 else
31323
31324
31325 ac_ext=cpp
31326 ac_cpp='$CXXCPP $CPPFLAGS'
31327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31330
31331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31332 /* end confdefs.h. */
31333 #include <math.h>
31334 #ifdef HAVE_IEEEFP_H
31335 #include <ieeefp.h>
31336 #endif
31337
31338 int
31339 main ()
31340 {
31341 _finitef(0);
31342 ;
31343 return 0;
31344 }
31345 _ACEOF
31346 if ac_fn_cxx_try_compile "$LINENO"; then :
31347 glibcxx_cv_func__finitef_use=yes
31348 else
31349 glibcxx_cv_func__finitef_use=no
31350 fi
31351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31352 ac_ext=c
31353 ac_cpp='$CPP $CPPFLAGS'
31354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31357
31358
31359 fi
31360
31361 fi
31362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31364
31365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31366 for ac_func in _finitef
31367 do :
31368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31369 if test "x$ac_cv_func__finitef" = x""yes; then :
31370 cat >>confdefs.h <<_ACEOF
31371 #define HAVE__FINITEF 1
31372 _ACEOF
31373
31374 fi
31375 done
31376
31377 fi
31378 fi
31379
31380
31381
31382
31383
31384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31385 $as_echo_n "checking for long double trig functions... " >&6; }
31386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31387 $as_echo_n "(cached) " >&6
31388 else
31389
31390
31391 ac_ext=cpp
31392 ac_cpp='$CXXCPP $CPPFLAGS'
31393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396
31397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31398 /* end confdefs.h. */
31399 #include <math.h>
31400 int
31401 main ()
31402 {
31403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31404 ;
31405 return 0;
31406 }
31407 _ACEOF
31408 if ac_fn_cxx_try_compile "$LINENO"; then :
31409 glibcxx_cv_func_long_double_trig_use=yes
31410 else
31411 glibcxx_cv_func_long_double_trig_use=no
31412 fi
31413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31414 ac_ext=c
31415 ac_cpp='$CPP $CPPFLAGS'
31416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31419
31420 fi
31421
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31426 do :
31427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31429 eval as_val=\$$as_ac_var
31430 if test "x$as_val" = x""yes; then :
31431 cat >>confdefs.h <<_ACEOF
31432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31433 _ACEOF
31434
31435 fi
31436 done
31437
31438 else
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31440 $as_echo_n "checking for _long double trig functions... " >&6; }
31441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31442 $as_echo_n "(cached) " >&6
31443 else
31444
31445
31446 ac_ext=cpp
31447 ac_cpp='$CXXCPP $CPPFLAGS'
31448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31451
31452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31453 /* end confdefs.h. */
31454 #include <math.h>
31455 int
31456 main ()
31457 {
31458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31459 ;
31460 return 0;
31461 }
31462 _ACEOF
31463 if ac_fn_cxx_try_compile "$LINENO"; then :
31464 glibcxx_cv_func__long_double_trig_use=yes
31465 else
31466 glibcxx_cv_func__long_double_trig_use=no
31467 fi
31468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31469 ac_ext=c
31470 ac_cpp='$CPP $CPPFLAGS'
31471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31474
31475 fi
31476
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31481 do :
31482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31484 eval as_val=\$$as_ac_var
31485 if test "x$as_val" = x""yes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31488 _ACEOF
31489
31490 fi
31491 done
31492
31493 fi
31494 fi
31495
31496
31497
31498
31499
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31501 $as_echo_n "checking for long double round functions... " >&6; }
31502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31505
31506
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31516 int
31517 main ()
31518 {
31519 ceill (0); floorl (0);
31520 ;
31521 return 0;
31522 }
31523 _ACEOF
31524 if ac_fn_cxx_try_compile "$LINENO"; then :
31525 glibcxx_cv_func_long_double_round_use=yes
31526 else
31527 glibcxx_cv_func_long_double_round_use=no
31528 fi
31529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530 ac_ext=c
31531 ac_cpp='$CPP $CPPFLAGS'
31532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31535
31536 fi
31537
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31541 for ac_func in ceill floorl
31542 do :
31543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31545 eval as_val=\$$as_ac_var
31546 if test "x$as_val" = x""yes; then :
31547 cat >>confdefs.h <<_ACEOF
31548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31549 _ACEOF
31550
31551 fi
31552 done
31553
31554 else
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31556 $as_echo_n "checking for _long double round functions... " >&6; }
31557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31558 $as_echo_n "(cached) " >&6
31559 else
31560
31561
31562 ac_ext=cpp
31563 ac_cpp='$CXXCPP $CPPFLAGS'
31564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31567
31568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31569 /* end confdefs.h. */
31570 #include <math.h>
31571 int
31572 main ()
31573 {
31574 _ceill (0); _floorl (0);
31575 ;
31576 return 0;
31577 }
31578 _ACEOF
31579 if ac_fn_cxx_try_compile "$LINENO"; then :
31580 glibcxx_cv_func__long_double_round_use=yes
31581 else
31582 glibcxx_cv_func__long_double_round_use=no
31583 fi
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31585 ac_ext=c
31586 ac_cpp='$CPP $CPPFLAGS'
31587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31590
31591 fi
31592
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31596 for ac_func in _ceill _floorl
31597 do :
31598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31600 eval as_val=\$$as_ac_var
31601 if test "x$as_val" = x""yes; then :
31602 cat >>confdefs.h <<_ACEOF
31603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31604 _ACEOF
31605
31606 fi
31607 done
31608
31609 fi
31610 fi
31611
31612
31613
31614
31615
31616
31617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31618 $as_echo_n "checking for isnanl declaration... " >&6; }
31619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31621 $as_echo_n "(cached) " >&6
31622 else
31623
31624
31625 ac_ext=cpp
31626 ac_cpp='$CXXCPP $CPPFLAGS'
31627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31630
31631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31632 /* end confdefs.h. */
31633 #include <math.h>
31634 #ifdef HAVE_IEEEFP_H
31635 #include <ieeefp.h>
31636 #endif
31637
31638 int
31639 main ()
31640 {
31641 isnanl(0);
31642 ;
31643 return 0;
31644 }
31645 _ACEOF
31646 if ac_fn_cxx_try_compile "$LINENO"; then :
31647 glibcxx_cv_func_isnanl_use=yes
31648 else
31649 glibcxx_cv_func_isnanl_use=no
31650 fi
31651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31652 ac_ext=c
31653 ac_cpp='$CPP $CPPFLAGS'
31654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31657
31658
31659 fi
31660
31661 fi
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31664
31665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31666 for ac_func in isnanl
31667 do :
31668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31669 if test "x$ac_cv_func_isnanl" = x""yes; then :
31670 cat >>confdefs.h <<_ACEOF
31671 #define HAVE_ISNANL 1
31672 _ACEOF
31673
31674 fi
31675 done
31676
31677 else
31678
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31680 $as_echo_n "checking for _isnanl declaration... " >&6; }
31681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31683 $as_echo_n "(cached) " >&6
31684 else
31685
31686
31687 ac_ext=cpp
31688 ac_cpp='$CXXCPP $CPPFLAGS'
31689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31692
31693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31694 /* end confdefs.h. */
31695 #include <math.h>
31696 #ifdef HAVE_IEEEFP_H
31697 #include <ieeefp.h>
31698 #endif
31699
31700 int
31701 main ()
31702 {
31703 _isnanl(0);
31704 ;
31705 return 0;
31706 }
31707 _ACEOF
31708 if ac_fn_cxx_try_compile "$LINENO"; then :
31709 glibcxx_cv_func__isnanl_use=yes
31710 else
31711 glibcxx_cv_func__isnanl_use=no
31712 fi
31713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31714 ac_ext=c
31715 ac_cpp='$CPP $CPPFLAGS'
31716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31719
31720
31721 fi
31722
31723 fi
31724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31726
31727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31728 for ac_func in _isnanl
31729 do :
31730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31731 if test "x$ac_cv_func__isnanl" = x""yes; then :
31732 cat >>confdefs.h <<_ACEOF
31733 #define HAVE__ISNANL 1
31734 _ACEOF
31735
31736 fi
31737 done
31738
31739 fi
31740 fi
31741
31742
31743
31744
31745
31746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31747 $as_echo_n "checking for isinfl declaration... " >&6; }
31748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31750 $as_echo_n "(cached) " >&6
31751 else
31752
31753
31754 ac_ext=cpp
31755 ac_cpp='$CXXCPP $CPPFLAGS'
31756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31759
31760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31761 /* end confdefs.h. */
31762 #include <math.h>
31763 #ifdef HAVE_IEEEFP_H
31764 #include <ieeefp.h>
31765 #endif
31766
31767 int
31768 main ()
31769 {
31770 isinfl(0);
31771 ;
31772 return 0;
31773 }
31774 _ACEOF
31775 if ac_fn_cxx_try_compile "$LINENO"; then :
31776 glibcxx_cv_func_isinfl_use=yes
31777 else
31778 glibcxx_cv_func_isinfl_use=no
31779 fi
31780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31781 ac_ext=c
31782 ac_cpp='$CPP $CPPFLAGS'
31783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31786
31787
31788 fi
31789
31790 fi
31791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31793
31794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31795 for ac_func in isinfl
31796 do :
31797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31798 if test "x$ac_cv_func_isinfl" = x""yes; then :
31799 cat >>confdefs.h <<_ACEOF
31800 #define HAVE_ISINFL 1
31801 _ACEOF
31802
31803 fi
31804 done
31805
31806 else
31807
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31809 $as_echo_n "checking for _isinfl declaration... " >&6; }
31810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31812 $as_echo_n "(cached) " >&6
31813 else
31814
31815
31816 ac_ext=cpp
31817 ac_cpp='$CXXCPP $CPPFLAGS'
31818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31821
31822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31823 /* end confdefs.h. */
31824 #include <math.h>
31825 #ifdef HAVE_IEEEFP_H
31826 #include <ieeefp.h>
31827 #endif
31828
31829 int
31830 main ()
31831 {
31832 _isinfl(0);
31833 ;
31834 return 0;
31835 }
31836 _ACEOF
31837 if ac_fn_cxx_try_compile "$LINENO"; then :
31838 glibcxx_cv_func__isinfl_use=yes
31839 else
31840 glibcxx_cv_func__isinfl_use=no
31841 fi
31842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31843 ac_ext=c
31844 ac_cpp='$CPP $CPPFLAGS'
31845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31848
31849
31850 fi
31851
31852 fi
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31855
31856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31857 for ac_func in _isinfl
31858 do :
31859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31860 if test "x$ac_cv_func__isinfl" = x""yes; then :
31861 cat >>confdefs.h <<_ACEOF
31862 #define HAVE__ISINFL 1
31863 _ACEOF
31864
31865 fi
31866 done
31867
31868 fi
31869 fi
31870
31871
31872
31873
31874
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31876 $as_echo_n "checking for atan2l declaration... " >&6; }
31877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31880 else
31881
31882
31883 ac_ext=cpp
31884 ac_cpp='$CXXCPP $CPPFLAGS'
31885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31888
31889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31890 /* end confdefs.h. */
31891 #include <math.h>
31892 int
31893 main ()
31894 {
31895 atan2l(0, 0);
31896 ;
31897 return 0;
31898 }
31899 _ACEOF
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func_atan2l_use=yes
31902 else
31903 glibcxx_cv_func_atan2l_use=no
31904 fi
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31906 ac_ext=c
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31911
31912
31913 fi
31914
31915 fi
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31918
31919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31920 for ac_func in atan2l
31921 do :
31922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31923 if test "x$ac_cv_func_atan2l" = x""yes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE_ATAN2L 1
31926 _ACEOF
31927
31928 fi
31929 done
31930
31931 else
31932
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31934 $as_echo_n "checking for _atan2l declaration... " >&6; }
31935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31937 $as_echo_n "(cached) " >&6
31938 else
31939
31940
31941 ac_ext=cpp
31942 ac_cpp='$CXXCPP $CPPFLAGS'
31943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31946
31947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31948 /* end confdefs.h. */
31949 #include <math.h>
31950 int
31951 main ()
31952 {
31953 _atan2l(0, 0);
31954 ;
31955 return 0;
31956 }
31957 _ACEOF
31958 if ac_fn_cxx_try_compile "$LINENO"; then :
31959 glibcxx_cv_func__atan2l_use=yes
31960 else
31961 glibcxx_cv_func__atan2l_use=no
31962 fi
31963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31964 ac_ext=c
31965 ac_cpp='$CPP $CPPFLAGS'
31966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31969
31970
31971 fi
31972
31973 fi
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31976
31977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31978 for ac_func in _atan2l
31979 do :
31980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31981 if test "x$ac_cv_func__atan2l" = x""yes; then :
31982 cat >>confdefs.h <<_ACEOF
31983 #define HAVE__ATAN2L 1
31984 _ACEOF
31985
31986 fi
31987 done
31988
31989 fi
31990 fi
31991
31992
31993
31994
31995
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31997 $as_echo_n "checking for expl declaration... " >&6; }
31998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32000 $as_echo_n "(cached) " >&6
32001 else
32002
32003
32004 ac_ext=cpp
32005 ac_cpp='$CXXCPP $CPPFLAGS'
32006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32009
32010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32011 /* end confdefs.h. */
32012 #include <math.h>
32013 #ifdef HAVE_IEEEFP_H
32014 #include <ieeefp.h>
32015 #endif
32016
32017 int
32018 main ()
32019 {
32020 expl(0);
32021 ;
32022 return 0;
32023 }
32024 _ACEOF
32025 if ac_fn_cxx_try_compile "$LINENO"; then :
32026 glibcxx_cv_func_expl_use=yes
32027 else
32028 glibcxx_cv_func_expl_use=no
32029 fi
32030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32031 ac_ext=c
32032 ac_cpp='$CPP $CPPFLAGS'
32033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32036
32037
32038 fi
32039
32040 fi
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32043
32044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32045 for ac_func in expl
32046 do :
32047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32048 if test "x$ac_cv_func_expl" = x""yes; then :
32049 cat >>confdefs.h <<_ACEOF
32050 #define HAVE_EXPL 1
32051 _ACEOF
32052
32053 fi
32054 done
32055
32056 else
32057
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32059 $as_echo_n "checking for _expl declaration... " >&6; }
32060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32062 $as_echo_n "(cached) " >&6
32063 else
32064
32065
32066 ac_ext=cpp
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32071
32072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32073 /* end confdefs.h. */
32074 #include <math.h>
32075 #ifdef HAVE_IEEEFP_H
32076 #include <ieeefp.h>
32077 #endif
32078
32079 int
32080 main ()
32081 {
32082 _expl(0);
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 if ac_fn_cxx_try_compile "$LINENO"; then :
32088 glibcxx_cv_func__expl_use=yes
32089 else
32090 glibcxx_cv_func__expl_use=no
32091 fi
32092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32093 ac_ext=c
32094 ac_cpp='$CPP $CPPFLAGS'
32095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098
32099
32100 fi
32101
32102 fi
32103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32105
32106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32107 for ac_func in _expl
32108 do :
32109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32110 if test "x$ac_cv_func__expl" = x""yes; then :
32111 cat >>confdefs.h <<_ACEOF
32112 #define HAVE__EXPL 1
32113 _ACEOF
32114
32115 fi
32116 done
32117
32118 fi
32119 fi
32120
32121
32122
32123
32124
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32126 $as_echo_n "checking for fabsl declaration... " >&6; }
32127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32129 $as_echo_n "(cached) " >&6
32130 else
32131
32132
32133 ac_ext=cpp
32134 ac_cpp='$CXXCPP $CPPFLAGS'
32135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32138
32139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32140 /* end confdefs.h. */
32141 #include <math.h>
32142 #ifdef HAVE_IEEEFP_H
32143 #include <ieeefp.h>
32144 #endif
32145
32146 int
32147 main ()
32148 {
32149 fabsl(0);
32150 ;
32151 return 0;
32152 }
32153 _ACEOF
32154 if ac_fn_cxx_try_compile "$LINENO"; then :
32155 glibcxx_cv_func_fabsl_use=yes
32156 else
32157 glibcxx_cv_func_fabsl_use=no
32158 fi
32159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32160 ac_ext=c
32161 ac_cpp='$CPP $CPPFLAGS'
32162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32165
32166
32167 fi
32168
32169 fi
32170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32172
32173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32174 for ac_func in fabsl
32175 do :
32176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32177 if test "x$ac_cv_func_fabsl" = x""yes; then :
32178 cat >>confdefs.h <<_ACEOF
32179 #define HAVE_FABSL 1
32180 _ACEOF
32181
32182 fi
32183 done
32184
32185 else
32186
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32188 $as_echo_n "checking for _fabsl declaration... " >&6; }
32189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32191 $as_echo_n "(cached) " >&6
32192 else
32193
32194
32195 ac_ext=cpp
32196 ac_cpp='$CXXCPP $CPPFLAGS'
32197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32200
32201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32202 /* end confdefs.h. */
32203 #include <math.h>
32204 #ifdef HAVE_IEEEFP_H
32205 #include <ieeefp.h>
32206 #endif
32207
32208 int
32209 main ()
32210 {
32211 _fabsl(0);
32212 ;
32213 return 0;
32214 }
32215 _ACEOF
32216 if ac_fn_cxx_try_compile "$LINENO"; then :
32217 glibcxx_cv_func__fabsl_use=yes
32218 else
32219 glibcxx_cv_func__fabsl_use=no
32220 fi
32221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32222 ac_ext=c
32223 ac_cpp='$CPP $CPPFLAGS'
32224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32227
32228
32229 fi
32230
32231 fi
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32234
32235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32236 for ac_func in _fabsl
32237 do :
32238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32239 if test "x$ac_cv_func__fabsl" = x""yes; then :
32240 cat >>confdefs.h <<_ACEOF
32241 #define HAVE__FABSL 1
32242 _ACEOF
32243
32244 fi
32245 done
32246
32247 fi
32248 fi
32249
32250
32251
32252
32253
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32255 $as_echo_n "checking for fmodl declaration... " >&6; }
32256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32258 $as_echo_n "(cached) " >&6
32259 else
32260
32261
32262 ac_ext=cpp
32263 ac_cpp='$CXXCPP $CPPFLAGS'
32264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32267
32268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32269 /* end confdefs.h. */
32270 #include <math.h>
32271 int
32272 main ()
32273 {
32274 fmodl(0, 0);
32275 ;
32276 return 0;
32277 }
32278 _ACEOF
32279 if ac_fn_cxx_try_compile "$LINENO"; then :
32280 glibcxx_cv_func_fmodl_use=yes
32281 else
32282 glibcxx_cv_func_fmodl_use=no
32283 fi
32284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32285 ac_ext=c
32286 ac_cpp='$CPP $CPPFLAGS'
32287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32290
32291
32292 fi
32293
32294 fi
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32297
32298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32299 for ac_func in fmodl
32300 do :
32301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32302 if test "x$ac_cv_func_fmodl" = x""yes; then :
32303 cat >>confdefs.h <<_ACEOF
32304 #define HAVE_FMODL 1
32305 _ACEOF
32306
32307 fi
32308 done
32309
32310 else
32311
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32313 $as_echo_n "checking for _fmodl declaration... " >&6; }
32314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32316 $as_echo_n "(cached) " >&6
32317 else
32318
32319
32320 ac_ext=cpp
32321 ac_cpp='$CXXCPP $CPPFLAGS'
32322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32325
32326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32327 /* end confdefs.h. */
32328 #include <math.h>
32329 int
32330 main ()
32331 {
32332 _fmodl(0, 0);
32333 ;
32334 return 0;
32335 }
32336 _ACEOF
32337 if ac_fn_cxx_try_compile "$LINENO"; then :
32338 glibcxx_cv_func__fmodl_use=yes
32339 else
32340 glibcxx_cv_func__fmodl_use=no
32341 fi
32342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32343 ac_ext=c
32344 ac_cpp='$CPP $CPPFLAGS'
32345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32348
32349
32350 fi
32351
32352 fi
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32355
32356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32357 for ac_func in _fmodl
32358 do :
32359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32360 if test "x$ac_cv_func__fmodl" = x""yes; then :
32361 cat >>confdefs.h <<_ACEOF
32362 #define HAVE__FMODL 1
32363 _ACEOF
32364
32365 fi
32366 done
32367
32368 fi
32369 fi
32370
32371
32372
32373
32374
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32376 $as_echo_n "checking for frexpl declaration... " >&6; }
32377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32379 $as_echo_n "(cached) " >&6
32380 else
32381
32382
32383 ac_ext=cpp
32384 ac_cpp='$CXXCPP $CPPFLAGS'
32385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32388
32389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32390 /* end confdefs.h. */
32391 #include <math.h>
32392 int
32393 main ()
32394 {
32395 frexpl(0, 0);
32396 ;
32397 return 0;
32398 }
32399 _ACEOF
32400 if ac_fn_cxx_try_compile "$LINENO"; then :
32401 glibcxx_cv_func_frexpl_use=yes
32402 else
32403 glibcxx_cv_func_frexpl_use=no
32404 fi
32405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32406 ac_ext=c
32407 ac_cpp='$CPP $CPPFLAGS'
32408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32411
32412
32413 fi
32414
32415 fi
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32418
32419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32420 for ac_func in frexpl
32421 do :
32422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32423 if test "x$ac_cv_func_frexpl" = x""yes; then :
32424 cat >>confdefs.h <<_ACEOF
32425 #define HAVE_FREXPL 1
32426 _ACEOF
32427
32428 fi
32429 done
32430
32431 else
32432
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32434 $as_echo_n "checking for _frexpl declaration... " >&6; }
32435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32437 $as_echo_n "(cached) " >&6
32438 else
32439
32440
32441 ac_ext=cpp
32442 ac_cpp='$CXXCPP $CPPFLAGS'
32443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32446
32447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32448 /* end confdefs.h. */
32449 #include <math.h>
32450 int
32451 main ()
32452 {
32453 _frexpl(0, 0);
32454 ;
32455 return 0;
32456 }
32457 _ACEOF
32458 if ac_fn_cxx_try_compile "$LINENO"; then :
32459 glibcxx_cv_func__frexpl_use=yes
32460 else
32461 glibcxx_cv_func__frexpl_use=no
32462 fi
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464 ac_ext=c
32465 ac_cpp='$CPP $CPPFLAGS'
32466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32469
32470
32471 fi
32472
32473 fi
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32476
32477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32478 for ac_func in _frexpl
32479 do :
32480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32481 if test "x$ac_cv_func__frexpl" = x""yes; then :
32482 cat >>confdefs.h <<_ACEOF
32483 #define HAVE__FREXPL 1
32484 _ACEOF
32485
32486 fi
32487 done
32488
32489 fi
32490 fi
32491
32492
32493
32494
32495
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32497 $as_echo_n "checking for hypotl declaration... " >&6; }
32498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32502
32503
32504 ac_ext=cpp
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32509
32510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h. */
32512 #include <math.h>
32513 int
32514 main ()
32515 {
32516 hypotl(0, 0);
32517 ;
32518 return 0;
32519 }
32520 _ACEOF
32521 if ac_fn_cxx_try_compile "$LINENO"; then :
32522 glibcxx_cv_func_hypotl_use=yes
32523 else
32524 glibcxx_cv_func_hypotl_use=no
32525 fi
32526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32527 ac_ext=c
32528 ac_cpp='$CPP $CPPFLAGS'
32529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32532
32533
32534 fi
32535
32536 fi
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32539
32540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32541 for ac_func in hypotl
32542 do :
32543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32544 if test "x$ac_cv_func_hypotl" = x""yes; then :
32545 cat >>confdefs.h <<_ACEOF
32546 #define HAVE_HYPOTL 1
32547 _ACEOF
32548
32549 fi
32550 done
32551
32552 else
32553
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32555 $as_echo_n "checking for _hypotl declaration... " >&6; }
32556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32558 $as_echo_n "(cached) " >&6
32559 else
32560
32561
32562 ac_ext=cpp
32563 ac_cpp='$CXXCPP $CPPFLAGS'
32564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32567
32568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32569 /* end confdefs.h. */
32570 #include <math.h>
32571 int
32572 main ()
32573 {
32574 _hypotl(0, 0);
32575 ;
32576 return 0;
32577 }
32578 _ACEOF
32579 if ac_fn_cxx_try_compile "$LINENO"; then :
32580 glibcxx_cv_func__hypotl_use=yes
32581 else
32582 glibcxx_cv_func__hypotl_use=no
32583 fi
32584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32585 ac_ext=c
32586 ac_cpp='$CPP $CPPFLAGS'
32587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32590
32591
32592 fi
32593
32594 fi
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32597
32598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32599 for ac_func in _hypotl
32600 do :
32601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32602 if test "x$ac_cv_func__hypotl" = x""yes; then :
32603 cat >>confdefs.h <<_ACEOF
32604 #define HAVE__HYPOTL 1
32605 _ACEOF
32606
32607 fi
32608 done
32609
32610 fi
32611 fi
32612
32613
32614
32615
32616
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32618 $as_echo_n "checking for ldexpl declaration... " >&6; }
32619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32621 $as_echo_n "(cached) " >&6
32622 else
32623
32624
32625 ac_ext=cpp
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32630
32631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32633 #include <math.h>
32634 int
32635 main ()
32636 {
32637 ldexpl(0, 0);
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func_ldexpl_use=yes
32644 else
32645 glibcxx_cv_func_ldexpl_use=no
32646 fi
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653
32654
32655 fi
32656
32657 fi
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32660
32661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32662 for ac_func in ldexpl
32663 do :
32664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE_LDEXPL 1
32668 _ACEOF
32669
32670 fi
32671 done
32672
32673 else
32674
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32679 $as_echo_n "(cached) " >&6
32680 else
32681
32682
32683 ac_ext=cpp
32684 ac_cpp='$CXXCPP $CPPFLAGS'
32685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32688
32689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32690 /* end confdefs.h. */
32691 #include <math.h>
32692 int
32693 main ()
32694 {
32695 _ldexpl(0, 0);
32696 ;
32697 return 0;
32698 }
32699 _ACEOF
32700 if ac_fn_cxx_try_compile "$LINENO"; then :
32701 glibcxx_cv_func__ldexpl_use=yes
32702 else
32703 glibcxx_cv_func__ldexpl_use=no
32704 fi
32705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32706 ac_ext=c
32707 ac_cpp='$CPP $CPPFLAGS'
32708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32711
32712
32713 fi
32714
32715 fi
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32718
32719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32720 for ac_func in _ldexpl
32721 do :
32722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32724 cat >>confdefs.h <<_ACEOF
32725 #define HAVE__LDEXPL 1
32726 _ACEOF
32727
32728 fi
32729 done
32730
32731 fi
32732 fi
32733
32734
32735
32736
32737
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32739 $as_echo_n "checking for logl declaration... " >&6; }
32740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32742 $as_echo_n "(cached) " >&6
32743 else
32744
32745
32746 ac_ext=cpp
32747 ac_cpp='$CXXCPP $CPPFLAGS'
32748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32751
32752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32753 /* end confdefs.h. */
32754 #include <math.h>
32755 #ifdef HAVE_IEEEFP_H
32756 #include <ieeefp.h>
32757 #endif
32758
32759 int
32760 main ()
32761 {
32762 logl(0);
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 if ac_fn_cxx_try_compile "$LINENO"; then :
32768 glibcxx_cv_func_logl_use=yes
32769 else
32770 glibcxx_cv_func_logl_use=no
32771 fi
32772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32773 ac_ext=c
32774 ac_cpp='$CPP $CPPFLAGS'
32775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32778
32779
32780 fi
32781
32782 fi
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32785
32786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32787 for ac_func in logl
32788 do :
32789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32790 if test "x$ac_cv_func_logl" = x""yes; then :
32791 cat >>confdefs.h <<_ACEOF
32792 #define HAVE_LOGL 1
32793 _ACEOF
32794
32795 fi
32796 done
32797
32798 else
32799
32800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32801 $as_echo_n "checking for _logl declaration... " >&6; }
32802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32804 $as_echo_n "(cached) " >&6
32805 else
32806
32807
32808 ac_ext=cpp
32809 ac_cpp='$CXXCPP $CPPFLAGS'
32810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32813
32814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32815 /* end confdefs.h. */
32816 #include <math.h>
32817 #ifdef HAVE_IEEEFP_H
32818 #include <ieeefp.h>
32819 #endif
32820
32821 int
32822 main ()
32823 {
32824 _logl(0);
32825 ;
32826 return 0;
32827 }
32828 _ACEOF
32829 if ac_fn_cxx_try_compile "$LINENO"; then :
32830 glibcxx_cv_func__logl_use=yes
32831 else
32832 glibcxx_cv_func__logl_use=no
32833 fi
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 ac_ext=c
32836 ac_cpp='$CPP $CPPFLAGS'
32837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32840
32841
32842 fi
32843
32844 fi
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32847
32848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32849 for ac_func in _logl
32850 do :
32851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32852 if test "x$ac_cv_func__logl" = x""yes; then :
32853 cat >>confdefs.h <<_ACEOF
32854 #define HAVE__LOGL 1
32855 _ACEOF
32856
32857 fi
32858 done
32859
32860 fi
32861 fi
32862
32863
32864
32865
32866
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32868 $as_echo_n "checking for log10l declaration... " >&6; }
32869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32871 $as_echo_n "(cached) " >&6
32872 else
32873
32874
32875 ac_ext=cpp
32876 ac_cpp='$CXXCPP $CPPFLAGS'
32877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32880
32881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32882 /* end confdefs.h. */
32883 #include <math.h>
32884 #ifdef HAVE_IEEEFP_H
32885 #include <ieeefp.h>
32886 #endif
32887
32888 int
32889 main ()
32890 {
32891 log10l(0);
32892 ;
32893 return 0;
32894 }
32895 _ACEOF
32896 if ac_fn_cxx_try_compile "$LINENO"; then :
32897 glibcxx_cv_func_log10l_use=yes
32898 else
32899 glibcxx_cv_func_log10l_use=no
32900 fi
32901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32902 ac_ext=c
32903 ac_cpp='$CPP $CPPFLAGS'
32904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32907
32908
32909 fi
32910
32911 fi
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32914
32915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32916 for ac_func in log10l
32917 do :
32918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32919 if test "x$ac_cv_func_log10l" = x""yes; then :
32920 cat >>confdefs.h <<_ACEOF
32921 #define HAVE_LOG10L 1
32922 _ACEOF
32923
32924 fi
32925 done
32926
32927 else
32928
32929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32930 $as_echo_n "checking for _log10l declaration... " >&6; }
32931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32933 $as_echo_n "(cached) " >&6
32934 else
32935
32936
32937 ac_ext=cpp
32938 ac_cpp='$CXXCPP $CPPFLAGS'
32939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32942
32943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32944 /* end confdefs.h. */
32945 #include <math.h>
32946 #ifdef HAVE_IEEEFP_H
32947 #include <ieeefp.h>
32948 #endif
32949
32950 int
32951 main ()
32952 {
32953 _log10l(0);
32954 ;
32955 return 0;
32956 }
32957 _ACEOF
32958 if ac_fn_cxx_try_compile "$LINENO"; then :
32959 glibcxx_cv_func__log10l_use=yes
32960 else
32961 glibcxx_cv_func__log10l_use=no
32962 fi
32963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32964 ac_ext=c
32965 ac_cpp='$CPP $CPPFLAGS'
32966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32969
32970
32971 fi
32972
32973 fi
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32976
32977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32978 for ac_func in _log10l
32979 do :
32980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32981 if test "x$ac_cv_func__log10l" = x""yes; then :
32982 cat >>confdefs.h <<_ACEOF
32983 #define HAVE__LOG10L 1
32984 _ACEOF
32985
32986 fi
32987 done
32988
32989 fi
32990 fi
32991
32992
32993
32994
32995
32996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32997 $as_echo_n "checking for modfl declaration... " >&6; }
32998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33000 $as_echo_n "(cached) " >&6
33001 else
33002
33003
33004 ac_ext=cpp
33005 ac_cpp='$CXXCPP $CPPFLAGS'
33006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33009
33010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33011 /* end confdefs.h. */
33012 #include <math.h>
33013 int
33014 main ()
33015 {
33016 modfl(0, 0);
33017 ;
33018 return 0;
33019 }
33020 _ACEOF
33021 if ac_fn_cxx_try_compile "$LINENO"; then :
33022 glibcxx_cv_func_modfl_use=yes
33023 else
33024 glibcxx_cv_func_modfl_use=no
33025 fi
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33027 ac_ext=c
33028 ac_cpp='$CPP $CPPFLAGS'
33029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33032
33033
33034 fi
33035
33036 fi
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33039
33040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33041 for ac_func in modfl
33042 do :
33043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33044 if test "x$ac_cv_func_modfl" = x""yes; then :
33045 cat >>confdefs.h <<_ACEOF
33046 #define HAVE_MODFL 1
33047 _ACEOF
33048
33049 fi
33050 done
33051
33052 else
33053
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33055 $as_echo_n "checking for _modfl declaration... " >&6; }
33056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33058 $as_echo_n "(cached) " >&6
33059 else
33060
33061
33062 ac_ext=cpp
33063 ac_cpp='$CXXCPP $CPPFLAGS'
33064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33067
33068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33069 /* end confdefs.h. */
33070 #include <math.h>
33071 int
33072 main ()
33073 {
33074 _modfl(0, 0);
33075 ;
33076 return 0;
33077 }
33078 _ACEOF
33079 if ac_fn_cxx_try_compile "$LINENO"; then :
33080 glibcxx_cv_func__modfl_use=yes
33081 else
33082 glibcxx_cv_func__modfl_use=no
33083 fi
33084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33085 ac_ext=c
33086 ac_cpp='$CPP $CPPFLAGS'
33087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33090
33091
33092 fi
33093
33094 fi
33095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33097
33098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33099 for ac_func in _modfl
33100 do :
33101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33102 if test "x$ac_cv_func__modfl" = x""yes; then :
33103 cat >>confdefs.h <<_ACEOF
33104 #define HAVE__MODFL 1
33105 _ACEOF
33106
33107 fi
33108 done
33109
33110 fi
33111 fi
33112
33113
33114
33115
33116
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33118 $as_echo_n "checking for powl declaration... " >&6; }
33119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33121 $as_echo_n "(cached) " >&6
33122 else
33123
33124
33125 ac_ext=cpp
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33130
33131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33132 /* end confdefs.h. */
33133 #include <math.h>
33134 int
33135 main ()
33136 {
33137 powl(0, 0);
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 if ac_fn_cxx_try_compile "$LINENO"; then :
33143 glibcxx_cv_func_powl_use=yes
33144 else
33145 glibcxx_cv_func_powl_use=no
33146 fi
33147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33148 ac_ext=c
33149 ac_cpp='$CPP $CPPFLAGS'
33150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33153
33154
33155 fi
33156
33157 fi
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33160
33161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33162 for ac_func in powl
33163 do :
33164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33165 if test "x$ac_cv_func_powl" = x""yes; then :
33166 cat >>confdefs.h <<_ACEOF
33167 #define HAVE_POWL 1
33168 _ACEOF
33169
33170 fi
33171 done
33172
33173 else
33174
33175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33176 $as_echo_n "checking for _powl declaration... " >&6; }
33177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33179 $as_echo_n "(cached) " >&6
33180 else
33181
33182
33183 ac_ext=cpp
33184 ac_cpp='$CXXCPP $CPPFLAGS'
33185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33188
33189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33190 /* end confdefs.h. */
33191 #include <math.h>
33192 int
33193 main ()
33194 {
33195 _powl(0, 0);
33196 ;
33197 return 0;
33198 }
33199 _ACEOF
33200 if ac_fn_cxx_try_compile "$LINENO"; then :
33201 glibcxx_cv_func__powl_use=yes
33202 else
33203 glibcxx_cv_func__powl_use=no
33204 fi
33205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33206 ac_ext=c
33207 ac_cpp='$CPP $CPPFLAGS'
33208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33211
33212
33213 fi
33214
33215 fi
33216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33218
33219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33220 for ac_func in _powl
33221 do :
33222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33223 if test "x$ac_cv_func__powl" = x""yes; then :
33224 cat >>confdefs.h <<_ACEOF
33225 #define HAVE__POWL 1
33226 _ACEOF
33227
33228 fi
33229 done
33230
33231 fi
33232 fi
33233
33234
33235
33236
33237
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33239 $as_echo_n "checking for sqrtl declaration... " >&6; }
33240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33244
33245
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33251
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33255 #ifdef HAVE_IEEEFP_H
33256 #include <ieeefp.h>
33257 #endif
33258
33259 int
33260 main ()
33261 {
33262 sqrtl(0);
33263 ;
33264 return 0;
33265 }
33266 _ACEOF
33267 if ac_fn_cxx_try_compile "$LINENO"; then :
33268 glibcxx_cv_func_sqrtl_use=yes
33269 else
33270 glibcxx_cv_func_sqrtl_use=no
33271 fi
33272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33273 ac_ext=c
33274 ac_cpp='$CPP $CPPFLAGS'
33275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33278
33279
33280 fi
33281
33282 fi
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33285
33286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33287 for ac_func in sqrtl
33288 do :
33289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33291 cat >>confdefs.h <<_ACEOF
33292 #define HAVE_SQRTL 1
33293 _ACEOF
33294
33295 fi
33296 done
33297
33298 else
33299
33300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33304 $as_echo_n "(cached) " >&6
33305 else
33306
33307
33308 ac_ext=cpp
33309 ac_cpp='$CXXCPP $CPPFLAGS'
33310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33313
33314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33315 /* end confdefs.h. */
33316 #include <math.h>
33317 #ifdef HAVE_IEEEFP_H
33318 #include <ieeefp.h>
33319 #endif
33320
33321 int
33322 main ()
33323 {
33324 _sqrtl(0);
33325 ;
33326 return 0;
33327 }
33328 _ACEOF
33329 if ac_fn_cxx_try_compile "$LINENO"; then :
33330 glibcxx_cv_func__sqrtl_use=yes
33331 else
33332 glibcxx_cv_func__sqrtl_use=no
33333 fi
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33335 ac_ext=c
33336 ac_cpp='$CPP $CPPFLAGS'
33337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33340
33341
33342 fi
33343
33344 fi
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33347
33348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33349 for ac_func in _sqrtl
33350 do :
33351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33353 cat >>confdefs.h <<_ACEOF
33354 #define HAVE__SQRTL 1
33355 _ACEOF
33356
33357 fi
33358 done
33359
33360 fi
33361 fi
33362
33363
33364
33365
33366
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33368 $as_echo_n "checking for sincosl declaration... " >&6; }
33369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33371 $as_echo_n "(cached) " >&6
33372 else
33373
33374
33375 ac_ext=cpp
33376 ac_cpp='$CXXCPP $CPPFLAGS'
33377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33380
33381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33382 /* end confdefs.h. */
33383 #include <math.h>
33384 int
33385 main ()
33386 {
33387 sincosl(0, 0, 0);
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 if ac_fn_cxx_try_compile "$LINENO"; then :
33393 glibcxx_cv_func_sincosl_use=yes
33394 else
33395 glibcxx_cv_func_sincosl_use=no
33396 fi
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33398 ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403
33404
33405 fi
33406
33407 fi
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33410
33411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33412 for ac_func in sincosl
33413 do :
33414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33415 if test "x$ac_cv_func_sincosl" = x""yes; then :
33416 cat >>confdefs.h <<_ACEOF
33417 #define HAVE_SINCOSL 1
33418 _ACEOF
33419
33420 fi
33421 done
33422
33423 else
33424
33425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33426 $as_echo_n "checking for _sincosl declaration... " >&6; }
33427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33429 $as_echo_n "(cached) " >&6
33430 else
33431
33432
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438
33439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h. */
33441 #include <math.h>
33442 int
33443 main ()
33444 {
33445 _sincosl(0, 0, 0);
33446 ;
33447 return 0;
33448 }
33449 _ACEOF
33450 if ac_fn_cxx_try_compile "$LINENO"; then :
33451 glibcxx_cv_func__sincosl_use=yes
33452 else
33453 glibcxx_cv_func__sincosl_use=no
33454 fi
33455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33456 ac_ext=c
33457 ac_cpp='$CPP $CPPFLAGS'
33458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33461
33462
33463 fi
33464
33465 fi
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33468
33469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33470 for ac_func in _sincosl
33471 do :
33472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33473 if test "x$ac_cv_func__sincosl" = x""yes; then :
33474 cat >>confdefs.h <<_ACEOF
33475 #define HAVE__SINCOSL 1
33476 _ACEOF
33477
33478 fi
33479 done
33480
33481 fi
33482 fi
33483
33484
33485
33486
33487
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33489 $as_echo_n "checking for finitel declaration... " >&6; }
33490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33492 $as_echo_n "(cached) " >&6
33493 else
33494
33495
33496 ac_ext=cpp
33497 ac_cpp='$CXXCPP $CPPFLAGS'
33498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33501
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33503 /* end confdefs.h. */
33504 #include <math.h>
33505 #ifdef HAVE_IEEEFP_H
33506 #include <ieeefp.h>
33507 #endif
33508
33509 int
33510 main ()
33511 {
33512 finitel(0);
33513 ;
33514 return 0;
33515 }
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func_finitel_use=yes
33519 else
33520 glibcxx_cv_func_finitel_use=no
33521 fi
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33528
33529
33530 fi
33531
33532 fi
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33535
33536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33537 for ac_func in finitel
33538 do :
33539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33540 if test "x$ac_cv_func_finitel" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE_FINITEL 1
33543 _ACEOF
33544
33545 fi
33546 done
33547
33548 else
33549
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33551 $as_echo_n "checking for _finitel declaration... " >&6; }
33552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33554 $as_echo_n "(cached) " >&6
33555 else
33556
33557
33558 ac_ext=cpp
33559 ac_cpp='$CXXCPP $CPPFLAGS'
33560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33563
33564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33565 /* end confdefs.h. */
33566 #include <math.h>
33567 #ifdef HAVE_IEEEFP_H
33568 #include <ieeefp.h>
33569 #endif
33570
33571 int
33572 main ()
33573 {
33574 _finitel(0);
33575 ;
33576 return 0;
33577 }
33578 _ACEOF
33579 if ac_fn_cxx_try_compile "$LINENO"; then :
33580 glibcxx_cv_func__finitel_use=yes
33581 else
33582 glibcxx_cv_func__finitel_use=no
33583 fi
33584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33585 ac_ext=c
33586 ac_cpp='$CPP $CPPFLAGS'
33587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33590
33591
33592 fi
33593
33594 fi
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33597
33598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33599 for ac_func in _finitel
33600 do :
33601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33602 if test "x$ac_cv_func__finitel" = x""yes; then :
33603 cat >>confdefs.h <<_ACEOF
33604 #define HAVE__FINITEL 1
33605 _ACEOF
33606
33607 fi
33608 done
33609
33610 fi
33611 fi
33612
33613
33614
33615
33616 LIBS="$ac_save_LIBS"
33617 CXXFLAGS="$ac_save_CXXFLAGS"
33618
33619
33620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33621 ac_save_CXXFLAGS="$CXXFLAGS"
33622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33623
33624
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33629 $as_echo_n "(cached) " >&6
33630 else
33631
33632
33633 ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33638
33639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h. */
33641 #include <stdlib.h>
33642 int
33643 main ()
33644 {
33645 at_quick_exit(0);
33646 ;
33647 return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651 glibcxx_cv_func_at_quick_exit_use=yes
33652 else
33653 glibcxx_cv_func_at_quick_exit_use=no
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662
33663 fi
33664
33665 fi
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33669 for ac_func in at_quick_exit
33670 do :
33671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33673 cat >>confdefs.h <<_ACEOF
33674 #define HAVE_AT_QUICK_EXIT 1
33675 _ACEOF
33676
33677 fi
33678 done
33679
33680 fi
33681
33682
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33684 $as_echo_n "checking for quick_exit declaration... " >&6; }
33685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33687 $as_echo_n "(cached) " >&6
33688 else
33689
33690
33691 ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696
33697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h. */
33699 #include <stdlib.h>
33700 int
33701 main ()
33702 {
33703 quick_exit(0);
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func_quick_exit_use=yes
33710 else
33711 glibcxx_cv_func_quick_exit_use=no
33712 fi
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719
33720
33721 fi
33722
33723 fi
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33727 for ac_func in quick_exit
33728 do :
33729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33731 cat >>confdefs.h <<_ACEOF
33732 #define HAVE_QUICK_EXIT 1
33733 _ACEOF
33734
33735 fi
33736 done
33737
33738 fi
33739
33740
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33742 $as_echo_n "checking for strtold declaration... " >&6; }
33743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33747
33748
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <stdlib.h>
33758 int
33759 main ()
33760 {
33761 strtold(0, 0);
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func_strtold_use=yes
33768 else
33769 glibcxx_cv_func_strtold_use=no
33770 fi
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33777
33778
33779 fi
33780
33781 fi
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33785 for ac_func in strtold
33786 do :
33787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33788 if test "x$ac_cv_func_strtold" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE_STRTOLD 1
33791 _ACEOF
33792
33793 fi
33794 done
33795
33796 fi
33797
33798
33799
33800
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33802 $as_echo_n "checking for strtof declaration... " >&6; }
33803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33807
33808
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33814
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <stdlib.h>
33818 int
33819 main ()
33820 {
33821 strtof(0, 0);
33822 ;
33823 return 0;
33824 }
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_strtof_use=yes
33828 else
33829 glibcxx_cv_func_strtof_use=no
33830 fi
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33837
33838
33839 fi
33840
33841 fi
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33845 for ac_func in strtof
33846 do :
33847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33848 if test "x$ac_cv_func_strtof" = x""yes; then :
33849 cat >>confdefs.h <<_ACEOF
33850 #define HAVE_STRTOF 1
33851 _ACEOF
33852
33853 fi
33854 done
33855
33856 fi
33857
33858
33859
33860
33861 CXXFLAGS="$ac_save_CXXFLAGS"
33862
33863
33864 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33865
33866 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33867
33868 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33869
33870 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33871
33872
33873 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33874
33875 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33876
33877 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33878
33879 ;;
33880
33881 spu-*-elf*)
33882
33883 # All these tests are for C++; save the language and the compiler flags.
33884 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33885 # found in GLIBCXX_CONFIGURE.
33886
33887 ac_ext=cpp
33888 ac_cpp='$CXXCPP $CPPFLAGS'
33889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892
33893 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33894 ac_save_CXXFLAGS="$CXXFLAGS"
33895
33896 # Check for maintainer-mode bits.
33897 if test x"$USE_MAINTAINER_MODE" = xno; then
33898 WERROR=''
33899 else
33900 WERROR='-Werror'
33901 fi
33902
33903 # Check for -ffunction-sections -fdata-sections
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33905 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33906 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33908 /* end confdefs.h. */
33909 int foo; void bar() { };
33910 int
33911 main ()
33912 {
33913
33914 ;
33915 return 0;
33916 }
33917 _ACEOF
33918 if ac_fn_cxx_try_compile "$LINENO"; then :
33919 ac_fdsections=yes
33920 else
33921 ac_fdsections=no
33922 fi
33923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33924 if test "$ac_test_CXXFLAGS" = set; then
33925 CXXFLAGS="$ac_save_CXXFLAGS"
33926 else
33927 # this is the suspicious part
33928 CXXFLAGS=''
33929 fi
33930 if test x"$ac_fdsections" = x"yes"; then
33931 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33932 fi
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33934 $as_echo "$ac_fdsections" >&6; }
33935
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941
33942
33943
33944
33945
33946 # If we're not using GNU ld, then there's no point in even trying these
33947 # tests. Check for that first. We should have already tested for gld
33948 # by now (in libtool), but require it now just to be safe...
33949 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33950 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33951
33952
33953
33954 # The name set by libtool depends on the version of libtool. Shame on us
33955 # for depending on an impl detail, but c'est la vie. Older versions used
33956 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33957 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33958 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33959 # set (hence we're using an older libtool), then set it.
33960 if test x${with_gnu_ld+set} != xset; then
33961 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33962 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33963 with_gnu_ld=no
33964 else
33965 with_gnu_ld=$ac_cv_prog_gnu_ld
33966 fi
33967 fi
33968
33969 # Start by getting the version number. I think the libtool test already
33970 # does some of this, but throws away the result.
33971 glibcxx_ld_is_gold=no
33972 if test x"$with_gnu_ld" = x"yes"; then
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33974 $as_echo_n "checking for ld version... " >&6; }
33975
33976 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33977 glibcxx_ld_is_gold=yes
33978 fi
33979 ldver=`$LD --version 2>/dev/null |
33980 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'`
33981
33982 glibcxx_gnu_ld_version=`echo $ldver | \
33983 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33985 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33986 fi
33987
33988 # Set --gc-sections.
33989 glibcxx_have_gc_sections=no
33990 if test "$glibcxx_ld_is_gold" = "yes"; then
33991 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33992 glibcxx_have_gc_sections=yes
33993 fi
33994 else
33995 glibcxx_gcsections_min_ld=21602
33996 if test x"$with_gnu_ld" = x"yes" &&
33997 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33998 glibcxx_have_gc_sections=yes
33999 fi
34000 fi
34001 if test "$glibcxx_have_gc_sections" = "yes"; then
34002 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34003 # NB: This flag only works reliably after 2.16.1. Configure tests
34004 # for this are difficult, so hard wire a value that should work.
34005
34006 ac_test_CFLAGS="${CFLAGS+set}"
34007 ac_save_CFLAGS="$CFLAGS"
34008 CFLAGS='-Wl,--gc-sections'
34009
34010 # Check for -Wl,--gc-sections
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34012 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34013 if test x$gcc_no_link = xyes; then
34014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34015 fi
34016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h. */
34018 int one(void) { return 1; }
34019 int two(void) { return 2; }
34020
34021 int
34022 main ()
34023 {
34024 two();
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 if ac_fn_c_try_link "$LINENO"; then :
34030 ac_gcsections=yes
34031 else
34032 ac_gcsections=no
34033 fi
34034 rm -f core conftest.err conftest.$ac_objext \
34035 conftest$ac_exeext conftest.$ac_ext
34036 if test "$ac_gcsections" = "yes"; then
34037 rm -f conftest.c
34038 touch conftest.c
34039 if $CC -c conftest.c; then
34040 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34041 grep "Warning: gc-sections option ignored" > /dev/null; then
34042 ac_gcsections=no
34043 fi
34044 fi
34045 rm -f conftest.c conftest.o conftest
34046 fi
34047 if test "$ac_gcsections" = "yes"; then
34048 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34049 fi
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34051 $as_echo "$ac_gcsections" >&6; }
34052
34053 if test "$ac_test_CFLAGS" = set; then
34054 CFLAGS="$ac_save_CFLAGS"
34055 else
34056 # this is the suspicious part
34057 CFLAGS=''
34058 fi
34059 fi
34060
34061 # Set -z,relro.
34062 # Note this is only for shared objects.
34063 ac_ld_relro=no
34064 if test x"$with_gnu_ld" = x"yes"; then
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34066 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34067 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34068 if test -n "$cxx_z_relo"; then
34069 OPT_LDFLAGS="-Wl,-z,relro"
34070 ac_ld_relro=yes
34071 fi
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34073 $as_echo "$ac_ld_relro" >&6; }
34074 fi
34075
34076 # Set linker optimization flags.
34077 if test x"$with_gnu_ld" = x"yes"; then
34078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34079 fi
34080
34081
34082
34083
34084
34085 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34086 ac_save_CXXFLAGS="$CXXFLAGS"
34087 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34088
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34090 $as_echo_n "checking for sin in -lm... " >&6; }
34091 if test "${ac_cv_lib_m_sin+set}" = set; then :
34092 $as_echo_n "(cached) " >&6
34093 else
34094 ac_check_lib_save_LIBS=$LIBS
34095 LIBS="-lm $LIBS"
34096 if test x$gcc_no_link = xyes; then
34097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34098 fi
34099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34100 /* end confdefs.h. */
34101
34102 /* Override any GCC internal prototype to avoid an error.
34103 Use char because int might match the return type of a GCC
34104 builtin and then its argument prototype would still apply. */
34105 #ifdef __cplusplus
34106 extern "C"
34107 #endif
34108 char sin ();
34109 int
34110 main ()
34111 {
34112 return sin ();
34113 ;
34114 return 0;
34115 }
34116 _ACEOF
34117 if ac_fn_c_try_link "$LINENO"; then :
34118 ac_cv_lib_m_sin=yes
34119 else
34120 ac_cv_lib_m_sin=no
34121 fi
34122 rm -f core conftest.err conftest.$ac_objext \
34123 conftest$ac_exeext conftest.$ac_ext
34124 LIBS=$ac_check_lib_save_LIBS
34125 fi
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34127 $as_echo "$ac_cv_lib_m_sin" >&6; }
34128 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34129 libm="-lm"
34130 fi
34131
34132 ac_save_LIBS="$LIBS"
34133 LIBS="$LIBS $libm"
34134
34135
34136
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34138 $as_echo_n "checking for isinf declaration... " >&6; }
34139 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34140 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34141 $as_echo_n "(cached) " >&6
34142 else
34143
34144
34145 ac_ext=cpp
34146 ac_cpp='$CXXCPP $CPPFLAGS'
34147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34150
34151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34152 /* end confdefs.h. */
34153 #include <math.h>
34154 #ifdef HAVE_IEEEFP_H
34155 #include <ieeefp.h>
34156 #endif
34157
34158 int
34159 main ()
34160 {
34161 isinf(0);
34162 ;
34163 return 0;
34164 }
34165 _ACEOF
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_isinf_use=yes
34168 else
34169 glibcxx_cv_func_isinf_use=no
34170 fi
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_ext=c
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34177
34178
34179 fi
34180
34181 fi
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34183 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34184
34185 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34186 for ac_func in isinf
34187 do :
34188 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34189 if test "x$ac_cv_func_isinf" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_ISINF 1
34192 _ACEOF
34193
34194 fi
34195 done
34196
34197 else
34198
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34200 $as_echo_n "checking for _isinf declaration... " >&6; }
34201 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34202 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34205
34206
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34212
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34216 #ifdef HAVE_IEEEFP_H
34217 #include <ieeefp.h>
34218 #endif
34219
34220 int
34221 main ()
34222 {
34223 _isinf(0);
34224 ;
34225 return 0;
34226 }
34227 _ACEOF
34228 if ac_fn_cxx_try_compile "$LINENO"; then :
34229 glibcxx_cv_func__isinf_use=yes
34230 else
34231 glibcxx_cv_func__isinf_use=no
34232 fi
34233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234 ac_ext=c
34235 ac_cpp='$CPP $CPPFLAGS'
34236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34239
34240
34241 fi
34242
34243 fi
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34245 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34246
34247 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34248 for ac_func in _isinf
34249 do :
34250 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34251 if test "x$ac_cv_func__isinf" = x""yes; then :
34252 cat >>confdefs.h <<_ACEOF
34253 #define HAVE__ISINF 1
34254 _ACEOF
34255
34256 fi
34257 done
34258
34259 fi
34260 fi
34261
34262
34263
34264
34265
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34267 $as_echo_n "checking for isnan declaration... " >&6; }
34268 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34269 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34270 $as_echo_n "(cached) " >&6
34271 else
34272
34273
34274 ac_ext=cpp
34275 ac_cpp='$CXXCPP $CPPFLAGS'
34276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34279
34280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34281 /* end confdefs.h. */
34282 #include <math.h>
34283 #ifdef HAVE_IEEEFP_H
34284 #include <ieeefp.h>
34285 #endif
34286
34287 int
34288 main ()
34289 {
34290 isnan(0);
34291 ;
34292 return 0;
34293 }
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296 glibcxx_cv_func_isnan_use=yes
34297 else
34298 glibcxx_cv_func_isnan_use=no
34299 fi
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34306
34307
34308 fi
34309
34310 fi
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34312 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34313
34314 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34315 for ac_func in isnan
34316 do :
34317 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34318 if test "x$ac_cv_func_isnan" = x""yes; then :
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE_ISNAN 1
34321 _ACEOF
34322
34323 fi
34324 done
34325
34326 else
34327
34328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34329 $as_echo_n "checking for _isnan declaration... " >&6; }
34330 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34331 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34332 $as_echo_n "(cached) " >&6
34333 else
34334
34335
34336 ac_ext=cpp
34337 ac_cpp='$CXXCPP $CPPFLAGS'
34338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34341
34342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34343 /* end confdefs.h. */
34344 #include <math.h>
34345 #ifdef HAVE_IEEEFP_H
34346 #include <ieeefp.h>
34347 #endif
34348
34349 int
34350 main ()
34351 {
34352 _isnan(0);
34353 ;
34354 return 0;
34355 }
34356 _ACEOF
34357 if ac_fn_cxx_try_compile "$LINENO"; then :
34358 glibcxx_cv_func__isnan_use=yes
34359 else
34360 glibcxx_cv_func__isnan_use=no
34361 fi
34362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34363 ac_ext=c
34364 ac_cpp='$CPP $CPPFLAGS'
34365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34368
34369
34370 fi
34371
34372 fi
34373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34374 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34375
34376 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34377 for ac_func in _isnan
34378 do :
34379 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34380 if test "x$ac_cv_func__isnan" = x""yes; then :
34381 cat >>confdefs.h <<_ACEOF
34382 #define HAVE__ISNAN 1
34383 _ACEOF
34384
34385 fi
34386 done
34387
34388 fi
34389 fi
34390
34391
34392
34393
34394
34395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34396 $as_echo_n "checking for finite declaration... " >&6; }
34397 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34398 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34399 $as_echo_n "(cached) " >&6
34400 else
34401
34402
34403 ac_ext=cpp
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34408
34409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h. */
34411 #include <math.h>
34412 #ifdef HAVE_IEEEFP_H
34413 #include <ieeefp.h>
34414 #endif
34415
34416 int
34417 main ()
34418 {
34419 finite(0);
34420 ;
34421 return 0;
34422 }
34423 _ACEOF
34424 if ac_fn_cxx_try_compile "$LINENO"; then :
34425 glibcxx_cv_func_finite_use=yes
34426 else
34427 glibcxx_cv_func_finite_use=no
34428 fi
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430 ac_ext=c
34431 ac_cpp='$CPP $CPPFLAGS'
34432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34435
34436
34437 fi
34438
34439 fi
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34441 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34442
34443 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34444 for ac_func in finite
34445 do :
34446 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34447 if test "x$ac_cv_func_finite" = x""yes; then :
34448 cat >>confdefs.h <<_ACEOF
34449 #define HAVE_FINITE 1
34450 _ACEOF
34451
34452 fi
34453 done
34454
34455 else
34456
34457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34458 $as_echo_n "checking for _finite declaration... " >&6; }
34459 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34460 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34461 $as_echo_n "(cached) " >&6
34462 else
34463
34464
34465 ac_ext=cpp
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470
34471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34472 /* end confdefs.h. */
34473 #include <math.h>
34474 #ifdef HAVE_IEEEFP_H
34475 #include <ieeefp.h>
34476 #endif
34477
34478 int
34479 main ()
34480 {
34481 _finite(0);
34482 ;
34483 return 0;
34484 }
34485 _ACEOF
34486 if ac_fn_cxx_try_compile "$LINENO"; then :
34487 glibcxx_cv_func__finite_use=yes
34488 else
34489 glibcxx_cv_func__finite_use=no
34490 fi
34491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34492 ac_ext=c
34493 ac_cpp='$CPP $CPPFLAGS'
34494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34497
34498
34499 fi
34500
34501 fi
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34503 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34504
34505 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34506 for ac_func in _finite
34507 do :
34508 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34509 if test "x$ac_cv_func__finite" = x""yes; then :
34510 cat >>confdefs.h <<_ACEOF
34511 #define HAVE__FINITE 1
34512 _ACEOF
34513
34514 fi
34515 done
34516
34517 fi
34518 fi
34519
34520
34521
34522
34523
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34525 $as_echo_n "checking for sincos declaration... " >&6; }
34526 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34527 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34528 $as_echo_n "(cached) " >&6
34529 else
34530
34531
34532 ac_ext=cpp
34533 ac_cpp='$CXXCPP $CPPFLAGS'
34534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537
34538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34539 /* end confdefs.h. */
34540 #include <math.h>
34541 int
34542 main ()
34543 {
34544 sincos(0, 0, 0);
34545 ;
34546 return 0;
34547 }
34548 _ACEOF
34549 if ac_fn_cxx_try_compile "$LINENO"; then :
34550 glibcxx_cv_func_sincos_use=yes
34551 else
34552 glibcxx_cv_func_sincos_use=no
34553 fi
34554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34555 ac_ext=c
34556 ac_cpp='$CPP $CPPFLAGS'
34557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34560
34561
34562 fi
34563
34564 fi
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34566 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34567
34568 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34569 for ac_func in sincos
34570 do :
34571 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34572 if test "x$ac_cv_func_sincos" = x""yes; then :
34573 cat >>confdefs.h <<_ACEOF
34574 #define HAVE_SINCOS 1
34575 _ACEOF
34576
34577 fi
34578 done
34579
34580 else
34581
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34583 $as_echo_n "checking for _sincos declaration... " >&6; }
34584 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34585 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34586 $as_echo_n "(cached) " >&6
34587 else
34588
34589
34590 ac_ext=cpp
34591 ac_cpp='$CXXCPP $CPPFLAGS'
34592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34595
34596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34597 /* end confdefs.h. */
34598 #include <math.h>
34599 int
34600 main ()
34601 {
34602 _sincos(0, 0, 0);
34603 ;
34604 return 0;
34605 }
34606 _ACEOF
34607 if ac_fn_cxx_try_compile "$LINENO"; then :
34608 glibcxx_cv_func__sincos_use=yes
34609 else
34610 glibcxx_cv_func__sincos_use=no
34611 fi
34612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34613 ac_ext=c
34614 ac_cpp='$CPP $CPPFLAGS'
34615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34618
34619
34620 fi
34621
34622 fi
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34624 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34625
34626 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34627 for ac_func in _sincos
34628 do :
34629 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34630 if test "x$ac_cv_func__sincos" = x""yes; then :
34631 cat >>confdefs.h <<_ACEOF
34632 #define HAVE__SINCOS 1
34633 _ACEOF
34634
34635 fi
34636 done
34637
34638 fi
34639 fi
34640
34641
34642
34643
34644
34645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34646 $as_echo_n "checking for fpclass declaration... " >&6; }
34647 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34648 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34649 $as_echo_n "(cached) " >&6
34650 else
34651
34652
34653 ac_ext=cpp
34654 ac_cpp='$CXXCPP $CPPFLAGS'
34655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658
34659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34660 /* end confdefs.h. */
34661 #include <math.h>
34662 #ifdef HAVE_IEEEFP_H
34663 #include <ieeefp.h>
34664 #endif
34665
34666 int
34667 main ()
34668 {
34669 fpclass(0);
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675 glibcxx_cv_func_fpclass_use=yes
34676 else
34677 glibcxx_cv_func_fpclass_use=no
34678 fi
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34680 ac_ext=c
34681 ac_cpp='$CPP $CPPFLAGS'
34682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34685
34686
34687 fi
34688
34689 fi
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34691 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34692
34693 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34694 for ac_func in fpclass
34695 do :
34696 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34697 if test "x$ac_cv_func_fpclass" = x""yes; then :
34698 cat >>confdefs.h <<_ACEOF
34699 #define HAVE_FPCLASS 1
34700 _ACEOF
34701
34702 fi
34703 done
34704
34705 else
34706
34707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34708 $as_echo_n "checking for _fpclass declaration... " >&6; }
34709 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34710 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34711 $as_echo_n "(cached) " >&6
34712 else
34713
34714
34715 ac_ext=cpp
34716 ac_cpp='$CXXCPP $CPPFLAGS'
34717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34720
34721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34722 /* end confdefs.h. */
34723 #include <math.h>
34724 #ifdef HAVE_IEEEFP_H
34725 #include <ieeefp.h>
34726 #endif
34727
34728 int
34729 main ()
34730 {
34731 _fpclass(0);
34732 ;
34733 return 0;
34734 }
34735 _ACEOF
34736 if ac_fn_cxx_try_compile "$LINENO"; then :
34737 glibcxx_cv_func__fpclass_use=yes
34738 else
34739 glibcxx_cv_func__fpclass_use=no
34740 fi
34741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 ac_ext=c
34743 ac_cpp='$CPP $CPPFLAGS'
34744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34747
34748
34749 fi
34750
34751 fi
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34753 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34754
34755 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34756 for ac_func in _fpclass
34757 do :
34758 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34759 if test "x$ac_cv_func__fpclass" = x""yes; then :
34760 cat >>confdefs.h <<_ACEOF
34761 #define HAVE__FPCLASS 1
34762 _ACEOF
34763
34764 fi
34765 done
34766
34767 fi
34768 fi
34769
34770
34771
34772
34773
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34775 $as_echo_n "checking for qfpclass declaration... " >&6; }
34776 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34777 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34778 $as_echo_n "(cached) " >&6
34779 else
34780
34781
34782 ac_ext=cpp
34783 ac_cpp='$CXXCPP $CPPFLAGS'
34784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34787
34788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34789 /* end confdefs.h. */
34790 #include <math.h>
34791 #ifdef HAVE_IEEEFP_H
34792 #include <ieeefp.h>
34793 #endif
34794
34795 int
34796 main ()
34797 {
34798 qfpclass(0);
34799 ;
34800 return 0;
34801 }
34802 _ACEOF
34803 if ac_fn_cxx_try_compile "$LINENO"; then :
34804 glibcxx_cv_func_qfpclass_use=yes
34805 else
34806 glibcxx_cv_func_qfpclass_use=no
34807 fi
34808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34809 ac_ext=c
34810 ac_cpp='$CPP $CPPFLAGS'
34811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34814
34815
34816 fi
34817
34818 fi
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34820 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34821
34822 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34823 for ac_func in qfpclass
34824 do :
34825 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34826 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34827 cat >>confdefs.h <<_ACEOF
34828 #define HAVE_QFPCLASS 1
34829 _ACEOF
34830
34831 fi
34832 done
34833
34834 else
34835
34836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34837 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34838 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34839 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34840 $as_echo_n "(cached) " >&6
34841 else
34842
34843
34844 ac_ext=cpp
34845 ac_cpp='$CXXCPP $CPPFLAGS'
34846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34849
34850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34851 /* end confdefs.h. */
34852 #include <math.h>
34853 #ifdef HAVE_IEEEFP_H
34854 #include <ieeefp.h>
34855 #endif
34856
34857 int
34858 main ()
34859 {
34860 _qfpclass(0);
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 if ac_fn_cxx_try_compile "$LINENO"; then :
34866 glibcxx_cv_func__qfpclass_use=yes
34867 else
34868 glibcxx_cv_func__qfpclass_use=no
34869 fi
34870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34871 ac_ext=c
34872 ac_cpp='$CPP $CPPFLAGS'
34873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34876
34877
34878 fi
34879
34880 fi
34881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34882 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34883
34884 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34885 for ac_func in _qfpclass
34886 do :
34887 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34888 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34889 cat >>confdefs.h <<_ACEOF
34890 #define HAVE__QFPCLASS 1
34891 _ACEOF
34892
34893 fi
34894 done
34895
34896 fi
34897 fi
34898
34899
34900
34901
34902
34903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34904 $as_echo_n "checking for hypot declaration... " >&6; }
34905 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34906 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34907 $as_echo_n "(cached) " >&6
34908 else
34909
34910
34911 ac_ext=cpp
34912 ac_cpp='$CXXCPP $CPPFLAGS'
34913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34916
34917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34918 /* end confdefs.h. */
34919 #include <math.h>
34920 int
34921 main ()
34922 {
34923 hypot(0, 0);
34924 ;
34925 return 0;
34926 }
34927 _ACEOF
34928 if ac_fn_cxx_try_compile "$LINENO"; then :
34929 glibcxx_cv_func_hypot_use=yes
34930 else
34931 glibcxx_cv_func_hypot_use=no
34932 fi
34933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34934 ac_ext=c
34935 ac_cpp='$CPP $CPPFLAGS'
34936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34939
34940
34941 fi
34942
34943 fi
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34945 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34946
34947 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34948 for ac_func in hypot
34949 do :
34950 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34951 if test "x$ac_cv_func_hypot" = x""yes; then :
34952 cat >>confdefs.h <<_ACEOF
34953 #define HAVE_HYPOT 1
34954 _ACEOF
34955
34956 fi
34957 done
34958
34959 else
34960
34961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34962 $as_echo_n "checking for _hypot declaration... " >&6; }
34963 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34964 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34965 $as_echo_n "(cached) " >&6
34966 else
34967
34968
34969 ac_ext=cpp
34970 ac_cpp='$CXXCPP $CPPFLAGS'
34971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34974
34975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34976 /* end confdefs.h. */
34977 #include <math.h>
34978 int
34979 main ()
34980 {
34981 _hypot(0, 0);
34982 ;
34983 return 0;
34984 }
34985 _ACEOF
34986 if ac_fn_cxx_try_compile "$LINENO"; then :
34987 glibcxx_cv_func__hypot_use=yes
34988 else
34989 glibcxx_cv_func__hypot_use=no
34990 fi
34991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34992 ac_ext=c
34993 ac_cpp='$CPP $CPPFLAGS'
34994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34997
34998
34999 fi
35000
35001 fi
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35003 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35004
35005 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35006 for ac_func in _hypot
35007 do :
35008 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35009 if test "x$ac_cv_func__hypot" = x""yes; then :
35010 cat >>confdefs.h <<_ACEOF
35011 #define HAVE__HYPOT 1
35012 _ACEOF
35013
35014 fi
35015 done
35016
35017 fi
35018 fi
35019
35020
35021
35022
35023
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35025 $as_echo_n "checking for float trig functions... " >&6; }
35026 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35027 $as_echo_n "(cached) " >&6
35028 else
35029
35030
35031 ac_ext=cpp
35032 ac_cpp='$CXXCPP $CPPFLAGS'
35033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35036
35037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35038 /* end confdefs.h. */
35039 #include <math.h>
35040 int
35041 main ()
35042 {
35043 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35044 ;
35045 return 0;
35046 }
35047 _ACEOF
35048 if ac_fn_cxx_try_compile "$LINENO"; then :
35049 glibcxx_cv_func_float_trig_use=yes
35050 else
35051 glibcxx_cv_func_float_trig_use=no
35052 fi
35053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35059
35060 fi
35061
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35063 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35064 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35065 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35066 do :
35067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35069 eval as_val=\$$as_ac_var
35070 if test "x$as_val" = x""yes; then :
35071 cat >>confdefs.h <<_ACEOF
35072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35073 _ACEOF
35074
35075 fi
35076 done
35077
35078 else
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35080 $as_echo_n "checking for _float trig functions... " >&6; }
35081 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35082 $as_echo_n "(cached) " >&6
35083 else
35084
35085
35086 ac_ext=cpp
35087 ac_cpp='$CXXCPP $CPPFLAGS'
35088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35091
35092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35093 /* end confdefs.h. */
35094 #include <math.h>
35095 int
35096 main ()
35097 {
35098 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35099 ;
35100 return 0;
35101 }
35102 _ACEOF
35103 if ac_fn_cxx_try_compile "$LINENO"; then :
35104 glibcxx_cv_func__float_trig_use=yes
35105 else
35106 glibcxx_cv_func__float_trig_use=no
35107 fi
35108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35109 ac_ext=c
35110 ac_cpp='$CPP $CPPFLAGS'
35111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35114
35115 fi
35116
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35118 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35119 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35120 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35121 do :
35122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35124 eval as_val=\$$as_ac_var
35125 if test "x$as_val" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35128 _ACEOF
35129
35130 fi
35131 done
35132
35133 fi
35134 fi
35135
35136
35137
35138
35139
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35141 $as_echo_n "checking for float round functions... " >&6; }
35142 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35143 $as_echo_n "(cached) " >&6
35144 else
35145
35146
35147 ac_ext=cpp
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35152
35153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35154 /* end confdefs.h. */
35155 #include <math.h>
35156 int
35157 main ()
35158 {
35159 ceilf (0); floorf (0);
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func_float_round_use=yes
35166 else
35167 glibcxx_cv_func_float_round_use=no
35168 fi
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35175
35176 fi
35177
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35179 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35180 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35181 for ac_func in ceilf floorf
35182 do :
35183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35185 eval as_val=\$$as_ac_var
35186 if test "x$as_val" = x""yes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35189 _ACEOF
35190
35191 fi
35192 done
35193
35194 else
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35196 $as_echo_n "checking for _float round functions... " >&6; }
35197 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35198 $as_echo_n "(cached) " >&6
35199 else
35200
35201
35202 ac_ext=cpp
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207
35208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h. */
35210 #include <math.h>
35211 int
35212 main ()
35213 {
35214 _ceilf (0); _floorf (0);
35215 ;
35216 return 0;
35217 }
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func__float_round_use=yes
35221 else
35222 glibcxx_cv_func__float_round_use=no
35223 fi
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230
35231 fi
35232
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35234 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35235 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35236 for ac_func in _ceilf _floorf
35237 do :
35238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35240 eval as_val=\$$as_ac_var
35241 if test "x$as_val" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35245
35246 fi
35247 done
35248
35249 fi
35250 fi
35251
35252
35253
35254
35255
35256
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35258 $as_echo_n "checking for expf declaration... " >&6; }
35259 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35260 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35261 $as_echo_n "(cached) " >&6
35262 else
35263
35264
35265 ac_ext=cpp
35266 ac_cpp='$CXXCPP $CPPFLAGS'
35267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35270
35271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35272 /* end confdefs.h. */
35273 #include <math.h>
35274 #ifdef HAVE_IEEEFP_H
35275 #include <ieeefp.h>
35276 #endif
35277
35278 int
35279 main ()
35280 {
35281 expf(0);
35282 ;
35283 return 0;
35284 }
35285 _ACEOF
35286 if ac_fn_cxx_try_compile "$LINENO"; then :
35287 glibcxx_cv_func_expf_use=yes
35288 else
35289 glibcxx_cv_func_expf_use=no
35290 fi
35291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35292 ac_ext=c
35293 ac_cpp='$CPP $CPPFLAGS'
35294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35297
35298
35299 fi
35300
35301 fi
35302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35303 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35304
35305 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35306 for ac_func in expf
35307 do :
35308 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35309 if test "x$ac_cv_func_expf" = x""yes; then :
35310 cat >>confdefs.h <<_ACEOF
35311 #define HAVE_EXPF 1
35312 _ACEOF
35313
35314 fi
35315 done
35316
35317 else
35318
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35320 $as_echo_n "checking for _expf declaration... " >&6; }
35321 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35322 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35323 $as_echo_n "(cached) " >&6
35324 else
35325
35326
35327 ac_ext=cpp
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35332
35333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35334 /* end confdefs.h. */
35335 #include <math.h>
35336 #ifdef HAVE_IEEEFP_H
35337 #include <ieeefp.h>
35338 #endif
35339
35340 int
35341 main ()
35342 {
35343 _expf(0);
35344 ;
35345 return 0;
35346 }
35347 _ACEOF
35348 if ac_fn_cxx_try_compile "$LINENO"; then :
35349 glibcxx_cv_func__expf_use=yes
35350 else
35351 glibcxx_cv_func__expf_use=no
35352 fi
35353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35354 ac_ext=c
35355 ac_cpp='$CPP $CPPFLAGS'
35356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35359
35360
35361 fi
35362
35363 fi
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35365 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35366
35367 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35368 for ac_func in _expf
35369 do :
35370 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35371 if test "x$ac_cv_func__expf" = x""yes; then :
35372 cat >>confdefs.h <<_ACEOF
35373 #define HAVE__EXPF 1
35374 _ACEOF
35375
35376 fi
35377 done
35378
35379 fi
35380 fi
35381
35382
35383
35384
35385
35386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35387 $as_echo_n "checking for isnanf declaration... " >&6; }
35388 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35389 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35390 $as_echo_n "(cached) " >&6
35391 else
35392
35393
35394 ac_ext=cpp
35395 ac_cpp='$CXXCPP $CPPFLAGS'
35396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35399
35400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35401 /* end confdefs.h. */
35402 #include <math.h>
35403 #ifdef HAVE_IEEEFP_H
35404 #include <ieeefp.h>
35405 #endif
35406
35407 int
35408 main ()
35409 {
35410 isnanf(0);
35411 ;
35412 return 0;
35413 }
35414 _ACEOF
35415 if ac_fn_cxx_try_compile "$LINENO"; then :
35416 glibcxx_cv_func_isnanf_use=yes
35417 else
35418 glibcxx_cv_func_isnanf_use=no
35419 fi
35420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421 ac_ext=c
35422 ac_cpp='$CPP $CPPFLAGS'
35423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35426
35427
35428 fi
35429
35430 fi
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35432 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35433
35434 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35435 for ac_func in isnanf
35436 do :
35437 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35438 if test "x$ac_cv_func_isnanf" = x""yes; then :
35439 cat >>confdefs.h <<_ACEOF
35440 #define HAVE_ISNANF 1
35441 _ACEOF
35442
35443 fi
35444 done
35445
35446 else
35447
35448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35449 $as_echo_n "checking for _isnanf declaration... " >&6; }
35450 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35451 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35452 $as_echo_n "(cached) " >&6
35453 else
35454
35455
35456 ac_ext=cpp
35457 ac_cpp='$CXXCPP $CPPFLAGS'
35458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35461
35462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35463 /* end confdefs.h. */
35464 #include <math.h>
35465 #ifdef HAVE_IEEEFP_H
35466 #include <ieeefp.h>
35467 #endif
35468
35469 int
35470 main ()
35471 {
35472 _isnanf(0);
35473 ;
35474 return 0;
35475 }
35476 _ACEOF
35477 if ac_fn_cxx_try_compile "$LINENO"; then :
35478 glibcxx_cv_func__isnanf_use=yes
35479 else
35480 glibcxx_cv_func__isnanf_use=no
35481 fi
35482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35483 ac_ext=c
35484 ac_cpp='$CPP $CPPFLAGS'
35485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35488
35489
35490 fi
35491
35492 fi
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35494 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35495
35496 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35497 for ac_func in _isnanf
35498 do :
35499 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35500 if test "x$ac_cv_func__isnanf" = x""yes; then :
35501 cat >>confdefs.h <<_ACEOF
35502 #define HAVE__ISNANF 1
35503 _ACEOF
35504
35505 fi
35506 done
35507
35508 fi
35509 fi
35510
35511
35512
35513
35514
35515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35516 $as_echo_n "checking for isinff declaration... " >&6; }
35517 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35518 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35519 $as_echo_n "(cached) " >&6
35520 else
35521
35522
35523 ac_ext=cpp
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35528
35529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35530 /* end confdefs.h. */
35531 #include <math.h>
35532 #ifdef HAVE_IEEEFP_H
35533 #include <ieeefp.h>
35534 #endif
35535
35536 int
35537 main ()
35538 {
35539 isinff(0);
35540 ;
35541 return 0;
35542 }
35543 _ACEOF
35544 if ac_fn_cxx_try_compile "$LINENO"; then :
35545 glibcxx_cv_func_isinff_use=yes
35546 else
35547 glibcxx_cv_func_isinff_use=no
35548 fi
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550 ac_ext=c
35551 ac_cpp='$CPP $CPPFLAGS'
35552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35555
35556
35557 fi
35558
35559 fi
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35561 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35562
35563 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35564 for ac_func in isinff
35565 do :
35566 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35567 if test "x$ac_cv_func_isinff" = x""yes; then :
35568 cat >>confdefs.h <<_ACEOF
35569 #define HAVE_ISINFF 1
35570 _ACEOF
35571
35572 fi
35573 done
35574
35575 else
35576
35577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35578 $as_echo_n "checking for _isinff declaration... " >&6; }
35579 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35580 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35581 $as_echo_n "(cached) " >&6
35582 else
35583
35584
35585 ac_ext=cpp
35586 ac_cpp='$CXXCPP $CPPFLAGS'
35587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35590
35591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35592 /* end confdefs.h. */
35593 #include <math.h>
35594 #ifdef HAVE_IEEEFP_H
35595 #include <ieeefp.h>
35596 #endif
35597
35598 int
35599 main ()
35600 {
35601 _isinff(0);
35602 ;
35603 return 0;
35604 }
35605 _ACEOF
35606 if ac_fn_cxx_try_compile "$LINENO"; then :
35607 glibcxx_cv_func__isinff_use=yes
35608 else
35609 glibcxx_cv_func__isinff_use=no
35610 fi
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617
35618
35619 fi
35620
35621 fi
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35623 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35624
35625 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35626 for ac_func in _isinff
35627 do :
35628 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35629 if test "x$ac_cv_func__isinff" = x""yes; then :
35630 cat >>confdefs.h <<_ACEOF
35631 #define HAVE__ISINFF 1
35632 _ACEOF
35633
35634 fi
35635 done
35636
35637 fi
35638 fi
35639
35640
35641
35642
35643
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35645 $as_echo_n "checking for atan2f declaration... " >&6; }
35646 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35647 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35648 $as_echo_n "(cached) " >&6
35649 else
35650
35651
35652 ac_ext=cpp
35653 ac_cpp='$CXXCPP $CPPFLAGS'
35654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35657
35658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35659 /* end confdefs.h. */
35660 #include <math.h>
35661 int
35662 main ()
35663 {
35664 atan2f(0, 0);
35665 ;
35666 return 0;
35667 }
35668 _ACEOF
35669 if ac_fn_cxx_try_compile "$LINENO"; then :
35670 glibcxx_cv_func_atan2f_use=yes
35671 else
35672 glibcxx_cv_func_atan2f_use=no
35673 fi
35674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35675 ac_ext=c
35676 ac_cpp='$CPP $CPPFLAGS'
35677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35680
35681
35682 fi
35683
35684 fi
35685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35686 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35687
35688 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35689 for ac_func in atan2f
35690 do :
35691 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35692 if test "x$ac_cv_func_atan2f" = x""yes; then :
35693 cat >>confdefs.h <<_ACEOF
35694 #define HAVE_ATAN2F 1
35695 _ACEOF
35696
35697 fi
35698 done
35699
35700 else
35701
35702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35703 $as_echo_n "checking for _atan2f declaration... " >&6; }
35704 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35705 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35706 $as_echo_n "(cached) " >&6
35707 else
35708
35709
35710 ac_ext=cpp
35711 ac_cpp='$CXXCPP $CPPFLAGS'
35712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35715
35716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35717 /* end confdefs.h. */
35718 #include <math.h>
35719 int
35720 main ()
35721 {
35722 _atan2f(0, 0);
35723 ;
35724 return 0;
35725 }
35726 _ACEOF
35727 if ac_fn_cxx_try_compile "$LINENO"; then :
35728 glibcxx_cv_func__atan2f_use=yes
35729 else
35730 glibcxx_cv_func__atan2f_use=no
35731 fi
35732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35733 ac_ext=c
35734 ac_cpp='$CPP $CPPFLAGS'
35735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35738
35739
35740 fi
35741
35742 fi
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35744 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35745
35746 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35747 for ac_func in _atan2f
35748 do :
35749 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35750 if test "x$ac_cv_func__atan2f" = x""yes; then :
35751 cat >>confdefs.h <<_ACEOF
35752 #define HAVE__ATAN2F 1
35753 _ACEOF
35754
35755 fi
35756 done
35757
35758 fi
35759 fi
35760
35761
35762
35763
35764
35765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35766 $as_echo_n "checking for fabsf declaration... " >&6; }
35767 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35768 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35769 $as_echo_n "(cached) " >&6
35770 else
35771
35772
35773 ac_ext=cpp
35774 ac_cpp='$CXXCPP $CPPFLAGS'
35775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35778
35779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35780 /* end confdefs.h. */
35781 #include <math.h>
35782 #ifdef HAVE_IEEEFP_H
35783 #include <ieeefp.h>
35784 #endif
35785
35786 int
35787 main ()
35788 {
35789 fabsf(0);
35790 ;
35791 return 0;
35792 }
35793 _ACEOF
35794 if ac_fn_cxx_try_compile "$LINENO"; then :
35795 glibcxx_cv_func_fabsf_use=yes
35796 else
35797 glibcxx_cv_func_fabsf_use=no
35798 fi
35799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35800 ac_ext=c
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35805
35806
35807 fi
35808
35809 fi
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35811 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35812
35813 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35814 for ac_func in fabsf
35815 do :
35816 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35817 if test "x$ac_cv_func_fabsf" = x""yes; then :
35818 cat >>confdefs.h <<_ACEOF
35819 #define HAVE_FABSF 1
35820 _ACEOF
35821
35822 fi
35823 done
35824
35825 else
35826
35827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35828 $as_echo_n "checking for _fabsf declaration... " >&6; }
35829 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35830 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35831 $as_echo_n "(cached) " >&6
35832 else
35833
35834
35835 ac_ext=cpp
35836 ac_cpp='$CXXCPP $CPPFLAGS'
35837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35840
35841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35842 /* end confdefs.h. */
35843 #include <math.h>
35844 #ifdef HAVE_IEEEFP_H
35845 #include <ieeefp.h>
35846 #endif
35847
35848 int
35849 main ()
35850 {
35851 _fabsf(0);
35852 ;
35853 return 0;
35854 }
35855 _ACEOF
35856 if ac_fn_cxx_try_compile "$LINENO"; then :
35857 glibcxx_cv_func__fabsf_use=yes
35858 else
35859 glibcxx_cv_func__fabsf_use=no
35860 fi
35861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35862 ac_ext=c
35863 ac_cpp='$CPP $CPPFLAGS'
35864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35867
35868
35869 fi
35870
35871 fi
35872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35873 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35874
35875 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35876 for ac_func in _fabsf
35877 do :
35878 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35879 if test "x$ac_cv_func__fabsf" = x""yes; then :
35880 cat >>confdefs.h <<_ACEOF
35881 #define HAVE__FABSF 1
35882 _ACEOF
35883
35884 fi
35885 done
35886
35887 fi
35888 fi
35889
35890
35891
35892
35893
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35895 $as_echo_n "checking for fmodf declaration... " >&6; }
35896 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35897 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35898 $as_echo_n "(cached) " >&6
35899 else
35900
35901
35902 ac_ext=cpp
35903 ac_cpp='$CXXCPP $CPPFLAGS'
35904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907
35908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35909 /* end confdefs.h. */
35910 #include <math.h>
35911 int
35912 main ()
35913 {
35914 fmodf(0, 0);
35915 ;
35916 return 0;
35917 }
35918 _ACEOF
35919 if ac_fn_cxx_try_compile "$LINENO"; then :
35920 glibcxx_cv_func_fmodf_use=yes
35921 else
35922 glibcxx_cv_func_fmodf_use=no
35923 fi
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925 ac_ext=c
35926 ac_cpp='$CPP $CPPFLAGS'
35927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35930
35931
35932 fi
35933
35934 fi
35935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35936 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35937
35938 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35939 for ac_func in fmodf
35940 do :
35941 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35942 if test "x$ac_cv_func_fmodf" = x""yes; then :
35943 cat >>confdefs.h <<_ACEOF
35944 #define HAVE_FMODF 1
35945 _ACEOF
35946
35947 fi
35948 done
35949
35950 else
35951
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35953 $as_echo_n "checking for _fmodf declaration... " >&6; }
35954 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35955 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35956 $as_echo_n "(cached) " >&6
35957 else
35958
35959
35960 ac_ext=cpp
35961 ac_cpp='$CXXCPP $CPPFLAGS'
35962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965
35966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35967 /* end confdefs.h. */
35968 #include <math.h>
35969 int
35970 main ()
35971 {
35972 _fmodf(0, 0);
35973 ;
35974 return 0;
35975 }
35976 _ACEOF
35977 if ac_fn_cxx_try_compile "$LINENO"; then :
35978 glibcxx_cv_func__fmodf_use=yes
35979 else
35980 glibcxx_cv_func__fmodf_use=no
35981 fi
35982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35983 ac_ext=c
35984 ac_cpp='$CPP $CPPFLAGS'
35985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35988
35989
35990 fi
35991
35992 fi
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35994 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35995
35996 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35997 for ac_func in _fmodf
35998 do :
35999 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36000 if test "x$ac_cv_func__fmodf" = x""yes; then :
36001 cat >>confdefs.h <<_ACEOF
36002 #define HAVE__FMODF 1
36003 _ACEOF
36004
36005 fi
36006 done
36007
36008 fi
36009 fi
36010
36011
36012
36013
36014
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36016 $as_echo_n "checking for frexpf declaration... " >&6; }
36017 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36018 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36019 $as_echo_n "(cached) " >&6
36020 else
36021
36022
36023 ac_ext=cpp
36024 ac_cpp='$CXXCPP $CPPFLAGS'
36025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36028
36029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36030 /* end confdefs.h. */
36031 #include <math.h>
36032 int
36033 main ()
36034 {
36035 frexpf(0, 0);
36036 ;
36037 return 0;
36038 }
36039 _ACEOF
36040 if ac_fn_cxx_try_compile "$LINENO"; then :
36041 glibcxx_cv_func_frexpf_use=yes
36042 else
36043 glibcxx_cv_func_frexpf_use=no
36044 fi
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051
36052
36053 fi
36054
36055 fi
36056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36057 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36058
36059 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36060 for ac_func in frexpf
36061 do :
36062 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36063 if test "x$ac_cv_func_frexpf" = x""yes; then :
36064 cat >>confdefs.h <<_ACEOF
36065 #define HAVE_FREXPF 1
36066 _ACEOF
36067
36068 fi
36069 done
36070
36071 else
36072
36073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36074 $as_echo_n "checking for _frexpf declaration... " >&6; }
36075 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36076 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36077 $as_echo_n "(cached) " >&6
36078 else
36079
36080
36081 ac_ext=cpp
36082 ac_cpp='$CXXCPP $CPPFLAGS'
36083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36086
36087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36088 /* end confdefs.h. */
36089 #include <math.h>
36090 int
36091 main ()
36092 {
36093 _frexpf(0, 0);
36094 ;
36095 return 0;
36096 }
36097 _ACEOF
36098 if ac_fn_cxx_try_compile "$LINENO"; then :
36099 glibcxx_cv_func__frexpf_use=yes
36100 else
36101 glibcxx_cv_func__frexpf_use=no
36102 fi
36103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36104 ac_ext=c
36105 ac_cpp='$CPP $CPPFLAGS'
36106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36109
36110
36111 fi
36112
36113 fi
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36115 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36116
36117 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36118 for ac_func in _frexpf
36119 do :
36120 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36121 if test "x$ac_cv_func__frexpf" = x""yes; then :
36122 cat >>confdefs.h <<_ACEOF
36123 #define HAVE__FREXPF 1
36124 _ACEOF
36125
36126 fi
36127 done
36128
36129 fi
36130 fi
36131
36132
36133
36134
36135
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36137 $as_echo_n "checking for hypotf declaration... " >&6; }
36138 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36139 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36140 $as_echo_n "(cached) " >&6
36141 else
36142
36143
36144 ac_ext=cpp
36145 ac_cpp='$CXXCPP $CPPFLAGS'
36146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36149
36150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36151 /* end confdefs.h. */
36152 #include <math.h>
36153 int
36154 main ()
36155 {
36156 hypotf(0, 0);
36157 ;
36158 return 0;
36159 }
36160 _ACEOF
36161 if ac_fn_cxx_try_compile "$LINENO"; then :
36162 glibcxx_cv_func_hypotf_use=yes
36163 else
36164 glibcxx_cv_func_hypotf_use=no
36165 fi
36166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36167 ac_ext=c
36168 ac_cpp='$CPP $CPPFLAGS'
36169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36172
36173
36174 fi
36175
36176 fi
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36178 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36179
36180 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36181 for ac_func in hypotf
36182 do :
36183 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36184 if test "x$ac_cv_func_hypotf" = x""yes; then :
36185 cat >>confdefs.h <<_ACEOF
36186 #define HAVE_HYPOTF 1
36187 _ACEOF
36188
36189 fi
36190 done
36191
36192 else
36193
36194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36195 $as_echo_n "checking for _hypotf declaration... " >&6; }
36196 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36197 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36198 $as_echo_n "(cached) " >&6
36199 else
36200
36201
36202 ac_ext=cpp
36203 ac_cpp='$CXXCPP $CPPFLAGS'
36204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36207
36208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36209 /* end confdefs.h. */
36210 #include <math.h>
36211 int
36212 main ()
36213 {
36214 _hypotf(0, 0);
36215 ;
36216 return 0;
36217 }
36218 _ACEOF
36219 if ac_fn_cxx_try_compile "$LINENO"; then :
36220 glibcxx_cv_func__hypotf_use=yes
36221 else
36222 glibcxx_cv_func__hypotf_use=no
36223 fi
36224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36225 ac_ext=c
36226 ac_cpp='$CPP $CPPFLAGS'
36227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36230
36231
36232 fi
36233
36234 fi
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36236 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36237
36238 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36239 for ac_func in _hypotf
36240 do :
36241 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36242 if test "x$ac_cv_func__hypotf" = x""yes; then :
36243 cat >>confdefs.h <<_ACEOF
36244 #define HAVE__HYPOTF 1
36245 _ACEOF
36246
36247 fi
36248 done
36249
36250 fi
36251 fi
36252
36253
36254
36255
36256
36257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36258 $as_echo_n "checking for ldexpf declaration... " >&6; }
36259 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36260 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36261 $as_echo_n "(cached) " >&6
36262 else
36263
36264
36265 ac_ext=cpp
36266 ac_cpp='$CXXCPP $CPPFLAGS'
36267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36270
36271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36272 /* end confdefs.h. */
36273 #include <math.h>
36274 int
36275 main ()
36276 {
36277 ldexpf(0, 0);
36278 ;
36279 return 0;
36280 }
36281 _ACEOF
36282 if ac_fn_cxx_try_compile "$LINENO"; then :
36283 glibcxx_cv_func_ldexpf_use=yes
36284 else
36285 glibcxx_cv_func_ldexpf_use=no
36286 fi
36287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36288 ac_ext=c
36289 ac_cpp='$CPP $CPPFLAGS'
36290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36293
36294
36295 fi
36296
36297 fi
36298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36299 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36300
36301 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36302 for ac_func in ldexpf
36303 do :
36304 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36305 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36306 cat >>confdefs.h <<_ACEOF
36307 #define HAVE_LDEXPF 1
36308 _ACEOF
36309
36310 fi
36311 done
36312
36313 else
36314
36315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36316 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36317 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36318 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36319 $as_echo_n "(cached) " >&6
36320 else
36321
36322
36323 ac_ext=cpp
36324 ac_cpp='$CXXCPP $CPPFLAGS'
36325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36328
36329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36330 /* end confdefs.h. */
36331 #include <math.h>
36332 int
36333 main ()
36334 {
36335 _ldexpf(0, 0);
36336 ;
36337 return 0;
36338 }
36339 _ACEOF
36340 if ac_fn_cxx_try_compile "$LINENO"; then :
36341 glibcxx_cv_func__ldexpf_use=yes
36342 else
36343 glibcxx_cv_func__ldexpf_use=no
36344 fi
36345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36346 ac_ext=c
36347 ac_cpp='$CPP $CPPFLAGS'
36348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36351
36352
36353 fi
36354
36355 fi
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36357 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36358
36359 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36360 for ac_func in _ldexpf
36361 do :
36362 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36363 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36364 cat >>confdefs.h <<_ACEOF
36365 #define HAVE__LDEXPF 1
36366 _ACEOF
36367
36368 fi
36369 done
36370
36371 fi
36372 fi
36373
36374
36375
36376
36377
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36379 $as_echo_n "checking for logf declaration... " >&6; }
36380 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36381 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36382 $as_echo_n "(cached) " >&6
36383 else
36384
36385
36386 ac_ext=cpp
36387 ac_cpp='$CXXCPP $CPPFLAGS'
36388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36391
36392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36393 /* end confdefs.h. */
36394 #include <math.h>
36395 #ifdef HAVE_IEEEFP_H
36396 #include <ieeefp.h>
36397 #endif
36398
36399 int
36400 main ()
36401 {
36402 logf(0);
36403 ;
36404 return 0;
36405 }
36406 _ACEOF
36407 if ac_fn_cxx_try_compile "$LINENO"; then :
36408 glibcxx_cv_func_logf_use=yes
36409 else
36410 glibcxx_cv_func_logf_use=no
36411 fi
36412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36413 ac_ext=c
36414 ac_cpp='$CPP $CPPFLAGS'
36415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36418
36419
36420 fi
36421
36422 fi
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36424 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36425
36426 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36427 for ac_func in logf
36428 do :
36429 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36430 if test "x$ac_cv_func_logf" = x""yes; then :
36431 cat >>confdefs.h <<_ACEOF
36432 #define HAVE_LOGF 1
36433 _ACEOF
36434
36435 fi
36436 done
36437
36438 else
36439
36440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36441 $as_echo_n "checking for _logf declaration... " >&6; }
36442 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36443 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36444 $as_echo_n "(cached) " >&6
36445 else
36446
36447
36448 ac_ext=cpp
36449 ac_cpp='$CXXCPP $CPPFLAGS'
36450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453
36454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36455 /* end confdefs.h. */
36456 #include <math.h>
36457 #ifdef HAVE_IEEEFP_H
36458 #include <ieeefp.h>
36459 #endif
36460
36461 int
36462 main ()
36463 {
36464 _logf(0);
36465 ;
36466 return 0;
36467 }
36468 _ACEOF
36469 if ac_fn_cxx_try_compile "$LINENO"; then :
36470 glibcxx_cv_func__logf_use=yes
36471 else
36472 glibcxx_cv_func__logf_use=no
36473 fi
36474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36475 ac_ext=c
36476 ac_cpp='$CPP $CPPFLAGS'
36477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36480
36481
36482 fi
36483
36484 fi
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36486 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36487
36488 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36489 for ac_func in _logf
36490 do :
36491 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36492 if test "x$ac_cv_func__logf" = x""yes; then :
36493 cat >>confdefs.h <<_ACEOF
36494 #define HAVE__LOGF 1
36495 _ACEOF
36496
36497 fi
36498 done
36499
36500 fi
36501 fi
36502
36503
36504
36505
36506
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36508 $as_echo_n "checking for log10f declaration... " >&6; }
36509 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36510 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36511 $as_echo_n "(cached) " >&6
36512 else
36513
36514
36515 ac_ext=cpp
36516 ac_cpp='$CXXCPP $CPPFLAGS'
36517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36520
36521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36522 /* end confdefs.h. */
36523 #include <math.h>
36524 #ifdef HAVE_IEEEFP_H
36525 #include <ieeefp.h>
36526 #endif
36527
36528 int
36529 main ()
36530 {
36531 log10f(0);
36532 ;
36533 return 0;
36534 }
36535 _ACEOF
36536 if ac_fn_cxx_try_compile "$LINENO"; then :
36537 glibcxx_cv_func_log10f_use=yes
36538 else
36539 glibcxx_cv_func_log10f_use=no
36540 fi
36541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36542 ac_ext=c
36543 ac_cpp='$CPP $CPPFLAGS'
36544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36547
36548
36549 fi
36550
36551 fi
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36553 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36554
36555 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36556 for ac_func in log10f
36557 do :
36558 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36559 if test "x$ac_cv_func_log10f" = x""yes; then :
36560 cat >>confdefs.h <<_ACEOF
36561 #define HAVE_LOG10F 1
36562 _ACEOF
36563
36564 fi
36565 done
36566
36567 else
36568
36569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36570 $as_echo_n "checking for _log10f declaration... " >&6; }
36571 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36572 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36573 $as_echo_n "(cached) " >&6
36574 else
36575
36576
36577 ac_ext=cpp
36578 ac_cpp='$CXXCPP $CPPFLAGS'
36579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36582
36583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36584 /* end confdefs.h. */
36585 #include <math.h>
36586 #ifdef HAVE_IEEEFP_H
36587 #include <ieeefp.h>
36588 #endif
36589
36590 int
36591 main ()
36592 {
36593 _log10f(0);
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 if ac_fn_cxx_try_compile "$LINENO"; then :
36599 glibcxx_cv_func__log10f_use=yes
36600 else
36601 glibcxx_cv_func__log10f_use=no
36602 fi
36603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36604 ac_ext=c
36605 ac_cpp='$CPP $CPPFLAGS'
36606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36609
36610
36611 fi
36612
36613 fi
36614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36615 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36616
36617 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36618 for ac_func in _log10f
36619 do :
36620 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36621 if test "x$ac_cv_func__log10f" = x""yes; then :
36622 cat >>confdefs.h <<_ACEOF
36623 #define HAVE__LOG10F 1
36624 _ACEOF
36625
36626 fi
36627 done
36628
36629 fi
36630 fi
36631
36632
36633
36634
36635
36636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36637 $as_echo_n "checking for modff declaration... " >&6; }
36638 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36639 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36640 $as_echo_n "(cached) " >&6
36641 else
36642
36643
36644 ac_ext=cpp
36645 ac_cpp='$CXXCPP $CPPFLAGS'
36646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36649
36650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36651 /* end confdefs.h. */
36652 #include <math.h>
36653 int
36654 main ()
36655 {
36656 modff(0, 0);
36657 ;
36658 return 0;
36659 }
36660 _ACEOF
36661 if ac_fn_cxx_try_compile "$LINENO"; then :
36662 glibcxx_cv_func_modff_use=yes
36663 else
36664 glibcxx_cv_func_modff_use=no
36665 fi
36666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36667 ac_ext=c
36668 ac_cpp='$CPP $CPPFLAGS'
36669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36672
36673
36674 fi
36675
36676 fi
36677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36678 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36679
36680 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36681 for ac_func in modff
36682 do :
36683 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36684 if test "x$ac_cv_func_modff" = x""yes; then :
36685 cat >>confdefs.h <<_ACEOF
36686 #define HAVE_MODFF 1
36687 _ACEOF
36688
36689 fi
36690 done
36691
36692 else
36693
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36695 $as_echo_n "checking for _modff declaration... " >&6; }
36696 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36697 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36698 $as_echo_n "(cached) " >&6
36699 else
36700
36701
36702 ac_ext=cpp
36703 ac_cpp='$CXXCPP $CPPFLAGS'
36704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36707
36708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36709 /* end confdefs.h. */
36710 #include <math.h>
36711 int
36712 main ()
36713 {
36714 _modff(0, 0);
36715 ;
36716 return 0;
36717 }
36718 _ACEOF
36719 if ac_fn_cxx_try_compile "$LINENO"; then :
36720 glibcxx_cv_func__modff_use=yes
36721 else
36722 glibcxx_cv_func__modff_use=no
36723 fi
36724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36725 ac_ext=c
36726 ac_cpp='$CPP $CPPFLAGS'
36727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36730
36731
36732 fi
36733
36734 fi
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36736 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36737
36738 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36739 for ac_func in _modff
36740 do :
36741 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36742 if test "x$ac_cv_func__modff" = x""yes; then :
36743 cat >>confdefs.h <<_ACEOF
36744 #define HAVE__MODFF 1
36745 _ACEOF
36746
36747 fi
36748 done
36749
36750 fi
36751 fi
36752
36753
36754
36755
36756
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36758 $as_echo_n "checking for modf declaration... " >&6; }
36759 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36760 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36761 $as_echo_n "(cached) " >&6
36762 else
36763
36764
36765 ac_ext=cpp
36766 ac_cpp='$CXXCPP $CPPFLAGS'
36767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36770
36771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36772 /* end confdefs.h. */
36773 #include <math.h>
36774 int
36775 main ()
36776 {
36777 modf(0, 0);
36778 ;
36779 return 0;
36780 }
36781 _ACEOF
36782 if ac_fn_cxx_try_compile "$LINENO"; then :
36783 glibcxx_cv_func_modf_use=yes
36784 else
36785 glibcxx_cv_func_modf_use=no
36786 fi
36787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36788 ac_ext=c
36789 ac_cpp='$CPP $CPPFLAGS'
36790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36793
36794
36795 fi
36796
36797 fi
36798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36799 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36800
36801 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36802 for ac_func in modf
36803 do :
36804 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36805 if test "x$ac_cv_func_modf" = x""yes; then :
36806 cat >>confdefs.h <<_ACEOF
36807 #define HAVE_MODF 1
36808 _ACEOF
36809
36810 fi
36811 done
36812
36813 else
36814
36815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36816 $as_echo_n "checking for _modf declaration... " >&6; }
36817 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36818 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36819 $as_echo_n "(cached) " >&6
36820 else
36821
36822
36823 ac_ext=cpp
36824 ac_cpp='$CXXCPP $CPPFLAGS'
36825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36828
36829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36830 /* end confdefs.h. */
36831 #include <math.h>
36832 int
36833 main ()
36834 {
36835 _modf(0, 0);
36836 ;
36837 return 0;
36838 }
36839 _ACEOF
36840 if ac_fn_cxx_try_compile "$LINENO"; then :
36841 glibcxx_cv_func__modf_use=yes
36842 else
36843 glibcxx_cv_func__modf_use=no
36844 fi
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846 ac_ext=c
36847 ac_cpp='$CPP $CPPFLAGS'
36848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36851
36852
36853 fi
36854
36855 fi
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36857 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36858
36859 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36860 for ac_func in _modf
36861 do :
36862 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36863 if test "x$ac_cv_func__modf" = x""yes; then :
36864 cat >>confdefs.h <<_ACEOF
36865 #define HAVE__MODF 1
36866 _ACEOF
36867
36868 fi
36869 done
36870
36871 fi
36872 fi
36873
36874
36875
36876
36877
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36879 $as_echo_n "checking for powf declaration... " >&6; }
36880 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36881 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36882 $as_echo_n "(cached) " >&6
36883 else
36884
36885
36886 ac_ext=cpp
36887 ac_cpp='$CXXCPP $CPPFLAGS'
36888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36891
36892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36893 /* end confdefs.h. */
36894 #include <math.h>
36895 int
36896 main ()
36897 {
36898 powf(0, 0);
36899 ;
36900 return 0;
36901 }
36902 _ACEOF
36903 if ac_fn_cxx_try_compile "$LINENO"; then :
36904 glibcxx_cv_func_powf_use=yes
36905 else
36906 glibcxx_cv_func_powf_use=no
36907 fi
36908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36909 ac_ext=c
36910 ac_cpp='$CPP $CPPFLAGS'
36911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36914
36915
36916 fi
36917
36918 fi
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36920 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36921
36922 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36923 for ac_func in powf
36924 do :
36925 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36926 if test "x$ac_cv_func_powf" = x""yes; then :
36927 cat >>confdefs.h <<_ACEOF
36928 #define HAVE_POWF 1
36929 _ACEOF
36930
36931 fi
36932 done
36933
36934 else
36935
36936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36937 $as_echo_n "checking for _powf declaration... " >&6; }
36938 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36939 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36940 $as_echo_n "(cached) " >&6
36941 else
36942
36943
36944 ac_ext=cpp
36945 ac_cpp='$CXXCPP $CPPFLAGS'
36946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36949
36950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36951 /* end confdefs.h. */
36952 #include <math.h>
36953 int
36954 main ()
36955 {
36956 _powf(0, 0);
36957 ;
36958 return 0;
36959 }
36960 _ACEOF
36961 if ac_fn_cxx_try_compile "$LINENO"; then :
36962 glibcxx_cv_func__powf_use=yes
36963 else
36964 glibcxx_cv_func__powf_use=no
36965 fi
36966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36967 ac_ext=c
36968 ac_cpp='$CPP $CPPFLAGS'
36969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36972
36973
36974 fi
36975
36976 fi
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36978 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36979
36980 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36981 for ac_func in _powf
36982 do :
36983 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36984 if test "x$ac_cv_func__powf" = x""yes; then :
36985 cat >>confdefs.h <<_ACEOF
36986 #define HAVE__POWF 1
36987 _ACEOF
36988
36989 fi
36990 done
36991
36992 fi
36993 fi
36994
36995
36996
36997
36998
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37000 $as_echo_n "checking for sqrtf declaration... " >&6; }
37001 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37002 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37003 $as_echo_n "(cached) " >&6
37004 else
37005
37006
37007 ac_ext=cpp
37008 ac_cpp='$CXXCPP $CPPFLAGS'
37009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37012
37013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37014 /* end confdefs.h. */
37015 #include <math.h>
37016 #ifdef HAVE_IEEEFP_H
37017 #include <ieeefp.h>
37018 #endif
37019
37020 int
37021 main ()
37022 {
37023 sqrtf(0);
37024 ;
37025 return 0;
37026 }
37027 _ACEOF
37028 if ac_fn_cxx_try_compile "$LINENO"; then :
37029 glibcxx_cv_func_sqrtf_use=yes
37030 else
37031 glibcxx_cv_func_sqrtf_use=no
37032 fi
37033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37034 ac_ext=c
37035 ac_cpp='$CPP $CPPFLAGS'
37036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37039
37040
37041 fi
37042
37043 fi
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37045 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37046
37047 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37048 for ac_func in sqrtf
37049 do :
37050 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37051 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37052 cat >>confdefs.h <<_ACEOF
37053 #define HAVE_SQRTF 1
37054 _ACEOF
37055
37056 fi
37057 done
37058
37059 else
37060
37061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37062 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37063 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37064 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37065 $as_echo_n "(cached) " >&6
37066 else
37067
37068
37069 ac_ext=cpp
37070 ac_cpp='$CXXCPP $CPPFLAGS'
37071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37074
37075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37076 /* end confdefs.h. */
37077 #include <math.h>
37078 #ifdef HAVE_IEEEFP_H
37079 #include <ieeefp.h>
37080 #endif
37081
37082 int
37083 main ()
37084 {
37085 _sqrtf(0);
37086 ;
37087 return 0;
37088 }
37089 _ACEOF
37090 if ac_fn_cxx_try_compile "$LINENO"; then :
37091 glibcxx_cv_func__sqrtf_use=yes
37092 else
37093 glibcxx_cv_func__sqrtf_use=no
37094 fi
37095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096 ac_ext=c
37097 ac_cpp='$CPP $CPPFLAGS'
37098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37101
37102
37103 fi
37104
37105 fi
37106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37107 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37108
37109 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37110 for ac_func in _sqrtf
37111 do :
37112 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37113 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37114 cat >>confdefs.h <<_ACEOF
37115 #define HAVE__SQRTF 1
37116 _ACEOF
37117
37118 fi
37119 done
37120
37121 fi
37122 fi
37123
37124
37125
37126
37127
37128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37129 $as_echo_n "checking for sincosf declaration... " >&6; }
37130 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37131 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37132 $as_echo_n "(cached) " >&6
37133 else
37134
37135
37136 ac_ext=cpp
37137 ac_cpp='$CXXCPP $CPPFLAGS'
37138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37141
37142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37143 /* end confdefs.h. */
37144 #include <math.h>
37145 int
37146 main ()
37147 {
37148 sincosf(0, 0, 0);
37149 ;
37150 return 0;
37151 }
37152 _ACEOF
37153 if ac_fn_cxx_try_compile "$LINENO"; then :
37154 glibcxx_cv_func_sincosf_use=yes
37155 else
37156 glibcxx_cv_func_sincosf_use=no
37157 fi
37158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37159 ac_ext=c
37160 ac_cpp='$CPP $CPPFLAGS'
37161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37164
37165
37166 fi
37167
37168 fi
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37170 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37171
37172 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37173 for ac_func in sincosf
37174 do :
37175 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37176 if test "x$ac_cv_func_sincosf" = x""yes; then :
37177 cat >>confdefs.h <<_ACEOF
37178 #define HAVE_SINCOSF 1
37179 _ACEOF
37180
37181 fi
37182 done
37183
37184 else
37185
37186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37187 $as_echo_n "checking for _sincosf declaration... " >&6; }
37188 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37189 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37190 $as_echo_n "(cached) " >&6
37191 else
37192
37193
37194 ac_ext=cpp
37195 ac_cpp='$CXXCPP $CPPFLAGS'
37196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37199
37200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37201 /* end confdefs.h. */
37202 #include <math.h>
37203 int
37204 main ()
37205 {
37206 _sincosf(0, 0, 0);
37207 ;
37208 return 0;
37209 }
37210 _ACEOF
37211 if ac_fn_cxx_try_compile "$LINENO"; then :
37212 glibcxx_cv_func__sincosf_use=yes
37213 else
37214 glibcxx_cv_func__sincosf_use=no
37215 fi
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37217 ac_ext=c
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222
37223
37224 fi
37225
37226 fi
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37228 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37229
37230 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37231 for ac_func in _sincosf
37232 do :
37233 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37234 if test "x$ac_cv_func__sincosf" = x""yes; then :
37235 cat >>confdefs.h <<_ACEOF
37236 #define HAVE__SINCOSF 1
37237 _ACEOF
37238
37239 fi
37240 done
37241
37242 fi
37243 fi
37244
37245
37246
37247
37248
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37250 $as_echo_n "checking for finitef declaration... " >&6; }
37251 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37252 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37253 $as_echo_n "(cached) " >&6
37254 else
37255
37256
37257 ac_ext=cpp
37258 ac_cpp='$CXXCPP $CPPFLAGS'
37259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37262
37263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37264 /* end confdefs.h. */
37265 #include <math.h>
37266 #ifdef HAVE_IEEEFP_H
37267 #include <ieeefp.h>
37268 #endif
37269
37270 int
37271 main ()
37272 {
37273 finitef(0);
37274 ;
37275 return 0;
37276 }
37277 _ACEOF
37278 if ac_fn_cxx_try_compile "$LINENO"; then :
37279 glibcxx_cv_func_finitef_use=yes
37280 else
37281 glibcxx_cv_func_finitef_use=no
37282 fi
37283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37284 ac_ext=c
37285 ac_cpp='$CPP $CPPFLAGS'
37286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37289
37290
37291 fi
37292
37293 fi
37294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37295 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37296
37297 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37298 for ac_func in finitef
37299 do :
37300 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37301 if test "x$ac_cv_func_finitef" = x""yes; then :
37302 cat >>confdefs.h <<_ACEOF
37303 #define HAVE_FINITEF 1
37304 _ACEOF
37305
37306 fi
37307 done
37308
37309 else
37310
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37312 $as_echo_n "checking for _finitef declaration... " >&6; }
37313 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37314 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37315 $as_echo_n "(cached) " >&6
37316 else
37317
37318
37319 ac_ext=cpp
37320 ac_cpp='$CXXCPP $CPPFLAGS'
37321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37324
37325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37326 /* end confdefs.h. */
37327 #include <math.h>
37328 #ifdef HAVE_IEEEFP_H
37329 #include <ieeefp.h>
37330 #endif
37331
37332 int
37333 main ()
37334 {
37335 _finitef(0);
37336 ;
37337 return 0;
37338 }
37339 _ACEOF
37340 if ac_fn_cxx_try_compile "$LINENO"; then :
37341 glibcxx_cv_func__finitef_use=yes
37342 else
37343 glibcxx_cv_func__finitef_use=no
37344 fi
37345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37346 ac_ext=c
37347 ac_cpp='$CPP $CPPFLAGS'
37348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37351
37352
37353 fi
37354
37355 fi
37356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37357 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37358
37359 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37360 for ac_func in _finitef
37361 do :
37362 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37363 if test "x$ac_cv_func__finitef" = x""yes; then :
37364 cat >>confdefs.h <<_ACEOF
37365 #define HAVE__FINITEF 1
37366 _ACEOF
37367
37368 fi
37369 done
37370
37371 fi
37372 fi
37373
37374
37375
37376
37377
37378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37379 $as_echo_n "checking for long double trig functions... " >&6; }
37380 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37381 $as_echo_n "(cached) " >&6
37382 else
37383
37384
37385 ac_ext=cpp
37386 ac_cpp='$CXXCPP $CPPFLAGS'
37387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37390
37391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37392 /* end confdefs.h. */
37393 #include <math.h>
37394 int
37395 main ()
37396 {
37397 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37398 ;
37399 return 0;
37400 }
37401 _ACEOF
37402 if ac_fn_cxx_try_compile "$LINENO"; then :
37403 glibcxx_cv_func_long_double_trig_use=yes
37404 else
37405 glibcxx_cv_func_long_double_trig_use=no
37406 fi
37407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37408 ac_ext=c
37409 ac_cpp='$CPP $CPPFLAGS'
37410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37413
37414 fi
37415
37416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37417 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37418 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37419 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37420 do :
37421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37423 eval as_val=\$$as_ac_var
37424 if test "x$as_val" = x""yes; then :
37425 cat >>confdefs.h <<_ACEOF
37426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37427 _ACEOF
37428
37429 fi
37430 done
37431
37432 else
37433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37434 $as_echo_n "checking for _long double trig functions... " >&6; }
37435 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37436 $as_echo_n "(cached) " >&6
37437 else
37438
37439
37440 ac_ext=cpp
37441 ac_cpp='$CXXCPP $CPPFLAGS'
37442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37445
37446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37447 /* end confdefs.h. */
37448 #include <math.h>
37449 int
37450 main ()
37451 {
37452 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37453 ;
37454 return 0;
37455 }
37456 _ACEOF
37457 if ac_fn_cxx_try_compile "$LINENO"; then :
37458 glibcxx_cv_func__long_double_trig_use=yes
37459 else
37460 glibcxx_cv_func__long_double_trig_use=no
37461 fi
37462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463 ac_ext=c
37464 ac_cpp='$CPP $CPPFLAGS'
37465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37468
37469 fi
37470
37471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37472 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37473 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37474 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37475 do :
37476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37478 eval as_val=\$$as_ac_var
37479 if test "x$as_val" = x""yes; then :
37480 cat >>confdefs.h <<_ACEOF
37481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37482 _ACEOF
37483
37484 fi
37485 done
37486
37487 fi
37488 fi
37489
37490
37491
37492
37493
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37495 $as_echo_n "checking for long double round functions... " >&6; }
37496 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37497 $as_echo_n "(cached) " >&6
37498 else
37499
37500
37501 ac_ext=cpp
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506
37507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37508 /* end confdefs.h. */
37509 #include <math.h>
37510 int
37511 main ()
37512 {
37513 ceill (0); floorl (0);
37514 ;
37515 return 0;
37516 }
37517 _ACEOF
37518 if ac_fn_cxx_try_compile "$LINENO"; then :
37519 glibcxx_cv_func_long_double_round_use=yes
37520 else
37521 glibcxx_cv_func_long_double_round_use=no
37522 fi
37523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37524 ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37529
37530 fi
37531
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37533 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37534 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37535 for ac_func in ceill floorl
37536 do :
37537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37539 eval as_val=\$$as_ac_var
37540 if test "x$as_val" = x""yes; then :
37541 cat >>confdefs.h <<_ACEOF
37542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37544
37545 fi
37546 done
37547
37548 else
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37550 $as_echo_n "checking for _long double round functions... " >&6; }
37551 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37554
37555
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37565 int
37566 main ()
37567 {
37568 _ceill (0); _floorl (0);
37569 ;
37570 return 0;
37571 }
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__long_double_round_use=yes
37575 else
37576 glibcxx_cv_func__long_double_round_use=no
37577 fi
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584
37585 fi
37586
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37588 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37589 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37590 for ac_func in _ceill _floorl
37591 do :
37592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37594 eval as_val=\$$as_ac_var
37595 if test "x$as_val" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37599
37600 fi
37601 done
37602
37603 fi
37604 fi
37605
37606
37607
37608
37609
37610
37611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37612 $as_echo_n "checking for isnanl declaration... " >&6; }
37613 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37614 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37615 $as_echo_n "(cached) " >&6
37616 else
37617
37618
37619 ac_ext=cpp
37620 ac_cpp='$CXXCPP $CPPFLAGS'
37621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37624
37625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37626 /* end confdefs.h. */
37627 #include <math.h>
37628 #ifdef HAVE_IEEEFP_H
37629 #include <ieeefp.h>
37630 #endif
37631
37632 int
37633 main ()
37634 {
37635 isnanl(0);
37636 ;
37637 return 0;
37638 }
37639 _ACEOF
37640 if ac_fn_cxx_try_compile "$LINENO"; then :
37641 glibcxx_cv_func_isnanl_use=yes
37642 else
37643 glibcxx_cv_func_isnanl_use=no
37644 fi
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651
37652
37653 fi
37654
37655 fi
37656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37657 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37658
37659 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37660 for ac_func in isnanl
37661 do :
37662 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37663 if test "x$ac_cv_func_isnanl" = x""yes; then :
37664 cat >>confdefs.h <<_ACEOF
37665 #define HAVE_ISNANL 1
37666 _ACEOF
37667
37668 fi
37669 done
37670
37671 else
37672
37673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37674 $as_echo_n "checking for _isnanl declaration... " >&6; }
37675 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37676 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37677 $as_echo_n "(cached) " >&6
37678 else
37679
37680
37681 ac_ext=cpp
37682 ac_cpp='$CXXCPP $CPPFLAGS'
37683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37686
37687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37688 /* end confdefs.h. */
37689 #include <math.h>
37690 #ifdef HAVE_IEEEFP_H
37691 #include <ieeefp.h>
37692 #endif
37693
37694 int
37695 main ()
37696 {
37697 _isnanl(0);
37698 ;
37699 return 0;
37700 }
37701 _ACEOF
37702 if ac_fn_cxx_try_compile "$LINENO"; then :
37703 glibcxx_cv_func__isnanl_use=yes
37704 else
37705 glibcxx_cv_func__isnanl_use=no
37706 fi
37707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37708 ac_ext=c
37709 ac_cpp='$CPP $CPPFLAGS'
37710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37713
37714
37715 fi
37716
37717 fi
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37719 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37720
37721 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37722 for ac_func in _isnanl
37723 do :
37724 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37725 if test "x$ac_cv_func__isnanl" = x""yes; then :
37726 cat >>confdefs.h <<_ACEOF
37727 #define HAVE__ISNANL 1
37728 _ACEOF
37729
37730 fi
37731 done
37732
37733 fi
37734 fi
37735
37736
37737
37738
37739
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37741 $as_echo_n "checking for isinfl declaration... " >&6; }
37742 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37743 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37744 $as_echo_n "(cached) " >&6
37745 else
37746
37747
37748 ac_ext=cpp
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37753
37754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37755 /* end confdefs.h. */
37756 #include <math.h>
37757 #ifdef HAVE_IEEEFP_H
37758 #include <ieeefp.h>
37759 #endif
37760
37761 int
37762 main ()
37763 {
37764 isinfl(0);
37765 ;
37766 return 0;
37767 }
37768 _ACEOF
37769 if ac_fn_cxx_try_compile "$LINENO"; then :
37770 glibcxx_cv_func_isinfl_use=yes
37771 else
37772 glibcxx_cv_func_isinfl_use=no
37773 fi
37774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37775 ac_ext=c
37776 ac_cpp='$CPP $CPPFLAGS'
37777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37780
37781
37782 fi
37783
37784 fi
37785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37786 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37787
37788 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37789 for ac_func in isinfl
37790 do :
37791 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37792 if test "x$ac_cv_func_isinfl" = x""yes; then :
37793 cat >>confdefs.h <<_ACEOF
37794 #define HAVE_ISINFL 1
37795 _ACEOF
37796
37797 fi
37798 done
37799
37800 else
37801
37802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37803 $as_echo_n "checking for _isinfl declaration... " >&6; }
37804 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37805 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37806 $as_echo_n "(cached) " >&6
37807 else
37808
37809
37810 ac_ext=cpp
37811 ac_cpp='$CXXCPP $CPPFLAGS'
37812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37815
37816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37817 /* end confdefs.h. */
37818 #include <math.h>
37819 #ifdef HAVE_IEEEFP_H
37820 #include <ieeefp.h>
37821 #endif
37822
37823 int
37824 main ()
37825 {
37826 _isinfl(0);
37827 ;
37828 return 0;
37829 }
37830 _ACEOF
37831 if ac_fn_cxx_try_compile "$LINENO"; then :
37832 glibcxx_cv_func__isinfl_use=yes
37833 else
37834 glibcxx_cv_func__isinfl_use=no
37835 fi
37836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37837 ac_ext=c
37838 ac_cpp='$CPP $CPPFLAGS'
37839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37842
37843
37844 fi
37845
37846 fi
37847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37848 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37849
37850 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37851 for ac_func in _isinfl
37852 do :
37853 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37854 if test "x$ac_cv_func__isinfl" = x""yes; then :
37855 cat >>confdefs.h <<_ACEOF
37856 #define HAVE__ISINFL 1
37857 _ACEOF
37858
37859 fi
37860 done
37861
37862 fi
37863 fi
37864
37865
37866
37867
37868
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37870 $as_echo_n "checking for atan2l declaration... " >&6; }
37871 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37872 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37873 $as_echo_n "(cached) " >&6
37874 else
37875
37876
37877 ac_ext=cpp
37878 ac_cpp='$CXXCPP $CPPFLAGS'
37879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37882
37883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37884 /* end confdefs.h. */
37885 #include <math.h>
37886 int
37887 main ()
37888 {
37889 atan2l(0, 0);
37890 ;
37891 return 0;
37892 }
37893 _ACEOF
37894 if ac_fn_cxx_try_compile "$LINENO"; then :
37895 glibcxx_cv_func_atan2l_use=yes
37896 else
37897 glibcxx_cv_func_atan2l_use=no
37898 fi
37899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37900 ac_ext=c
37901 ac_cpp='$CPP $CPPFLAGS'
37902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37905
37906
37907 fi
37908
37909 fi
37910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37911 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37912
37913 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37914 for ac_func in atan2l
37915 do :
37916 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37917 if test "x$ac_cv_func_atan2l" = x""yes; then :
37918 cat >>confdefs.h <<_ACEOF
37919 #define HAVE_ATAN2L 1
37920 _ACEOF
37921
37922 fi
37923 done
37924
37925 else
37926
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37928 $as_echo_n "checking for _atan2l declaration... " >&6; }
37929 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37930 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37931 $as_echo_n "(cached) " >&6
37932 else
37933
37934
37935 ac_ext=cpp
37936 ac_cpp='$CXXCPP $CPPFLAGS'
37937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940
37941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37942 /* end confdefs.h. */
37943 #include <math.h>
37944 int
37945 main ()
37946 {
37947 _atan2l(0, 0);
37948 ;
37949 return 0;
37950 }
37951 _ACEOF
37952 if ac_fn_cxx_try_compile "$LINENO"; then :
37953 glibcxx_cv_func__atan2l_use=yes
37954 else
37955 glibcxx_cv_func__atan2l_use=no
37956 fi
37957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37958 ac_ext=c
37959 ac_cpp='$CPP $CPPFLAGS'
37960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37963
37964
37965 fi
37966
37967 fi
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37969 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37970
37971 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37972 for ac_func in _atan2l
37973 do :
37974 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37975 if test "x$ac_cv_func__atan2l" = x""yes; then :
37976 cat >>confdefs.h <<_ACEOF
37977 #define HAVE__ATAN2L 1
37978 _ACEOF
37979
37980 fi
37981 done
37982
37983 fi
37984 fi
37985
37986
37987
37988
37989
37990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37991 $as_echo_n "checking for expl declaration... " >&6; }
37992 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37993 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37994 $as_echo_n "(cached) " >&6
37995 else
37996
37997
37998 ac_ext=cpp
37999 ac_cpp='$CXXCPP $CPPFLAGS'
38000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38003
38004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38005 /* end confdefs.h. */
38006 #include <math.h>
38007 #ifdef HAVE_IEEEFP_H
38008 #include <ieeefp.h>
38009 #endif
38010
38011 int
38012 main ()
38013 {
38014 expl(0);
38015 ;
38016 return 0;
38017 }
38018 _ACEOF
38019 if ac_fn_cxx_try_compile "$LINENO"; then :
38020 glibcxx_cv_func_expl_use=yes
38021 else
38022 glibcxx_cv_func_expl_use=no
38023 fi
38024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38025 ac_ext=c
38026 ac_cpp='$CPP $CPPFLAGS'
38027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38030
38031
38032 fi
38033
38034 fi
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38036 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38037
38038 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38039 for ac_func in expl
38040 do :
38041 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38042 if test "x$ac_cv_func_expl" = x""yes; then :
38043 cat >>confdefs.h <<_ACEOF
38044 #define HAVE_EXPL 1
38045 _ACEOF
38046
38047 fi
38048 done
38049
38050 else
38051
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38053 $as_echo_n "checking for _expl declaration... " >&6; }
38054 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38055 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38056 $as_echo_n "(cached) " >&6
38057 else
38058
38059
38060 ac_ext=cpp
38061 ac_cpp='$CXXCPP $CPPFLAGS'
38062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065
38066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38067 /* end confdefs.h. */
38068 #include <math.h>
38069 #ifdef HAVE_IEEEFP_H
38070 #include <ieeefp.h>
38071 #endif
38072
38073 int
38074 main ()
38075 {
38076 _expl(0);
38077 ;
38078 return 0;
38079 }
38080 _ACEOF
38081 if ac_fn_cxx_try_compile "$LINENO"; then :
38082 glibcxx_cv_func__expl_use=yes
38083 else
38084 glibcxx_cv_func__expl_use=no
38085 fi
38086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38087 ac_ext=c
38088 ac_cpp='$CPP $CPPFLAGS'
38089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38092
38093
38094 fi
38095
38096 fi
38097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38098 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38099
38100 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38101 for ac_func in _expl
38102 do :
38103 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38104 if test "x$ac_cv_func__expl" = x""yes; then :
38105 cat >>confdefs.h <<_ACEOF
38106 #define HAVE__EXPL 1
38107 _ACEOF
38108
38109 fi
38110 done
38111
38112 fi
38113 fi
38114
38115
38116
38117
38118
38119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38120 $as_echo_n "checking for fabsl declaration... " >&6; }
38121 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38122 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38123 $as_echo_n "(cached) " >&6
38124 else
38125
38126
38127 ac_ext=cpp
38128 ac_cpp='$CXXCPP $CPPFLAGS'
38129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38132
38133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38134 /* end confdefs.h. */
38135 #include <math.h>
38136 #ifdef HAVE_IEEEFP_H
38137 #include <ieeefp.h>
38138 #endif
38139
38140 int
38141 main ()
38142 {
38143 fabsl(0);
38144 ;
38145 return 0;
38146 }
38147 _ACEOF
38148 if ac_fn_cxx_try_compile "$LINENO"; then :
38149 glibcxx_cv_func_fabsl_use=yes
38150 else
38151 glibcxx_cv_func_fabsl_use=no
38152 fi
38153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38154 ac_ext=c
38155 ac_cpp='$CPP $CPPFLAGS'
38156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38159
38160
38161 fi
38162
38163 fi
38164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38165 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38166
38167 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38168 for ac_func in fabsl
38169 do :
38170 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38171 if test "x$ac_cv_func_fabsl" = x""yes; then :
38172 cat >>confdefs.h <<_ACEOF
38173 #define HAVE_FABSL 1
38174 _ACEOF
38175
38176 fi
38177 done
38178
38179 else
38180
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38182 $as_echo_n "checking for _fabsl declaration... " >&6; }
38183 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38184 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38185 $as_echo_n "(cached) " >&6
38186 else
38187
38188
38189 ac_ext=cpp
38190 ac_cpp='$CXXCPP $CPPFLAGS'
38191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38194
38195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38196 /* end confdefs.h. */
38197 #include <math.h>
38198 #ifdef HAVE_IEEEFP_H
38199 #include <ieeefp.h>
38200 #endif
38201
38202 int
38203 main ()
38204 {
38205 _fabsl(0);
38206 ;
38207 return 0;
38208 }
38209 _ACEOF
38210 if ac_fn_cxx_try_compile "$LINENO"; then :
38211 glibcxx_cv_func__fabsl_use=yes
38212 else
38213 glibcxx_cv_func__fabsl_use=no
38214 fi
38215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38216 ac_ext=c
38217 ac_cpp='$CPP $CPPFLAGS'
38218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38221
38222
38223 fi
38224
38225 fi
38226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38227 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38228
38229 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38230 for ac_func in _fabsl
38231 do :
38232 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38233 if test "x$ac_cv_func__fabsl" = x""yes; then :
38234 cat >>confdefs.h <<_ACEOF
38235 #define HAVE__FABSL 1
38236 _ACEOF
38237
38238 fi
38239 done
38240
38241 fi
38242 fi
38243
38244
38245
38246
38247
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38249 $as_echo_n "checking for fmodl declaration... " >&6; }
38250 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38251 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38252 $as_echo_n "(cached) " >&6
38253 else
38254
38255
38256 ac_ext=cpp
38257 ac_cpp='$CXXCPP $CPPFLAGS'
38258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38261
38262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38263 /* end confdefs.h. */
38264 #include <math.h>
38265 int
38266 main ()
38267 {
38268 fmodl(0, 0);
38269 ;
38270 return 0;
38271 }
38272 _ACEOF
38273 if ac_fn_cxx_try_compile "$LINENO"; then :
38274 glibcxx_cv_func_fmodl_use=yes
38275 else
38276 glibcxx_cv_func_fmodl_use=no
38277 fi
38278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38279 ac_ext=c
38280 ac_cpp='$CPP $CPPFLAGS'
38281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284
38285
38286 fi
38287
38288 fi
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38290 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38291
38292 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38293 for ac_func in fmodl
38294 do :
38295 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38296 if test "x$ac_cv_func_fmodl" = x""yes; then :
38297 cat >>confdefs.h <<_ACEOF
38298 #define HAVE_FMODL 1
38299 _ACEOF
38300
38301 fi
38302 done
38303
38304 else
38305
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38307 $as_echo_n "checking for _fmodl declaration... " >&6; }
38308 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38309 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38310 $as_echo_n "(cached) " >&6
38311 else
38312
38313
38314 ac_ext=cpp
38315 ac_cpp='$CXXCPP $CPPFLAGS'
38316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38319
38320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38321 /* end confdefs.h. */
38322 #include <math.h>
38323 int
38324 main ()
38325 {
38326 _fmodl(0, 0);
38327 ;
38328 return 0;
38329 }
38330 _ACEOF
38331 if ac_fn_cxx_try_compile "$LINENO"; then :
38332 glibcxx_cv_func__fmodl_use=yes
38333 else
38334 glibcxx_cv_func__fmodl_use=no
38335 fi
38336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38337 ac_ext=c
38338 ac_cpp='$CPP $CPPFLAGS'
38339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38342
38343
38344 fi
38345
38346 fi
38347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38348 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38349
38350 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38351 for ac_func in _fmodl
38352 do :
38353 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38354 if test "x$ac_cv_func__fmodl" = x""yes; then :
38355 cat >>confdefs.h <<_ACEOF
38356 #define HAVE__FMODL 1
38357 _ACEOF
38358
38359 fi
38360 done
38361
38362 fi
38363 fi
38364
38365
38366
38367
38368
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38370 $as_echo_n "checking for frexpl declaration... " >&6; }
38371 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38372 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38373 $as_echo_n "(cached) " >&6
38374 else
38375
38376
38377 ac_ext=cpp
38378 ac_cpp='$CXXCPP $CPPFLAGS'
38379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38382
38383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38384 /* end confdefs.h. */
38385 #include <math.h>
38386 int
38387 main ()
38388 {
38389 frexpl(0, 0);
38390 ;
38391 return 0;
38392 }
38393 _ACEOF
38394 if ac_fn_cxx_try_compile "$LINENO"; then :
38395 glibcxx_cv_func_frexpl_use=yes
38396 else
38397 glibcxx_cv_func_frexpl_use=no
38398 fi
38399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38400 ac_ext=c
38401 ac_cpp='$CPP $CPPFLAGS'
38402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38405
38406
38407 fi
38408
38409 fi
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38411 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38412
38413 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38414 for ac_func in frexpl
38415 do :
38416 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38417 if test "x$ac_cv_func_frexpl" = x""yes; then :
38418 cat >>confdefs.h <<_ACEOF
38419 #define HAVE_FREXPL 1
38420 _ACEOF
38421
38422 fi
38423 done
38424
38425 else
38426
38427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38428 $as_echo_n "checking for _frexpl declaration... " >&6; }
38429 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38430 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38431 $as_echo_n "(cached) " >&6
38432 else
38433
38434
38435 ac_ext=cpp
38436 ac_cpp='$CXXCPP $CPPFLAGS'
38437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38440
38441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38442 /* end confdefs.h. */
38443 #include <math.h>
38444 int
38445 main ()
38446 {
38447 _frexpl(0, 0);
38448 ;
38449 return 0;
38450 }
38451 _ACEOF
38452 if ac_fn_cxx_try_compile "$LINENO"; then :
38453 glibcxx_cv_func__frexpl_use=yes
38454 else
38455 glibcxx_cv_func__frexpl_use=no
38456 fi
38457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38458 ac_ext=c
38459 ac_cpp='$CPP $CPPFLAGS'
38460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38463
38464
38465 fi
38466
38467 fi
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38469 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38470
38471 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38472 for ac_func in _frexpl
38473 do :
38474 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38475 if test "x$ac_cv_func__frexpl" = x""yes; then :
38476 cat >>confdefs.h <<_ACEOF
38477 #define HAVE__FREXPL 1
38478 _ACEOF
38479
38480 fi
38481 done
38482
38483 fi
38484 fi
38485
38486
38487
38488
38489
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38491 $as_echo_n "checking for hypotl declaration... " >&6; }
38492 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38493 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38494 $as_echo_n "(cached) " >&6
38495 else
38496
38497
38498 ac_ext=cpp
38499 ac_cpp='$CXXCPP $CPPFLAGS'
38500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38503
38504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38505 /* end confdefs.h. */
38506 #include <math.h>
38507 int
38508 main ()
38509 {
38510 hypotl(0, 0);
38511 ;
38512 return 0;
38513 }
38514 _ACEOF
38515 if ac_fn_cxx_try_compile "$LINENO"; then :
38516 glibcxx_cv_func_hypotl_use=yes
38517 else
38518 glibcxx_cv_func_hypotl_use=no
38519 fi
38520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38521 ac_ext=c
38522 ac_cpp='$CPP $CPPFLAGS'
38523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38526
38527
38528 fi
38529
38530 fi
38531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38532 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38533
38534 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38535 for ac_func in hypotl
38536 do :
38537 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38538 if test "x$ac_cv_func_hypotl" = x""yes; then :
38539 cat >>confdefs.h <<_ACEOF
38540 #define HAVE_HYPOTL 1
38541 _ACEOF
38542
38543 fi
38544 done
38545
38546 else
38547
38548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38549 $as_echo_n "checking for _hypotl declaration... " >&6; }
38550 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38551 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38552 $as_echo_n "(cached) " >&6
38553 else
38554
38555
38556 ac_ext=cpp
38557 ac_cpp='$CXXCPP $CPPFLAGS'
38558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38561
38562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38563 /* end confdefs.h. */
38564 #include <math.h>
38565 int
38566 main ()
38567 {
38568 _hypotl(0, 0);
38569 ;
38570 return 0;
38571 }
38572 _ACEOF
38573 if ac_fn_cxx_try_compile "$LINENO"; then :
38574 glibcxx_cv_func__hypotl_use=yes
38575 else
38576 glibcxx_cv_func__hypotl_use=no
38577 fi
38578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38579 ac_ext=c
38580 ac_cpp='$CPP $CPPFLAGS'
38581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38584
38585
38586 fi
38587
38588 fi
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38590 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38591
38592 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38593 for ac_func in _hypotl
38594 do :
38595 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38596 if test "x$ac_cv_func__hypotl" = x""yes; then :
38597 cat >>confdefs.h <<_ACEOF
38598 #define HAVE__HYPOTL 1
38599 _ACEOF
38600
38601 fi
38602 done
38603
38604 fi
38605 fi
38606
38607
38608
38609
38610
38611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38612 $as_echo_n "checking for ldexpl declaration... " >&6; }
38613 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38614 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38615 $as_echo_n "(cached) " >&6
38616 else
38617
38618
38619 ac_ext=cpp
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38624
38625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38626 /* end confdefs.h. */
38627 #include <math.h>
38628 int
38629 main ()
38630 {
38631 ldexpl(0, 0);
38632 ;
38633 return 0;
38634 }
38635 _ACEOF
38636 if ac_fn_cxx_try_compile "$LINENO"; then :
38637 glibcxx_cv_func_ldexpl_use=yes
38638 else
38639 glibcxx_cv_func_ldexpl_use=no
38640 fi
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38642 ac_ext=c
38643 ac_cpp='$CPP $CPPFLAGS'
38644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38647
38648
38649 fi
38650
38651 fi
38652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38653 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38654
38655 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38656 for ac_func in ldexpl
38657 do :
38658 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38659 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38660 cat >>confdefs.h <<_ACEOF
38661 #define HAVE_LDEXPL 1
38662 _ACEOF
38663
38664 fi
38665 done
38666
38667 else
38668
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38670 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38671 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38672 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38673 $as_echo_n "(cached) " >&6
38674 else
38675
38676
38677 ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38682
38683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h. */
38685 #include <math.h>
38686 int
38687 main ()
38688 {
38689 _ldexpl(0, 0);
38690 ;
38691 return 0;
38692 }
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695 glibcxx_cv_func__ldexpl_use=yes
38696 else
38697 glibcxx_cv_func__ldexpl_use=no
38698 fi
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700 ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705
38706
38707 fi
38708
38709 fi
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38711 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38712
38713 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38714 for ac_func in _ldexpl
38715 do :
38716 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38717 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define HAVE__LDEXPL 1
38720 _ACEOF
38721
38722 fi
38723 done
38724
38725 fi
38726 fi
38727
38728
38729
38730
38731
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38733 $as_echo_n "checking for logl declaration... " >&6; }
38734 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38735 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38736 $as_echo_n "(cached) " >&6
38737 else
38738
38739
38740 ac_ext=cpp
38741 ac_cpp='$CXXCPP $CPPFLAGS'
38742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38745
38746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38747 /* end confdefs.h. */
38748 #include <math.h>
38749 #ifdef HAVE_IEEEFP_H
38750 #include <ieeefp.h>
38751 #endif
38752
38753 int
38754 main ()
38755 {
38756 logl(0);
38757 ;
38758 return 0;
38759 }
38760 _ACEOF
38761 if ac_fn_cxx_try_compile "$LINENO"; then :
38762 glibcxx_cv_func_logl_use=yes
38763 else
38764 glibcxx_cv_func_logl_use=no
38765 fi
38766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38767 ac_ext=c
38768 ac_cpp='$CPP $CPPFLAGS'
38769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38772
38773
38774 fi
38775
38776 fi
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38778 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38779
38780 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38781 for ac_func in logl
38782 do :
38783 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38784 if test "x$ac_cv_func_logl" = x""yes; then :
38785 cat >>confdefs.h <<_ACEOF
38786 #define HAVE_LOGL 1
38787 _ACEOF
38788
38789 fi
38790 done
38791
38792 else
38793
38794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38795 $as_echo_n "checking for _logl declaration... " >&6; }
38796 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38797 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38798 $as_echo_n "(cached) " >&6
38799 else
38800
38801
38802 ac_ext=cpp
38803 ac_cpp='$CXXCPP $CPPFLAGS'
38804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38807
38808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38809 /* end confdefs.h. */
38810 #include <math.h>
38811 #ifdef HAVE_IEEEFP_H
38812 #include <ieeefp.h>
38813 #endif
38814
38815 int
38816 main ()
38817 {
38818 _logl(0);
38819 ;
38820 return 0;
38821 }
38822 _ACEOF
38823 if ac_fn_cxx_try_compile "$LINENO"; then :
38824 glibcxx_cv_func__logl_use=yes
38825 else
38826 glibcxx_cv_func__logl_use=no
38827 fi
38828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38829 ac_ext=c
38830 ac_cpp='$CPP $CPPFLAGS'
38831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38834
38835
38836 fi
38837
38838 fi
38839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38840 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38841
38842 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38843 for ac_func in _logl
38844 do :
38845 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38846 if test "x$ac_cv_func__logl" = x""yes; then :
38847 cat >>confdefs.h <<_ACEOF
38848 #define HAVE__LOGL 1
38849 _ACEOF
38850
38851 fi
38852 done
38853
38854 fi
38855 fi
38856
38857
38858
38859
38860
38861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38862 $as_echo_n "checking for log10l declaration... " >&6; }
38863 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38864 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38865 $as_echo_n "(cached) " >&6
38866 else
38867
38868
38869 ac_ext=cpp
38870 ac_cpp='$CXXCPP $CPPFLAGS'
38871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38874
38875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38876 /* end confdefs.h. */
38877 #include <math.h>
38878 #ifdef HAVE_IEEEFP_H
38879 #include <ieeefp.h>
38880 #endif
38881
38882 int
38883 main ()
38884 {
38885 log10l(0);
38886 ;
38887 return 0;
38888 }
38889 _ACEOF
38890 if ac_fn_cxx_try_compile "$LINENO"; then :
38891 glibcxx_cv_func_log10l_use=yes
38892 else
38893 glibcxx_cv_func_log10l_use=no
38894 fi
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38896 ac_ext=c
38897 ac_cpp='$CPP $CPPFLAGS'
38898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38901
38902
38903 fi
38904
38905 fi
38906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38907 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38908
38909 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38910 for ac_func in log10l
38911 do :
38912 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38913 if test "x$ac_cv_func_log10l" = x""yes; then :
38914 cat >>confdefs.h <<_ACEOF
38915 #define HAVE_LOG10L 1
38916 _ACEOF
38917
38918 fi
38919 done
38920
38921 else
38922
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38924 $as_echo_n "checking for _log10l declaration... " >&6; }
38925 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38926 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38927 $as_echo_n "(cached) " >&6
38928 else
38929
38930
38931 ac_ext=cpp
38932 ac_cpp='$CXXCPP $CPPFLAGS'
38933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38936
38937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38938 /* end confdefs.h. */
38939 #include <math.h>
38940 #ifdef HAVE_IEEEFP_H
38941 #include <ieeefp.h>
38942 #endif
38943
38944 int
38945 main ()
38946 {
38947 _log10l(0);
38948 ;
38949 return 0;
38950 }
38951 _ACEOF
38952 if ac_fn_cxx_try_compile "$LINENO"; then :
38953 glibcxx_cv_func__log10l_use=yes
38954 else
38955 glibcxx_cv_func__log10l_use=no
38956 fi
38957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38958 ac_ext=c
38959 ac_cpp='$CPP $CPPFLAGS'
38960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38963
38964
38965 fi
38966
38967 fi
38968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38969 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38970
38971 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38972 for ac_func in _log10l
38973 do :
38974 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38975 if test "x$ac_cv_func__log10l" = x""yes; then :
38976 cat >>confdefs.h <<_ACEOF
38977 #define HAVE__LOG10L 1
38978 _ACEOF
38979
38980 fi
38981 done
38982
38983 fi
38984 fi
38985
38986
38987
38988
38989
38990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38991 $as_echo_n "checking for modfl declaration... " >&6; }
38992 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38993 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38994 $as_echo_n "(cached) " >&6
38995 else
38996
38997
38998 ac_ext=cpp
38999 ac_cpp='$CXXCPP $CPPFLAGS'
39000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39003
39004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39005 /* end confdefs.h. */
39006 #include <math.h>
39007 int
39008 main ()
39009 {
39010 modfl(0, 0);
39011 ;
39012 return 0;
39013 }
39014 _ACEOF
39015 if ac_fn_cxx_try_compile "$LINENO"; then :
39016 glibcxx_cv_func_modfl_use=yes
39017 else
39018 glibcxx_cv_func_modfl_use=no
39019 fi
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 ac_ext=c
39022 ac_cpp='$CPP $CPPFLAGS'
39023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39026
39027
39028 fi
39029
39030 fi
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39032 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39033
39034 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39035 for ac_func in modfl
39036 do :
39037 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39038 if test "x$ac_cv_func_modfl" = x""yes; then :
39039 cat >>confdefs.h <<_ACEOF
39040 #define HAVE_MODFL 1
39041 _ACEOF
39042
39043 fi
39044 done
39045
39046 else
39047
39048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39049 $as_echo_n "checking for _modfl declaration... " >&6; }
39050 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39051 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39052 $as_echo_n "(cached) " >&6
39053 else
39054
39055
39056 ac_ext=cpp
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39061
39062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39063 /* end confdefs.h. */
39064 #include <math.h>
39065 int
39066 main ()
39067 {
39068 _modfl(0, 0);
39069 ;
39070 return 0;
39071 }
39072 _ACEOF
39073 if ac_fn_cxx_try_compile "$LINENO"; then :
39074 glibcxx_cv_func__modfl_use=yes
39075 else
39076 glibcxx_cv_func__modfl_use=no
39077 fi
39078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39079 ac_ext=c
39080 ac_cpp='$CPP $CPPFLAGS'
39081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39084
39085
39086 fi
39087
39088 fi
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39090 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39091
39092 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39093 for ac_func in _modfl
39094 do :
39095 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39096 if test "x$ac_cv_func__modfl" = x""yes; then :
39097 cat >>confdefs.h <<_ACEOF
39098 #define HAVE__MODFL 1
39099 _ACEOF
39100
39101 fi
39102 done
39103
39104 fi
39105 fi
39106
39107
39108
39109
39110
39111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39112 $as_echo_n "checking for powl declaration... " >&6; }
39113 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39114 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39115 $as_echo_n "(cached) " >&6
39116 else
39117
39118
39119 ac_ext=cpp
39120 ac_cpp='$CXXCPP $CPPFLAGS'
39121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39124
39125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39126 /* end confdefs.h. */
39127 #include <math.h>
39128 int
39129 main ()
39130 {
39131 powl(0, 0);
39132 ;
39133 return 0;
39134 }
39135 _ACEOF
39136 if ac_fn_cxx_try_compile "$LINENO"; then :
39137 glibcxx_cv_func_powl_use=yes
39138 else
39139 glibcxx_cv_func_powl_use=no
39140 fi
39141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39142 ac_ext=c
39143 ac_cpp='$CPP $CPPFLAGS'
39144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39147
39148
39149 fi
39150
39151 fi
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39153 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39154
39155 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39156 for ac_func in powl
39157 do :
39158 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39159 if test "x$ac_cv_func_powl" = x""yes; then :
39160 cat >>confdefs.h <<_ACEOF
39161 #define HAVE_POWL 1
39162 _ACEOF
39163
39164 fi
39165 done
39166
39167 else
39168
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39170 $as_echo_n "checking for _powl declaration... " >&6; }
39171 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39172 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39173 $as_echo_n "(cached) " >&6
39174 else
39175
39176
39177 ac_ext=cpp
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39182
39183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39184 /* end confdefs.h. */
39185 #include <math.h>
39186 int
39187 main ()
39188 {
39189 _powl(0, 0);
39190 ;
39191 return 0;
39192 }
39193 _ACEOF
39194 if ac_fn_cxx_try_compile "$LINENO"; then :
39195 glibcxx_cv_func__powl_use=yes
39196 else
39197 glibcxx_cv_func__powl_use=no
39198 fi
39199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39200 ac_ext=c
39201 ac_cpp='$CPP $CPPFLAGS'
39202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39205
39206
39207 fi
39208
39209 fi
39210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39211 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39212
39213 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39214 for ac_func in _powl
39215 do :
39216 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39217 if test "x$ac_cv_func__powl" = x""yes; then :
39218 cat >>confdefs.h <<_ACEOF
39219 #define HAVE__POWL 1
39220 _ACEOF
39221
39222 fi
39223 done
39224
39225 fi
39226 fi
39227
39228
39229
39230
39231
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39233 $as_echo_n "checking for sqrtl declaration... " >&6; }
39234 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39235 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39236 $as_echo_n "(cached) " >&6
39237 else
39238
39239
39240 ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39245
39246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h. */
39248 #include <math.h>
39249 #ifdef HAVE_IEEEFP_H
39250 #include <ieeefp.h>
39251 #endif
39252
39253 int
39254 main ()
39255 {
39256 sqrtl(0);
39257 ;
39258 return 0;
39259 }
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_sqrtl_use=yes
39263 else
39264 glibcxx_cv_func_sqrtl_use=no
39265 fi
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39272
39273
39274 fi
39275
39276 fi
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39278 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39279
39280 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39281 for ac_func in sqrtl
39282 do :
39283 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39284 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_SQRTL 1
39287 _ACEOF
39288
39289 fi
39290 done
39291
39292 else
39293
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39295 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39296 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39297 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39300
39301
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39311 #ifdef HAVE_IEEEFP_H
39312 #include <ieeefp.h>
39313 #endif
39314
39315 int
39316 main ()
39317 {
39318 _sqrtl(0);
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 if ac_fn_cxx_try_compile "$LINENO"; then :
39324 glibcxx_cv_func__sqrtl_use=yes
39325 else
39326 glibcxx_cv_func__sqrtl_use=no
39327 fi
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329 ac_ext=c
39330 ac_cpp='$CPP $CPPFLAGS'
39331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39334
39335
39336 fi
39337
39338 fi
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39340 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39341
39342 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39343 for ac_func in _sqrtl
39344 do :
39345 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39346 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39347 cat >>confdefs.h <<_ACEOF
39348 #define HAVE__SQRTL 1
39349 _ACEOF
39350
39351 fi
39352 done
39353
39354 fi
39355 fi
39356
39357
39358
39359
39360
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39362 $as_echo_n "checking for sincosl declaration... " >&6; }
39363 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39364 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39365 $as_echo_n "(cached) " >&6
39366 else
39367
39368
39369 ac_ext=cpp
39370 ac_cpp='$CXXCPP $CPPFLAGS'
39371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39374
39375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39376 /* end confdefs.h. */
39377 #include <math.h>
39378 int
39379 main ()
39380 {
39381 sincosl(0, 0, 0);
39382 ;
39383 return 0;
39384 }
39385 _ACEOF
39386 if ac_fn_cxx_try_compile "$LINENO"; then :
39387 glibcxx_cv_func_sincosl_use=yes
39388 else
39389 glibcxx_cv_func_sincosl_use=no
39390 fi
39391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39392 ac_ext=c
39393 ac_cpp='$CPP $CPPFLAGS'
39394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39397
39398
39399 fi
39400
39401 fi
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39403 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39404
39405 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39406 for ac_func in sincosl
39407 do :
39408 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39409 if test "x$ac_cv_func_sincosl" = x""yes; then :
39410 cat >>confdefs.h <<_ACEOF
39411 #define HAVE_SINCOSL 1
39412 _ACEOF
39413
39414 fi
39415 done
39416
39417 else
39418
39419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39420 $as_echo_n "checking for _sincosl declaration... " >&6; }
39421 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39422 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39423 $as_echo_n "(cached) " >&6
39424 else
39425
39426
39427 ac_ext=cpp
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39432
39433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39434 /* end confdefs.h. */
39435 #include <math.h>
39436 int
39437 main ()
39438 {
39439 _sincosl(0, 0, 0);
39440 ;
39441 return 0;
39442 }
39443 _ACEOF
39444 if ac_fn_cxx_try_compile "$LINENO"; then :
39445 glibcxx_cv_func__sincosl_use=yes
39446 else
39447 glibcxx_cv_func__sincosl_use=no
39448 fi
39449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39450 ac_ext=c
39451 ac_cpp='$CPP $CPPFLAGS'
39452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39455
39456
39457 fi
39458
39459 fi
39460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39461 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39462
39463 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39464 for ac_func in _sincosl
39465 do :
39466 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39467 if test "x$ac_cv_func__sincosl" = x""yes; then :
39468 cat >>confdefs.h <<_ACEOF
39469 #define HAVE__SINCOSL 1
39470 _ACEOF
39471
39472 fi
39473 done
39474
39475 fi
39476 fi
39477
39478
39479
39480
39481
39482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39483 $as_echo_n "checking for finitel declaration... " >&6; }
39484 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39485 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39486 $as_echo_n "(cached) " >&6
39487 else
39488
39489
39490 ac_ext=cpp
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39495
39496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39497 /* end confdefs.h. */
39498 #include <math.h>
39499 #ifdef HAVE_IEEEFP_H
39500 #include <ieeefp.h>
39501 #endif
39502
39503 int
39504 main ()
39505 {
39506 finitel(0);
39507 ;
39508 return 0;
39509 }
39510 _ACEOF
39511 if ac_fn_cxx_try_compile "$LINENO"; then :
39512 glibcxx_cv_func_finitel_use=yes
39513 else
39514 glibcxx_cv_func_finitel_use=no
39515 fi
39516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39517 ac_ext=c
39518 ac_cpp='$CPP $CPPFLAGS'
39519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522
39523
39524 fi
39525
39526 fi
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39528 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39529
39530 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39531 for ac_func in finitel
39532 do :
39533 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39534 if test "x$ac_cv_func_finitel" = x""yes; then :
39535 cat >>confdefs.h <<_ACEOF
39536 #define HAVE_FINITEL 1
39537 _ACEOF
39538
39539 fi
39540 done
39541
39542 else
39543
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39545 $as_echo_n "checking for _finitel declaration... " >&6; }
39546 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39547 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39548 $as_echo_n "(cached) " >&6
39549 else
39550
39551
39552 ac_ext=cpp
39553 ac_cpp='$CXXCPP $CPPFLAGS'
39554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39557
39558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39559 /* end confdefs.h. */
39560 #include <math.h>
39561 #ifdef HAVE_IEEEFP_H
39562 #include <ieeefp.h>
39563 #endif
39564
39565 int
39566 main ()
39567 {
39568 _finitel(0);
39569 ;
39570 return 0;
39571 }
39572 _ACEOF
39573 if ac_fn_cxx_try_compile "$LINENO"; then :
39574 glibcxx_cv_func__finitel_use=yes
39575 else
39576 glibcxx_cv_func__finitel_use=no
39577 fi
39578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39579 ac_ext=c
39580 ac_cpp='$CPP $CPPFLAGS'
39581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39584
39585
39586 fi
39587
39588 fi
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39590 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39591
39592 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39593 for ac_func in _finitel
39594 do :
39595 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39596 if test "x$ac_cv_func__finitel" = x""yes; then :
39597 cat >>confdefs.h <<_ACEOF
39598 #define HAVE__FINITEL 1
39599 _ACEOF
39600
39601 fi
39602 done
39603
39604 fi
39605 fi
39606
39607
39608
39609
39610 LIBS="$ac_save_LIBS"
39611 CXXFLAGS="$ac_save_CXXFLAGS"
39612
39613
39614 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39615 ac_save_CXXFLAGS="$CXXFLAGS"
39616 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39617
39618
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39620 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39621 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39622 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39623 $as_echo_n "(cached) " >&6
39624 else
39625
39626
39627 ac_ext=cpp
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39632
39633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634 /* end confdefs.h. */
39635 #include <stdlib.h>
39636 int
39637 main ()
39638 {
39639 at_quick_exit(0);
39640 ;
39641 return 0;
39642 }
39643 _ACEOF
39644 if ac_fn_cxx_try_compile "$LINENO"; then :
39645 glibcxx_cv_func_at_quick_exit_use=yes
39646 else
39647 glibcxx_cv_func_at_quick_exit_use=no
39648 fi
39649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39650 ac_ext=c
39651 ac_cpp='$CPP $CPPFLAGS'
39652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39655
39656
39657 fi
39658
39659 fi
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39661 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39662 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39663 for ac_func in at_quick_exit
39664 do :
39665 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39666 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39667 cat >>confdefs.h <<_ACEOF
39668 #define HAVE_AT_QUICK_EXIT 1
39669 _ACEOF
39670
39671 fi
39672 done
39673
39674 fi
39675
39676
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39678 $as_echo_n "checking for quick_exit declaration... " >&6; }
39679 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39680 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39681 $as_echo_n "(cached) " >&6
39682 else
39683
39684
39685 ac_ext=cpp
39686 ac_cpp='$CXXCPP $CPPFLAGS'
39687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690
39691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39692 /* end confdefs.h. */
39693 #include <stdlib.h>
39694 int
39695 main ()
39696 {
39697 quick_exit(0);
39698 ;
39699 return 0;
39700 }
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func_quick_exit_use=yes
39704 else
39705 glibcxx_cv_func_quick_exit_use=no
39706 fi
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713
39714
39715 fi
39716
39717 fi
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39719 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39720 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39721 for ac_func in quick_exit
39722 do :
39723 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39724 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39725 cat >>confdefs.h <<_ACEOF
39726 #define HAVE_QUICK_EXIT 1
39727 _ACEOF
39728
39729 fi
39730 done
39731
39732 fi
39733
39734
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39736 $as_echo_n "checking for strtold declaration... " >&6; }
39737 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39738 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39739 $as_echo_n "(cached) " >&6
39740 else
39741
39742
39743 ac_ext=cpp
39744 ac_cpp='$CXXCPP $CPPFLAGS'
39745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748
39749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39750 /* end confdefs.h. */
39751 #include <stdlib.h>
39752 int
39753 main ()
39754 {
39755 strtold(0, 0);
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 if ac_fn_cxx_try_compile "$LINENO"; then :
39761 glibcxx_cv_func_strtold_use=yes
39762 else
39763 glibcxx_cv_func_strtold_use=no
39764 fi
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766 ac_ext=c
39767 ac_cpp='$CPP $CPPFLAGS'
39768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39771
39772
39773 fi
39774
39775 fi
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39777 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39778 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39779 for ac_func in strtold
39780 do :
39781 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39782 if test "x$ac_cv_func_strtold" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE_STRTOLD 1
39785 _ACEOF
39786
39787 fi
39788 done
39789
39790 fi
39791
39792
39793
39794
39795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39796 $as_echo_n "checking for strtof declaration... " >&6; }
39797 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39798 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39799 $as_echo_n "(cached) " >&6
39800 else
39801
39802
39803 ac_ext=cpp
39804 ac_cpp='$CXXCPP $CPPFLAGS'
39805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39808
39809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39810 /* end confdefs.h. */
39811 #include <stdlib.h>
39812 int
39813 main ()
39814 {
39815 strtof(0, 0);
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 if ac_fn_cxx_try_compile "$LINENO"; then :
39821 glibcxx_cv_func_strtof_use=yes
39822 else
39823 glibcxx_cv_func_strtof_use=no
39824 fi
39825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39826 ac_ext=c
39827 ac_cpp='$CPP $CPPFLAGS'
39828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39831
39832
39833 fi
39834
39835 fi
39836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39837 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39838 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39839 for ac_func in strtof
39840 do :
39841 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39842 if test "x$ac_cv_func_strtof" = x""yes; then :
39843 cat >>confdefs.h <<_ACEOF
39844 #define HAVE_STRTOF 1
39845 _ACEOF
39846
39847 fi
39848 done
39849
39850 fi
39851
39852
39853
39854
39855 CXXFLAGS="$ac_save_CXXFLAGS"
39856
39857
39858
39859
39860
39861
39862 am_save_CPPFLAGS="$CPPFLAGS"
39863
39864 for element in $INCICONV; do
39865 haveit=
39866 for x in $CPPFLAGS; do
39867
39868 acl_save_prefix="$prefix"
39869 prefix="$acl_final_prefix"
39870 acl_save_exec_prefix="$exec_prefix"
39871 exec_prefix="$acl_final_exec_prefix"
39872 eval x=\"$x\"
39873 exec_prefix="$acl_save_exec_prefix"
39874 prefix="$acl_save_prefix"
39875
39876 if test "X$x" = "X$element"; then
39877 haveit=yes
39878 break
39879 fi
39880 done
39881 if test -z "$haveit"; then
39882 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39883 fi
39884 done
39885
39886
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39888 $as_echo_n "checking for iconv... " >&6; }
39889 if test "${am_cv_func_iconv+set}" = set; then :
39890 $as_echo_n "(cached) " >&6
39891 else
39892
39893 am_cv_func_iconv="no, consider installing GNU libiconv"
39894 am_cv_lib_iconv=no
39895 if test x$gcc_no_link = xyes; then
39896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39897 fi
39898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39899 /* end confdefs.h. */
39900 #include <stdlib.h>
39901 #include <iconv.h>
39902 int
39903 main ()
39904 {
39905 iconv_t cd = iconv_open("","");
39906 iconv(cd,NULL,NULL,NULL,NULL);
39907 iconv_close(cd);
39908 ;
39909 return 0;
39910 }
39911 _ACEOF
39912 if ac_fn_c_try_link "$LINENO"; then :
39913 am_cv_func_iconv=yes
39914 fi
39915 rm -f core conftest.err conftest.$ac_objext \
39916 conftest$ac_exeext conftest.$ac_ext
39917 if test "$am_cv_func_iconv" != yes; then
39918 am_save_LIBS="$LIBS"
39919 LIBS="$LIBS $LIBICONV"
39920 if test x$gcc_no_link = xyes; then
39921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39922 fi
39923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39924 /* end confdefs.h. */
39925 #include <stdlib.h>
39926 #include <iconv.h>
39927 int
39928 main ()
39929 {
39930 iconv_t cd = iconv_open("","");
39931 iconv(cd,NULL,NULL,NULL,NULL);
39932 iconv_close(cd);
39933 ;
39934 return 0;
39935 }
39936 _ACEOF
39937 if ac_fn_c_try_link "$LINENO"; then :
39938 am_cv_lib_iconv=yes
39939 am_cv_func_iconv=yes
39940 fi
39941 rm -f core conftest.err conftest.$ac_objext \
39942 conftest$ac_exeext conftest.$ac_ext
39943 LIBS="$am_save_LIBS"
39944 fi
39945
39946 fi
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39948 $as_echo "$am_cv_func_iconv" >&6; }
39949 if test "$am_cv_func_iconv" = yes; then
39950
39951 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39952
39953 fi
39954 if test "$am_cv_lib_iconv" = yes; then
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39956 $as_echo_n "checking how to link with libiconv... " >&6; }
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39958 $as_echo "$LIBICONV" >&6; }
39959 else
39960 CPPFLAGS="$am_save_CPPFLAGS"
39961 LIBICONV=
39962 LTLIBICONV=
39963 fi
39964
39965
39966
39967 if test "$am_cv_func_iconv" = yes; then
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39969 $as_echo_n "checking for iconv declaration... " >&6; }
39970 if test "${am_cv_proto_iconv+set}" = set; then :
39971 $as_echo_n "(cached) " >&6
39972 else
39973
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976
39977 #include <stdlib.h>
39978 #include <iconv.h>
39979 extern
39980 #ifdef __cplusplus
39981 "C"
39982 #endif
39983 #if defined(__STDC__) || defined(__cplusplus)
39984 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39985 #else
39986 size_t iconv();
39987 #endif
39988
39989 int
39990 main ()
39991 {
39992
39993 ;
39994 return 0;
39995 }
39996 _ACEOF
39997 if ac_fn_c_try_compile "$LINENO"; then :
39998 am_cv_proto_iconv_arg1=""
39999 else
40000 am_cv_proto_iconv_arg1="const"
40001 fi
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 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);"
40004 fi
40005
40006 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40008 }$am_cv_proto_iconv" >&5
40009 $as_echo "${ac_t:-
40010 }$am_cv_proto_iconv" >&6; }
40011
40012 cat >>confdefs.h <<_ACEOF
40013 #define ICONV_CONST $am_cv_proto_iconv_arg1
40014 _ACEOF
40015
40016 fi
40017
40018 ;;
40019
40020 *-aix*)
40021
40022 # If we're not using GNU ld, then there's no point in even trying these
40023 # tests. Check for that first. We should have already tested for gld
40024 # by now (in libtool), but require it now just to be safe...
40025 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40026 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40027
40028
40029
40030 # The name set by libtool depends on the version of libtool. Shame on us
40031 # for depending on an impl detail, but c'est la vie. Older versions used
40032 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40033 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40034 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40035 # set (hence we're using an older libtool), then set it.
40036 if test x${with_gnu_ld+set} != xset; then
40037 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40038 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40039 with_gnu_ld=no
40040 else
40041 with_gnu_ld=$ac_cv_prog_gnu_ld
40042 fi
40043 fi
40044
40045 # Start by getting the version number. I think the libtool test already
40046 # does some of this, but throws away the result.
40047 glibcxx_ld_is_gold=no
40048 if test x"$with_gnu_ld" = x"yes"; then
40049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40050 $as_echo_n "checking for ld version... " >&6; }
40051
40052 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40053 glibcxx_ld_is_gold=yes
40054 fi
40055 ldver=`$LD --version 2>/dev/null |
40056 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'`
40057
40058 glibcxx_gnu_ld_version=`echo $ldver | \
40059 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40061 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40062 fi
40063
40064 # Set --gc-sections.
40065 glibcxx_have_gc_sections=no
40066 if test "$glibcxx_ld_is_gold" = "yes"; then
40067 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40068 glibcxx_have_gc_sections=yes
40069 fi
40070 else
40071 glibcxx_gcsections_min_ld=21602
40072 if test x"$with_gnu_ld" = x"yes" &&
40073 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40074 glibcxx_have_gc_sections=yes
40075 fi
40076 fi
40077 if test "$glibcxx_have_gc_sections" = "yes"; then
40078 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40079 # NB: This flag only works reliably after 2.16.1. Configure tests
40080 # for this are difficult, so hard wire a value that should work.
40081
40082 ac_test_CFLAGS="${CFLAGS+set}"
40083 ac_save_CFLAGS="$CFLAGS"
40084 CFLAGS='-Wl,--gc-sections'
40085
40086 # Check for -Wl,--gc-sections
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40088 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40089 if test x$gcc_no_link = xyes; then
40090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40091 fi
40092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h. */
40094 int one(void) { return 1; }
40095 int two(void) { return 2; }
40096
40097 int
40098 main ()
40099 {
40100 two();
40101 ;
40102 return 0;
40103 }
40104 _ACEOF
40105 if ac_fn_c_try_link "$LINENO"; then :
40106 ac_gcsections=yes
40107 else
40108 ac_gcsections=no
40109 fi
40110 rm -f core conftest.err conftest.$ac_objext \
40111 conftest$ac_exeext conftest.$ac_ext
40112 if test "$ac_gcsections" = "yes"; then
40113 rm -f conftest.c
40114 touch conftest.c
40115 if $CC -c conftest.c; then
40116 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40117 grep "Warning: gc-sections option ignored" > /dev/null; then
40118 ac_gcsections=no
40119 fi
40120 fi
40121 rm -f conftest.c conftest.o conftest
40122 fi
40123 if test "$ac_gcsections" = "yes"; then
40124 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40125 fi
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40127 $as_echo "$ac_gcsections" >&6; }
40128
40129 if test "$ac_test_CFLAGS" = set; then
40130 CFLAGS="$ac_save_CFLAGS"
40131 else
40132 # this is the suspicious part
40133 CFLAGS=''
40134 fi
40135 fi
40136
40137 # Set -z,relro.
40138 # Note this is only for shared objects.
40139 ac_ld_relro=no
40140 if test x"$with_gnu_ld" = x"yes"; then
40141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40142 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40143 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40144 if test -n "$cxx_z_relo"; then
40145 OPT_LDFLAGS="-Wl,-z,relro"
40146 ac_ld_relro=yes
40147 fi
40148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40149 $as_echo "$ac_ld_relro" >&6; }
40150 fi
40151
40152 # Set linker optimization flags.
40153 if test x"$with_gnu_ld" = x"yes"; then
40154 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40155 fi
40156
40157
40158
40159
40160
40161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40162 ac_save_CXXFLAGS="$CXXFLAGS"
40163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40164
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40166 $as_echo_n "checking for sin in -lm... " >&6; }
40167 if test "${ac_cv_lib_m_sin+set}" = set; then :
40168 $as_echo_n "(cached) " >&6
40169 else
40170 ac_check_lib_save_LIBS=$LIBS
40171 LIBS="-lm $LIBS"
40172 if test x$gcc_no_link = xyes; then
40173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40174 fi
40175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40176 /* end confdefs.h. */
40177
40178 /* Override any GCC internal prototype to avoid an error.
40179 Use char because int might match the return type of a GCC
40180 builtin and then its argument prototype would still apply. */
40181 #ifdef __cplusplus
40182 extern "C"
40183 #endif
40184 char sin ();
40185 int
40186 main ()
40187 {
40188 return sin ();
40189 ;
40190 return 0;
40191 }
40192 _ACEOF
40193 if ac_fn_c_try_link "$LINENO"; then :
40194 ac_cv_lib_m_sin=yes
40195 else
40196 ac_cv_lib_m_sin=no
40197 fi
40198 rm -f core conftest.err conftest.$ac_objext \
40199 conftest$ac_exeext conftest.$ac_ext
40200 LIBS=$ac_check_lib_save_LIBS
40201 fi
40202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40203 $as_echo "$ac_cv_lib_m_sin" >&6; }
40204 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40205 libm="-lm"
40206 fi
40207
40208 ac_save_LIBS="$LIBS"
40209 LIBS="$LIBS $libm"
40210
40211
40212
40213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40214 $as_echo_n "checking for isinf declaration... " >&6; }
40215 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40216 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40217 $as_echo_n "(cached) " >&6
40218 else
40219
40220
40221 ac_ext=cpp
40222 ac_cpp='$CXXCPP $CPPFLAGS'
40223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40226
40227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40228 /* end confdefs.h. */
40229 #include <math.h>
40230 #ifdef HAVE_IEEEFP_H
40231 #include <ieeefp.h>
40232 #endif
40233
40234 int
40235 main ()
40236 {
40237 isinf(0);
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 if ac_fn_cxx_try_compile "$LINENO"; then :
40243 glibcxx_cv_func_isinf_use=yes
40244 else
40245 glibcxx_cv_func_isinf_use=no
40246 fi
40247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40248 ac_ext=c
40249 ac_cpp='$CPP $CPPFLAGS'
40250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40253
40254
40255 fi
40256
40257 fi
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40259 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40260
40261 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40262 for ac_func in isinf
40263 do :
40264 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40265 if test "x$ac_cv_func_isinf" = x""yes; then :
40266 cat >>confdefs.h <<_ACEOF
40267 #define HAVE_ISINF 1
40268 _ACEOF
40269
40270 fi
40271 done
40272
40273 else
40274
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40276 $as_echo_n "checking for _isinf declaration... " >&6; }
40277 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40278 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40279 $as_echo_n "(cached) " >&6
40280 else
40281
40282
40283 ac_ext=cpp
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40288
40289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40290 /* end confdefs.h. */
40291 #include <math.h>
40292 #ifdef HAVE_IEEEFP_H
40293 #include <ieeefp.h>
40294 #endif
40295
40296 int
40297 main ()
40298 {
40299 _isinf(0);
40300 ;
40301 return 0;
40302 }
40303 _ACEOF
40304 if ac_fn_cxx_try_compile "$LINENO"; then :
40305 glibcxx_cv_func__isinf_use=yes
40306 else
40307 glibcxx_cv_func__isinf_use=no
40308 fi
40309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40310 ac_ext=c
40311 ac_cpp='$CPP $CPPFLAGS'
40312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315
40316
40317 fi
40318
40319 fi
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40321 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40322
40323 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40324 for ac_func in _isinf
40325 do :
40326 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40327 if test "x$ac_cv_func__isinf" = x""yes; then :
40328 cat >>confdefs.h <<_ACEOF
40329 #define HAVE__ISINF 1
40330 _ACEOF
40331
40332 fi
40333 done
40334
40335 fi
40336 fi
40337
40338
40339
40340
40341
40342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40343 $as_echo_n "checking for isnan declaration... " >&6; }
40344 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40345 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40346 $as_echo_n "(cached) " >&6
40347 else
40348
40349
40350 ac_ext=cpp
40351 ac_cpp='$CXXCPP $CPPFLAGS'
40352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40355
40356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40357 /* end confdefs.h. */
40358 #include <math.h>
40359 #ifdef HAVE_IEEEFP_H
40360 #include <ieeefp.h>
40361 #endif
40362
40363 int
40364 main ()
40365 {
40366 isnan(0);
40367 ;
40368 return 0;
40369 }
40370 _ACEOF
40371 if ac_fn_cxx_try_compile "$LINENO"; then :
40372 glibcxx_cv_func_isnan_use=yes
40373 else
40374 glibcxx_cv_func_isnan_use=no
40375 fi
40376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40377 ac_ext=c
40378 ac_cpp='$CPP $CPPFLAGS'
40379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40382
40383
40384 fi
40385
40386 fi
40387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40388 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40389
40390 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40391 for ac_func in isnan
40392 do :
40393 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40394 if test "x$ac_cv_func_isnan" = x""yes; then :
40395 cat >>confdefs.h <<_ACEOF
40396 #define HAVE_ISNAN 1
40397 _ACEOF
40398
40399 fi
40400 done
40401
40402 else
40403
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40405 $as_echo_n "checking for _isnan declaration... " >&6; }
40406 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40407 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40408 $as_echo_n "(cached) " >&6
40409 else
40410
40411
40412 ac_ext=cpp
40413 ac_cpp='$CXXCPP $CPPFLAGS'
40414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40417
40418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40419 /* end confdefs.h. */
40420 #include <math.h>
40421 #ifdef HAVE_IEEEFP_H
40422 #include <ieeefp.h>
40423 #endif
40424
40425 int
40426 main ()
40427 {
40428 _isnan(0);
40429 ;
40430 return 0;
40431 }
40432 _ACEOF
40433 if ac_fn_cxx_try_compile "$LINENO"; then :
40434 glibcxx_cv_func__isnan_use=yes
40435 else
40436 glibcxx_cv_func__isnan_use=no
40437 fi
40438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40439 ac_ext=c
40440 ac_cpp='$CPP $CPPFLAGS'
40441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40444
40445
40446 fi
40447
40448 fi
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40450 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40451
40452 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40453 for ac_func in _isnan
40454 do :
40455 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40456 if test "x$ac_cv_func__isnan" = x""yes; then :
40457 cat >>confdefs.h <<_ACEOF
40458 #define HAVE__ISNAN 1
40459 _ACEOF
40460
40461 fi
40462 done
40463
40464 fi
40465 fi
40466
40467
40468
40469
40470
40471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40472 $as_echo_n "checking for finite declaration... " >&6; }
40473 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40474 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40475 $as_echo_n "(cached) " >&6
40476 else
40477
40478
40479 ac_ext=cpp
40480 ac_cpp='$CXXCPP $CPPFLAGS'
40481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40484
40485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40486 /* end confdefs.h. */
40487 #include <math.h>
40488 #ifdef HAVE_IEEEFP_H
40489 #include <ieeefp.h>
40490 #endif
40491
40492 int
40493 main ()
40494 {
40495 finite(0);
40496 ;
40497 return 0;
40498 }
40499 _ACEOF
40500 if ac_fn_cxx_try_compile "$LINENO"; then :
40501 glibcxx_cv_func_finite_use=yes
40502 else
40503 glibcxx_cv_func_finite_use=no
40504 fi
40505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40506 ac_ext=c
40507 ac_cpp='$CPP $CPPFLAGS'
40508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40511
40512
40513 fi
40514
40515 fi
40516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40517 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40518
40519 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40520 for ac_func in finite
40521 do :
40522 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40523 if test "x$ac_cv_func_finite" = x""yes; then :
40524 cat >>confdefs.h <<_ACEOF
40525 #define HAVE_FINITE 1
40526 _ACEOF
40527
40528 fi
40529 done
40530
40531 else
40532
40533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40534 $as_echo_n "checking for _finite declaration... " >&6; }
40535 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40536 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40537 $as_echo_n "(cached) " >&6
40538 else
40539
40540
40541 ac_ext=cpp
40542 ac_cpp='$CXXCPP $CPPFLAGS'
40543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40546
40547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40548 /* end confdefs.h. */
40549 #include <math.h>
40550 #ifdef HAVE_IEEEFP_H
40551 #include <ieeefp.h>
40552 #endif
40553
40554 int
40555 main ()
40556 {
40557 _finite(0);
40558 ;
40559 return 0;
40560 }
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func__finite_use=yes
40564 else
40565 glibcxx_cv_func__finite_use=no
40566 fi
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40573
40574
40575 fi
40576
40577 fi
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40579 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40580
40581 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40582 for ac_func in _finite
40583 do :
40584 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40585 if test "x$ac_cv_func__finite" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE__FINITE 1
40588 _ACEOF
40589
40590 fi
40591 done
40592
40593 fi
40594 fi
40595
40596
40597
40598
40599
40600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40601 $as_echo_n "checking for sincos declaration... " >&6; }
40602 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40603 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40604 $as_echo_n "(cached) " >&6
40605 else
40606
40607
40608 ac_ext=cpp
40609 ac_cpp='$CXXCPP $CPPFLAGS'
40610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40613
40614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40615 /* end confdefs.h. */
40616 #include <math.h>
40617 int
40618 main ()
40619 {
40620 sincos(0, 0, 0);
40621 ;
40622 return 0;
40623 }
40624 _ACEOF
40625 if ac_fn_cxx_try_compile "$LINENO"; then :
40626 glibcxx_cv_func_sincos_use=yes
40627 else
40628 glibcxx_cv_func_sincos_use=no
40629 fi
40630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40631 ac_ext=c
40632 ac_cpp='$CPP $CPPFLAGS'
40633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40636
40637
40638 fi
40639
40640 fi
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40642 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40643
40644 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40645 for ac_func in sincos
40646 do :
40647 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40648 if test "x$ac_cv_func_sincos" = x""yes; then :
40649 cat >>confdefs.h <<_ACEOF
40650 #define HAVE_SINCOS 1
40651 _ACEOF
40652
40653 fi
40654 done
40655
40656 else
40657
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40659 $as_echo_n "checking for _sincos declaration... " >&6; }
40660 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40661 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40662 $as_echo_n "(cached) " >&6
40663 else
40664
40665
40666 ac_ext=cpp
40667 ac_cpp='$CXXCPP $CPPFLAGS'
40668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40671
40672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40673 /* end confdefs.h. */
40674 #include <math.h>
40675 int
40676 main ()
40677 {
40678 _sincos(0, 0, 0);
40679 ;
40680 return 0;
40681 }
40682 _ACEOF
40683 if ac_fn_cxx_try_compile "$LINENO"; then :
40684 glibcxx_cv_func__sincos_use=yes
40685 else
40686 glibcxx_cv_func__sincos_use=no
40687 fi
40688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40689 ac_ext=c
40690 ac_cpp='$CPP $CPPFLAGS'
40691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40694
40695
40696 fi
40697
40698 fi
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40700 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40701
40702 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40703 for ac_func in _sincos
40704 do :
40705 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40706 if test "x$ac_cv_func__sincos" = x""yes; then :
40707 cat >>confdefs.h <<_ACEOF
40708 #define HAVE__SINCOS 1
40709 _ACEOF
40710
40711 fi
40712 done
40713
40714 fi
40715 fi
40716
40717
40718
40719
40720
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40722 $as_echo_n "checking for fpclass declaration... " >&6; }
40723 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40724 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40725 $as_echo_n "(cached) " >&6
40726 else
40727
40728
40729 ac_ext=cpp
40730 ac_cpp='$CXXCPP $CPPFLAGS'
40731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40734
40735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40736 /* end confdefs.h. */
40737 #include <math.h>
40738 #ifdef HAVE_IEEEFP_H
40739 #include <ieeefp.h>
40740 #endif
40741
40742 int
40743 main ()
40744 {
40745 fpclass(0);
40746 ;
40747 return 0;
40748 }
40749 _ACEOF
40750 if ac_fn_cxx_try_compile "$LINENO"; then :
40751 glibcxx_cv_func_fpclass_use=yes
40752 else
40753 glibcxx_cv_func_fpclass_use=no
40754 fi
40755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40756 ac_ext=c
40757 ac_cpp='$CPP $CPPFLAGS'
40758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40761
40762
40763 fi
40764
40765 fi
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40767 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40768
40769 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40770 for ac_func in fpclass
40771 do :
40772 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40773 if test "x$ac_cv_func_fpclass" = x""yes; then :
40774 cat >>confdefs.h <<_ACEOF
40775 #define HAVE_FPCLASS 1
40776 _ACEOF
40777
40778 fi
40779 done
40780
40781 else
40782
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40784 $as_echo_n "checking for _fpclass declaration... " >&6; }
40785 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40786 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40787 $as_echo_n "(cached) " >&6
40788 else
40789
40790
40791 ac_ext=cpp
40792 ac_cpp='$CXXCPP $CPPFLAGS'
40793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40796
40797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40798 /* end confdefs.h. */
40799 #include <math.h>
40800 #ifdef HAVE_IEEEFP_H
40801 #include <ieeefp.h>
40802 #endif
40803
40804 int
40805 main ()
40806 {
40807 _fpclass(0);
40808 ;
40809 return 0;
40810 }
40811 _ACEOF
40812 if ac_fn_cxx_try_compile "$LINENO"; then :
40813 glibcxx_cv_func__fpclass_use=yes
40814 else
40815 glibcxx_cv_func__fpclass_use=no
40816 fi
40817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40818 ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40823
40824
40825 fi
40826
40827 fi
40828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40829 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40830
40831 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40832 for ac_func in _fpclass
40833 do :
40834 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40835 if test "x$ac_cv_func__fpclass" = x""yes; then :
40836 cat >>confdefs.h <<_ACEOF
40837 #define HAVE__FPCLASS 1
40838 _ACEOF
40839
40840 fi
40841 done
40842
40843 fi
40844 fi
40845
40846
40847
40848
40849
40850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40851 $as_echo_n "checking for qfpclass declaration... " >&6; }
40852 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40853 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40854 $as_echo_n "(cached) " >&6
40855 else
40856
40857
40858 ac_ext=cpp
40859 ac_cpp='$CXXCPP $CPPFLAGS'
40860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40863
40864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h. */
40866 #include <math.h>
40867 #ifdef HAVE_IEEEFP_H
40868 #include <ieeefp.h>
40869 #endif
40870
40871 int
40872 main ()
40873 {
40874 qfpclass(0);
40875 ;
40876 return 0;
40877 }
40878 _ACEOF
40879 if ac_fn_cxx_try_compile "$LINENO"; then :
40880 glibcxx_cv_func_qfpclass_use=yes
40881 else
40882 glibcxx_cv_func_qfpclass_use=no
40883 fi
40884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40885 ac_ext=c
40886 ac_cpp='$CPP $CPPFLAGS'
40887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40890
40891
40892 fi
40893
40894 fi
40895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40896 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40897
40898 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40899 for ac_func in qfpclass
40900 do :
40901 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40902 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40903 cat >>confdefs.h <<_ACEOF
40904 #define HAVE_QFPCLASS 1
40905 _ACEOF
40906
40907 fi
40908 done
40909
40910 else
40911
40912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40913 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40914 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40915 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40916 $as_echo_n "(cached) " >&6
40917 else
40918
40919
40920 ac_ext=cpp
40921 ac_cpp='$CXXCPP $CPPFLAGS'
40922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40925
40926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 /* end confdefs.h. */
40928 #include <math.h>
40929 #ifdef HAVE_IEEEFP_H
40930 #include <ieeefp.h>
40931 #endif
40932
40933 int
40934 main ()
40935 {
40936 _qfpclass(0);
40937 ;
40938 return 0;
40939 }
40940 _ACEOF
40941 if ac_fn_cxx_try_compile "$LINENO"; then :
40942 glibcxx_cv_func__qfpclass_use=yes
40943 else
40944 glibcxx_cv_func__qfpclass_use=no
40945 fi
40946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40952
40953
40954 fi
40955
40956 fi
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40958 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40959
40960 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40961 for ac_func in _qfpclass
40962 do :
40963 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40964 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40965 cat >>confdefs.h <<_ACEOF
40966 #define HAVE__QFPCLASS 1
40967 _ACEOF
40968
40969 fi
40970 done
40971
40972 fi
40973 fi
40974
40975
40976
40977
40978
40979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40980 $as_echo_n "checking for hypot declaration... " >&6; }
40981 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40982 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40983 $as_echo_n "(cached) " >&6
40984 else
40985
40986
40987 ac_ext=cpp
40988 ac_cpp='$CXXCPP $CPPFLAGS'
40989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40992
40993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994 /* end confdefs.h. */
40995 #include <math.h>
40996 int
40997 main ()
40998 {
40999 hypot(0, 0);
41000 ;
41001 return 0;
41002 }
41003 _ACEOF
41004 if ac_fn_cxx_try_compile "$LINENO"; then :
41005 glibcxx_cv_func_hypot_use=yes
41006 else
41007 glibcxx_cv_func_hypot_use=no
41008 fi
41009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010 ac_ext=c
41011 ac_cpp='$CPP $CPPFLAGS'
41012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41015
41016
41017 fi
41018
41019 fi
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41021 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41022
41023 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41024 for ac_func in hypot
41025 do :
41026 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41027 if test "x$ac_cv_func_hypot" = x""yes; then :
41028 cat >>confdefs.h <<_ACEOF
41029 #define HAVE_HYPOT 1
41030 _ACEOF
41031
41032 fi
41033 done
41034
41035 else
41036
41037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41038 $as_echo_n "checking for _hypot declaration... " >&6; }
41039 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41040 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41041 $as_echo_n "(cached) " >&6
41042 else
41043
41044
41045 ac_ext=cpp
41046 ac_cpp='$CXXCPP $CPPFLAGS'
41047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41050
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h. */
41053 #include <math.h>
41054 int
41055 main ()
41056 {
41057 _hypot(0, 0);
41058 ;
41059 return 0;
41060 }
41061 _ACEOF
41062 if ac_fn_cxx_try_compile "$LINENO"; then :
41063 glibcxx_cv_func__hypot_use=yes
41064 else
41065 glibcxx_cv_func__hypot_use=no
41066 fi
41067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41068 ac_ext=c
41069 ac_cpp='$CPP $CPPFLAGS'
41070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073
41074
41075 fi
41076
41077 fi
41078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41079 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41080
41081 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41082 for ac_func in _hypot
41083 do :
41084 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41085 if test "x$ac_cv_func__hypot" = x""yes; then :
41086 cat >>confdefs.h <<_ACEOF
41087 #define HAVE__HYPOT 1
41088 _ACEOF
41089
41090 fi
41091 done
41092
41093 fi
41094 fi
41095
41096
41097
41098
41099
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41101 $as_echo_n "checking for float trig functions... " >&6; }
41102 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41103 $as_echo_n "(cached) " >&6
41104 else
41105
41106
41107 ac_ext=cpp
41108 ac_cpp='$CXXCPP $CPPFLAGS'
41109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41112
41113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41114 /* end confdefs.h. */
41115 #include <math.h>
41116 int
41117 main ()
41118 {
41119 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 if ac_fn_cxx_try_compile "$LINENO"; then :
41125 glibcxx_cv_func_float_trig_use=yes
41126 else
41127 glibcxx_cv_func_float_trig_use=no
41128 fi
41129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41130 ac_ext=c
41131 ac_cpp='$CPP $CPPFLAGS'
41132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41135
41136 fi
41137
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41139 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41140 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41141 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41142 do :
41143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41145 eval as_val=\$$as_ac_var
41146 if test "x$as_val" = x""yes; then :
41147 cat >>confdefs.h <<_ACEOF
41148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41149 _ACEOF
41150
41151 fi
41152 done
41153
41154 else
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41156 $as_echo_n "checking for _float trig functions... " >&6; }
41157 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41158 $as_echo_n "(cached) " >&6
41159 else
41160
41161
41162 ac_ext=cpp
41163 ac_cpp='$CXXCPP $CPPFLAGS'
41164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41167
41168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41169 /* end confdefs.h. */
41170 #include <math.h>
41171 int
41172 main ()
41173 {
41174 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41175 ;
41176 return 0;
41177 }
41178 _ACEOF
41179 if ac_fn_cxx_try_compile "$LINENO"; then :
41180 glibcxx_cv_func__float_trig_use=yes
41181 else
41182 glibcxx_cv_func__float_trig_use=no
41183 fi
41184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41185 ac_ext=c
41186 ac_cpp='$CPP $CPPFLAGS'
41187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41190
41191 fi
41192
41193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41194 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41195 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41196 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41197 do :
41198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41200 eval as_val=\$$as_ac_var
41201 if test "x$as_val" = x""yes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41204 _ACEOF
41205
41206 fi
41207 done
41208
41209 fi
41210 fi
41211
41212
41213
41214
41215
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41217 $as_echo_n "checking for float round functions... " >&6; }
41218 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41219 $as_echo_n "(cached) " >&6
41220 else
41221
41222
41223 ac_ext=cpp
41224 ac_cpp='$CXXCPP $CPPFLAGS'
41225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41228
41229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41230 /* end confdefs.h. */
41231 #include <math.h>
41232 int
41233 main ()
41234 {
41235 ceilf (0); floorf (0);
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func_float_round_use=yes
41242 else
41243 glibcxx_cv_func_float_round_use=no
41244 fi
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41251
41252 fi
41253
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41255 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41256 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41257 for ac_func in ceilf floorf
41258 do :
41259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41261 eval as_val=\$$as_ac_var
41262 if test "x$as_val" = x""yes; then :
41263 cat >>confdefs.h <<_ACEOF
41264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41265 _ACEOF
41266
41267 fi
41268 done
41269
41270 else
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41272 $as_echo_n "checking for _float round functions... " >&6; }
41273 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41274 $as_echo_n "(cached) " >&6
41275 else
41276
41277
41278 ac_ext=cpp
41279 ac_cpp='$CXXCPP $CPPFLAGS'
41280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283
41284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41285 /* end confdefs.h. */
41286 #include <math.h>
41287 int
41288 main ()
41289 {
41290 _ceilf (0); _floorf (0);
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 if ac_fn_cxx_try_compile "$LINENO"; then :
41296 glibcxx_cv_func__float_round_use=yes
41297 else
41298 glibcxx_cv_func__float_round_use=no
41299 fi
41300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41301 ac_ext=c
41302 ac_cpp='$CPP $CPPFLAGS'
41303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306
41307 fi
41308
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41310 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41311 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41312 for ac_func in _ceilf _floorf
41313 do :
41314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41316 eval as_val=\$$as_ac_var
41317 if test "x$as_val" = x""yes; then :
41318 cat >>confdefs.h <<_ACEOF
41319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41320 _ACEOF
41321
41322 fi
41323 done
41324
41325 fi
41326 fi
41327
41328
41329
41330
41331
41332
41333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41334 $as_echo_n "checking for expf declaration... " >&6; }
41335 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41336 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41337 $as_echo_n "(cached) " >&6
41338 else
41339
41340
41341 ac_ext=cpp
41342 ac_cpp='$CXXCPP $CPPFLAGS'
41343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41346
41347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41348 /* end confdefs.h. */
41349 #include <math.h>
41350 #ifdef HAVE_IEEEFP_H
41351 #include <ieeefp.h>
41352 #endif
41353
41354 int
41355 main ()
41356 {
41357 expf(0);
41358 ;
41359 return 0;
41360 }
41361 _ACEOF
41362 if ac_fn_cxx_try_compile "$LINENO"; then :
41363 glibcxx_cv_func_expf_use=yes
41364 else
41365 glibcxx_cv_func_expf_use=no
41366 fi
41367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41368 ac_ext=c
41369 ac_cpp='$CPP $CPPFLAGS'
41370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41373
41374
41375 fi
41376
41377 fi
41378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41379 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41380
41381 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41382 for ac_func in expf
41383 do :
41384 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41385 if test "x$ac_cv_func_expf" = x""yes; then :
41386 cat >>confdefs.h <<_ACEOF
41387 #define HAVE_EXPF 1
41388 _ACEOF
41389
41390 fi
41391 done
41392
41393 else
41394
41395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41396 $as_echo_n "checking for _expf declaration... " >&6; }
41397 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41398 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41399 $as_echo_n "(cached) " >&6
41400 else
41401
41402
41403 ac_ext=cpp
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408
41409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41410 /* end confdefs.h. */
41411 #include <math.h>
41412 #ifdef HAVE_IEEEFP_H
41413 #include <ieeefp.h>
41414 #endif
41415
41416 int
41417 main ()
41418 {
41419 _expf(0);
41420 ;
41421 return 0;
41422 }
41423 _ACEOF
41424 if ac_fn_cxx_try_compile "$LINENO"; then :
41425 glibcxx_cv_func__expf_use=yes
41426 else
41427 glibcxx_cv_func__expf_use=no
41428 fi
41429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41430 ac_ext=c
41431 ac_cpp='$CPP $CPPFLAGS'
41432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41435
41436
41437 fi
41438
41439 fi
41440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41441 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41442
41443 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41444 for ac_func in _expf
41445 do :
41446 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41447 if test "x$ac_cv_func__expf" = x""yes; then :
41448 cat >>confdefs.h <<_ACEOF
41449 #define HAVE__EXPF 1
41450 _ACEOF
41451
41452 fi
41453 done
41454
41455 fi
41456 fi
41457
41458
41459
41460
41461
41462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41463 $as_echo_n "checking for isnanf declaration... " >&6; }
41464 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41465 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41466 $as_echo_n "(cached) " >&6
41467 else
41468
41469
41470 ac_ext=cpp
41471 ac_cpp='$CXXCPP $CPPFLAGS'
41472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41475
41476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41477 /* end confdefs.h. */
41478 #include <math.h>
41479 #ifdef HAVE_IEEEFP_H
41480 #include <ieeefp.h>
41481 #endif
41482
41483 int
41484 main ()
41485 {
41486 isnanf(0);
41487 ;
41488 return 0;
41489 }
41490 _ACEOF
41491 if ac_fn_cxx_try_compile "$LINENO"; then :
41492 glibcxx_cv_func_isnanf_use=yes
41493 else
41494 glibcxx_cv_func_isnanf_use=no
41495 fi
41496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41497 ac_ext=c
41498 ac_cpp='$CPP $CPPFLAGS'
41499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41502
41503
41504 fi
41505
41506 fi
41507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41508 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41509
41510 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41511 for ac_func in isnanf
41512 do :
41513 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41514 if test "x$ac_cv_func_isnanf" = x""yes; then :
41515 cat >>confdefs.h <<_ACEOF
41516 #define HAVE_ISNANF 1
41517 _ACEOF
41518
41519 fi
41520 done
41521
41522 else
41523
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41525 $as_echo_n "checking for _isnanf declaration... " >&6; }
41526 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41527 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41528 $as_echo_n "(cached) " >&6
41529 else
41530
41531
41532 ac_ext=cpp
41533 ac_cpp='$CXXCPP $CPPFLAGS'
41534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41537
41538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41539 /* end confdefs.h. */
41540 #include <math.h>
41541 #ifdef HAVE_IEEEFP_H
41542 #include <ieeefp.h>
41543 #endif
41544
41545 int
41546 main ()
41547 {
41548 _isnanf(0);
41549 ;
41550 return 0;
41551 }
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554 glibcxx_cv_func__isnanf_use=yes
41555 else
41556 glibcxx_cv_func__isnanf_use=no
41557 fi
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41564
41565
41566 fi
41567
41568 fi
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41570 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41571
41572 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41573 for ac_func in _isnanf
41574 do :
41575 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41576 if test "x$ac_cv_func__isnanf" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define HAVE__ISNANF 1
41579 _ACEOF
41580
41581 fi
41582 done
41583
41584 fi
41585 fi
41586
41587
41588
41589
41590
41591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41592 $as_echo_n "checking for isinff declaration... " >&6; }
41593 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41594 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41595 $as_echo_n "(cached) " >&6
41596 else
41597
41598
41599 ac_ext=cpp
41600 ac_cpp='$CXXCPP $CPPFLAGS'
41601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41604
41605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41606 /* end confdefs.h. */
41607 #include <math.h>
41608 #ifdef HAVE_IEEEFP_H
41609 #include <ieeefp.h>
41610 #endif
41611
41612 int
41613 main ()
41614 {
41615 isinff(0);
41616 ;
41617 return 0;
41618 }
41619 _ACEOF
41620 if ac_fn_cxx_try_compile "$LINENO"; then :
41621 glibcxx_cv_func_isinff_use=yes
41622 else
41623 glibcxx_cv_func_isinff_use=no
41624 fi
41625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41626 ac_ext=c
41627 ac_cpp='$CPP $CPPFLAGS'
41628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41631
41632
41633 fi
41634
41635 fi
41636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41637 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41638
41639 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41640 for ac_func in isinff
41641 do :
41642 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41643 if test "x$ac_cv_func_isinff" = x""yes; then :
41644 cat >>confdefs.h <<_ACEOF
41645 #define HAVE_ISINFF 1
41646 _ACEOF
41647
41648 fi
41649 done
41650
41651 else
41652
41653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41654 $as_echo_n "checking for _isinff declaration... " >&6; }
41655 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41656 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41657 $as_echo_n "(cached) " >&6
41658 else
41659
41660
41661 ac_ext=cpp
41662 ac_cpp='$CXXCPP $CPPFLAGS'
41663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41666
41667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41668 /* end confdefs.h. */
41669 #include <math.h>
41670 #ifdef HAVE_IEEEFP_H
41671 #include <ieeefp.h>
41672 #endif
41673
41674 int
41675 main ()
41676 {
41677 _isinff(0);
41678 ;
41679 return 0;
41680 }
41681 _ACEOF
41682 if ac_fn_cxx_try_compile "$LINENO"; then :
41683 glibcxx_cv_func__isinff_use=yes
41684 else
41685 glibcxx_cv_func__isinff_use=no
41686 fi
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688 ac_ext=c
41689 ac_cpp='$CPP $CPPFLAGS'
41690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41693
41694
41695 fi
41696
41697 fi
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41699 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41700
41701 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41702 for ac_func in _isinff
41703 do :
41704 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41705 if test "x$ac_cv_func__isinff" = x""yes; then :
41706 cat >>confdefs.h <<_ACEOF
41707 #define HAVE__ISINFF 1
41708 _ACEOF
41709
41710 fi
41711 done
41712
41713 fi
41714 fi
41715
41716
41717
41718
41719
41720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41721 $as_echo_n "checking for atan2f declaration... " >&6; }
41722 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41723 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41724 $as_echo_n "(cached) " >&6
41725 else
41726
41727
41728 ac_ext=cpp
41729 ac_cpp='$CXXCPP $CPPFLAGS'
41730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41733
41734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41735 /* end confdefs.h. */
41736 #include <math.h>
41737 int
41738 main ()
41739 {
41740 atan2f(0, 0);
41741 ;
41742 return 0;
41743 }
41744 _ACEOF
41745 if ac_fn_cxx_try_compile "$LINENO"; then :
41746 glibcxx_cv_func_atan2f_use=yes
41747 else
41748 glibcxx_cv_func_atan2f_use=no
41749 fi
41750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41751 ac_ext=c
41752 ac_cpp='$CPP $CPPFLAGS'
41753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41756
41757
41758 fi
41759
41760 fi
41761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41762 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41763
41764 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41765 for ac_func in atan2f
41766 do :
41767 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41768 if test "x$ac_cv_func_atan2f" = x""yes; then :
41769 cat >>confdefs.h <<_ACEOF
41770 #define HAVE_ATAN2F 1
41771 _ACEOF
41772
41773 fi
41774 done
41775
41776 else
41777
41778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41779 $as_echo_n "checking for _atan2f declaration... " >&6; }
41780 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41781 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41782 $as_echo_n "(cached) " >&6
41783 else
41784
41785
41786 ac_ext=cpp
41787 ac_cpp='$CXXCPP $CPPFLAGS'
41788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41791
41792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41793 /* end confdefs.h. */
41794 #include <math.h>
41795 int
41796 main ()
41797 {
41798 _atan2f(0, 0);
41799 ;
41800 return 0;
41801 }
41802 _ACEOF
41803 if ac_fn_cxx_try_compile "$LINENO"; then :
41804 glibcxx_cv_func__atan2f_use=yes
41805 else
41806 glibcxx_cv_func__atan2f_use=no
41807 fi
41808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41809 ac_ext=c
41810 ac_cpp='$CPP $CPPFLAGS'
41811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41814
41815
41816 fi
41817
41818 fi
41819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41820 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41821
41822 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41823 for ac_func in _atan2f
41824 do :
41825 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41826 if test "x$ac_cv_func__atan2f" = x""yes; then :
41827 cat >>confdefs.h <<_ACEOF
41828 #define HAVE__ATAN2F 1
41829 _ACEOF
41830
41831 fi
41832 done
41833
41834 fi
41835 fi
41836
41837
41838
41839
41840
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41842 $as_echo_n "checking for fabsf declaration... " >&6; }
41843 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41844 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41845 $as_echo_n "(cached) " >&6
41846 else
41847
41848
41849 ac_ext=cpp
41850 ac_cpp='$CXXCPP $CPPFLAGS'
41851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41854
41855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41856 /* end confdefs.h. */
41857 #include <math.h>
41858 #ifdef HAVE_IEEEFP_H
41859 #include <ieeefp.h>
41860 #endif
41861
41862 int
41863 main ()
41864 {
41865 fabsf(0);
41866 ;
41867 return 0;
41868 }
41869 _ACEOF
41870 if ac_fn_cxx_try_compile "$LINENO"; then :
41871 glibcxx_cv_func_fabsf_use=yes
41872 else
41873 glibcxx_cv_func_fabsf_use=no
41874 fi
41875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41876 ac_ext=c
41877 ac_cpp='$CPP $CPPFLAGS'
41878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41881
41882
41883 fi
41884
41885 fi
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41887 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41888
41889 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41890 for ac_func in fabsf
41891 do :
41892 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41893 if test "x$ac_cv_func_fabsf" = x""yes; then :
41894 cat >>confdefs.h <<_ACEOF
41895 #define HAVE_FABSF 1
41896 _ACEOF
41897
41898 fi
41899 done
41900
41901 else
41902
41903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41904 $as_echo_n "checking for _fabsf declaration... " >&6; }
41905 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41906 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41907 $as_echo_n "(cached) " >&6
41908 else
41909
41910
41911 ac_ext=cpp
41912 ac_cpp='$CXXCPP $CPPFLAGS'
41913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41916
41917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41918 /* end confdefs.h. */
41919 #include <math.h>
41920 #ifdef HAVE_IEEEFP_H
41921 #include <ieeefp.h>
41922 #endif
41923
41924 int
41925 main ()
41926 {
41927 _fabsf(0);
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 if ac_fn_cxx_try_compile "$LINENO"; then :
41933 glibcxx_cv_func__fabsf_use=yes
41934 else
41935 glibcxx_cv_func__fabsf_use=no
41936 fi
41937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41938 ac_ext=c
41939 ac_cpp='$CPP $CPPFLAGS'
41940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41943
41944
41945 fi
41946
41947 fi
41948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41949 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41950
41951 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41952 for ac_func in _fabsf
41953 do :
41954 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41955 if test "x$ac_cv_func__fabsf" = x""yes; then :
41956 cat >>confdefs.h <<_ACEOF
41957 #define HAVE__FABSF 1
41958 _ACEOF
41959
41960 fi
41961 done
41962
41963 fi
41964 fi
41965
41966
41967
41968
41969
41970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41971 $as_echo_n "checking for fmodf declaration... " >&6; }
41972 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41973 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41974 $as_echo_n "(cached) " >&6
41975 else
41976
41977
41978 ac_ext=cpp
41979 ac_cpp='$CXXCPP $CPPFLAGS'
41980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41983
41984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41985 /* end confdefs.h. */
41986 #include <math.h>
41987 int
41988 main ()
41989 {
41990 fmodf(0, 0);
41991 ;
41992 return 0;
41993 }
41994 _ACEOF
41995 if ac_fn_cxx_try_compile "$LINENO"; then :
41996 glibcxx_cv_func_fmodf_use=yes
41997 else
41998 glibcxx_cv_func_fmodf_use=no
41999 fi
42000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42001 ac_ext=c
42002 ac_cpp='$CPP $CPPFLAGS'
42003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42006
42007
42008 fi
42009
42010 fi
42011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42012 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42013
42014 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42015 for ac_func in fmodf
42016 do :
42017 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42018 if test "x$ac_cv_func_fmodf" = x""yes; then :
42019 cat >>confdefs.h <<_ACEOF
42020 #define HAVE_FMODF 1
42021 _ACEOF
42022
42023 fi
42024 done
42025
42026 else
42027
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42029 $as_echo_n "checking for _fmodf declaration... " >&6; }
42030 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42031 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42032 $as_echo_n "(cached) " >&6
42033 else
42034
42035
42036 ac_ext=cpp
42037 ac_cpp='$CXXCPP $CPPFLAGS'
42038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42041
42042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42043 /* end confdefs.h. */
42044 #include <math.h>
42045 int
42046 main ()
42047 {
42048 _fmodf(0, 0);
42049 ;
42050 return 0;
42051 }
42052 _ACEOF
42053 if ac_fn_cxx_try_compile "$LINENO"; then :
42054 glibcxx_cv_func__fmodf_use=yes
42055 else
42056 glibcxx_cv_func__fmodf_use=no
42057 fi
42058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42059 ac_ext=c
42060 ac_cpp='$CPP $CPPFLAGS'
42061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42064
42065
42066 fi
42067
42068 fi
42069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42070 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42071
42072 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42073 for ac_func in _fmodf
42074 do :
42075 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42076 if test "x$ac_cv_func__fmodf" = x""yes; then :
42077 cat >>confdefs.h <<_ACEOF
42078 #define HAVE__FMODF 1
42079 _ACEOF
42080
42081 fi
42082 done
42083
42084 fi
42085 fi
42086
42087
42088
42089
42090
42091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42092 $as_echo_n "checking for frexpf declaration... " >&6; }
42093 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42094 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42095 $as_echo_n "(cached) " >&6
42096 else
42097
42098
42099 ac_ext=cpp
42100 ac_cpp='$CXXCPP $CPPFLAGS'
42101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42104
42105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42106 /* end confdefs.h. */
42107 #include <math.h>
42108 int
42109 main ()
42110 {
42111 frexpf(0, 0);
42112 ;
42113 return 0;
42114 }
42115 _ACEOF
42116 if ac_fn_cxx_try_compile "$LINENO"; then :
42117 glibcxx_cv_func_frexpf_use=yes
42118 else
42119 glibcxx_cv_func_frexpf_use=no
42120 fi
42121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42122 ac_ext=c
42123 ac_cpp='$CPP $CPPFLAGS'
42124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42127
42128
42129 fi
42130
42131 fi
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42133 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42134
42135 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42136 for ac_func in frexpf
42137 do :
42138 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42139 if test "x$ac_cv_func_frexpf" = x""yes; then :
42140 cat >>confdefs.h <<_ACEOF
42141 #define HAVE_FREXPF 1
42142 _ACEOF
42143
42144 fi
42145 done
42146
42147 else
42148
42149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42150 $as_echo_n "checking for _frexpf declaration... " >&6; }
42151 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42152 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42153 $as_echo_n "(cached) " >&6
42154 else
42155
42156
42157 ac_ext=cpp
42158 ac_cpp='$CXXCPP $CPPFLAGS'
42159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42162
42163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42164 /* end confdefs.h. */
42165 #include <math.h>
42166 int
42167 main ()
42168 {
42169 _frexpf(0, 0);
42170 ;
42171 return 0;
42172 }
42173 _ACEOF
42174 if ac_fn_cxx_try_compile "$LINENO"; then :
42175 glibcxx_cv_func__frexpf_use=yes
42176 else
42177 glibcxx_cv_func__frexpf_use=no
42178 fi
42179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42180 ac_ext=c
42181 ac_cpp='$CPP $CPPFLAGS'
42182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42185
42186
42187 fi
42188
42189 fi
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42191 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42192
42193 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42194 for ac_func in _frexpf
42195 do :
42196 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42197 if test "x$ac_cv_func__frexpf" = x""yes; then :
42198 cat >>confdefs.h <<_ACEOF
42199 #define HAVE__FREXPF 1
42200 _ACEOF
42201
42202 fi
42203 done
42204
42205 fi
42206 fi
42207
42208
42209
42210
42211
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42213 $as_echo_n "checking for hypotf declaration... " >&6; }
42214 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42215 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42216 $as_echo_n "(cached) " >&6
42217 else
42218
42219
42220 ac_ext=cpp
42221 ac_cpp='$CXXCPP $CPPFLAGS'
42222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42225
42226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42227 /* end confdefs.h. */
42228 #include <math.h>
42229 int
42230 main ()
42231 {
42232 hypotf(0, 0);
42233 ;
42234 return 0;
42235 }
42236 _ACEOF
42237 if ac_fn_cxx_try_compile "$LINENO"; then :
42238 glibcxx_cv_func_hypotf_use=yes
42239 else
42240 glibcxx_cv_func_hypotf_use=no
42241 fi
42242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42243 ac_ext=c
42244 ac_cpp='$CPP $CPPFLAGS'
42245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42248
42249
42250 fi
42251
42252 fi
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42254 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42255
42256 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42257 for ac_func in hypotf
42258 do :
42259 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42260 if test "x$ac_cv_func_hypotf" = x""yes; then :
42261 cat >>confdefs.h <<_ACEOF
42262 #define HAVE_HYPOTF 1
42263 _ACEOF
42264
42265 fi
42266 done
42267
42268 else
42269
42270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42271 $as_echo_n "checking for _hypotf declaration... " >&6; }
42272 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42273 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42274 $as_echo_n "(cached) " >&6
42275 else
42276
42277
42278 ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42283
42284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42285 /* end confdefs.h. */
42286 #include <math.h>
42287 int
42288 main ()
42289 {
42290 _hypotf(0, 0);
42291 ;
42292 return 0;
42293 }
42294 _ACEOF
42295 if ac_fn_cxx_try_compile "$LINENO"; then :
42296 glibcxx_cv_func__hypotf_use=yes
42297 else
42298 glibcxx_cv_func__hypotf_use=no
42299 fi
42300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42301 ac_ext=c
42302 ac_cpp='$CPP $CPPFLAGS'
42303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306
42307
42308 fi
42309
42310 fi
42311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42312 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42313
42314 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42315 for ac_func in _hypotf
42316 do :
42317 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42318 if test "x$ac_cv_func__hypotf" = x""yes; then :
42319 cat >>confdefs.h <<_ACEOF
42320 #define HAVE__HYPOTF 1
42321 _ACEOF
42322
42323 fi
42324 done
42325
42326 fi
42327 fi
42328
42329
42330
42331
42332
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42334 $as_echo_n "checking for ldexpf declaration... " >&6; }
42335 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42336 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42337 $as_echo_n "(cached) " >&6
42338 else
42339
42340
42341 ac_ext=cpp
42342 ac_cpp='$CXXCPP $CPPFLAGS'
42343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42346
42347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42348 /* end confdefs.h. */
42349 #include <math.h>
42350 int
42351 main ()
42352 {
42353 ldexpf(0, 0);
42354 ;
42355 return 0;
42356 }
42357 _ACEOF
42358 if ac_fn_cxx_try_compile "$LINENO"; then :
42359 glibcxx_cv_func_ldexpf_use=yes
42360 else
42361 glibcxx_cv_func_ldexpf_use=no
42362 fi
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42364 ac_ext=c
42365 ac_cpp='$CPP $CPPFLAGS'
42366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42369
42370
42371 fi
42372
42373 fi
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42375 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42376
42377 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42378 for ac_func in ldexpf
42379 do :
42380 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42381 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42382 cat >>confdefs.h <<_ACEOF
42383 #define HAVE_LDEXPF 1
42384 _ACEOF
42385
42386 fi
42387 done
42388
42389 else
42390
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42392 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42393 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42394 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42395 $as_echo_n "(cached) " >&6
42396 else
42397
42398
42399 ac_ext=cpp
42400 ac_cpp='$CXXCPP $CPPFLAGS'
42401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42404
42405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42406 /* end confdefs.h. */
42407 #include <math.h>
42408 int
42409 main ()
42410 {
42411 _ldexpf(0, 0);
42412 ;
42413 return 0;
42414 }
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417 glibcxx_cv_func__ldexpf_use=yes
42418 else
42419 glibcxx_cv_func__ldexpf_use=no
42420 fi
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422 ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427
42428
42429 fi
42430
42431 fi
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42433 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42434
42435 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42436 for ac_func in _ldexpf
42437 do :
42438 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42439 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42440 cat >>confdefs.h <<_ACEOF
42441 #define HAVE__LDEXPF 1
42442 _ACEOF
42443
42444 fi
42445 done
42446
42447 fi
42448 fi
42449
42450
42451
42452
42453
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42455 $as_echo_n "checking for logf declaration... " >&6; }
42456 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42457 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42458 $as_echo_n "(cached) " >&6
42459 else
42460
42461
42462 ac_ext=cpp
42463 ac_cpp='$CXXCPP $CPPFLAGS'
42464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42467
42468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42469 /* end confdefs.h. */
42470 #include <math.h>
42471 #ifdef HAVE_IEEEFP_H
42472 #include <ieeefp.h>
42473 #endif
42474
42475 int
42476 main ()
42477 {
42478 logf(0);
42479 ;
42480 return 0;
42481 }
42482 _ACEOF
42483 if ac_fn_cxx_try_compile "$LINENO"; then :
42484 glibcxx_cv_func_logf_use=yes
42485 else
42486 glibcxx_cv_func_logf_use=no
42487 fi
42488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42489 ac_ext=c
42490 ac_cpp='$CPP $CPPFLAGS'
42491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494
42495
42496 fi
42497
42498 fi
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42500 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42501
42502 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42503 for ac_func in logf
42504 do :
42505 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42506 if test "x$ac_cv_func_logf" = x""yes; then :
42507 cat >>confdefs.h <<_ACEOF
42508 #define HAVE_LOGF 1
42509 _ACEOF
42510
42511 fi
42512 done
42513
42514 else
42515
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42517 $as_echo_n "checking for _logf declaration... " >&6; }
42518 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42519 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42520 $as_echo_n "(cached) " >&6
42521 else
42522
42523
42524 ac_ext=cpp
42525 ac_cpp='$CXXCPP $CPPFLAGS'
42526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42529
42530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42531 /* end confdefs.h. */
42532 #include <math.h>
42533 #ifdef HAVE_IEEEFP_H
42534 #include <ieeefp.h>
42535 #endif
42536
42537 int
42538 main ()
42539 {
42540 _logf(0);
42541 ;
42542 return 0;
42543 }
42544 _ACEOF
42545 if ac_fn_cxx_try_compile "$LINENO"; then :
42546 glibcxx_cv_func__logf_use=yes
42547 else
42548 glibcxx_cv_func__logf_use=no
42549 fi
42550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42551 ac_ext=c
42552 ac_cpp='$CPP $CPPFLAGS'
42553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42556
42557
42558 fi
42559
42560 fi
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42562 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42563
42564 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42565 for ac_func in _logf
42566 do :
42567 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42568 if test "x$ac_cv_func__logf" = x""yes; then :
42569 cat >>confdefs.h <<_ACEOF
42570 #define HAVE__LOGF 1
42571 _ACEOF
42572
42573 fi
42574 done
42575
42576 fi
42577 fi
42578
42579
42580
42581
42582
42583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42584 $as_echo_n "checking for log10f declaration... " >&6; }
42585 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42586 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42587 $as_echo_n "(cached) " >&6
42588 else
42589
42590
42591 ac_ext=cpp
42592 ac_cpp='$CXXCPP $CPPFLAGS'
42593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42596
42597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42598 /* end confdefs.h. */
42599 #include <math.h>
42600 #ifdef HAVE_IEEEFP_H
42601 #include <ieeefp.h>
42602 #endif
42603
42604 int
42605 main ()
42606 {
42607 log10f(0);
42608 ;
42609 return 0;
42610 }
42611 _ACEOF
42612 if ac_fn_cxx_try_compile "$LINENO"; then :
42613 glibcxx_cv_func_log10f_use=yes
42614 else
42615 glibcxx_cv_func_log10f_use=no
42616 fi
42617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42618 ac_ext=c
42619 ac_cpp='$CPP $CPPFLAGS'
42620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42623
42624
42625 fi
42626
42627 fi
42628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42629 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42630
42631 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42632 for ac_func in log10f
42633 do :
42634 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42635 if test "x$ac_cv_func_log10f" = x""yes; then :
42636 cat >>confdefs.h <<_ACEOF
42637 #define HAVE_LOG10F 1
42638 _ACEOF
42639
42640 fi
42641 done
42642
42643 else
42644
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42646 $as_echo_n "checking for _log10f declaration... " >&6; }
42647 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42648 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42649 $as_echo_n "(cached) " >&6
42650 else
42651
42652
42653 ac_ext=cpp
42654 ac_cpp='$CXXCPP $CPPFLAGS'
42655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42658
42659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42660 /* end confdefs.h. */
42661 #include <math.h>
42662 #ifdef HAVE_IEEEFP_H
42663 #include <ieeefp.h>
42664 #endif
42665
42666 int
42667 main ()
42668 {
42669 _log10f(0);
42670 ;
42671 return 0;
42672 }
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func__log10f_use=yes
42676 else
42677 glibcxx_cv_func__log10f_use=no
42678 fi
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685
42686
42687 fi
42688
42689 fi
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42691 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42692
42693 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42694 for ac_func in _log10f
42695 do :
42696 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42697 if test "x$ac_cv_func__log10f" = x""yes; then :
42698 cat >>confdefs.h <<_ACEOF
42699 #define HAVE__LOG10F 1
42700 _ACEOF
42701
42702 fi
42703 done
42704
42705 fi
42706 fi
42707
42708
42709
42710
42711
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42713 $as_echo_n "checking for modff declaration... " >&6; }
42714 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42715 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42716 $as_echo_n "(cached) " >&6
42717 else
42718
42719
42720 ac_ext=cpp
42721 ac_cpp='$CXXCPP $CPPFLAGS'
42722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42725
42726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42727 /* end confdefs.h. */
42728 #include <math.h>
42729 int
42730 main ()
42731 {
42732 modff(0, 0);
42733 ;
42734 return 0;
42735 }
42736 _ACEOF
42737 if ac_fn_cxx_try_compile "$LINENO"; then :
42738 glibcxx_cv_func_modff_use=yes
42739 else
42740 glibcxx_cv_func_modff_use=no
42741 fi
42742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42743 ac_ext=c
42744 ac_cpp='$CPP $CPPFLAGS'
42745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748
42749
42750 fi
42751
42752 fi
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42754 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42755
42756 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42757 for ac_func in modff
42758 do :
42759 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42760 if test "x$ac_cv_func_modff" = x""yes; then :
42761 cat >>confdefs.h <<_ACEOF
42762 #define HAVE_MODFF 1
42763 _ACEOF
42764
42765 fi
42766 done
42767
42768 else
42769
42770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42771 $as_echo_n "checking for _modff declaration... " >&6; }
42772 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42773 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42774 $as_echo_n "(cached) " >&6
42775 else
42776
42777
42778 ac_ext=cpp
42779 ac_cpp='$CXXCPP $CPPFLAGS'
42780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42783
42784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42785 /* end confdefs.h. */
42786 #include <math.h>
42787 int
42788 main ()
42789 {
42790 _modff(0, 0);
42791 ;
42792 return 0;
42793 }
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func__modff_use=yes
42797 else
42798 glibcxx_cv_func__modff_use=no
42799 fi
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806
42807
42808 fi
42809
42810 fi
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42812 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42813
42814 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42815 for ac_func in _modff
42816 do :
42817 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42818 if test "x$ac_cv_func__modff" = x""yes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE__MODFF 1
42821 _ACEOF
42822
42823 fi
42824 done
42825
42826 fi
42827 fi
42828
42829
42830
42831
42832
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42834 $as_echo_n "checking for modf declaration... " >&6; }
42835 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42836 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42837 $as_echo_n "(cached) " >&6
42838 else
42839
42840
42841 ac_ext=cpp
42842 ac_cpp='$CXXCPP $CPPFLAGS'
42843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42846
42847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42848 /* end confdefs.h. */
42849 #include <math.h>
42850 int
42851 main ()
42852 {
42853 modf(0, 0);
42854 ;
42855 return 0;
42856 }
42857 _ACEOF
42858 if ac_fn_cxx_try_compile "$LINENO"; then :
42859 glibcxx_cv_func_modf_use=yes
42860 else
42861 glibcxx_cv_func_modf_use=no
42862 fi
42863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42864 ac_ext=c
42865 ac_cpp='$CPP $CPPFLAGS'
42866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869
42870
42871 fi
42872
42873 fi
42874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42875 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42876
42877 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42878 for ac_func in modf
42879 do :
42880 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42881 if test "x$ac_cv_func_modf" = x""yes; then :
42882 cat >>confdefs.h <<_ACEOF
42883 #define HAVE_MODF 1
42884 _ACEOF
42885
42886 fi
42887 done
42888
42889 else
42890
42891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42892 $as_echo_n "checking for _modf declaration... " >&6; }
42893 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42894 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42895 $as_echo_n "(cached) " >&6
42896 else
42897
42898
42899 ac_ext=cpp
42900 ac_cpp='$CXXCPP $CPPFLAGS'
42901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42904
42905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42906 /* end confdefs.h. */
42907 #include <math.h>
42908 int
42909 main ()
42910 {
42911 _modf(0, 0);
42912 ;
42913 return 0;
42914 }
42915 _ACEOF
42916 if ac_fn_cxx_try_compile "$LINENO"; then :
42917 glibcxx_cv_func__modf_use=yes
42918 else
42919 glibcxx_cv_func__modf_use=no
42920 fi
42921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42922 ac_ext=c
42923 ac_cpp='$CPP $CPPFLAGS'
42924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927
42928
42929 fi
42930
42931 fi
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42933 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42934
42935 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42936 for ac_func in _modf
42937 do :
42938 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42939 if test "x$ac_cv_func__modf" = x""yes; then :
42940 cat >>confdefs.h <<_ACEOF
42941 #define HAVE__MODF 1
42942 _ACEOF
42943
42944 fi
42945 done
42946
42947 fi
42948 fi
42949
42950
42951
42952
42953
42954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42955 $as_echo_n "checking for powf declaration... " >&6; }
42956 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42957 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42958 $as_echo_n "(cached) " >&6
42959 else
42960
42961
42962 ac_ext=cpp
42963 ac_cpp='$CXXCPP $CPPFLAGS'
42964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42967
42968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42969 /* end confdefs.h. */
42970 #include <math.h>
42971 int
42972 main ()
42973 {
42974 powf(0, 0);
42975 ;
42976 return 0;
42977 }
42978 _ACEOF
42979 if ac_fn_cxx_try_compile "$LINENO"; then :
42980 glibcxx_cv_func_powf_use=yes
42981 else
42982 glibcxx_cv_func_powf_use=no
42983 fi
42984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42985 ac_ext=c
42986 ac_cpp='$CPP $CPPFLAGS'
42987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990
42991
42992 fi
42993
42994 fi
42995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42996 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42997
42998 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42999 for ac_func in powf
43000 do :
43001 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43002 if test "x$ac_cv_func_powf" = x""yes; then :
43003 cat >>confdefs.h <<_ACEOF
43004 #define HAVE_POWF 1
43005 _ACEOF
43006
43007 fi
43008 done
43009
43010 else
43011
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43013 $as_echo_n "checking for _powf declaration... " >&6; }
43014 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43015 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43018
43019
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43025
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <math.h>
43029 int
43030 main ()
43031 {
43032 _powf(0, 0);
43033 ;
43034 return 0;
43035 }
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func__powf_use=yes
43039 else
43040 glibcxx_cv_func__powf_use=no
43041 fi
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048
43049
43050 fi
43051
43052 fi
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43054 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43055
43056 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43057 for ac_func in _powf
43058 do :
43059 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43060 if test "x$ac_cv_func__powf" = x""yes; then :
43061 cat >>confdefs.h <<_ACEOF
43062 #define HAVE__POWF 1
43063 _ACEOF
43064
43065 fi
43066 done
43067
43068 fi
43069 fi
43070
43071
43072
43073
43074
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43076 $as_echo_n "checking for sqrtf declaration... " >&6; }
43077 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43078 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43079 $as_echo_n "(cached) " >&6
43080 else
43081
43082
43083 ac_ext=cpp
43084 ac_cpp='$CXXCPP $CPPFLAGS'
43085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43088
43089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43090 /* end confdefs.h. */
43091 #include <math.h>
43092 #ifdef HAVE_IEEEFP_H
43093 #include <ieeefp.h>
43094 #endif
43095
43096 int
43097 main ()
43098 {
43099 sqrtf(0);
43100 ;
43101 return 0;
43102 }
43103 _ACEOF
43104 if ac_fn_cxx_try_compile "$LINENO"; then :
43105 glibcxx_cv_func_sqrtf_use=yes
43106 else
43107 glibcxx_cv_func_sqrtf_use=no
43108 fi
43109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43110 ac_ext=c
43111 ac_cpp='$CPP $CPPFLAGS'
43112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115
43116
43117 fi
43118
43119 fi
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43121 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43122
43123 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43124 for ac_func in sqrtf
43125 do :
43126 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43127 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43128 cat >>confdefs.h <<_ACEOF
43129 #define HAVE_SQRTF 1
43130 _ACEOF
43131
43132 fi
43133 done
43134
43135 else
43136
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43138 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43139 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43140 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43141 $as_echo_n "(cached) " >&6
43142 else
43143
43144
43145 ac_ext=cpp
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43150
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43153 #include <math.h>
43154 #ifdef HAVE_IEEEFP_H
43155 #include <ieeefp.h>
43156 #endif
43157
43158 int
43159 main ()
43160 {
43161 _sqrtf(0);
43162 ;
43163 return 0;
43164 }
43165 _ACEOF
43166 if ac_fn_cxx_try_compile "$LINENO"; then :
43167 glibcxx_cv_func__sqrtf_use=yes
43168 else
43169 glibcxx_cv_func__sqrtf_use=no
43170 fi
43171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43172 ac_ext=c
43173 ac_cpp='$CPP $CPPFLAGS'
43174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43177
43178
43179 fi
43180
43181 fi
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43183 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43184
43185 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43186 for ac_func in _sqrtf
43187 do :
43188 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43189 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43190 cat >>confdefs.h <<_ACEOF
43191 #define HAVE__SQRTF 1
43192 _ACEOF
43193
43194 fi
43195 done
43196
43197 fi
43198 fi
43199
43200
43201
43202
43203
43204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43205 $as_echo_n "checking for sincosf declaration... " >&6; }
43206 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43207 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43208 $as_echo_n "(cached) " >&6
43209 else
43210
43211
43212 ac_ext=cpp
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43217
43218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43219 /* end confdefs.h. */
43220 #include <math.h>
43221 int
43222 main ()
43223 {
43224 sincosf(0, 0, 0);
43225 ;
43226 return 0;
43227 }
43228 _ACEOF
43229 if ac_fn_cxx_try_compile "$LINENO"; then :
43230 glibcxx_cv_func_sincosf_use=yes
43231 else
43232 glibcxx_cv_func_sincosf_use=no
43233 fi
43234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43235 ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43240
43241
43242 fi
43243
43244 fi
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43246 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43247
43248 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43249 for ac_func in sincosf
43250 do :
43251 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43252 if test "x$ac_cv_func_sincosf" = x""yes; then :
43253 cat >>confdefs.h <<_ACEOF
43254 #define HAVE_SINCOSF 1
43255 _ACEOF
43256
43257 fi
43258 done
43259
43260 else
43261
43262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43263 $as_echo_n "checking for _sincosf declaration... " >&6; }
43264 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43265 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43266 $as_echo_n "(cached) " >&6
43267 else
43268
43269
43270 ac_ext=cpp
43271 ac_cpp='$CXXCPP $CPPFLAGS'
43272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43275
43276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43277 /* end confdefs.h. */
43278 #include <math.h>
43279 int
43280 main ()
43281 {
43282 _sincosf(0, 0, 0);
43283 ;
43284 return 0;
43285 }
43286 _ACEOF
43287 if ac_fn_cxx_try_compile "$LINENO"; then :
43288 glibcxx_cv_func__sincosf_use=yes
43289 else
43290 glibcxx_cv_func__sincosf_use=no
43291 fi
43292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43293 ac_ext=c
43294 ac_cpp='$CPP $CPPFLAGS'
43295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298
43299
43300 fi
43301
43302 fi
43303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43304 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43305
43306 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43307 for ac_func in _sincosf
43308 do :
43309 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43310 if test "x$ac_cv_func__sincosf" = x""yes; then :
43311 cat >>confdefs.h <<_ACEOF
43312 #define HAVE__SINCOSF 1
43313 _ACEOF
43314
43315 fi
43316 done
43317
43318 fi
43319 fi
43320
43321
43322
43323
43324
43325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43326 $as_echo_n "checking for finitef declaration... " >&6; }
43327 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43328 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43329 $as_echo_n "(cached) " >&6
43330 else
43331
43332
43333 ac_ext=cpp
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43338
43339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43340 /* end confdefs.h. */
43341 #include <math.h>
43342 #ifdef HAVE_IEEEFP_H
43343 #include <ieeefp.h>
43344 #endif
43345
43346 int
43347 main ()
43348 {
43349 finitef(0);
43350 ;
43351 return 0;
43352 }
43353 _ACEOF
43354 if ac_fn_cxx_try_compile "$LINENO"; then :
43355 glibcxx_cv_func_finitef_use=yes
43356 else
43357 glibcxx_cv_func_finitef_use=no
43358 fi
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43360 ac_ext=c
43361 ac_cpp='$CPP $CPPFLAGS'
43362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43365
43366
43367 fi
43368
43369 fi
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43371 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43372
43373 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43374 for ac_func in finitef
43375 do :
43376 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43377 if test "x$ac_cv_func_finitef" = x""yes; then :
43378 cat >>confdefs.h <<_ACEOF
43379 #define HAVE_FINITEF 1
43380 _ACEOF
43381
43382 fi
43383 done
43384
43385 else
43386
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43388 $as_echo_n "checking for _finitef declaration... " >&6; }
43389 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43390 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43391 $as_echo_n "(cached) " >&6
43392 else
43393
43394
43395 ac_ext=cpp
43396 ac_cpp='$CXXCPP $CPPFLAGS'
43397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43400
43401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 #ifdef HAVE_IEEEFP_H
43405 #include <ieeefp.h>
43406 #endif
43407
43408 int
43409 main ()
43410 {
43411 _finitef(0);
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 if ac_fn_cxx_try_compile "$LINENO"; then :
43417 glibcxx_cv_func__finitef_use=yes
43418 else
43419 glibcxx_cv_func__finitef_use=no
43420 fi
43421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422 ac_ext=c
43423 ac_cpp='$CPP $CPPFLAGS'
43424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43427
43428
43429 fi
43430
43431 fi
43432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43433 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43434
43435 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43436 for ac_func in _finitef
43437 do :
43438 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43439 if test "x$ac_cv_func__finitef" = x""yes; then :
43440 cat >>confdefs.h <<_ACEOF
43441 #define HAVE__FINITEF 1
43442 _ACEOF
43443
43444 fi
43445 done
43446
43447 fi
43448 fi
43449
43450
43451
43452
43453
43454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43455 $as_echo_n "checking for long double trig functions... " >&6; }
43456 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43457 $as_echo_n "(cached) " >&6
43458 else
43459
43460
43461 ac_ext=cpp
43462 ac_cpp='$CXXCPP $CPPFLAGS'
43463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43466
43467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43468 /* end confdefs.h. */
43469 #include <math.h>
43470 int
43471 main ()
43472 {
43473 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43474 ;
43475 return 0;
43476 }
43477 _ACEOF
43478 if ac_fn_cxx_try_compile "$LINENO"; then :
43479 glibcxx_cv_func_long_double_trig_use=yes
43480 else
43481 glibcxx_cv_func_long_double_trig_use=no
43482 fi
43483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43484 ac_ext=c
43485 ac_cpp='$CPP $CPPFLAGS'
43486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43489
43490 fi
43491
43492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43493 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43494 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43495 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43496 do :
43497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43499 eval as_val=\$$as_ac_var
43500 if test "x$as_val" = x""yes; then :
43501 cat >>confdefs.h <<_ACEOF
43502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43503 _ACEOF
43504
43505 fi
43506 done
43507
43508 else
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43510 $as_echo_n "checking for _long double trig functions... " >&6; }
43511 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43512 $as_echo_n "(cached) " >&6
43513 else
43514
43515
43516 ac_ext=cpp
43517 ac_cpp='$CXXCPP $CPPFLAGS'
43518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43521
43522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43523 /* end confdefs.h. */
43524 #include <math.h>
43525 int
43526 main ()
43527 {
43528 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43529 ;
43530 return 0;
43531 }
43532 _ACEOF
43533 if ac_fn_cxx_try_compile "$LINENO"; then :
43534 glibcxx_cv_func__long_double_trig_use=yes
43535 else
43536 glibcxx_cv_func__long_double_trig_use=no
43537 fi
43538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43539 ac_ext=c
43540 ac_cpp='$CPP $CPPFLAGS'
43541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43544
43545 fi
43546
43547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43548 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43549 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43550 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43551 do :
43552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43554 eval as_val=\$$as_ac_var
43555 if test "x$as_val" = x""yes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43558 _ACEOF
43559
43560 fi
43561 done
43562
43563 fi
43564 fi
43565
43566
43567
43568
43569
43570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43571 $as_echo_n "checking for long double round functions... " >&6; }
43572 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43575
43576
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43582
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43586 int
43587 main ()
43588 {
43589 ceill (0); floorl (0);
43590 ;
43591 return 0;
43592 }
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func_long_double_round_use=yes
43596 else
43597 glibcxx_cv_func_long_double_round_use=no
43598 fi
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43605
43606 fi
43607
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43609 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43610 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43611 for ac_func in ceill floorl
43612 do :
43613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43615 eval as_val=\$$as_ac_var
43616 if test "x$as_val" = x""yes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43619 _ACEOF
43620
43621 fi
43622 done
43623
43624 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43626 $as_echo_n "checking for _long double round functions... " >&6; }
43627 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43630
43631
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43641 int
43642 main ()
43643 {
43644 _ceill (0); _floorl (0);
43645 ;
43646 return 0;
43647 }
43648 _ACEOF
43649 if ac_fn_cxx_try_compile "$LINENO"; then :
43650 glibcxx_cv_func__long_double_round_use=yes
43651 else
43652 glibcxx_cv_func__long_double_round_use=no
43653 fi
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_ext=c
43656 ac_cpp='$CPP $CPPFLAGS'
43657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43660
43661 fi
43662
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43665 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43666 for ac_func in _ceill _floorl
43667 do :
43668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43670 eval as_val=\$$as_ac_var
43671 if test "x$as_val" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43674 _ACEOF
43675
43676 fi
43677 done
43678
43679 fi
43680 fi
43681
43682
43683
43684
43685
43686
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43688 $as_echo_n "checking for isnanl declaration... " >&6; }
43689 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43690 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43691 $as_echo_n "(cached) " >&6
43692 else
43693
43694
43695 ac_ext=cpp
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43700
43701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43702 /* end confdefs.h. */
43703 #include <math.h>
43704 #ifdef HAVE_IEEEFP_H
43705 #include <ieeefp.h>
43706 #endif
43707
43708 int
43709 main ()
43710 {
43711 isnanl(0);
43712 ;
43713 return 0;
43714 }
43715 _ACEOF
43716 if ac_fn_cxx_try_compile "$LINENO"; then :
43717 glibcxx_cv_func_isnanl_use=yes
43718 else
43719 glibcxx_cv_func_isnanl_use=no
43720 fi
43721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43722 ac_ext=c
43723 ac_cpp='$CPP $CPPFLAGS'
43724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43727
43728
43729 fi
43730
43731 fi
43732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43733 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43734
43735 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43736 for ac_func in isnanl
43737 do :
43738 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43739 if test "x$ac_cv_func_isnanl" = x""yes; then :
43740 cat >>confdefs.h <<_ACEOF
43741 #define HAVE_ISNANL 1
43742 _ACEOF
43743
43744 fi
43745 done
43746
43747 else
43748
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43750 $as_echo_n "checking for _isnanl declaration... " >&6; }
43751 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43752 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43753 $as_echo_n "(cached) " >&6
43754 else
43755
43756
43757 ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43762
43763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h. */
43765 #include <math.h>
43766 #ifdef HAVE_IEEEFP_H
43767 #include <ieeefp.h>
43768 #endif
43769
43770 int
43771 main ()
43772 {
43773 _isnanl(0);
43774 ;
43775 return 0;
43776 }
43777 _ACEOF
43778 if ac_fn_cxx_try_compile "$LINENO"; then :
43779 glibcxx_cv_func__isnanl_use=yes
43780 else
43781 glibcxx_cv_func__isnanl_use=no
43782 fi
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_ext=c
43785 ac_cpp='$CPP $CPPFLAGS'
43786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43789
43790
43791 fi
43792
43793 fi
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43795 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43796
43797 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43798 for ac_func in _isnanl
43799 do :
43800 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43801 if test "x$ac_cv_func__isnanl" = x""yes; then :
43802 cat >>confdefs.h <<_ACEOF
43803 #define HAVE__ISNANL 1
43804 _ACEOF
43805
43806 fi
43807 done
43808
43809 fi
43810 fi
43811
43812
43813
43814
43815
43816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43817 $as_echo_n "checking for isinfl declaration... " >&6; }
43818 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43819 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43820 $as_echo_n "(cached) " >&6
43821 else
43822
43823
43824 ac_ext=cpp
43825 ac_cpp='$CXXCPP $CPPFLAGS'
43826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43829
43830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43831 /* end confdefs.h. */
43832 #include <math.h>
43833 #ifdef HAVE_IEEEFP_H
43834 #include <ieeefp.h>
43835 #endif
43836
43837 int
43838 main ()
43839 {
43840 isinfl(0);
43841 ;
43842 return 0;
43843 }
43844 _ACEOF
43845 if ac_fn_cxx_try_compile "$LINENO"; then :
43846 glibcxx_cv_func_isinfl_use=yes
43847 else
43848 glibcxx_cv_func_isinfl_use=no
43849 fi
43850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43851 ac_ext=c
43852 ac_cpp='$CPP $CPPFLAGS'
43853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43856
43857
43858 fi
43859
43860 fi
43861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43862 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43863
43864 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43865 for ac_func in isinfl
43866 do :
43867 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43868 if test "x$ac_cv_func_isinfl" = x""yes; then :
43869 cat >>confdefs.h <<_ACEOF
43870 #define HAVE_ISINFL 1
43871 _ACEOF
43872
43873 fi
43874 done
43875
43876 else
43877
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43879 $as_echo_n "checking for _isinfl declaration... " >&6; }
43880 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43881 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43882 $as_echo_n "(cached) " >&6
43883 else
43884
43885
43886 ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43891
43892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h. */
43894 #include <math.h>
43895 #ifdef HAVE_IEEEFP_H
43896 #include <ieeefp.h>
43897 #endif
43898
43899 int
43900 main ()
43901 {
43902 _isinfl(0);
43903 ;
43904 return 0;
43905 }
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908 glibcxx_cv_func__isinfl_use=yes
43909 else
43910 glibcxx_cv_func__isinfl_use=no
43911 fi
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43918
43919
43920 fi
43921
43922 fi
43923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43924 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43925
43926 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43927 for ac_func in _isinfl
43928 do :
43929 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43930 if test "x$ac_cv_func__isinfl" = x""yes; then :
43931 cat >>confdefs.h <<_ACEOF
43932 #define HAVE__ISINFL 1
43933 _ACEOF
43934
43935 fi
43936 done
43937
43938 fi
43939 fi
43940
43941
43942
43943
43944
43945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43946 $as_echo_n "checking for atan2l declaration... " >&6; }
43947 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43948 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43949 $as_echo_n "(cached) " >&6
43950 else
43951
43952
43953 ac_ext=cpp
43954 ac_cpp='$CXXCPP $CPPFLAGS'
43955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43958
43959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43960 /* end confdefs.h. */
43961 #include <math.h>
43962 int
43963 main ()
43964 {
43965 atan2l(0, 0);
43966 ;
43967 return 0;
43968 }
43969 _ACEOF
43970 if ac_fn_cxx_try_compile "$LINENO"; then :
43971 glibcxx_cv_func_atan2l_use=yes
43972 else
43973 glibcxx_cv_func_atan2l_use=no
43974 fi
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981
43982
43983 fi
43984
43985 fi
43986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43987 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43988
43989 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43990 for ac_func in atan2l
43991 do :
43992 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43993 if test "x$ac_cv_func_atan2l" = x""yes; then :
43994 cat >>confdefs.h <<_ACEOF
43995 #define HAVE_ATAN2L 1
43996 _ACEOF
43997
43998 fi
43999 done
44000
44001 else
44002
44003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44004 $as_echo_n "checking for _atan2l declaration... " >&6; }
44005 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44006 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44007 $as_echo_n "(cached) " >&6
44008 else
44009
44010
44011 ac_ext=cpp
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44016
44017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44018 /* end confdefs.h. */
44019 #include <math.h>
44020 int
44021 main ()
44022 {
44023 _atan2l(0, 0);
44024 ;
44025 return 0;
44026 }
44027 _ACEOF
44028 if ac_fn_cxx_try_compile "$LINENO"; then :
44029 glibcxx_cv_func__atan2l_use=yes
44030 else
44031 glibcxx_cv_func__atan2l_use=no
44032 fi
44033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44034 ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039
44040
44041 fi
44042
44043 fi
44044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44045 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44046
44047 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44048 for ac_func in _atan2l
44049 do :
44050 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44051 if test "x$ac_cv_func__atan2l" = x""yes; then :
44052 cat >>confdefs.h <<_ACEOF
44053 #define HAVE__ATAN2L 1
44054 _ACEOF
44055
44056 fi
44057 done
44058
44059 fi
44060 fi
44061
44062
44063
44064
44065
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44067 $as_echo_n "checking for expl declaration... " >&6; }
44068 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44069 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44070 $as_echo_n "(cached) " >&6
44071 else
44072
44073
44074 ac_ext=cpp
44075 ac_cpp='$CXXCPP $CPPFLAGS'
44076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44079
44080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44081 /* end confdefs.h. */
44082 #include <math.h>
44083 #ifdef HAVE_IEEEFP_H
44084 #include <ieeefp.h>
44085 #endif
44086
44087 int
44088 main ()
44089 {
44090 expl(0);
44091 ;
44092 return 0;
44093 }
44094 _ACEOF
44095 if ac_fn_cxx_try_compile "$LINENO"; then :
44096 glibcxx_cv_func_expl_use=yes
44097 else
44098 glibcxx_cv_func_expl_use=no
44099 fi
44100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44101 ac_ext=c
44102 ac_cpp='$CPP $CPPFLAGS'
44103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44106
44107
44108 fi
44109
44110 fi
44111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44112 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44113
44114 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44115 for ac_func in expl
44116 do :
44117 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44118 if test "x$ac_cv_func_expl" = x""yes; then :
44119 cat >>confdefs.h <<_ACEOF
44120 #define HAVE_EXPL 1
44121 _ACEOF
44122
44123 fi
44124 done
44125
44126 else
44127
44128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44129 $as_echo_n "checking for _expl declaration... " >&6; }
44130 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44131 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44132 $as_echo_n "(cached) " >&6
44133 else
44134
44135
44136 ac_ext=cpp
44137 ac_cpp='$CXXCPP $CPPFLAGS'
44138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44141
44142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44143 /* end confdefs.h. */
44144 #include <math.h>
44145 #ifdef HAVE_IEEEFP_H
44146 #include <ieeefp.h>
44147 #endif
44148
44149 int
44150 main ()
44151 {
44152 _expl(0);
44153 ;
44154 return 0;
44155 }
44156 _ACEOF
44157 if ac_fn_cxx_try_compile "$LINENO"; then :
44158 glibcxx_cv_func__expl_use=yes
44159 else
44160 glibcxx_cv_func__expl_use=no
44161 fi
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44168
44169
44170 fi
44171
44172 fi
44173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44174 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44175
44176 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44177 for ac_func in _expl
44178 do :
44179 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44180 if test "x$ac_cv_func__expl" = x""yes; then :
44181 cat >>confdefs.h <<_ACEOF
44182 #define HAVE__EXPL 1
44183 _ACEOF
44184
44185 fi
44186 done
44187
44188 fi
44189 fi
44190
44191
44192
44193
44194
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44196 $as_echo_n "checking for fabsl declaration... " >&6; }
44197 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44198 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44199 $as_echo_n "(cached) " >&6
44200 else
44201
44202
44203 ac_ext=cpp
44204 ac_cpp='$CXXCPP $CPPFLAGS'
44205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44208
44209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44210 /* end confdefs.h. */
44211 #include <math.h>
44212 #ifdef HAVE_IEEEFP_H
44213 #include <ieeefp.h>
44214 #endif
44215
44216 int
44217 main ()
44218 {
44219 fabsl(0);
44220 ;
44221 return 0;
44222 }
44223 _ACEOF
44224 if ac_fn_cxx_try_compile "$LINENO"; then :
44225 glibcxx_cv_func_fabsl_use=yes
44226 else
44227 glibcxx_cv_func_fabsl_use=no
44228 fi
44229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44230 ac_ext=c
44231 ac_cpp='$CPP $CPPFLAGS'
44232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44235
44236
44237 fi
44238
44239 fi
44240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44241 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44242
44243 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44244 for ac_func in fabsl
44245 do :
44246 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44247 if test "x$ac_cv_func_fabsl" = x""yes; then :
44248 cat >>confdefs.h <<_ACEOF
44249 #define HAVE_FABSL 1
44250 _ACEOF
44251
44252 fi
44253 done
44254
44255 else
44256
44257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44258 $as_echo_n "checking for _fabsl declaration... " >&6; }
44259 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44260 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44261 $as_echo_n "(cached) " >&6
44262 else
44263
44264
44265 ac_ext=cpp
44266 ac_cpp='$CXXCPP $CPPFLAGS'
44267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44270
44271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44272 /* end confdefs.h. */
44273 #include <math.h>
44274 #ifdef HAVE_IEEEFP_H
44275 #include <ieeefp.h>
44276 #endif
44277
44278 int
44279 main ()
44280 {
44281 _fabsl(0);
44282 ;
44283 return 0;
44284 }
44285 _ACEOF
44286 if ac_fn_cxx_try_compile "$LINENO"; then :
44287 glibcxx_cv_func__fabsl_use=yes
44288 else
44289 glibcxx_cv_func__fabsl_use=no
44290 fi
44291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44292 ac_ext=c
44293 ac_cpp='$CPP $CPPFLAGS'
44294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44297
44298
44299 fi
44300
44301 fi
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44303 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44304
44305 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44306 for ac_func in _fabsl
44307 do :
44308 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44309 if test "x$ac_cv_func__fabsl" = x""yes; then :
44310 cat >>confdefs.h <<_ACEOF
44311 #define HAVE__FABSL 1
44312 _ACEOF
44313
44314 fi
44315 done
44316
44317 fi
44318 fi
44319
44320
44321
44322
44323
44324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44325 $as_echo_n "checking for fmodl declaration... " >&6; }
44326 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44327 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44328 $as_echo_n "(cached) " >&6
44329 else
44330
44331
44332 ac_ext=cpp
44333 ac_cpp='$CXXCPP $CPPFLAGS'
44334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44337
44338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44339 /* end confdefs.h. */
44340 #include <math.h>
44341 int
44342 main ()
44343 {
44344 fmodl(0, 0);
44345 ;
44346 return 0;
44347 }
44348 _ACEOF
44349 if ac_fn_cxx_try_compile "$LINENO"; then :
44350 glibcxx_cv_func_fmodl_use=yes
44351 else
44352 glibcxx_cv_func_fmodl_use=no
44353 fi
44354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44355 ac_ext=c
44356 ac_cpp='$CPP $CPPFLAGS'
44357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44360
44361
44362 fi
44363
44364 fi
44365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44366 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44367
44368 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44369 for ac_func in fmodl
44370 do :
44371 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44372 if test "x$ac_cv_func_fmodl" = x""yes; then :
44373 cat >>confdefs.h <<_ACEOF
44374 #define HAVE_FMODL 1
44375 _ACEOF
44376
44377 fi
44378 done
44379
44380 else
44381
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44383 $as_echo_n "checking for _fmodl declaration... " >&6; }
44384 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44385 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44386 $as_echo_n "(cached) " >&6
44387 else
44388
44389
44390 ac_ext=cpp
44391 ac_cpp='$CXXCPP $CPPFLAGS'
44392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44395
44396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44397 /* end confdefs.h. */
44398 #include <math.h>
44399 int
44400 main ()
44401 {
44402 _fmodl(0, 0);
44403 ;
44404 return 0;
44405 }
44406 _ACEOF
44407 if ac_fn_cxx_try_compile "$LINENO"; then :
44408 glibcxx_cv_func__fmodl_use=yes
44409 else
44410 glibcxx_cv_func__fmodl_use=no
44411 fi
44412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44413 ac_ext=c
44414 ac_cpp='$CPP $CPPFLAGS'
44415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44418
44419
44420 fi
44421
44422 fi
44423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44424 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44425
44426 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44427 for ac_func in _fmodl
44428 do :
44429 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44430 if test "x$ac_cv_func__fmodl" = x""yes; then :
44431 cat >>confdefs.h <<_ACEOF
44432 #define HAVE__FMODL 1
44433 _ACEOF
44434
44435 fi
44436 done
44437
44438 fi
44439 fi
44440
44441
44442
44443
44444
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44446 $as_echo_n "checking for frexpl declaration... " >&6; }
44447 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44448 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44449 $as_echo_n "(cached) " >&6
44450 else
44451
44452
44453 ac_ext=cpp
44454 ac_cpp='$CXXCPP $CPPFLAGS'
44455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44458
44459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44460 /* end confdefs.h. */
44461 #include <math.h>
44462 int
44463 main ()
44464 {
44465 frexpl(0, 0);
44466 ;
44467 return 0;
44468 }
44469 _ACEOF
44470 if ac_fn_cxx_try_compile "$LINENO"; then :
44471 glibcxx_cv_func_frexpl_use=yes
44472 else
44473 glibcxx_cv_func_frexpl_use=no
44474 fi
44475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44476 ac_ext=c
44477 ac_cpp='$CPP $CPPFLAGS'
44478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44481
44482
44483 fi
44484
44485 fi
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44487 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44488
44489 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44490 for ac_func in frexpl
44491 do :
44492 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44493 if test "x$ac_cv_func_frexpl" = x""yes; then :
44494 cat >>confdefs.h <<_ACEOF
44495 #define HAVE_FREXPL 1
44496 _ACEOF
44497
44498 fi
44499 done
44500
44501 else
44502
44503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44504 $as_echo_n "checking for _frexpl declaration... " >&6; }
44505 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44506 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44507 $as_echo_n "(cached) " >&6
44508 else
44509
44510
44511 ac_ext=cpp
44512 ac_cpp='$CXXCPP $CPPFLAGS'
44513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44516
44517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44518 /* end confdefs.h. */
44519 #include <math.h>
44520 int
44521 main ()
44522 {
44523 _frexpl(0, 0);
44524 ;
44525 return 0;
44526 }
44527 _ACEOF
44528 if ac_fn_cxx_try_compile "$LINENO"; then :
44529 glibcxx_cv_func__frexpl_use=yes
44530 else
44531 glibcxx_cv_func__frexpl_use=no
44532 fi
44533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44534 ac_ext=c
44535 ac_cpp='$CPP $CPPFLAGS'
44536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44539
44540
44541 fi
44542
44543 fi
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44545 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44546
44547 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44548 for ac_func in _frexpl
44549 do :
44550 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44551 if test "x$ac_cv_func__frexpl" = x""yes; then :
44552 cat >>confdefs.h <<_ACEOF
44553 #define HAVE__FREXPL 1
44554 _ACEOF
44555
44556 fi
44557 done
44558
44559 fi
44560 fi
44561
44562
44563
44564
44565
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44567 $as_echo_n "checking for hypotl declaration... " >&6; }
44568 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44569 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44570 $as_echo_n "(cached) " >&6
44571 else
44572
44573
44574 ac_ext=cpp
44575 ac_cpp='$CXXCPP $CPPFLAGS'
44576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44579
44580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44581 /* end confdefs.h. */
44582 #include <math.h>
44583 int
44584 main ()
44585 {
44586 hypotl(0, 0);
44587 ;
44588 return 0;
44589 }
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func_hypotl_use=yes
44593 else
44594 glibcxx_cv_func_hypotl_use=no
44595 fi
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597 ac_ext=c
44598 ac_cpp='$CPP $CPPFLAGS'
44599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602
44603
44604 fi
44605
44606 fi
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44608 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44609
44610 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44611 for ac_func in hypotl
44612 do :
44613 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44614 if test "x$ac_cv_func_hypotl" = x""yes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define HAVE_HYPOTL 1
44617 _ACEOF
44618
44619 fi
44620 done
44621
44622 else
44623
44624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44625 $as_echo_n "checking for _hypotl declaration... " >&6; }
44626 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44627 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44628 $as_echo_n "(cached) " >&6
44629 else
44630
44631
44632 ac_ext=cpp
44633 ac_cpp='$CXXCPP $CPPFLAGS'
44634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44637
44638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639 /* end confdefs.h. */
44640 #include <math.h>
44641 int
44642 main ()
44643 {
44644 _hypotl(0, 0);
44645 ;
44646 return 0;
44647 }
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650 glibcxx_cv_func__hypotl_use=yes
44651 else
44652 glibcxx_cv_func__hypotl_use=no
44653 fi
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655 ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660
44661
44662 fi
44663
44664 fi
44665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44666 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44667
44668 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44669 for ac_func in _hypotl
44670 do :
44671 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44672 if test "x$ac_cv_func__hypotl" = x""yes; then :
44673 cat >>confdefs.h <<_ACEOF
44674 #define HAVE__HYPOTL 1
44675 _ACEOF
44676
44677 fi
44678 done
44679
44680 fi
44681 fi
44682
44683
44684
44685
44686
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44688 $as_echo_n "checking for ldexpl declaration... " >&6; }
44689 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44690 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44691 $as_echo_n "(cached) " >&6
44692 else
44693
44694
44695 ac_ext=cpp
44696 ac_cpp='$CXXCPP $CPPFLAGS'
44697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44700
44701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44702 /* end confdefs.h. */
44703 #include <math.h>
44704 int
44705 main ()
44706 {
44707 ldexpl(0, 0);
44708 ;
44709 return 0;
44710 }
44711 _ACEOF
44712 if ac_fn_cxx_try_compile "$LINENO"; then :
44713 glibcxx_cv_func_ldexpl_use=yes
44714 else
44715 glibcxx_cv_func_ldexpl_use=no
44716 fi
44717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44718 ac_ext=c
44719 ac_cpp='$CPP $CPPFLAGS'
44720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723
44724
44725 fi
44726
44727 fi
44728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44729 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44730
44731 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44732 for ac_func in ldexpl
44733 do :
44734 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44735 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44736 cat >>confdefs.h <<_ACEOF
44737 #define HAVE_LDEXPL 1
44738 _ACEOF
44739
44740 fi
44741 done
44742
44743 else
44744
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44746 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44747 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44748 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44749 $as_echo_n "(cached) " >&6
44750 else
44751
44752
44753 ac_ext=cpp
44754 ac_cpp='$CXXCPP $CPPFLAGS'
44755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44758
44759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h. */
44761 #include <math.h>
44762 int
44763 main ()
44764 {
44765 _ldexpl(0, 0);
44766 ;
44767 return 0;
44768 }
44769 _ACEOF
44770 if ac_fn_cxx_try_compile "$LINENO"; then :
44771 glibcxx_cv_func__ldexpl_use=yes
44772 else
44773 glibcxx_cv_func__ldexpl_use=no
44774 fi
44775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44776 ac_ext=c
44777 ac_cpp='$CPP $CPPFLAGS'
44778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781
44782
44783 fi
44784
44785 fi
44786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44787 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44788
44789 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44790 for ac_func in _ldexpl
44791 do :
44792 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44793 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44794 cat >>confdefs.h <<_ACEOF
44795 #define HAVE__LDEXPL 1
44796 _ACEOF
44797
44798 fi
44799 done
44800
44801 fi
44802 fi
44803
44804
44805
44806
44807
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44809 $as_echo_n "checking for logl declaration... " >&6; }
44810 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44811 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44812 $as_echo_n "(cached) " >&6
44813 else
44814
44815
44816 ac_ext=cpp
44817 ac_cpp='$CXXCPP $CPPFLAGS'
44818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44821
44822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44823 /* end confdefs.h. */
44824 #include <math.h>
44825 #ifdef HAVE_IEEEFP_H
44826 #include <ieeefp.h>
44827 #endif
44828
44829 int
44830 main ()
44831 {
44832 logl(0);
44833 ;
44834 return 0;
44835 }
44836 _ACEOF
44837 if ac_fn_cxx_try_compile "$LINENO"; then :
44838 glibcxx_cv_func_logl_use=yes
44839 else
44840 glibcxx_cv_func_logl_use=no
44841 fi
44842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44843 ac_ext=c
44844 ac_cpp='$CPP $CPPFLAGS'
44845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44848
44849
44850 fi
44851
44852 fi
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44854 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44855
44856 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44857 for ac_func in logl
44858 do :
44859 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44860 if test "x$ac_cv_func_logl" = x""yes; then :
44861 cat >>confdefs.h <<_ACEOF
44862 #define HAVE_LOGL 1
44863 _ACEOF
44864
44865 fi
44866 done
44867
44868 else
44869
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44871 $as_echo_n "checking for _logl declaration... " >&6; }
44872 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44873 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44874 $as_echo_n "(cached) " >&6
44875 else
44876
44877
44878 ac_ext=cpp
44879 ac_cpp='$CXXCPP $CPPFLAGS'
44880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44883
44884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44885 /* end confdefs.h. */
44886 #include <math.h>
44887 #ifdef HAVE_IEEEFP_H
44888 #include <ieeefp.h>
44889 #endif
44890
44891 int
44892 main ()
44893 {
44894 _logl(0);
44895 ;
44896 return 0;
44897 }
44898 _ACEOF
44899 if ac_fn_cxx_try_compile "$LINENO"; then :
44900 glibcxx_cv_func__logl_use=yes
44901 else
44902 glibcxx_cv_func__logl_use=no
44903 fi
44904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44905 ac_ext=c
44906 ac_cpp='$CPP $CPPFLAGS'
44907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44910
44911
44912 fi
44913
44914 fi
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44916 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44917
44918 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44919 for ac_func in _logl
44920 do :
44921 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44922 if test "x$ac_cv_func__logl" = x""yes; then :
44923 cat >>confdefs.h <<_ACEOF
44924 #define HAVE__LOGL 1
44925 _ACEOF
44926
44927 fi
44928 done
44929
44930 fi
44931 fi
44932
44933
44934
44935
44936
44937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44938 $as_echo_n "checking for log10l declaration... " >&6; }
44939 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44940 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44941 $as_echo_n "(cached) " >&6
44942 else
44943
44944
44945 ac_ext=cpp
44946 ac_cpp='$CXXCPP $CPPFLAGS'
44947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44950
44951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44952 /* end confdefs.h. */
44953 #include <math.h>
44954 #ifdef HAVE_IEEEFP_H
44955 #include <ieeefp.h>
44956 #endif
44957
44958 int
44959 main ()
44960 {
44961 log10l(0);
44962 ;
44963 return 0;
44964 }
44965 _ACEOF
44966 if ac_fn_cxx_try_compile "$LINENO"; then :
44967 glibcxx_cv_func_log10l_use=yes
44968 else
44969 glibcxx_cv_func_log10l_use=no
44970 fi
44971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972 ac_ext=c
44973 ac_cpp='$CPP $CPPFLAGS'
44974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44977
44978
44979 fi
44980
44981 fi
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44983 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44984
44985 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44986 for ac_func in log10l
44987 do :
44988 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44989 if test "x$ac_cv_func_log10l" = x""yes; then :
44990 cat >>confdefs.h <<_ACEOF
44991 #define HAVE_LOG10L 1
44992 _ACEOF
44993
44994 fi
44995 done
44996
44997 else
44998
44999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45000 $as_echo_n "checking for _log10l declaration... " >&6; }
45001 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45002 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45005
45006
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45016 #ifdef HAVE_IEEEFP_H
45017 #include <ieeefp.h>
45018 #endif
45019
45020 int
45021 main ()
45022 {
45023 _log10l(0);
45024 ;
45025 return 0;
45026 }
45027 _ACEOF
45028 if ac_fn_cxx_try_compile "$LINENO"; then :
45029 glibcxx_cv_func__log10l_use=yes
45030 else
45031 glibcxx_cv_func__log10l_use=no
45032 fi
45033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45034 ac_ext=c
45035 ac_cpp='$CPP $CPPFLAGS'
45036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45039
45040
45041 fi
45042
45043 fi
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45045 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45046
45047 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45048 for ac_func in _log10l
45049 do :
45050 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45051 if test "x$ac_cv_func__log10l" = x""yes; then :
45052 cat >>confdefs.h <<_ACEOF
45053 #define HAVE__LOG10L 1
45054 _ACEOF
45055
45056 fi
45057 done
45058
45059 fi
45060 fi
45061
45062
45063
45064
45065
45066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45067 $as_echo_n "checking for modfl declaration... " >&6; }
45068 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45069 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45070 $as_echo_n "(cached) " >&6
45071 else
45072
45073
45074 ac_ext=cpp
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45079
45080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45081 /* end confdefs.h. */
45082 #include <math.h>
45083 int
45084 main ()
45085 {
45086 modfl(0, 0);
45087 ;
45088 return 0;
45089 }
45090 _ACEOF
45091 if ac_fn_cxx_try_compile "$LINENO"; then :
45092 glibcxx_cv_func_modfl_use=yes
45093 else
45094 glibcxx_cv_func_modfl_use=no
45095 fi
45096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45097 ac_ext=c
45098 ac_cpp='$CPP $CPPFLAGS'
45099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45102
45103
45104 fi
45105
45106 fi
45107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45108 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45109
45110 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45111 for ac_func in modfl
45112 do :
45113 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45114 if test "x$ac_cv_func_modfl" = x""yes; then :
45115 cat >>confdefs.h <<_ACEOF
45116 #define HAVE_MODFL 1
45117 _ACEOF
45118
45119 fi
45120 done
45121
45122 else
45123
45124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45125 $as_echo_n "checking for _modfl declaration... " >&6; }
45126 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45127 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45128 $as_echo_n "(cached) " >&6
45129 else
45130
45131
45132 ac_ext=cpp
45133 ac_cpp='$CXXCPP $CPPFLAGS'
45134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45137
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 #include <math.h>
45141 int
45142 main ()
45143 {
45144 _modfl(0, 0);
45145 ;
45146 return 0;
45147 }
45148 _ACEOF
45149 if ac_fn_cxx_try_compile "$LINENO"; then :
45150 glibcxx_cv_func__modfl_use=yes
45151 else
45152 glibcxx_cv_func__modfl_use=no
45153 fi
45154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45155 ac_ext=c
45156 ac_cpp='$CPP $CPPFLAGS'
45157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45160
45161
45162 fi
45163
45164 fi
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45166 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45167
45168 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45169 for ac_func in _modfl
45170 do :
45171 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45172 if test "x$ac_cv_func__modfl" = x""yes; then :
45173 cat >>confdefs.h <<_ACEOF
45174 #define HAVE__MODFL 1
45175 _ACEOF
45176
45177 fi
45178 done
45179
45180 fi
45181 fi
45182
45183
45184
45185
45186
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45188 $as_echo_n "checking for powl declaration... " >&6; }
45189 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45190 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45191 $as_echo_n "(cached) " >&6
45192 else
45193
45194
45195 ac_ext=cpp
45196 ac_cpp='$CXXCPP $CPPFLAGS'
45197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45200
45201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45202 /* end confdefs.h. */
45203 #include <math.h>
45204 int
45205 main ()
45206 {
45207 powl(0, 0);
45208 ;
45209 return 0;
45210 }
45211 _ACEOF
45212 if ac_fn_cxx_try_compile "$LINENO"; then :
45213 glibcxx_cv_func_powl_use=yes
45214 else
45215 glibcxx_cv_func_powl_use=no
45216 fi
45217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45218 ac_ext=c
45219 ac_cpp='$CPP $CPPFLAGS'
45220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45223
45224
45225 fi
45226
45227 fi
45228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45229 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45230
45231 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45232 for ac_func in powl
45233 do :
45234 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45235 if test "x$ac_cv_func_powl" = x""yes; then :
45236 cat >>confdefs.h <<_ACEOF
45237 #define HAVE_POWL 1
45238 _ACEOF
45239
45240 fi
45241 done
45242
45243 else
45244
45245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45246 $as_echo_n "checking for _powl declaration... " >&6; }
45247 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45248 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45249 $as_echo_n "(cached) " >&6
45250 else
45251
45252
45253 ac_ext=cpp
45254 ac_cpp='$CXXCPP $CPPFLAGS'
45255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45258
45259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45260 /* end confdefs.h. */
45261 #include <math.h>
45262 int
45263 main ()
45264 {
45265 _powl(0, 0);
45266 ;
45267 return 0;
45268 }
45269 _ACEOF
45270 if ac_fn_cxx_try_compile "$LINENO"; then :
45271 glibcxx_cv_func__powl_use=yes
45272 else
45273 glibcxx_cv_func__powl_use=no
45274 fi
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 ac_ext=c
45277 ac_cpp='$CPP $CPPFLAGS'
45278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281
45282
45283 fi
45284
45285 fi
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45287 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45288
45289 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45290 for ac_func in _powl
45291 do :
45292 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45293 if test "x$ac_cv_func__powl" = x""yes; then :
45294 cat >>confdefs.h <<_ACEOF
45295 #define HAVE__POWL 1
45296 _ACEOF
45297
45298 fi
45299 done
45300
45301 fi
45302 fi
45303
45304
45305
45306
45307
45308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45309 $as_echo_n "checking for sqrtl declaration... " >&6; }
45310 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45311 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45312 $as_echo_n "(cached) " >&6
45313 else
45314
45315
45316 ac_ext=cpp
45317 ac_cpp='$CXXCPP $CPPFLAGS'
45318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45321
45322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45323 /* end confdefs.h. */
45324 #include <math.h>
45325 #ifdef HAVE_IEEEFP_H
45326 #include <ieeefp.h>
45327 #endif
45328
45329 int
45330 main ()
45331 {
45332 sqrtl(0);
45333 ;
45334 return 0;
45335 }
45336 _ACEOF
45337 if ac_fn_cxx_try_compile "$LINENO"; then :
45338 glibcxx_cv_func_sqrtl_use=yes
45339 else
45340 glibcxx_cv_func_sqrtl_use=no
45341 fi
45342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45343 ac_ext=c
45344 ac_cpp='$CPP $CPPFLAGS'
45345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45348
45349
45350 fi
45351
45352 fi
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45354 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45355
45356 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45357 for ac_func in sqrtl
45358 do :
45359 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45360 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45361 cat >>confdefs.h <<_ACEOF
45362 #define HAVE_SQRTL 1
45363 _ACEOF
45364
45365 fi
45366 done
45367
45368 else
45369
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45371 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45372 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45373 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45374 $as_echo_n "(cached) " >&6
45375 else
45376
45377
45378 ac_ext=cpp
45379 ac_cpp='$CXXCPP $CPPFLAGS'
45380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45383
45384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45385 /* end confdefs.h. */
45386 #include <math.h>
45387 #ifdef HAVE_IEEEFP_H
45388 #include <ieeefp.h>
45389 #endif
45390
45391 int
45392 main ()
45393 {
45394 _sqrtl(0);
45395 ;
45396 return 0;
45397 }
45398 _ACEOF
45399 if ac_fn_cxx_try_compile "$LINENO"; then :
45400 glibcxx_cv_func__sqrtl_use=yes
45401 else
45402 glibcxx_cv_func__sqrtl_use=no
45403 fi
45404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45405 ac_ext=c
45406 ac_cpp='$CPP $CPPFLAGS'
45407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410
45411
45412 fi
45413
45414 fi
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45416 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45417
45418 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45419 for ac_func in _sqrtl
45420 do :
45421 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45422 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45423 cat >>confdefs.h <<_ACEOF
45424 #define HAVE__SQRTL 1
45425 _ACEOF
45426
45427 fi
45428 done
45429
45430 fi
45431 fi
45432
45433
45434
45435
45436
45437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45438 $as_echo_n "checking for sincosl declaration... " >&6; }
45439 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45440 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45441 $as_echo_n "(cached) " >&6
45442 else
45443
45444
45445 ac_ext=cpp
45446 ac_cpp='$CXXCPP $CPPFLAGS'
45447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45450
45451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45452 /* end confdefs.h. */
45453 #include <math.h>
45454 int
45455 main ()
45456 {
45457 sincosl(0, 0, 0);
45458 ;
45459 return 0;
45460 }
45461 _ACEOF
45462 if ac_fn_cxx_try_compile "$LINENO"; then :
45463 glibcxx_cv_func_sincosl_use=yes
45464 else
45465 glibcxx_cv_func_sincosl_use=no
45466 fi
45467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45468 ac_ext=c
45469 ac_cpp='$CPP $CPPFLAGS'
45470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45473
45474
45475 fi
45476
45477 fi
45478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45479 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45480
45481 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45482 for ac_func in sincosl
45483 do :
45484 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45485 if test "x$ac_cv_func_sincosl" = x""yes; then :
45486 cat >>confdefs.h <<_ACEOF
45487 #define HAVE_SINCOSL 1
45488 _ACEOF
45489
45490 fi
45491 done
45492
45493 else
45494
45495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45496 $as_echo_n "checking for _sincosl declaration... " >&6; }
45497 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45498 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45499 $as_echo_n "(cached) " >&6
45500 else
45501
45502
45503 ac_ext=cpp
45504 ac_cpp='$CXXCPP $CPPFLAGS'
45505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45508
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 #include <math.h>
45512 int
45513 main ()
45514 {
45515 _sincosl(0, 0, 0);
45516 ;
45517 return 0;
45518 }
45519 _ACEOF
45520 if ac_fn_cxx_try_compile "$LINENO"; then :
45521 glibcxx_cv_func__sincosl_use=yes
45522 else
45523 glibcxx_cv_func__sincosl_use=no
45524 fi
45525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45526 ac_ext=c
45527 ac_cpp='$CPP $CPPFLAGS'
45528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45531
45532
45533 fi
45534
45535 fi
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45537 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45538
45539 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45540 for ac_func in _sincosl
45541 do :
45542 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45543 if test "x$ac_cv_func__sincosl" = x""yes; then :
45544 cat >>confdefs.h <<_ACEOF
45545 #define HAVE__SINCOSL 1
45546 _ACEOF
45547
45548 fi
45549 done
45550
45551 fi
45552 fi
45553
45554
45555
45556
45557
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45559 $as_echo_n "checking for finitel declaration... " >&6; }
45560 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45561 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45562 $as_echo_n "(cached) " >&6
45563 else
45564
45565
45566 ac_ext=cpp
45567 ac_cpp='$CXXCPP $CPPFLAGS'
45568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45571
45572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45573 /* end confdefs.h. */
45574 #include <math.h>
45575 #ifdef HAVE_IEEEFP_H
45576 #include <ieeefp.h>
45577 #endif
45578
45579 int
45580 main ()
45581 {
45582 finitel(0);
45583 ;
45584 return 0;
45585 }
45586 _ACEOF
45587 if ac_fn_cxx_try_compile "$LINENO"; then :
45588 glibcxx_cv_func_finitel_use=yes
45589 else
45590 glibcxx_cv_func_finitel_use=no
45591 fi
45592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45593 ac_ext=c
45594 ac_cpp='$CPP $CPPFLAGS'
45595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45598
45599
45600 fi
45601
45602 fi
45603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45604 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45605
45606 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45607 for ac_func in finitel
45608 do :
45609 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45610 if test "x$ac_cv_func_finitel" = x""yes; then :
45611 cat >>confdefs.h <<_ACEOF
45612 #define HAVE_FINITEL 1
45613 _ACEOF
45614
45615 fi
45616 done
45617
45618 else
45619
45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45621 $as_echo_n "checking for _finitel declaration... " >&6; }
45622 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45623 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45624 $as_echo_n "(cached) " >&6
45625 else
45626
45627
45628 ac_ext=cpp
45629 ac_cpp='$CXXCPP $CPPFLAGS'
45630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45633
45634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45635 /* end confdefs.h. */
45636 #include <math.h>
45637 #ifdef HAVE_IEEEFP_H
45638 #include <ieeefp.h>
45639 #endif
45640
45641 int
45642 main ()
45643 {
45644 _finitel(0);
45645 ;
45646 return 0;
45647 }
45648 _ACEOF
45649 if ac_fn_cxx_try_compile "$LINENO"; then :
45650 glibcxx_cv_func__finitel_use=yes
45651 else
45652 glibcxx_cv_func__finitel_use=no
45653 fi
45654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45655 ac_ext=c
45656 ac_cpp='$CPP $CPPFLAGS'
45657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45660
45661
45662 fi
45663
45664 fi
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45666 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45667
45668 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45669 for ac_func in _finitel
45670 do :
45671 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45672 if test "x$ac_cv_func__finitel" = x""yes; then :
45673 cat >>confdefs.h <<_ACEOF
45674 #define HAVE__FINITEL 1
45675 _ACEOF
45676
45677 fi
45678 done
45679
45680 fi
45681 fi
45682
45683
45684
45685
45686 LIBS="$ac_save_LIBS"
45687 CXXFLAGS="$ac_save_CXXFLAGS"
45688
45689
45690 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45691 ac_save_CXXFLAGS="$CXXFLAGS"
45692 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45693
45694
45695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45696 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45697 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45698 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45699 $as_echo_n "(cached) " >&6
45700 else
45701
45702
45703 ac_ext=cpp
45704 ac_cpp='$CXXCPP $CPPFLAGS'
45705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45708
45709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45710 /* end confdefs.h. */
45711 #include <stdlib.h>
45712 int
45713 main ()
45714 {
45715 at_quick_exit(0);
45716 ;
45717 return 0;
45718 }
45719 _ACEOF
45720 if ac_fn_cxx_try_compile "$LINENO"; then :
45721 glibcxx_cv_func_at_quick_exit_use=yes
45722 else
45723 glibcxx_cv_func_at_quick_exit_use=no
45724 fi
45725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45726 ac_ext=c
45727 ac_cpp='$CPP $CPPFLAGS'
45728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45731
45732
45733 fi
45734
45735 fi
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45737 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45738 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45739 for ac_func in at_quick_exit
45740 do :
45741 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45742 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45743 cat >>confdefs.h <<_ACEOF
45744 #define HAVE_AT_QUICK_EXIT 1
45745 _ACEOF
45746
45747 fi
45748 done
45749
45750 fi
45751
45752
45753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45754 $as_echo_n "checking for quick_exit declaration... " >&6; }
45755 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45756 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45757 $as_echo_n "(cached) " >&6
45758 else
45759
45760
45761 ac_ext=cpp
45762 ac_cpp='$CXXCPP $CPPFLAGS'
45763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766
45767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45768 /* end confdefs.h. */
45769 #include <stdlib.h>
45770 int
45771 main ()
45772 {
45773 quick_exit(0);
45774 ;
45775 return 0;
45776 }
45777 _ACEOF
45778 if ac_fn_cxx_try_compile "$LINENO"; then :
45779 glibcxx_cv_func_quick_exit_use=yes
45780 else
45781 glibcxx_cv_func_quick_exit_use=no
45782 fi
45783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45784 ac_ext=c
45785 ac_cpp='$CPP $CPPFLAGS'
45786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45789
45790
45791 fi
45792
45793 fi
45794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45795 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45796 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45797 for ac_func in quick_exit
45798 do :
45799 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45800 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45801 cat >>confdefs.h <<_ACEOF
45802 #define HAVE_QUICK_EXIT 1
45803 _ACEOF
45804
45805 fi
45806 done
45807
45808 fi
45809
45810
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45812 $as_echo_n "checking for strtold declaration... " >&6; }
45813 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45814 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45817
45818
45819 ac_ext=cpp
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45824
45825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45826 /* end confdefs.h. */
45827 #include <stdlib.h>
45828 int
45829 main ()
45830 {
45831 strtold(0, 0);
45832 ;
45833 return 0;
45834 }
45835 _ACEOF
45836 if ac_fn_cxx_try_compile "$LINENO"; then :
45837 glibcxx_cv_func_strtold_use=yes
45838 else
45839 glibcxx_cv_func_strtold_use=no
45840 fi
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45847
45848
45849 fi
45850
45851 fi
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45853 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45854 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45855 for ac_func in strtold
45856 do :
45857 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45858 if test "x$ac_cv_func_strtold" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE_STRTOLD 1
45861 _ACEOF
45862
45863 fi
45864 done
45865
45866 fi
45867
45868
45869
45870
45871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45872 $as_echo_n "checking for strtof declaration... " >&6; }
45873 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45874 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45875 $as_echo_n "(cached) " >&6
45876 else
45877
45878
45879 ac_ext=cpp
45880 ac_cpp='$CXXCPP $CPPFLAGS'
45881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45884
45885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45886 /* end confdefs.h. */
45887 #include <stdlib.h>
45888 int
45889 main ()
45890 {
45891 strtof(0, 0);
45892 ;
45893 return 0;
45894 }
45895 _ACEOF
45896 if ac_fn_cxx_try_compile "$LINENO"; then :
45897 glibcxx_cv_func_strtof_use=yes
45898 else
45899 glibcxx_cv_func_strtof_use=no
45900 fi
45901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45902 ac_ext=c
45903 ac_cpp='$CPP $CPPFLAGS'
45904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907
45908
45909 fi
45910
45911 fi
45912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45913 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45914 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45915 for ac_func in strtof
45916 do :
45917 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45918 if test "x$ac_cv_func_strtof" = x""yes; then :
45919 cat >>confdefs.h <<_ACEOF
45920 #define HAVE_STRTOF 1
45921 _ACEOF
45922
45923 fi
45924 done
45925
45926 fi
45927
45928
45929
45930
45931 CXXFLAGS="$ac_save_CXXFLAGS"
45932
45933 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45934
45935 # We don't yet support AIX's TLS ABI.
45936 #GCC_CHECK_TLS
45937
45938
45939
45940
45941
45942 am_save_CPPFLAGS="$CPPFLAGS"
45943
45944 for element in $INCICONV; do
45945 haveit=
45946 for x in $CPPFLAGS; do
45947
45948 acl_save_prefix="$prefix"
45949 prefix="$acl_final_prefix"
45950 acl_save_exec_prefix="$exec_prefix"
45951 exec_prefix="$acl_final_exec_prefix"
45952 eval x=\"$x\"
45953 exec_prefix="$acl_save_exec_prefix"
45954 prefix="$acl_save_prefix"
45955
45956 if test "X$x" = "X$element"; then
45957 haveit=yes
45958 break
45959 fi
45960 done
45961 if test -z "$haveit"; then
45962 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45963 fi
45964 done
45965
45966
45967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45968 $as_echo_n "checking for iconv... " >&6; }
45969 if test "${am_cv_func_iconv+set}" = set; then :
45970 $as_echo_n "(cached) " >&6
45971 else
45972
45973 am_cv_func_iconv="no, consider installing GNU libiconv"
45974 am_cv_lib_iconv=no
45975 if test x$gcc_no_link = xyes; then
45976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45977 fi
45978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45979 /* end confdefs.h. */
45980 #include <stdlib.h>
45981 #include <iconv.h>
45982 int
45983 main ()
45984 {
45985 iconv_t cd = iconv_open("","");
45986 iconv(cd,NULL,NULL,NULL,NULL);
45987 iconv_close(cd);
45988 ;
45989 return 0;
45990 }
45991 _ACEOF
45992 if ac_fn_c_try_link "$LINENO"; then :
45993 am_cv_func_iconv=yes
45994 fi
45995 rm -f core conftest.err conftest.$ac_objext \
45996 conftest$ac_exeext conftest.$ac_ext
45997 if test "$am_cv_func_iconv" != yes; then
45998 am_save_LIBS="$LIBS"
45999 LIBS="$LIBS $LIBICONV"
46000 if test x$gcc_no_link = xyes; then
46001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46002 fi
46003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46004 /* end confdefs.h. */
46005 #include <stdlib.h>
46006 #include <iconv.h>
46007 int
46008 main ()
46009 {
46010 iconv_t cd = iconv_open("","");
46011 iconv(cd,NULL,NULL,NULL,NULL);
46012 iconv_close(cd);
46013 ;
46014 return 0;
46015 }
46016 _ACEOF
46017 if ac_fn_c_try_link "$LINENO"; then :
46018 am_cv_lib_iconv=yes
46019 am_cv_func_iconv=yes
46020 fi
46021 rm -f core conftest.err conftest.$ac_objext \
46022 conftest$ac_exeext conftest.$ac_ext
46023 LIBS="$am_save_LIBS"
46024 fi
46025
46026 fi
46027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46028 $as_echo "$am_cv_func_iconv" >&6; }
46029 if test "$am_cv_func_iconv" = yes; then
46030
46031 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46032
46033 fi
46034 if test "$am_cv_lib_iconv" = yes; then
46035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46036 $as_echo_n "checking how to link with libiconv... " >&6; }
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46038 $as_echo "$LIBICONV" >&6; }
46039 else
46040 CPPFLAGS="$am_save_CPPFLAGS"
46041 LIBICONV=
46042 LTLIBICONV=
46043 fi
46044
46045
46046
46047 if test "$am_cv_func_iconv" = yes; then
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46049 $as_echo_n "checking for iconv declaration... " >&6; }
46050 if test "${am_cv_proto_iconv+set}" = set; then :
46051 $as_echo_n "(cached) " >&6
46052 else
46053
46054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46055 /* end confdefs.h. */
46056
46057 #include <stdlib.h>
46058 #include <iconv.h>
46059 extern
46060 #ifdef __cplusplus
46061 "C"
46062 #endif
46063 #if defined(__STDC__) || defined(__cplusplus)
46064 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46065 #else
46066 size_t iconv();
46067 #endif
46068
46069 int
46070 main ()
46071 {
46072
46073 ;
46074 return 0;
46075 }
46076 _ACEOF
46077 if ac_fn_c_try_compile "$LINENO"; then :
46078 am_cv_proto_iconv_arg1=""
46079 else
46080 am_cv_proto_iconv_arg1="const"
46081 fi
46082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46083 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);"
46084 fi
46085
46086 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46088 }$am_cv_proto_iconv" >&5
46089 $as_echo "${ac_t:-
46090 }$am_cv_proto_iconv" >&6; }
46091
46092 cat >>confdefs.h <<_ACEOF
46093 #define ICONV_CONST $am_cv_proto_iconv_arg1
46094 _ACEOF
46095
46096 fi
46097
46098 ;;
46099
46100 *-darwin*)
46101 # Darwin versions vary, but the linker should work in a cross environment,
46102 # so we just check for all the features here.
46103 # Check for available headers.
46104
46105 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46106
46107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46108 ac_save_CXXFLAGS="$CXXFLAGS"
46109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46110
46111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46112 $as_echo_n "checking for sin in -lm... " >&6; }
46113 if test "${ac_cv_lib_m_sin+set}" = set; then :
46114 $as_echo_n "(cached) " >&6
46115 else
46116 ac_check_lib_save_LIBS=$LIBS
46117 LIBS="-lm $LIBS"
46118 if test x$gcc_no_link = xyes; then
46119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46120 fi
46121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46122 /* end confdefs.h. */
46123
46124 /* Override any GCC internal prototype to avoid an error.
46125 Use char because int might match the return type of a GCC
46126 builtin and then its argument prototype would still apply. */
46127 #ifdef __cplusplus
46128 extern "C"
46129 #endif
46130 char sin ();
46131 int
46132 main ()
46133 {
46134 return sin ();
46135 ;
46136 return 0;
46137 }
46138 _ACEOF
46139 if ac_fn_c_try_link "$LINENO"; then :
46140 ac_cv_lib_m_sin=yes
46141 else
46142 ac_cv_lib_m_sin=no
46143 fi
46144 rm -f core conftest.err conftest.$ac_objext \
46145 conftest$ac_exeext conftest.$ac_ext
46146 LIBS=$ac_check_lib_save_LIBS
46147 fi
46148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46149 $as_echo "$ac_cv_lib_m_sin" >&6; }
46150 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46151 libm="-lm"
46152 fi
46153
46154 ac_save_LIBS="$LIBS"
46155 LIBS="$LIBS $libm"
46156
46157
46158
46159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46160 $as_echo_n "checking for isinf declaration... " >&6; }
46161 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46162 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46163 $as_echo_n "(cached) " >&6
46164 else
46165
46166
46167 ac_ext=cpp
46168 ac_cpp='$CXXCPP $CPPFLAGS'
46169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46172
46173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46174 /* end confdefs.h. */
46175 #include <math.h>
46176 #ifdef HAVE_IEEEFP_H
46177 #include <ieeefp.h>
46178 #endif
46179
46180 int
46181 main ()
46182 {
46183 isinf(0);
46184 ;
46185 return 0;
46186 }
46187 _ACEOF
46188 if ac_fn_cxx_try_compile "$LINENO"; then :
46189 glibcxx_cv_func_isinf_use=yes
46190 else
46191 glibcxx_cv_func_isinf_use=no
46192 fi
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194 ac_ext=c
46195 ac_cpp='$CPP $CPPFLAGS'
46196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46199
46200
46201 fi
46202
46203 fi
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46205 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46206
46207 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46208 for ac_func in isinf
46209 do :
46210 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46211 if test "x$ac_cv_func_isinf" = x""yes; then :
46212 cat >>confdefs.h <<_ACEOF
46213 #define HAVE_ISINF 1
46214 _ACEOF
46215
46216 fi
46217 done
46218
46219 else
46220
46221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46222 $as_echo_n "checking for _isinf declaration... " >&6; }
46223 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46224 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46225 $as_echo_n "(cached) " >&6
46226 else
46227
46228
46229 ac_ext=cpp
46230 ac_cpp='$CXXCPP $CPPFLAGS'
46231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46234
46235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46236 /* end confdefs.h. */
46237 #include <math.h>
46238 #ifdef HAVE_IEEEFP_H
46239 #include <ieeefp.h>
46240 #endif
46241
46242 int
46243 main ()
46244 {
46245 _isinf(0);
46246 ;
46247 return 0;
46248 }
46249 _ACEOF
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func__isinf_use=yes
46252 else
46253 glibcxx_cv_func__isinf_use=no
46254 fi
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46261
46262
46263 fi
46264
46265 fi
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46267 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46268
46269 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46270 for ac_func in _isinf
46271 do :
46272 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46273 if test "x$ac_cv_func__isinf" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE__ISINF 1
46276 _ACEOF
46277
46278 fi
46279 done
46280
46281 fi
46282 fi
46283
46284
46285
46286
46287
46288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46289 $as_echo_n "checking for isnan declaration... " >&6; }
46290 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46291 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46292 $as_echo_n "(cached) " >&6
46293 else
46294
46295
46296 ac_ext=cpp
46297 ac_cpp='$CXXCPP $CPPFLAGS'
46298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46301
46302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46303 /* end confdefs.h. */
46304 #include <math.h>
46305 #ifdef HAVE_IEEEFP_H
46306 #include <ieeefp.h>
46307 #endif
46308
46309 int
46310 main ()
46311 {
46312 isnan(0);
46313 ;
46314 return 0;
46315 }
46316 _ACEOF
46317 if ac_fn_cxx_try_compile "$LINENO"; then :
46318 glibcxx_cv_func_isnan_use=yes
46319 else
46320 glibcxx_cv_func_isnan_use=no
46321 fi
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 ac_ext=c
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46328
46329
46330 fi
46331
46332 fi
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46334 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46335
46336 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46337 for ac_func in isnan
46338 do :
46339 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46340 if test "x$ac_cv_func_isnan" = x""yes; then :
46341 cat >>confdefs.h <<_ACEOF
46342 #define HAVE_ISNAN 1
46343 _ACEOF
46344
46345 fi
46346 done
46347
46348 else
46349
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46351 $as_echo_n "checking for _isnan declaration... " >&6; }
46352 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46353 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46355 else
46356
46357
46358 ac_ext=cpp
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46363
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46366 #include <math.h>
46367 #ifdef HAVE_IEEEFP_H
46368 #include <ieeefp.h>
46369 #endif
46370
46371 int
46372 main ()
46373 {
46374 _isnan(0);
46375 ;
46376 return 0;
46377 }
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func__isnan_use=yes
46381 else
46382 glibcxx_cv_func__isnan_use=no
46383 fi
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46390
46391
46392 fi
46393
46394 fi
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46396 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46397
46398 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46399 for ac_func in _isnan
46400 do :
46401 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46402 if test "x$ac_cv_func__isnan" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE__ISNAN 1
46405 _ACEOF
46406
46407 fi
46408 done
46409
46410 fi
46411 fi
46412
46413
46414
46415
46416
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46418 $as_echo_n "checking for finite declaration... " >&6; }
46419 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46420 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46421 $as_echo_n "(cached) " >&6
46422 else
46423
46424
46425 ac_ext=cpp
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46430
46431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432 /* end confdefs.h. */
46433 #include <math.h>
46434 #ifdef HAVE_IEEEFP_H
46435 #include <ieeefp.h>
46436 #endif
46437
46438 int
46439 main ()
46440 {
46441 finite(0);
46442 ;
46443 return 0;
46444 }
46445 _ACEOF
46446 if ac_fn_cxx_try_compile "$LINENO"; then :
46447 glibcxx_cv_func_finite_use=yes
46448 else
46449 glibcxx_cv_func_finite_use=no
46450 fi
46451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46452 ac_ext=c
46453 ac_cpp='$CPP $CPPFLAGS'
46454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46457
46458
46459 fi
46460
46461 fi
46462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46463 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46464
46465 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46466 for ac_func in finite
46467 do :
46468 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46469 if test "x$ac_cv_func_finite" = x""yes; then :
46470 cat >>confdefs.h <<_ACEOF
46471 #define HAVE_FINITE 1
46472 _ACEOF
46473
46474 fi
46475 done
46476
46477 else
46478
46479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46480 $as_echo_n "checking for _finite declaration... " >&6; }
46481 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46482 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46483 $as_echo_n "(cached) " >&6
46484 else
46485
46486
46487 ac_ext=cpp
46488 ac_cpp='$CXXCPP $CPPFLAGS'
46489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46492
46493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46494 /* end confdefs.h. */
46495 #include <math.h>
46496 #ifdef HAVE_IEEEFP_H
46497 #include <ieeefp.h>
46498 #endif
46499
46500 int
46501 main ()
46502 {
46503 _finite(0);
46504 ;
46505 return 0;
46506 }
46507 _ACEOF
46508 if ac_fn_cxx_try_compile "$LINENO"; then :
46509 glibcxx_cv_func__finite_use=yes
46510 else
46511 glibcxx_cv_func__finite_use=no
46512 fi
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514 ac_ext=c
46515 ac_cpp='$CPP $CPPFLAGS'
46516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46519
46520
46521 fi
46522
46523 fi
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46525 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46526
46527 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46528 for ac_func in _finite
46529 do :
46530 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46531 if test "x$ac_cv_func__finite" = x""yes; then :
46532 cat >>confdefs.h <<_ACEOF
46533 #define HAVE__FINITE 1
46534 _ACEOF
46535
46536 fi
46537 done
46538
46539 fi
46540 fi
46541
46542
46543
46544
46545
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46547 $as_echo_n "checking for sincos declaration... " >&6; }
46548 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46549 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46550 $as_echo_n "(cached) " >&6
46551 else
46552
46553
46554 ac_ext=cpp
46555 ac_cpp='$CXXCPP $CPPFLAGS'
46556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46559
46560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46561 /* end confdefs.h. */
46562 #include <math.h>
46563 int
46564 main ()
46565 {
46566 sincos(0, 0, 0);
46567 ;
46568 return 0;
46569 }
46570 _ACEOF
46571 if ac_fn_cxx_try_compile "$LINENO"; then :
46572 glibcxx_cv_func_sincos_use=yes
46573 else
46574 glibcxx_cv_func_sincos_use=no
46575 fi
46576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46577 ac_ext=c
46578 ac_cpp='$CPP $CPPFLAGS'
46579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582
46583
46584 fi
46585
46586 fi
46587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46588 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46589
46590 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46591 for ac_func in sincos
46592 do :
46593 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46594 if test "x$ac_cv_func_sincos" = x""yes; then :
46595 cat >>confdefs.h <<_ACEOF
46596 #define HAVE_SINCOS 1
46597 _ACEOF
46598
46599 fi
46600 done
46601
46602 else
46603
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46605 $as_echo_n "checking for _sincos declaration... " >&6; }
46606 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46607 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46610
46611
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46621 int
46622 main ()
46623 {
46624 _sincos(0, 0, 0);
46625 ;
46626 return 0;
46627 }
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func__sincos_use=yes
46631 else
46632 glibcxx_cv_func__sincos_use=no
46633 fi
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640
46641
46642 fi
46643
46644 fi
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46646 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46647
46648 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46649 for ac_func in _sincos
46650 do :
46651 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46652 if test "x$ac_cv_func__sincos" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE__SINCOS 1
46655 _ACEOF
46656
46657 fi
46658 done
46659
46660 fi
46661 fi
46662
46663
46664
46665
46666
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46668 $as_echo_n "checking for fpclass declaration... " >&6; }
46669 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46670 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46671 $as_echo_n "(cached) " >&6
46672 else
46673
46674
46675 ac_ext=cpp
46676 ac_cpp='$CXXCPP $CPPFLAGS'
46677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46680
46681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46682 /* end confdefs.h. */
46683 #include <math.h>
46684 #ifdef HAVE_IEEEFP_H
46685 #include <ieeefp.h>
46686 #endif
46687
46688 int
46689 main ()
46690 {
46691 fpclass(0);
46692 ;
46693 return 0;
46694 }
46695 _ACEOF
46696 if ac_fn_cxx_try_compile "$LINENO"; then :
46697 glibcxx_cv_func_fpclass_use=yes
46698 else
46699 glibcxx_cv_func_fpclass_use=no
46700 fi
46701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46702 ac_ext=c
46703 ac_cpp='$CPP $CPPFLAGS'
46704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46707
46708
46709 fi
46710
46711 fi
46712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46713 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46714
46715 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46716 for ac_func in fpclass
46717 do :
46718 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46719 if test "x$ac_cv_func_fpclass" = x""yes; then :
46720 cat >>confdefs.h <<_ACEOF
46721 #define HAVE_FPCLASS 1
46722 _ACEOF
46723
46724 fi
46725 done
46726
46727 else
46728
46729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46730 $as_echo_n "checking for _fpclass declaration... " >&6; }
46731 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46732 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46733 $as_echo_n "(cached) " >&6
46734 else
46735
46736
46737 ac_ext=cpp
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46742
46743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h. */
46745 #include <math.h>
46746 #ifdef HAVE_IEEEFP_H
46747 #include <ieeefp.h>
46748 #endif
46749
46750 int
46751 main ()
46752 {
46753 _fpclass(0);
46754 ;
46755 return 0;
46756 }
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func__fpclass_use=yes
46760 else
46761 glibcxx_cv_func__fpclass_use=no
46762 fi
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46769
46770
46771 fi
46772
46773 fi
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46775 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46776
46777 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46778 for ac_func in _fpclass
46779 do :
46780 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46781 if test "x$ac_cv_func__fpclass" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE__FPCLASS 1
46784 _ACEOF
46785
46786 fi
46787 done
46788
46789 fi
46790 fi
46791
46792
46793
46794
46795
46796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46797 $as_echo_n "checking for qfpclass declaration... " >&6; }
46798 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46799 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46800 $as_echo_n "(cached) " >&6
46801 else
46802
46803
46804 ac_ext=cpp
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46809
46810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46811 /* end confdefs.h. */
46812 #include <math.h>
46813 #ifdef HAVE_IEEEFP_H
46814 #include <ieeefp.h>
46815 #endif
46816
46817 int
46818 main ()
46819 {
46820 qfpclass(0);
46821 ;
46822 return 0;
46823 }
46824 _ACEOF
46825 if ac_fn_cxx_try_compile "$LINENO"; then :
46826 glibcxx_cv_func_qfpclass_use=yes
46827 else
46828 glibcxx_cv_func_qfpclass_use=no
46829 fi
46830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46831 ac_ext=c
46832 ac_cpp='$CPP $CPPFLAGS'
46833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46836
46837
46838 fi
46839
46840 fi
46841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46842 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46843
46844 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46845 for ac_func in qfpclass
46846 do :
46847 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46848 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46849 cat >>confdefs.h <<_ACEOF
46850 #define HAVE_QFPCLASS 1
46851 _ACEOF
46852
46853 fi
46854 done
46855
46856 else
46857
46858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46859 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46860 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46861 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46862 $as_echo_n "(cached) " >&6
46863 else
46864
46865
46866 ac_ext=cpp
46867 ac_cpp='$CXXCPP $CPPFLAGS'
46868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46871
46872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46873 /* end confdefs.h. */
46874 #include <math.h>
46875 #ifdef HAVE_IEEEFP_H
46876 #include <ieeefp.h>
46877 #endif
46878
46879 int
46880 main ()
46881 {
46882 _qfpclass(0);
46883 ;
46884 return 0;
46885 }
46886 _ACEOF
46887 if ac_fn_cxx_try_compile "$LINENO"; then :
46888 glibcxx_cv_func__qfpclass_use=yes
46889 else
46890 glibcxx_cv_func__qfpclass_use=no
46891 fi
46892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46893 ac_ext=c
46894 ac_cpp='$CPP $CPPFLAGS'
46895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46898
46899
46900 fi
46901
46902 fi
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46904 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46905
46906 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46907 for ac_func in _qfpclass
46908 do :
46909 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46910 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46911 cat >>confdefs.h <<_ACEOF
46912 #define HAVE__QFPCLASS 1
46913 _ACEOF
46914
46915 fi
46916 done
46917
46918 fi
46919 fi
46920
46921
46922
46923
46924
46925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46926 $as_echo_n "checking for hypot declaration... " >&6; }
46927 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46928 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46929 $as_echo_n "(cached) " >&6
46930 else
46931
46932
46933 ac_ext=cpp
46934 ac_cpp='$CXXCPP $CPPFLAGS'
46935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46938
46939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46940 /* end confdefs.h. */
46941 #include <math.h>
46942 int
46943 main ()
46944 {
46945 hypot(0, 0);
46946 ;
46947 return 0;
46948 }
46949 _ACEOF
46950 if ac_fn_cxx_try_compile "$LINENO"; then :
46951 glibcxx_cv_func_hypot_use=yes
46952 else
46953 glibcxx_cv_func_hypot_use=no
46954 fi
46955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46956 ac_ext=c
46957 ac_cpp='$CPP $CPPFLAGS'
46958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961
46962
46963 fi
46964
46965 fi
46966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46967 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46968
46969 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46970 for ac_func in hypot
46971 do :
46972 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46973 if test "x$ac_cv_func_hypot" = x""yes; then :
46974 cat >>confdefs.h <<_ACEOF
46975 #define HAVE_HYPOT 1
46976 _ACEOF
46977
46978 fi
46979 done
46980
46981 else
46982
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46984 $as_echo_n "checking for _hypot declaration... " >&6; }
46985 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46986 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46988 else
46989
46990
46991 ac_ext=cpp
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
46999 #include <math.h>
47000 int
47001 main ()
47002 {
47003 _hypot(0, 0);
47004 ;
47005 return 0;
47006 }
47007 _ACEOF
47008 if ac_fn_cxx_try_compile "$LINENO"; then :
47009 glibcxx_cv_func__hypot_use=yes
47010 else
47011 glibcxx_cv_func__hypot_use=no
47012 fi
47013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47014 ac_ext=c
47015 ac_cpp='$CPP $CPPFLAGS'
47016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47019
47020
47021 fi
47022
47023 fi
47024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47025 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47026
47027 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47028 for ac_func in _hypot
47029 do :
47030 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47031 if test "x$ac_cv_func__hypot" = x""yes; then :
47032 cat >>confdefs.h <<_ACEOF
47033 #define HAVE__HYPOT 1
47034 _ACEOF
47035
47036 fi
47037 done
47038
47039 fi
47040 fi
47041
47042
47043
47044
47045
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47047 $as_echo_n "checking for float trig functions... " >&6; }
47048 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47050 else
47051
47052
47053 ac_ext=cpp
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47058
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47061 #include <math.h>
47062 int
47063 main ()
47064 {
47065 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47066 ;
47067 return 0;
47068 }
47069 _ACEOF
47070 if ac_fn_cxx_try_compile "$LINENO"; then :
47071 glibcxx_cv_func_float_trig_use=yes
47072 else
47073 glibcxx_cv_func_float_trig_use=no
47074 fi
47075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47076 ac_ext=c
47077 ac_cpp='$CPP $CPPFLAGS'
47078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47081
47082 fi
47083
47084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47085 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47086 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47087 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47088 do :
47089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47091 eval as_val=\$$as_ac_var
47092 if test "x$as_val" = x""yes; then :
47093 cat >>confdefs.h <<_ACEOF
47094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47095 _ACEOF
47096
47097 fi
47098 done
47099
47100 else
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47102 $as_echo_n "checking for _float trig functions... " >&6; }
47103 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47104 $as_echo_n "(cached) " >&6
47105 else
47106
47107
47108 ac_ext=cpp
47109 ac_cpp='$CXXCPP $CPPFLAGS'
47110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47113
47114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47115 /* end confdefs.h. */
47116 #include <math.h>
47117 int
47118 main ()
47119 {
47120 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47121 ;
47122 return 0;
47123 }
47124 _ACEOF
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126 glibcxx_cv_func__float_trig_use=yes
47127 else
47128 glibcxx_cv_func__float_trig_use=no
47129 fi
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47131 ac_ext=c
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47136
47137 fi
47138
47139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47140 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47141 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47142 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47143 do :
47144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47146 eval as_val=\$$as_ac_var
47147 if test "x$as_val" = x""yes; then :
47148 cat >>confdefs.h <<_ACEOF
47149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47150 _ACEOF
47151
47152 fi
47153 done
47154
47155 fi
47156 fi
47157
47158
47159
47160
47161
47162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47163 $as_echo_n "checking for float round functions... " >&6; }
47164 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47165 $as_echo_n "(cached) " >&6
47166 else
47167
47168
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <math.h>
47178 int
47179 main ()
47180 {
47181 ceilf (0); floorf (0);
47182 ;
47183 return 0;
47184 }
47185 _ACEOF
47186 if ac_fn_cxx_try_compile "$LINENO"; then :
47187 glibcxx_cv_func_float_round_use=yes
47188 else
47189 glibcxx_cv_func_float_round_use=no
47190 fi
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192 ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197
47198 fi
47199
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47201 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47202 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47203 for ac_func in ceilf floorf
47204 do :
47205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47207 eval as_val=\$$as_ac_var
47208 if test "x$as_val" = x""yes; then :
47209 cat >>confdefs.h <<_ACEOF
47210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47211 _ACEOF
47212
47213 fi
47214 done
47215
47216 else
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47218 $as_echo_n "checking for _float round functions... " >&6; }
47219 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47222
47223
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <math.h>
47233 int
47234 main ()
47235 {
47236 _ceilf (0); _floorf (0);
47237 ;
47238 return 0;
47239 }
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func__float_round_use=yes
47243 else
47244 glibcxx_cv_func__float_round_use=no
47245 fi
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47252
47253 fi
47254
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47256 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47257 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47258 for ac_func in _ceilf _floorf
47259 do :
47260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47262 eval as_val=\$$as_ac_var
47263 if test "x$as_val" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47266 _ACEOF
47267
47268 fi
47269 done
47270
47271 fi
47272 fi
47273
47274
47275
47276
47277
47278
47279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47280 $as_echo_n "checking for expf declaration... " >&6; }
47281 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47282 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47283 $as_echo_n "(cached) " >&6
47284 else
47285
47286
47287 ac_ext=cpp
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47292
47293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47294 /* end confdefs.h. */
47295 #include <math.h>
47296 #ifdef HAVE_IEEEFP_H
47297 #include <ieeefp.h>
47298 #endif
47299
47300 int
47301 main ()
47302 {
47303 expf(0);
47304 ;
47305 return 0;
47306 }
47307 _ACEOF
47308 if ac_fn_cxx_try_compile "$LINENO"; then :
47309 glibcxx_cv_func_expf_use=yes
47310 else
47311 glibcxx_cv_func_expf_use=no
47312 fi
47313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47314 ac_ext=c
47315 ac_cpp='$CPP $CPPFLAGS'
47316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47319
47320
47321 fi
47322
47323 fi
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47325 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47326
47327 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47328 for ac_func in expf
47329 do :
47330 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47331 if test "x$ac_cv_func_expf" = x""yes; then :
47332 cat >>confdefs.h <<_ACEOF
47333 #define HAVE_EXPF 1
47334 _ACEOF
47335
47336 fi
47337 done
47338
47339 else
47340
47341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47342 $as_echo_n "checking for _expf declaration... " >&6; }
47343 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47344 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47345 $as_echo_n "(cached) " >&6
47346 else
47347
47348
47349 ac_ext=cpp
47350 ac_cpp='$CXXCPP $CPPFLAGS'
47351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47354
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h. */
47357 #include <math.h>
47358 #ifdef HAVE_IEEEFP_H
47359 #include <ieeefp.h>
47360 #endif
47361
47362 int
47363 main ()
47364 {
47365 _expf(0);
47366 ;
47367 return 0;
47368 }
47369 _ACEOF
47370 if ac_fn_cxx_try_compile "$LINENO"; then :
47371 glibcxx_cv_func__expf_use=yes
47372 else
47373 glibcxx_cv_func__expf_use=no
47374 fi
47375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47376 ac_ext=c
47377 ac_cpp='$CPP $CPPFLAGS'
47378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47381
47382
47383 fi
47384
47385 fi
47386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47387 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47388
47389 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47390 for ac_func in _expf
47391 do :
47392 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47393 if test "x$ac_cv_func__expf" = x""yes; then :
47394 cat >>confdefs.h <<_ACEOF
47395 #define HAVE__EXPF 1
47396 _ACEOF
47397
47398 fi
47399 done
47400
47401 fi
47402 fi
47403
47404
47405
47406
47407
47408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47409 $as_echo_n "checking for isnanf declaration... " >&6; }
47410 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47411 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47412 $as_echo_n "(cached) " >&6
47413 else
47414
47415
47416 ac_ext=cpp
47417 ac_cpp='$CXXCPP $CPPFLAGS'
47418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47421
47422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47423 /* end confdefs.h. */
47424 #include <math.h>
47425 #ifdef HAVE_IEEEFP_H
47426 #include <ieeefp.h>
47427 #endif
47428
47429 int
47430 main ()
47431 {
47432 isnanf(0);
47433 ;
47434 return 0;
47435 }
47436 _ACEOF
47437 if ac_fn_cxx_try_compile "$LINENO"; then :
47438 glibcxx_cv_func_isnanf_use=yes
47439 else
47440 glibcxx_cv_func_isnanf_use=no
47441 fi
47442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47443 ac_ext=c
47444 ac_cpp='$CPP $CPPFLAGS'
47445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47448
47449
47450 fi
47451
47452 fi
47453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47454 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47455
47456 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47457 for ac_func in isnanf
47458 do :
47459 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47460 if test "x$ac_cv_func_isnanf" = x""yes; then :
47461 cat >>confdefs.h <<_ACEOF
47462 #define HAVE_ISNANF 1
47463 _ACEOF
47464
47465 fi
47466 done
47467
47468 else
47469
47470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47471 $as_echo_n "checking for _isnanf declaration... " >&6; }
47472 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47473 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47474 $as_echo_n "(cached) " >&6
47475 else
47476
47477
47478 ac_ext=cpp
47479 ac_cpp='$CXXCPP $CPPFLAGS'
47480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47483
47484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47485 /* end confdefs.h. */
47486 #include <math.h>
47487 #ifdef HAVE_IEEEFP_H
47488 #include <ieeefp.h>
47489 #endif
47490
47491 int
47492 main ()
47493 {
47494 _isnanf(0);
47495 ;
47496 return 0;
47497 }
47498 _ACEOF
47499 if ac_fn_cxx_try_compile "$LINENO"; then :
47500 glibcxx_cv_func__isnanf_use=yes
47501 else
47502 glibcxx_cv_func__isnanf_use=no
47503 fi
47504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47505 ac_ext=c
47506 ac_cpp='$CPP $CPPFLAGS'
47507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47510
47511
47512 fi
47513
47514 fi
47515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47516 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47517
47518 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47519 for ac_func in _isnanf
47520 do :
47521 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47522 if test "x$ac_cv_func__isnanf" = x""yes; then :
47523 cat >>confdefs.h <<_ACEOF
47524 #define HAVE__ISNANF 1
47525 _ACEOF
47526
47527 fi
47528 done
47529
47530 fi
47531 fi
47532
47533
47534
47535
47536
47537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47538 $as_echo_n "checking for isinff declaration... " >&6; }
47539 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47540 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47541 $as_echo_n "(cached) " >&6
47542 else
47543
47544
47545 ac_ext=cpp
47546 ac_cpp='$CXXCPP $CPPFLAGS'
47547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47550
47551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47552 /* end confdefs.h. */
47553 #include <math.h>
47554 #ifdef HAVE_IEEEFP_H
47555 #include <ieeefp.h>
47556 #endif
47557
47558 int
47559 main ()
47560 {
47561 isinff(0);
47562 ;
47563 return 0;
47564 }
47565 _ACEOF
47566 if ac_fn_cxx_try_compile "$LINENO"; then :
47567 glibcxx_cv_func_isinff_use=yes
47568 else
47569 glibcxx_cv_func_isinff_use=no
47570 fi
47571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47572 ac_ext=c
47573 ac_cpp='$CPP $CPPFLAGS'
47574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47577
47578
47579 fi
47580
47581 fi
47582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47583 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47584
47585 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47586 for ac_func in isinff
47587 do :
47588 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47589 if test "x$ac_cv_func_isinff" = x""yes; then :
47590 cat >>confdefs.h <<_ACEOF
47591 #define HAVE_ISINFF 1
47592 _ACEOF
47593
47594 fi
47595 done
47596
47597 else
47598
47599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47600 $as_echo_n "checking for _isinff declaration... " >&6; }
47601 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47602 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47603 $as_echo_n "(cached) " >&6
47604 else
47605
47606
47607 ac_ext=cpp
47608 ac_cpp='$CXXCPP $CPPFLAGS'
47609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47612
47613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47614 /* end confdefs.h. */
47615 #include <math.h>
47616 #ifdef HAVE_IEEEFP_H
47617 #include <ieeefp.h>
47618 #endif
47619
47620 int
47621 main ()
47622 {
47623 _isinff(0);
47624 ;
47625 return 0;
47626 }
47627 _ACEOF
47628 if ac_fn_cxx_try_compile "$LINENO"; then :
47629 glibcxx_cv_func__isinff_use=yes
47630 else
47631 glibcxx_cv_func__isinff_use=no
47632 fi
47633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47634 ac_ext=c
47635 ac_cpp='$CPP $CPPFLAGS'
47636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47639
47640
47641 fi
47642
47643 fi
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47645 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47646
47647 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47648 for ac_func in _isinff
47649 do :
47650 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47651 if test "x$ac_cv_func__isinff" = x""yes; then :
47652 cat >>confdefs.h <<_ACEOF
47653 #define HAVE__ISINFF 1
47654 _ACEOF
47655
47656 fi
47657 done
47658
47659 fi
47660 fi
47661
47662
47663
47664
47665
47666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47667 $as_echo_n "checking for atan2f declaration... " >&6; }
47668 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47669 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47670 $as_echo_n "(cached) " >&6
47671 else
47672
47673
47674 ac_ext=cpp
47675 ac_cpp='$CXXCPP $CPPFLAGS'
47676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47679
47680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47681 /* end confdefs.h. */
47682 #include <math.h>
47683 int
47684 main ()
47685 {
47686 atan2f(0, 0);
47687 ;
47688 return 0;
47689 }
47690 _ACEOF
47691 if ac_fn_cxx_try_compile "$LINENO"; then :
47692 glibcxx_cv_func_atan2f_use=yes
47693 else
47694 glibcxx_cv_func_atan2f_use=no
47695 fi
47696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47697 ac_ext=c
47698 ac_cpp='$CPP $CPPFLAGS'
47699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47702
47703
47704 fi
47705
47706 fi
47707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47708 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47709
47710 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47711 for ac_func in atan2f
47712 do :
47713 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47714 if test "x$ac_cv_func_atan2f" = x""yes; then :
47715 cat >>confdefs.h <<_ACEOF
47716 #define HAVE_ATAN2F 1
47717 _ACEOF
47718
47719 fi
47720 done
47721
47722 else
47723
47724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47725 $as_echo_n "checking for _atan2f declaration... " >&6; }
47726 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47727 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47728 $as_echo_n "(cached) " >&6
47729 else
47730
47731
47732 ac_ext=cpp
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47737
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 #include <math.h>
47741 int
47742 main ()
47743 {
47744 _atan2f(0, 0);
47745 ;
47746 return 0;
47747 }
47748 _ACEOF
47749 if ac_fn_cxx_try_compile "$LINENO"; then :
47750 glibcxx_cv_func__atan2f_use=yes
47751 else
47752 glibcxx_cv_func__atan2f_use=no
47753 fi
47754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47755 ac_ext=c
47756 ac_cpp='$CPP $CPPFLAGS'
47757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47760
47761
47762 fi
47763
47764 fi
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47766 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47767
47768 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47769 for ac_func in _atan2f
47770 do :
47771 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47772 if test "x$ac_cv_func__atan2f" = x""yes; then :
47773 cat >>confdefs.h <<_ACEOF
47774 #define HAVE__ATAN2F 1
47775 _ACEOF
47776
47777 fi
47778 done
47779
47780 fi
47781 fi
47782
47783
47784
47785
47786
47787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47788 $as_echo_n "checking for fabsf declaration... " >&6; }
47789 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47790 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47791 $as_echo_n "(cached) " >&6
47792 else
47793
47794
47795 ac_ext=cpp
47796 ac_cpp='$CXXCPP $CPPFLAGS'
47797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47800
47801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47802 /* end confdefs.h. */
47803 #include <math.h>
47804 #ifdef HAVE_IEEEFP_H
47805 #include <ieeefp.h>
47806 #endif
47807
47808 int
47809 main ()
47810 {
47811 fabsf(0);
47812 ;
47813 return 0;
47814 }
47815 _ACEOF
47816 if ac_fn_cxx_try_compile "$LINENO"; then :
47817 glibcxx_cv_func_fabsf_use=yes
47818 else
47819 glibcxx_cv_func_fabsf_use=no
47820 fi
47821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47822 ac_ext=c
47823 ac_cpp='$CPP $CPPFLAGS'
47824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47827
47828
47829 fi
47830
47831 fi
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47833 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47834
47835 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47836 for ac_func in fabsf
47837 do :
47838 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47839 if test "x$ac_cv_func_fabsf" = x""yes; then :
47840 cat >>confdefs.h <<_ACEOF
47841 #define HAVE_FABSF 1
47842 _ACEOF
47843
47844 fi
47845 done
47846
47847 else
47848
47849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47850 $as_echo_n "checking for _fabsf declaration... " >&6; }
47851 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47852 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47853 $as_echo_n "(cached) " >&6
47854 else
47855
47856
47857 ac_ext=cpp
47858 ac_cpp='$CXXCPP $CPPFLAGS'
47859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47862
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 #include <math.h>
47866 #ifdef HAVE_IEEEFP_H
47867 #include <ieeefp.h>
47868 #endif
47869
47870 int
47871 main ()
47872 {
47873 _fabsf(0);
47874 ;
47875 return 0;
47876 }
47877 _ACEOF
47878 if ac_fn_cxx_try_compile "$LINENO"; then :
47879 glibcxx_cv_func__fabsf_use=yes
47880 else
47881 glibcxx_cv_func__fabsf_use=no
47882 fi
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47884 ac_ext=c
47885 ac_cpp='$CPP $CPPFLAGS'
47886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47889
47890
47891 fi
47892
47893 fi
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47895 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47896
47897 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47898 for ac_func in _fabsf
47899 do :
47900 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47901 if test "x$ac_cv_func__fabsf" = x""yes; then :
47902 cat >>confdefs.h <<_ACEOF
47903 #define HAVE__FABSF 1
47904 _ACEOF
47905
47906 fi
47907 done
47908
47909 fi
47910 fi
47911
47912
47913
47914
47915
47916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47917 $as_echo_n "checking for fmodf declaration... " >&6; }
47918 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47919 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47920 $as_echo_n "(cached) " >&6
47921 else
47922
47923
47924 ac_ext=cpp
47925 ac_cpp='$CXXCPP $CPPFLAGS'
47926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47929
47930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47931 /* end confdefs.h. */
47932 #include <math.h>
47933 int
47934 main ()
47935 {
47936 fmodf(0, 0);
47937 ;
47938 return 0;
47939 }
47940 _ACEOF
47941 if ac_fn_cxx_try_compile "$LINENO"; then :
47942 glibcxx_cv_func_fmodf_use=yes
47943 else
47944 glibcxx_cv_func_fmodf_use=no
47945 fi
47946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47947 ac_ext=c
47948 ac_cpp='$CPP $CPPFLAGS'
47949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47952
47953
47954 fi
47955
47956 fi
47957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47958 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47959
47960 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47961 for ac_func in fmodf
47962 do :
47963 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47964 if test "x$ac_cv_func_fmodf" = x""yes; then :
47965 cat >>confdefs.h <<_ACEOF
47966 #define HAVE_FMODF 1
47967 _ACEOF
47968
47969 fi
47970 done
47971
47972 else
47973
47974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47975 $as_echo_n "checking for _fmodf declaration... " >&6; }
47976 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47977 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47978 $as_echo_n "(cached) " >&6
47979 else
47980
47981
47982 ac_ext=cpp
47983 ac_cpp='$CXXCPP $CPPFLAGS'
47984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987
47988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47989 /* end confdefs.h. */
47990 #include <math.h>
47991 int
47992 main ()
47993 {
47994 _fmodf(0, 0);
47995 ;
47996 return 0;
47997 }
47998 _ACEOF
47999 if ac_fn_cxx_try_compile "$LINENO"; then :
48000 glibcxx_cv_func__fmodf_use=yes
48001 else
48002 glibcxx_cv_func__fmodf_use=no
48003 fi
48004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48005 ac_ext=c
48006 ac_cpp='$CPP $CPPFLAGS'
48007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48010
48011
48012 fi
48013
48014 fi
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48016 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48017
48018 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48019 for ac_func in _fmodf
48020 do :
48021 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48022 if test "x$ac_cv_func__fmodf" = x""yes; then :
48023 cat >>confdefs.h <<_ACEOF
48024 #define HAVE__FMODF 1
48025 _ACEOF
48026
48027 fi
48028 done
48029
48030 fi
48031 fi
48032
48033
48034
48035
48036
48037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48038 $as_echo_n "checking for frexpf declaration... " >&6; }
48039 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48040 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48041 $as_echo_n "(cached) " >&6
48042 else
48043
48044
48045 ac_ext=cpp
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48050
48051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48052 /* end confdefs.h. */
48053 #include <math.h>
48054 int
48055 main ()
48056 {
48057 frexpf(0, 0);
48058 ;
48059 return 0;
48060 }
48061 _ACEOF
48062 if ac_fn_cxx_try_compile "$LINENO"; then :
48063 glibcxx_cv_func_frexpf_use=yes
48064 else
48065 glibcxx_cv_func_frexpf_use=no
48066 fi
48067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48068 ac_ext=c
48069 ac_cpp='$CPP $CPPFLAGS'
48070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48073
48074
48075 fi
48076
48077 fi
48078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48080
48081 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48082 for ac_func in frexpf
48083 do :
48084 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48085 if test "x$ac_cv_func_frexpf" = x""yes; then :
48086 cat >>confdefs.h <<_ACEOF
48087 #define HAVE_FREXPF 1
48088 _ACEOF
48089
48090 fi
48091 done
48092
48093 else
48094
48095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48096 $as_echo_n "checking for _frexpf declaration... " >&6; }
48097 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48098 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48099 $as_echo_n "(cached) " >&6
48100 else
48101
48102
48103 ac_ext=cpp
48104 ac_cpp='$CXXCPP $CPPFLAGS'
48105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48108
48109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48110 /* end confdefs.h. */
48111 #include <math.h>
48112 int
48113 main ()
48114 {
48115 _frexpf(0, 0);
48116 ;
48117 return 0;
48118 }
48119 _ACEOF
48120 if ac_fn_cxx_try_compile "$LINENO"; then :
48121 glibcxx_cv_func__frexpf_use=yes
48122 else
48123 glibcxx_cv_func__frexpf_use=no
48124 fi
48125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 ac_ext=c
48127 ac_cpp='$CPP $CPPFLAGS'
48128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48131
48132
48133 fi
48134
48135 fi
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48137 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48138
48139 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48140 for ac_func in _frexpf
48141 do :
48142 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48143 if test "x$ac_cv_func__frexpf" = x""yes; then :
48144 cat >>confdefs.h <<_ACEOF
48145 #define HAVE__FREXPF 1
48146 _ACEOF
48147
48148 fi
48149 done
48150
48151 fi
48152 fi
48153
48154
48155
48156
48157
48158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48159 $as_echo_n "checking for hypotf declaration... " >&6; }
48160 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48161 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48162 $as_echo_n "(cached) " >&6
48163 else
48164
48165
48166 ac_ext=cpp
48167 ac_cpp='$CXXCPP $CPPFLAGS'
48168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48171
48172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48173 /* end confdefs.h. */
48174 #include <math.h>
48175 int
48176 main ()
48177 {
48178 hypotf(0, 0);
48179 ;
48180 return 0;
48181 }
48182 _ACEOF
48183 if ac_fn_cxx_try_compile "$LINENO"; then :
48184 glibcxx_cv_func_hypotf_use=yes
48185 else
48186 glibcxx_cv_func_hypotf_use=no
48187 fi
48188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 ac_ext=c
48190 ac_cpp='$CPP $CPPFLAGS'
48191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48194
48195
48196 fi
48197
48198 fi
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48200 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48201
48202 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48203 for ac_func in hypotf
48204 do :
48205 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48206 if test "x$ac_cv_func_hypotf" = x""yes; then :
48207 cat >>confdefs.h <<_ACEOF
48208 #define HAVE_HYPOTF 1
48209 _ACEOF
48210
48211 fi
48212 done
48213
48214 else
48215
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48217 $as_echo_n "checking for _hypotf declaration... " >&6; }
48218 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48219 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48222
48223
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48229
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48233 int
48234 main ()
48235 {
48236 _hypotf(0, 0);
48237 ;
48238 return 0;
48239 }
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242 glibcxx_cv_func__hypotf_use=yes
48243 else
48244 glibcxx_cv_func__hypotf_use=no
48245 fi
48246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48247 ac_ext=c
48248 ac_cpp='$CPP $CPPFLAGS'
48249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252
48253
48254 fi
48255
48256 fi
48257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48258 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48259
48260 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48261 for ac_func in _hypotf
48262 do :
48263 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48264 if test "x$ac_cv_func__hypotf" = x""yes; then :
48265 cat >>confdefs.h <<_ACEOF
48266 #define HAVE__HYPOTF 1
48267 _ACEOF
48268
48269 fi
48270 done
48271
48272 fi
48273 fi
48274
48275
48276
48277
48278
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48280 $as_echo_n "checking for ldexpf declaration... " >&6; }
48281 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48282 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48283 $as_echo_n "(cached) " >&6
48284 else
48285
48286
48287 ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 #include <math.h>
48296 int
48297 main ()
48298 {
48299 ldexpf(0, 0);
48300 ;
48301 return 0;
48302 }
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func_ldexpf_use=yes
48306 else
48307 glibcxx_cv_func_ldexpf_use=no
48308 fi
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48315
48316
48317 fi
48318
48319 fi
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48321 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48322
48323 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48324 for ac_func in ldexpf
48325 do :
48326 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48327 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48328 cat >>confdefs.h <<_ACEOF
48329 #define HAVE_LDEXPF 1
48330 _ACEOF
48331
48332 fi
48333 done
48334
48335 else
48336
48337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48338 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48339 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48340 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48341 $as_echo_n "(cached) " >&6
48342 else
48343
48344
48345 ac_ext=cpp
48346 ac_cpp='$CXXCPP $CPPFLAGS'
48347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48350
48351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48352 /* end confdefs.h. */
48353 #include <math.h>
48354 int
48355 main ()
48356 {
48357 _ldexpf(0, 0);
48358 ;
48359 return 0;
48360 }
48361 _ACEOF
48362 if ac_fn_cxx_try_compile "$LINENO"; then :
48363 glibcxx_cv_func__ldexpf_use=yes
48364 else
48365 glibcxx_cv_func__ldexpf_use=no
48366 fi
48367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48368 ac_ext=c
48369 ac_cpp='$CPP $CPPFLAGS'
48370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373
48374
48375 fi
48376
48377 fi
48378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48379 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48380
48381 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48382 for ac_func in _ldexpf
48383 do :
48384 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48385 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48386 cat >>confdefs.h <<_ACEOF
48387 #define HAVE__LDEXPF 1
48388 _ACEOF
48389
48390 fi
48391 done
48392
48393 fi
48394 fi
48395
48396
48397
48398
48399
48400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48401 $as_echo_n "checking for logf declaration... " >&6; }
48402 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48403 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48404 $as_echo_n "(cached) " >&6
48405 else
48406
48407
48408 ac_ext=cpp
48409 ac_cpp='$CXXCPP $CPPFLAGS'
48410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48413
48414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48415 /* end confdefs.h. */
48416 #include <math.h>
48417 #ifdef HAVE_IEEEFP_H
48418 #include <ieeefp.h>
48419 #endif
48420
48421 int
48422 main ()
48423 {
48424 logf(0);
48425 ;
48426 return 0;
48427 }
48428 _ACEOF
48429 if ac_fn_cxx_try_compile "$LINENO"; then :
48430 glibcxx_cv_func_logf_use=yes
48431 else
48432 glibcxx_cv_func_logf_use=no
48433 fi
48434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48435 ac_ext=c
48436 ac_cpp='$CPP $CPPFLAGS'
48437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48440
48441
48442 fi
48443
48444 fi
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48446 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48447
48448 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48449 for ac_func in logf
48450 do :
48451 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48452 if test "x$ac_cv_func_logf" = x""yes; then :
48453 cat >>confdefs.h <<_ACEOF
48454 #define HAVE_LOGF 1
48455 _ACEOF
48456
48457 fi
48458 done
48459
48460 else
48461
48462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48463 $as_echo_n "checking for _logf declaration... " >&6; }
48464 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48465 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48466 $as_echo_n "(cached) " >&6
48467 else
48468
48469
48470 ac_ext=cpp
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475
48476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48477 /* end confdefs.h. */
48478 #include <math.h>
48479 #ifdef HAVE_IEEEFP_H
48480 #include <ieeefp.h>
48481 #endif
48482
48483 int
48484 main ()
48485 {
48486 _logf(0);
48487 ;
48488 return 0;
48489 }
48490 _ACEOF
48491 if ac_fn_cxx_try_compile "$LINENO"; then :
48492 glibcxx_cv_func__logf_use=yes
48493 else
48494 glibcxx_cv_func__logf_use=no
48495 fi
48496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48497 ac_ext=c
48498 ac_cpp='$CPP $CPPFLAGS'
48499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48502
48503
48504 fi
48505
48506 fi
48507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48508 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48509
48510 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48511 for ac_func in _logf
48512 do :
48513 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48514 if test "x$ac_cv_func__logf" = x""yes; then :
48515 cat >>confdefs.h <<_ACEOF
48516 #define HAVE__LOGF 1
48517 _ACEOF
48518
48519 fi
48520 done
48521
48522 fi
48523 fi
48524
48525
48526
48527
48528
48529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48530 $as_echo_n "checking for log10f declaration... " >&6; }
48531 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48532 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48533 $as_echo_n "(cached) " >&6
48534 else
48535
48536
48537 ac_ext=cpp
48538 ac_cpp='$CXXCPP $CPPFLAGS'
48539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48542
48543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48544 /* end confdefs.h. */
48545 #include <math.h>
48546 #ifdef HAVE_IEEEFP_H
48547 #include <ieeefp.h>
48548 #endif
48549
48550 int
48551 main ()
48552 {
48553 log10f(0);
48554 ;
48555 return 0;
48556 }
48557 _ACEOF
48558 if ac_fn_cxx_try_compile "$LINENO"; then :
48559 glibcxx_cv_func_log10f_use=yes
48560 else
48561 glibcxx_cv_func_log10f_use=no
48562 fi
48563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48564 ac_ext=c
48565 ac_cpp='$CPP $CPPFLAGS'
48566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569
48570
48571 fi
48572
48573 fi
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48575 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48576
48577 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48578 for ac_func in log10f
48579 do :
48580 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48581 if test "x$ac_cv_func_log10f" = x""yes; then :
48582 cat >>confdefs.h <<_ACEOF
48583 #define HAVE_LOG10F 1
48584 _ACEOF
48585
48586 fi
48587 done
48588
48589 else
48590
48591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48592 $as_echo_n "checking for _log10f declaration... " >&6; }
48593 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48594 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48595 $as_echo_n "(cached) " >&6
48596 else
48597
48598
48599 ac_ext=cpp
48600 ac_cpp='$CXXCPP $CPPFLAGS'
48601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48604
48605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48606 /* end confdefs.h. */
48607 #include <math.h>
48608 #ifdef HAVE_IEEEFP_H
48609 #include <ieeefp.h>
48610 #endif
48611
48612 int
48613 main ()
48614 {
48615 _log10f(0);
48616 ;
48617 return 0;
48618 }
48619 _ACEOF
48620 if ac_fn_cxx_try_compile "$LINENO"; then :
48621 glibcxx_cv_func__log10f_use=yes
48622 else
48623 glibcxx_cv_func__log10f_use=no
48624 fi
48625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48626 ac_ext=c
48627 ac_cpp='$CPP $CPPFLAGS'
48628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48631
48632
48633 fi
48634
48635 fi
48636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48637 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48638
48639 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48640 for ac_func in _log10f
48641 do :
48642 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48643 if test "x$ac_cv_func__log10f" = x""yes; then :
48644 cat >>confdefs.h <<_ACEOF
48645 #define HAVE__LOG10F 1
48646 _ACEOF
48647
48648 fi
48649 done
48650
48651 fi
48652 fi
48653
48654
48655
48656
48657
48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48659 $as_echo_n "checking for modff declaration... " >&6; }
48660 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48661 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48662 $as_echo_n "(cached) " >&6
48663 else
48664
48665
48666 ac_ext=cpp
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48671
48672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48673 /* end confdefs.h. */
48674 #include <math.h>
48675 int
48676 main ()
48677 {
48678 modff(0, 0);
48679 ;
48680 return 0;
48681 }
48682 _ACEOF
48683 if ac_fn_cxx_try_compile "$LINENO"; then :
48684 glibcxx_cv_func_modff_use=yes
48685 else
48686 glibcxx_cv_func_modff_use=no
48687 fi
48688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48689 ac_ext=c
48690 ac_cpp='$CPP $CPPFLAGS'
48691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48694
48695
48696 fi
48697
48698 fi
48699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48700 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48701
48702 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48703 for ac_func in modff
48704 do :
48705 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48706 if test "x$ac_cv_func_modff" = x""yes; then :
48707 cat >>confdefs.h <<_ACEOF
48708 #define HAVE_MODFF 1
48709 _ACEOF
48710
48711 fi
48712 done
48713
48714 else
48715
48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48717 $as_echo_n "checking for _modff declaration... " >&6; }
48718 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48719 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48720 $as_echo_n "(cached) " >&6
48721 else
48722
48723
48724 ac_ext=cpp
48725 ac_cpp='$CXXCPP $CPPFLAGS'
48726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48729
48730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48731 /* end confdefs.h. */
48732 #include <math.h>
48733 int
48734 main ()
48735 {
48736 _modff(0, 0);
48737 ;
48738 return 0;
48739 }
48740 _ACEOF
48741 if ac_fn_cxx_try_compile "$LINENO"; then :
48742 glibcxx_cv_func__modff_use=yes
48743 else
48744 glibcxx_cv_func__modff_use=no
48745 fi
48746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48747 ac_ext=c
48748 ac_cpp='$CPP $CPPFLAGS'
48749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752
48753
48754 fi
48755
48756 fi
48757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48758 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48759
48760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48761 for ac_func in _modff
48762 do :
48763 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48764 if test "x$ac_cv_func__modff" = x""yes; then :
48765 cat >>confdefs.h <<_ACEOF
48766 #define HAVE__MODFF 1
48767 _ACEOF
48768
48769 fi
48770 done
48771
48772 fi
48773 fi
48774
48775
48776
48777
48778
48779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48780 $as_echo_n "checking for modf declaration... " >&6; }
48781 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48782 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48783 $as_echo_n "(cached) " >&6
48784 else
48785
48786
48787 ac_ext=cpp
48788 ac_cpp='$CXXCPP $CPPFLAGS'
48789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48792
48793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48794 /* end confdefs.h. */
48795 #include <math.h>
48796 int
48797 main ()
48798 {
48799 modf(0, 0);
48800 ;
48801 return 0;
48802 }
48803 _ACEOF
48804 if ac_fn_cxx_try_compile "$LINENO"; then :
48805 glibcxx_cv_func_modf_use=yes
48806 else
48807 glibcxx_cv_func_modf_use=no
48808 fi
48809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48810 ac_ext=c
48811 ac_cpp='$CPP $CPPFLAGS'
48812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48815
48816
48817 fi
48818
48819 fi
48820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48821 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48822
48823 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48824 for ac_func in modf
48825 do :
48826 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48827 if test "x$ac_cv_func_modf" = x""yes; then :
48828 cat >>confdefs.h <<_ACEOF
48829 #define HAVE_MODF 1
48830 _ACEOF
48831
48832 fi
48833 done
48834
48835 else
48836
48837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48838 $as_echo_n "checking for _modf declaration... " >&6; }
48839 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48840 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48841 $as_echo_n "(cached) " >&6
48842 else
48843
48844
48845 ac_ext=cpp
48846 ac_cpp='$CXXCPP $CPPFLAGS'
48847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48850
48851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48852 /* end confdefs.h. */
48853 #include <math.h>
48854 int
48855 main ()
48856 {
48857 _modf(0, 0);
48858 ;
48859 return 0;
48860 }
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__modf_use=yes
48864 else
48865 glibcxx_cv_func__modf_use=no
48866 fi
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873
48874
48875 fi
48876
48877 fi
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48879 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48880
48881 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48882 for ac_func in _modf
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48885 if test "x$ac_cv_func__modf" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__MODF 1
48888 _ACEOF
48889
48890 fi
48891 done
48892
48893 fi
48894 fi
48895
48896
48897
48898
48899
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48901 $as_echo_n "checking for powf declaration... " >&6; }
48902 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48903 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48906
48907
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48917 int
48918 main ()
48919 {
48920 powf(0, 0);
48921 ;
48922 return 0;
48923 }
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_powf_use=yes
48927 else
48928 glibcxx_cv_func_powf_use=no
48929 fi
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48936
48937
48938 fi
48939
48940 fi
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48942 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48943
48944 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48945 for ac_func in powf
48946 do :
48947 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48948 if test "x$ac_cv_func_powf" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_POWF 1
48951 _ACEOF
48952
48953 fi
48954 done
48955
48956 else
48957
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48959 $as_echo_n "checking for _powf declaration... " >&6; }
48960 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48961 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48964
48965
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48975 int
48976 main ()
48977 {
48978 _powf(0, 0);
48979 ;
48980 return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func__powf_use=yes
48985 else
48986 glibcxx_cv_func__powf_use=no
48987 fi
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994
48995
48996 fi
48997
48998 fi
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49000 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49001
49002 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49003 for ac_func in _powf
49004 do :
49005 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49006 if test "x$ac_cv_func__powf" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE__POWF 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014 fi
49015 fi
49016
49017
49018
49019
49020
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49022 $as_echo_n "checking for sqrtf declaration... " >&6; }
49023 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49024 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49027
49028
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49041
49042 int
49043 main ()
49044 {
49045 sqrtf(0);
49046 ;
49047 return 0;
49048 }
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_sqrtf_use=yes
49052 else
49053 glibcxx_cv_func_sqrtf_use=no
49054 fi
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061
49062
49063 fi
49064
49065 fi
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49067 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49068
49069 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49070 for ac_func in sqrtf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49073 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_SQRTF 1
49076 _ACEOF
49077
49078 fi
49079 done
49080
49081 else
49082
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49084 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49089
49090
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49100 #ifdef HAVE_IEEEFP_H
49101 #include <ieeefp.h>
49102 #endif
49103
49104 int
49105 main ()
49106 {
49107 _sqrtf(0);
49108 ;
49109 return 0;
49110 }
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__sqrtf_use=yes
49114 else
49115 glibcxx_cv_func__sqrtf_use=no
49116 fi
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49123
49124
49125 fi
49126
49127 fi
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49129 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49130
49131 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49132 for ac_func in _sqrtf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49135 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__SQRTF 1
49138 _ACEOF
49139
49140 fi
49141 done
49142
49143 fi
49144 fi
49145
49146
49147
49148
49149
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49151 $as_echo_n "checking for sincosf declaration... " >&6; }
49152 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49153 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49156
49157
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49167 int
49168 main ()
49169 {
49170 sincosf(0, 0, 0);
49171 ;
49172 return 0;
49173 }
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_sincosf_use=yes
49177 else
49178 glibcxx_cv_func_sincosf_use=no
49179 fi
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186
49187
49188 fi
49189
49190 fi
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49192 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49193
49194 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49195 for ac_func in sincosf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49198 if test "x$ac_cv_func_sincosf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_SINCOSF 1
49201 _ACEOF
49202
49203 fi
49204 done
49205
49206 else
49207
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49209 $as_echo_n "checking for _sincosf declaration... " >&6; }
49210 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49211 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49214
49215
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49225 int
49226 main ()
49227 {
49228 _sincosf(0, 0, 0);
49229 ;
49230 return 0;
49231 }
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__sincosf_use=yes
49235 else
49236 glibcxx_cv_func__sincosf_use=no
49237 fi
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244
49245
49246 fi
49247
49248 fi
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49250 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49251
49252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49253 for ac_func in _sincosf
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49256 if test "x$ac_cv_func__sincosf" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__SINCOSF 1
49259 _ACEOF
49260
49261 fi
49262 done
49263
49264 fi
49265 fi
49266
49267
49268
49269
49270
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49272 $as_echo_n "checking for finitef declaration... " >&6; }
49273 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49274 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49277
49278
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49288 #ifdef HAVE_IEEEFP_H
49289 #include <ieeefp.h>
49290 #endif
49291
49292 int
49293 main ()
49294 {
49295 finitef(0);
49296 ;
49297 return 0;
49298 }
49299 _ACEOF
49300 if ac_fn_cxx_try_compile "$LINENO"; then :
49301 glibcxx_cv_func_finitef_use=yes
49302 else
49303 glibcxx_cv_func_finitef_use=no
49304 fi
49305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49306 ac_ext=c
49307 ac_cpp='$CPP $CPPFLAGS'
49308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49311
49312
49313 fi
49314
49315 fi
49316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49317 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49318
49319 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49320 for ac_func in finitef
49321 do :
49322 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49323 if test "x$ac_cv_func_finitef" = x""yes; then :
49324 cat >>confdefs.h <<_ACEOF
49325 #define HAVE_FINITEF 1
49326 _ACEOF
49327
49328 fi
49329 done
49330
49331 else
49332
49333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49334 $as_echo_n "checking for _finitef declaration... " >&6; }
49335 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49336 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49337 $as_echo_n "(cached) " >&6
49338 else
49339
49340
49341 ac_ext=cpp
49342 ac_cpp='$CXXCPP $CPPFLAGS'
49343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49346
49347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49348 /* end confdefs.h. */
49349 #include <math.h>
49350 #ifdef HAVE_IEEEFP_H
49351 #include <ieeefp.h>
49352 #endif
49353
49354 int
49355 main ()
49356 {
49357 _finitef(0);
49358 ;
49359 return 0;
49360 }
49361 _ACEOF
49362 if ac_fn_cxx_try_compile "$LINENO"; then :
49363 glibcxx_cv_func__finitef_use=yes
49364 else
49365 glibcxx_cv_func__finitef_use=no
49366 fi
49367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49368 ac_ext=c
49369 ac_cpp='$CPP $CPPFLAGS'
49370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49373
49374
49375 fi
49376
49377 fi
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49379 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49380
49381 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49382 for ac_func in _finitef
49383 do :
49384 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49385 if test "x$ac_cv_func__finitef" = x""yes; then :
49386 cat >>confdefs.h <<_ACEOF
49387 #define HAVE__FINITEF 1
49388 _ACEOF
49389
49390 fi
49391 done
49392
49393 fi
49394 fi
49395
49396
49397
49398
49399
49400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49401 $as_echo_n "checking for long double trig functions... " >&6; }
49402 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49403 $as_echo_n "(cached) " >&6
49404 else
49405
49406
49407 ac_ext=cpp
49408 ac_cpp='$CXXCPP $CPPFLAGS'
49409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49412
49413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49414 /* end confdefs.h. */
49415 #include <math.h>
49416 int
49417 main ()
49418 {
49419 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49420 ;
49421 return 0;
49422 }
49423 _ACEOF
49424 if ac_fn_cxx_try_compile "$LINENO"; then :
49425 glibcxx_cv_func_long_double_trig_use=yes
49426 else
49427 glibcxx_cv_func_long_double_trig_use=no
49428 fi
49429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49430 ac_ext=c
49431 ac_cpp='$CPP $CPPFLAGS'
49432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49435
49436 fi
49437
49438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49439 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49440 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49441 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49442 do :
49443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49445 eval as_val=\$$as_ac_var
49446 if test "x$as_val" = x""yes; then :
49447 cat >>confdefs.h <<_ACEOF
49448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49449 _ACEOF
49450
49451 fi
49452 done
49453
49454 else
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49456 $as_echo_n "checking for _long double trig functions... " >&6; }
49457 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49458 $as_echo_n "(cached) " >&6
49459 else
49460
49461
49462 ac_ext=cpp
49463 ac_cpp='$CXXCPP $CPPFLAGS'
49464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49467
49468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49469 /* end confdefs.h. */
49470 #include <math.h>
49471 int
49472 main ()
49473 {
49474 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49475 ;
49476 return 0;
49477 }
49478 _ACEOF
49479 if ac_fn_cxx_try_compile "$LINENO"; then :
49480 glibcxx_cv_func__long_double_trig_use=yes
49481 else
49482 glibcxx_cv_func__long_double_trig_use=no
49483 fi
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49485 ac_ext=c
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490
49491 fi
49492
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49494 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49495 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49496 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49497 do :
49498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49500 eval as_val=\$$as_ac_var
49501 if test "x$as_val" = x""yes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49504 _ACEOF
49505
49506 fi
49507 done
49508
49509 fi
49510 fi
49511
49512
49513
49514
49515
49516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49517 $as_echo_n "checking for long double round functions... " >&6; }
49518 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49519 $as_echo_n "(cached) " >&6
49520 else
49521
49522
49523 ac_ext=cpp
49524 ac_cpp='$CXXCPP $CPPFLAGS'
49525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49528
49529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49530 /* end confdefs.h. */
49531 #include <math.h>
49532 int
49533 main ()
49534 {
49535 ceill (0); floorl (0);
49536 ;
49537 return 0;
49538 }
49539 _ACEOF
49540 if ac_fn_cxx_try_compile "$LINENO"; then :
49541 glibcxx_cv_func_long_double_round_use=yes
49542 else
49543 glibcxx_cv_func_long_double_round_use=no
49544 fi
49545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49546 ac_ext=c
49547 ac_cpp='$CPP $CPPFLAGS'
49548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49551
49552 fi
49553
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49555 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49556 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49557 for ac_func in ceill floorl
49558 do :
49559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49561 eval as_val=\$$as_ac_var
49562 if test "x$as_val" = x""yes; then :
49563 cat >>confdefs.h <<_ACEOF
49564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49566
49567 fi
49568 done
49569
49570 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49572 $as_echo_n "checking for _long double round functions... " >&6; }
49573 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49576
49577
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49583
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 int
49588 main ()
49589 {
49590 _ceill (0); _floorl (0);
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__long_double_round_use=yes
49597 else
49598 glibcxx_cv_func__long_double_round_use=no
49599 fi
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49606
49607 fi
49608
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49610 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49611 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49612 for ac_func in _ceill _floorl
49613 do :
49614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49616 eval as_val=\$$as_ac_var
49617 if test "x$as_val" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625 fi
49626 fi
49627
49628
49629
49630
49631
49632
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49634 $as_echo_n "checking for isnanl declaration... " >&6; }
49635 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49636 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49639
49640
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49653
49654 int
49655 main ()
49656 {
49657 isnanl(0);
49658 ;
49659 return 0;
49660 }
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func_isnanl_use=yes
49664 else
49665 glibcxx_cv_func_isnanl_use=no
49666 fi
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673
49674
49675 fi
49676
49677 fi
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49679 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49680
49681 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49682 for ac_func in isnanl
49683 do :
49684 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49685 if test "x$ac_cv_func_isnanl" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE_ISNANL 1
49688 _ACEOF
49689
49690 fi
49691 done
49692
49693 else
49694
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49696 $as_echo_n "checking for _isnanl declaration... " >&6; }
49697 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49698 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49701
49702
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49708
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49712 #ifdef HAVE_IEEEFP_H
49713 #include <ieeefp.h>
49714 #endif
49715
49716 int
49717 main ()
49718 {
49719 _isnanl(0);
49720 ;
49721 return 0;
49722 }
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func__isnanl_use=yes
49726 else
49727 glibcxx_cv_func__isnanl_use=no
49728 fi
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49735
49736
49737 fi
49738
49739 fi
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49741 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49742
49743 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49744 for ac_func in _isnanl
49745 do :
49746 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49747 if test "x$ac_cv_func__isnanl" = x""yes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE__ISNANL 1
49750 _ACEOF
49751
49752 fi
49753 done
49754
49755 fi
49756 fi
49757
49758
49759
49760
49761
49762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49763 $as_echo_n "checking for isinfl declaration... " >&6; }
49764 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49765 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49766 $as_echo_n "(cached) " >&6
49767 else
49768
49769
49770 ac_ext=cpp
49771 ac_cpp='$CXXCPP $CPPFLAGS'
49772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49775
49776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49777 /* end confdefs.h. */
49778 #include <math.h>
49779 #ifdef HAVE_IEEEFP_H
49780 #include <ieeefp.h>
49781 #endif
49782
49783 int
49784 main ()
49785 {
49786 isinfl(0);
49787 ;
49788 return 0;
49789 }
49790 _ACEOF
49791 if ac_fn_cxx_try_compile "$LINENO"; then :
49792 glibcxx_cv_func_isinfl_use=yes
49793 else
49794 glibcxx_cv_func_isinfl_use=no
49795 fi
49796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49797 ac_ext=c
49798 ac_cpp='$CPP $CPPFLAGS'
49799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49802
49803
49804 fi
49805
49806 fi
49807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49808 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49809
49810 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49811 for ac_func in isinfl
49812 do :
49813 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49814 if test "x$ac_cv_func_isinfl" = x""yes; then :
49815 cat >>confdefs.h <<_ACEOF
49816 #define HAVE_ISINFL 1
49817 _ACEOF
49818
49819 fi
49820 done
49821
49822 else
49823
49824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49825 $as_echo_n "checking for _isinfl declaration... " >&6; }
49826 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49827 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49828 $as_echo_n "(cached) " >&6
49829 else
49830
49831
49832 ac_ext=cpp
49833 ac_cpp='$CXXCPP $CPPFLAGS'
49834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49837
49838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49839 /* end confdefs.h. */
49840 #include <math.h>
49841 #ifdef HAVE_IEEEFP_H
49842 #include <ieeefp.h>
49843 #endif
49844
49845 int
49846 main ()
49847 {
49848 _isinfl(0);
49849 ;
49850 return 0;
49851 }
49852 _ACEOF
49853 if ac_fn_cxx_try_compile "$LINENO"; then :
49854 glibcxx_cv_func__isinfl_use=yes
49855 else
49856 glibcxx_cv_func__isinfl_use=no
49857 fi
49858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49859 ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49864
49865
49866 fi
49867
49868 fi
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49870 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49871
49872 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49873 for ac_func in _isinfl
49874 do :
49875 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49876 if test "x$ac_cv_func__isinfl" = x""yes; then :
49877 cat >>confdefs.h <<_ACEOF
49878 #define HAVE__ISINFL 1
49879 _ACEOF
49880
49881 fi
49882 done
49883
49884 fi
49885 fi
49886
49887
49888
49889
49890
49891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49892 $as_echo_n "checking for atan2l declaration... " >&6; }
49893 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49894 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49895 $as_echo_n "(cached) " >&6
49896 else
49897
49898
49899 ac_ext=cpp
49900 ac_cpp='$CXXCPP $CPPFLAGS'
49901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49904
49905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49906 /* end confdefs.h. */
49907 #include <math.h>
49908 int
49909 main ()
49910 {
49911 atan2l(0, 0);
49912 ;
49913 return 0;
49914 }
49915 _ACEOF
49916 if ac_fn_cxx_try_compile "$LINENO"; then :
49917 glibcxx_cv_func_atan2l_use=yes
49918 else
49919 glibcxx_cv_func_atan2l_use=no
49920 fi
49921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49922 ac_ext=c
49923 ac_cpp='$CPP $CPPFLAGS'
49924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49927
49928
49929 fi
49930
49931 fi
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49933 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49934
49935 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49936 for ac_func in atan2l
49937 do :
49938 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49939 if test "x$ac_cv_func_atan2l" = x""yes; then :
49940 cat >>confdefs.h <<_ACEOF
49941 #define HAVE_ATAN2L 1
49942 _ACEOF
49943
49944 fi
49945 done
49946
49947 else
49948
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49950 $as_echo_n "checking for _atan2l declaration... " >&6; }
49951 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49952 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49955
49956
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49962
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49966 int
49967 main ()
49968 {
49969 _atan2l(0, 0);
49970 ;
49971 return 0;
49972 }
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func__atan2l_use=yes
49976 else
49977 glibcxx_cv_func__atan2l_use=no
49978 fi
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985
49986
49987 fi
49988
49989 fi
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49991 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49992
49993 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49994 for ac_func in _atan2l
49995 do :
49996 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49997 if test "x$ac_cv_func__atan2l" = x""yes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE__ATAN2L 1
50000 _ACEOF
50001
50002 fi
50003 done
50004
50005 fi
50006 fi
50007
50008
50009
50010
50011
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50013 $as_echo_n "checking for expl declaration... " >&6; }
50014 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50015 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50016 $as_echo_n "(cached) " >&6
50017 else
50018
50019
50020 ac_ext=cpp
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50025
50026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50027 /* end confdefs.h. */
50028 #include <math.h>
50029 #ifdef HAVE_IEEEFP_H
50030 #include <ieeefp.h>
50031 #endif
50032
50033 int
50034 main ()
50035 {
50036 expl(0);
50037 ;
50038 return 0;
50039 }
50040 _ACEOF
50041 if ac_fn_cxx_try_compile "$LINENO"; then :
50042 glibcxx_cv_func_expl_use=yes
50043 else
50044 glibcxx_cv_func_expl_use=no
50045 fi
50046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50047 ac_ext=c
50048 ac_cpp='$CPP $CPPFLAGS'
50049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50052
50053
50054 fi
50055
50056 fi
50057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50058 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50059
50060 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50061 for ac_func in expl
50062 do :
50063 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50064 if test "x$ac_cv_func_expl" = x""yes; then :
50065 cat >>confdefs.h <<_ACEOF
50066 #define HAVE_EXPL 1
50067 _ACEOF
50068
50069 fi
50070 done
50071
50072 else
50073
50074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50075 $as_echo_n "checking for _expl declaration... " >&6; }
50076 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50077 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50078 $as_echo_n "(cached) " >&6
50079 else
50080
50081
50082 ac_ext=cpp
50083 ac_cpp='$CXXCPP $CPPFLAGS'
50084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50087
50088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50089 /* end confdefs.h. */
50090 #include <math.h>
50091 #ifdef HAVE_IEEEFP_H
50092 #include <ieeefp.h>
50093 #endif
50094
50095 int
50096 main ()
50097 {
50098 _expl(0);
50099 ;
50100 return 0;
50101 }
50102 _ACEOF
50103 if ac_fn_cxx_try_compile "$LINENO"; then :
50104 glibcxx_cv_func__expl_use=yes
50105 else
50106 glibcxx_cv_func__expl_use=no
50107 fi
50108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50109 ac_ext=c
50110 ac_cpp='$CPP $CPPFLAGS'
50111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50114
50115
50116 fi
50117
50118 fi
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50120 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50121
50122 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50123 for ac_func in _expl
50124 do :
50125 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50126 if test "x$ac_cv_func__expl" = x""yes; then :
50127 cat >>confdefs.h <<_ACEOF
50128 #define HAVE__EXPL 1
50129 _ACEOF
50130
50131 fi
50132 done
50133
50134 fi
50135 fi
50136
50137
50138
50139
50140
50141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50142 $as_echo_n "checking for fabsl declaration... " >&6; }
50143 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50144 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50145 $as_echo_n "(cached) " >&6
50146 else
50147
50148
50149 ac_ext=cpp
50150 ac_cpp='$CXXCPP $CPPFLAGS'
50151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50154
50155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50156 /* end confdefs.h. */
50157 #include <math.h>
50158 #ifdef HAVE_IEEEFP_H
50159 #include <ieeefp.h>
50160 #endif
50161
50162 int
50163 main ()
50164 {
50165 fabsl(0);
50166 ;
50167 return 0;
50168 }
50169 _ACEOF
50170 if ac_fn_cxx_try_compile "$LINENO"; then :
50171 glibcxx_cv_func_fabsl_use=yes
50172 else
50173 glibcxx_cv_func_fabsl_use=no
50174 fi
50175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50176 ac_ext=c
50177 ac_cpp='$CPP $CPPFLAGS'
50178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50181
50182
50183 fi
50184
50185 fi
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50187 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50188
50189 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50190 for ac_func in fabsl
50191 do :
50192 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50193 if test "x$ac_cv_func_fabsl" = x""yes; then :
50194 cat >>confdefs.h <<_ACEOF
50195 #define HAVE_FABSL 1
50196 _ACEOF
50197
50198 fi
50199 done
50200
50201 else
50202
50203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50204 $as_echo_n "checking for _fabsl declaration... " >&6; }
50205 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50206 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50207 $as_echo_n "(cached) " >&6
50208 else
50209
50210
50211 ac_ext=cpp
50212 ac_cpp='$CXXCPP $CPPFLAGS'
50213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50216
50217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50218 /* end confdefs.h. */
50219 #include <math.h>
50220 #ifdef HAVE_IEEEFP_H
50221 #include <ieeefp.h>
50222 #endif
50223
50224 int
50225 main ()
50226 {
50227 _fabsl(0);
50228 ;
50229 return 0;
50230 }
50231 _ACEOF
50232 if ac_fn_cxx_try_compile "$LINENO"; then :
50233 glibcxx_cv_func__fabsl_use=yes
50234 else
50235 glibcxx_cv_func__fabsl_use=no
50236 fi
50237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50238 ac_ext=c
50239 ac_cpp='$CPP $CPPFLAGS'
50240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50243
50244
50245 fi
50246
50247 fi
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50249 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50250
50251 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50252 for ac_func in _fabsl
50253 do :
50254 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50255 if test "x$ac_cv_func__fabsl" = x""yes; then :
50256 cat >>confdefs.h <<_ACEOF
50257 #define HAVE__FABSL 1
50258 _ACEOF
50259
50260 fi
50261 done
50262
50263 fi
50264 fi
50265
50266
50267
50268
50269
50270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50271 $as_echo_n "checking for fmodl declaration... " >&6; }
50272 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50273 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50274 $as_echo_n "(cached) " >&6
50275 else
50276
50277
50278 ac_ext=cpp
50279 ac_cpp='$CXXCPP $CPPFLAGS'
50280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50283
50284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50285 /* end confdefs.h. */
50286 #include <math.h>
50287 int
50288 main ()
50289 {
50290 fmodl(0, 0);
50291 ;
50292 return 0;
50293 }
50294 _ACEOF
50295 if ac_fn_cxx_try_compile "$LINENO"; then :
50296 glibcxx_cv_func_fmodl_use=yes
50297 else
50298 glibcxx_cv_func_fmodl_use=no
50299 fi
50300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50301 ac_ext=c
50302 ac_cpp='$CPP $CPPFLAGS'
50303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50306
50307
50308 fi
50309
50310 fi
50311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50312 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50313
50314 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50315 for ac_func in fmodl
50316 do :
50317 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50318 if test "x$ac_cv_func_fmodl" = x""yes; then :
50319 cat >>confdefs.h <<_ACEOF
50320 #define HAVE_FMODL 1
50321 _ACEOF
50322
50323 fi
50324 done
50325
50326 else
50327
50328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50329 $as_echo_n "checking for _fmodl declaration... " >&6; }
50330 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50331 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50332 $as_echo_n "(cached) " >&6
50333 else
50334
50335
50336 ac_ext=cpp
50337 ac_cpp='$CXXCPP $CPPFLAGS'
50338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50341
50342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50343 /* end confdefs.h. */
50344 #include <math.h>
50345 int
50346 main ()
50347 {
50348 _fmodl(0, 0);
50349 ;
50350 return 0;
50351 }
50352 _ACEOF
50353 if ac_fn_cxx_try_compile "$LINENO"; then :
50354 glibcxx_cv_func__fmodl_use=yes
50355 else
50356 glibcxx_cv_func__fmodl_use=no
50357 fi
50358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50359 ac_ext=c
50360 ac_cpp='$CPP $CPPFLAGS'
50361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50364
50365
50366 fi
50367
50368 fi
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50370 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50371
50372 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50373 for ac_func in _fmodl
50374 do :
50375 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50376 if test "x$ac_cv_func__fmodl" = x""yes; then :
50377 cat >>confdefs.h <<_ACEOF
50378 #define HAVE__FMODL 1
50379 _ACEOF
50380
50381 fi
50382 done
50383
50384 fi
50385 fi
50386
50387
50388
50389
50390
50391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50392 $as_echo_n "checking for frexpl declaration... " >&6; }
50393 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50394 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50395 $as_echo_n "(cached) " >&6
50396 else
50397
50398
50399 ac_ext=cpp
50400 ac_cpp='$CXXCPP $CPPFLAGS'
50401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404
50405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50406 /* end confdefs.h. */
50407 #include <math.h>
50408 int
50409 main ()
50410 {
50411 frexpl(0, 0);
50412 ;
50413 return 0;
50414 }
50415 _ACEOF
50416 if ac_fn_cxx_try_compile "$LINENO"; then :
50417 glibcxx_cv_func_frexpl_use=yes
50418 else
50419 glibcxx_cv_func_frexpl_use=no
50420 fi
50421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50422 ac_ext=c
50423 ac_cpp='$CPP $CPPFLAGS'
50424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50427
50428
50429 fi
50430
50431 fi
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50433 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50434
50435 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50436 for ac_func in frexpl
50437 do :
50438 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50439 if test "x$ac_cv_func_frexpl" = x""yes; then :
50440 cat >>confdefs.h <<_ACEOF
50441 #define HAVE_FREXPL 1
50442 _ACEOF
50443
50444 fi
50445 done
50446
50447 else
50448
50449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50450 $as_echo_n "checking for _frexpl declaration... " >&6; }
50451 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50452 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50453 $as_echo_n "(cached) " >&6
50454 else
50455
50456
50457 ac_ext=cpp
50458 ac_cpp='$CXXCPP $CPPFLAGS'
50459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50462
50463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50464 /* end confdefs.h. */
50465 #include <math.h>
50466 int
50467 main ()
50468 {
50469 _frexpl(0, 0);
50470 ;
50471 return 0;
50472 }
50473 _ACEOF
50474 if ac_fn_cxx_try_compile "$LINENO"; then :
50475 glibcxx_cv_func__frexpl_use=yes
50476 else
50477 glibcxx_cv_func__frexpl_use=no
50478 fi
50479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50480 ac_ext=c
50481 ac_cpp='$CPP $CPPFLAGS'
50482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50485
50486
50487 fi
50488
50489 fi
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50491 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50492
50493 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50494 for ac_func in _frexpl
50495 do :
50496 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50497 if test "x$ac_cv_func__frexpl" = x""yes; then :
50498 cat >>confdefs.h <<_ACEOF
50499 #define HAVE__FREXPL 1
50500 _ACEOF
50501
50502 fi
50503 done
50504
50505 fi
50506 fi
50507
50508
50509
50510
50511
50512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50513 $as_echo_n "checking for hypotl declaration... " >&6; }
50514 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50515 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50516 $as_echo_n "(cached) " >&6
50517 else
50518
50519
50520 ac_ext=cpp
50521 ac_cpp='$CXXCPP $CPPFLAGS'
50522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50525
50526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50527 /* end confdefs.h. */
50528 #include <math.h>
50529 int
50530 main ()
50531 {
50532 hypotl(0, 0);
50533 ;
50534 return 0;
50535 }
50536 _ACEOF
50537 if ac_fn_cxx_try_compile "$LINENO"; then :
50538 glibcxx_cv_func_hypotl_use=yes
50539 else
50540 glibcxx_cv_func_hypotl_use=no
50541 fi
50542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50543 ac_ext=c
50544 ac_cpp='$CPP $CPPFLAGS'
50545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50548
50549
50550 fi
50551
50552 fi
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50554 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50555
50556 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50557 for ac_func in hypotl
50558 do :
50559 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50560 if test "x$ac_cv_func_hypotl" = x""yes; then :
50561 cat >>confdefs.h <<_ACEOF
50562 #define HAVE_HYPOTL 1
50563 _ACEOF
50564
50565 fi
50566 done
50567
50568 else
50569
50570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50571 $as_echo_n "checking for _hypotl declaration... " >&6; }
50572 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50573 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50574 $as_echo_n "(cached) " >&6
50575 else
50576
50577
50578 ac_ext=cpp
50579 ac_cpp='$CXXCPP $CPPFLAGS'
50580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50583
50584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50585 /* end confdefs.h. */
50586 #include <math.h>
50587 int
50588 main ()
50589 {
50590 _hypotl(0, 0);
50591 ;
50592 return 0;
50593 }
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596 glibcxx_cv_func__hypotl_use=yes
50597 else
50598 glibcxx_cv_func__hypotl_use=no
50599 fi
50600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50601 ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606
50607
50608 fi
50609
50610 fi
50611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50612 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50613
50614 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50615 for ac_func in _hypotl
50616 do :
50617 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50618 if test "x$ac_cv_func__hypotl" = x""yes; then :
50619 cat >>confdefs.h <<_ACEOF
50620 #define HAVE__HYPOTL 1
50621 _ACEOF
50622
50623 fi
50624 done
50625
50626 fi
50627 fi
50628
50629
50630
50631
50632
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50634 $as_echo_n "checking for ldexpl declaration... " >&6; }
50635 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50636 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50639
50640
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50650 int
50651 main ()
50652 {
50653 ldexpl(0, 0);
50654 ;
50655 return 0;
50656 }
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func_ldexpl_use=yes
50660 else
50661 glibcxx_cv_func_ldexpl_use=no
50662 fi
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669
50670
50671 fi
50672
50673 fi
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50675 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50676
50677 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50678 for ac_func in ldexpl
50679 do :
50680 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50681 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50682 cat >>confdefs.h <<_ACEOF
50683 #define HAVE_LDEXPL 1
50684 _ACEOF
50685
50686 fi
50687 done
50688
50689 else
50690
50691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50692 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50693 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50694 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50695 $as_echo_n "(cached) " >&6
50696 else
50697
50698
50699 ac_ext=cpp
50700 ac_cpp='$CXXCPP $CPPFLAGS'
50701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50704
50705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50706 /* end confdefs.h. */
50707 #include <math.h>
50708 int
50709 main ()
50710 {
50711 _ldexpl(0, 0);
50712 ;
50713 return 0;
50714 }
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func__ldexpl_use=yes
50718 else
50719 glibcxx_cv_func__ldexpl_use=no
50720 fi
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727
50728
50729 fi
50730
50731 fi
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50733 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50734
50735 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50736 for ac_func in _ldexpl
50737 do :
50738 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50739 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE__LDEXPL 1
50742 _ACEOF
50743
50744 fi
50745 done
50746
50747 fi
50748 fi
50749
50750
50751
50752
50753
50754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50755 $as_echo_n "checking for logl declaration... " >&6; }
50756 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50757 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50758 $as_echo_n "(cached) " >&6
50759 else
50760
50761
50762 ac_ext=cpp
50763 ac_cpp='$CXXCPP $CPPFLAGS'
50764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50767
50768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50769 /* end confdefs.h. */
50770 #include <math.h>
50771 #ifdef HAVE_IEEEFP_H
50772 #include <ieeefp.h>
50773 #endif
50774
50775 int
50776 main ()
50777 {
50778 logl(0);
50779 ;
50780 return 0;
50781 }
50782 _ACEOF
50783 if ac_fn_cxx_try_compile "$LINENO"; then :
50784 glibcxx_cv_func_logl_use=yes
50785 else
50786 glibcxx_cv_func_logl_use=no
50787 fi
50788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50789 ac_ext=c
50790 ac_cpp='$CPP $CPPFLAGS'
50791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50794
50795
50796 fi
50797
50798 fi
50799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50800 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50801
50802 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50803 for ac_func in logl
50804 do :
50805 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50806 if test "x$ac_cv_func_logl" = x""yes; then :
50807 cat >>confdefs.h <<_ACEOF
50808 #define HAVE_LOGL 1
50809 _ACEOF
50810
50811 fi
50812 done
50813
50814 else
50815
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50817 $as_echo_n "checking for _logl declaration... " >&6; }
50818 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50819 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50820 $as_echo_n "(cached) " >&6
50821 else
50822
50823
50824 ac_ext=cpp
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50829
50830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50831 /* end confdefs.h. */
50832 #include <math.h>
50833 #ifdef HAVE_IEEEFP_H
50834 #include <ieeefp.h>
50835 #endif
50836
50837 int
50838 main ()
50839 {
50840 _logl(0);
50841 ;
50842 return 0;
50843 }
50844 _ACEOF
50845 if ac_fn_cxx_try_compile "$LINENO"; then :
50846 glibcxx_cv_func__logl_use=yes
50847 else
50848 glibcxx_cv_func__logl_use=no
50849 fi
50850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50851 ac_ext=c
50852 ac_cpp='$CPP $CPPFLAGS'
50853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50856
50857
50858 fi
50859
50860 fi
50861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50862 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50863
50864 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50865 for ac_func in _logl
50866 do :
50867 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50868 if test "x$ac_cv_func__logl" = x""yes; then :
50869 cat >>confdefs.h <<_ACEOF
50870 #define HAVE__LOGL 1
50871 _ACEOF
50872
50873 fi
50874 done
50875
50876 fi
50877 fi
50878
50879
50880
50881
50882
50883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50884 $as_echo_n "checking for log10l declaration... " >&6; }
50885 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50886 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50887 $as_echo_n "(cached) " >&6
50888 else
50889
50890
50891 ac_ext=cpp
50892 ac_cpp='$CXXCPP $CPPFLAGS'
50893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50896
50897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50898 /* end confdefs.h. */
50899 #include <math.h>
50900 #ifdef HAVE_IEEEFP_H
50901 #include <ieeefp.h>
50902 #endif
50903
50904 int
50905 main ()
50906 {
50907 log10l(0);
50908 ;
50909 return 0;
50910 }
50911 _ACEOF
50912 if ac_fn_cxx_try_compile "$LINENO"; then :
50913 glibcxx_cv_func_log10l_use=yes
50914 else
50915 glibcxx_cv_func_log10l_use=no
50916 fi
50917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50918 ac_ext=c
50919 ac_cpp='$CPP $CPPFLAGS'
50920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50923
50924
50925 fi
50926
50927 fi
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50929 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50930
50931 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50932 for ac_func in log10l
50933 do :
50934 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50935 if test "x$ac_cv_func_log10l" = x""yes; then :
50936 cat >>confdefs.h <<_ACEOF
50937 #define HAVE_LOG10L 1
50938 _ACEOF
50939
50940 fi
50941 done
50942
50943 else
50944
50945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50946 $as_echo_n "checking for _log10l declaration... " >&6; }
50947 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50948 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50949 $as_echo_n "(cached) " >&6
50950 else
50951
50952
50953 ac_ext=cpp
50954 ac_cpp='$CXXCPP $CPPFLAGS'
50955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50958
50959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50960 /* end confdefs.h. */
50961 #include <math.h>
50962 #ifdef HAVE_IEEEFP_H
50963 #include <ieeefp.h>
50964 #endif
50965
50966 int
50967 main ()
50968 {
50969 _log10l(0);
50970 ;
50971 return 0;
50972 }
50973 _ACEOF
50974 if ac_fn_cxx_try_compile "$LINENO"; then :
50975 glibcxx_cv_func__log10l_use=yes
50976 else
50977 glibcxx_cv_func__log10l_use=no
50978 fi
50979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50980 ac_ext=c
50981 ac_cpp='$CPP $CPPFLAGS'
50982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50985
50986
50987 fi
50988
50989 fi
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50991 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50992
50993 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50994 for ac_func in _log10l
50995 do :
50996 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50997 if test "x$ac_cv_func__log10l" = x""yes; then :
50998 cat >>confdefs.h <<_ACEOF
50999 #define HAVE__LOG10L 1
51000 _ACEOF
51001
51002 fi
51003 done
51004
51005 fi
51006 fi
51007
51008
51009
51010
51011
51012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51013 $as_echo_n "checking for modfl declaration... " >&6; }
51014 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51015 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51016 $as_echo_n "(cached) " >&6
51017 else
51018
51019
51020 ac_ext=cpp
51021 ac_cpp='$CXXCPP $CPPFLAGS'
51022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51025
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51028 #include <math.h>
51029 int
51030 main ()
51031 {
51032 modfl(0, 0);
51033 ;
51034 return 0;
51035 }
51036 _ACEOF
51037 if ac_fn_cxx_try_compile "$LINENO"; then :
51038 glibcxx_cv_func_modfl_use=yes
51039 else
51040 glibcxx_cv_func_modfl_use=no
51041 fi
51042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51043 ac_ext=c
51044 ac_cpp='$CPP $CPPFLAGS'
51045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51048
51049
51050 fi
51051
51052 fi
51053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51054 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51055
51056 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51057 for ac_func in modfl
51058 do :
51059 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51060 if test "x$ac_cv_func_modfl" = x""yes; then :
51061 cat >>confdefs.h <<_ACEOF
51062 #define HAVE_MODFL 1
51063 _ACEOF
51064
51065 fi
51066 done
51067
51068 else
51069
51070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51071 $as_echo_n "checking for _modfl declaration... " >&6; }
51072 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51073 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51076
51077
51078 ac_ext=cpp
51079 ac_cpp='$CXXCPP $CPPFLAGS'
51080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51083
51084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51085 /* end confdefs.h. */
51086 #include <math.h>
51087 int
51088 main ()
51089 {
51090 _modfl(0, 0);
51091 ;
51092 return 0;
51093 }
51094 _ACEOF
51095 if ac_fn_cxx_try_compile "$LINENO"; then :
51096 glibcxx_cv_func__modfl_use=yes
51097 else
51098 glibcxx_cv_func__modfl_use=no
51099 fi
51100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51101 ac_ext=c
51102 ac_cpp='$CPP $CPPFLAGS'
51103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51106
51107
51108 fi
51109
51110 fi
51111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51112 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51113
51114 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51115 for ac_func in _modfl
51116 do :
51117 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51118 if test "x$ac_cv_func__modfl" = x""yes; then :
51119 cat >>confdefs.h <<_ACEOF
51120 #define HAVE__MODFL 1
51121 _ACEOF
51122
51123 fi
51124 done
51125
51126 fi
51127 fi
51128
51129
51130
51131
51132
51133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51134 $as_echo_n "checking for powl declaration... " >&6; }
51135 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51136 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51137 $as_echo_n "(cached) " >&6
51138 else
51139
51140
51141 ac_ext=cpp
51142 ac_cpp='$CXXCPP $CPPFLAGS'
51143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51146
51147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51148 /* end confdefs.h. */
51149 #include <math.h>
51150 int
51151 main ()
51152 {
51153 powl(0, 0);
51154 ;
51155 return 0;
51156 }
51157 _ACEOF
51158 if ac_fn_cxx_try_compile "$LINENO"; then :
51159 glibcxx_cv_func_powl_use=yes
51160 else
51161 glibcxx_cv_func_powl_use=no
51162 fi
51163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51164 ac_ext=c
51165 ac_cpp='$CPP $CPPFLAGS'
51166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51169
51170
51171 fi
51172
51173 fi
51174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51175 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51176
51177 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51178 for ac_func in powl
51179 do :
51180 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51181 if test "x$ac_cv_func_powl" = x""yes; then :
51182 cat >>confdefs.h <<_ACEOF
51183 #define HAVE_POWL 1
51184 _ACEOF
51185
51186 fi
51187 done
51188
51189 else
51190
51191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51192 $as_echo_n "checking for _powl declaration... " >&6; }
51193 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51194 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51195 $as_echo_n "(cached) " >&6
51196 else
51197
51198
51199 ac_ext=cpp
51200 ac_cpp='$CXXCPP $CPPFLAGS'
51201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51204
51205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51206 /* end confdefs.h. */
51207 #include <math.h>
51208 int
51209 main ()
51210 {
51211 _powl(0, 0);
51212 ;
51213 return 0;
51214 }
51215 _ACEOF
51216 if ac_fn_cxx_try_compile "$LINENO"; then :
51217 glibcxx_cv_func__powl_use=yes
51218 else
51219 glibcxx_cv_func__powl_use=no
51220 fi
51221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51222 ac_ext=c
51223 ac_cpp='$CPP $CPPFLAGS'
51224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51227
51228
51229 fi
51230
51231 fi
51232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51233 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51234
51235 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51236 for ac_func in _powl
51237 do :
51238 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51239 if test "x$ac_cv_func__powl" = x""yes; then :
51240 cat >>confdefs.h <<_ACEOF
51241 #define HAVE__POWL 1
51242 _ACEOF
51243
51244 fi
51245 done
51246
51247 fi
51248 fi
51249
51250
51251
51252
51253
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51255 $as_echo_n "checking for sqrtl declaration... " >&6; }
51256 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51257 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51258 $as_echo_n "(cached) " >&6
51259 else
51260
51261
51262 ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51267
51268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h. */
51270 #include <math.h>
51271 #ifdef HAVE_IEEEFP_H
51272 #include <ieeefp.h>
51273 #endif
51274
51275 int
51276 main ()
51277 {
51278 sqrtl(0);
51279 ;
51280 return 0;
51281 }
51282 _ACEOF
51283 if ac_fn_cxx_try_compile "$LINENO"; then :
51284 glibcxx_cv_func_sqrtl_use=yes
51285 else
51286 glibcxx_cv_func_sqrtl_use=no
51287 fi
51288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51289 ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294
51295
51296 fi
51297
51298 fi
51299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51300 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51301
51302 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51303 for ac_func in sqrtl
51304 do :
51305 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51306 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51307 cat >>confdefs.h <<_ACEOF
51308 #define HAVE_SQRTL 1
51309 _ACEOF
51310
51311 fi
51312 done
51313
51314 else
51315
51316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51317 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51318 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51319 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51320 $as_echo_n "(cached) " >&6
51321 else
51322
51323
51324 ac_ext=cpp
51325 ac_cpp='$CXXCPP $CPPFLAGS'
51326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329
51330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51331 /* end confdefs.h. */
51332 #include <math.h>
51333 #ifdef HAVE_IEEEFP_H
51334 #include <ieeefp.h>
51335 #endif
51336
51337 int
51338 main ()
51339 {
51340 _sqrtl(0);
51341 ;
51342 return 0;
51343 }
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346 glibcxx_cv_func__sqrtl_use=yes
51347 else
51348 glibcxx_cv_func__sqrtl_use=no
51349 fi
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356
51357
51358 fi
51359
51360 fi
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51362 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51363
51364 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51365 for ac_func in _sqrtl
51366 do :
51367 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51368 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51369 cat >>confdefs.h <<_ACEOF
51370 #define HAVE__SQRTL 1
51371 _ACEOF
51372
51373 fi
51374 done
51375
51376 fi
51377 fi
51378
51379
51380
51381
51382
51383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51384 $as_echo_n "checking for sincosl declaration... " >&6; }
51385 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51386 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51387 $as_echo_n "(cached) " >&6
51388 else
51389
51390
51391 ac_ext=cpp
51392 ac_cpp='$CXXCPP $CPPFLAGS'
51393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51396
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 #include <math.h>
51400 int
51401 main ()
51402 {
51403 sincosl(0, 0, 0);
51404 ;
51405 return 0;
51406 }
51407 _ACEOF
51408 if ac_fn_cxx_try_compile "$LINENO"; then :
51409 glibcxx_cv_func_sincosl_use=yes
51410 else
51411 glibcxx_cv_func_sincosl_use=no
51412 fi
51413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51414 ac_ext=c
51415 ac_cpp='$CPP $CPPFLAGS'
51416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51419
51420
51421 fi
51422
51423 fi
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51425 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51426
51427 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51428 for ac_func in sincosl
51429 do :
51430 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51431 if test "x$ac_cv_func_sincosl" = x""yes; then :
51432 cat >>confdefs.h <<_ACEOF
51433 #define HAVE_SINCOSL 1
51434 _ACEOF
51435
51436 fi
51437 done
51438
51439 else
51440
51441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51442 $as_echo_n "checking for _sincosl declaration... " >&6; }
51443 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51444 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51445 $as_echo_n "(cached) " >&6
51446 else
51447
51448
51449 ac_ext=cpp
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51454
51455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51456 /* end confdefs.h. */
51457 #include <math.h>
51458 int
51459 main ()
51460 {
51461 _sincosl(0, 0, 0);
51462 ;
51463 return 0;
51464 }
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467 glibcxx_cv_func__sincosl_use=yes
51468 else
51469 glibcxx_cv_func__sincosl_use=no
51470 fi
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51477
51478
51479 fi
51480
51481 fi
51482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51483 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51484
51485 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51486 for ac_func in _sincosl
51487 do :
51488 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51489 if test "x$ac_cv_func__sincosl" = x""yes; then :
51490 cat >>confdefs.h <<_ACEOF
51491 #define HAVE__SINCOSL 1
51492 _ACEOF
51493
51494 fi
51495 done
51496
51497 fi
51498 fi
51499
51500
51501
51502
51503
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51505 $as_echo_n "checking for finitel declaration... " >&6; }
51506 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51507 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51510
51511
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51521 #ifdef HAVE_IEEEFP_H
51522 #include <ieeefp.h>
51523 #endif
51524
51525 int
51526 main ()
51527 {
51528 finitel(0);
51529 ;
51530 return 0;
51531 }
51532 _ACEOF
51533 if ac_fn_cxx_try_compile "$LINENO"; then :
51534 glibcxx_cv_func_finitel_use=yes
51535 else
51536 glibcxx_cv_func_finitel_use=no
51537 fi
51538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51539 ac_ext=c
51540 ac_cpp='$CPP $CPPFLAGS'
51541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544
51545
51546 fi
51547
51548 fi
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51550 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51551
51552 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51553 for ac_func in finitel
51554 do :
51555 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51556 if test "x$ac_cv_func_finitel" = x""yes; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define HAVE_FINITEL 1
51559 _ACEOF
51560
51561 fi
51562 done
51563
51564 else
51565
51566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51567 $as_echo_n "checking for _finitel declaration... " >&6; }
51568 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51569 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51570 $as_echo_n "(cached) " >&6
51571 else
51572
51573
51574 ac_ext=cpp
51575 ac_cpp='$CXXCPP $CPPFLAGS'
51576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51579
51580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51581 /* end confdefs.h. */
51582 #include <math.h>
51583 #ifdef HAVE_IEEEFP_H
51584 #include <ieeefp.h>
51585 #endif
51586
51587 int
51588 main ()
51589 {
51590 _finitel(0);
51591 ;
51592 return 0;
51593 }
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func__finitel_use=yes
51597 else
51598 glibcxx_cv_func__finitel_use=no
51599 fi
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51606
51607
51608 fi
51609
51610 fi
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51612 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51613
51614 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51615 for ac_func in _finitel
51616 do :
51617 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51618 if test "x$ac_cv_func__finitel" = x""yes; then :
51619 cat >>confdefs.h <<_ACEOF
51620 #define HAVE__FINITEL 1
51621 _ACEOF
51622
51623 fi
51624 done
51625
51626 fi
51627 fi
51628
51629
51630
51631
51632 LIBS="$ac_save_LIBS"
51633 CXXFLAGS="$ac_save_CXXFLAGS"
51634
51635
51636 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51637 ac_save_CXXFLAGS="$CXXFLAGS"
51638 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51639
51640
51641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51642 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51643 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51644 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51645 $as_echo_n "(cached) " >&6
51646 else
51647
51648
51649 ac_ext=cpp
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51654
51655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51656 /* end confdefs.h. */
51657 #include <stdlib.h>
51658 int
51659 main ()
51660 {
51661 at_quick_exit(0);
51662 ;
51663 return 0;
51664 }
51665 _ACEOF
51666 if ac_fn_cxx_try_compile "$LINENO"; then :
51667 glibcxx_cv_func_at_quick_exit_use=yes
51668 else
51669 glibcxx_cv_func_at_quick_exit_use=no
51670 fi
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672 ac_ext=c
51673 ac_cpp='$CPP $CPPFLAGS'
51674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51677
51678
51679 fi
51680
51681 fi
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51683 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51684 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51685 for ac_func in at_quick_exit
51686 do :
51687 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51688 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51689 cat >>confdefs.h <<_ACEOF
51690 #define HAVE_AT_QUICK_EXIT 1
51691 _ACEOF
51692
51693 fi
51694 done
51695
51696 fi
51697
51698
51699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51700 $as_echo_n "checking for quick_exit declaration... " >&6; }
51701 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51702 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51703 $as_echo_n "(cached) " >&6
51704 else
51705
51706
51707 ac_ext=cpp
51708 ac_cpp='$CXXCPP $CPPFLAGS'
51709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51712
51713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51714 /* end confdefs.h. */
51715 #include <stdlib.h>
51716 int
51717 main ()
51718 {
51719 quick_exit(0);
51720 ;
51721 return 0;
51722 }
51723 _ACEOF
51724 if ac_fn_cxx_try_compile "$LINENO"; then :
51725 glibcxx_cv_func_quick_exit_use=yes
51726 else
51727 glibcxx_cv_func_quick_exit_use=no
51728 fi
51729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51730 ac_ext=c
51731 ac_cpp='$CPP $CPPFLAGS'
51732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51735
51736
51737 fi
51738
51739 fi
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51741 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51742 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51743 for ac_func in quick_exit
51744 do :
51745 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51746 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51747 cat >>confdefs.h <<_ACEOF
51748 #define HAVE_QUICK_EXIT 1
51749 _ACEOF
51750
51751 fi
51752 done
51753
51754 fi
51755
51756
51757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51758 $as_echo_n "checking for strtold declaration... " >&6; }
51759 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51760 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51761 $as_echo_n "(cached) " >&6
51762 else
51763
51764
51765 ac_ext=cpp
51766 ac_cpp='$CXXCPP $CPPFLAGS'
51767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51770
51771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51772 /* end confdefs.h. */
51773 #include <stdlib.h>
51774 int
51775 main ()
51776 {
51777 strtold(0, 0);
51778 ;
51779 return 0;
51780 }
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func_strtold_use=yes
51784 else
51785 glibcxx_cv_func_strtold_use=no
51786 fi
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51793
51794
51795 fi
51796
51797 fi
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51799 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51800 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51801 for ac_func in strtold
51802 do :
51803 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51804 if test "x$ac_cv_func_strtold" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE_STRTOLD 1
51807 _ACEOF
51808
51809 fi
51810 done
51811
51812 fi
51813
51814
51815
51816
51817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51818 $as_echo_n "checking for strtof declaration... " >&6; }
51819 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51820 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51821 $as_echo_n "(cached) " >&6
51822 else
51823
51824
51825 ac_ext=cpp
51826 ac_cpp='$CXXCPP $CPPFLAGS'
51827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51830
51831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51832 /* end confdefs.h. */
51833 #include <stdlib.h>
51834 int
51835 main ()
51836 {
51837 strtof(0, 0);
51838 ;
51839 return 0;
51840 }
51841 _ACEOF
51842 if ac_fn_cxx_try_compile "$LINENO"; then :
51843 glibcxx_cv_func_strtof_use=yes
51844 else
51845 glibcxx_cv_func_strtof_use=no
51846 fi
51847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51848 ac_ext=c
51849 ac_cpp='$CPP $CPPFLAGS'
51850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51853
51854
51855 fi
51856
51857 fi
51858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51859 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51860 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51861 for ac_func in strtof
51862 do :
51863 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51864 if test "x$ac_cv_func_strtof" = x""yes; then :
51865 cat >>confdefs.h <<_ACEOF
51866 #define HAVE_STRTOF 1
51867 _ACEOF
51868
51869 fi
51870 done
51871
51872 fi
51873
51874
51875
51876
51877 CXXFLAGS="$ac_save_CXXFLAGS"
51878
51879 ;;
51880
51881 *djgpp)
51882 # GLIBCXX_CHECK_MATH_SUPPORT
51883 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51884
51885 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51886
51887 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51888
51889 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51890
51891 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51892
51893 ;;
51894
51895 *-freebsd*)
51896 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51897
51898
51899 # If we're not using GNU ld, then there's no point in even trying these
51900 # tests. Check for that first. We should have already tested for gld
51901 # by now (in libtool), but require it now just to be safe...
51902 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51903 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51904
51905
51906
51907 # The name set by libtool depends on the version of libtool. Shame on us
51908 # for depending on an impl detail, but c'est la vie. Older versions used
51909 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51910 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51911 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51912 # set (hence we're using an older libtool), then set it.
51913 if test x${with_gnu_ld+set} != xset; then
51914 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51915 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51916 with_gnu_ld=no
51917 else
51918 with_gnu_ld=$ac_cv_prog_gnu_ld
51919 fi
51920 fi
51921
51922 # Start by getting the version number. I think the libtool test already
51923 # does some of this, but throws away the result.
51924 glibcxx_ld_is_gold=no
51925 if test x"$with_gnu_ld" = x"yes"; then
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51927 $as_echo_n "checking for ld version... " >&6; }
51928
51929 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51930 glibcxx_ld_is_gold=yes
51931 fi
51932 ldver=`$LD --version 2>/dev/null |
51933 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'`
51934
51935 glibcxx_gnu_ld_version=`echo $ldver | \
51936 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51938 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51939 fi
51940
51941 # Set --gc-sections.
51942 glibcxx_have_gc_sections=no
51943 if test "$glibcxx_ld_is_gold" = "yes"; then
51944 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51945 glibcxx_have_gc_sections=yes
51946 fi
51947 else
51948 glibcxx_gcsections_min_ld=21602
51949 if test x"$with_gnu_ld" = x"yes" &&
51950 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51951 glibcxx_have_gc_sections=yes
51952 fi
51953 fi
51954 if test "$glibcxx_have_gc_sections" = "yes"; then
51955 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51956 # NB: This flag only works reliably after 2.16.1. Configure tests
51957 # for this are difficult, so hard wire a value that should work.
51958
51959 ac_test_CFLAGS="${CFLAGS+set}"
51960 ac_save_CFLAGS="$CFLAGS"
51961 CFLAGS='-Wl,--gc-sections'
51962
51963 # Check for -Wl,--gc-sections
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51965 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51966 if test x$gcc_no_link = xyes; then
51967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51968 fi
51969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51970 /* end confdefs.h. */
51971 int one(void) { return 1; }
51972 int two(void) { return 2; }
51973
51974 int
51975 main ()
51976 {
51977 two();
51978 ;
51979 return 0;
51980 }
51981 _ACEOF
51982 if ac_fn_c_try_link "$LINENO"; then :
51983 ac_gcsections=yes
51984 else
51985 ac_gcsections=no
51986 fi
51987 rm -f core conftest.err conftest.$ac_objext \
51988 conftest$ac_exeext conftest.$ac_ext
51989 if test "$ac_gcsections" = "yes"; then
51990 rm -f conftest.c
51991 touch conftest.c
51992 if $CC -c conftest.c; then
51993 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51994 grep "Warning: gc-sections option ignored" > /dev/null; then
51995 ac_gcsections=no
51996 fi
51997 fi
51998 rm -f conftest.c conftest.o conftest
51999 fi
52000 if test "$ac_gcsections" = "yes"; then
52001 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52002 fi
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52004 $as_echo "$ac_gcsections" >&6; }
52005
52006 if test "$ac_test_CFLAGS" = set; then
52007 CFLAGS="$ac_save_CFLAGS"
52008 else
52009 # this is the suspicious part
52010 CFLAGS=''
52011 fi
52012 fi
52013
52014 # Set -z,relro.
52015 # Note this is only for shared objects.
52016 ac_ld_relro=no
52017 if test x"$with_gnu_ld" = x"yes"; then
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52019 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52020 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52021 if test -n "$cxx_z_relo"; then
52022 OPT_LDFLAGS="-Wl,-z,relro"
52023 ac_ld_relro=yes
52024 fi
52025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52026 $as_echo "$ac_ld_relro" >&6; }
52027 fi
52028
52029 # Set linker optimization flags.
52030 if test x"$with_gnu_ld" = x"yes"; then
52031 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52032 fi
52033
52034
52035
52036
52037 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52038
52039 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52040
52041 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52042
52043 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52044
52045 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52046
52047 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52048
52049 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52050
52051 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52052
52053 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52054
52055
52056 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52057
52058 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52059
52060 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52061
52062 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52063
52064 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52065
52066 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52067
52068 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52069
52070 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52071
52072 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52073
52074 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52075
52076 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52077
52078 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52079
52080 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52081
52082 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52083
52084 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52085
52086 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52087
52088 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52089
52090 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52091
52092 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52093
52094 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52095
52096 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52097
52098 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52099
52100 if test x"long_double_math_on_this_cpu" = x"yes"; then
52101 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52102
52103 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52104
52105 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52106
52107 fi
52108 ;;
52109 *-hpux*)
52110 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52111
52112
52113 # If we're not using GNU ld, then there's no point in even trying these
52114 # tests. Check for that first. We should have already tested for gld
52115 # by now (in libtool), but require it now just to be safe...
52116 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52117 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52118
52119
52120
52121 # The name set by libtool depends on the version of libtool. Shame on us
52122 # for depending on an impl detail, but c'est la vie. Older versions used
52123 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52124 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52125 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52126 # set (hence we're using an older libtool), then set it.
52127 if test x${with_gnu_ld+set} != xset; then
52128 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52129 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52130 with_gnu_ld=no
52131 else
52132 with_gnu_ld=$ac_cv_prog_gnu_ld
52133 fi
52134 fi
52135
52136 # Start by getting the version number. I think the libtool test already
52137 # does some of this, but throws away the result.
52138 glibcxx_ld_is_gold=no
52139 if test x"$with_gnu_ld" = x"yes"; then
52140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52141 $as_echo_n "checking for ld version... " >&6; }
52142
52143 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52144 glibcxx_ld_is_gold=yes
52145 fi
52146 ldver=`$LD --version 2>/dev/null |
52147 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'`
52148
52149 glibcxx_gnu_ld_version=`echo $ldver | \
52150 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52152 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52153 fi
52154
52155 # Set --gc-sections.
52156 glibcxx_have_gc_sections=no
52157 if test "$glibcxx_ld_is_gold" = "yes"; then
52158 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52159 glibcxx_have_gc_sections=yes
52160 fi
52161 else
52162 glibcxx_gcsections_min_ld=21602
52163 if test x"$with_gnu_ld" = x"yes" &&
52164 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52165 glibcxx_have_gc_sections=yes
52166 fi
52167 fi
52168 if test "$glibcxx_have_gc_sections" = "yes"; then
52169 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52170 # NB: This flag only works reliably after 2.16.1. Configure tests
52171 # for this are difficult, so hard wire a value that should work.
52172
52173 ac_test_CFLAGS="${CFLAGS+set}"
52174 ac_save_CFLAGS="$CFLAGS"
52175 CFLAGS='-Wl,--gc-sections'
52176
52177 # Check for -Wl,--gc-sections
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52179 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52180 if test x$gcc_no_link = xyes; then
52181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52182 fi
52183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52184 /* end confdefs.h. */
52185 int one(void) { return 1; }
52186 int two(void) { return 2; }
52187
52188 int
52189 main ()
52190 {
52191 two();
52192 ;
52193 return 0;
52194 }
52195 _ACEOF
52196 if ac_fn_c_try_link "$LINENO"; then :
52197 ac_gcsections=yes
52198 else
52199 ac_gcsections=no
52200 fi
52201 rm -f core conftest.err conftest.$ac_objext \
52202 conftest$ac_exeext conftest.$ac_ext
52203 if test "$ac_gcsections" = "yes"; then
52204 rm -f conftest.c
52205 touch conftest.c
52206 if $CC -c conftest.c; then
52207 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52208 grep "Warning: gc-sections option ignored" > /dev/null; then
52209 ac_gcsections=no
52210 fi
52211 fi
52212 rm -f conftest.c conftest.o conftest
52213 fi
52214 if test "$ac_gcsections" = "yes"; then
52215 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52216 fi
52217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52218 $as_echo "$ac_gcsections" >&6; }
52219
52220 if test "$ac_test_CFLAGS" = set; then
52221 CFLAGS="$ac_save_CFLAGS"
52222 else
52223 # this is the suspicious part
52224 CFLAGS=''
52225 fi
52226 fi
52227
52228 # Set -z,relro.
52229 # Note this is only for shared objects.
52230 ac_ld_relro=no
52231 if test x"$with_gnu_ld" = x"yes"; then
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52233 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52234 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52235 if test -n "$cxx_z_relo"; then
52236 OPT_LDFLAGS="-Wl,-z,relro"
52237 ac_ld_relro=yes
52238 fi
52239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52240 $as_echo "$ac_ld_relro" >&6; }
52241 fi
52242
52243 # Set linker optimization flags.
52244 if test x"$with_gnu_ld" = x"yes"; then
52245 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52246 fi
52247
52248
52249
52250
52251
52252 # GLIBCXX_CHECK_MATH_SUPPORT
52253 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52254
52255 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52256
52257 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52258
52259 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52260
52261 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52262
52263 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52264
52265 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52266
52267 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52268
52269 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52270
52271 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52272
52273 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52274
52275 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52276
52277 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52278
52279 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52280
52281 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52282
52283 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52284
52285 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52286
52287 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52288
52289 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52290
52291 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52292
52293 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52294
52295
52296 # GLIBCXX_CHECK_STDLIB_SUPPORT
52297 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52298
52299
52300
52301
52302 # Check whether --enable-tls was given.
52303 if test "${enable_tls+set}" = set; then :
52304 enableval=$enable_tls;
52305 case "$enableval" in
52306 yes|no) ;;
52307 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52308 esac
52309
52310 else
52311 enable_tls=yes
52312 fi
52313
52314
52315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52316 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52317 if test "${gcc_cv_have_tls+set}" = set; then :
52318 $as_echo_n "(cached) " >&6
52319 else
52320
52321 if test "$cross_compiling" = yes; then :
52322 if test x$gcc_no_link = xyes; then
52323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52324 fi
52325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h. */
52327 __thread int a; int b; int main() { return a = b; }
52328 _ACEOF
52329 if ac_fn_c_try_link "$LINENO"; then :
52330 chktls_save_LDFLAGS="$LDFLAGS"
52331 case $host in
52332 *-*-linux*)
52333 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52334 ;;
52335 esac
52336 chktls_save_CFLAGS="$CFLAGS"
52337 CFLAGS="-fPIC $CFLAGS"
52338 if test x$gcc_no_link = xyes; then
52339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52340 fi
52341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h. */
52343 int f() { return 0; }
52344 _ACEOF
52345 if ac_fn_c_try_link "$LINENO"; then :
52346 if test x$gcc_no_link = xyes; then
52347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52348 fi
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h. */
52351 __thread int a; int b; int f() { return a = b; }
52352 _ACEOF
52353 if ac_fn_c_try_link "$LINENO"; then :
52354 gcc_cv_have_tls=yes
52355 else
52356 gcc_cv_have_tls=no
52357 fi
52358 rm -f core conftest.err conftest.$ac_objext \
52359 conftest$ac_exeext conftest.$ac_ext
52360 else
52361 gcc_cv_have_tls=yes
52362 fi
52363 rm -f core conftest.err conftest.$ac_objext \
52364 conftest$ac_exeext conftest.$ac_ext
52365 CFLAGS="$chktls_save_CFLAGS"
52366 LDFLAGS="$chktls_save_LDFLAGS"
52367 else
52368 gcc_cv_have_tls=no
52369 fi
52370 rm -f core conftest.err conftest.$ac_objext \
52371 conftest$ac_exeext conftest.$ac_ext
52372
52373
52374 else
52375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52376 /* end confdefs.h. */
52377 __thread int a; int b; int main() { return a = b; }
52378 _ACEOF
52379 if ac_fn_c_try_run "$LINENO"; then :
52380 chktls_save_LDFLAGS="$LDFLAGS"
52381 LDFLAGS="-static $LDFLAGS"
52382 if test x$gcc_no_link = xyes; then
52383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52384 fi
52385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52386 /* end confdefs.h. */
52387 int main() { return 0; }
52388 _ACEOF
52389 if ac_fn_c_try_link "$LINENO"; then :
52390 if test "$cross_compiling" = yes; then :
52391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52393 as_fn_error "cannot run test program while cross compiling
52394 See \`config.log' for more details." "$LINENO" 5; }
52395 else
52396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52397 /* end confdefs.h. */
52398 __thread int a; int b; int main() { return a = b; }
52399 _ACEOF
52400 if ac_fn_c_try_run "$LINENO"; then :
52401 gcc_cv_have_tls=yes
52402 else
52403 gcc_cv_have_tls=no
52404 fi
52405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52406 conftest.$ac_objext conftest.beam conftest.$ac_ext
52407 fi
52408
52409 else
52410 gcc_cv_have_tls=yes
52411 fi
52412 rm -f core conftest.err conftest.$ac_objext \
52413 conftest$ac_exeext conftest.$ac_ext
52414 LDFLAGS="$chktls_save_LDFLAGS"
52415 if test $gcc_cv_have_tls = yes; then
52416 chktls_save_CFLAGS="$CFLAGS"
52417 thread_CFLAGS=failed
52418 for flag in '' '-pthread' '-lpthread'; do
52419 CFLAGS="$flag $chktls_save_CFLAGS"
52420 if test x$gcc_no_link = xyes; then
52421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52422 fi
52423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h. */
52425 #include <pthread.h>
52426 void *g(void *d) { return NULL; }
52427 int
52428 main ()
52429 {
52430 pthread_t t; pthread_create(&t,NULL,g,NULL);
52431 ;
52432 return 0;
52433 }
52434 _ACEOF
52435 if ac_fn_c_try_link "$LINENO"; then :
52436 thread_CFLAGS="$flag"
52437 fi
52438 rm -f core conftest.err conftest.$ac_objext \
52439 conftest$ac_exeext conftest.$ac_ext
52440 if test "X$thread_CFLAGS" != Xfailed; then
52441 break
52442 fi
52443 done
52444 CFLAGS="$chktls_save_CFLAGS"
52445 if test "X$thread_CFLAGS" != Xfailed; then
52446 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52447 if test "$cross_compiling" = yes; then :
52448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52450 as_fn_error "cannot run test program while cross compiling
52451 See \`config.log' for more details." "$LINENO" 5; }
52452 else
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <pthread.h>
52456 __thread int a;
52457 static int *volatile a_in_other_thread;
52458 static void *
52459 thread_func (void *arg)
52460 {
52461 a_in_other_thread = &a;
52462 return (void *)0;
52463 }
52464 int
52465 main ()
52466 {
52467 pthread_t thread;
52468 void *thread_retval;
52469 int *volatile a_in_main_thread;
52470 a_in_main_thread = &a;
52471 if (pthread_create (&thread, (pthread_attr_t *)0,
52472 thread_func, (void *)0))
52473 return 0;
52474 if (pthread_join (thread, &thread_retval))
52475 return 0;
52476 return (a_in_other_thread == a_in_main_thread);
52477 ;
52478 return 0;
52479 }
52480 _ACEOF
52481 if ac_fn_c_try_run "$LINENO"; then :
52482 gcc_cv_have_tls=yes
52483 else
52484 gcc_cv_have_tls=no
52485 fi
52486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52487 conftest.$ac_objext conftest.beam conftest.$ac_ext
52488 fi
52489
52490 CFLAGS="$chktls_save_CFLAGS"
52491 fi
52492 fi
52493 else
52494 gcc_cv_have_tls=no
52495 fi
52496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52497 conftest.$ac_objext conftest.beam conftest.$ac_ext
52498 fi
52499
52500 fi
52501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52502 $as_echo "$gcc_cv_have_tls" >&6; }
52503 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52504
52505 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52506
52507 fi
52508 case "$target" in
52509 *-hpux10*)
52510 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52511
52512 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52513
52514 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52515
52516 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52517
52518 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52519
52520 ;;
52521 esac
52522 ;;
52523 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52524
52525 # All these tests are for C++; save the language and the compiler flags.
52526 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52527 # found in GLIBCXX_CONFIGURE.
52528
52529 ac_ext=cpp
52530 ac_cpp='$CXXCPP $CPPFLAGS'
52531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52534
52535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52536 ac_save_CXXFLAGS="$CXXFLAGS"
52537
52538 # Check for maintainer-mode bits.
52539 if test x"$USE_MAINTAINER_MODE" = xno; then
52540 WERROR=''
52541 else
52542 WERROR='-Werror'
52543 fi
52544
52545 # Check for -ffunction-sections -fdata-sections
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52547 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52548 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52550 /* end confdefs.h. */
52551 int foo; void bar() { };
52552 int
52553 main ()
52554 {
52555
52556 ;
52557 return 0;
52558 }
52559 _ACEOF
52560 if ac_fn_cxx_try_compile "$LINENO"; then :
52561 ac_fdsections=yes
52562 else
52563 ac_fdsections=no
52564 fi
52565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52566 if test "$ac_test_CXXFLAGS" = set; then
52567 CXXFLAGS="$ac_save_CXXFLAGS"
52568 else
52569 # this is the suspicious part
52570 CXXFLAGS=''
52571 fi
52572 if test x"$ac_fdsections" = x"yes"; then
52573 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52574 fi
52575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52576 $as_echo "$ac_fdsections" >&6; }
52577
52578 ac_ext=c
52579 ac_cpp='$CPP $CPPFLAGS'
52580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52583
52584
52585
52586
52587
52588 # If we're not using GNU ld, then there's no point in even trying these
52589 # tests. Check for that first. We should have already tested for gld
52590 # by now (in libtool), but require it now just to be safe...
52591 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52592 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52593
52594
52595
52596 # The name set by libtool depends on the version of libtool. Shame on us
52597 # for depending on an impl detail, but c'est la vie. Older versions used
52598 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52599 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52600 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52601 # set (hence we're using an older libtool), then set it.
52602 if test x${with_gnu_ld+set} != xset; then
52603 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52604 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52605 with_gnu_ld=no
52606 else
52607 with_gnu_ld=$ac_cv_prog_gnu_ld
52608 fi
52609 fi
52610
52611 # Start by getting the version number. I think the libtool test already
52612 # does some of this, but throws away the result.
52613 glibcxx_ld_is_gold=no
52614 if test x"$with_gnu_ld" = x"yes"; then
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52616 $as_echo_n "checking for ld version... " >&6; }
52617
52618 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52619 glibcxx_ld_is_gold=yes
52620 fi
52621 ldver=`$LD --version 2>/dev/null |
52622 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'`
52623
52624 glibcxx_gnu_ld_version=`echo $ldver | \
52625 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52627 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52628 fi
52629
52630 # Set --gc-sections.
52631 glibcxx_have_gc_sections=no
52632 if test "$glibcxx_ld_is_gold" = "yes"; then
52633 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52634 glibcxx_have_gc_sections=yes
52635 fi
52636 else
52637 glibcxx_gcsections_min_ld=21602
52638 if test x"$with_gnu_ld" = x"yes" &&
52639 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52640 glibcxx_have_gc_sections=yes
52641 fi
52642 fi
52643 if test "$glibcxx_have_gc_sections" = "yes"; then
52644 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52645 # NB: This flag only works reliably after 2.16.1. Configure tests
52646 # for this are difficult, so hard wire a value that should work.
52647
52648 ac_test_CFLAGS="${CFLAGS+set}"
52649 ac_save_CFLAGS="$CFLAGS"
52650 CFLAGS='-Wl,--gc-sections'
52651
52652 # Check for -Wl,--gc-sections
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52654 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52655 if test x$gcc_no_link = xyes; then
52656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52657 fi
52658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52659 /* end confdefs.h. */
52660 int one(void) { return 1; }
52661 int two(void) { return 2; }
52662
52663 int
52664 main ()
52665 {
52666 two();
52667 ;
52668 return 0;
52669 }
52670 _ACEOF
52671 if ac_fn_c_try_link "$LINENO"; then :
52672 ac_gcsections=yes
52673 else
52674 ac_gcsections=no
52675 fi
52676 rm -f core conftest.err conftest.$ac_objext \
52677 conftest$ac_exeext conftest.$ac_ext
52678 if test "$ac_gcsections" = "yes"; then
52679 rm -f conftest.c
52680 touch conftest.c
52681 if $CC -c conftest.c; then
52682 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52683 grep "Warning: gc-sections option ignored" > /dev/null; then
52684 ac_gcsections=no
52685 fi
52686 fi
52687 rm -f conftest.c conftest.o conftest
52688 fi
52689 if test "$ac_gcsections" = "yes"; then
52690 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52691 fi
52692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52693 $as_echo "$ac_gcsections" >&6; }
52694
52695 if test "$ac_test_CFLAGS" = set; then
52696 CFLAGS="$ac_save_CFLAGS"
52697 else
52698 # this is the suspicious part
52699 CFLAGS=''
52700 fi
52701 fi
52702
52703 # Set -z,relro.
52704 # Note this is only for shared objects.
52705 ac_ld_relro=no
52706 if test x"$with_gnu_ld" = x"yes"; then
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52708 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52709 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52710 if test -n "$cxx_z_relo"; then
52711 OPT_LDFLAGS="-Wl,-z,relro"
52712 ac_ld_relro=yes
52713 fi
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52715 $as_echo "$ac_ld_relro" >&6; }
52716 fi
52717
52718 # Set linker optimization flags.
52719 if test x"$with_gnu_ld" = x"yes"; then
52720 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52721 fi
52722
52723
52724
52725
52726
52727 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52728 ac_save_CXXFLAGS="$CXXFLAGS"
52729 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52730
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52732 $as_echo_n "checking for sin in -lm... " >&6; }
52733 if test "${ac_cv_lib_m_sin+set}" = set; then :
52734 $as_echo_n "(cached) " >&6
52735 else
52736 ac_check_lib_save_LIBS=$LIBS
52737 LIBS="-lm $LIBS"
52738 if test x$gcc_no_link = xyes; then
52739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52740 fi
52741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52742 /* end confdefs.h. */
52743
52744 /* Override any GCC internal prototype to avoid an error.
52745 Use char because int might match the return type of a GCC
52746 builtin and then its argument prototype would still apply. */
52747 #ifdef __cplusplus
52748 extern "C"
52749 #endif
52750 char sin ();
52751 int
52752 main ()
52753 {
52754 return sin ();
52755 ;
52756 return 0;
52757 }
52758 _ACEOF
52759 if ac_fn_c_try_link "$LINENO"; then :
52760 ac_cv_lib_m_sin=yes
52761 else
52762 ac_cv_lib_m_sin=no
52763 fi
52764 rm -f core conftest.err conftest.$ac_objext \
52765 conftest$ac_exeext conftest.$ac_ext
52766 LIBS=$ac_check_lib_save_LIBS
52767 fi
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52769 $as_echo "$ac_cv_lib_m_sin" >&6; }
52770 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52771 libm="-lm"
52772 fi
52773
52774 ac_save_LIBS="$LIBS"
52775 LIBS="$LIBS $libm"
52776
52777
52778
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52780 $as_echo_n "checking for isinf declaration... " >&6; }
52781 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52782 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52783 $as_echo_n "(cached) " >&6
52784 else
52785
52786
52787 ac_ext=cpp
52788 ac_cpp='$CXXCPP $CPPFLAGS'
52789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52792
52793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52794 /* end confdefs.h. */
52795 #include <math.h>
52796 #ifdef HAVE_IEEEFP_H
52797 #include <ieeefp.h>
52798 #endif
52799
52800 int
52801 main ()
52802 {
52803 isinf(0);
52804 ;
52805 return 0;
52806 }
52807 _ACEOF
52808 if ac_fn_cxx_try_compile "$LINENO"; then :
52809 glibcxx_cv_func_isinf_use=yes
52810 else
52811 glibcxx_cv_func_isinf_use=no
52812 fi
52813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52814 ac_ext=c
52815 ac_cpp='$CPP $CPPFLAGS'
52816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52819
52820
52821 fi
52822
52823 fi
52824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52825 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52826
52827 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52828 for ac_func in isinf
52829 do :
52830 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52831 if test "x$ac_cv_func_isinf" = x""yes; then :
52832 cat >>confdefs.h <<_ACEOF
52833 #define HAVE_ISINF 1
52834 _ACEOF
52835
52836 fi
52837 done
52838
52839 else
52840
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52842 $as_echo_n "checking for _isinf declaration... " >&6; }
52843 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52844 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52845 $as_echo_n "(cached) " >&6
52846 else
52847
52848
52849 ac_ext=cpp
52850 ac_cpp='$CXXCPP $CPPFLAGS'
52851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52854
52855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52856 /* end confdefs.h. */
52857 #include <math.h>
52858 #ifdef HAVE_IEEEFP_H
52859 #include <ieeefp.h>
52860 #endif
52861
52862 int
52863 main ()
52864 {
52865 _isinf(0);
52866 ;
52867 return 0;
52868 }
52869 _ACEOF
52870 if ac_fn_cxx_try_compile "$LINENO"; then :
52871 glibcxx_cv_func__isinf_use=yes
52872 else
52873 glibcxx_cv_func__isinf_use=no
52874 fi
52875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52876 ac_ext=c
52877 ac_cpp='$CPP $CPPFLAGS'
52878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52881
52882
52883 fi
52884
52885 fi
52886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52887 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52888
52889 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52890 for ac_func in _isinf
52891 do :
52892 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52893 if test "x$ac_cv_func__isinf" = x""yes; then :
52894 cat >>confdefs.h <<_ACEOF
52895 #define HAVE__ISINF 1
52896 _ACEOF
52897
52898 fi
52899 done
52900
52901 fi
52902 fi
52903
52904
52905
52906
52907
52908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52909 $as_echo_n "checking for isnan declaration... " >&6; }
52910 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52911 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52912 $as_echo_n "(cached) " >&6
52913 else
52914
52915
52916 ac_ext=cpp
52917 ac_cpp='$CXXCPP $CPPFLAGS'
52918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52921
52922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52923 /* end confdefs.h. */
52924 #include <math.h>
52925 #ifdef HAVE_IEEEFP_H
52926 #include <ieeefp.h>
52927 #endif
52928
52929 int
52930 main ()
52931 {
52932 isnan(0);
52933 ;
52934 return 0;
52935 }
52936 _ACEOF
52937 if ac_fn_cxx_try_compile "$LINENO"; then :
52938 glibcxx_cv_func_isnan_use=yes
52939 else
52940 glibcxx_cv_func_isnan_use=no
52941 fi
52942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52943 ac_ext=c
52944 ac_cpp='$CPP $CPPFLAGS'
52945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52948
52949
52950 fi
52951
52952 fi
52953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52954 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52955
52956 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52957 for ac_func in isnan
52958 do :
52959 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52960 if test "x$ac_cv_func_isnan" = x""yes; then :
52961 cat >>confdefs.h <<_ACEOF
52962 #define HAVE_ISNAN 1
52963 _ACEOF
52964
52965 fi
52966 done
52967
52968 else
52969
52970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52971 $as_echo_n "checking for _isnan declaration... " >&6; }
52972 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52973 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52974 $as_echo_n "(cached) " >&6
52975 else
52976
52977
52978 ac_ext=cpp
52979 ac_cpp='$CXXCPP $CPPFLAGS'
52980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52983
52984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52985 /* end confdefs.h. */
52986 #include <math.h>
52987 #ifdef HAVE_IEEEFP_H
52988 #include <ieeefp.h>
52989 #endif
52990
52991 int
52992 main ()
52993 {
52994 _isnan(0);
52995 ;
52996 return 0;
52997 }
52998 _ACEOF
52999 if ac_fn_cxx_try_compile "$LINENO"; then :
53000 glibcxx_cv_func__isnan_use=yes
53001 else
53002 glibcxx_cv_func__isnan_use=no
53003 fi
53004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53005 ac_ext=c
53006 ac_cpp='$CPP $CPPFLAGS'
53007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53010
53011
53012 fi
53013
53014 fi
53015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53016 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53017
53018 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53019 for ac_func in _isnan
53020 do :
53021 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53022 if test "x$ac_cv_func__isnan" = x""yes; then :
53023 cat >>confdefs.h <<_ACEOF
53024 #define HAVE__ISNAN 1
53025 _ACEOF
53026
53027 fi
53028 done
53029
53030 fi
53031 fi
53032
53033
53034
53035
53036
53037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53038 $as_echo_n "checking for finite declaration... " >&6; }
53039 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53040 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53041 $as_echo_n "(cached) " >&6
53042 else
53043
53044
53045 ac_ext=cpp
53046 ac_cpp='$CXXCPP $CPPFLAGS'
53047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53050
53051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53052 /* end confdefs.h. */
53053 #include <math.h>
53054 #ifdef HAVE_IEEEFP_H
53055 #include <ieeefp.h>
53056 #endif
53057
53058 int
53059 main ()
53060 {
53061 finite(0);
53062 ;
53063 return 0;
53064 }
53065 _ACEOF
53066 if ac_fn_cxx_try_compile "$LINENO"; then :
53067 glibcxx_cv_func_finite_use=yes
53068 else
53069 glibcxx_cv_func_finite_use=no
53070 fi
53071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53072 ac_ext=c
53073 ac_cpp='$CPP $CPPFLAGS'
53074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53077
53078
53079 fi
53080
53081 fi
53082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53083 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53084
53085 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53086 for ac_func in finite
53087 do :
53088 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53089 if test "x$ac_cv_func_finite" = x""yes; then :
53090 cat >>confdefs.h <<_ACEOF
53091 #define HAVE_FINITE 1
53092 _ACEOF
53093
53094 fi
53095 done
53096
53097 else
53098
53099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53100 $as_echo_n "checking for _finite declaration... " >&6; }
53101 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53102 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53103 $as_echo_n "(cached) " >&6
53104 else
53105
53106
53107 ac_ext=cpp
53108 ac_cpp='$CXXCPP $CPPFLAGS'
53109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53112
53113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53114 /* end confdefs.h. */
53115 #include <math.h>
53116 #ifdef HAVE_IEEEFP_H
53117 #include <ieeefp.h>
53118 #endif
53119
53120 int
53121 main ()
53122 {
53123 _finite(0);
53124 ;
53125 return 0;
53126 }
53127 _ACEOF
53128 if ac_fn_cxx_try_compile "$LINENO"; then :
53129 glibcxx_cv_func__finite_use=yes
53130 else
53131 glibcxx_cv_func__finite_use=no
53132 fi
53133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53134 ac_ext=c
53135 ac_cpp='$CPP $CPPFLAGS'
53136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53139
53140
53141 fi
53142
53143 fi
53144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53145 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53146
53147 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53148 for ac_func in _finite
53149 do :
53150 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53151 if test "x$ac_cv_func__finite" = x""yes; then :
53152 cat >>confdefs.h <<_ACEOF
53153 #define HAVE__FINITE 1
53154 _ACEOF
53155
53156 fi
53157 done
53158
53159 fi
53160 fi
53161
53162
53163
53164
53165
53166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53167 $as_echo_n "checking for sincos declaration... " >&6; }
53168 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53169 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53170 $as_echo_n "(cached) " >&6
53171 else
53172
53173
53174 ac_ext=cpp
53175 ac_cpp='$CXXCPP $CPPFLAGS'
53176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53179
53180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53181 /* end confdefs.h. */
53182 #include <math.h>
53183 int
53184 main ()
53185 {
53186 sincos(0, 0, 0);
53187 ;
53188 return 0;
53189 }
53190 _ACEOF
53191 if ac_fn_cxx_try_compile "$LINENO"; then :
53192 glibcxx_cv_func_sincos_use=yes
53193 else
53194 glibcxx_cv_func_sincos_use=no
53195 fi
53196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53197 ac_ext=c
53198 ac_cpp='$CPP $CPPFLAGS'
53199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53202
53203
53204 fi
53205
53206 fi
53207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53208 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53209
53210 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53211 for ac_func in sincos
53212 do :
53213 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53214 if test "x$ac_cv_func_sincos" = x""yes; then :
53215 cat >>confdefs.h <<_ACEOF
53216 #define HAVE_SINCOS 1
53217 _ACEOF
53218
53219 fi
53220 done
53221
53222 else
53223
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53225 $as_echo_n "checking for _sincos declaration... " >&6; }
53226 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53227 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53228 $as_echo_n "(cached) " >&6
53229 else
53230
53231
53232 ac_ext=cpp
53233 ac_cpp='$CXXCPP $CPPFLAGS'
53234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53237
53238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53239 /* end confdefs.h. */
53240 #include <math.h>
53241 int
53242 main ()
53243 {
53244 _sincos(0, 0, 0);
53245 ;
53246 return 0;
53247 }
53248 _ACEOF
53249 if ac_fn_cxx_try_compile "$LINENO"; then :
53250 glibcxx_cv_func__sincos_use=yes
53251 else
53252 glibcxx_cv_func__sincos_use=no
53253 fi
53254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53255 ac_ext=c
53256 ac_cpp='$CPP $CPPFLAGS'
53257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53260
53261
53262 fi
53263
53264 fi
53265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53266 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53267
53268 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53269 for ac_func in _sincos
53270 do :
53271 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53272 if test "x$ac_cv_func__sincos" = x""yes; then :
53273 cat >>confdefs.h <<_ACEOF
53274 #define HAVE__SINCOS 1
53275 _ACEOF
53276
53277 fi
53278 done
53279
53280 fi
53281 fi
53282
53283
53284
53285
53286
53287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53288 $as_echo_n "checking for fpclass declaration... " >&6; }
53289 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53290 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53291 $as_echo_n "(cached) " >&6
53292 else
53293
53294
53295 ac_ext=cpp
53296 ac_cpp='$CXXCPP $CPPFLAGS'
53297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53300
53301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53302 /* end confdefs.h. */
53303 #include <math.h>
53304 #ifdef HAVE_IEEEFP_H
53305 #include <ieeefp.h>
53306 #endif
53307
53308 int
53309 main ()
53310 {
53311 fpclass(0);
53312 ;
53313 return 0;
53314 }
53315 _ACEOF
53316 if ac_fn_cxx_try_compile "$LINENO"; then :
53317 glibcxx_cv_func_fpclass_use=yes
53318 else
53319 glibcxx_cv_func_fpclass_use=no
53320 fi
53321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53322 ac_ext=c
53323 ac_cpp='$CPP $CPPFLAGS'
53324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53327
53328
53329 fi
53330
53331 fi
53332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53333 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53334
53335 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53336 for ac_func in fpclass
53337 do :
53338 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53339 if test "x$ac_cv_func_fpclass" = x""yes; then :
53340 cat >>confdefs.h <<_ACEOF
53341 #define HAVE_FPCLASS 1
53342 _ACEOF
53343
53344 fi
53345 done
53346
53347 else
53348
53349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53350 $as_echo_n "checking for _fpclass declaration... " >&6; }
53351 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53352 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53353 $as_echo_n "(cached) " >&6
53354 else
53355
53356
53357 ac_ext=cpp
53358 ac_cpp='$CXXCPP $CPPFLAGS'
53359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53362
53363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53364 /* end confdefs.h. */
53365 #include <math.h>
53366 #ifdef HAVE_IEEEFP_H
53367 #include <ieeefp.h>
53368 #endif
53369
53370 int
53371 main ()
53372 {
53373 _fpclass(0);
53374 ;
53375 return 0;
53376 }
53377 _ACEOF
53378 if ac_fn_cxx_try_compile "$LINENO"; then :
53379 glibcxx_cv_func__fpclass_use=yes
53380 else
53381 glibcxx_cv_func__fpclass_use=no
53382 fi
53383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53384 ac_ext=c
53385 ac_cpp='$CPP $CPPFLAGS'
53386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53389
53390
53391 fi
53392
53393 fi
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53395 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53396
53397 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53398 for ac_func in _fpclass
53399 do :
53400 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53401 if test "x$ac_cv_func__fpclass" = x""yes; then :
53402 cat >>confdefs.h <<_ACEOF
53403 #define HAVE__FPCLASS 1
53404 _ACEOF
53405
53406 fi
53407 done
53408
53409 fi
53410 fi
53411
53412
53413
53414
53415
53416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53417 $as_echo_n "checking for qfpclass declaration... " >&6; }
53418 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53419 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53420 $as_echo_n "(cached) " >&6
53421 else
53422
53423
53424 ac_ext=cpp
53425 ac_cpp='$CXXCPP $CPPFLAGS'
53426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53429
53430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53431 /* end confdefs.h. */
53432 #include <math.h>
53433 #ifdef HAVE_IEEEFP_H
53434 #include <ieeefp.h>
53435 #endif
53436
53437 int
53438 main ()
53439 {
53440 qfpclass(0);
53441 ;
53442 return 0;
53443 }
53444 _ACEOF
53445 if ac_fn_cxx_try_compile "$LINENO"; then :
53446 glibcxx_cv_func_qfpclass_use=yes
53447 else
53448 glibcxx_cv_func_qfpclass_use=no
53449 fi
53450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53451 ac_ext=c
53452 ac_cpp='$CPP $CPPFLAGS'
53453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53456
53457
53458 fi
53459
53460 fi
53461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53462 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53463
53464 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53465 for ac_func in qfpclass
53466 do :
53467 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53468 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53469 cat >>confdefs.h <<_ACEOF
53470 #define HAVE_QFPCLASS 1
53471 _ACEOF
53472
53473 fi
53474 done
53475
53476 else
53477
53478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53479 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53480 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53481 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53482 $as_echo_n "(cached) " >&6
53483 else
53484
53485
53486 ac_ext=cpp
53487 ac_cpp='$CXXCPP $CPPFLAGS'
53488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53491
53492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53493 /* end confdefs.h. */
53494 #include <math.h>
53495 #ifdef HAVE_IEEEFP_H
53496 #include <ieeefp.h>
53497 #endif
53498
53499 int
53500 main ()
53501 {
53502 _qfpclass(0);
53503 ;
53504 return 0;
53505 }
53506 _ACEOF
53507 if ac_fn_cxx_try_compile "$LINENO"; then :
53508 glibcxx_cv_func__qfpclass_use=yes
53509 else
53510 glibcxx_cv_func__qfpclass_use=no
53511 fi
53512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53513 ac_ext=c
53514 ac_cpp='$CPP $CPPFLAGS'
53515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53518
53519
53520 fi
53521
53522 fi
53523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53524 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53525
53526 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53527 for ac_func in _qfpclass
53528 do :
53529 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53530 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53531 cat >>confdefs.h <<_ACEOF
53532 #define HAVE__QFPCLASS 1
53533 _ACEOF
53534
53535 fi
53536 done
53537
53538 fi
53539 fi
53540
53541
53542
53543
53544
53545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53546 $as_echo_n "checking for hypot declaration... " >&6; }
53547 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53548 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53549 $as_echo_n "(cached) " >&6
53550 else
53551
53552
53553 ac_ext=cpp
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558
53559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53560 /* end confdefs.h. */
53561 #include <math.h>
53562 int
53563 main ()
53564 {
53565 hypot(0, 0);
53566 ;
53567 return 0;
53568 }
53569 _ACEOF
53570 if ac_fn_cxx_try_compile "$LINENO"; then :
53571 glibcxx_cv_func_hypot_use=yes
53572 else
53573 glibcxx_cv_func_hypot_use=no
53574 fi
53575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53576 ac_ext=c
53577 ac_cpp='$CPP $CPPFLAGS'
53578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53581
53582
53583 fi
53584
53585 fi
53586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53587 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53588
53589 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53590 for ac_func in hypot
53591 do :
53592 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53593 if test "x$ac_cv_func_hypot" = x""yes; then :
53594 cat >>confdefs.h <<_ACEOF
53595 #define HAVE_HYPOT 1
53596 _ACEOF
53597
53598 fi
53599 done
53600
53601 else
53602
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53604 $as_echo_n "checking for _hypot declaration... " >&6; }
53605 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53606 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53607 $as_echo_n "(cached) " >&6
53608 else
53609
53610
53611 ac_ext=cpp
53612 ac_cpp='$CXXCPP $CPPFLAGS'
53613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53616
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 #include <math.h>
53620 int
53621 main ()
53622 {
53623 _hypot(0, 0);
53624 ;
53625 return 0;
53626 }
53627 _ACEOF
53628 if ac_fn_cxx_try_compile "$LINENO"; then :
53629 glibcxx_cv_func__hypot_use=yes
53630 else
53631 glibcxx_cv_func__hypot_use=no
53632 fi
53633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53634 ac_ext=c
53635 ac_cpp='$CPP $CPPFLAGS'
53636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53639
53640
53641 fi
53642
53643 fi
53644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53645 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53646
53647 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53648 for ac_func in _hypot
53649 do :
53650 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53651 if test "x$ac_cv_func__hypot" = x""yes; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define HAVE__HYPOT 1
53654 _ACEOF
53655
53656 fi
53657 done
53658
53659 fi
53660 fi
53661
53662
53663
53664
53665
53666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53667 $as_echo_n "checking for float trig functions... " >&6; }
53668 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53671
53672
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53682 int
53683 main ()
53684 {
53685 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53686 ;
53687 return 0;
53688 }
53689 _ACEOF
53690 if ac_fn_cxx_try_compile "$LINENO"; then :
53691 glibcxx_cv_func_float_trig_use=yes
53692 else
53693 glibcxx_cv_func_float_trig_use=no
53694 fi
53695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53696 ac_ext=c
53697 ac_cpp='$CPP $CPPFLAGS'
53698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53701
53702 fi
53703
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53705 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53706 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53707 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53708 do :
53709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53711 eval as_val=\$$as_ac_var
53712 if test "x$as_val" = x""yes; then :
53713 cat >>confdefs.h <<_ACEOF
53714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53715 _ACEOF
53716
53717 fi
53718 done
53719
53720 else
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53722 $as_echo_n "checking for _float trig functions... " >&6; }
53723 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53726
53727
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53737 int
53738 main ()
53739 {
53740 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53741 ;
53742 return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func__float_trig_use=yes
53747 else
53748 glibcxx_cv_func__float_trig_use=no
53749 fi
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756
53757 fi
53758
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53760 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53761 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53762 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53763 do :
53764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767 if test "x$as_val" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53771
53772 fi
53773 done
53774
53775 fi
53776 fi
53777
53778
53779
53780
53781
53782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53783 $as_echo_n "checking for float round functions... " >&6; }
53784 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53786 else
53787
53788
53789 ac_ext=cpp
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53794
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53797 #include <math.h>
53798 int
53799 main ()
53800 {
53801 ceilf (0); floorf (0);
53802 ;
53803 return 0;
53804 }
53805 _ACEOF
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_float_round_use=yes
53808 else
53809 glibcxx_cv_func_float_round_use=no
53810 fi
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812 ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817
53818 fi
53819
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53821 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53822 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53823 for ac_func in ceilf floorf
53824 do :
53825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53827 eval as_val=\$$as_ac_var
53828 if test "x$as_val" = x""yes; then :
53829 cat >>confdefs.h <<_ACEOF
53830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53831 _ACEOF
53832
53833 fi
53834 done
53835
53836 else
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53838 $as_echo_n "checking for _float round functions... " >&6; }
53839 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53840 $as_echo_n "(cached) " >&6
53841 else
53842
53843
53844 ac_ext=cpp
53845 ac_cpp='$CXXCPP $CPPFLAGS'
53846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53849
53850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53851 /* end confdefs.h. */
53852 #include <math.h>
53853 int
53854 main ()
53855 {
53856 _ceilf (0); _floorf (0);
53857 ;
53858 return 0;
53859 }
53860 _ACEOF
53861 if ac_fn_cxx_try_compile "$LINENO"; then :
53862 glibcxx_cv_func__float_round_use=yes
53863 else
53864 glibcxx_cv_func__float_round_use=no
53865 fi
53866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53867 ac_ext=c
53868 ac_cpp='$CPP $CPPFLAGS'
53869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53872
53873 fi
53874
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53876 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53877 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53878 for ac_func in _ceilf _floorf
53879 do :
53880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53882 eval as_val=\$$as_ac_var
53883 if test "x$as_val" = x""yes; then :
53884 cat >>confdefs.h <<_ACEOF
53885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53886 _ACEOF
53887
53888 fi
53889 done
53890
53891 fi
53892 fi
53893
53894
53895
53896
53897
53898
53899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53900 $as_echo_n "checking for expf declaration... " >&6; }
53901 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53902 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53903 $as_echo_n "(cached) " >&6
53904 else
53905
53906
53907 ac_ext=cpp
53908 ac_cpp='$CXXCPP $CPPFLAGS'
53909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53912
53913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53914 /* end confdefs.h. */
53915 #include <math.h>
53916 #ifdef HAVE_IEEEFP_H
53917 #include <ieeefp.h>
53918 #endif
53919
53920 int
53921 main ()
53922 {
53923 expf(0);
53924 ;
53925 return 0;
53926 }
53927 _ACEOF
53928 if ac_fn_cxx_try_compile "$LINENO"; then :
53929 glibcxx_cv_func_expf_use=yes
53930 else
53931 glibcxx_cv_func_expf_use=no
53932 fi
53933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53934 ac_ext=c
53935 ac_cpp='$CPP $CPPFLAGS'
53936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53939
53940
53941 fi
53942
53943 fi
53944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53945 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53946
53947 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53948 for ac_func in expf
53949 do :
53950 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53951 if test "x$ac_cv_func_expf" = x""yes; then :
53952 cat >>confdefs.h <<_ACEOF
53953 #define HAVE_EXPF 1
53954 _ACEOF
53955
53956 fi
53957 done
53958
53959 else
53960
53961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53962 $as_echo_n "checking for _expf declaration... " >&6; }
53963 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53964 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53965 $as_echo_n "(cached) " >&6
53966 else
53967
53968
53969 ac_ext=cpp
53970 ac_cpp='$CXXCPP $CPPFLAGS'
53971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53974
53975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53976 /* end confdefs.h. */
53977 #include <math.h>
53978 #ifdef HAVE_IEEEFP_H
53979 #include <ieeefp.h>
53980 #endif
53981
53982 int
53983 main ()
53984 {
53985 _expf(0);
53986 ;
53987 return 0;
53988 }
53989 _ACEOF
53990 if ac_fn_cxx_try_compile "$LINENO"; then :
53991 glibcxx_cv_func__expf_use=yes
53992 else
53993 glibcxx_cv_func__expf_use=no
53994 fi
53995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53996 ac_ext=c
53997 ac_cpp='$CPP $CPPFLAGS'
53998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54001
54002
54003 fi
54004
54005 fi
54006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54007 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54008
54009 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54010 for ac_func in _expf
54011 do :
54012 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54013 if test "x$ac_cv_func__expf" = x""yes; then :
54014 cat >>confdefs.h <<_ACEOF
54015 #define HAVE__EXPF 1
54016 _ACEOF
54017
54018 fi
54019 done
54020
54021 fi
54022 fi
54023
54024
54025
54026
54027
54028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54029 $as_echo_n "checking for isnanf declaration... " >&6; }
54030 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54031 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54032 $as_echo_n "(cached) " >&6
54033 else
54034
54035
54036 ac_ext=cpp
54037 ac_cpp='$CXXCPP $CPPFLAGS'
54038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54041
54042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54043 /* end confdefs.h. */
54044 #include <math.h>
54045 #ifdef HAVE_IEEEFP_H
54046 #include <ieeefp.h>
54047 #endif
54048
54049 int
54050 main ()
54051 {
54052 isnanf(0);
54053 ;
54054 return 0;
54055 }
54056 _ACEOF
54057 if ac_fn_cxx_try_compile "$LINENO"; then :
54058 glibcxx_cv_func_isnanf_use=yes
54059 else
54060 glibcxx_cv_func_isnanf_use=no
54061 fi
54062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54063 ac_ext=c
54064 ac_cpp='$CPP $CPPFLAGS'
54065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54068
54069
54070 fi
54071
54072 fi
54073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54074 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54075
54076 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54077 for ac_func in isnanf
54078 do :
54079 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54080 if test "x$ac_cv_func_isnanf" = x""yes; then :
54081 cat >>confdefs.h <<_ACEOF
54082 #define HAVE_ISNANF 1
54083 _ACEOF
54084
54085 fi
54086 done
54087
54088 else
54089
54090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54091 $as_echo_n "checking for _isnanf declaration... " >&6; }
54092 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54093 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54094 $as_echo_n "(cached) " >&6
54095 else
54096
54097
54098 ac_ext=cpp
54099 ac_cpp='$CXXCPP $CPPFLAGS'
54100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54103
54104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54105 /* end confdefs.h. */
54106 #include <math.h>
54107 #ifdef HAVE_IEEEFP_H
54108 #include <ieeefp.h>
54109 #endif
54110
54111 int
54112 main ()
54113 {
54114 _isnanf(0);
54115 ;
54116 return 0;
54117 }
54118 _ACEOF
54119 if ac_fn_cxx_try_compile "$LINENO"; then :
54120 glibcxx_cv_func__isnanf_use=yes
54121 else
54122 glibcxx_cv_func__isnanf_use=no
54123 fi
54124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54125 ac_ext=c
54126 ac_cpp='$CPP $CPPFLAGS'
54127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54130
54131
54132 fi
54133
54134 fi
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54136 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54137
54138 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54139 for ac_func in _isnanf
54140 do :
54141 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54142 if test "x$ac_cv_func__isnanf" = x""yes; then :
54143 cat >>confdefs.h <<_ACEOF
54144 #define HAVE__ISNANF 1
54145 _ACEOF
54146
54147 fi
54148 done
54149
54150 fi
54151 fi
54152
54153
54154
54155
54156
54157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54158 $as_echo_n "checking for isinff declaration... " >&6; }
54159 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54160 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54161 $as_echo_n "(cached) " >&6
54162 else
54163
54164
54165 ac_ext=cpp
54166 ac_cpp='$CXXCPP $CPPFLAGS'
54167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54170
54171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54172 /* end confdefs.h. */
54173 #include <math.h>
54174 #ifdef HAVE_IEEEFP_H
54175 #include <ieeefp.h>
54176 #endif
54177
54178 int
54179 main ()
54180 {
54181 isinff(0);
54182 ;
54183 return 0;
54184 }
54185 _ACEOF
54186 if ac_fn_cxx_try_compile "$LINENO"; then :
54187 glibcxx_cv_func_isinff_use=yes
54188 else
54189 glibcxx_cv_func_isinff_use=no
54190 fi
54191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54192 ac_ext=c
54193 ac_cpp='$CPP $CPPFLAGS'
54194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54197
54198
54199 fi
54200
54201 fi
54202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54203 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54204
54205 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54206 for ac_func in isinff
54207 do :
54208 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54209 if test "x$ac_cv_func_isinff" = x""yes; then :
54210 cat >>confdefs.h <<_ACEOF
54211 #define HAVE_ISINFF 1
54212 _ACEOF
54213
54214 fi
54215 done
54216
54217 else
54218
54219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54220 $as_echo_n "checking for _isinff declaration... " >&6; }
54221 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54222 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54223 $as_echo_n "(cached) " >&6
54224 else
54225
54226
54227 ac_ext=cpp
54228 ac_cpp='$CXXCPP $CPPFLAGS'
54229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54232
54233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54234 /* end confdefs.h. */
54235 #include <math.h>
54236 #ifdef HAVE_IEEEFP_H
54237 #include <ieeefp.h>
54238 #endif
54239
54240 int
54241 main ()
54242 {
54243 _isinff(0);
54244 ;
54245 return 0;
54246 }
54247 _ACEOF
54248 if ac_fn_cxx_try_compile "$LINENO"; then :
54249 glibcxx_cv_func__isinff_use=yes
54250 else
54251 glibcxx_cv_func__isinff_use=no
54252 fi
54253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54254 ac_ext=c
54255 ac_cpp='$CPP $CPPFLAGS'
54256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54259
54260
54261 fi
54262
54263 fi
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54265 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54266
54267 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54268 for ac_func in _isinff
54269 do :
54270 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54271 if test "x$ac_cv_func__isinff" = x""yes; then :
54272 cat >>confdefs.h <<_ACEOF
54273 #define HAVE__ISINFF 1
54274 _ACEOF
54275
54276 fi
54277 done
54278
54279 fi
54280 fi
54281
54282
54283
54284
54285
54286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54287 $as_echo_n "checking for atan2f declaration... " >&6; }
54288 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54289 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54290 $as_echo_n "(cached) " >&6
54291 else
54292
54293
54294 ac_ext=cpp
54295 ac_cpp='$CXXCPP $CPPFLAGS'
54296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54299
54300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54301 /* end confdefs.h. */
54302 #include <math.h>
54303 int
54304 main ()
54305 {
54306 atan2f(0, 0);
54307 ;
54308 return 0;
54309 }
54310 _ACEOF
54311 if ac_fn_cxx_try_compile "$LINENO"; then :
54312 glibcxx_cv_func_atan2f_use=yes
54313 else
54314 glibcxx_cv_func_atan2f_use=no
54315 fi
54316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54317 ac_ext=c
54318 ac_cpp='$CPP $CPPFLAGS'
54319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54322
54323
54324 fi
54325
54326 fi
54327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54328 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54329
54330 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54331 for ac_func in atan2f
54332 do :
54333 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54334 if test "x$ac_cv_func_atan2f" = x""yes; then :
54335 cat >>confdefs.h <<_ACEOF
54336 #define HAVE_ATAN2F 1
54337 _ACEOF
54338
54339 fi
54340 done
54341
54342 else
54343
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54345 $as_echo_n "checking for _atan2f declaration... " >&6; }
54346 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54347 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54348 $as_echo_n "(cached) " >&6
54349 else
54350
54351
54352 ac_ext=cpp
54353 ac_cpp='$CXXCPP $CPPFLAGS'
54354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54357
54358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54359 /* end confdefs.h. */
54360 #include <math.h>
54361 int
54362 main ()
54363 {
54364 _atan2f(0, 0);
54365 ;
54366 return 0;
54367 }
54368 _ACEOF
54369 if ac_fn_cxx_try_compile "$LINENO"; then :
54370 glibcxx_cv_func__atan2f_use=yes
54371 else
54372 glibcxx_cv_func__atan2f_use=no
54373 fi
54374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54375 ac_ext=c
54376 ac_cpp='$CPP $CPPFLAGS'
54377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54380
54381
54382 fi
54383
54384 fi
54385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54386 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54387
54388 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54389 for ac_func in _atan2f
54390 do :
54391 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54392 if test "x$ac_cv_func__atan2f" = x""yes; then :
54393 cat >>confdefs.h <<_ACEOF
54394 #define HAVE__ATAN2F 1
54395 _ACEOF
54396
54397 fi
54398 done
54399
54400 fi
54401 fi
54402
54403
54404
54405
54406
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54408 $as_echo_n "checking for fabsf declaration... " >&6; }
54409 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54410 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54411 $as_echo_n "(cached) " >&6
54412 else
54413
54414
54415 ac_ext=cpp
54416 ac_cpp='$CXXCPP $CPPFLAGS'
54417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54420
54421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54422 /* end confdefs.h. */
54423 #include <math.h>
54424 #ifdef HAVE_IEEEFP_H
54425 #include <ieeefp.h>
54426 #endif
54427
54428 int
54429 main ()
54430 {
54431 fabsf(0);
54432 ;
54433 return 0;
54434 }
54435 _ACEOF
54436 if ac_fn_cxx_try_compile "$LINENO"; then :
54437 glibcxx_cv_func_fabsf_use=yes
54438 else
54439 glibcxx_cv_func_fabsf_use=no
54440 fi
54441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54442 ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54447
54448
54449 fi
54450
54451 fi
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54453 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54454
54455 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54456 for ac_func in fabsf
54457 do :
54458 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54459 if test "x$ac_cv_func_fabsf" = x""yes; then :
54460 cat >>confdefs.h <<_ACEOF
54461 #define HAVE_FABSF 1
54462 _ACEOF
54463
54464 fi
54465 done
54466
54467 else
54468
54469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54470 $as_echo_n "checking for _fabsf declaration... " >&6; }
54471 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54472 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54473 $as_echo_n "(cached) " >&6
54474 else
54475
54476
54477 ac_ext=cpp
54478 ac_cpp='$CXXCPP $CPPFLAGS'
54479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54482
54483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54484 /* end confdefs.h. */
54485 #include <math.h>
54486 #ifdef HAVE_IEEEFP_H
54487 #include <ieeefp.h>
54488 #endif
54489
54490 int
54491 main ()
54492 {
54493 _fabsf(0);
54494 ;
54495 return 0;
54496 }
54497 _ACEOF
54498 if ac_fn_cxx_try_compile "$LINENO"; then :
54499 glibcxx_cv_func__fabsf_use=yes
54500 else
54501 glibcxx_cv_func__fabsf_use=no
54502 fi
54503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54504 ac_ext=c
54505 ac_cpp='$CPP $CPPFLAGS'
54506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54509
54510
54511 fi
54512
54513 fi
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54515 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54516
54517 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54518 for ac_func in _fabsf
54519 do :
54520 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54521 if test "x$ac_cv_func__fabsf" = x""yes; then :
54522 cat >>confdefs.h <<_ACEOF
54523 #define HAVE__FABSF 1
54524 _ACEOF
54525
54526 fi
54527 done
54528
54529 fi
54530 fi
54531
54532
54533
54534
54535
54536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54537 $as_echo_n "checking for fmodf declaration... " >&6; }
54538 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54539 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54540 $as_echo_n "(cached) " >&6
54541 else
54542
54543
54544 ac_ext=cpp
54545 ac_cpp='$CXXCPP $CPPFLAGS'
54546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54549
54550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54551 /* end confdefs.h. */
54552 #include <math.h>
54553 int
54554 main ()
54555 {
54556 fmodf(0, 0);
54557 ;
54558 return 0;
54559 }
54560 _ACEOF
54561 if ac_fn_cxx_try_compile "$LINENO"; then :
54562 glibcxx_cv_func_fmodf_use=yes
54563 else
54564 glibcxx_cv_func_fmodf_use=no
54565 fi
54566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54572
54573
54574 fi
54575
54576 fi
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54578 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54579
54580 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54581 for ac_func in fmodf
54582 do :
54583 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54584 if test "x$ac_cv_func_fmodf" = x""yes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE_FMODF 1
54587 _ACEOF
54588
54589 fi
54590 done
54591
54592 else
54593
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54595 $as_echo_n "checking for _fmodf declaration... " >&6; }
54596 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54597 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54598 $as_echo_n "(cached) " >&6
54599 else
54600
54601
54602 ac_ext=cpp
54603 ac_cpp='$CXXCPP $CPPFLAGS'
54604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54607
54608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54609 /* end confdefs.h. */
54610 #include <math.h>
54611 int
54612 main ()
54613 {
54614 _fmodf(0, 0);
54615 ;
54616 return 0;
54617 }
54618 _ACEOF
54619 if ac_fn_cxx_try_compile "$LINENO"; then :
54620 glibcxx_cv_func__fmodf_use=yes
54621 else
54622 glibcxx_cv_func__fmodf_use=no
54623 fi
54624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54630
54631
54632 fi
54633
54634 fi
54635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54636 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54637
54638 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54639 for ac_func in _fmodf
54640 do :
54641 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54642 if test "x$ac_cv_func__fmodf" = x""yes; then :
54643 cat >>confdefs.h <<_ACEOF
54644 #define HAVE__FMODF 1
54645 _ACEOF
54646
54647 fi
54648 done
54649
54650 fi
54651 fi
54652
54653
54654
54655
54656
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54658 $as_echo_n "checking for frexpf declaration... " >&6; }
54659 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54660 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54663
54664
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54674 int
54675 main ()
54676 {
54677 frexpf(0, 0);
54678 ;
54679 return 0;
54680 }
54681 _ACEOF
54682 if ac_fn_cxx_try_compile "$LINENO"; then :
54683 glibcxx_cv_func_frexpf_use=yes
54684 else
54685 glibcxx_cv_func_frexpf_use=no
54686 fi
54687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54688 ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693
54694
54695 fi
54696
54697 fi
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54699 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54700
54701 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54702 for ac_func in frexpf
54703 do :
54704 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54705 if test "x$ac_cv_func_frexpf" = x""yes; then :
54706 cat >>confdefs.h <<_ACEOF
54707 #define HAVE_FREXPF 1
54708 _ACEOF
54709
54710 fi
54711 done
54712
54713 else
54714
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54716 $as_echo_n "checking for _frexpf declaration... " >&6; }
54717 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54718 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54719 $as_echo_n "(cached) " >&6
54720 else
54721
54722
54723 ac_ext=cpp
54724 ac_cpp='$CXXCPP $CPPFLAGS'
54725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54728
54729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54730 /* end confdefs.h. */
54731 #include <math.h>
54732 int
54733 main ()
54734 {
54735 _frexpf(0, 0);
54736 ;
54737 return 0;
54738 }
54739 _ACEOF
54740 if ac_fn_cxx_try_compile "$LINENO"; then :
54741 glibcxx_cv_func__frexpf_use=yes
54742 else
54743 glibcxx_cv_func__frexpf_use=no
54744 fi
54745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54746 ac_ext=c
54747 ac_cpp='$CPP $CPPFLAGS'
54748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54751
54752
54753 fi
54754
54755 fi
54756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54757 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54758
54759 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54760 for ac_func in _frexpf
54761 do :
54762 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54763 if test "x$ac_cv_func__frexpf" = x""yes; then :
54764 cat >>confdefs.h <<_ACEOF
54765 #define HAVE__FREXPF 1
54766 _ACEOF
54767
54768 fi
54769 done
54770
54771 fi
54772 fi
54773
54774
54775
54776
54777
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54779 $as_echo_n "checking for hypotf declaration... " >&6; }
54780 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54781 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54782 $as_echo_n "(cached) " >&6
54783 else
54784
54785
54786 ac_ext=cpp
54787 ac_cpp='$CXXCPP $CPPFLAGS'
54788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54791
54792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54793 /* end confdefs.h. */
54794 #include <math.h>
54795 int
54796 main ()
54797 {
54798 hypotf(0, 0);
54799 ;
54800 return 0;
54801 }
54802 _ACEOF
54803 if ac_fn_cxx_try_compile "$LINENO"; then :
54804 glibcxx_cv_func_hypotf_use=yes
54805 else
54806 glibcxx_cv_func_hypotf_use=no
54807 fi
54808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54809 ac_ext=c
54810 ac_cpp='$CPP $CPPFLAGS'
54811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54814
54815
54816 fi
54817
54818 fi
54819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54820 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54821
54822 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54823 for ac_func in hypotf
54824 do :
54825 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54826 if test "x$ac_cv_func_hypotf" = x""yes; then :
54827 cat >>confdefs.h <<_ACEOF
54828 #define HAVE_HYPOTF 1
54829 _ACEOF
54830
54831 fi
54832 done
54833
54834 else
54835
54836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54837 $as_echo_n "checking for _hypotf declaration... " >&6; }
54838 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54839 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54840 $as_echo_n "(cached) " >&6
54841 else
54842
54843
54844 ac_ext=cpp
54845 ac_cpp='$CXXCPP $CPPFLAGS'
54846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54849
54850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54851 /* end confdefs.h. */
54852 #include <math.h>
54853 int
54854 main ()
54855 {
54856 _hypotf(0, 0);
54857 ;
54858 return 0;
54859 }
54860 _ACEOF
54861 if ac_fn_cxx_try_compile "$LINENO"; then :
54862 glibcxx_cv_func__hypotf_use=yes
54863 else
54864 glibcxx_cv_func__hypotf_use=no
54865 fi
54866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54867 ac_ext=c
54868 ac_cpp='$CPP $CPPFLAGS'
54869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872
54873
54874 fi
54875
54876 fi
54877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54878 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54879
54880 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54881 for ac_func in _hypotf
54882 do :
54883 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54884 if test "x$ac_cv_func__hypotf" = x""yes; then :
54885 cat >>confdefs.h <<_ACEOF
54886 #define HAVE__HYPOTF 1
54887 _ACEOF
54888
54889 fi
54890 done
54891
54892 fi
54893 fi
54894
54895
54896
54897
54898
54899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54900 $as_echo_n "checking for ldexpf declaration... " >&6; }
54901 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54902 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54903 $as_echo_n "(cached) " >&6
54904 else
54905
54906
54907 ac_ext=cpp
54908 ac_cpp='$CXXCPP $CPPFLAGS'
54909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54912
54913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54914 /* end confdefs.h. */
54915 #include <math.h>
54916 int
54917 main ()
54918 {
54919 ldexpf(0, 0);
54920 ;
54921 return 0;
54922 }
54923 _ACEOF
54924 if ac_fn_cxx_try_compile "$LINENO"; then :
54925 glibcxx_cv_func_ldexpf_use=yes
54926 else
54927 glibcxx_cv_func_ldexpf_use=no
54928 fi
54929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54930 ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935
54936
54937 fi
54938
54939 fi
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54941 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54942
54943 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54944 for ac_func in ldexpf
54945 do :
54946 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54947 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54948 cat >>confdefs.h <<_ACEOF
54949 #define HAVE_LDEXPF 1
54950 _ACEOF
54951
54952 fi
54953 done
54954
54955 else
54956
54957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54958 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54959 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54960 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54961 $as_echo_n "(cached) " >&6
54962 else
54963
54964
54965 ac_ext=cpp
54966 ac_cpp='$CXXCPP $CPPFLAGS'
54967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54970
54971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54972 /* end confdefs.h. */
54973 #include <math.h>
54974 int
54975 main ()
54976 {
54977 _ldexpf(0, 0);
54978 ;
54979 return 0;
54980 }
54981 _ACEOF
54982 if ac_fn_cxx_try_compile "$LINENO"; then :
54983 glibcxx_cv_func__ldexpf_use=yes
54984 else
54985 glibcxx_cv_func__ldexpf_use=no
54986 fi
54987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54988 ac_ext=c
54989 ac_cpp='$CPP $CPPFLAGS'
54990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54993
54994
54995 fi
54996
54997 fi
54998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54999 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55000
55001 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55002 for ac_func in _ldexpf
55003 do :
55004 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55005 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55006 cat >>confdefs.h <<_ACEOF
55007 #define HAVE__LDEXPF 1
55008 _ACEOF
55009
55010 fi
55011 done
55012
55013 fi
55014 fi
55015
55016
55017
55018
55019
55020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55021 $as_echo_n "checking for logf declaration... " >&6; }
55022 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55023 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55024 $as_echo_n "(cached) " >&6
55025 else
55026
55027
55028 ac_ext=cpp
55029 ac_cpp='$CXXCPP $CPPFLAGS'
55030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55033
55034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55035 /* end confdefs.h. */
55036 #include <math.h>
55037 #ifdef HAVE_IEEEFP_H
55038 #include <ieeefp.h>
55039 #endif
55040
55041 int
55042 main ()
55043 {
55044 logf(0);
55045 ;
55046 return 0;
55047 }
55048 _ACEOF
55049 if ac_fn_cxx_try_compile "$LINENO"; then :
55050 glibcxx_cv_func_logf_use=yes
55051 else
55052 glibcxx_cv_func_logf_use=no
55053 fi
55054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55055 ac_ext=c
55056 ac_cpp='$CPP $CPPFLAGS'
55057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55060
55061
55062 fi
55063
55064 fi
55065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55066 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55067
55068 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55069 for ac_func in logf
55070 do :
55071 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55072 if test "x$ac_cv_func_logf" = x""yes; then :
55073 cat >>confdefs.h <<_ACEOF
55074 #define HAVE_LOGF 1
55075 _ACEOF
55076
55077 fi
55078 done
55079
55080 else
55081
55082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55083 $as_echo_n "checking for _logf declaration... " >&6; }
55084 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55085 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55086 $as_echo_n "(cached) " >&6
55087 else
55088
55089
55090 ac_ext=cpp
55091 ac_cpp='$CXXCPP $CPPFLAGS'
55092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55095
55096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55097 /* end confdefs.h. */
55098 #include <math.h>
55099 #ifdef HAVE_IEEEFP_H
55100 #include <ieeefp.h>
55101 #endif
55102
55103 int
55104 main ()
55105 {
55106 _logf(0);
55107 ;
55108 return 0;
55109 }
55110 _ACEOF
55111 if ac_fn_cxx_try_compile "$LINENO"; then :
55112 glibcxx_cv_func__logf_use=yes
55113 else
55114 glibcxx_cv_func__logf_use=no
55115 fi
55116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55117 ac_ext=c
55118 ac_cpp='$CPP $CPPFLAGS'
55119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55122
55123
55124 fi
55125
55126 fi
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55128 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55129
55130 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55131 for ac_func in _logf
55132 do :
55133 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55134 if test "x$ac_cv_func__logf" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define HAVE__LOGF 1
55137 _ACEOF
55138
55139 fi
55140 done
55141
55142 fi
55143 fi
55144
55145
55146
55147
55148
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55150 $as_echo_n "checking for log10f declaration... " >&6; }
55151 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55152 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55153 $as_echo_n "(cached) " >&6
55154 else
55155
55156
55157 ac_ext=cpp
55158 ac_cpp='$CXXCPP $CPPFLAGS'
55159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55162
55163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55164 /* end confdefs.h. */
55165 #include <math.h>
55166 #ifdef HAVE_IEEEFP_H
55167 #include <ieeefp.h>
55168 #endif
55169
55170 int
55171 main ()
55172 {
55173 log10f(0);
55174 ;
55175 return 0;
55176 }
55177 _ACEOF
55178 if ac_fn_cxx_try_compile "$LINENO"; then :
55179 glibcxx_cv_func_log10f_use=yes
55180 else
55181 glibcxx_cv_func_log10f_use=no
55182 fi
55183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55184 ac_ext=c
55185 ac_cpp='$CPP $CPPFLAGS'
55186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55189
55190
55191 fi
55192
55193 fi
55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55195 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55196
55197 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55198 for ac_func in log10f
55199 do :
55200 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55201 if test "x$ac_cv_func_log10f" = x""yes; then :
55202 cat >>confdefs.h <<_ACEOF
55203 #define HAVE_LOG10F 1
55204 _ACEOF
55205
55206 fi
55207 done
55208
55209 else
55210
55211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55212 $as_echo_n "checking for _log10f declaration... " >&6; }
55213 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55214 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55215 $as_echo_n "(cached) " >&6
55216 else
55217
55218
55219 ac_ext=cpp
55220 ac_cpp='$CXXCPP $CPPFLAGS'
55221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55224
55225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55226 /* end confdefs.h. */
55227 #include <math.h>
55228 #ifdef HAVE_IEEEFP_H
55229 #include <ieeefp.h>
55230 #endif
55231
55232 int
55233 main ()
55234 {
55235 _log10f(0);
55236 ;
55237 return 0;
55238 }
55239 _ACEOF
55240 if ac_fn_cxx_try_compile "$LINENO"; then :
55241 glibcxx_cv_func__log10f_use=yes
55242 else
55243 glibcxx_cv_func__log10f_use=no
55244 fi
55245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55246 ac_ext=c
55247 ac_cpp='$CPP $CPPFLAGS'
55248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55251
55252
55253 fi
55254
55255 fi
55256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55257 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55258
55259 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55260 for ac_func in _log10f
55261 do :
55262 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55263 if test "x$ac_cv_func__log10f" = x""yes; then :
55264 cat >>confdefs.h <<_ACEOF
55265 #define HAVE__LOG10F 1
55266 _ACEOF
55267
55268 fi
55269 done
55270
55271 fi
55272 fi
55273
55274
55275
55276
55277
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55279 $as_echo_n "checking for modff declaration... " >&6; }
55280 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55281 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55282 $as_echo_n "(cached) " >&6
55283 else
55284
55285
55286 ac_ext=cpp
55287 ac_cpp='$CXXCPP $CPPFLAGS'
55288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55291
55292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55293 /* end confdefs.h. */
55294 #include <math.h>
55295 int
55296 main ()
55297 {
55298 modff(0, 0);
55299 ;
55300 return 0;
55301 }
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func_modff_use=yes
55305 else
55306 glibcxx_cv_func_modff_use=no
55307 fi
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316 fi
55317
55318 fi
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55320 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55321
55322 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55323 for ac_func in modff
55324 do :
55325 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55326 if test "x$ac_cv_func_modff" = x""yes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE_MODFF 1
55329 _ACEOF
55330
55331 fi
55332 done
55333
55334 else
55335
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55337 $as_echo_n "checking for _modff declaration... " >&6; }
55338 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55339 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55342
55343
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55349
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 int
55354 main ()
55355 {
55356 _modff(0, 0);
55357 ;
55358 return 0;
55359 }
55360 _ACEOF
55361 if ac_fn_cxx_try_compile "$LINENO"; then :
55362 glibcxx_cv_func__modff_use=yes
55363 else
55364 glibcxx_cv_func__modff_use=no
55365 fi
55366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55367 ac_ext=c
55368 ac_cpp='$CPP $CPPFLAGS'
55369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55372
55373
55374 fi
55375
55376 fi
55377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55378 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55379
55380 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55381 for ac_func in _modff
55382 do :
55383 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55384 if test "x$ac_cv_func__modff" = x""yes; then :
55385 cat >>confdefs.h <<_ACEOF
55386 #define HAVE__MODFF 1
55387 _ACEOF
55388
55389 fi
55390 done
55391
55392 fi
55393 fi
55394
55395
55396
55397
55398
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55400 $as_echo_n "checking for modf declaration... " >&6; }
55401 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55402 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55403 $as_echo_n "(cached) " >&6
55404 else
55405
55406
55407 ac_ext=cpp
55408 ac_cpp='$CXXCPP $CPPFLAGS'
55409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55412
55413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55414 /* end confdefs.h. */
55415 #include <math.h>
55416 int
55417 main ()
55418 {
55419 modf(0, 0);
55420 ;
55421 return 0;
55422 }
55423 _ACEOF
55424 if ac_fn_cxx_try_compile "$LINENO"; then :
55425 glibcxx_cv_func_modf_use=yes
55426 else
55427 glibcxx_cv_func_modf_use=no
55428 fi
55429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55430 ac_ext=c
55431 ac_cpp='$CPP $CPPFLAGS'
55432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435
55436
55437 fi
55438
55439 fi
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55441 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55442
55443 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55444 for ac_func in modf
55445 do :
55446 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55447 if test "x$ac_cv_func_modf" = x""yes; then :
55448 cat >>confdefs.h <<_ACEOF
55449 #define HAVE_MODF 1
55450 _ACEOF
55451
55452 fi
55453 done
55454
55455 else
55456
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55458 $as_echo_n "checking for _modf declaration... " >&6; }
55459 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55460 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55463
55464
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55470
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 int
55475 main ()
55476 {
55477 _modf(0, 0);
55478 ;
55479 return 0;
55480 }
55481 _ACEOF
55482 if ac_fn_cxx_try_compile "$LINENO"; then :
55483 glibcxx_cv_func__modf_use=yes
55484 else
55485 glibcxx_cv_func__modf_use=no
55486 fi
55487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493
55494
55495 fi
55496
55497 fi
55498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55499 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55500
55501 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55502 for ac_func in _modf
55503 do :
55504 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55505 if test "x$ac_cv_func__modf" = x""yes; then :
55506 cat >>confdefs.h <<_ACEOF
55507 #define HAVE__MODF 1
55508 _ACEOF
55509
55510 fi
55511 done
55512
55513 fi
55514 fi
55515
55516
55517
55518
55519
55520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55521 $as_echo_n "checking for powf declaration... " >&6; }
55522 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55523 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55524 $as_echo_n "(cached) " >&6
55525 else
55526
55527
55528 ac_ext=cpp
55529 ac_cpp='$CXXCPP $CPPFLAGS'
55530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55533
55534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55535 /* end confdefs.h. */
55536 #include <math.h>
55537 int
55538 main ()
55539 {
55540 powf(0, 0);
55541 ;
55542 return 0;
55543 }
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func_powf_use=yes
55547 else
55548 glibcxx_cv_func_powf_use=no
55549 fi
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55556
55557
55558 fi
55559
55560 fi
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55562 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55563
55564 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55565 for ac_func in powf
55566 do :
55567 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55568 if test "x$ac_cv_func_powf" = x""yes; then :
55569 cat >>confdefs.h <<_ACEOF
55570 #define HAVE_POWF 1
55571 _ACEOF
55572
55573 fi
55574 done
55575
55576 else
55577
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55579 $as_echo_n "checking for _powf declaration... " >&6; }
55580 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55581 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55582 $as_echo_n "(cached) " >&6
55583 else
55584
55585
55586 ac_ext=cpp
55587 ac_cpp='$CXXCPP $CPPFLAGS'
55588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55591
55592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55593 /* end confdefs.h. */
55594 #include <math.h>
55595 int
55596 main ()
55597 {
55598 _powf(0, 0);
55599 ;
55600 return 0;
55601 }
55602 _ACEOF
55603 if ac_fn_cxx_try_compile "$LINENO"; then :
55604 glibcxx_cv_func__powf_use=yes
55605 else
55606 glibcxx_cv_func__powf_use=no
55607 fi
55608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55609 ac_ext=c
55610 ac_cpp='$CPP $CPPFLAGS'
55611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55614
55615
55616 fi
55617
55618 fi
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55620 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55621
55622 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55623 for ac_func in _powf
55624 do :
55625 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55626 if test "x$ac_cv_func__powf" = x""yes; then :
55627 cat >>confdefs.h <<_ACEOF
55628 #define HAVE__POWF 1
55629 _ACEOF
55630
55631 fi
55632 done
55633
55634 fi
55635 fi
55636
55637
55638
55639
55640
55641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55642 $as_echo_n "checking for sqrtf declaration... " >&6; }
55643 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55644 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55645 $as_echo_n "(cached) " >&6
55646 else
55647
55648
55649 ac_ext=cpp
55650 ac_cpp='$CXXCPP $CPPFLAGS'
55651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55654
55655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55656 /* end confdefs.h. */
55657 #include <math.h>
55658 #ifdef HAVE_IEEEFP_H
55659 #include <ieeefp.h>
55660 #endif
55661
55662 int
55663 main ()
55664 {
55665 sqrtf(0);
55666 ;
55667 return 0;
55668 }
55669 _ACEOF
55670 if ac_fn_cxx_try_compile "$LINENO"; then :
55671 glibcxx_cv_func_sqrtf_use=yes
55672 else
55673 glibcxx_cv_func_sqrtf_use=no
55674 fi
55675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55676 ac_ext=c
55677 ac_cpp='$CPP $CPPFLAGS'
55678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55681
55682
55683 fi
55684
55685 fi
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55687 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55688
55689 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55690 for ac_func in sqrtf
55691 do :
55692 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55693 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55694 cat >>confdefs.h <<_ACEOF
55695 #define HAVE_SQRTF 1
55696 _ACEOF
55697
55698 fi
55699 done
55700
55701 else
55702
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55704 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55705 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55706 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55707 $as_echo_n "(cached) " >&6
55708 else
55709
55710
55711 ac_ext=cpp
55712 ac_cpp='$CXXCPP $CPPFLAGS'
55713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55716
55717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55718 /* end confdefs.h. */
55719 #include <math.h>
55720 #ifdef HAVE_IEEEFP_H
55721 #include <ieeefp.h>
55722 #endif
55723
55724 int
55725 main ()
55726 {
55727 _sqrtf(0);
55728 ;
55729 return 0;
55730 }
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func__sqrtf_use=yes
55734 else
55735 glibcxx_cv_func__sqrtf_use=no
55736 fi
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55743
55744
55745 fi
55746
55747 fi
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55749 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55750
55751 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55752 for ac_func in _sqrtf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55755 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE__SQRTF 1
55758 _ACEOF
55759
55760 fi
55761 done
55762
55763 fi
55764 fi
55765
55766
55767
55768
55769
55770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55771 $as_echo_n "checking for sincosf declaration... " >&6; }
55772 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55773 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55774 $as_echo_n "(cached) " >&6
55775 else
55776
55777
55778 ac_ext=cpp
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55783
55784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785 /* end confdefs.h. */
55786 #include <math.h>
55787 int
55788 main ()
55789 {
55790 sincosf(0, 0, 0);
55791 ;
55792 return 0;
55793 }
55794 _ACEOF
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796 glibcxx_cv_func_sincosf_use=yes
55797 else
55798 glibcxx_cv_func_sincosf_use=no
55799 fi
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55801 ac_ext=c
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55806
55807
55808 fi
55809
55810 fi
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55812 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55813
55814 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55815 for ac_func in sincosf
55816 do :
55817 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55818 if test "x$ac_cv_func_sincosf" = x""yes; then :
55819 cat >>confdefs.h <<_ACEOF
55820 #define HAVE_SINCOSF 1
55821 _ACEOF
55822
55823 fi
55824 done
55825
55826 else
55827
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55829 $as_echo_n "checking for _sincosf declaration... " >&6; }
55830 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55831 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55832 $as_echo_n "(cached) " >&6
55833 else
55834
55835
55836 ac_ext=cpp
55837 ac_cpp='$CXXCPP $CPPFLAGS'
55838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55841
55842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55843 /* end confdefs.h. */
55844 #include <math.h>
55845 int
55846 main ()
55847 {
55848 _sincosf(0, 0, 0);
55849 ;
55850 return 0;
55851 }
55852 _ACEOF
55853 if ac_fn_cxx_try_compile "$LINENO"; then :
55854 glibcxx_cv_func__sincosf_use=yes
55855 else
55856 glibcxx_cv_func__sincosf_use=no
55857 fi
55858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55859 ac_ext=c
55860 ac_cpp='$CPP $CPPFLAGS'
55861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55864
55865
55866 fi
55867
55868 fi
55869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55870 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55871
55872 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55873 for ac_func in _sincosf
55874 do :
55875 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55876 if test "x$ac_cv_func__sincosf" = x""yes; then :
55877 cat >>confdefs.h <<_ACEOF
55878 #define HAVE__SINCOSF 1
55879 _ACEOF
55880
55881 fi
55882 done
55883
55884 fi
55885 fi
55886
55887
55888
55889
55890
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55892 $as_echo_n "checking for finitef declaration... " >&6; }
55893 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55894 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55897
55898
55899 ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55904
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55907 #include <math.h>
55908 #ifdef HAVE_IEEEFP_H
55909 #include <ieeefp.h>
55910 #endif
55911
55912 int
55913 main ()
55914 {
55915 finitef(0);
55916 ;
55917 return 0;
55918 }
55919 _ACEOF
55920 if ac_fn_cxx_try_compile "$LINENO"; then :
55921 glibcxx_cv_func_finitef_use=yes
55922 else
55923 glibcxx_cv_func_finitef_use=no
55924 fi
55925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55926 ac_ext=c
55927 ac_cpp='$CPP $CPPFLAGS'
55928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55931
55932
55933 fi
55934
55935 fi
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55937 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55938
55939 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55940 for ac_func in finitef
55941 do :
55942 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55943 if test "x$ac_cv_func_finitef" = x""yes; then :
55944 cat >>confdefs.h <<_ACEOF
55945 #define HAVE_FINITEF 1
55946 _ACEOF
55947
55948 fi
55949 done
55950
55951 else
55952
55953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55954 $as_echo_n "checking for _finitef declaration... " >&6; }
55955 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55956 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55957 $as_echo_n "(cached) " >&6
55958 else
55959
55960
55961 ac_ext=cpp
55962 ac_cpp='$CXXCPP $CPPFLAGS'
55963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55966
55967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55968 /* end confdefs.h. */
55969 #include <math.h>
55970 #ifdef HAVE_IEEEFP_H
55971 #include <ieeefp.h>
55972 #endif
55973
55974 int
55975 main ()
55976 {
55977 _finitef(0);
55978 ;
55979 return 0;
55980 }
55981 _ACEOF
55982 if ac_fn_cxx_try_compile "$LINENO"; then :
55983 glibcxx_cv_func__finitef_use=yes
55984 else
55985 glibcxx_cv_func__finitef_use=no
55986 fi
55987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988 ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55993
55994
55995 fi
55996
55997 fi
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55999 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56000
56001 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56002 for ac_func in _finitef
56003 do :
56004 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56005 if test "x$ac_cv_func__finitef" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define HAVE__FINITEF 1
56008 _ACEOF
56009
56010 fi
56011 done
56012
56013 fi
56014 fi
56015
56016
56017
56018
56019
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56021 $as_echo_n "checking for long double trig functions... " >&6; }
56022 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56023 $as_echo_n "(cached) " >&6
56024 else
56025
56026
56027 ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56032
56033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h. */
56035 #include <math.h>
56036 int
56037 main ()
56038 {
56039 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56040 ;
56041 return 0;
56042 }
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045 glibcxx_cv_func_long_double_trig_use=yes
56046 else
56047 glibcxx_cv_func_long_double_trig_use=no
56048 fi
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050 ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56055
56056 fi
56057
56058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56059 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56060 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56061 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56062 do :
56063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56065 eval as_val=\$$as_ac_var
56066 if test "x$as_val" = x""yes; then :
56067 cat >>confdefs.h <<_ACEOF
56068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56070
56071 fi
56072 done
56073
56074 else
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56076 $as_echo_n "checking for _long double trig functions... " >&6; }
56077 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56080
56081
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56091 int
56092 main ()
56093 {
56094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56095 ;
56096 return 0;
56097 }
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__long_double_trig_use=yes
56101 else
56102 glibcxx_cv_func__long_double_trig_use=no
56103 fi
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56110
56111 fi
56112
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56114 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56115 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56116 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56117 do :
56118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121 if test "x$as_val" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56125
56126 fi
56127 done
56128
56129 fi
56130 fi
56131
56132
56133
56134
56135
56136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56137 $as_echo_n "checking for long double round functions... " >&6; }
56138 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56140 else
56141
56142
56143 ac_ext=cpp
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56148
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56151 #include <math.h>
56152 int
56153 main ()
56154 {
56155 ceill (0); floorl (0);
56156 ;
56157 return 0;
56158 }
56159 _ACEOF
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_long_double_round_use=yes
56162 else
56163 glibcxx_cv_func_long_double_round_use=no
56164 fi
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56171
56172 fi
56173
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56175 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56176 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56177 for ac_func in ceill floorl
56178 do :
56179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56181 eval as_val=\$$as_ac_var
56182 if test "x$as_val" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56185 _ACEOF
56186
56187 fi
56188 done
56189
56190 else
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56192 $as_echo_n "checking for _long double round functions... " >&6; }
56193 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56194 $as_echo_n "(cached) " >&6
56195 else
56196
56197
56198 ac_ext=cpp
56199 ac_cpp='$CXXCPP $CPPFLAGS'
56200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56203
56204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56205 /* end confdefs.h. */
56206 #include <math.h>
56207 int
56208 main ()
56209 {
56210 _ceill (0); _floorl (0);
56211 ;
56212 return 0;
56213 }
56214 _ACEOF
56215 if ac_fn_cxx_try_compile "$LINENO"; then :
56216 glibcxx_cv_func__long_double_round_use=yes
56217 else
56218 glibcxx_cv_func__long_double_round_use=no
56219 fi
56220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56221 ac_ext=c
56222 ac_cpp='$CPP $CPPFLAGS'
56223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56226
56227 fi
56228
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56230 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56231 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56232 for ac_func in _ceill _floorl
56233 do :
56234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56236 eval as_val=\$$as_ac_var
56237 if test "x$as_val" = x""yes; then :
56238 cat >>confdefs.h <<_ACEOF
56239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56240 _ACEOF
56241
56242 fi
56243 done
56244
56245 fi
56246 fi
56247
56248
56249
56250
56251
56252
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56254 $as_echo_n "checking for isnanl declaration... " >&6; }
56255 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56256 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56257 $as_echo_n "(cached) " >&6
56258 else
56259
56260
56261 ac_ext=cpp
56262 ac_cpp='$CXXCPP $CPPFLAGS'
56263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56266
56267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56268 /* end confdefs.h. */
56269 #include <math.h>
56270 #ifdef HAVE_IEEEFP_H
56271 #include <ieeefp.h>
56272 #endif
56273
56274 int
56275 main ()
56276 {
56277 isnanl(0);
56278 ;
56279 return 0;
56280 }
56281 _ACEOF
56282 if ac_fn_cxx_try_compile "$LINENO"; then :
56283 glibcxx_cv_func_isnanl_use=yes
56284 else
56285 glibcxx_cv_func_isnanl_use=no
56286 fi
56287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56288 ac_ext=c
56289 ac_cpp='$CPP $CPPFLAGS'
56290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56293
56294
56295 fi
56296
56297 fi
56298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56299 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56300
56301 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56302 for ac_func in isnanl
56303 do :
56304 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56305 if test "x$ac_cv_func_isnanl" = x""yes; then :
56306 cat >>confdefs.h <<_ACEOF
56307 #define HAVE_ISNANL 1
56308 _ACEOF
56309
56310 fi
56311 done
56312
56313 else
56314
56315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56316 $as_echo_n "checking for _isnanl declaration... " >&6; }
56317 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56318 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56319 $as_echo_n "(cached) " >&6
56320 else
56321
56322
56323 ac_ext=cpp
56324 ac_cpp='$CXXCPP $CPPFLAGS'
56325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56328
56329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56330 /* end confdefs.h. */
56331 #include <math.h>
56332 #ifdef HAVE_IEEEFP_H
56333 #include <ieeefp.h>
56334 #endif
56335
56336 int
56337 main ()
56338 {
56339 _isnanl(0);
56340 ;
56341 return 0;
56342 }
56343 _ACEOF
56344 if ac_fn_cxx_try_compile "$LINENO"; then :
56345 glibcxx_cv_func__isnanl_use=yes
56346 else
56347 glibcxx_cv_func__isnanl_use=no
56348 fi
56349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56350 ac_ext=c
56351 ac_cpp='$CPP $CPPFLAGS'
56352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56355
56356
56357 fi
56358
56359 fi
56360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56361 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56362
56363 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56364 for ac_func in _isnanl
56365 do :
56366 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56367 if test "x$ac_cv_func__isnanl" = x""yes; then :
56368 cat >>confdefs.h <<_ACEOF
56369 #define HAVE__ISNANL 1
56370 _ACEOF
56371
56372 fi
56373 done
56374
56375 fi
56376 fi
56377
56378
56379
56380
56381
56382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56383 $as_echo_n "checking for isinfl declaration... " >&6; }
56384 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56385 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56386 $as_echo_n "(cached) " >&6
56387 else
56388
56389
56390 ac_ext=cpp
56391 ac_cpp='$CXXCPP $CPPFLAGS'
56392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56395
56396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56397 /* end confdefs.h. */
56398 #include <math.h>
56399 #ifdef HAVE_IEEEFP_H
56400 #include <ieeefp.h>
56401 #endif
56402
56403 int
56404 main ()
56405 {
56406 isinfl(0);
56407 ;
56408 return 0;
56409 }
56410 _ACEOF
56411 if ac_fn_cxx_try_compile "$LINENO"; then :
56412 glibcxx_cv_func_isinfl_use=yes
56413 else
56414 glibcxx_cv_func_isinfl_use=no
56415 fi
56416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56417 ac_ext=c
56418 ac_cpp='$CPP $CPPFLAGS'
56419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56422
56423
56424 fi
56425
56426 fi
56427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56428 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56429
56430 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56431 for ac_func in isinfl
56432 do :
56433 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56434 if test "x$ac_cv_func_isinfl" = x""yes; then :
56435 cat >>confdefs.h <<_ACEOF
56436 #define HAVE_ISINFL 1
56437 _ACEOF
56438
56439 fi
56440 done
56441
56442 else
56443
56444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56445 $as_echo_n "checking for _isinfl declaration... " >&6; }
56446 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56447 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56448 $as_echo_n "(cached) " >&6
56449 else
56450
56451
56452 ac_ext=cpp
56453 ac_cpp='$CXXCPP $CPPFLAGS'
56454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56457
56458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56459 /* end confdefs.h. */
56460 #include <math.h>
56461 #ifdef HAVE_IEEEFP_H
56462 #include <ieeefp.h>
56463 #endif
56464
56465 int
56466 main ()
56467 {
56468 _isinfl(0);
56469 ;
56470 return 0;
56471 }
56472 _ACEOF
56473 if ac_fn_cxx_try_compile "$LINENO"; then :
56474 glibcxx_cv_func__isinfl_use=yes
56475 else
56476 glibcxx_cv_func__isinfl_use=no
56477 fi
56478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56479 ac_ext=c
56480 ac_cpp='$CPP $CPPFLAGS'
56481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56484
56485
56486 fi
56487
56488 fi
56489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56490 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56491
56492 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56493 for ac_func in _isinfl
56494 do :
56495 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56496 if test "x$ac_cv_func__isinfl" = x""yes; then :
56497 cat >>confdefs.h <<_ACEOF
56498 #define HAVE__ISINFL 1
56499 _ACEOF
56500
56501 fi
56502 done
56503
56504 fi
56505 fi
56506
56507
56508
56509
56510
56511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56512 $as_echo_n "checking for atan2l declaration... " >&6; }
56513 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56514 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56515 $as_echo_n "(cached) " >&6
56516 else
56517
56518
56519 ac_ext=cpp
56520 ac_cpp='$CXXCPP $CPPFLAGS'
56521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56524
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56527 #include <math.h>
56528 int
56529 main ()
56530 {
56531 atan2l(0, 0);
56532 ;
56533 return 0;
56534 }
56535 _ACEOF
56536 if ac_fn_cxx_try_compile "$LINENO"; then :
56537 glibcxx_cv_func_atan2l_use=yes
56538 else
56539 glibcxx_cv_func_atan2l_use=no
56540 fi
56541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56542 ac_ext=c
56543 ac_cpp='$CPP $CPPFLAGS'
56544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547
56548
56549 fi
56550
56551 fi
56552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56553 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56554
56555 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56556 for ac_func in atan2l
56557 do :
56558 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56559 if test "x$ac_cv_func_atan2l" = x""yes; then :
56560 cat >>confdefs.h <<_ACEOF
56561 #define HAVE_ATAN2L 1
56562 _ACEOF
56563
56564 fi
56565 done
56566
56567 else
56568
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56570 $as_echo_n "checking for _atan2l declaration... " >&6; }
56571 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56572 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56575
56576
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56582
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <math.h>
56586 int
56587 main ()
56588 {
56589 _atan2l(0, 0);
56590 ;
56591 return 0;
56592 }
56593 _ACEOF
56594 if ac_fn_cxx_try_compile "$LINENO"; then :
56595 glibcxx_cv_func__atan2l_use=yes
56596 else
56597 glibcxx_cv_func__atan2l_use=no
56598 fi
56599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56600 ac_ext=c
56601 ac_cpp='$CPP $CPPFLAGS'
56602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56605
56606
56607 fi
56608
56609 fi
56610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56611 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56612
56613 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56614 for ac_func in _atan2l
56615 do :
56616 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56617 if test "x$ac_cv_func__atan2l" = x""yes; then :
56618 cat >>confdefs.h <<_ACEOF
56619 #define HAVE__ATAN2L 1
56620 _ACEOF
56621
56622 fi
56623 done
56624
56625 fi
56626 fi
56627
56628
56629
56630
56631
56632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56633 $as_echo_n "checking for expl declaration... " >&6; }
56634 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56635 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56636 $as_echo_n "(cached) " >&6
56637 else
56638
56639
56640 ac_ext=cpp
56641 ac_cpp='$CXXCPP $CPPFLAGS'
56642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56645
56646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56647 /* end confdefs.h. */
56648 #include <math.h>
56649 #ifdef HAVE_IEEEFP_H
56650 #include <ieeefp.h>
56651 #endif
56652
56653 int
56654 main ()
56655 {
56656 expl(0);
56657 ;
56658 return 0;
56659 }
56660 _ACEOF
56661 if ac_fn_cxx_try_compile "$LINENO"; then :
56662 glibcxx_cv_func_expl_use=yes
56663 else
56664 glibcxx_cv_func_expl_use=no
56665 fi
56666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56667 ac_ext=c
56668 ac_cpp='$CPP $CPPFLAGS'
56669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56672
56673
56674 fi
56675
56676 fi
56677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56678 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56679
56680 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56681 for ac_func in expl
56682 do :
56683 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56684 if test "x$ac_cv_func_expl" = x""yes; then :
56685 cat >>confdefs.h <<_ACEOF
56686 #define HAVE_EXPL 1
56687 _ACEOF
56688
56689 fi
56690 done
56691
56692 else
56693
56694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56695 $as_echo_n "checking for _expl declaration... " >&6; }
56696 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56697 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56698 $as_echo_n "(cached) " >&6
56699 else
56700
56701
56702 ac_ext=cpp
56703 ac_cpp='$CXXCPP $CPPFLAGS'
56704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56707
56708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56709 /* end confdefs.h. */
56710 #include <math.h>
56711 #ifdef HAVE_IEEEFP_H
56712 #include <ieeefp.h>
56713 #endif
56714
56715 int
56716 main ()
56717 {
56718 _expl(0);
56719 ;
56720 return 0;
56721 }
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func__expl_use=yes
56725 else
56726 glibcxx_cv_func__expl_use=no
56727 fi
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56734
56735
56736 fi
56737
56738 fi
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56740 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56741
56742 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56743 for ac_func in _expl
56744 do :
56745 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56746 if test "x$ac_cv_func__expl" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE__EXPL 1
56749 _ACEOF
56750
56751 fi
56752 done
56753
56754 fi
56755 fi
56756
56757
56758
56759
56760
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56762 $as_echo_n "checking for fabsl declaration... " >&6; }
56763 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56764 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56765 $as_echo_n "(cached) " >&6
56766 else
56767
56768
56769 ac_ext=cpp
56770 ac_cpp='$CXXCPP $CPPFLAGS'
56771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56774
56775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56776 /* end confdefs.h. */
56777 #include <math.h>
56778 #ifdef HAVE_IEEEFP_H
56779 #include <ieeefp.h>
56780 #endif
56781
56782 int
56783 main ()
56784 {
56785 fabsl(0);
56786 ;
56787 return 0;
56788 }
56789 _ACEOF
56790 if ac_fn_cxx_try_compile "$LINENO"; then :
56791 glibcxx_cv_func_fabsl_use=yes
56792 else
56793 glibcxx_cv_func_fabsl_use=no
56794 fi
56795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56796 ac_ext=c
56797 ac_cpp='$CPP $CPPFLAGS'
56798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56801
56802
56803 fi
56804
56805 fi
56806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56807 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56808
56809 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56810 for ac_func in fabsl
56811 do :
56812 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56813 if test "x$ac_cv_func_fabsl" = x""yes; then :
56814 cat >>confdefs.h <<_ACEOF
56815 #define HAVE_FABSL 1
56816 _ACEOF
56817
56818 fi
56819 done
56820
56821 else
56822
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56824 $as_echo_n "checking for _fabsl declaration... " >&6; }
56825 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56826 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56827 $as_echo_n "(cached) " >&6
56828 else
56829
56830
56831 ac_ext=cpp
56832 ac_cpp='$CXXCPP $CPPFLAGS'
56833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56836
56837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56838 /* end confdefs.h. */
56839 #include <math.h>
56840 #ifdef HAVE_IEEEFP_H
56841 #include <ieeefp.h>
56842 #endif
56843
56844 int
56845 main ()
56846 {
56847 _fabsl(0);
56848 ;
56849 return 0;
56850 }
56851 _ACEOF
56852 if ac_fn_cxx_try_compile "$LINENO"; then :
56853 glibcxx_cv_func__fabsl_use=yes
56854 else
56855 glibcxx_cv_func__fabsl_use=no
56856 fi
56857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56858 ac_ext=c
56859 ac_cpp='$CPP $CPPFLAGS'
56860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56863
56864
56865 fi
56866
56867 fi
56868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56869 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56870
56871 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56872 for ac_func in _fabsl
56873 do :
56874 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56875 if test "x$ac_cv_func__fabsl" = x""yes; then :
56876 cat >>confdefs.h <<_ACEOF
56877 #define HAVE__FABSL 1
56878 _ACEOF
56879
56880 fi
56881 done
56882
56883 fi
56884 fi
56885
56886
56887
56888
56889
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56891 $as_echo_n "checking for fmodl declaration... " >&6; }
56892 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56893 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56894 $as_echo_n "(cached) " >&6
56895 else
56896
56897
56898 ac_ext=cpp
56899 ac_cpp='$CXXCPP $CPPFLAGS'
56900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56903
56904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56905 /* end confdefs.h. */
56906 #include <math.h>
56907 int
56908 main ()
56909 {
56910 fmodl(0, 0);
56911 ;
56912 return 0;
56913 }
56914 _ACEOF
56915 if ac_fn_cxx_try_compile "$LINENO"; then :
56916 glibcxx_cv_func_fmodl_use=yes
56917 else
56918 glibcxx_cv_func_fmodl_use=no
56919 fi
56920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56921 ac_ext=c
56922 ac_cpp='$CPP $CPPFLAGS'
56923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56926
56927
56928 fi
56929
56930 fi
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56932 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56933
56934 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56935 for ac_func in fmodl
56936 do :
56937 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56938 if test "x$ac_cv_func_fmodl" = x""yes; then :
56939 cat >>confdefs.h <<_ACEOF
56940 #define HAVE_FMODL 1
56941 _ACEOF
56942
56943 fi
56944 done
56945
56946 else
56947
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56949 $as_echo_n "checking for _fmodl declaration... " >&6; }
56950 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56951 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56952 $as_echo_n "(cached) " >&6
56953 else
56954
56955
56956 ac_ext=cpp
56957 ac_cpp='$CXXCPP $CPPFLAGS'
56958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56961
56962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56963 /* end confdefs.h. */
56964 #include <math.h>
56965 int
56966 main ()
56967 {
56968 _fmodl(0, 0);
56969 ;
56970 return 0;
56971 }
56972 _ACEOF
56973 if ac_fn_cxx_try_compile "$LINENO"; then :
56974 glibcxx_cv_func__fmodl_use=yes
56975 else
56976 glibcxx_cv_func__fmodl_use=no
56977 fi
56978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56979 ac_ext=c
56980 ac_cpp='$CPP $CPPFLAGS'
56981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56984
56985
56986 fi
56987
56988 fi
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56990 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56991
56992 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56993 for ac_func in _fmodl
56994 do :
56995 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56996 if test "x$ac_cv_func__fmodl" = x""yes; then :
56997 cat >>confdefs.h <<_ACEOF
56998 #define HAVE__FMODL 1
56999 _ACEOF
57000
57001 fi
57002 done
57003
57004 fi
57005 fi
57006
57007
57008
57009
57010
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57012 $as_echo_n "checking for frexpl declaration... " >&6; }
57013 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57014 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57015 $as_echo_n "(cached) " >&6
57016 else
57017
57018
57019 ac_ext=cpp
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57024
57025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57026 /* end confdefs.h. */
57027 #include <math.h>
57028 int
57029 main ()
57030 {
57031 frexpl(0, 0);
57032 ;
57033 return 0;
57034 }
57035 _ACEOF
57036 if ac_fn_cxx_try_compile "$LINENO"; then :
57037 glibcxx_cv_func_frexpl_use=yes
57038 else
57039 glibcxx_cv_func_frexpl_use=no
57040 fi
57041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042 ac_ext=c
57043 ac_cpp='$CPP $CPPFLAGS'
57044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047
57048
57049 fi
57050
57051 fi
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57053 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57054
57055 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57056 for ac_func in frexpl
57057 do :
57058 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57059 if test "x$ac_cv_func_frexpl" = x""yes; then :
57060 cat >>confdefs.h <<_ACEOF
57061 #define HAVE_FREXPL 1
57062 _ACEOF
57063
57064 fi
57065 done
57066
57067 else
57068
57069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57070 $as_echo_n "checking for _frexpl declaration... " >&6; }
57071 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57072 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57075
57076
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57082
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57086 int
57087 main ()
57088 {
57089 _frexpl(0, 0);
57090 ;
57091 return 0;
57092 }
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func__frexpl_use=yes
57096 else
57097 glibcxx_cv_func__frexpl_use=no
57098 fi
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57105
57106
57107 fi
57108
57109 fi
57110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57111 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57112
57113 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57114 for ac_func in _frexpl
57115 do :
57116 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57117 if test "x$ac_cv_func__frexpl" = x""yes; then :
57118 cat >>confdefs.h <<_ACEOF
57119 #define HAVE__FREXPL 1
57120 _ACEOF
57121
57122 fi
57123 done
57124
57125 fi
57126 fi
57127
57128
57129
57130
57131
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57133 $as_echo_n "checking for hypotl declaration... " >&6; }
57134 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57135 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57138
57139
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57145
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 int
57150 main ()
57151 {
57152 hypotl(0, 0);
57153 ;
57154 return 0;
57155 }
57156 _ACEOF
57157 if ac_fn_cxx_try_compile "$LINENO"; then :
57158 glibcxx_cv_func_hypotl_use=yes
57159 else
57160 glibcxx_cv_func_hypotl_use=no
57161 fi
57162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57163 ac_ext=c
57164 ac_cpp='$CPP $CPPFLAGS'
57165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168
57169
57170 fi
57171
57172 fi
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57174 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57175
57176 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57177 for ac_func in hypotl
57178 do :
57179 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57180 if test "x$ac_cv_func_hypotl" = x""yes; then :
57181 cat >>confdefs.h <<_ACEOF
57182 #define HAVE_HYPOTL 1
57183 _ACEOF
57184
57185 fi
57186 done
57187
57188 else
57189
57190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57191 $as_echo_n "checking for _hypotl declaration... " >&6; }
57192 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57193 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57194 $as_echo_n "(cached) " >&6
57195 else
57196
57197
57198 ac_ext=cpp
57199 ac_cpp='$CXXCPP $CPPFLAGS'
57200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57203
57204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57205 /* end confdefs.h. */
57206 #include <math.h>
57207 int
57208 main ()
57209 {
57210 _hypotl(0, 0);
57211 ;
57212 return 0;
57213 }
57214 _ACEOF
57215 if ac_fn_cxx_try_compile "$LINENO"; then :
57216 glibcxx_cv_func__hypotl_use=yes
57217 else
57218 glibcxx_cv_func__hypotl_use=no
57219 fi
57220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57221 ac_ext=c
57222 ac_cpp='$CPP $CPPFLAGS'
57223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57226
57227
57228 fi
57229
57230 fi
57231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57232 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57233
57234 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57235 for ac_func in _hypotl
57236 do :
57237 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57238 if test "x$ac_cv_func__hypotl" = x""yes; then :
57239 cat >>confdefs.h <<_ACEOF
57240 #define HAVE__HYPOTL 1
57241 _ACEOF
57242
57243 fi
57244 done
57245
57246 fi
57247 fi
57248
57249
57250
57251
57252
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57254 $as_echo_n "checking for ldexpl declaration... " >&6; }
57255 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57256 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57257 $as_echo_n "(cached) " >&6
57258 else
57259
57260
57261 ac_ext=cpp
57262 ac_cpp='$CXXCPP $CPPFLAGS'
57263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57266
57267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57268 /* end confdefs.h. */
57269 #include <math.h>
57270 int
57271 main ()
57272 {
57273 ldexpl(0, 0);
57274 ;
57275 return 0;
57276 }
57277 _ACEOF
57278 if ac_fn_cxx_try_compile "$LINENO"; then :
57279 glibcxx_cv_func_ldexpl_use=yes
57280 else
57281 glibcxx_cv_func_ldexpl_use=no
57282 fi
57283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284 ac_ext=c
57285 ac_cpp='$CPP $CPPFLAGS'
57286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57289
57290
57291 fi
57292
57293 fi
57294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57295 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57296
57297 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57298 for ac_func in ldexpl
57299 do :
57300 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57301 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57302 cat >>confdefs.h <<_ACEOF
57303 #define HAVE_LDEXPL 1
57304 _ACEOF
57305
57306 fi
57307 done
57308
57309 else
57310
57311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57312 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57313 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57314 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57315 $as_echo_n "(cached) " >&6
57316 else
57317
57318
57319 ac_ext=cpp
57320 ac_cpp='$CXXCPP $CPPFLAGS'
57321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57324
57325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57326 /* end confdefs.h. */
57327 #include <math.h>
57328 int
57329 main ()
57330 {
57331 _ldexpl(0, 0);
57332 ;
57333 return 0;
57334 }
57335 _ACEOF
57336 if ac_fn_cxx_try_compile "$LINENO"; then :
57337 glibcxx_cv_func__ldexpl_use=yes
57338 else
57339 glibcxx_cv_func__ldexpl_use=no
57340 fi
57341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57342 ac_ext=c
57343 ac_cpp='$CPP $CPPFLAGS'
57344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57347
57348
57349 fi
57350
57351 fi
57352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57353 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57354
57355 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57356 for ac_func in _ldexpl
57357 do :
57358 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57359 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57360 cat >>confdefs.h <<_ACEOF
57361 #define HAVE__LDEXPL 1
57362 _ACEOF
57363
57364 fi
57365 done
57366
57367 fi
57368 fi
57369
57370
57371
57372
57373
57374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57375 $as_echo_n "checking for logl declaration... " >&6; }
57376 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57377 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57378 $as_echo_n "(cached) " >&6
57379 else
57380
57381
57382 ac_ext=cpp
57383 ac_cpp='$CXXCPP $CPPFLAGS'
57384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57387
57388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57389 /* end confdefs.h. */
57390 #include <math.h>
57391 #ifdef HAVE_IEEEFP_H
57392 #include <ieeefp.h>
57393 #endif
57394
57395 int
57396 main ()
57397 {
57398 logl(0);
57399 ;
57400 return 0;
57401 }
57402 _ACEOF
57403 if ac_fn_cxx_try_compile "$LINENO"; then :
57404 glibcxx_cv_func_logl_use=yes
57405 else
57406 glibcxx_cv_func_logl_use=no
57407 fi
57408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57409 ac_ext=c
57410 ac_cpp='$CPP $CPPFLAGS'
57411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57414
57415
57416 fi
57417
57418 fi
57419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57420 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57421
57422 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57423 for ac_func in logl
57424 do :
57425 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57426 if test "x$ac_cv_func_logl" = x""yes; then :
57427 cat >>confdefs.h <<_ACEOF
57428 #define HAVE_LOGL 1
57429 _ACEOF
57430
57431 fi
57432 done
57433
57434 else
57435
57436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57437 $as_echo_n "checking for _logl declaration... " >&6; }
57438 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57439 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57440 $as_echo_n "(cached) " >&6
57441 else
57442
57443
57444 ac_ext=cpp
57445 ac_cpp='$CXXCPP $CPPFLAGS'
57446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57449
57450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57451 /* end confdefs.h. */
57452 #include <math.h>
57453 #ifdef HAVE_IEEEFP_H
57454 #include <ieeefp.h>
57455 #endif
57456
57457 int
57458 main ()
57459 {
57460 _logl(0);
57461 ;
57462 return 0;
57463 }
57464 _ACEOF
57465 if ac_fn_cxx_try_compile "$LINENO"; then :
57466 glibcxx_cv_func__logl_use=yes
57467 else
57468 glibcxx_cv_func__logl_use=no
57469 fi
57470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57476
57477
57478 fi
57479
57480 fi
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57482 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57483
57484 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57485 for ac_func in _logl
57486 do :
57487 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57488 if test "x$ac_cv_func__logl" = x""yes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define HAVE__LOGL 1
57491 _ACEOF
57492
57493 fi
57494 done
57495
57496 fi
57497 fi
57498
57499
57500
57501
57502
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57504 $as_echo_n "checking for log10l declaration... " >&6; }
57505 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57506 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57507 $as_echo_n "(cached) " >&6
57508 else
57509
57510
57511 ac_ext=cpp
57512 ac_cpp='$CXXCPP $CPPFLAGS'
57513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57516
57517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57518 /* end confdefs.h. */
57519 #include <math.h>
57520 #ifdef HAVE_IEEEFP_H
57521 #include <ieeefp.h>
57522 #endif
57523
57524 int
57525 main ()
57526 {
57527 log10l(0);
57528 ;
57529 return 0;
57530 }
57531 _ACEOF
57532 if ac_fn_cxx_try_compile "$LINENO"; then :
57533 glibcxx_cv_func_log10l_use=yes
57534 else
57535 glibcxx_cv_func_log10l_use=no
57536 fi
57537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57538 ac_ext=c
57539 ac_cpp='$CPP $CPPFLAGS'
57540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57543
57544
57545 fi
57546
57547 fi
57548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57549 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57550
57551 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57552 for ac_func in log10l
57553 do :
57554 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57555 if test "x$ac_cv_func_log10l" = x""yes; then :
57556 cat >>confdefs.h <<_ACEOF
57557 #define HAVE_LOG10L 1
57558 _ACEOF
57559
57560 fi
57561 done
57562
57563 else
57564
57565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57566 $as_echo_n "checking for _log10l declaration... " >&6; }
57567 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57568 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57569 $as_echo_n "(cached) " >&6
57570 else
57571
57572
57573 ac_ext=cpp
57574 ac_cpp='$CXXCPP $CPPFLAGS'
57575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57578
57579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57580 /* end confdefs.h. */
57581 #include <math.h>
57582 #ifdef HAVE_IEEEFP_H
57583 #include <ieeefp.h>
57584 #endif
57585
57586 int
57587 main ()
57588 {
57589 _log10l(0);
57590 ;
57591 return 0;
57592 }
57593 _ACEOF
57594 if ac_fn_cxx_try_compile "$LINENO"; then :
57595 glibcxx_cv_func__log10l_use=yes
57596 else
57597 glibcxx_cv_func__log10l_use=no
57598 fi
57599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57600 ac_ext=c
57601 ac_cpp='$CPP $CPPFLAGS'
57602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57605
57606
57607 fi
57608
57609 fi
57610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57611 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57612
57613 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57614 for ac_func in _log10l
57615 do :
57616 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57617 if test "x$ac_cv_func__log10l" = x""yes; then :
57618 cat >>confdefs.h <<_ACEOF
57619 #define HAVE__LOG10L 1
57620 _ACEOF
57621
57622 fi
57623 done
57624
57625 fi
57626 fi
57627
57628
57629
57630
57631
57632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57633 $as_echo_n "checking for modfl declaration... " >&6; }
57634 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57635 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57636 $as_echo_n "(cached) " >&6
57637 else
57638
57639
57640 ac_ext=cpp
57641 ac_cpp='$CXXCPP $CPPFLAGS'
57642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57645
57646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57647 /* end confdefs.h. */
57648 #include <math.h>
57649 int
57650 main ()
57651 {
57652 modfl(0, 0);
57653 ;
57654 return 0;
57655 }
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func_modfl_use=yes
57659 else
57660 glibcxx_cv_func_modfl_use=no
57661 fi
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668
57669
57670 fi
57671
57672 fi
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57674 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57675
57676 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57677 for ac_func in modfl
57678 do :
57679 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57680 if test "x$ac_cv_func_modfl" = x""yes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE_MODFL 1
57683 _ACEOF
57684
57685 fi
57686 done
57687
57688 else
57689
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57691 $as_echo_n "checking for _modfl declaration... " >&6; }
57692 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57693 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57696
57697
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57707 int
57708 main ()
57709 {
57710 _modfl(0, 0);
57711 ;
57712 return 0;
57713 }
57714 _ACEOF
57715 if ac_fn_cxx_try_compile "$LINENO"; then :
57716 glibcxx_cv_func__modfl_use=yes
57717 else
57718 glibcxx_cv_func__modfl_use=no
57719 fi
57720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57721 ac_ext=c
57722 ac_cpp='$CPP $CPPFLAGS'
57723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57726
57727
57728 fi
57729
57730 fi
57731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57732 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57733
57734 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57735 for ac_func in _modfl
57736 do :
57737 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57738 if test "x$ac_cv_func__modfl" = x""yes; then :
57739 cat >>confdefs.h <<_ACEOF
57740 #define HAVE__MODFL 1
57741 _ACEOF
57742
57743 fi
57744 done
57745
57746 fi
57747 fi
57748
57749
57750
57751
57752
57753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57754 $as_echo_n "checking for powl declaration... " >&6; }
57755 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57756 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57757 $as_echo_n "(cached) " >&6
57758 else
57759
57760
57761 ac_ext=cpp
57762 ac_cpp='$CXXCPP $CPPFLAGS'
57763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57766
57767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57768 /* end confdefs.h. */
57769 #include <math.h>
57770 int
57771 main ()
57772 {
57773 powl(0, 0);
57774 ;
57775 return 0;
57776 }
57777 _ACEOF
57778 if ac_fn_cxx_try_compile "$LINENO"; then :
57779 glibcxx_cv_func_powl_use=yes
57780 else
57781 glibcxx_cv_func_powl_use=no
57782 fi
57783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57784 ac_ext=c
57785 ac_cpp='$CPP $CPPFLAGS'
57786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57789
57790
57791 fi
57792
57793 fi
57794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57795 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57796
57797 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57798 for ac_func in powl
57799 do :
57800 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57801 if test "x$ac_cv_func_powl" = x""yes; then :
57802 cat >>confdefs.h <<_ACEOF
57803 #define HAVE_POWL 1
57804 _ACEOF
57805
57806 fi
57807 done
57808
57809 else
57810
57811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57812 $as_echo_n "checking for _powl declaration... " >&6; }
57813 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57814 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57815 $as_echo_n "(cached) " >&6
57816 else
57817
57818
57819 ac_ext=cpp
57820 ac_cpp='$CXXCPP $CPPFLAGS'
57821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57824
57825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57826 /* end confdefs.h. */
57827 #include <math.h>
57828 int
57829 main ()
57830 {
57831 _powl(0, 0);
57832 ;
57833 return 0;
57834 }
57835 _ACEOF
57836 if ac_fn_cxx_try_compile "$LINENO"; then :
57837 glibcxx_cv_func__powl_use=yes
57838 else
57839 glibcxx_cv_func__powl_use=no
57840 fi
57841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842 ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847
57848
57849 fi
57850
57851 fi
57852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57853 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57854
57855 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57856 for ac_func in _powl
57857 do :
57858 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57859 if test "x$ac_cv_func__powl" = x""yes; then :
57860 cat >>confdefs.h <<_ACEOF
57861 #define HAVE__POWL 1
57862 _ACEOF
57863
57864 fi
57865 done
57866
57867 fi
57868 fi
57869
57870
57871
57872
57873
57874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57875 $as_echo_n "checking for sqrtl declaration... " >&6; }
57876 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57877 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57878 $as_echo_n "(cached) " >&6
57879 else
57880
57881
57882 ac_ext=cpp
57883 ac_cpp='$CXXCPP $CPPFLAGS'
57884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57887
57888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57889 /* end confdefs.h. */
57890 #include <math.h>
57891 #ifdef HAVE_IEEEFP_H
57892 #include <ieeefp.h>
57893 #endif
57894
57895 int
57896 main ()
57897 {
57898 sqrtl(0);
57899 ;
57900 return 0;
57901 }
57902 _ACEOF
57903 if ac_fn_cxx_try_compile "$LINENO"; then :
57904 glibcxx_cv_func_sqrtl_use=yes
57905 else
57906 glibcxx_cv_func_sqrtl_use=no
57907 fi
57908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57909 ac_ext=c
57910 ac_cpp='$CPP $CPPFLAGS'
57911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57914
57915
57916 fi
57917
57918 fi
57919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57920 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57921
57922 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57923 for ac_func in sqrtl
57924 do :
57925 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57926 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57927 cat >>confdefs.h <<_ACEOF
57928 #define HAVE_SQRTL 1
57929 _ACEOF
57930
57931 fi
57932 done
57933
57934 else
57935
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57937 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57938 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57939 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57940 $as_echo_n "(cached) " >&6
57941 else
57942
57943
57944 ac_ext=cpp
57945 ac_cpp='$CXXCPP $CPPFLAGS'
57946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57949
57950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57951 /* end confdefs.h. */
57952 #include <math.h>
57953 #ifdef HAVE_IEEEFP_H
57954 #include <ieeefp.h>
57955 #endif
57956
57957 int
57958 main ()
57959 {
57960 _sqrtl(0);
57961 ;
57962 return 0;
57963 }
57964 _ACEOF
57965 if ac_fn_cxx_try_compile "$LINENO"; then :
57966 glibcxx_cv_func__sqrtl_use=yes
57967 else
57968 glibcxx_cv_func__sqrtl_use=no
57969 fi
57970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57971 ac_ext=c
57972 ac_cpp='$CPP $CPPFLAGS'
57973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57976
57977
57978 fi
57979
57980 fi
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57982 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57983
57984 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57985 for ac_func in _sqrtl
57986 do :
57987 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57988 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57989 cat >>confdefs.h <<_ACEOF
57990 #define HAVE__SQRTL 1
57991 _ACEOF
57992
57993 fi
57994 done
57995
57996 fi
57997 fi
57998
57999
58000
58001
58002
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58004 $as_echo_n "checking for sincosl declaration... " >&6; }
58005 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58006 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58007 $as_echo_n "(cached) " >&6
58008 else
58009
58010
58011 ac_ext=cpp
58012 ac_cpp='$CXXCPP $CPPFLAGS'
58013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58016
58017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58018 /* end confdefs.h. */
58019 #include <math.h>
58020 int
58021 main ()
58022 {
58023 sincosl(0, 0, 0);
58024 ;
58025 return 0;
58026 }
58027 _ACEOF
58028 if ac_fn_cxx_try_compile "$LINENO"; then :
58029 glibcxx_cv_func_sincosl_use=yes
58030 else
58031 glibcxx_cv_func_sincosl_use=no
58032 fi
58033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58034 ac_ext=c
58035 ac_cpp='$CPP $CPPFLAGS'
58036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58039
58040
58041 fi
58042
58043 fi
58044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58045 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58046
58047 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58048 for ac_func in sincosl
58049 do :
58050 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58051 if test "x$ac_cv_func_sincosl" = x""yes; then :
58052 cat >>confdefs.h <<_ACEOF
58053 #define HAVE_SINCOSL 1
58054 _ACEOF
58055
58056 fi
58057 done
58058
58059 else
58060
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58062 $as_echo_n "checking for _sincosl declaration... " >&6; }
58063 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58064 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58067
58068
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58074
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 int
58079 main ()
58080 {
58081 _sincosl(0, 0, 0);
58082 ;
58083 return 0;
58084 }
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func__sincosl_use=yes
58088 else
58089 glibcxx_cv_func__sincosl_use=no
58090 fi
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097
58098
58099 fi
58100
58101 fi
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58103 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58104
58105 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58106 for ac_func in _sincosl
58107 do :
58108 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58109 if test "x$ac_cv_func__sincosl" = x""yes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE__SINCOSL 1
58112 _ACEOF
58113
58114 fi
58115 done
58116
58117 fi
58118 fi
58119
58120
58121
58122
58123
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58125 $as_echo_n "checking for finitel declaration... " >&6; }
58126 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58127 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58128 $as_echo_n "(cached) " >&6
58129 else
58130
58131
58132 ac_ext=cpp
58133 ac_cpp='$CXXCPP $CPPFLAGS'
58134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58137
58138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58139 /* end confdefs.h. */
58140 #include <math.h>
58141 #ifdef HAVE_IEEEFP_H
58142 #include <ieeefp.h>
58143 #endif
58144
58145 int
58146 main ()
58147 {
58148 finitel(0);
58149 ;
58150 return 0;
58151 }
58152 _ACEOF
58153 if ac_fn_cxx_try_compile "$LINENO"; then :
58154 glibcxx_cv_func_finitel_use=yes
58155 else
58156 glibcxx_cv_func_finitel_use=no
58157 fi
58158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159 ac_ext=c
58160 ac_cpp='$CPP $CPPFLAGS'
58161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58164
58165
58166 fi
58167
58168 fi
58169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58170 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58171
58172 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58173 for ac_func in finitel
58174 do :
58175 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58176 if test "x$ac_cv_func_finitel" = x""yes; then :
58177 cat >>confdefs.h <<_ACEOF
58178 #define HAVE_FINITEL 1
58179 _ACEOF
58180
58181 fi
58182 done
58183
58184 else
58185
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58187 $as_echo_n "checking for _finitel declaration... " >&6; }
58188 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58189 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58192
58193
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58199
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58206
58207 int
58208 main ()
58209 {
58210 _finitel(0);
58211 ;
58212 return 0;
58213 }
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func__finitel_use=yes
58217 else
58218 glibcxx_cv_func__finitel_use=no
58219 fi
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58226
58227
58228 fi
58229
58230 fi
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58232 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58233
58234 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58235 for ac_func in _finitel
58236 do :
58237 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58238 if test "x$ac_cv_func__finitel" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE__FINITEL 1
58241 _ACEOF
58242
58243 fi
58244 done
58245
58246 fi
58247 fi
58248
58249
58250
58251
58252 LIBS="$ac_save_LIBS"
58253 CXXFLAGS="$ac_save_CXXFLAGS"
58254
58255
58256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58257 ac_save_CXXFLAGS="$CXXFLAGS"
58258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58259
58260
58261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58262 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58263 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58264 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58265 $as_echo_n "(cached) " >&6
58266 else
58267
58268
58269 ac_ext=cpp
58270 ac_cpp='$CXXCPP $CPPFLAGS'
58271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58274
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58277 #include <stdlib.h>
58278 int
58279 main ()
58280 {
58281 at_quick_exit(0);
58282 ;
58283 return 0;
58284 }
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287 glibcxx_cv_func_at_quick_exit_use=yes
58288 else
58289 glibcxx_cv_func_at_quick_exit_use=no
58290 fi
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58297
58298
58299 fi
58300
58301 fi
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58303 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58304 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58305 for ac_func in at_quick_exit
58306 do :
58307 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58308 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58309 cat >>confdefs.h <<_ACEOF
58310 #define HAVE_AT_QUICK_EXIT 1
58311 _ACEOF
58312
58313 fi
58314 done
58315
58316 fi
58317
58318
58319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58320 $as_echo_n "checking for quick_exit declaration... " >&6; }
58321 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58322 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58323 $as_echo_n "(cached) " >&6
58324 else
58325
58326
58327 ac_ext=cpp
58328 ac_cpp='$CXXCPP $CPPFLAGS'
58329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332
58333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58334 /* end confdefs.h. */
58335 #include <stdlib.h>
58336 int
58337 main ()
58338 {
58339 quick_exit(0);
58340 ;
58341 return 0;
58342 }
58343 _ACEOF
58344 if ac_fn_cxx_try_compile "$LINENO"; then :
58345 glibcxx_cv_func_quick_exit_use=yes
58346 else
58347 glibcxx_cv_func_quick_exit_use=no
58348 fi
58349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58355
58356
58357 fi
58358
58359 fi
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58361 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58362 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58363 for ac_func in quick_exit
58364 do :
58365 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58366 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define HAVE_QUICK_EXIT 1
58369 _ACEOF
58370
58371 fi
58372 done
58373
58374 fi
58375
58376
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58378 $as_echo_n "checking for strtold declaration... " >&6; }
58379 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58380 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58383
58384
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58390
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <stdlib.h>
58394 int
58395 main ()
58396 {
58397 strtold(0, 0);
58398 ;
58399 return 0;
58400 }
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func_strtold_use=yes
58404 else
58405 glibcxx_cv_func_strtold_use=no
58406 fi
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413
58414
58415 fi
58416
58417 fi
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58419 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58420 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58421 for ac_func in strtold
58422 do :
58423 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58424 if test "x$ac_cv_func_strtold" = x""yes; then :
58425 cat >>confdefs.h <<_ACEOF
58426 #define HAVE_STRTOLD 1
58427 _ACEOF
58428
58429 fi
58430 done
58431
58432 fi
58433
58434
58435
58436
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58438 $as_echo_n "checking for strtof declaration... " >&6; }
58439 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58440 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58441 $as_echo_n "(cached) " >&6
58442 else
58443
58444
58445 ac_ext=cpp
58446 ac_cpp='$CXXCPP $CPPFLAGS'
58447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58450
58451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58452 /* end confdefs.h. */
58453 #include <stdlib.h>
58454 int
58455 main ()
58456 {
58457 strtof(0, 0);
58458 ;
58459 return 0;
58460 }
58461 _ACEOF
58462 if ac_fn_cxx_try_compile "$LINENO"; then :
58463 glibcxx_cv_func_strtof_use=yes
58464 else
58465 glibcxx_cv_func_strtof_use=no
58466 fi
58467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58468 ac_ext=c
58469 ac_cpp='$CPP $CPPFLAGS'
58470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473
58474
58475 fi
58476
58477 fi
58478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58479 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58480 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58481 for ac_func in strtof
58482 do :
58483 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58484 if test "x$ac_cv_func_strtof" = x""yes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_STRTOF 1
58487 _ACEOF
58488
58489 fi
58490 done
58491
58492 fi
58493
58494
58495
58496
58497 CXXFLAGS="$ac_save_CXXFLAGS"
58498
58499 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58500
58501
58502
58503 # Check whether --enable-tls was given.
58504 if test "${enable_tls+set}" = set; then :
58505 enableval=$enable_tls;
58506 case "$enableval" in
58507 yes|no) ;;
58508 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58509 esac
58510
58511 else
58512 enable_tls=yes
58513 fi
58514
58515
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58517 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58518 if test "${gcc_cv_have_tls+set}" = set; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58521
58522 if test "$cross_compiling" = yes; then :
58523 if test x$gcc_no_link = xyes; then
58524 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58525 fi
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 __thread int a; int b; int main() { return a = b; }
58529 _ACEOF
58530 if ac_fn_c_try_link "$LINENO"; then :
58531 chktls_save_LDFLAGS="$LDFLAGS"
58532 case $host in
58533 *-*-linux*)
58534 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58535 ;;
58536 esac
58537 chktls_save_CFLAGS="$CFLAGS"
58538 CFLAGS="-fPIC $CFLAGS"
58539 if test x$gcc_no_link = xyes; then
58540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58541 fi
58542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58543 /* end confdefs.h. */
58544 int f() { return 0; }
58545 _ACEOF
58546 if ac_fn_c_try_link "$LINENO"; then :
58547 if test x$gcc_no_link = xyes; then
58548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58549 fi
58550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h. */
58552 __thread int a; int b; int f() { return a = b; }
58553 _ACEOF
58554 if ac_fn_c_try_link "$LINENO"; then :
58555 gcc_cv_have_tls=yes
58556 else
58557 gcc_cv_have_tls=no
58558 fi
58559 rm -f core conftest.err conftest.$ac_objext \
58560 conftest$ac_exeext conftest.$ac_ext
58561 else
58562 gcc_cv_have_tls=yes
58563 fi
58564 rm -f core conftest.err conftest.$ac_objext \
58565 conftest$ac_exeext conftest.$ac_ext
58566 CFLAGS="$chktls_save_CFLAGS"
58567 LDFLAGS="$chktls_save_LDFLAGS"
58568 else
58569 gcc_cv_have_tls=no
58570 fi
58571 rm -f core conftest.err conftest.$ac_objext \
58572 conftest$ac_exeext conftest.$ac_ext
58573
58574
58575 else
58576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58577 /* end confdefs.h. */
58578 __thread int a; int b; int main() { return a = b; }
58579 _ACEOF
58580 if ac_fn_c_try_run "$LINENO"; then :
58581 chktls_save_LDFLAGS="$LDFLAGS"
58582 LDFLAGS="-static $LDFLAGS"
58583 if test x$gcc_no_link = xyes; then
58584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58585 fi
58586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58587 /* end confdefs.h. */
58588 int main() { return 0; }
58589 _ACEOF
58590 if ac_fn_c_try_link "$LINENO"; then :
58591 if test "$cross_compiling" = yes; then :
58592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58594 as_fn_error "cannot run test program while cross compiling
58595 See \`config.log' for more details." "$LINENO" 5; }
58596 else
58597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58598 /* end confdefs.h. */
58599 __thread int a; int b; int main() { return a = b; }
58600 _ACEOF
58601 if ac_fn_c_try_run "$LINENO"; then :
58602 gcc_cv_have_tls=yes
58603 else
58604 gcc_cv_have_tls=no
58605 fi
58606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58607 conftest.$ac_objext conftest.beam conftest.$ac_ext
58608 fi
58609
58610 else
58611 gcc_cv_have_tls=yes
58612 fi
58613 rm -f core conftest.err conftest.$ac_objext \
58614 conftest$ac_exeext conftest.$ac_ext
58615 LDFLAGS="$chktls_save_LDFLAGS"
58616 if test $gcc_cv_have_tls = yes; then
58617 chktls_save_CFLAGS="$CFLAGS"
58618 thread_CFLAGS=failed
58619 for flag in '' '-pthread' '-lpthread'; do
58620 CFLAGS="$flag $chktls_save_CFLAGS"
58621 if test x$gcc_no_link = xyes; then
58622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58623 fi
58624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58625 /* end confdefs.h. */
58626 #include <pthread.h>
58627 void *g(void *d) { return NULL; }
58628 int
58629 main ()
58630 {
58631 pthread_t t; pthread_create(&t,NULL,g,NULL);
58632 ;
58633 return 0;
58634 }
58635 _ACEOF
58636 if ac_fn_c_try_link "$LINENO"; then :
58637 thread_CFLAGS="$flag"
58638 fi
58639 rm -f core conftest.err conftest.$ac_objext \
58640 conftest$ac_exeext conftest.$ac_ext
58641 if test "X$thread_CFLAGS" != Xfailed; then
58642 break
58643 fi
58644 done
58645 CFLAGS="$chktls_save_CFLAGS"
58646 if test "X$thread_CFLAGS" != Xfailed; then
58647 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58648 if test "$cross_compiling" = yes; then :
58649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58651 as_fn_error "cannot run test program while cross compiling
58652 See \`config.log' for more details." "$LINENO" 5; }
58653 else
58654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58655 /* end confdefs.h. */
58656 #include <pthread.h>
58657 __thread int a;
58658 static int *volatile a_in_other_thread;
58659 static void *
58660 thread_func (void *arg)
58661 {
58662 a_in_other_thread = &a;
58663 return (void *)0;
58664 }
58665 int
58666 main ()
58667 {
58668 pthread_t thread;
58669 void *thread_retval;
58670 int *volatile a_in_main_thread;
58671 a_in_main_thread = &a;
58672 if (pthread_create (&thread, (pthread_attr_t *)0,
58673 thread_func, (void *)0))
58674 return 0;
58675 if (pthread_join (thread, &thread_retval))
58676 return 0;
58677 return (a_in_other_thread == a_in_main_thread);
58678 ;
58679 return 0;
58680 }
58681 _ACEOF
58682 if ac_fn_c_try_run "$LINENO"; then :
58683 gcc_cv_have_tls=yes
58684 else
58685 gcc_cv_have_tls=no
58686 fi
58687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58688 conftest.$ac_objext conftest.beam conftest.$ac_ext
58689 fi
58690
58691 CFLAGS="$chktls_save_CFLAGS"
58692 fi
58693 fi
58694 else
58695 gcc_cv_have_tls=no
58696 fi
58697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58698 conftest.$ac_objext conftest.beam conftest.$ac_ext
58699 fi
58700
58701 fi
58702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58703 $as_echo "$gcc_cv_have_tls" >&6; }
58704 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58705
58706 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58707
58708 fi
58709
58710
58711
58712
58713
58714 am_save_CPPFLAGS="$CPPFLAGS"
58715
58716 for element in $INCICONV; do
58717 haveit=
58718 for x in $CPPFLAGS; do
58719
58720 acl_save_prefix="$prefix"
58721 prefix="$acl_final_prefix"
58722 acl_save_exec_prefix="$exec_prefix"
58723 exec_prefix="$acl_final_exec_prefix"
58724 eval x=\"$x\"
58725 exec_prefix="$acl_save_exec_prefix"
58726 prefix="$acl_save_prefix"
58727
58728 if test "X$x" = "X$element"; then
58729 haveit=yes
58730 break
58731 fi
58732 done
58733 if test -z "$haveit"; then
58734 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58735 fi
58736 done
58737
58738
58739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58740 $as_echo_n "checking for iconv... " >&6; }
58741 if test "${am_cv_func_iconv+set}" = set; then :
58742 $as_echo_n "(cached) " >&6
58743 else
58744
58745 am_cv_func_iconv="no, consider installing GNU libiconv"
58746 am_cv_lib_iconv=no
58747 if test x$gcc_no_link = xyes; then
58748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58749 fi
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <stdlib.h>
58753 #include <iconv.h>
58754 int
58755 main ()
58756 {
58757 iconv_t cd = iconv_open("","");
58758 iconv(cd,NULL,NULL,NULL,NULL);
58759 iconv_close(cd);
58760 ;
58761 return 0;
58762 }
58763 _ACEOF
58764 if ac_fn_c_try_link "$LINENO"; then :
58765 am_cv_func_iconv=yes
58766 fi
58767 rm -f core conftest.err conftest.$ac_objext \
58768 conftest$ac_exeext conftest.$ac_ext
58769 if test "$am_cv_func_iconv" != yes; then
58770 am_save_LIBS="$LIBS"
58771 LIBS="$LIBS $LIBICONV"
58772 if test x$gcc_no_link = xyes; then
58773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58774 fi
58775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58776 /* end confdefs.h. */
58777 #include <stdlib.h>
58778 #include <iconv.h>
58779 int
58780 main ()
58781 {
58782 iconv_t cd = iconv_open("","");
58783 iconv(cd,NULL,NULL,NULL,NULL);
58784 iconv_close(cd);
58785 ;
58786 return 0;
58787 }
58788 _ACEOF
58789 if ac_fn_c_try_link "$LINENO"; then :
58790 am_cv_lib_iconv=yes
58791 am_cv_func_iconv=yes
58792 fi
58793 rm -f core conftest.err conftest.$ac_objext \
58794 conftest$ac_exeext conftest.$ac_ext
58795 LIBS="$am_save_LIBS"
58796 fi
58797
58798 fi
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58800 $as_echo "$am_cv_func_iconv" >&6; }
58801 if test "$am_cv_func_iconv" = yes; then
58802
58803 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58804
58805 fi
58806 if test "$am_cv_lib_iconv" = yes; then
58807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58808 $as_echo_n "checking how to link with libiconv... " >&6; }
58809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58810 $as_echo "$LIBICONV" >&6; }
58811 else
58812 CPPFLAGS="$am_save_CPPFLAGS"
58813 LIBICONV=
58814 LTLIBICONV=
58815 fi
58816
58817
58818
58819 if test "$am_cv_func_iconv" = yes; then
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58821 $as_echo_n "checking for iconv declaration... " >&6; }
58822 if test "${am_cv_proto_iconv+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58825
58826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58827 /* end confdefs.h. */
58828
58829 #include <stdlib.h>
58830 #include <iconv.h>
58831 extern
58832 #ifdef __cplusplus
58833 "C"
58834 #endif
58835 #if defined(__STDC__) || defined(__cplusplus)
58836 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58837 #else
58838 size_t iconv();
58839 #endif
58840
58841 int
58842 main ()
58843 {
58844
58845 ;
58846 return 0;
58847 }
58848 _ACEOF
58849 if ac_fn_c_try_compile "$LINENO"; then :
58850 am_cv_proto_iconv_arg1=""
58851 else
58852 am_cv_proto_iconv_arg1="const"
58853 fi
58854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58855 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);"
58856 fi
58857
58858 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58860 }$am_cv_proto_iconv" >&5
58861 $as_echo "${ac_t:-
58862 }$am_cv_proto_iconv" >&6; }
58863
58864 cat >>confdefs.h <<_ACEOF
58865 #define ICONV_CONST $am_cv_proto_iconv_arg1
58866 _ACEOF
58867
58868 fi
58869
58870 ;;
58871 *-mingw32*)
58872
58873 # If we're not using GNU ld, then there's no point in even trying these
58874 # tests. Check for that first. We should have already tested for gld
58875 # by now (in libtool), but require it now just to be safe...
58876 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58877 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58878
58879
58880
58881 # The name set by libtool depends on the version of libtool. Shame on us
58882 # for depending on an impl detail, but c'est la vie. Older versions used
58883 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58884 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58885 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58886 # set (hence we're using an older libtool), then set it.
58887 if test x${with_gnu_ld+set} != xset; then
58888 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58889 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58890 with_gnu_ld=no
58891 else
58892 with_gnu_ld=$ac_cv_prog_gnu_ld
58893 fi
58894 fi
58895
58896 # Start by getting the version number. I think the libtool test already
58897 # does some of this, but throws away the result.
58898 glibcxx_ld_is_gold=no
58899 if test x"$with_gnu_ld" = x"yes"; then
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58901 $as_echo_n "checking for ld version... " >&6; }
58902
58903 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58904 glibcxx_ld_is_gold=yes
58905 fi
58906 ldver=`$LD --version 2>/dev/null |
58907 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'`
58908
58909 glibcxx_gnu_ld_version=`echo $ldver | \
58910 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58912 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58913 fi
58914
58915 # Set --gc-sections.
58916 glibcxx_have_gc_sections=no
58917 if test "$glibcxx_ld_is_gold" = "yes"; then
58918 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58919 glibcxx_have_gc_sections=yes
58920 fi
58921 else
58922 glibcxx_gcsections_min_ld=21602
58923 if test x"$with_gnu_ld" = x"yes" &&
58924 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58925 glibcxx_have_gc_sections=yes
58926 fi
58927 fi
58928 if test "$glibcxx_have_gc_sections" = "yes"; then
58929 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58930 # NB: This flag only works reliably after 2.16.1. Configure tests
58931 # for this are difficult, so hard wire a value that should work.
58932
58933 ac_test_CFLAGS="${CFLAGS+set}"
58934 ac_save_CFLAGS="$CFLAGS"
58935 CFLAGS='-Wl,--gc-sections'
58936
58937 # Check for -Wl,--gc-sections
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58939 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58940 if test x$gcc_no_link = xyes; then
58941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58942 fi
58943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58944 /* end confdefs.h. */
58945 int one(void) { return 1; }
58946 int two(void) { return 2; }
58947
58948 int
58949 main ()
58950 {
58951 two();
58952 ;
58953 return 0;
58954 }
58955 _ACEOF
58956 if ac_fn_c_try_link "$LINENO"; then :
58957 ac_gcsections=yes
58958 else
58959 ac_gcsections=no
58960 fi
58961 rm -f core conftest.err conftest.$ac_objext \
58962 conftest$ac_exeext conftest.$ac_ext
58963 if test "$ac_gcsections" = "yes"; then
58964 rm -f conftest.c
58965 touch conftest.c
58966 if $CC -c conftest.c; then
58967 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58968 grep "Warning: gc-sections option ignored" > /dev/null; then
58969 ac_gcsections=no
58970 fi
58971 fi
58972 rm -f conftest.c conftest.o conftest
58973 fi
58974 if test "$ac_gcsections" = "yes"; then
58975 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58976 fi
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58978 $as_echo "$ac_gcsections" >&6; }
58979
58980 if test "$ac_test_CFLAGS" = set; then
58981 CFLAGS="$ac_save_CFLAGS"
58982 else
58983 # this is the suspicious part
58984 CFLAGS=''
58985 fi
58986 fi
58987
58988 # Set -z,relro.
58989 # Note this is only for shared objects.
58990 ac_ld_relro=no
58991 if test x"$with_gnu_ld" = x"yes"; then
58992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58993 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58994 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58995 if test -n "$cxx_z_relo"; then
58996 OPT_LDFLAGS="-Wl,-z,relro"
58997 ac_ld_relro=yes
58998 fi
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59000 $as_echo "$ac_ld_relro" >&6; }
59001 fi
59002
59003 # Set linker optimization flags.
59004 if test x"$with_gnu_ld" = x"yes"; then
59005 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59006 fi
59007
59008
59009
59010
59011
59012 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59013 ac_save_CXXFLAGS="$CXXFLAGS"
59014 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59015
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59017 $as_echo_n "checking for sin in -lm... " >&6; }
59018 if test "${ac_cv_lib_m_sin+set}" = set; then :
59019 $as_echo_n "(cached) " >&6
59020 else
59021 ac_check_lib_save_LIBS=$LIBS
59022 LIBS="-lm $LIBS"
59023 if test x$gcc_no_link = xyes; then
59024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59025 fi
59026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59027 /* end confdefs.h. */
59028
59029 /* Override any GCC internal prototype to avoid an error.
59030 Use char because int might match the return type of a GCC
59031 builtin and then its argument prototype would still apply. */
59032 #ifdef __cplusplus
59033 extern "C"
59034 #endif
59035 char sin ();
59036 int
59037 main ()
59038 {
59039 return sin ();
59040 ;
59041 return 0;
59042 }
59043 _ACEOF
59044 if ac_fn_c_try_link "$LINENO"; then :
59045 ac_cv_lib_m_sin=yes
59046 else
59047 ac_cv_lib_m_sin=no
59048 fi
59049 rm -f core conftest.err conftest.$ac_objext \
59050 conftest$ac_exeext conftest.$ac_ext
59051 LIBS=$ac_check_lib_save_LIBS
59052 fi
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59054 $as_echo "$ac_cv_lib_m_sin" >&6; }
59055 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59056 libm="-lm"
59057 fi
59058
59059 ac_save_LIBS="$LIBS"
59060 LIBS="$LIBS $libm"
59061
59062
59063
59064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59065 $as_echo_n "checking for isinf declaration... " >&6; }
59066 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59067 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59068 $as_echo_n "(cached) " >&6
59069 else
59070
59071
59072 ac_ext=cpp
59073 ac_cpp='$CXXCPP $CPPFLAGS'
59074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59077
59078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59079 /* end confdefs.h. */
59080 #include <math.h>
59081 #ifdef HAVE_IEEEFP_H
59082 #include <ieeefp.h>
59083 #endif
59084
59085 int
59086 main ()
59087 {
59088 isinf(0);
59089 ;
59090 return 0;
59091 }
59092 _ACEOF
59093 if ac_fn_cxx_try_compile "$LINENO"; then :
59094 glibcxx_cv_func_isinf_use=yes
59095 else
59096 glibcxx_cv_func_isinf_use=no
59097 fi
59098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59099 ac_ext=c
59100 ac_cpp='$CPP $CPPFLAGS'
59101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59104
59105
59106 fi
59107
59108 fi
59109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59110 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59111
59112 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59113 for ac_func in isinf
59114 do :
59115 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59116 if test "x$ac_cv_func_isinf" = x""yes; then :
59117 cat >>confdefs.h <<_ACEOF
59118 #define HAVE_ISINF 1
59119 _ACEOF
59120
59121 fi
59122 done
59123
59124 else
59125
59126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59127 $as_echo_n "checking for _isinf declaration... " >&6; }
59128 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59129 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59130 $as_echo_n "(cached) " >&6
59131 else
59132
59133
59134 ac_ext=cpp
59135 ac_cpp='$CXXCPP $CPPFLAGS'
59136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59139
59140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59141 /* end confdefs.h. */
59142 #include <math.h>
59143 #ifdef HAVE_IEEEFP_H
59144 #include <ieeefp.h>
59145 #endif
59146
59147 int
59148 main ()
59149 {
59150 _isinf(0);
59151 ;
59152 return 0;
59153 }
59154 _ACEOF
59155 if ac_fn_cxx_try_compile "$LINENO"; then :
59156 glibcxx_cv_func__isinf_use=yes
59157 else
59158 glibcxx_cv_func__isinf_use=no
59159 fi
59160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59161 ac_ext=c
59162 ac_cpp='$CPP $CPPFLAGS'
59163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59166
59167
59168 fi
59169
59170 fi
59171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59172 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59173
59174 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59175 for ac_func in _isinf
59176 do :
59177 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59178 if test "x$ac_cv_func__isinf" = x""yes; then :
59179 cat >>confdefs.h <<_ACEOF
59180 #define HAVE__ISINF 1
59181 _ACEOF
59182
59183 fi
59184 done
59185
59186 fi
59187 fi
59188
59189
59190
59191
59192
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59194 $as_echo_n "checking for isnan declaration... " >&6; }
59195 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59196 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59197 $as_echo_n "(cached) " >&6
59198 else
59199
59200
59201 ac_ext=cpp
59202 ac_cpp='$CXXCPP $CPPFLAGS'
59203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59206
59207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59208 /* end confdefs.h. */
59209 #include <math.h>
59210 #ifdef HAVE_IEEEFP_H
59211 #include <ieeefp.h>
59212 #endif
59213
59214 int
59215 main ()
59216 {
59217 isnan(0);
59218 ;
59219 return 0;
59220 }
59221 _ACEOF
59222 if ac_fn_cxx_try_compile "$LINENO"; then :
59223 glibcxx_cv_func_isnan_use=yes
59224 else
59225 glibcxx_cv_func_isnan_use=no
59226 fi
59227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59228 ac_ext=c
59229 ac_cpp='$CPP $CPPFLAGS'
59230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59233
59234
59235 fi
59236
59237 fi
59238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59239 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59240
59241 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59242 for ac_func in isnan
59243 do :
59244 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59245 if test "x$ac_cv_func_isnan" = x""yes; then :
59246 cat >>confdefs.h <<_ACEOF
59247 #define HAVE_ISNAN 1
59248 _ACEOF
59249
59250 fi
59251 done
59252
59253 else
59254
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59256 $as_echo_n "checking for _isnan declaration... " >&6; }
59257 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59258 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59259 $as_echo_n "(cached) " >&6
59260 else
59261
59262
59263 ac_ext=cpp
59264 ac_cpp='$CXXCPP $CPPFLAGS'
59265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59268
59269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59270 /* end confdefs.h. */
59271 #include <math.h>
59272 #ifdef HAVE_IEEEFP_H
59273 #include <ieeefp.h>
59274 #endif
59275
59276 int
59277 main ()
59278 {
59279 _isnan(0);
59280 ;
59281 return 0;
59282 }
59283 _ACEOF
59284 if ac_fn_cxx_try_compile "$LINENO"; then :
59285 glibcxx_cv_func__isnan_use=yes
59286 else
59287 glibcxx_cv_func__isnan_use=no
59288 fi
59289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59290 ac_ext=c
59291 ac_cpp='$CPP $CPPFLAGS'
59292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295
59296
59297 fi
59298
59299 fi
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59301 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59302
59303 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59304 for ac_func in _isnan
59305 do :
59306 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59307 if test "x$ac_cv_func__isnan" = x""yes; then :
59308 cat >>confdefs.h <<_ACEOF
59309 #define HAVE__ISNAN 1
59310 _ACEOF
59311
59312 fi
59313 done
59314
59315 fi
59316 fi
59317
59318
59319
59320
59321
59322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59323 $as_echo_n "checking for finite declaration... " >&6; }
59324 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59325 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59326 $as_echo_n "(cached) " >&6
59327 else
59328
59329
59330 ac_ext=cpp
59331 ac_cpp='$CXXCPP $CPPFLAGS'
59332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59335
59336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59337 /* end confdefs.h. */
59338 #include <math.h>
59339 #ifdef HAVE_IEEEFP_H
59340 #include <ieeefp.h>
59341 #endif
59342
59343 int
59344 main ()
59345 {
59346 finite(0);
59347 ;
59348 return 0;
59349 }
59350 _ACEOF
59351 if ac_fn_cxx_try_compile "$LINENO"; then :
59352 glibcxx_cv_func_finite_use=yes
59353 else
59354 glibcxx_cv_func_finite_use=no
59355 fi
59356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59357 ac_ext=c
59358 ac_cpp='$CPP $CPPFLAGS'
59359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59362
59363
59364 fi
59365
59366 fi
59367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59368 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59369
59370 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59371 for ac_func in finite
59372 do :
59373 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59374 if test "x$ac_cv_func_finite" = x""yes; then :
59375 cat >>confdefs.h <<_ACEOF
59376 #define HAVE_FINITE 1
59377 _ACEOF
59378
59379 fi
59380 done
59381
59382 else
59383
59384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59385 $as_echo_n "checking for _finite declaration... " >&6; }
59386 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59387 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59388 $as_echo_n "(cached) " >&6
59389 else
59390
59391
59392 ac_ext=cpp
59393 ac_cpp='$CXXCPP $CPPFLAGS'
59394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59397
59398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59399 /* end confdefs.h. */
59400 #include <math.h>
59401 #ifdef HAVE_IEEEFP_H
59402 #include <ieeefp.h>
59403 #endif
59404
59405 int
59406 main ()
59407 {
59408 _finite(0);
59409 ;
59410 return 0;
59411 }
59412 _ACEOF
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414 glibcxx_cv_func__finite_use=yes
59415 else
59416 glibcxx_cv_func__finite_use=no
59417 fi
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59419 ac_ext=c
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424
59425
59426 fi
59427
59428 fi
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59430 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59431
59432 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59433 for ac_func in _finite
59434 do :
59435 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59436 if test "x$ac_cv_func__finite" = x""yes; then :
59437 cat >>confdefs.h <<_ACEOF
59438 #define HAVE__FINITE 1
59439 _ACEOF
59440
59441 fi
59442 done
59443
59444 fi
59445 fi
59446
59447
59448
59449
59450
59451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59452 $as_echo_n "checking for sincos declaration... " >&6; }
59453 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59454 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59455 $as_echo_n "(cached) " >&6
59456 else
59457
59458
59459 ac_ext=cpp
59460 ac_cpp='$CXXCPP $CPPFLAGS'
59461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59464
59465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59466 /* end confdefs.h. */
59467 #include <math.h>
59468 int
59469 main ()
59470 {
59471 sincos(0, 0, 0);
59472 ;
59473 return 0;
59474 }
59475 _ACEOF
59476 if ac_fn_cxx_try_compile "$LINENO"; then :
59477 glibcxx_cv_func_sincos_use=yes
59478 else
59479 glibcxx_cv_func_sincos_use=no
59480 fi
59481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59482 ac_ext=c
59483 ac_cpp='$CPP $CPPFLAGS'
59484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59487
59488
59489 fi
59490
59491 fi
59492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59493 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59494
59495 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59496 for ac_func in sincos
59497 do :
59498 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59499 if test "x$ac_cv_func_sincos" = x""yes; then :
59500 cat >>confdefs.h <<_ACEOF
59501 #define HAVE_SINCOS 1
59502 _ACEOF
59503
59504 fi
59505 done
59506
59507 else
59508
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59510 $as_echo_n "checking for _sincos declaration... " >&6; }
59511 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59512 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59513 $as_echo_n "(cached) " >&6
59514 else
59515
59516
59517 ac_ext=cpp
59518 ac_cpp='$CXXCPP $CPPFLAGS'
59519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59522
59523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59524 /* end confdefs.h. */
59525 #include <math.h>
59526 int
59527 main ()
59528 {
59529 _sincos(0, 0, 0);
59530 ;
59531 return 0;
59532 }
59533 _ACEOF
59534 if ac_fn_cxx_try_compile "$LINENO"; then :
59535 glibcxx_cv_func__sincos_use=yes
59536 else
59537 glibcxx_cv_func__sincos_use=no
59538 fi
59539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59540 ac_ext=c
59541 ac_cpp='$CPP $CPPFLAGS'
59542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545
59546
59547 fi
59548
59549 fi
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59551 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59552
59553 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59554 for ac_func in _sincos
59555 do :
59556 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59557 if test "x$ac_cv_func__sincos" = x""yes; then :
59558 cat >>confdefs.h <<_ACEOF
59559 #define HAVE__SINCOS 1
59560 _ACEOF
59561
59562 fi
59563 done
59564
59565 fi
59566 fi
59567
59568
59569
59570
59571
59572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59573 $as_echo_n "checking for fpclass declaration... " >&6; }
59574 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59575 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59576 $as_echo_n "(cached) " >&6
59577 else
59578
59579
59580 ac_ext=cpp
59581 ac_cpp='$CXXCPP $CPPFLAGS'
59582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59585
59586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59587 /* end confdefs.h. */
59588 #include <math.h>
59589 #ifdef HAVE_IEEEFP_H
59590 #include <ieeefp.h>
59591 #endif
59592
59593 int
59594 main ()
59595 {
59596 fpclass(0);
59597 ;
59598 return 0;
59599 }
59600 _ACEOF
59601 if ac_fn_cxx_try_compile "$LINENO"; then :
59602 glibcxx_cv_func_fpclass_use=yes
59603 else
59604 glibcxx_cv_func_fpclass_use=no
59605 fi
59606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59607 ac_ext=c
59608 ac_cpp='$CPP $CPPFLAGS'
59609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59612
59613
59614 fi
59615
59616 fi
59617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59618 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59619
59620 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59621 for ac_func in fpclass
59622 do :
59623 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59624 if test "x$ac_cv_func_fpclass" = x""yes; then :
59625 cat >>confdefs.h <<_ACEOF
59626 #define HAVE_FPCLASS 1
59627 _ACEOF
59628
59629 fi
59630 done
59631
59632 else
59633
59634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59635 $as_echo_n "checking for _fpclass declaration... " >&6; }
59636 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59637 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59638 $as_echo_n "(cached) " >&6
59639 else
59640
59641
59642 ac_ext=cpp
59643 ac_cpp='$CXXCPP $CPPFLAGS'
59644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59647
59648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59649 /* end confdefs.h. */
59650 #include <math.h>
59651 #ifdef HAVE_IEEEFP_H
59652 #include <ieeefp.h>
59653 #endif
59654
59655 int
59656 main ()
59657 {
59658 _fpclass(0);
59659 ;
59660 return 0;
59661 }
59662 _ACEOF
59663 if ac_fn_cxx_try_compile "$LINENO"; then :
59664 glibcxx_cv_func__fpclass_use=yes
59665 else
59666 glibcxx_cv_func__fpclass_use=no
59667 fi
59668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59669 ac_ext=c
59670 ac_cpp='$CPP $CPPFLAGS'
59671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59674
59675
59676 fi
59677
59678 fi
59679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59680 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59681
59682 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59683 for ac_func in _fpclass
59684 do :
59685 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59686 if test "x$ac_cv_func__fpclass" = x""yes; then :
59687 cat >>confdefs.h <<_ACEOF
59688 #define HAVE__FPCLASS 1
59689 _ACEOF
59690
59691 fi
59692 done
59693
59694 fi
59695 fi
59696
59697
59698
59699
59700
59701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59702 $as_echo_n "checking for qfpclass declaration... " >&6; }
59703 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59704 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59705 $as_echo_n "(cached) " >&6
59706 else
59707
59708
59709 ac_ext=cpp
59710 ac_cpp='$CXXCPP $CPPFLAGS'
59711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59714
59715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59716 /* end confdefs.h. */
59717 #include <math.h>
59718 #ifdef HAVE_IEEEFP_H
59719 #include <ieeefp.h>
59720 #endif
59721
59722 int
59723 main ()
59724 {
59725 qfpclass(0);
59726 ;
59727 return 0;
59728 }
59729 _ACEOF
59730 if ac_fn_cxx_try_compile "$LINENO"; then :
59731 glibcxx_cv_func_qfpclass_use=yes
59732 else
59733 glibcxx_cv_func_qfpclass_use=no
59734 fi
59735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59736 ac_ext=c
59737 ac_cpp='$CPP $CPPFLAGS'
59738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59741
59742
59743 fi
59744
59745 fi
59746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59747 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59748
59749 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59750 for ac_func in qfpclass
59751 do :
59752 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59753 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59754 cat >>confdefs.h <<_ACEOF
59755 #define HAVE_QFPCLASS 1
59756 _ACEOF
59757
59758 fi
59759 done
59760
59761 else
59762
59763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59764 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59765 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59766 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59768 else
59769
59770
59771 ac_ext=cpp
59772 ac_cpp='$CXXCPP $CPPFLAGS'
59773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59776
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59779 #include <math.h>
59780 #ifdef HAVE_IEEEFP_H
59781 #include <ieeefp.h>
59782 #endif
59783
59784 int
59785 main ()
59786 {
59787 _qfpclass(0);
59788 ;
59789 return 0;
59790 }
59791 _ACEOF
59792 if ac_fn_cxx_try_compile "$LINENO"; then :
59793 glibcxx_cv_func__qfpclass_use=yes
59794 else
59795 glibcxx_cv_func__qfpclass_use=no
59796 fi
59797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59798 ac_ext=c
59799 ac_cpp='$CPP $CPPFLAGS'
59800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59803
59804
59805 fi
59806
59807 fi
59808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59809 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59810
59811 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59812 for ac_func in _qfpclass
59813 do :
59814 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59815 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59816 cat >>confdefs.h <<_ACEOF
59817 #define HAVE__QFPCLASS 1
59818 _ACEOF
59819
59820 fi
59821 done
59822
59823 fi
59824 fi
59825
59826
59827
59828
59829
59830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59831 $as_echo_n "checking for hypot declaration... " >&6; }
59832 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59833 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59834 $as_echo_n "(cached) " >&6
59835 else
59836
59837
59838 ac_ext=cpp
59839 ac_cpp='$CXXCPP $CPPFLAGS'
59840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59843
59844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59845 /* end confdefs.h. */
59846 #include <math.h>
59847 int
59848 main ()
59849 {
59850 hypot(0, 0);
59851 ;
59852 return 0;
59853 }
59854 _ACEOF
59855 if ac_fn_cxx_try_compile "$LINENO"; then :
59856 glibcxx_cv_func_hypot_use=yes
59857 else
59858 glibcxx_cv_func_hypot_use=no
59859 fi
59860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59861 ac_ext=c
59862 ac_cpp='$CPP $CPPFLAGS'
59863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59866
59867
59868 fi
59869
59870 fi
59871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59872 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59873
59874 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59875 for ac_func in hypot
59876 do :
59877 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59878 if test "x$ac_cv_func_hypot" = x""yes; then :
59879 cat >>confdefs.h <<_ACEOF
59880 #define HAVE_HYPOT 1
59881 _ACEOF
59882
59883 fi
59884 done
59885
59886 else
59887
59888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59889 $as_echo_n "checking for _hypot declaration... " >&6; }
59890 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59891 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59892 $as_echo_n "(cached) " >&6
59893 else
59894
59895
59896 ac_ext=cpp
59897 ac_cpp='$CXXCPP $CPPFLAGS'
59898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59901
59902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59903 /* end confdefs.h. */
59904 #include <math.h>
59905 int
59906 main ()
59907 {
59908 _hypot(0, 0);
59909 ;
59910 return 0;
59911 }
59912 _ACEOF
59913 if ac_fn_cxx_try_compile "$LINENO"; then :
59914 glibcxx_cv_func__hypot_use=yes
59915 else
59916 glibcxx_cv_func__hypot_use=no
59917 fi
59918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59919 ac_ext=c
59920 ac_cpp='$CPP $CPPFLAGS'
59921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59924
59925
59926 fi
59927
59928 fi
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59930 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59931
59932 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59933 for ac_func in _hypot
59934 do :
59935 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59936 if test "x$ac_cv_func__hypot" = x""yes; then :
59937 cat >>confdefs.h <<_ACEOF
59938 #define HAVE__HYPOT 1
59939 _ACEOF
59940
59941 fi
59942 done
59943
59944 fi
59945 fi
59946
59947
59948
59949
59950
59951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59952 $as_echo_n "checking for float trig functions... " >&6; }
59953 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59954 $as_echo_n "(cached) " >&6
59955 else
59956
59957
59958 ac_ext=cpp
59959 ac_cpp='$CXXCPP $CPPFLAGS'
59960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59963
59964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59965 /* end confdefs.h. */
59966 #include <math.h>
59967 int
59968 main ()
59969 {
59970 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59971 ;
59972 return 0;
59973 }
59974 _ACEOF
59975 if ac_fn_cxx_try_compile "$LINENO"; then :
59976 glibcxx_cv_func_float_trig_use=yes
59977 else
59978 glibcxx_cv_func_float_trig_use=no
59979 fi
59980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59981 ac_ext=c
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59986
59987 fi
59988
59989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59990 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59991 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59992 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59993 do :
59994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59996 eval as_val=\$$as_ac_var
59997 if test "x$as_val" = x""yes; then :
59998 cat >>confdefs.h <<_ACEOF
59999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60000 _ACEOF
60001
60002 fi
60003 done
60004
60005 else
60006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60007 $as_echo_n "checking for _float trig functions... " >&6; }
60008 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60009 $as_echo_n "(cached) " >&6
60010 else
60011
60012
60013 ac_ext=cpp
60014 ac_cpp='$CXXCPP $CPPFLAGS'
60015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018
60019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60020 /* end confdefs.h. */
60021 #include <math.h>
60022 int
60023 main ()
60024 {
60025 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60026 ;
60027 return 0;
60028 }
60029 _ACEOF
60030 if ac_fn_cxx_try_compile "$LINENO"; then :
60031 glibcxx_cv_func__float_trig_use=yes
60032 else
60033 glibcxx_cv_func__float_trig_use=no
60034 fi
60035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60036 ac_ext=c
60037 ac_cpp='$CPP $CPPFLAGS'
60038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60041
60042 fi
60043
60044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60045 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60046 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60047 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60048 do :
60049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60051 eval as_val=\$$as_ac_var
60052 if test "x$as_val" = x""yes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60055 _ACEOF
60056
60057 fi
60058 done
60059
60060 fi
60061 fi
60062
60063
60064
60065
60066
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60068 $as_echo_n "checking for float round functions... " >&6; }
60069 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60072
60073
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60083 int
60084 main ()
60085 {
60086 ceilf (0); floorf (0);
60087 ;
60088 return 0;
60089 }
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func_float_round_use=yes
60093 else
60094 glibcxx_cv_func_float_round_use=no
60095 fi
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102
60103 fi
60104
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60107 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60108 for ac_func in ceilf floorf
60109 do :
60110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113 if test "x$as_val" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60117
60118 fi
60119 done
60120
60121 else
60122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60123 $as_echo_n "checking for _float round functions... " >&6; }
60124 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60127
60128
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60134
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60138 int
60139 main ()
60140 {
60141 _ceilf (0); _floorf (0);
60142 ;
60143 return 0;
60144 }
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147 glibcxx_cv_func__float_round_use=yes
60148 else
60149 glibcxx_cv_func__float_round_use=no
60150 fi
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157
60158 fi
60159
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60162 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60163 for ac_func in _ceilf _floorf
60164 do :
60165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168 if test "x$as_val" = x""yes; then :
60169 cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60172
60173 fi
60174 done
60175
60176 fi
60177 fi
60178
60179
60180
60181
60182
60183
60184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60185 $as_echo_n "checking for expf declaration... " >&6; }
60186 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60187 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60188 $as_echo_n "(cached) " >&6
60189 else
60190
60191
60192 ac_ext=cpp
60193 ac_cpp='$CXXCPP $CPPFLAGS'
60194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60197
60198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60199 /* end confdefs.h. */
60200 #include <math.h>
60201 #ifdef HAVE_IEEEFP_H
60202 #include <ieeefp.h>
60203 #endif
60204
60205 int
60206 main ()
60207 {
60208 expf(0);
60209 ;
60210 return 0;
60211 }
60212 _ACEOF
60213 if ac_fn_cxx_try_compile "$LINENO"; then :
60214 glibcxx_cv_func_expf_use=yes
60215 else
60216 glibcxx_cv_func_expf_use=no
60217 fi
60218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60219 ac_ext=c
60220 ac_cpp='$CPP $CPPFLAGS'
60221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60224
60225
60226 fi
60227
60228 fi
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60230 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60231
60232 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60233 for ac_func in expf
60234 do :
60235 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60236 if test "x$ac_cv_func_expf" = x""yes; then :
60237 cat >>confdefs.h <<_ACEOF
60238 #define HAVE_EXPF 1
60239 _ACEOF
60240
60241 fi
60242 done
60243
60244 else
60245
60246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60247 $as_echo_n "checking for _expf declaration... " >&6; }
60248 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60249 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60250 $as_echo_n "(cached) " >&6
60251 else
60252
60253
60254 ac_ext=cpp
60255 ac_cpp='$CXXCPP $CPPFLAGS'
60256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60259
60260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60261 /* end confdefs.h. */
60262 #include <math.h>
60263 #ifdef HAVE_IEEEFP_H
60264 #include <ieeefp.h>
60265 #endif
60266
60267 int
60268 main ()
60269 {
60270 _expf(0);
60271 ;
60272 return 0;
60273 }
60274 _ACEOF
60275 if ac_fn_cxx_try_compile "$LINENO"; then :
60276 glibcxx_cv_func__expf_use=yes
60277 else
60278 glibcxx_cv_func__expf_use=no
60279 fi
60280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60281 ac_ext=c
60282 ac_cpp='$CPP $CPPFLAGS'
60283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60286
60287
60288 fi
60289
60290 fi
60291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60292 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60293
60294 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60295 for ac_func in _expf
60296 do :
60297 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60298 if test "x$ac_cv_func__expf" = x""yes; then :
60299 cat >>confdefs.h <<_ACEOF
60300 #define HAVE__EXPF 1
60301 _ACEOF
60302
60303 fi
60304 done
60305
60306 fi
60307 fi
60308
60309
60310
60311
60312
60313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60314 $as_echo_n "checking for isnanf declaration... " >&6; }
60315 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60316 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60317 $as_echo_n "(cached) " >&6
60318 else
60319
60320
60321 ac_ext=cpp
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60326
60327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60328 /* end confdefs.h. */
60329 #include <math.h>
60330 #ifdef HAVE_IEEEFP_H
60331 #include <ieeefp.h>
60332 #endif
60333
60334 int
60335 main ()
60336 {
60337 isnanf(0);
60338 ;
60339 return 0;
60340 }
60341 _ACEOF
60342 if ac_fn_cxx_try_compile "$LINENO"; then :
60343 glibcxx_cv_func_isnanf_use=yes
60344 else
60345 glibcxx_cv_func_isnanf_use=no
60346 fi
60347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60348 ac_ext=c
60349 ac_cpp='$CPP $CPPFLAGS'
60350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60353
60354
60355 fi
60356
60357 fi
60358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60359 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60360
60361 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60362 for ac_func in isnanf
60363 do :
60364 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60365 if test "x$ac_cv_func_isnanf" = x""yes; then :
60366 cat >>confdefs.h <<_ACEOF
60367 #define HAVE_ISNANF 1
60368 _ACEOF
60369
60370 fi
60371 done
60372
60373 else
60374
60375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60376 $as_echo_n "checking for _isnanf declaration... " >&6; }
60377 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60378 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60379 $as_echo_n "(cached) " >&6
60380 else
60381
60382
60383 ac_ext=cpp
60384 ac_cpp='$CXXCPP $CPPFLAGS'
60385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60388
60389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60390 /* end confdefs.h. */
60391 #include <math.h>
60392 #ifdef HAVE_IEEEFP_H
60393 #include <ieeefp.h>
60394 #endif
60395
60396 int
60397 main ()
60398 {
60399 _isnanf(0);
60400 ;
60401 return 0;
60402 }
60403 _ACEOF
60404 if ac_fn_cxx_try_compile "$LINENO"; then :
60405 glibcxx_cv_func__isnanf_use=yes
60406 else
60407 glibcxx_cv_func__isnanf_use=no
60408 fi
60409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60415
60416
60417 fi
60418
60419 fi
60420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60421 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60422
60423 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60424 for ac_func in _isnanf
60425 do :
60426 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60427 if test "x$ac_cv_func__isnanf" = x""yes; then :
60428 cat >>confdefs.h <<_ACEOF
60429 #define HAVE__ISNANF 1
60430 _ACEOF
60431
60432 fi
60433 done
60434
60435 fi
60436 fi
60437
60438
60439
60440
60441
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60443 $as_echo_n "checking for isinff declaration... " >&6; }
60444 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60445 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60448
60449
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60455
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60459 #ifdef HAVE_IEEEFP_H
60460 #include <ieeefp.h>
60461 #endif
60462
60463 int
60464 main ()
60465 {
60466 isinff(0);
60467 ;
60468 return 0;
60469 }
60470 _ACEOF
60471 if ac_fn_cxx_try_compile "$LINENO"; then :
60472 glibcxx_cv_func_isinff_use=yes
60473 else
60474 glibcxx_cv_func_isinff_use=no
60475 fi
60476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60477 ac_ext=c
60478 ac_cpp='$CPP $CPPFLAGS'
60479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60482
60483
60484 fi
60485
60486 fi
60487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60488 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60489
60490 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60491 for ac_func in isinff
60492 do :
60493 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60494 if test "x$ac_cv_func_isinff" = x""yes; then :
60495 cat >>confdefs.h <<_ACEOF
60496 #define HAVE_ISINFF 1
60497 _ACEOF
60498
60499 fi
60500 done
60501
60502 else
60503
60504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60505 $as_echo_n "checking for _isinff declaration... " >&6; }
60506 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60507 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60508 $as_echo_n "(cached) " >&6
60509 else
60510
60511
60512 ac_ext=cpp
60513 ac_cpp='$CXXCPP $CPPFLAGS'
60514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60517
60518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60519 /* end confdefs.h. */
60520 #include <math.h>
60521 #ifdef HAVE_IEEEFP_H
60522 #include <ieeefp.h>
60523 #endif
60524
60525 int
60526 main ()
60527 {
60528 _isinff(0);
60529 ;
60530 return 0;
60531 }
60532 _ACEOF
60533 if ac_fn_cxx_try_compile "$LINENO"; then :
60534 glibcxx_cv_func__isinff_use=yes
60535 else
60536 glibcxx_cv_func__isinff_use=no
60537 fi
60538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60539 ac_ext=c
60540 ac_cpp='$CPP $CPPFLAGS'
60541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60544
60545
60546 fi
60547
60548 fi
60549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60550 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60551
60552 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60553 for ac_func in _isinff
60554 do :
60555 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60556 if test "x$ac_cv_func__isinff" = x""yes; then :
60557 cat >>confdefs.h <<_ACEOF
60558 #define HAVE__ISINFF 1
60559 _ACEOF
60560
60561 fi
60562 done
60563
60564 fi
60565 fi
60566
60567
60568
60569
60570
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60572 $as_echo_n "checking for atan2f declaration... " >&6; }
60573 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60574 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60575 $as_echo_n "(cached) " >&6
60576 else
60577
60578
60579 ac_ext=cpp
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60584
60585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60586 /* end confdefs.h. */
60587 #include <math.h>
60588 int
60589 main ()
60590 {
60591 atan2f(0, 0);
60592 ;
60593 return 0;
60594 }
60595 _ACEOF
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597 glibcxx_cv_func_atan2f_use=yes
60598 else
60599 glibcxx_cv_func_atan2f_use=no
60600 fi
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60602 ac_ext=c
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60607
60608
60609 fi
60610
60611 fi
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60613 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60614
60615 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60616 for ac_func in atan2f
60617 do :
60618 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60619 if test "x$ac_cv_func_atan2f" = x""yes; then :
60620 cat >>confdefs.h <<_ACEOF
60621 #define HAVE_ATAN2F 1
60622 _ACEOF
60623
60624 fi
60625 done
60626
60627 else
60628
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60630 $as_echo_n "checking for _atan2f declaration... " >&6; }
60631 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60632 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60633 $as_echo_n "(cached) " >&6
60634 else
60635
60636
60637 ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60642
60643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h. */
60645 #include <math.h>
60646 int
60647 main ()
60648 {
60649 _atan2f(0, 0);
60650 ;
60651 return 0;
60652 }
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655 glibcxx_cv_func__atan2f_use=yes
60656 else
60657 glibcxx_cv_func__atan2f_use=no
60658 fi
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665
60666
60667 fi
60668
60669 fi
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60671 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60672
60673 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60674 for ac_func in _atan2f
60675 do :
60676 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60677 if test "x$ac_cv_func__atan2f" = x""yes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE__ATAN2F 1
60680 _ACEOF
60681
60682 fi
60683 done
60684
60685 fi
60686 fi
60687
60688
60689
60690
60691
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60693 $as_echo_n "checking for fabsf declaration... " >&6; }
60694 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60695 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60696 $as_echo_n "(cached) " >&6
60697 else
60698
60699
60700 ac_ext=cpp
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60705
60706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60707 /* end confdefs.h. */
60708 #include <math.h>
60709 #ifdef HAVE_IEEEFP_H
60710 #include <ieeefp.h>
60711 #endif
60712
60713 int
60714 main ()
60715 {
60716 fabsf(0);
60717 ;
60718 return 0;
60719 }
60720 _ACEOF
60721 if ac_fn_cxx_try_compile "$LINENO"; then :
60722 glibcxx_cv_func_fabsf_use=yes
60723 else
60724 glibcxx_cv_func_fabsf_use=no
60725 fi
60726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60727 ac_ext=c
60728 ac_cpp='$CPP $CPPFLAGS'
60729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60732
60733
60734 fi
60735
60736 fi
60737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60738 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60739
60740 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60741 for ac_func in fabsf
60742 do :
60743 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60744 if test "x$ac_cv_func_fabsf" = x""yes; then :
60745 cat >>confdefs.h <<_ACEOF
60746 #define HAVE_FABSF 1
60747 _ACEOF
60748
60749 fi
60750 done
60751
60752 else
60753
60754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60755 $as_echo_n "checking for _fabsf declaration... " >&6; }
60756 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60757 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60758 $as_echo_n "(cached) " >&6
60759 else
60760
60761
60762 ac_ext=cpp
60763 ac_cpp='$CXXCPP $CPPFLAGS'
60764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60767
60768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60769 /* end confdefs.h. */
60770 #include <math.h>
60771 #ifdef HAVE_IEEEFP_H
60772 #include <ieeefp.h>
60773 #endif
60774
60775 int
60776 main ()
60777 {
60778 _fabsf(0);
60779 ;
60780 return 0;
60781 }
60782 _ACEOF
60783 if ac_fn_cxx_try_compile "$LINENO"; then :
60784 glibcxx_cv_func__fabsf_use=yes
60785 else
60786 glibcxx_cv_func__fabsf_use=no
60787 fi
60788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60789 ac_ext=c
60790 ac_cpp='$CPP $CPPFLAGS'
60791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60794
60795
60796 fi
60797
60798 fi
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60800 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60801
60802 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60803 for ac_func in _fabsf
60804 do :
60805 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60806 if test "x$ac_cv_func__fabsf" = x""yes; then :
60807 cat >>confdefs.h <<_ACEOF
60808 #define HAVE__FABSF 1
60809 _ACEOF
60810
60811 fi
60812 done
60813
60814 fi
60815 fi
60816
60817
60818
60819
60820
60821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60822 $as_echo_n "checking for fmodf declaration... " >&6; }
60823 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60824 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60825 $as_echo_n "(cached) " >&6
60826 else
60827
60828
60829 ac_ext=cpp
60830 ac_cpp='$CXXCPP $CPPFLAGS'
60831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60834
60835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60836 /* end confdefs.h. */
60837 #include <math.h>
60838 int
60839 main ()
60840 {
60841 fmodf(0, 0);
60842 ;
60843 return 0;
60844 }
60845 _ACEOF
60846 if ac_fn_cxx_try_compile "$LINENO"; then :
60847 glibcxx_cv_func_fmodf_use=yes
60848 else
60849 glibcxx_cv_func_fmodf_use=no
60850 fi
60851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60852 ac_ext=c
60853 ac_cpp='$CPP $CPPFLAGS'
60854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60857
60858
60859 fi
60860
60861 fi
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60863 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60864
60865 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60866 for ac_func in fmodf
60867 do :
60868 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60869 if test "x$ac_cv_func_fmodf" = x""yes; then :
60870 cat >>confdefs.h <<_ACEOF
60871 #define HAVE_FMODF 1
60872 _ACEOF
60873
60874 fi
60875 done
60876
60877 else
60878
60879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60880 $as_echo_n "checking for _fmodf declaration... " >&6; }
60881 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60882 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60883 $as_echo_n "(cached) " >&6
60884 else
60885
60886
60887 ac_ext=cpp
60888 ac_cpp='$CXXCPP $CPPFLAGS'
60889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60892
60893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60894 /* end confdefs.h. */
60895 #include <math.h>
60896 int
60897 main ()
60898 {
60899 _fmodf(0, 0);
60900 ;
60901 return 0;
60902 }
60903 _ACEOF
60904 if ac_fn_cxx_try_compile "$LINENO"; then :
60905 glibcxx_cv_func__fmodf_use=yes
60906 else
60907 glibcxx_cv_func__fmodf_use=no
60908 fi
60909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60910 ac_ext=c
60911 ac_cpp='$CPP $CPPFLAGS'
60912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60915
60916
60917 fi
60918
60919 fi
60920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60921 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60922
60923 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60924 for ac_func in _fmodf
60925 do :
60926 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60927 if test "x$ac_cv_func__fmodf" = x""yes; then :
60928 cat >>confdefs.h <<_ACEOF
60929 #define HAVE__FMODF 1
60930 _ACEOF
60931
60932 fi
60933 done
60934
60935 fi
60936 fi
60937
60938
60939
60940
60941
60942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60943 $as_echo_n "checking for frexpf declaration... " >&6; }
60944 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60945 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60946 $as_echo_n "(cached) " >&6
60947 else
60948
60949
60950 ac_ext=cpp
60951 ac_cpp='$CXXCPP $CPPFLAGS'
60952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60955
60956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60957 /* end confdefs.h. */
60958 #include <math.h>
60959 int
60960 main ()
60961 {
60962 frexpf(0, 0);
60963 ;
60964 return 0;
60965 }
60966 _ACEOF
60967 if ac_fn_cxx_try_compile "$LINENO"; then :
60968 glibcxx_cv_func_frexpf_use=yes
60969 else
60970 glibcxx_cv_func_frexpf_use=no
60971 fi
60972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60973 ac_ext=c
60974 ac_cpp='$CPP $CPPFLAGS'
60975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978
60979
60980 fi
60981
60982 fi
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60984 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60985
60986 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60987 for ac_func in frexpf
60988 do :
60989 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60990 if test "x$ac_cv_func_frexpf" = x""yes; then :
60991 cat >>confdefs.h <<_ACEOF
60992 #define HAVE_FREXPF 1
60993 _ACEOF
60994
60995 fi
60996 done
60997
60998 else
60999
61000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61001 $as_echo_n "checking for _frexpf declaration... " >&6; }
61002 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61003 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61004 $as_echo_n "(cached) " >&6
61005 else
61006
61007
61008 ac_ext=cpp
61009 ac_cpp='$CXXCPP $CPPFLAGS'
61010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61013
61014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61015 /* end confdefs.h. */
61016 #include <math.h>
61017 int
61018 main ()
61019 {
61020 _frexpf(0, 0);
61021 ;
61022 return 0;
61023 }
61024 _ACEOF
61025 if ac_fn_cxx_try_compile "$LINENO"; then :
61026 glibcxx_cv_func__frexpf_use=yes
61027 else
61028 glibcxx_cv_func__frexpf_use=no
61029 fi
61030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61031 ac_ext=c
61032 ac_cpp='$CPP $CPPFLAGS'
61033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61036
61037
61038 fi
61039
61040 fi
61041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61042 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61043
61044 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61045 for ac_func in _frexpf
61046 do :
61047 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61048 if test "x$ac_cv_func__frexpf" = x""yes; then :
61049 cat >>confdefs.h <<_ACEOF
61050 #define HAVE__FREXPF 1
61051 _ACEOF
61052
61053 fi
61054 done
61055
61056 fi
61057 fi
61058
61059
61060
61061
61062
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61064 $as_echo_n "checking for hypotf declaration... " >&6; }
61065 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61066 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61067 $as_echo_n "(cached) " >&6
61068 else
61069
61070
61071 ac_ext=cpp
61072 ac_cpp='$CXXCPP $CPPFLAGS'
61073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61076
61077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61078 /* end confdefs.h. */
61079 #include <math.h>
61080 int
61081 main ()
61082 {
61083 hypotf(0, 0);
61084 ;
61085 return 0;
61086 }
61087 _ACEOF
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089 glibcxx_cv_func_hypotf_use=yes
61090 else
61091 glibcxx_cv_func_hypotf_use=no
61092 fi
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61094 ac_ext=c
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099
61100
61101 fi
61102
61103 fi
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61105 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61106
61107 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61108 for ac_func in hypotf
61109 do :
61110 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61111 if test "x$ac_cv_func_hypotf" = x""yes; then :
61112 cat >>confdefs.h <<_ACEOF
61113 #define HAVE_HYPOTF 1
61114 _ACEOF
61115
61116 fi
61117 done
61118
61119 else
61120
61121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61122 $as_echo_n "checking for _hypotf declaration... " >&6; }
61123 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61124 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61125 $as_echo_n "(cached) " >&6
61126 else
61127
61128
61129 ac_ext=cpp
61130 ac_cpp='$CXXCPP $CPPFLAGS'
61131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61134
61135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61136 /* end confdefs.h. */
61137 #include <math.h>
61138 int
61139 main ()
61140 {
61141 _hypotf(0, 0);
61142 ;
61143 return 0;
61144 }
61145 _ACEOF
61146 if ac_fn_cxx_try_compile "$LINENO"; then :
61147 glibcxx_cv_func__hypotf_use=yes
61148 else
61149 glibcxx_cv_func__hypotf_use=no
61150 fi
61151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61152 ac_ext=c
61153 ac_cpp='$CPP $CPPFLAGS'
61154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157
61158
61159 fi
61160
61161 fi
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61163 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61164
61165 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61166 for ac_func in _hypotf
61167 do :
61168 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61169 if test "x$ac_cv_func__hypotf" = x""yes; then :
61170 cat >>confdefs.h <<_ACEOF
61171 #define HAVE__HYPOTF 1
61172 _ACEOF
61173
61174 fi
61175 done
61176
61177 fi
61178 fi
61179
61180
61181
61182
61183
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61185 $as_echo_n "checking for ldexpf declaration... " >&6; }
61186 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61187 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61188 $as_echo_n "(cached) " >&6
61189 else
61190
61191
61192 ac_ext=cpp
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61197
61198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61199 /* end confdefs.h. */
61200 #include <math.h>
61201 int
61202 main ()
61203 {
61204 ldexpf(0, 0);
61205 ;
61206 return 0;
61207 }
61208 _ACEOF
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210 glibcxx_cv_func_ldexpf_use=yes
61211 else
61212 glibcxx_cv_func_ldexpf_use=no
61213 fi
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61215 ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220
61221
61222 fi
61223
61224 fi
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61226 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61227
61228 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61229 for ac_func in ldexpf
61230 do :
61231 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61232 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61233 cat >>confdefs.h <<_ACEOF
61234 #define HAVE_LDEXPF 1
61235 _ACEOF
61236
61237 fi
61238 done
61239
61240 else
61241
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61243 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61244 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61245 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61248
61249
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61255
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 int
61260 main ()
61261 {
61262 _ldexpf(0, 0);
61263 ;
61264 return 0;
61265 }
61266 _ACEOF
61267 if ac_fn_cxx_try_compile "$LINENO"; then :
61268 glibcxx_cv_func__ldexpf_use=yes
61269 else
61270 glibcxx_cv_func__ldexpf_use=no
61271 fi
61272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61273 ac_ext=c
61274 ac_cpp='$CPP $CPPFLAGS'
61275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278
61279
61280 fi
61281
61282 fi
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61284 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61285
61286 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61287 for ac_func in _ldexpf
61288 do :
61289 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61290 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61291 cat >>confdefs.h <<_ACEOF
61292 #define HAVE__LDEXPF 1
61293 _ACEOF
61294
61295 fi
61296 done
61297
61298 fi
61299 fi
61300
61301
61302
61303
61304
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61306 $as_echo_n "checking for logf declaration... " >&6; }
61307 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61308 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61309 $as_echo_n "(cached) " >&6
61310 else
61311
61312
61313 ac_ext=cpp
61314 ac_cpp='$CXXCPP $CPPFLAGS'
61315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61318
61319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61320 /* end confdefs.h. */
61321 #include <math.h>
61322 #ifdef HAVE_IEEEFP_H
61323 #include <ieeefp.h>
61324 #endif
61325
61326 int
61327 main ()
61328 {
61329 logf(0);
61330 ;
61331 return 0;
61332 }
61333 _ACEOF
61334 if ac_fn_cxx_try_compile "$LINENO"; then :
61335 glibcxx_cv_func_logf_use=yes
61336 else
61337 glibcxx_cv_func_logf_use=no
61338 fi
61339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61340 ac_ext=c
61341 ac_cpp='$CPP $CPPFLAGS'
61342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61345
61346
61347 fi
61348
61349 fi
61350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61351 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61352
61353 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61354 for ac_func in logf
61355 do :
61356 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61357 if test "x$ac_cv_func_logf" = x""yes; then :
61358 cat >>confdefs.h <<_ACEOF
61359 #define HAVE_LOGF 1
61360 _ACEOF
61361
61362 fi
61363 done
61364
61365 else
61366
61367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61368 $as_echo_n "checking for _logf declaration... " >&6; }
61369 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61370 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61371 $as_echo_n "(cached) " >&6
61372 else
61373
61374
61375 ac_ext=cpp
61376 ac_cpp='$CXXCPP $CPPFLAGS'
61377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61380
61381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61382 /* end confdefs.h. */
61383 #include <math.h>
61384 #ifdef HAVE_IEEEFP_H
61385 #include <ieeefp.h>
61386 #endif
61387
61388 int
61389 main ()
61390 {
61391 _logf(0);
61392 ;
61393 return 0;
61394 }
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func__logf_use=yes
61398 else
61399 glibcxx_cv_func__logf_use=no
61400 fi
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61407
61408
61409 fi
61410
61411 fi
61412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61413 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61414
61415 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61416 for ac_func in _logf
61417 do :
61418 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61419 if test "x$ac_cv_func__logf" = x""yes; then :
61420 cat >>confdefs.h <<_ACEOF
61421 #define HAVE__LOGF 1
61422 _ACEOF
61423
61424 fi
61425 done
61426
61427 fi
61428 fi
61429
61430
61431
61432
61433
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61435 $as_echo_n "checking for log10f declaration... " >&6; }
61436 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61437 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61438 $as_echo_n "(cached) " >&6
61439 else
61440
61441
61442 ac_ext=cpp
61443 ac_cpp='$CXXCPP $CPPFLAGS'
61444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61447
61448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61449 /* end confdefs.h. */
61450 #include <math.h>
61451 #ifdef HAVE_IEEEFP_H
61452 #include <ieeefp.h>
61453 #endif
61454
61455 int
61456 main ()
61457 {
61458 log10f(0);
61459 ;
61460 return 0;
61461 }
61462 _ACEOF
61463 if ac_fn_cxx_try_compile "$LINENO"; then :
61464 glibcxx_cv_func_log10f_use=yes
61465 else
61466 glibcxx_cv_func_log10f_use=no
61467 fi
61468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61469 ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61474
61475
61476 fi
61477
61478 fi
61479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61480 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61481
61482 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61483 for ac_func in log10f
61484 do :
61485 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61486 if test "x$ac_cv_func_log10f" = x""yes; then :
61487 cat >>confdefs.h <<_ACEOF
61488 #define HAVE_LOG10F 1
61489 _ACEOF
61490
61491 fi
61492 done
61493
61494 else
61495
61496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61497 $as_echo_n "checking for _log10f declaration... " >&6; }
61498 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61499 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61500 $as_echo_n "(cached) " >&6
61501 else
61502
61503
61504 ac_ext=cpp
61505 ac_cpp='$CXXCPP $CPPFLAGS'
61506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61509
61510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61511 /* end confdefs.h. */
61512 #include <math.h>
61513 #ifdef HAVE_IEEEFP_H
61514 #include <ieeefp.h>
61515 #endif
61516
61517 int
61518 main ()
61519 {
61520 _log10f(0);
61521 ;
61522 return 0;
61523 }
61524 _ACEOF
61525 if ac_fn_cxx_try_compile "$LINENO"; then :
61526 glibcxx_cv_func__log10f_use=yes
61527 else
61528 glibcxx_cv_func__log10f_use=no
61529 fi
61530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61531 ac_ext=c
61532 ac_cpp='$CPP $CPPFLAGS'
61533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61536
61537
61538 fi
61539
61540 fi
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61542 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61543
61544 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61545 for ac_func in _log10f
61546 do :
61547 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61548 if test "x$ac_cv_func__log10f" = x""yes; then :
61549 cat >>confdefs.h <<_ACEOF
61550 #define HAVE__LOG10F 1
61551 _ACEOF
61552
61553 fi
61554 done
61555
61556 fi
61557 fi
61558
61559
61560
61561
61562
61563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61564 $as_echo_n "checking for modff declaration... " >&6; }
61565 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61566 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61567 $as_echo_n "(cached) " >&6
61568 else
61569
61570
61571 ac_ext=cpp
61572 ac_cpp='$CXXCPP $CPPFLAGS'
61573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61576
61577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61578 /* end confdefs.h. */
61579 #include <math.h>
61580 int
61581 main ()
61582 {
61583 modff(0, 0);
61584 ;
61585 return 0;
61586 }
61587 _ACEOF
61588 if ac_fn_cxx_try_compile "$LINENO"; then :
61589 glibcxx_cv_func_modff_use=yes
61590 else
61591 glibcxx_cv_func_modff_use=no
61592 fi
61593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61594 ac_ext=c
61595 ac_cpp='$CPP $CPPFLAGS'
61596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61599
61600
61601 fi
61602
61603 fi
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61605 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61606
61607 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61608 for ac_func in modff
61609 do :
61610 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61611 if test "x$ac_cv_func_modff" = x""yes; then :
61612 cat >>confdefs.h <<_ACEOF
61613 #define HAVE_MODFF 1
61614 _ACEOF
61615
61616 fi
61617 done
61618
61619 else
61620
61621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61622 $as_echo_n "checking for _modff declaration... " >&6; }
61623 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61624 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61625 $as_echo_n "(cached) " >&6
61626 else
61627
61628
61629 ac_ext=cpp
61630 ac_cpp='$CXXCPP $CPPFLAGS'
61631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61634
61635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636 /* end confdefs.h. */
61637 #include <math.h>
61638 int
61639 main ()
61640 {
61641 _modff(0, 0);
61642 ;
61643 return 0;
61644 }
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647 glibcxx_cv_func__modff_use=yes
61648 else
61649 glibcxx_cv_func__modff_use=no
61650 fi
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652 ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657
61658
61659 fi
61660
61661 fi
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61663 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61664
61665 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61666 for ac_func in _modff
61667 do :
61668 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61669 if test "x$ac_cv_func__modff" = x""yes; then :
61670 cat >>confdefs.h <<_ACEOF
61671 #define HAVE__MODFF 1
61672 _ACEOF
61673
61674 fi
61675 done
61676
61677 fi
61678 fi
61679
61680
61681
61682
61683
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61685 $as_echo_n "checking for modf declaration... " >&6; }
61686 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61687 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61688 $as_echo_n "(cached) " >&6
61689 else
61690
61691
61692 ac_ext=cpp
61693 ac_cpp='$CXXCPP $CPPFLAGS'
61694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61697
61698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61699 /* end confdefs.h. */
61700 #include <math.h>
61701 int
61702 main ()
61703 {
61704 modf(0, 0);
61705 ;
61706 return 0;
61707 }
61708 _ACEOF
61709 if ac_fn_cxx_try_compile "$LINENO"; then :
61710 glibcxx_cv_func_modf_use=yes
61711 else
61712 glibcxx_cv_func_modf_use=no
61713 fi
61714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61715 ac_ext=c
61716 ac_cpp='$CPP $CPPFLAGS'
61717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61720
61721
61722 fi
61723
61724 fi
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61726 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61727
61728 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61729 for ac_func in modf
61730 do :
61731 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61732 if test "x$ac_cv_func_modf" = x""yes; then :
61733 cat >>confdefs.h <<_ACEOF
61734 #define HAVE_MODF 1
61735 _ACEOF
61736
61737 fi
61738 done
61739
61740 else
61741
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61743 $as_echo_n "checking for _modf declaration... " >&6; }
61744 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61745 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61746 $as_echo_n "(cached) " >&6
61747 else
61748
61749
61750 ac_ext=cpp
61751 ac_cpp='$CXXCPP $CPPFLAGS'
61752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61755
61756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61757 /* end confdefs.h. */
61758 #include <math.h>
61759 int
61760 main ()
61761 {
61762 _modf(0, 0);
61763 ;
61764 return 0;
61765 }
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func__modf_use=yes
61769 else
61770 glibcxx_cv_func__modf_use=no
61771 fi
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773 ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778
61779
61780 fi
61781
61782 fi
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61784 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61785
61786 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61787 for ac_func in _modf
61788 do :
61789 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61790 if test "x$ac_cv_func__modf" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE__MODF 1
61793 _ACEOF
61794
61795 fi
61796 done
61797
61798 fi
61799 fi
61800
61801
61802
61803
61804
61805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61806 $as_echo_n "checking for powf declaration... " >&6; }
61807 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61808 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61809 $as_echo_n "(cached) " >&6
61810 else
61811
61812
61813 ac_ext=cpp
61814 ac_cpp='$CXXCPP $CPPFLAGS'
61815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61818
61819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61820 /* end confdefs.h. */
61821 #include <math.h>
61822 int
61823 main ()
61824 {
61825 powf(0, 0);
61826 ;
61827 return 0;
61828 }
61829 _ACEOF
61830 if ac_fn_cxx_try_compile "$LINENO"; then :
61831 glibcxx_cv_func_powf_use=yes
61832 else
61833 glibcxx_cv_func_powf_use=no
61834 fi
61835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61836 ac_ext=c
61837 ac_cpp='$CPP $CPPFLAGS'
61838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841
61842
61843 fi
61844
61845 fi
61846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61847 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61848
61849 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61850 for ac_func in powf
61851 do :
61852 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61853 if test "x$ac_cv_func_powf" = x""yes; then :
61854 cat >>confdefs.h <<_ACEOF
61855 #define HAVE_POWF 1
61856 _ACEOF
61857
61858 fi
61859 done
61860
61861 else
61862
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61864 $as_echo_n "checking for _powf declaration... " >&6; }
61865 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61866 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61869
61870
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61876
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61880 int
61881 main ()
61882 {
61883 _powf(0, 0);
61884 ;
61885 return 0;
61886 }
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func__powf_use=yes
61890 else
61891 glibcxx_cv_func__powf_use=no
61892 fi
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61899
61900
61901 fi
61902
61903 fi
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61905 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61906
61907 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61908 for ac_func in _powf
61909 do :
61910 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61911 if test "x$ac_cv_func__powf" = x""yes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE__POWF 1
61914 _ACEOF
61915
61916 fi
61917 done
61918
61919 fi
61920 fi
61921
61922
61923
61924
61925
61926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61927 $as_echo_n "checking for sqrtf declaration... " >&6; }
61928 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61929 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61930 $as_echo_n "(cached) " >&6
61931 else
61932
61933
61934 ac_ext=cpp
61935 ac_cpp='$CXXCPP $CPPFLAGS'
61936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61939
61940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61941 /* end confdefs.h. */
61942 #include <math.h>
61943 #ifdef HAVE_IEEEFP_H
61944 #include <ieeefp.h>
61945 #endif
61946
61947 int
61948 main ()
61949 {
61950 sqrtf(0);
61951 ;
61952 return 0;
61953 }
61954 _ACEOF
61955 if ac_fn_cxx_try_compile "$LINENO"; then :
61956 glibcxx_cv_func_sqrtf_use=yes
61957 else
61958 glibcxx_cv_func_sqrtf_use=no
61959 fi
61960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61961 ac_ext=c
61962 ac_cpp='$CPP $CPPFLAGS'
61963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61966
61967
61968 fi
61969
61970 fi
61971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61972 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61973
61974 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61975 for ac_func in sqrtf
61976 do :
61977 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61978 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61979 cat >>confdefs.h <<_ACEOF
61980 #define HAVE_SQRTF 1
61981 _ACEOF
61982
61983 fi
61984 done
61985
61986 else
61987
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61989 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61990 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61991 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61992 $as_echo_n "(cached) " >&6
61993 else
61994
61995
61996 ac_ext=cpp
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62001
62002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h. */
62004 #include <math.h>
62005 #ifdef HAVE_IEEEFP_H
62006 #include <ieeefp.h>
62007 #endif
62008
62009 int
62010 main ()
62011 {
62012 _sqrtf(0);
62013 ;
62014 return 0;
62015 }
62016 _ACEOF
62017 if ac_fn_cxx_try_compile "$LINENO"; then :
62018 glibcxx_cv_func__sqrtf_use=yes
62019 else
62020 glibcxx_cv_func__sqrtf_use=no
62021 fi
62022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62023 ac_ext=c
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62028
62029
62030 fi
62031
62032 fi
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62034 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62035
62036 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62037 for ac_func in _sqrtf
62038 do :
62039 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62040 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62041 cat >>confdefs.h <<_ACEOF
62042 #define HAVE__SQRTF 1
62043 _ACEOF
62044
62045 fi
62046 done
62047
62048 fi
62049 fi
62050
62051
62052
62053
62054
62055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62056 $as_echo_n "checking for sincosf declaration... " >&6; }
62057 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62058 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62059 $as_echo_n "(cached) " >&6
62060 else
62061
62062
62063 ac_ext=cpp
62064 ac_cpp='$CXXCPP $CPPFLAGS'
62065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62068
62069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62070 /* end confdefs.h. */
62071 #include <math.h>
62072 int
62073 main ()
62074 {
62075 sincosf(0, 0, 0);
62076 ;
62077 return 0;
62078 }
62079 _ACEOF
62080 if ac_fn_cxx_try_compile "$LINENO"; then :
62081 glibcxx_cv_func_sincosf_use=yes
62082 else
62083 glibcxx_cv_func_sincosf_use=no
62084 fi
62085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62086 ac_ext=c
62087 ac_cpp='$CPP $CPPFLAGS'
62088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62091
62092
62093 fi
62094
62095 fi
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62097 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62098
62099 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62100 for ac_func in sincosf
62101 do :
62102 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62103 if test "x$ac_cv_func_sincosf" = x""yes; then :
62104 cat >>confdefs.h <<_ACEOF
62105 #define HAVE_SINCOSF 1
62106 _ACEOF
62107
62108 fi
62109 done
62110
62111 else
62112
62113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62114 $as_echo_n "checking for _sincosf declaration... " >&6; }
62115 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62116 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62117 $as_echo_n "(cached) " >&6
62118 else
62119
62120
62121 ac_ext=cpp
62122 ac_cpp='$CXXCPP $CPPFLAGS'
62123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62126
62127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62128 /* end confdefs.h. */
62129 #include <math.h>
62130 int
62131 main ()
62132 {
62133 _sincosf(0, 0, 0);
62134 ;
62135 return 0;
62136 }
62137 _ACEOF
62138 if ac_fn_cxx_try_compile "$LINENO"; then :
62139 glibcxx_cv_func__sincosf_use=yes
62140 else
62141 glibcxx_cv_func__sincosf_use=no
62142 fi
62143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62144 ac_ext=c
62145 ac_cpp='$CPP $CPPFLAGS'
62146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62149
62150
62151 fi
62152
62153 fi
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62155 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62156
62157 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62158 for ac_func in _sincosf
62159 do :
62160 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62161 if test "x$ac_cv_func__sincosf" = x""yes; then :
62162 cat >>confdefs.h <<_ACEOF
62163 #define HAVE__SINCOSF 1
62164 _ACEOF
62165
62166 fi
62167 done
62168
62169 fi
62170 fi
62171
62172
62173
62174
62175
62176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62177 $as_echo_n "checking for finitef declaration... " >&6; }
62178 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62179 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62180 $as_echo_n "(cached) " >&6
62181 else
62182
62183
62184 ac_ext=cpp
62185 ac_cpp='$CXXCPP $CPPFLAGS'
62186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62189
62190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62191 /* end confdefs.h. */
62192 #include <math.h>
62193 #ifdef HAVE_IEEEFP_H
62194 #include <ieeefp.h>
62195 #endif
62196
62197 int
62198 main ()
62199 {
62200 finitef(0);
62201 ;
62202 return 0;
62203 }
62204 _ACEOF
62205 if ac_fn_cxx_try_compile "$LINENO"; then :
62206 glibcxx_cv_func_finitef_use=yes
62207 else
62208 glibcxx_cv_func_finitef_use=no
62209 fi
62210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62211 ac_ext=c
62212 ac_cpp='$CPP $CPPFLAGS'
62213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62216
62217
62218 fi
62219
62220 fi
62221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62222 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62223
62224 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62225 for ac_func in finitef
62226 do :
62227 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62228 if test "x$ac_cv_func_finitef" = x""yes; then :
62229 cat >>confdefs.h <<_ACEOF
62230 #define HAVE_FINITEF 1
62231 _ACEOF
62232
62233 fi
62234 done
62235
62236 else
62237
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62239 $as_echo_n "checking for _finitef declaration... " >&6; }
62240 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62241 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62242 $as_echo_n "(cached) " >&6
62243 else
62244
62245
62246 ac_ext=cpp
62247 ac_cpp='$CXXCPP $CPPFLAGS'
62248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62251
62252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62253 /* end confdefs.h. */
62254 #include <math.h>
62255 #ifdef HAVE_IEEEFP_H
62256 #include <ieeefp.h>
62257 #endif
62258
62259 int
62260 main ()
62261 {
62262 _finitef(0);
62263 ;
62264 return 0;
62265 }
62266 _ACEOF
62267 if ac_fn_cxx_try_compile "$LINENO"; then :
62268 glibcxx_cv_func__finitef_use=yes
62269 else
62270 glibcxx_cv_func__finitef_use=no
62271 fi
62272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62273 ac_ext=c
62274 ac_cpp='$CPP $CPPFLAGS'
62275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62278
62279
62280 fi
62281
62282 fi
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62284 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62285
62286 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62287 for ac_func in _finitef
62288 do :
62289 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62290 if test "x$ac_cv_func__finitef" = x""yes; then :
62291 cat >>confdefs.h <<_ACEOF
62292 #define HAVE__FINITEF 1
62293 _ACEOF
62294
62295 fi
62296 done
62297
62298 fi
62299 fi
62300
62301
62302
62303
62304
62305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62306 $as_echo_n "checking for long double trig functions... " >&6; }
62307 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62308 $as_echo_n "(cached) " >&6
62309 else
62310
62311
62312 ac_ext=cpp
62313 ac_cpp='$CXXCPP $CPPFLAGS'
62314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62317
62318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62319 /* end confdefs.h. */
62320 #include <math.h>
62321 int
62322 main ()
62323 {
62324 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62325 ;
62326 return 0;
62327 }
62328 _ACEOF
62329 if ac_fn_cxx_try_compile "$LINENO"; then :
62330 glibcxx_cv_func_long_double_trig_use=yes
62331 else
62332 glibcxx_cv_func_long_double_trig_use=no
62333 fi
62334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62335 ac_ext=c
62336 ac_cpp='$CPP $CPPFLAGS'
62337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62340
62341 fi
62342
62343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62344 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62345 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62346 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62347 do :
62348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62350 eval as_val=\$$as_ac_var
62351 if test "x$as_val" = x""yes; then :
62352 cat >>confdefs.h <<_ACEOF
62353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62354 _ACEOF
62355
62356 fi
62357 done
62358
62359 else
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62361 $as_echo_n "checking for _long double trig functions... " >&6; }
62362 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62363 $as_echo_n "(cached) " >&6
62364 else
62365
62366
62367 ac_ext=cpp
62368 ac_cpp='$CXXCPP $CPPFLAGS'
62369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372
62373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62374 /* end confdefs.h. */
62375 #include <math.h>
62376 int
62377 main ()
62378 {
62379 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62380 ;
62381 return 0;
62382 }
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func__long_double_trig_use=yes
62386 else
62387 glibcxx_cv_func__long_double_trig_use=no
62388 fi
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62395
62396 fi
62397
62398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62399 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62400 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62401 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62402 do :
62403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62405 eval as_val=\$$as_ac_var
62406 if test "x$as_val" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62409 _ACEOF
62410
62411 fi
62412 done
62413
62414 fi
62415 fi
62416
62417
62418
62419
62420
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62422 $as_echo_n "checking for long double round functions... " >&6; }
62423 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62426
62427
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62437 int
62438 main ()
62439 {
62440 ceill (0); floorl (0);
62441 ;
62442 return 0;
62443 }
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func_long_double_round_use=yes
62447 else
62448 glibcxx_cv_func_long_double_round_use=no
62449 fi
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62456
62457 fi
62458
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62461 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62462 for ac_func in ceill floorl
62463 do :
62464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467 if test "x$as_val" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62471
62472 fi
62473 done
62474
62475 else
62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62477 $as_echo_n "checking for _long double round functions... " >&6; }
62478 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62481
62482
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62492 int
62493 main ()
62494 {
62495 _ceill (0); _floorl (0);
62496 ;
62497 return 0;
62498 }
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func__long_double_round_use=yes
62502 else
62503 glibcxx_cv_func__long_double_round_use=no
62504 fi
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62511
62512 fi
62513
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62516 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62517 for ac_func in _ceill _floorl
62518 do :
62519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522 if test "x$as_val" = x""yes; then :
62523 cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62526
62527 fi
62528 done
62529
62530 fi
62531 fi
62532
62533
62534
62535
62536
62537
62538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62539 $as_echo_n "checking for isnanl declaration... " >&6; }
62540 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62541 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62542 $as_echo_n "(cached) " >&6
62543 else
62544
62545
62546 ac_ext=cpp
62547 ac_cpp='$CXXCPP $CPPFLAGS'
62548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62551
62552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62553 /* end confdefs.h. */
62554 #include <math.h>
62555 #ifdef HAVE_IEEEFP_H
62556 #include <ieeefp.h>
62557 #endif
62558
62559 int
62560 main ()
62561 {
62562 isnanl(0);
62563 ;
62564 return 0;
62565 }
62566 _ACEOF
62567 if ac_fn_cxx_try_compile "$LINENO"; then :
62568 glibcxx_cv_func_isnanl_use=yes
62569 else
62570 glibcxx_cv_func_isnanl_use=no
62571 fi
62572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62578
62579
62580 fi
62581
62582 fi
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62584 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62585
62586 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62587 for ac_func in isnanl
62588 do :
62589 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62590 if test "x$ac_cv_func_isnanl" = x""yes; then :
62591 cat >>confdefs.h <<_ACEOF
62592 #define HAVE_ISNANL 1
62593 _ACEOF
62594
62595 fi
62596 done
62597
62598 else
62599
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62601 $as_echo_n "checking for _isnanl declaration... " >&6; }
62602 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62603 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62604 $as_echo_n "(cached) " >&6
62605 else
62606
62607
62608 ac_ext=cpp
62609 ac_cpp='$CXXCPP $CPPFLAGS'
62610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62613
62614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62615 /* end confdefs.h. */
62616 #include <math.h>
62617 #ifdef HAVE_IEEEFP_H
62618 #include <ieeefp.h>
62619 #endif
62620
62621 int
62622 main ()
62623 {
62624 _isnanl(0);
62625 ;
62626 return 0;
62627 }
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630 glibcxx_cv_func__isnanl_use=yes
62631 else
62632 glibcxx_cv_func__isnanl_use=no
62633 fi
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635 ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62640
62641
62642 fi
62643
62644 fi
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62646 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62647
62648 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62649 for ac_func in _isnanl
62650 do :
62651 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62652 if test "x$ac_cv_func__isnanl" = x""yes; then :
62653 cat >>confdefs.h <<_ACEOF
62654 #define HAVE__ISNANL 1
62655 _ACEOF
62656
62657 fi
62658 done
62659
62660 fi
62661 fi
62662
62663
62664
62665
62666
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62668 $as_echo_n "checking for isinfl declaration... " >&6; }
62669 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62670 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62672 else
62673
62674
62675 ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62680
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62683 #include <math.h>
62684 #ifdef HAVE_IEEEFP_H
62685 #include <ieeefp.h>
62686 #endif
62687
62688 int
62689 main ()
62690 {
62691 isinfl(0);
62692 ;
62693 return 0;
62694 }
62695 _ACEOF
62696 if ac_fn_cxx_try_compile "$LINENO"; then :
62697 glibcxx_cv_func_isinfl_use=yes
62698 else
62699 glibcxx_cv_func_isinfl_use=no
62700 fi
62701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62702 ac_ext=c
62703 ac_cpp='$CPP $CPPFLAGS'
62704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62707
62708
62709 fi
62710
62711 fi
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62713 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62714
62715 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62716 for ac_func in isinfl
62717 do :
62718 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62719 if test "x$ac_cv_func_isinfl" = x""yes; then :
62720 cat >>confdefs.h <<_ACEOF
62721 #define HAVE_ISINFL 1
62722 _ACEOF
62723
62724 fi
62725 done
62726
62727 else
62728
62729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62730 $as_echo_n "checking for _isinfl declaration... " >&6; }
62731 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62732 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62733 $as_echo_n "(cached) " >&6
62734 else
62735
62736
62737 ac_ext=cpp
62738 ac_cpp='$CXXCPP $CPPFLAGS'
62739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62742
62743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62744 /* end confdefs.h. */
62745 #include <math.h>
62746 #ifdef HAVE_IEEEFP_H
62747 #include <ieeefp.h>
62748 #endif
62749
62750 int
62751 main ()
62752 {
62753 _isinfl(0);
62754 ;
62755 return 0;
62756 }
62757 _ACEOF
62758 if ac_fn_cxx_try_compile "$LINENO"; then :
62759 glibcxx_cv_func__isinfl_use=yes
62760 else
62761 glibcxx_cv_func__isinfl_use=no
62762 fi
62763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62764 ac_ext=c
62765 ac_cpp='$CPP $CPPFLAGS'
62766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62769
62770
62771 fi
62772
62773 fi
62774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62775 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62776
62777 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62778 for ac_func in _isinfl
62779 do :
62780 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62781 if test "x$ac_cv_func__isinfl" = x""yes; then :
62782 cat >>confdefs.h <<_ACEOF
62783 #define HAVE__ISINFL 1
62784 _ACEOF
62785
62786 fi
62787 done
62788
62789 fi
62790 fi
62791
62792
62793
62794
62795
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62797 $as_echo_n "checking for atan2l declaration... " >&6; }
62798 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62799 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62800 $as_echo_n "(cached) " >&6
62801 else
62802
62803
62804 ac_ext=cpp
62805 ac_cpp='$CXXCPP $CPPFLAGS'
62806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62809
62810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62811 /* end confdefs.h. */
62812 #include <math.h>
62813 int
62814 main ()
62815 {
62816 atan2l(0, 0);
62817 ;
62818 return 0;
62819 }
62820 _ACEOF
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822 glibcxx_cv_func_atan2l_use=yes
62823 else
62824 glibcxx_cv_func_atan2l_use=no
62825 fi
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62827 ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62832
62833
62834 fi
62835
62836 fi
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62838 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62839
62840 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62841 for ac_func in atan2l
62842 do :
62843 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62844 if test "x$ac_cv_func_atan2l" = x""yes; then :
62845 cat >>confdefs.h <<_ACEOF
62846 #define HAVE_ATAN2L 1
62847 _ACEOF
62848
62849 fi
62850 done
62851
62852 else
62853
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62855 $as_echo_n "checking for _atan2l declaration... " >&6; }
62856 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62857 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62858 $as_echo_n "(cached) " >&6
62859 else
62860
62861
62862 ac_ext=cpp
62863 ac_cpp='$CXXCPP $CPPFLAGS'
62864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62867
62868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62869 /* end confdefs.h. */
62870 #include <math.h>
62871 int
62872 main ()
62873 {
62874 _atan2l(0, 0);
62875 ;
62876 return 0;
62877 }
62878 _ACEOF
62879 if ac_fn_cxx_try_compile "$LINENO"; then :
62880 glibcxx_cv_func__atan2l_use=yes
62881 else
62882 glibcxx_cv_func__atan2l_use=no
62883 fi
62884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62885 ac_ext=c
62886 ac_cpp='$CPP $CPPFLAGS'
62887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62890
62891
62892 fi
62893
62894 fi
62895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62896 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62897
62898 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62899 for ac_func in _atan2l
62900 do :
62901 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62902 if test "x$ac_cv_func__atan2l" = x""yes; then :
62903 cat >>confdefs.h <<_ACEOF
62904 #define HAVE__ATAN2L 1
62905 _ACEOF
62906
62907 fi
62908 done
62909
62910 fi
62911 fi
62912
62913
62914
62915
62916
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62918 $as_echo_n "checking for expl declaration... " >&6; }
62919 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62920 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62921 $as_echo_n "(cached) " >&6
62922 else
62923
62924
62925 ac_ext=cpp
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62930
62931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62932 /* end confdefs.h. */
62933 #include <math.h>
62934 #ifdef HAVE_IEEEFP_H
62935 #include <ieeefp.h>
62936 #endif
62937
62938 int
62939 main ()
62940 {
62941 expl(0);
62942 ;
62943 return 0;
62944 }
62945 _ACEOF
62946 if ac_fn_cxx_try_compile "$LINENO"; then :
62947 glibcxx_cv_func_expl_use=yes
62948 else
62949 glibcxx_cv_func_expl_use=no
62950 fi
62951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62952 ac_ext=c
62953 ac_cpp='$CPP $CPPFLAGS'
62954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62957
62958
62959 fi
62960
62961 fi
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62963 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62964
62965 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62966 for ac_func in expl
62967 do :
62968 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62969 if test "x$ac_cv_func_expl" = x""yes; then :
62970 cat >>confdefs.h <<_ACEOF
62971 #define HAVE_EXPL 1
62972 _ACEOF
62973
62974 fi
62975 done
62976
62977 else
62978
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62980 $as_echo_n "checking for _expl declaration... " >&6; }
62981 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62982 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62983 $as_echo_n "(cached) " >&6
62984 else
62985
62986
62987 ac_ext=cpp
62988 ac_cpp='$CXXCPP $CPPFLAGS'
62989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62992
62993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62994 /* end confdefs.h. */
62995 #include <math.h>
62996 #ifdef HAVE_IEEEFP_H
62997 #include <ieeefp.h>
62998 #endif
62999
63000 int
63001 main ()
63002 {
63003 _expl(0);
63004 ;
63005 return 0;
63006 }
63007 _ACEOF
63008 if ac_fn_cxx_try_compile "$LINENO"; then :
63009 glibcxx_cv_func__expl_use=yes
63010 else
63011 glibcxx_cv_func__expl_use=no
63012 fi
63013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63014 ac_ext=c
63015 ac_cpp='$CPP $CPPFLAGS'
63016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63019
63020
63021 fi
63022
63023 fi
63024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63025 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63026
63027 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63028 for ac_func in _expl
63029 do :
63030 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63031 if test "x$ac_cv_func__expl" = x""yes; then :
63032 cat >>confdefs.h <<_ACEOF
63033 #define HAVE__EXPL 1
63034 _ACEOF
63035
63036 fi
63037 done
63038
63039 fi
63040 fi
63041
63042
63043
63044
63045
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63047 $as_echo_n "checking for fabsl declaration... " >&6; }
63048 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63049 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63050 $as_echo_n "(cached) " >&6
63051 else
63052
63053
63054 ac_ext=cpp
63055 ac_cpp='$CXXCPP $CPPFLAGS'
63056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63059
63060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63061 /* end confdefs.h. */
63062 #include <math.h>
63063 #ifdef HAVE_IEEEFP_H
63064 #include <ieeefp.h>
63065 #endif
63066
63067 int
63068 main ()
63069 {
63070 fabsl(0);
63071 ;
63072 return 0;
63073 }
63074 _ACEOF
63075 if ac_fn_cxx_try_compile "$LINENO"; then :
63076 glibcxx_cv_func_fabsl_use=yes
63077 else
63078 glibcxx_cv_func_fabsl_use=no
63079 fi
63080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63081 ac_ext=c
63082 ac_cpp='$CPP $CPPFLAGS'
63083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63086
63087
63088 fi
63089
63090 fi
63091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63092 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63093
63094 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63095 for ac_func in fabsl
63096 do :
63097 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63098 if test "x$ac_cv_func_fabsl" = x""yes; then :
63099 cat >>confdefs.h <<_ACEOF
63100 #define HAVE_FABSL 1
63101 _ACEOF
63102
63103 fi
63104 done
63105
63106 else
63107
63108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63109 $as_echo_n "checking for _fabsl declaration... " >&6; }
63110 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63111 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63112 $as_echo_n "(cached) " >&6
63113 else
63114
63115
63116 ac_ext=cpp
63117 ac_cpp='$CXXCPP $CPPFLAGS'
63118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63121
63122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63123 /* end confdefs.h. */
63124 #include <math.h>
63125 #ifdef HAVE_IEEEFP_H
63126 #include <ieeefp.h>
63127 #endif
63128
63129 int
63130 main ()
63131 {
63132 _fabsl(0);
63133 ;
63134 return 0;
63135 }
63136 _ACEOF
63137 if ac_fn_cxx_try_compile "$LINENO"; then :
63138 glibcxx_cv_func__fabsl_use=yes
63139 else
63140 glibcxx_cv_func__fabsl_use=no
63141 fi
63142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63143 ac_ext=c
63144 ac_cpp='$CPP $CPPFLAGS'
63145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63148
63149
63150 fi
63151
63152 fi
63153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63154 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63155
63156 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63157 for ac_func in _fabsl
63158 do :
63159 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63160 if test "x$ac_cv_func__fabsl" = x""yes; then :
63161 cat >>confdefs.h <<_ACEOF
63162 #define HAVE__FABSL 1
63163 _ACEOF
63164
63165 fi
63166 done
63167
63168 fi
63169 fi
63170
63171
63172
63173
63174
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63176 $as_echo_n "checking for fmodl declaration... " >&6; }
63177 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63178 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63179 $as_echo_n "(cached) " >&6
63180 else
63181
63182
63183 ac_ext=cpp
63184 ac_cpp='$CXXCPP $CPPFLAGS'
63185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63188
63189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h. */
63191 #include <math.h>
63192 int
63193 main ()
63194 {
63195 fmodl(0, 0);
63196 ;
63197 return 0;
63198 }
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201 glibcxx_cv_func_fmodl_use=yes
63202 else
63203 glibcxx_cv_func_fmodl_use=no
63204 fi
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206 ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63211
63212
63213 fi
63214
63215 fi
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63217 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63218
63219 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63220 for ac_func in fmodl
63221 do :
63222 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63223 if test "x$ac_cv_func_fmodl" = x""yes; then :
63224 cat >>confdefs.h <<_ACEOF
63225 #define HAVE_FMODL 1
63226 _ACEOF
63227
63228 fi
63229 done
63230
63231 else
63232
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63234 $as_echo_n "checking for _fmodl declaration... " >&6; }
63235 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63236 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63237 $as_echo_n "(cached) " >&6
63238 else
63239
63240
63241 ac_ext=cpp
63242 ac_cpp='$CXXCPP $CPPFLAGS'
63243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63246
63247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63248 /* end confdefs.h. */
63249 #include <math.h>
63250 int
63251 main ()
63252 {
63253 _fmodl(0, 0);
63254 ;
63255 return 0;
63256 }
63257 _ACEOF
63258 if ac_fn_cxx_try_compile "$LINENO"; then :
63259 glibcxx_cv_func__fmodl_use=yes
63260 else
63261 glibcxx_cv_func__fmodl_use=no
63262 fi
63263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63264 ac_ext=c
63265 ac_cpp='$CPP $CPPFLAGS'
63266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63269
63270
63271 fi
63272
63273 fi
63274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63275 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63276
63277 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63278 for ac_func in _fmodl
63279 do :
63280 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63281 if test "x$ac_cv_func__fmodl" = x""yes; then :
63282 cat >>confdefs.h <<_ACEOF
63283 #define HAVE__FMODL 1
63284 _ACEOF
63285
63286 fi
63287 done
63288
63289 fi
63290 fi
63291
63292
63293
63294
63295
63296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63297 $as_echo_n "checking for frexpl declaration... " >&6; }
63298 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63299 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63300 $as_echo_n "(cached) " >&6
63301 else
63302
63303
63304 ac_ext=cpp
63305 ac_cpp='$CXXCPP $CPPFLAGS'
63306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63309
63310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63311 /* end confdefs.h. */
63312 #include <math.h>
63313 int
63314 main ()
63315 {
63316 frexpl(0, 0);
63317 ;
63318 return 0;
63319 }
63320 _ACEOF
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322 glibcxx_cv_func_frexpl_use=yes
63323 else
63324 glibcxx_cv_func_frexpl_use=no
63325 fi
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63327 ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332
63333
63334 fi
63335
63336 fi
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63338 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63339
63340 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63341 for ac_func in frexpl
63342 do :
63343 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63344 if test "x$ac_cv_func_frexpl" = x""yes; then :
63345 cat >>confdefs.h <<_ACEOF
63346 #define HAVE_FREXPL 1
63347 _ACEOF
63348
63349 fi
63350 done
63351
63352 else
63353
63354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63355 $as_echo_n "checking for _frexpl declaration... " >&6; }
63356 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63357 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63358 $as_echo_n "(cached) " >&6
63359 else
63360
63361
63362 ac_ext=cpp
63363 ac_cpp='$CXXCPP $CPPFLAGS'
63364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367
63368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63369 /* end confdefs.h. */
63370 #include <math.h>
63371 int
63372 main ()
63373 {
63374 _frexpl(0, 0);
63375 ;
63376 return 0;
63377 }
63378 _ACEOF
63379 if ac_fn_cxx_try_compile "$LINENO"; then :
63380 glibcxx_cv_func__frexpl_use=yes
63381 else
63382 glibcxx_cv_func__frexpl_use=no
63383 fi
63384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63385 ac_ext=c
63386 ac_cpp='$CPP $CPPFLAGS'
63387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63390
63391
63392 fi
63393
63394 fi
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63396 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63397
63398 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63399 for ac_func in _frexpl
63400 do :
63401 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63402 if test "x$ac_cv_func__frexpl" = x""yes; then :
63403 cat >>confdefs.h <<_ACEOF
63404 #define HAVE__FREXPL 1
63405 _ACEOF
63406
63407 fi
63408 done
63409
63410 fi
63411 fi
63412
63413
63414
63415
63416
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63418 $as_echo_n "checking for hypotl declaration... " >&6; }
63419 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63420 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63421 $as_echo_n "(cached) " >&6
63422 else
63423
63424
63425 ac_ext=cpp
63426 ac_cpp='$CXXCPP $CPPFLAGS'
63427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63430
63431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63432 /* end confdefs.h. */
63433 #include <math.h>
63434 int
63435 main ()
63436 {
63437 hypotl(0, 0);
63438 ;
63439 return 0;
63440 }
63441 _ACEOF
63442 if ac_fn_cxx_try_compile "$LINENO"; then :
63443 glibcxx_cv_func_hypotl_use=yes
63444 else
63445 glibcxx_cv_func_hypotl_use=no
63446 fi
63447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63448 ac_ext=c
63449 ac_cpp='$CPP $CPPFLAGS'
63450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453
63454
63455 fi
63456
63457 fi
63458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63459 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63460
63461 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63462 for ac_func in hypotl
63463 do :
63464 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63465 if test "x$ac_cv_func_hypotl" = x""yes; then :
63466 cat >>confdefs.h <<_ACEOF
63467 #define HAVE_HYPOTL 1
63468 _ACEOF
63469
63470 fi
63471 done
63472
63473 else
63474
63475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63476 $as_echo_n "checking for _hypotl declaration... " >&6; }
63477 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63478 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63479 $as_echo_n "(cached) " >&6
63480 else
63481
63482
63483 ac_ext=cpp
63484 ac_cpp='$CXXCPP $CPPFLAGS'
63485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63488
63489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63490 /* end confdefs.h. */
63491 #include <math.h>
63492 int
63493 main ()
63494 {
63495 _hypotl(0, 0);
63496 ;
63497 return 0;
63498 }
63499 _ACEOF
63500 if ac_fn_cxx_try_compile "$LINENO"; then :
63501 glibcxx_cv_func__hypotl_use=yes
63502 else
63503 glibcxx_cv_func__hypotl_use=no
63504 fi
63505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63506 ac_ext=c
63507 ac_cpp='$CPP $CPPFLAGS'
63508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63511
63512
63513 fi
63514
63515 fi
63516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63517 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63518
63519 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63520 for ac_func in _hypotl
63521 do :
63522 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63523 if test "x$ac_cv_func__hypotl" = x""yes; then :
63524 cat >>confdefs.h <<_ACEOF
63525 #define HAVE__HYPOTL 1
63526 _ACEOF
63527
63528 fi
63529 done
63530
63531 fi
63532 fi
63533
63534
63535
63536
63537
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63539 $as_echo_n "checking for ldexpl declaration... " >&6; }
63540 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63541 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63542 $as_echo_n "(cached) " >&6
63543 else
63544
63545
63546 ac_ext=cpp
63547 ac_cpp='$CXXCPP $CPPFLAGS'
63548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63551
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h. */
63554 #include <math.h>
63555 int
63556 main ()
63557 {
63558 ldexpl(0, 0);
63559 ;
63560 return 0;
63561 }
63562 _ACEOF
63563 if ac_fn_cxx_try_compile "$LINENO"; then :
63564 glibcxx_cv_func_ldexpl_use=yes
63565 else
63566 glibcxx_cv_func_ldexpl_use=no
63567 fi
63568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63569 ac_ext=c
63570 ac_cpp='$CPP $CPPFLAGS'
63571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63574
63575
63576 fi
63577
63578 fi
63579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63580 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63581
63582 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63583 for ac_func in ldexpl
63584 do :
63585 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63586 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63587 cat >>confdefs.h <<_ACEOF
63588 #define HAVE_LDEXPL 1
63589 _ACEOF
63590
63591 fi
63592 done
63593
63594 else
63595
63596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63597 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63598 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63599 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63600 $as_echo_n "(cached) " >&6
63601 else
63602
63603
63604 ac_ext=cpp
63605 ac_cpp='$CXXCPP $CPPFLAGS'
63606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63609
63610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63611 /* end confdefs.h. */
63612 #include <math.h>
63613 int
63614 main ()
63615 {
63616 _ldexpl(0, 0);
63617 ;
63618 return 0;
63619 }
63620 _ACEOF
63621 if ac_fn_cxx_try_compile "$LINENO"; then :
63622 glibcxx_cv_func__ldexpl_use=yes
63623 else
63624 glibcxx_cv_func__ldexpl_use=no
63625 fi
63626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63627 ac_ext=c
63628 ac_cpp='$CPP $CPPFLAGS'
63629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63632
63633
63634 fi
63635
63636 fi
63637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63638 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63639
63640 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63641 for ac_func in _ldexpl
63642 do :
63643 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63644 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63645 cat >>confdefs.h <<_ACEOF
63646 #define HAVE__LDEXPL 1
63647 _ACEOF
63648
63649 fi
63650 done
63651
63652 fi
63653 fi
63654
63655
63656
63657
63658
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63660 $as_echo_n "checking for logl declaration... " >&6; }
63661 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63662 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63663 $as_echo_n "(cached) " >&6
63664 else
63665
63666
63667 ac_ext=cpp
63668 ac_cpp='$CXXCPP $CPPFLAGS'
63669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63672
63673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63674 /* end confdefs.h. */
63675 #include <math.h>
63676 #ifdef HAVE_IEEEFP_H
63677 #include <ieeefp.h>
63678 #endif
63679
63680 int
63681 main ()
63682 {
63683 logl(0);
63684 ;
63685 return 0;
63686 }
63687 _ACEOF
63688 if ac_fn_cxx_try_compile "$LINENO"; then :
63689 glibcxx_cv_func_logl_use=yes
63690 else
63691 glibcxx_cv_func_logl_use=no
63692 fi
63693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63694 ac_ext=c
63695 ac_cpp='$CPP $CPPFLAGS'
63696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63699
63700
63701 fi
63702
63703 fi
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63705 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63706
63707 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63708 for ac_func in logl
63709 do :
63710 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63711 if test "x$ac_cv_func_logl" = x""yes; then :
63712 cat >>confdefs.h <<_ACEOF
63713 #define HAVE_LOGL 1
63714 _ACEOF
63715
63716 fi
63717 done
63718
63719 else
63720
63721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63722 $as_echo_n "checking for _logl declaration... " >&6; }
63723 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63724 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63725 $as_echo_n "(cached) " >&6
63726 else
63727
63728
63729 ac_ext=cpp
63730 ac_cpp='$CXXCPP $CPPFLAGS'
63731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63734
63735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63736 /* end confdefs.h. */
63737 #include <math.h>
63738 #ifdef HAVE_IEEEFP_H
63739 #include <ieeefp.h>
63740 #endif
63741
63742 int
63743 main ()
63744 {
63745 _logl(0);
63746 ;
63747 return 0;
63748 }
63749 _ACEOF
63750 if ac_fn_cxx_try_compile "$LINENO"; then :
63751 glibcxx_cv_func__logl_use=yes
63752 else
63753 glibcxx_cv_func__logl_use=no
63754 fi
63755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63756 ac_ext=c
63757 ac_cpp='$CPP $CPPFLAGS'
63758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63761
63762
63763 fi
63764
63765 fi
63766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63767 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63768
63769 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63770 for ac_func in _logl
63771 do :
63772 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63773 if test "x$ac_cv_func__logl" = x""yes; then :
63774 cat >>confdefs.h <<_ACEOF
63775 #define HAVE__LOGL 1
63776 _ACEOF
63777
63778 fi
63779 done
63780
63781 fi
63782 fi
63783
63784
63785
63786
63787
63788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63789 $as_echo_n "checking for log10l declaration... " >&6; }
63790 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63791 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63792 $as_echo_n "(cached) " >&6
63793 else
63794
63795
63796 ac_ext=cpp
63797 ac_cpp='$CXXCPP $CPPFLAGS'
63798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63801
63802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63803 /* end confdefs.h. */
63804 #include <math.h>
63805 #ifdef HAVE_IEEEFP_H
63806 #include <ieeefp.h>
63807 #endif
63808
63809 int
63810 main ()
63811 {
63812 log10l(0);
63813 ;
63814 return 0;
63815 }
63816 _ACEOF
63817 if ac_fn_cxx_try_compile "$LINENO"; then :
63818 glibcxx_cv_func_log10l_use=yes
63819 else
63820 glibcxx_cv_func_log10l_use=no
63821 fi
63822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63823 ac_ext=c
63824 ac_cpp='$CPP $CPPFLAGS'
63825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63828
63829
63830 fi
63831
63832 fi
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63834 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63835
63836 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63837 for ac_func in log10l
63838 do :
63839 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63840 if test "x$ac_cv_func_log10l" = x""yes; then :
63841 cat >>confdefs.h <<_ACEOF
63842 #define HAVE_LOG10L 1
63843 _ACEOF
63844
63845 fi
63846 done
63847
63848 else
63849
63850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63851 $as_echo_n "checking for _log10l declaration... " >&6; }
63852 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63853 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63854 $as_echo_n "(cached) " >&6
63855 else
63856
63857
63858 ac_ext=cpp
63859 ac_cpp='$CXXCPP $CPPFLAGS'
63860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63863
63864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63865 /* end confdefs.h. */
63866 #include <math.h>
63867 #ifdef HAVE_IEEEFP_H
63868 #include <ieeefp.h>
63869 #endif
63870
63871 int
63872 main ()
63873 {
63874 _log10l(0);
63875 ;
63876 return 0;
63877 }
63878 _ACEOF
63879 if ac_fn_cxx_try_compile "$LINENO"; then :
63880 glibcxx_cv_func__log10l_use=yes
63881 else
63882 glibcxx_cv_func__log10l_use=no
63883 fi
63884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63885 ac_ext=c
63886 ac_cpp='$CPP $CPPFLAGS'
63887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63890
63891
63892 fi
63893
63894 fi
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63896 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63897
63898 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63899 for ac_func in _log10l
63900 do :
63901 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63902 if test "x$ac_cv_func__log10l" = x""yes; then :
63903 cat >>confdefs.h <<_ACEOF
63904 #define HAVE__LOG10L 1
63905 _ACEOF
63906
63907 fi
63908 done
63909
63910 fi
63911 fi
63912
63913
63914
63915
63916
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63918 $as_echo_n "checking for modfl declaration... " >&6; }
63919 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63920 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63921 $as_echo_n "(cached) " >&6
63922 else
63923
63924
63925 ac_ext=cpp
63926 ac_cpp='$CXXCPP $CPPFLAGS'
63927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63930
63931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63932 /* end confdefs.h. */
63933 #include <math.h>
63934 int
63935 main ()
63936 {
63937 modfl(0, 0);
63938 ;
63939 return 0;
63940 }
63941 _ACEOF
63942 if ac_fn_cxx_try_compile "$LINENO"; then :
63943 glibcxx_cv_func_modfl_use=yes
63944 else
63945 glibcxx_cv_func_modfl_use=no
63946 fi
63947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63948 ac_ext=c
63949 ac_cpp='$CPP $CPPFLAGS'
63950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63953
63954
63955 fi
63956
63957 fi
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63959 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63960
63961 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63962 for ac_func in modfl
63963 do :
63964 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63965 if test "x$ac_cv_func_modfl" = x""yes; then :
63966 cat >>confdefs.h <<_ACEOF
63967 #define HAVE_MODFL 1
63968 _ACEOF
63969
63970 fi
63971 done
63972
63973 else
63974
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63976 $as_echo_n "checking for _modfl declaration... " >&6; }
63977 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63978 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63979 $as_echo_n "(cached) " >&6
63980 else
63981
63982
63983 ac_ext=cpp
63984 ac_cpp='$CXXCPP $CPPFLAGS'
63985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63988
63989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63990 /* end confdefs.h. */
63991 #include <math.h>
63992 int
63993 main ()
63994 {
63995 _modfl(0, 0);
63996 ;
63997 return 0;
63998 }
63999 _ACEOF
64000 if ac_fn_cxx_try_compile "$LINENO"; then :
64001 glibcxx_cv_func__modfl_use=yes
64002 else
64003 glibcxx_cv_func__modfl_use=no
64004 fi
64005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64006 ac_ext=c
64007 ac_cpp='$CPP $CPPFLAGS'
64008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64011
64012
64013 fi
64014
64015 fi
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64017 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64018
64019 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64020 for ac_func in _modfl
64021 do :
64022 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64023 if test "x$ac_cv_func__modfl" = x""yes; then :
64024 cat >>confdefs.h <<_ACEOF
64025 #define HAVE__MODFL 1
64026 _ACEOF
64027
64028 fi
64029 done
64030
64031 fi
64032 fi
64033
64034
64035
64036
64037
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64039 $as_echo_n "checking for powl declaration... " >&6; }
64040 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64041 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64042 $as_echo_n "(cached) " >&6
64043 else
64044
64045
64046 ac_ext=cpp
64047 ac_cpp='$CXXCPP $CPPFLAGS'
64048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64051
64052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64053 /* end confdefs.h. */
64054 #include <math.h>
64055 int
64056 main ()
64057 {
64058 powl(0, 0);
64059 ;
64060 return 0;
64061 }
64062 _ACEOF
64063 if ac_fn_cxx_try_compile "$LINENO"; then :
64064 glibcxx_cv_func_powl_use=yes
64065 else
64066 glibcxx_cv_func_powl_use=no
64067 fi
64068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64069 ac_ext=c
64070 ac_cpp='$CPP $CPPFLAGS'
64071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64074
64075
64076 fi
64077
64078 fi
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64080 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64081
64082 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64083 for ac_func in powl
64084 do :
64085 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64086 if test "x$ac_cv_func_powl" = x""yes; then :
64087 cat >>confdefs.h <<_ACEOF
64088 #define HAVE_POWL 1
64089 _ACEOF
64090
64091 fi
64092 done
64093
64094 else
64095
64096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64097 $as_echo_n "checking for _powl declaration... " >&6; }
64098 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64099 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64100 $as_echo_n "(cached) " >&6
64101 else
64102
64103
64104 ac_ext=cpp
64105 ac_cpp='$CXXCPP $CPPFLAGS'
64106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64109
64110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64111 /* end confdefs.h. */
64112 #include <math.h>
64113 int
64114 main ()
64115 {
64116 _powl(0, 0);
64117 ;
64118 return 0;
64119 }
64120 _ACEOF
64121 if ac_fn_cxx_try_compile "$LINENO"; then :
64122 glibcxx_cv_func__powl_use=yes
64123 else
64124 glibcxx_cv_func__powl_use=no
64125 fi
64126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64127 ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132
64133
64134 fi
64135
64136 fi
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64138 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64139
64140 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64141 for ac_func in _powl
64142 do :
64143 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64144 if test "x$ac_cv_func__powl" = x""yes; then :
64145 cat >>confdefs.h <<_ACEOF
64146 #define HAVE__POWL 1
64147 _ACEOF
64148
64149 fi
64150 done
64151
64152 fi
64153 fi
64154
64155
64156
64157
64158
64159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64160 $as_echo_n "checking for sqrtl declaration... " >&6; }
64161 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64162 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64163 $as_echo_n "(cached) " >&6
64164 else
64165
64166
64167 ac_ext=cpp
64168 ac_cpp='$CXXCPP $CPPFLAGS'
64169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64172
64173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64174 /* end confdefs.h. */
64175 #include <math.h>
64176 #ifdef HAVE_IEEEFP_H
64177 #include <ieeefp.h>
64178 #endif
64179
64180 int
64181 main ()
64182 {
64183 sqrtl(0);
64184 ;
64185 return 0;
64186 }
64187 _ACEOF
64188 if ac_fn_cxx_try_compile "$LINENO"; then :
64189 glibcxx_cv_func_sqrtl_use=yes
64190 else
64191 glibcxx_cv_func_sqrtl_use=no
64192 fi
64193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64194 ac_ext=c
64195 ac_cpp='$CPP $CPPFLAGS'
64196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64199
64200
64201 fi
64202
64203 fi
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64205 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64206
64207 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64208 for ac_func in sqrtl
64209 do :
64210 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64211 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64212 cat >>confdefs.h <<_ACEOF
64213 #define HAVE_SQRTL 1
64214 _ACEOF
64215
64216 fi
64217 done
64218
64219 else
64220
64221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64222 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64223 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64224 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64225 $as_echo_n "(cached) " >&6
64226 else
64227
64228
64229 ac_ext=cpp
64230 ac_cpp='$CXXCPP $CPPFLAGS'
64231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64234
64235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64236 /* end confdefs.h. */
64237 #include <math.h>
64238 #ifdef HAVE_IEEEFP_H
64239 #include <ieeefp.h>
64240 #endif
64241
64242 int
64243 main ()
64244 {
64245 _sqrtl(0);
64246 ;
64247 return 0;
64248 }
64249 _ACEOF
64250 if ac_fn_cxx_try_compile "$LINENO"; then :
64251 glibcxx_cv_func__sqrtl_use=yes
64252 else
64253 glibcxx_cv_func__sqrtl_use=no
64254 fi
64255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64256 ac_ext=c
64257 ac_cpp='$CPP $CPPFLAGS'
64258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64261
64262
64263 fi
64264
64265 fi
64266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64267 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64268
64269 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64270 for ac_func in _sqrtl
64271 do :
64272 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64273 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64274 cat >>confdefs.h <<_ACEOF
64275 #define HAVE__SQRTL 1
64276 _ACEOF
64277
64278 fi
64279 done
64280
64281 fi
64282 fi
64283
64284
64285
64286
64287
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64289 $as_echo_n "checking for sincosl declaration... " >&6; }
64290 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64291 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64292 $as_echo_n "(cached) " >&6
64293 else
64294
64295
64296 ac_ext=cpp
64297 ac_cpp='$CXXCPP $CPPFLAGS'
64298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64301
64302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64303 /* end confdefs.h. */
64304 #include <math.h>
64305 int
64306 main ()
64307 {
64308 sincosl(0, 0, 0);
64309 ;
64310 return 0;
64311 }
64312 _ACEOF
64313 if ac_fn_cxx_try_compile "$LINENO"; then :
64314 glibcxx_cv_func_sincosl_use=yes
64315 else
64316 glibcxx_cv_func_sincosl_use=no
64317 fi
64318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64319 ac_ext=c
64320 ac_cpp='$CPP $CPPFLAGS'
64321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64324
64325
64326 fi
64327
64328 fi
64329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64330 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64331
64332 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64333 for ac_func in sincosl
64334 do :
64335 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64336 if test "x$ac_cv_func_sincosl" = x""yes; then :
64337 cat >>confdefs.h <<_ACEOF
64338 #define HAVE_SINCOSL 1
64339 _ACEOF
64340
64341 fi
64342 done
64343
64344 else
64345
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64347 $as_echo_n "checking for _sincosl declaration... " >&6; }
64348 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64349 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64350 $as_echo_n "(cached) " >&6
64351 else
64352
64353
64354 ac_ext=cpp
64355 ac_cpp='$CXXCPP $CPPFLAGS'
64356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64359
64360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64361 /* end confdefs.h. */
64362 #include <math.h>
64363 int
64364 main ()
64365 {
64366 _sincosl(0, 0, 0);
64367 ;
64368 return 0;
64369 }
64370 _ACEOF
64371 if ac_fn_cxx_try_compile "$LINENO"; then :
64372 glibcxx_cv_func__sincosl_use=yes
64373 else
64374 glibcxx_cv_func__sincosl_use=no
64375 fi
64376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64377 ac_ext=c
64378 ac_cpp='$CPP $CPPFLAGS'
64379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64382
64383
64384 fi
64385
64386 fi
64387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64388 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64389
64390 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64391 for ac_func in _sincosl
64392 do :
64393 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64394 if test "x$ac_cv_func__sincosl" = x""yes; then :
64395 cat >>confdefs.h <<_ACEOF
64396 #define HAVE__SINCOSL 1
64397 _ACEOF
64398
64399 fi
64400 done
64401
64402 fi
64403 fi
64404
64405
64406
64407
64408
64409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64410 $as_echo_n "checking for finitel declaration... " >&6; }
64411 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64412 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64413 $as_echo_n "(cached) " >&6
64414 else
64415
64416
64417 ac_ext=cpp
64418 ac_cpp='$CXXCPP $CPPFLAGS'
64419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64422
64423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64424 /* end confdefs.h. */
64425 #include <math.h>
64426 #ifdef HAVE_IEEEFP_H
64427 #include <ieeefp.h>
64428 #endif
64429
64430 int
64431 main ()
64432 {
64433 finitel(0);
64434 ;
64435 return 0;
64436 }
64437 _ACEOF
64438 if ac_fn_cxx_try_compile "$LINENO"; then :
64439 glibcxx_cv_func_finitel_use=yes
64440 else
64441 glibcxx_cv_func_finitel_use=no
64442 fi
64443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64444 ac_ext=c
64445 ac_cpp='$CPP $CPPFLAGS'
64446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64449
64450
64451 fi
64452
64453 fi
64454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64455 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64456
64457 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64458 for ac_func in finitel
64459 do :
64460 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64461 if test "x$ac_cv_func_finitel" = x""yes; then :
64462 cat >>confdefs.h <<_ACEOF
64463 #define HAVE_FINITEL 1
64464 _ACEOF
64465
64466 fi
64467 done
64468
64469 else
64470
64471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64472 $as_echo_n "checking for _finitel declaration... " >&6; }
64473 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64474 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64475 $as_echo_n "(cached) " >&6
64476 else
64477
64478
64479 ac_ext=cpp
64480 ac_cpp='$CXXCPP $CPPFLAGS'
64481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64484
64485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64486 /* end confdefs.h. */
64487 #include <math.h>
64488 #ifdef HAVE_IEEEFP_H
64489 #include <ieeefp.h>
64490 #endif
64491
64492 int
64493 main ()
64494 {
64495 _finitel(0);
64496 ;
64497 return 0;
64498 }
64499 _ACEOF
64500 if ac_fn_cxx_try_compile "$LINENO"; then :
64501 glibcxx_cv_func__finitel_use=yes
64502 else
64503 glibcxx_cv_func__finitel_use=no
64504 fi
64505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64506 ac_ext=c
64507 ac_cpp='$CPP $CPPFLAGS'
64508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64511
64512
64513 fi
64514
64515 fi
64516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64517 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64518
64519 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64520 for ac_func in _finitel
64521 do :
64522 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64523 if test "x$ac_cv_func__finitel" = x""yes; then :
64524 cat >>confdefs.h <<_ACEOF
64525 #define HAVE__FINITEL 1
64526 _ACEOF
64527
64528 fi
64529 done
64530
64531 fi
64532 fi
64533
64534
64535
64536
64537 LIBS="$ac_save_LIBS"
64538 CXXFLAGS="$ac_save_CXXFLAGS"
64539
64540
64541 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64542 ac_save_CXXFLAGS="$CXXFLAGS"
64543 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64544
64545
64546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64547 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64548 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64549 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64550 $as_echo_n "(cached) " >&6
64551 else
64552
64553
64554 ac_ext=cpp
64555 ac_cpp='$CXXCPP $CPPFLAGS'
64556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64559
64560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64561 /* end confdefs.h. */
64562 #include <stdlib.h>
64563 int
64564 main ()
64565 {
64566 at_quick_exit(0);
64567 ;
64568 return 0;
64569 }
64570 _ACEOF
64571 if ac_fn_cxx_try_compile "$LINENO"; then :
64572 glibcxx_cv_func_at_quick_exit_use=yes
64573 else
64574 glibcxx_cv_func_at_quick_exit_use=no
64575 fi
64576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64577 ac_ext=c
64578 ac_cpp='$CPP $CPPFLAGS'
64579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64582
64583
64584 fi
64585
64586 fi
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64588 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64589 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64590 for ac_func in at_quick_exit
64591 do :
64592 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64593 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64594 cat >>confdefs.h <<_ACEOF
64595 #define HAVE_AT_QUICK_EXIT 1
64596 _ACEOF
64597
64598 fi
64599 done
64600
64601 fi
64602
64603
64604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64605 $as_echo_n "checking for quick_exit declaration... " >&6; }
64606 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64607 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64608 $as_echo_n "(cached) " >&6
64609 else
64610
64611
64612 ac_ext=cpp
64613 ac_cpp='$CXXCPP $CPPFLAGS'
64614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64617
64618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64619 /* end confdefs.h. */
64620 #include <stdlib.h>
64621 int
64622 main ()
64623 {
64624 quick_exit(0);
64625 ;
64626 return 0;
64627 }
64628 _ACEOF
64629 if ac_fn_cxx_try_compile "$LINENO"; then :
64630 glibcxx_cv_func_quick_exit_use=yes
64631 else
64632 glibcxx_cv_func_quick_exit_use=no
64633 fi
64634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64635 ac_ext=c
64636 ac_cpp='$CPP $CPPFLAGS'
64637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64640
64641
64642 fi
64643
64644 fi
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64646 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64647 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64648 for ac_func in quick_exit
64649 do :
64650 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64651 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64652 cat >>confdefs.h <<_ACEOF
64653 #define HAVE_QUICK_EXIT 1
64654 _ACEOF
64655
64656 fi
64657 done
64658
64659 fi
64660
64661
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64663 $as_echo_n "checking for strtold declaration... " >&6; }
64664 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64665 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64666 $as_echo_n "(cached) " >&6
64667 else
64668
64669
64670 ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64675
64676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h. */
64678 #include <stdlib.h>
64679 int
64680 main ()
64681 {
64682 strtold(0, 0);
64683 ;
64684 return 0;
64685 }
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688 glibcxx_cv_func_strtold_use=yes
64689 else
64690 glibcxx_cv_func_strtold_use=no
64691 fi
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693 ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64698
64699
64700 fi
64701
64702 fi
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64704 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64705 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64706 for ac_func in strtold
64707 do :
64708 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64709 if test "x$ac_cv_func_strtold" = x""yes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_STRTOLD 1
64712 _ACEOF
64713
64714 fi
64715 done
64716
64717 fi
64718
64719
64720
64721
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64723 $as_echo_n "checking for strtof declaration... " >&6; }
64724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64726 $as_echo_n "(cached) " >&6
64727 else
64728
64729
64730 ac_ext=cpp
64731 ac_cpp='$CXXCPP $CPPFLAGS'
64732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64735
64736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64737 /* end confdefs.h. */
64738 #include <stdlib.h>
64739 int
64740 main ()
64741 {
64742 strtof(0, 0);
64743 ;
64744 return 0;
64745 }
64746 _ACEOF
64747 if ac_fn_cxx_try_compile "$LINENO"; then :
64748 glibcxx_cv_func_strtof_use=yes
64749 else
64750 glibcxx_cv_func_strtof_use=no
64751 fi
64752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64753 ac_ext=c
64754 ac_cpp='$CPP $CPPFLAGS'
64755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64758
64759
64760 fi
64761
64762 fi
64763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64764 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64765 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64766 for ac_func in strtof
64767 do :
64768 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64769 if test "x$ac_cv_func_strtof" = x""yes; then :
64770 cat >>confdefs.h <<_ACEOF
64771 #define HAVE_STRTOF 1
64772 _ACEOF
64773
64774 fi
64775 done
64776
64777 fi
64778
64779
64780
64781
64782 CXXFLAGS="$ac_save_CXXFLAGS"
64783
64784 ;;
64785 *-netbsd*)
64786 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64787
64788
64789 # If we're not using GNU ld, then there's no point in even trying these
64790 # tests. Check for that first. We should have already tested for gld
64791 # by now (in libtool), but require it now just to be safe...
64792 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64793 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64794
64795
64796
64797 # The name set by libtool depends on the version of libtool. Shame on us
64798 # for depending on an impl detail, but c'est la vie. Older versions used
64799 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64800 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64801 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64802 # set (hence we're using an older libtool), then set it.
64803 if test x${with_gnu_ld+set} != xset; then
64804 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64805 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64806 with_gnu_ld=no
64807 else
64808 with_gnu_ld=$ac_cv_prog_gnu_ld
64809 fi
64810 fi
64811
64812 # Start by getting the version number. I think the libtool test already
64813 # does some of this, but throws away the result.
64814 glibcxx_ld_is_gold=no
64815 if test x"$with_gnu_ld" = x"yes"; then
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64817 $as_echo_n "checking for ld version... " >&6; }
64818
64819 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64820 glibcxx_ld_is_gold=yes
64821 fi
64822 ldver=`$LD --version 2>/dev/null |
64823 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'`
64824
64825 glibcxx_gnu_ld_version=`echo $ldver | \
64826 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64828 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64829 fi
64830
64831 # Set --gc-sections.
64832 glibcxx_have_gc_sections=no
64833 if test "$glibcxx_ld_is_gold" = "yes"; then
64834 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64835 glibcxx_have_gc_sections=yes
64836 fi
64837 else
64838 glibcxx_gcsections_min_ld=21602
64839 if test x"$with_gnu_ld" = x"yes" &&
64840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64841 glibcxx_have_gc_sections=yes
64842 fi
64843 fi
64844 if test "$glibcxx_have_gc_sections" = "yes"; then
64845 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64846 # NB: This flag only works reliably after 2.16.1. Configure tests
64847 # for this are difficult, so hard wire a value that should work.
64848
64849 ac_test_CFLAGS="${CFLAGS+set}"
64850 ac_save_CFLAGS="$CFLAGS"
64851 CFLAGS='-Wl,--gc-sections'
64852
64853 # Check for -Wl,--gc-sections
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64855 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64856 if test x$gcc_no_link = xyes; then
64857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64858 fi
64859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64860 /* end confdefs.h. */
64861 int one(void) { return 1; }
64862 int two(void) { return 2; }
64863
64864 int
64865 main ()
64866 {
64867 two();
64868 ;
64869 return 0;
64870 }
64871 _ACEOF
64872 if ac_fn_c_try_link "$LINENO"; then :
64873 ac_gcsections=yes
64874 else
64875 ac_gcsections=no
64876 fi
64877 rm -f core conftest.err conftest.$ac_objext \
64878 conftest$ac_exeext conftest.$ac_ext
64879 if test "$ac_gcsections" = "yes"; then
64880 rm -f conftest.c
64881 touch conftest.c
64882 if $CC -c conftest.c; then
64883 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64884 grep "Warning: gc-sections option ignored" > /dev/null; then
64885 ac_gcsections=no
64886 fi
64887 fi
64888 rm -f conftest.c conftest.o conftest
64889 fi
64890 if test "$ac_gcsections" = "yes"; then
64891 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64892 fi
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64894 $as_echo "$ac_gcsections" >&6; }
64895
64896 if test "$ac_test_CFLAGS" = set; then
64897 CFLAGS="$ac_save_CFLAGS"
64898 else
64899 # this is the suspicious part
64900 CFLAGS=''
64901 fi
64902 fi
64903
64904 # Set -z,relro.
64905 # Note this is only for shared objects.
64906 ac_ld_relro=no
64907 if test x"$with_gnu_ld" = x"yes"; then
64908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64909 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64910 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64911 if test -n "$cxx_z_relo"; then
64912 OPT_LDFLAGS="-Wl,-z,relro"
64913 ac_ld_relro=yes
64914 fi
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64916 $as_echo "$ac_ld_relro" >&6; }
64917 fi
64918
64919 # Set linker optimization flags.
64920 if test x"$with_gnu_ld" = x"yes"; then
64921 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64922 fi
64923
64924
64925
64926
64927 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64928
64929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64930
64931 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64932
64933 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64934
64935 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64936
64937 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64938
64939 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64940
64941 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64942
64943 if test x"long_double_math_on_this_cpu" = x"yes"; then
64944 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64945
64946 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64947
64948 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64949
64950 fi
64951 ;;
64952 *-qnx6.1* | *-qnx6.2*)
64953 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64954
64955
64956 # If we're not using GNU ld, then there's no point in even trying these
64957 # tests. Check for that first. We should have already tested for gld
64958 # by now (in libtool), but require it now just to be safe...
64959 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64960 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64961
64962
64963
64964 # The name set by libtool depends on the version of libtool. Shame on us
64965 # for depending on an impl detail, but c'est la vie. Older versions used
64966 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64967 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64968 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64969 # set (hence we're using an older libtool), then set it.
64970 if test x${with_gnu_ld+set} != xset; then
64971 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64972 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64973 with_gnu_ld=no
64974 else
64975 with_gnu_ld=$ac_cv_prog_gnu_ld
64976 fi
64977 fi
64978
64979 # Start by getting the version number. I think the libtool test already
64980 # does some of this, but throws away the result.
64981 glibcxx_ld_is_gold=no
64982 if test x"$with_gnu_ld" = x"yes"; then
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64984 $as_echo_n "checking for ld version... " >&6; }
64985
64986 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64987 glibcxx_ld_is_gold=yes
64988 fi
64989 ldver=`$LD --version 2>/dev/null |
64990 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'`
64991
64992 glibcxx_gnu_ld_version=`echo $ldver | \
64993 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64995 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64996 fi
64997
64998 # Set --gc-sections.
64999 glibcxx_have_gc_sections=no
65000 if test "$glibcxx_ld_is_gold" = "yes"; then
65001 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65002 glibcxx_have_gc_sections=yes
65003 fi
65004 else
65005 glibcxx_gcsections_min_ld=21602
65006 if test x"$with_gnu_ld" = x"yes" &&
65007 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65008 glibcxx_have_gc_sections=yes
65009 fi
65010 fi
65011 if test "$glibcxx_have_gc_sections" = "yes"; then
65012 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65013 # NB: This flag only works reliably after 2.16.1. Configure tests
65014 # for this are difficult, so hard wire a value that should work.
65015
65016 ac_test_CFLAGS="${CFLAGS+set}"
65017 ac_save_CFLAGS="$CFLAGS"
65018 CFLAGS='-Wl,--gc-sections'
65019
65020 # Check for -Wl,--gc-sections
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65022 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65023 if test x$gcc_no_link = xyes; then
65024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65025 fi
65026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65027 /* end confdefs.h. */
65028 int one(void) { return 1; }
65029 int two(void) { return 2; }
65030
65031 int
65032 main ()
65033 {
65034 two();
65035 ;
65036 return 0;
65037 }
65038 _ACEOF
65039 if ac_fn_c_try_link "$LINENO"; then :
65040 ac_gcsections=yes
65041 else
65042 ac_gcsections=no
65043 fi
65044 rm -f core conftest.err conftest.$ac_objext \
65045 conftest$ac_exeext conftest.$ac_ext
65046 if test "$ac_gcsections" = "yes"; then
65047 rm -f conftest.c
65048 touch conftest.c
65049 if $CC -c conftest.c; then
65050 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65051 grep "Warning: gc-sections option ignored" > /dev/null; then
65052 ac_gcsections=no
65053 fi
65054 fi
65055 rm -f conftest.c conftest.o conftest
65056 fi
65057 if test "$ac_gcsections" = "yes"; then
65058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65059 fi
65060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65061 $as_echo "$ac_gcsections" >&6; }
65062
65063 if test "$ac_test_CFLAGS" = set; then
65064 CFLAGS="$ac_save_CFLAGS"
65065 else
65066 # this is the suspicious part
65067 CFLAGS=''
65068 fi
65069 fi
65070
65071 # Set -z,relro.
65072 # Note this is only for shared objects.
65073 ac_ld_relro=no
65074 if test x"$with_gnu_ld" = x"yes"; then
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65076 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65077 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65078 if test -n "$cxx_z_relo"; then
65079 OPT_LDFLAGS="-Wl,-z,relro"
65080 ac_ld_relro=yes
65081 fi
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65083 $as_echo "$ac_ld_relro" >&6; }
65084 fi
65085
65086 # Set linker optimization flags.
65087 if test x"$with_gnu_ld" = x"yes"; then
65088 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65089 fi
65090
65091
65092
65093
65094 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65095
65096 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65097
65098 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65099
65100 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65101
65102 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65103
65104 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65105
65106 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65107
65108 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65109
65110 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65111
65112 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65113
65114 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65115
65116 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65117
65118 ;;
65119 *-rtems*)
65120
65121 # All these tests are for C++; save the language and the compiler flags.
65122 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65123 # found in GLIBCXX_CONFIGURE.
65124
65125 ac_ext=cpp
65126 ac_cpp='$CXXCPP $CPPFLAGS'
65127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65130
65131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65132 ac_save_CXXFLAGS="$CXXFLAGS"
65133
65134 # Check for maintainer-mode bits.
65135 if test x"$USE_MAINTAINER_MODE" = xno; then
65136 WERROR=''
65137 else
65138 WERROR='-Werror'
65139 fi
65140
65141 # Check for -ffunction-sections -fdata-sections
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65143 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65144 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65146 /* end confdefs.h. */
65147 int foo; void bar() { };
65148 int
65149 main ()
65150 {
65151
65152 ;
65153 return 0;
65154 }
65155 _ACEOF
65156 if ac_fn_cxx_try_compile "$LINENO"; then :
65157 ac_fdsections=yes
65158 else
65159 ac_fdsections=no
65160 fi
65161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65162 if test "$ac_test_CXXFLAGS" = set; then
65163 CXXFLAGS="$ac_save_CXXFLAGS"
65164 else
65165 # this is the suspicious part
65166 CXXFLAGS=''
65167 fi
65168 if test x"$ac_fdsections" = x"yes"; then
65169 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65170 fi
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65172 $as_echo "$ac_fdsections" >&6; }
65173
65174 ac_ext=c
65175 ac_cpp='$CPP $CPPFLAGS'
65176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65179
65180
65181
65182
65183
65184 # If we're not using GNU ld, then there's no point in even trying these
65185 # tests. Check for that first. We should have already tested for gld
65186 # by now (in libtool), but require it now just to be safe...
65187 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65188 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65189
65190
65191
65192 # The name set by libtool depends on the version of libtool. Shame on us
65193 # for depending on an impl detail, but c'est la vie. Older versions used
65194 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65195 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65196 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65197 # set (hence we're using an older libtool), then set it.
65198 if test x${with_gnu_ld+set} != xset; then
65199 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65200 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65201 with_gnu_ld=no
65202 else
65203 with_gnu_ld=$ac_cv_prog_gnu_ld
65204 fi
65205 fi
65206
65207 # Start by getting the version number. I think the libtool test already
65208 # does some of this, but throws away the result.
65209 glibcxx_ld_is_gold=no
65210 if test x"$with_gnu_ld" = x"yes"; then
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65212 $as_echo_n "checking for ld version... " >&6; }
65213
65214 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65215 glibcxx_ld_is_gold=yes
65216 fi
65217 ldver=`$LD --version 2>/dev/null |
65218 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'`
65219
65220 glibcxx_gnu_ld_version=`echo $ldver | \
65221 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65223 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65224 fi
65225
65226 # Set --gc-sections.
65227 glibcxx_have_gc_sections=no
65228 if test "$glibcxx_ld_is_gold" = "yes"; then
65229 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65230 glibcxx_have_gc_sections=yes
65231 fi
65232 else
65233 glibcxx_gcsections_min_ld=21602
65234 if test x"$with_gnu_ld" = x"yes" &&
65235 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65236 glibcxx_have_gc_sections=yes
65237 fi
65238 fi
65239 if test "$glibcxx_have_gc_sections" = "yes"; then
65240 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65241 # NB: This flag only works reliably after 2.16.1. Configure tests
65242 # for this are difficult, so hard wire a value that should work.
65243
65244 ac_test_CFLAGS="${CFLAGS+set}"
65245 ac_save_CFLAGS="$CFLAGS"
65246 CFLAGS='-Wl,--gc-sections'
65247
65248 # Check for -Wl,--gc-sections
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65250 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65251 if test x$gcc_no_link = xyes; then
65252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65253 fi
65254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65255 /* end confdefs.h. */
65256 int one(void) { return 1; }
65257 int two(void) { return 2; }
65258
65259 int
65260 main ()
65261 {
65262 two();
65263 ;
65264 return 0;
65265 }
65266 _ACEOF
65267 if ac_fn_c_try_link "$LINENO"; then :
65268 ac_gcsections=yes
65269 else
65270 ac_gcsections=no
65271 fi
65272 rm -f core conftest.err conftest.$ac_objext \
65273 conftest$ac_exeext conftest.$ac_ext
65274 if test "$ac_gcsections" = "yes"; then
65275 rm -f conftest.c
65276 touch conftest.c
65277 if $CC -c conftest.c; then
65278 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65279 grep "Warning: gc-sections option ignored" > /dev/null; then
65280 ac_gcsections=no
65281 fi
65282 fi
65283 rm -f conftest.c conftest.o conftest
65284 fi
65285 if test "$ac_gcsections" = "yes"; then
65286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65287 fi
65288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65289 $as_echo "$ac_gcsections" >&6; }
65290
65291 if test "$ac_test_CFLAGS" = set; then
65292 CFLAGS="$ac_save_CFLAGS"
65293 else
65294 # this is the suspicious part
65295 CFLAGS=''
65296 fi
65297 fi
65298
65299 # Set -z,relro.
65300 # Note this is only for shared objects.
65301 ac_ld_relro=no
65302 if test x"$with_gnu_ld" = x"yes"; then
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65304 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65305 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65306 if test -n "$cxx_z_relo"; then
65307 OPT_LDFLAGS="-Wl,-z,relro"
65308 ac_ld_relro=yes
65309 fi
65310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65311 $as_echo "$ac_ld_relro" >&6; }
65312 fi
65313
65314 # Set linker optimization flags.
65315 if test x"$with_gnu_ld" = x"yes"; then
65316 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65317 fi
65318
65319
65320
65321
65322
65323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65324 ac_save_CXXFLAGS="$CXXFLAGS"
65325 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65326
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65328 $as_echo_n "checking for sin in -lm... " >&6; }
65329 if test "${ac_cv_lib_m_sin+set}" = set; then :
65330 $as_echo_n "(cached) " >&6
65331 else
65332 ac_check_lib_save_LIBS=$LIBS
65333 LIBS="-lm $LIBS"
65334 if test x$gcc_no_link = xyes; then
65335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65336 fi
65337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65338 /* end confdefs.h. */
65339
65340 /* Override any GCC internal prototype to avoid an error.
65341 Use char because int might match the return type of a GCC
65342 builtin and then its argument prototype would still apply. */
65343 #ifdef __cplusplus
65344 extern "C"
65345 #endif
65346 char sin ();
65347 int
65348 main ()
65349 {
65350 return sin ();
65351 ;
65352 return 0;
65353 }
65354 _ACEOF
65355 if ac_fn_c_try_link "$LINENO"; then :
65356 ac_cv_lib_m_sin=yes
65357 else
65358 ac_cv_lib_m_sin=no
65359 fi
65360 rm -f core conftest.err conftest.$ac_objext \
65361 conftest$ac_exeext conftest.$ac_ext
65362 LIBS=$ac_check_lib_save_LIBS
65363 fi
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65365 $as_echo "$ac_cv_lib_m_sin" >&6; }
65366 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65367 libm="-lm"
65368 fi
65369
65370 ac_save_LIBS="$LIBS"
65371 LIBS="$LIBS $libm"
65372
65373
65374
65375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65376 $as_echo_n "checking for isinf declaration... " >&6; }
65377 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65378 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65379 $as_echo_n "(cached) " >&6
65380 else
65381
65382
65383 ac_ext=cpp
65384 ac_cpp='$CXXCPP $CPPFLAGS'
65385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65388
65389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65390 /* end confdefs.h. */
65391 #include <math.h>
65392 #ifdef HAVE_IEEEFP_H
65393 #include <ieeefp.h>
65394 #endif
65395
65396 int
65397 main ()
65398 {
65399 isinf(0);
65400 ;
65401 return 0;
65402 }
65403 _ACEOF
65404 if ac_fn_cxx_try_compile "$LINENO"; then :
65405 glibcxx_cv_func_isinf_use=yes
65406 else
65407 glibcxx_cv_func_isinf_use=no
65408 fi
65409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65410 ac_ext=c
65411 ac_cpp='$CPP $CPPFLAGS'
65412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65415
65416
65417 fi
65418
65419 fi
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65421 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65422
65423 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65424 for ac_func in isinf
65425 do :
65426 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65427 if test "x$ac_cv_func_isinf" = x""yes; then :
65428 cat >>confdefs.h <<_ACEOF
65429 #define HAVE_ISINF 1
65430 _ACEOF
65431
65432 fi
65433 done
65434
65435 else
65436
65437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65438 $as_echo_n "checking for _isinf declaration... " >&6; }
65439 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65440 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65441 $as_echo_n "(cached) " >&6
65442 else
65443
65444
65445 ac_ext=cpp
65446 ac_cpp='$CXXCPP $CPPFLAGS'
65447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65450
65451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65452 /* end confdefs.h. */
65453 #include <math.h>
65454 #ifdef HAVE_IEEEFP_H
65455 #include <ieeefp.h>
65456 #endif
65457
65458 int
65459 main ()
65460 {
65461 _isinf(0);
65462 ;
65463 return 0;
65464 }
65465 _ACEOF
65466 if ac_fn_cxx_try_compile "$LINENO"; then :
65467 glibcxx_cv_func__isinf_use=yes
65468 else
65469 glibcxx_cv_func__isinf_use=no
65470 fi
65471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65472 ac_ext=c
65473 ac_cpp='$CPP $CPPFLAGS'
65474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65477
65478
65479 fi
65480
65481 fi
65482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65483 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65484
65485 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65486 for ac_func in _isinf
65487 do :
65488 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65489 if test "x$ac_cv_func__isinf" = x""yes; then :
65490 cat >>confdefs.h <<_ACEOF
65491 #define HAVE__ISINF 1
65492 _ACEOF
65493
65494 fi
65495 done
65496
65497 fi
65498 fi
65499
65500
65501
65502
65503
65504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65505 $as_echo_n "checking for isnan declaration... " >&6; }
65506 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65507 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65508 $as_echo_n "(cached) " >&6
65509 else
65510
65511
65512 ac_ext=cpp
65513 ac_cpp='$CXXCPP $CPPFLAGS'
65514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65517
65518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65519 /* end confdefs.h. */
65520 #include <math.h>
65521 #ifdef HAVE_IEEEFP_H
65522 #include <ieeefp.h>
65523 #endif
65524
65525 int
65526 main ()
65527 {
65528 isnan(0);
65529 ;
65530 return 0;
65531 }
65532 _ACEOF
65533 if ac_fn_cxx_try_compile "$LINENO"; then :
65534 glibcxx_cv_func_isnan_use=yes
65535 else
65536 glibcxx_cv_func_isnan_use=no
65537 fi
65538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65539 ac_ext=c
65540 ac_cpp='$CPP $CPPFLAGS'
65541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65544
65545
65546 fi
65547
65548 fi
65549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65550 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65551
65552 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65553 for ac_func in isnan
65554 do :
65555 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65556 if test "x$ac_cv_func_isnan" = x""yes; then :
65557 cat >>confdefs.h <<_ACEOF
65558 #define HAVE_ISNAN 1
65559 _ACEOF
65560
65561 fi
65562 done
65563
65564 else
65565
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65567 $as_echo_n "checking for _isnan declaration... " >&6; }
65568 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65569 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65570 $as_echo_n "(cached) " >&6
65571 else
65572
65573
65574 ac_ext=cpp
65575 ac_cpp='$CXXCPP $CPPFLAGS'
65576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65579
65580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65581 /* end confdefs.h. */
65582 #include <math.h>
65583 #ifdef HAVE_IEEEFP_H
65584 #include <ieeefp.h>
65585 #endif
65586
65587 int
65588 main ()
65589 {
65590 _isnan(0);
65591 ;
65592 return 0;
65593 }
65594 _ACEOF
65595 if ac_fn_cxx_try_compile "$LINENO"; then :
65596 glibcxx_cv_func__isnan_use=yes
65597 else
65598 glibcxx_cv_func__isnan_use=no
65599 fi
65600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65601 ac_ext=c
65602 ac_cpp='$CPP $CPPFLAGS'
65603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65606
65607
65608 fi
65609
65610 fi
65611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65612 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65613
65614 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65615 for ac_func in _isnan
65616 do :
65617 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65618 if test "x$ac_cv_func__isnan" = x""yes; then :
65619 cat >>confdefs.h <<_ACEOF
65620 #define HAVE__ISNAN 1
65621 _ACEOF
65622
65623 fi
65624 done
65625
65626 fi
65627 fi
65628
65629
65630
65631
65632
65633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65634 $as_echo_n "checking for finite declaration... " >&6; }
65635 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65636 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65637 $as_echo_n "(cached) " >&6
65638 else
65639
65640
65641 ac_ext=cpp
65642 ac_cpp='$CXXCPP $CPPFLAGS'
65643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65646
65647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65648 /* end confdefs.h. */
65649 #include <math.h>
65650 #ifdef HAVE_IEEEFP_H
65651 #include <ieeefp.h>
65652 #endif
65653
65654 int
65655 main ()
65656 {
65657 finite(0);
65658 ;
65659 return 0;
65660 }
65661 _ACEOF
65662 if ac_fn_cxx_try_compile "$LINENO"; then :
65663 glibcxx_cv_func_finite_use=yes
65664 else
65665 glibcxx_cv_func_finite_use=no
65666 fi
65667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65668 ac_ext=c
65669 ac_cpp='$CPP $CPPFLAGS'
65670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65673
65674
65675 fi
65676
65677 fi
65678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65679 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65680
65681 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65682 for ac_func in finite
65683 do :
65684 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65685 if test "x$ac_cv_func_finite" = x""yes; then :
65686 cat >>confdefs.h <<_ACEOF
65687 #define HAVE_FINITE 1
65688 _ACEOF
65689
65690 fi
65691 done
65692
65693 else
65694
65695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65696 $as_echo_n "checking for _finite declaration... " >&6; }
65697 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65698 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65699 $as_echo_n "(cached) " >&6
65700 else
65701
65702
65703 ac_ext=cpp
65704 ac_cpp='$CXXCPP $CPPFLAGS'
65705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65708
65709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65710 /* end confdefs.h. */
65711 #include <math.h>
65712 #ifdef HAVE_IEEEFP_H
65713 #include <ieeefp.h>
65714 #endif
65715
65716 int
65717 main ()
65718 {
65719 _finite(0);
65720 ;
65721 return 0;
65722 }
65723 _ACEOF
65724 if ac_fn_cxx_try_compile "$LINENO"; then :
65725 glibcxx_cv_func__finite_use=yes
65726 else
65727 glibcxx_cv_func__finite_use=no
65728 fi
65729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65730 ac_ext=c
65731 ac_cpp='$CPP $CPPFLAGS'
65732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65735
65736
65737 fi
65738
65739 fi
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65741 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65742
65743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65744 for ac_func in _finite
65745 do :
65746 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65747 if test "x$ac_cv_func__finite" = x""yes; then :
65748 cat >>confdefs.h <<_ACEOF
65749 #define HAVE__FINITE 1
65750 _ACEOF
65751
65752 fi
65753 done
65754
65755 fi
65756 fi
65757
65758
65759
65760
65761
65762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65763 $as_echo_n "checking for sincos declaration... " >&6; }
65764 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65765 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65766 $as_echo_n "(cached) " >&6
65767 else
65768
65769
65770 ac_ext=cpp
65771 ac_cpp='$CXXCPP $CPPFLAGS'
65772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65775
65776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65777 /* end confdefs.h. */
65778 #include <math.h>
65779 int
65780 main ()
65781 {
65782 sincos(0, 0, 0);
65783 ;
65784 return 0;
65785 }
65786 _ACEOF
65787 if ac_fn_cxx_try_compile "$LINENO"; then :
65788 glibcxx_cv_func_sincos_use=yes
65789 else
65790 glibcxx_cv_func_sincos_use=no
65791 fi
65792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65793 ac_ext=c
65794 ac_cpp='$CPP $CPPFLAGS'
65795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65798
65799
65800 fi
65801
65802 fi
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65804 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65805
65806 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65807 for ac_func in sincos
65808 do :
65809 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65810 if test "x$ac_cv_func_sincos" = x""yes; then :
65811 cat >>confdefs.h <<_ACEOF
65812 #define HAVE_SINCOS 1
65813 _ACEOF
65814
65815 fi
65816 done
65817
65818 else
65819
65820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65821 $as_echo_n "checking for _sincos declaration... " >&6; }
65822 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65823 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65824 $as_echo_n "(cached) " >&6
65825 else
65826
65827
65828 ac_ext=cpp
65829 ac_cpp='$CXXCPP $CPPFLAGS'
65830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65833
65834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65835 /* end confdefs.h. */
65836 #include <math.h>
65837 int
65838 main ()
65839 {
65840 _sincos(0, 0, 0);
65841 ;
65842 return 0;
65843 }
65844 _ACEOF
65845 if ac_fn_cxx_try_compile "$LINENO"; then :
65846 glibcxx_cv_func__sincos_use=yes
65847 else
65848 glibcxx_cv_func__sincos_use=no
65849 fi
65850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65851 ac_ext=c
65852 ac_cpp='$CPP $CPPFLAGS'
65853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65856
65857
65858 fi
65859
65860 fi
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65862 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65863
65864 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65865 for ac_func in _sincos
65866 do :
65867 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65868 if test "x$ac_cv_func__sincos" = x""yes; then :
65869 cat >>confdefs.h <<_ACEOF
65870 #define HAVE__SINCOS 1
65871 _ACEOF
65872
65873 fi
65874 done
65875
65876 fi
65877 fi
65878
65879
65880
65881
65882
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65884 $as_echo_n "checking for fpclass declaration... " >&6; }
65885 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65886 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65887 $as_echo_n "(cached) " >&6
65888 else
65889
65890
65891 ac_ext=cpp
65892 ac_cpp='$CXXCPP $CPPFLAGS'
65893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65896
65897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65898 /* end confdefs.h. */
65899 #include <math.h>
65900 #ifdef HAVE_IEEEFP_H
65901 #include <ieeefp.h>
65902 #endif
65903
65904 int
65905 main ()
65906 {
65907 fpclass(0);
65908 ;
65909 return 0;
65910 }
65911 _ACEOF
65912 if ac_fn_cxx_try_compile "$LINENO"; then :
65913 glibcxx_cv_func_fpclass_use=yes
65914 else
65915 glibcxx_cv_func_fpclass_use=no
65916 fi
65917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65918 ac_ext=c
65919 ac_cpp='$CPP $CPPFLAGS'
65920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65923
65924
65925 fi
65926
65927 fi
65928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65929 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65930
65931 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65932 for ac_func in fpclass
65933 do :
65934 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65935 if test "x$ac_cv_func_fpclass" = x""yes; then :
65936 cat >>confdefs.h <<_ACEOF
65937 #define HAVE_FPCLASS 1
65938 _ACEOF
65939
65940 fi
65941 done
65942
65943 else
65944
65945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65946 $as_echo_n "checking for _fpclass declaration... " >&6; }
65947 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65948 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65949 $as_echo_n "(cached) " >&6
65950 else
65951
65952
65953 ac_ext=cpp
65954 ac_cpp='$CXXCPP $CPPFLAGS'
65955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65958
65959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65960 /* end confdefs.h. */
65961 #include <math.h>
65962 #ifdef HAVE_IEEEFP_H
65963 #include <ieeefp.h>
65964 #endif
65965
65966 int
65967 main ()
65968 {
65969 _fpclass(0);
65970 ;
65971 return 0;
65972 }
65973 _ACEOF
65974 if ac_fn_cxx_try_compile "$LINENO"; then :
65975 glibcxx_cv_func__fpclass_use=yes
65976 else
65977 glibcxx_cv_func__fpclass_use=no
65978 fi
65979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65980 ac_ext=c
65981 ac_cpp='$CPP $CPPFLAGS'
65982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65985
65986
65987 fi
65988
65989 fi
65990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65991 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65992
65993 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65994 for ac_func in _fpclass
65995 do :
65996 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65997 if test "x$ac_cv_func__fpclass" = x""yes; then :
65998 cat >>confdefs.h <<_ACEOF
65999 #define HAVE__FPCLASS 1
66000 _ACEOF
66001
66002 fi
66003 done
66004
66005 fi
66006 fi
66007
66008
66009
66010
66011
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66013 $as_echo_n "checking for qfpclass declaration... " >&6; }
66014 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66015 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66016 $as_echo_n "(cached) " >&6
66017 else
66018
66019
66020 ac_ext=cpp
66021 ac_cpp='$CXXCPP $CPPFLAGS'
66022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66025
66026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66027 /* end confdefs.h. */
66028 #include <math.h>
66029 #ifdef HAVE_IEEEFP_H
66030 #include <ieeefp.h>
66031 #endif
66032
66033 int
66034 main ()
66035 {
66036 qfpclass(0);
66037 ;
66038 return 0;
66039 }
66040 _ACEOF
66041 if ac_fn_cxx_try_compile "$LINENO"; then :
66042 glibcxx_cv_func_qfpclass_use=yes
66043 else
66044 glibcxx_cv_func_qfpclass_use=no
66045 fi
66046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66047 ac_ext=c
66048 ac_cpp='$CPP $CPPFLAGS'
66049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66052
66053
66054 fi
66055
66056 fi
66057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66058 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66059
66060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66061 for ac_func in qfpclass
66062 do :
66063 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66064 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66065 cat >>confdefs.h <<_ACEOF
66066 #define HAVE_QFPCLASS 1
66067 _ACEOF
66068
66069 fi
66070 done
66071
66072 else
66073
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66075 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66076 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66077 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66078 $as_echo_n "(cached) " >&6
66079 else
66080
66081
66082 ac_ext=cpp
66083 ac_cpp='$CXXCPP $CPPFLAGS'
66084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66087
66088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66089 /* end confdefs.h. */
66090 #include <math.h>
66091 #ifdef HAVE_IEEEFP_H
66092 #include <ieeefp.h>
66093 #endif
66094
66095 int
66096 main ()
66097 {
66098 _qfpclass(0);
66099 ;
66100 return 0;
66101 }
66102 _ACEOF
66103 if ac_fn_cxx_try_compile "$LINENO"; then :
66104 glibcxx_cv_func__qfpclass_use=yes
66105 else
66106 glibcxx_cv_func__qfpclass_use=no
66107 fi
66108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66109 ac_ext=c
66110 ac_cpp='$CPP $CPPFLAGS'
66111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66114
66115
66116 fi
66117
66118 fi
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66120 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66121
66122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66123 for ac_func in _qfpclass
66124 do :
66125 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66126 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66127 cat >>confdefs.h <<_ACEOF
66128 #define HAVE__QFPCLASS 1
66129 _ACEOF
66130
66131 fi
66132 done
66133
66134 fi
66135 fi
66136
66137
66138
66139
66140
66141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66142 $as_echo_n "checking for hypot declaration... " >&6; }
66143 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66144 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66145 $as_echo_n "(cached) " >&6
66146 else
66147
66148
66149 ac_ext=cpp
66150 ac_cpp='$CXXCPP $CPPFLAGS'
66151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66154
66155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66156 /* end confdefs.h. */
66157 #include <math.h>
66158 int
66159 main ()
66160 {
66161 hypot(0, 0);
66162 ;
66163 return 0;
66164 }
66165 _ACEOF
66166 if ac_fn_cxx_try_compile "$LINENO"; then :
66167 glibcxx_cv_func_hypot_use=yes
66168 else
66169 glibcxx_cv_func_hypot_use=no
66170 fi
66171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66172 ac_ext=c
66173 ac_cpp='$CPP $CPPFLAGS'
66174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66177
66178
66179 fi
66180
66181 fi
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66183 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66184
66185 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66186 for ac_func in hypot
66187 do :
66188 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66189 if test "x$ac_cv_func_hypot" = x""yes; then :
66190 cat >>confdefs.h <<_ACEOF
66191 #define HAVE_HYPOT 1
66192 _ACEOF
66193
66194 fi
66195 done
66196
66197 else
66198
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66200 $as_echo_n "checking for _hypot declaration... " >&6; }
66201 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66202 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66203 $as_echo_n "(cached) " >&6
66204 else
66205
66206
66207 ac_ext=cpp
66208 ac_cpp='$CXXCPP $CPPFLAGS'
66209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66212
66213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66214 /* end confdefs.h. */
66215 #include <math.h>
66216 int
66217 main ()
66218 {
66219 _hypot(0, 0);
66220 ;
66221 return 0;
66222 }
66223 _ACEOF
66224 if ac_fn_cxx_try_compile "$LINENO"; then :
66225 glibcxx_cv_func__hypot_use=yes
66226 else
66227 glibcxx_cv_func__hypot_use=no
66228 fi
66229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66230 ac_ext=c
66231 ac_cpp='$CPP $CPPFLAGS'
66232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66235
66236
66237 fi
66238
66239 fi
66240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66241 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66242
66243 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66244 for ac_func in _hypot
66245 do :
66246 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66247 if test "x$ac_cv_func__hypot" = x""yes; then :
66248 cat >>confdefs.h <<_ACEOF
66249 #define HAVE__HYPOT 1
66250 _ACEOF
66251
66252 fi
66253 done
66254
66255 fi
66256 fi
66257
66258
66259
66260
66261
66262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66263 $as_echo_n "checking for float trig functions... " >&6; }
66264 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66265 $as_echo_n "(cached) " >&6
66266 else
66267
66268
66269 ac_ext=cpp
66270 ac_cpp='$CXXCPP $CPPFLAGS'
66271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66274
66275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66276 /* end confdefs.h. */
66277 #include <math.h>
66278 int
66279 main ()
66280 {
66281 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66282 ;
66283 return 0;
66284 }
66285 _ACEOF
66286 if ac_fn_cxx_try_compile "$LINENO"; then :
66287 glibcxx_cv_func_float_trig_use=yes
66288 else
66289 glibcxx_cv_func_float_trig_use=no
66290 fi
66291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66292 ac_ext=c
66293 ac_cpp='$CPP $CPPFLAGS'
66294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66297
66298 fi
66299
66300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66301 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66302 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66303 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66304 do :
66305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66307 eval as_val=\$$as_ac_var
66308 if test "x$as_val" = x""yes; then :
66309 cat >>confdefs.h <<_ACEOF
66310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66311 _ACEOF
66312
66313 fi
66314 done
66315
66316 else
66317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66318 $as_echo_n "checking for _float trig functions... " >&6; }
66319 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66320 $as_echo_n "(cached) " >&6
66321 else
66322
66323
66324 ac_ext=cpp
66325 ac_cpp='$CXXCPP $CPPFLAGS'
66326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66329
66330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66331 /* end confdefs.h. */
66332 #include <math.h>
66333 int
66334 main ()
66335 {
66336 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66337 ;
66338 return 0;
66339 }
66340 _ACEOF
66341 if ac_fn_cxx_try_compile "$LINENO"; then :
66342 glibcxx_cv_func__float_trig_use=yes
66343 else
66344 glibcxx_cv_func__float_trig_use=no
66345 fi
66346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66347 ac_ext=c
66348 ac_cpp='$CPP $CPPFLAGS'
66349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66352
66353 fi
66354
66355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66356 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66357 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66358 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66359 do :
66360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66362 eval as_val=\$$as_ac_var
66363 if test "x$as_val" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66366 _ACEOF
66367
66368 fi
66369 done
66370
66371 fi
66372 fi
66373
66374
66375
66376
66377
66378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66379 $as_echo_n "checking for float round functions... " >&6; }
66380 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66381 $as_echo_n "(cached) " >&6
66382 else
66383
66384
66385 ac_ext=cpp
66386 ac_cpp='$CXXCPP $CPPFLAGS'
66387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66390
66391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66392 /* end confdefs.h. */
66393 #include <math.h>
66394 int
66395 main ()
66396 {
66397 ceilf (0); floorf (0);
66398 ;
66399 return 0;
66400 }
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func_float_round_use=yes
66404 else
66405 glibcxx_cv_func_float_round_use=no
66406 fi
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66413
66414 fi
66415
66416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66417 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66418 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66419 for ac_func in ceilf floorf
66420 do :
66421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66423 eval as_val=\$$as_ac_var
66424 if test "x$as_val" = x""yes; then :
66425 cat >>confdefs.h <<_ACEOF
66426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66427 _ACEOF
66428
66429 fi
66430 done
66431
66432 else
66433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66434 $as_echo_n "checking for _float round functions... " >&6; }
66435 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66436 $as_echo_n "(cached) " >&6
66437 else
66438
66439
66440 ac_ext=cpp
66441 ac_cpp='$CXXCPP $CPPFLAGS'
66442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445
66446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66447 /* end confdefs.h. */
66448 #include <math.h>
66449 int
66450 main ()
66451 {
66452 _ceilf (0); _floorf (0);
66453 ;
66454 return 0;
66455 }
66456 _ACEOF
66457 if ac_fn_cxx_try_compile "$LINENO"; then :
66458 glibcxx_cv_func__float_round_use=yes
66459 else
66460 glibcxx_cv_func__float_round_use=no
66461 fi
66462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66463 ac_ext=c
66464 ac_cpp='$CPP $CPPFLAGS'
66465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66468
66469 fi
66470
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66472 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66473 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66474 for ac_func in _ceilf _floorf
66475 do :
66476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66478 eval as_val=\$$as_ac_var
66479 if test "x$as_val" = x""yes; then :
66480 cat >>confdefs.h <<_ACEOF
66481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66482 _ACEOF
66483
66484 fi
66485 done
66486
66487 fi
66488 fi
66489
66490
66491
66492
66493
66494
66495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66496 $as_echo_n "checking for expf declaration... " >&6; }
66497 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66498 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66499 $as_echo_n "(cached) " >&6
66500 else
66501
66502
66503 ac_ext=cpp
66504 ac_cpp='$CXXCPP $CPPFLAGS'
66505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66508
66509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66510 /* end confdefs.h. */
66511 #include <math.h>
66512 #ifdef HAVE_IEEEFP_H
66513 #include <ieeefp.h>
66514 #endif
66515
66516 int
66517 main ()
66518 {
66519 expf(0);
66520 ;
66521 return 0;
66522 }
66523 _ACEOF
66524 if ac_fn_cxx_try_compile "$LINENO"; then :
66525 glibcxx_cv_func_expf_use=yes
66526 else
66527 glibcxx_cv_func_expf_use=no
66528 fi
66529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66530 ac_ext=c
66531 ac_cpp='$CPP $CPPFLAGS'
66532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66535
66536
66537 fi
66538
66539 fi
66540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66541 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66542
66543 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66544 for ac_func in expf
66545 do :
66546 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66547 if test "x$ac_cv_func_expf" = x""yes; then :
66548 cat >>confdefs.h <<_ACEOF
66549 #define HAVE_EXPF 1
66550 _ACEOF
66551
66552 fi
66553 done
66554
66555 else
66556
66557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66558 $as_echo_n "checking for _expf declaration... " >&6; }
66559 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66560 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66561 $as_echo_n "(cached) " >&6
66562 else
66563
66564
66565 ac_ext=cpp
66566 ac_cpp='$CXXCPP $CPPFLAGS'
66567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66570
66571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66572 /* end confdefs.h. */
66573 #include <math.h>
66574 #ifdef HAVE_IEEEFP_H
66575 #include <ieeefp.h>
66576 #endif
66577
66578 int
66579 main ()
66580 {
66581 _expf(0);
66582 ;
66583 return 0;
66584 }
66585 _ACEOF
66586 if ac_fn_cxx_try_compile "$LINENO"; then :
66587 glibcxx_cv_func__expf_use=yes
66588 else
66589 glibcxx_cv_func__expf_use=no
66590 fi
66591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66592 ac_ext=c
66593 ac_cpp='$CPP $CPPFLAGS'
66594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66597
66598
66599 fi
66600
66601 fi
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66603 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66604
66605 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66606 for ac_func in _expf
66607 do :
66608 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66609 if test "x$ac_cv_func__expf" = x""yes; then :
66610 cat >>confdefs.h <<_ACEOF
66611 #define HAVE__EXPF 1
66612 _ACEOF
66613
66614 fi
66615 done
66616
66617 fi
66618 fi
66619
66620
66621
66622
66623
66624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66625 $as_echo_n "checking for isnanf declaration... " >&6; }
66626 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66627 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66628 $as_echo_n "(cached) " >&6
66629 else
66630
66631
66632 ac_ext=cpp
66633 ac_cpp='$CXXCPP $CPPFLAGS'
66634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66637
66638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66639 /* end confdefs.h. */
66640 #include <math.h>
66641 #ifdef HAVE_IEEEFP_H
66642 #include <ieeefp.h>
66643 #endif
66644
66645 int
66646 main ()
66647 {
66648 isnanf(0);
66649 ;
66650 return 0;
66651 }
66652 _ACEOF
66653 if ac_fn_cxx_try_compile "$LINENO"; then :
66654 glibcxx_cv_func_isnanf_use=yes
66655 else
66656 glibcxx_cv_func_isnanf_use=no
66657 fi
66658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66659 ac_ext=c
66660 ac_cpp='$CPP $CPPFLAGS'
66661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66664
66665
66666 fi
66667
66668 fi
66669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66670 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66671
66672 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66673 for ac_func in isnanf
66674 do :
66675 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66676 if test "x$ac_cv_func_isnanf" = x""yes; then :
66677 cat >>confdefs.h <<_ACEOF
66678 #define HAVE_ISNANF 1
66679 _ACEOF
66680
66681 fi
66682 done
66683
66684 else
66685
66686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66687 $as_echo_n "checking for _isnanf declaration... " >&6; }
66688 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66689 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66690 $as_echo_n "(cached) " >&6
66691 else
66692
66693
66694 ac_ext=cpp
66695 ac_cpp='$CXXCPP $CPPFLAGS'
66696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66699
66700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66701 /* end confdefs.h. */
66702 #include <math.h>
66703 #ifdef HAVE_IEEEFP_H
66704 #include <ieeefp.h>
66705 #endif
66706
66707 int
66708 main ()
66709 {
66710 _isnanf(0);
66711 ;
66712 return 0;
66713 }
66714 _ACEOF
66715 if ac_fn_cxx_try_compile "$LINENO"; then :
66716 glibcxx_cv_func__isnanf_use=yes
66717 else
66718 glibcxx_cv_func__isnanf_use=no
66719 fi
66720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66721 ac_ext=c
66722 ac_cpp='$CPP $CPPFLAGS'
66723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66726
66727
66728 fi
66729
66730 fi
66731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66732 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66733
66734 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66735 for ac_func in _isnanf
66736 do :
66737 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66738 if test "x$ac_cv_func__isnanf" = x""yes; then :
66739 cat >>confdefs.h <<_ACEOF
66740 #define HAVE__ISNANF 1
66741 _ACEOF
66742
66743 fi
66744 done
66745
66746 fi
66747 fi
66748
66749
66750
66751
66752
66753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66754 $as_echo_n "checking for isinff declaration... " >&6; }
66755 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66756 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66757 $as_echo_n "(cached) " >&6
66758 else
66759
66760
66761 ac_ext=cpp
66762 ac_cpp='$CXXCPP $CPPFLAGS'
66763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66766
66767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66768 /* end confdefs.h. */
66769 #include <math.h>
66770 #ifdef HAVE_IEEEFP_H
66771 #include <ieeefp.h>
66772 #endif
66773
66774 int
66775 main ()
66776 {
66777 isinff(0);
66778 ;
66779 return 0;
66780 }
66781 _ACEOF
66782 if ac_fn_cxx_try_compile "$LINENO"; then :
66783 glibcxx_cv_func_isinff_use=yes
66784 else
66785 glibcxx_cv_func_isinff_use=no
66786 fi
66787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66788 ac_ext=c
66789 ac_cpp='$CPP $CPPFLAGS'
66790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66793
66794
66795 fi
66796
66797 fi
66798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66799 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66800
66801 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66802 for ac_func in isinff
66803 do :
66804 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66805 if test "x$ac_cv_func_isinff" = x""yes; then :
66806 cat >>confdefs.h <<_ACEOF
66807 #define HAVE_ISINFF 1
66808 _ACEOF
66809
66810 fi
66811 done
66812
66813 else
66814
66815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66816 $as_echo_n "checking for _isinff declaration... " >&6; }
66817 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66818 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66819 $as_echo_n "(cached) " >&6
66820 else
66821
66822
66823 ac_ext=cpp
66824 ac_cpp='$CXXCPP $CPPFLAGS'
66825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66828
66829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66830 /* end confdefs.h. */
66831 #include <math.h>
66832 #ifdef HAVE_IEEEFP_H
66833 #include <ieeefp.h>
66834 #endif
66835
66836 int
66837 main ()
66838 {
66839 _isinff(0);
66840 ;
66841 return 0;
66842 }
66843 _ACEOF
66844 if ac_fn_cxx_try_compile "$LINENO"; then :
66845 glibcxx_cv_func__isinff_use=yes
66846 else
66847 glibcxx_cv_func__isinff_use=no
66848 fi
66849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66850 ac_ext=c
66851 ac_cpp='$CPP $CPPFLAGS'
66852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66855
66856
66857 fi
66858
66859 fi
66860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66861 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66862
66863 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66864 for ac_func in _isinff
66865 do :
66866 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66867 if test "x$ac_cv_func__isinff" = x""yes; then :
66868 cat >>confdefs.h <<_ACEOF
66869 #define HAVE__ISINFF 1
66870 _ACEOF
66871
66872 fi
66873 done
66874
66875 fi
66876 fi
66877
66878
66879
66880
66881
66882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66883 $as_echo_n "checking for atan2f declaration... " >&6; }
66884 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66885 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66886 $as_echo_n "(cached) " >&6
66887 else
66888
66889
66890 ac_ext=cpp
66891 ac_cpp='$CXXCPP $CPPFLAGS'
66892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66895
66896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66897 /* end confdefs.h. */
66898 #include <math.h>
66899 int
66900 main ()
66901 {
66902 atan2f(0, 0);
66903 ;
66904 return 0;
66905 }
66906 _ACEOF
66907 if ac_fn_cxx_try_compile "$LINENO"; then :
66908 glibcxx_cv_func_atan2f_use=yes
66909 else
66910 glibcxx_cv_func_atan2f_use=no
66911 fi
66912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66913 ac_ext=c
66914 ac_cpp='$CPP $CPPFLAGS'
66915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66918
66919
66920 fi
66921
66922 fi
66923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66924 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66925
66926 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66927 for ac_func in atan2f
66928 do :
66929 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66930 if test "x$ac_cv_func_atan2f" = x""yes; then :
66931 cat >>confdefs.h <<_ACEOF
66932 #define HAVE_ATAN2F 1
66933 _ACEOF
66934
66935 fi
66936 done
66937
66938 else
66939
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66941 $as_echo_n "checking for _atan2f declaration... " >&6; }
66942 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66943 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66944 $as_echo_n "(cached) " >&6
66945 else
66946
66947
66948 ac_ext=cpp
66949 ac_cpp='$CXXCPP $CPPFLAGS'
66950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66953
66954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66955 /* end confdefs.h. */
66956 #include <math.h>
66957 int
66958 main ()
66959 {
66960 _atan2f(0, 0);
66961 ;
66962 return 0;
66963 }
66964 _ACEOF
66965 if ac_fn_cxx_try_compile "$LINENO"; then :
66966 glibcxx_cv_func__atan2f_use=yes
66967 else
66968 glibcxx_cv_func__atan2f_use=no
66969 fi
66970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66971 ac_ext=c
66972 ac_cpp='$CPP $CPPFLAGS'
66973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66976
66977
66978 fi
66979
66980 fi
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66982 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66983
66984 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66985 for ac_func in _atan2f
66986 do :
66987 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66988 if test "x$ac_cv_func__atan2f" = x""yes; then :
66989 cat >>confdefs.h <<_ACEOF
66990 #define HAVE__ATAN2F 1
66991 _ACEOF
66992
66993 fi
66994 done
66995
66996 fi
66997 fi
66998
66999
67000
67001
67002
67003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67004 $as_echo_n "checking for fabsf declaration... " >&6; }
67005 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67006 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67007 $as_echo_n "(cached) " >&6
67008 else
67009
67010
67011 ac_ext=cpp
67012 ac_cpp='$CXXCPP $CPPFLAGS'
67013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67016
67017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67018 /* end confdefs.h. */
67019 #include <math.h>
67020 #ifdef HAVE_IEEEFP_H
67021 #include <ieeefp.h>
67022 #endif
67023
67024 int
67025 main ()
67026 {
67027 fabsf(0);
67028 ;
67029 return 0;
67030 }
67031 _ACEOF
67032 if ac_fn_cxx_try_compile "$LINENO"; then :
67033 glibcxx_cv_func_fabsf_use=yes
67034 else
67035 glibcxx_cv_func_fabsf_use=no
67036 fi
67037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67038 ac_ext=c
67039 ac_cpp='$CPP $CPPFLAGS'
67040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67043
67044
67045 fi
67046
67047 fi
67048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67049 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67050
67051 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67052 for ac_func in fabsf
67053 do :
67054 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67055 if test "x$ac_cv_func_fabsf" = x""yes; then :
67056 cat >>confdefs.h <<_ACEOF
67057 #define HAVE_FABSF 1
67058 _ACEOF
67059
67060 fi
67061 done
67062
67063 else
67064
67065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67066 $as_echo_n "checking for _fabsf declaration... " >&6; }
67067 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67068 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67069 $as_echo_n "(cached) " >&6
67070 else
67071
67072
67073 ac_ext=cpp
67074 ac_cpp='$CXXCPP $CPPFLAGS'
67075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67078
67079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67080 /* end confdefs.h. */
67081 #include <math.h>
67082 #ifdef HAVE_IEEEFP_H
67083 #include <ieeefp.h>
67084 #endif
67085
67086 int
67087 main ()
67088 {
67089 _fabsf(0);
67090 ;
67091 return 0;
67092 }
67093 _ACEOF
67094 if ac_fn_cxx_try_compile "$LINENO"; then :
67095 glibcxx_cv_func__fabsf_use=yes
67096 else
67097 glibcxx_cv_func__fabsf_use=no
67098 fi
67099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67100 ac_ext=c
67101 ac_cpp='$CPP $CPPFLAGS'
67102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67105
67106
67107 fi
67108
67109 fi
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67111 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67112
67113 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67114 for ac_func in _fabsf
67115 do :
67116 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67117 if test "x$ac_cv_func__fabsf" = x""yes; then :
67118 cat >>confdefs.h <<_ACEOF
67119 #define HAVE__FABSF 1
67120 _ACEOF
67121
67122 fi
67123 done
67124
67125 fi
67126 fi
67127
67128
67129
67130
67131
67132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67133 $as_echo_n "checking for fmodf declaration... " >&6; }
67134 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67135 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67136 $as_echo_n "(cached) " >&6
67137 else
67138
67139
67140 ac_ext=cpp
67141 ac_cpp='$CXXCPP $CPPFLAGS'
67142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67145
67146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67147 /* end confdefs.h. */
67148 #include <math.h>
67149 int
67150 main ()
67151 {
67152 fmodf(0, 0);
67153 ;
67154 return 0;
67155 }
67156 _ACEOF
67157 if ac_fn_cxx_try_compile "$LINENO"; then :
67158 glibcxx_cv_func_fmodf_use=yes
67159 else
67160 glibcxx_cv_func_fmodf_use=no
67161 fi
67162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67163 ac_ext=c
67164 ac_cpp='$CPP $CPPFLAGS'
67165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67168
67169
67170 fi
67171
67172 fi
67173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67174 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67175
67176 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67177 for ac_func in fmodf
67178 do :
67179 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67180 if test "x$ac_cv_func_fmodf" = x""yes; then :
67181 cat >>confdefs.h <<_ACEOF
67182 #define HAVE_FMODF 1
67183 _ACEOF
67184
67185 fi
67186 done
67187
67188 else
67189
67190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67191 $as_echo_n "checking for _fmodf declaration... " >&6; }
67192 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67193 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67194 $as_echo_n "(cached) " >&6
67195 else
67196
67197
67198 ac_ext=cpp
67199 ac_cpp='$CXXCPP $CPPFLAGS'
67200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67203
67204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67205 /* end confdefs.h. */
67206 #include <math.h>
67207 int
67208 main ()
67209 {
67210 _fmodf(0, 0);
67211 ;
67212 return 0;
67213 }
67214 _ACEOF
67215 if ac_fn_cxx_try_compile "$LINENO"; then :
67216 glibcxx_cv_func__fmodf_use=yes
67217 else
67218 glibcxx_cv_func__fmodf_use=no
67219 fi
67220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67226
67227
67228 fi
67229
67230 fi
67231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67232 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67233
67234 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67235 for ac_func in _fmodf
67236 do :
67237 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67238 if test "x$ac_cv_func__fmodf" = x""yes; then :
67239 cat >>confdefs.h <<_ACEOF
67240 #define HAVE__FMODF 1
67241 _ACEOF
67242
67243 fi
67244 done
67245
67246 fi
67247 fi
67248
67249
67250
67251
67252
67253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67254 $as_echo_n "checking for frexpf declaration... " >&6; }
67255 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67256 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67257 $as_echo_n "(cached) " >&6
67258 else
67259
67260
67261 ac_ext=cpp
67262 ac_cpp='$CXXCPP $CPPFLAGS'
67263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67266
67267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67268 /* end confdefs.h. */
67269 #include <math.h>
67270 int
67271 main ()
67272 {
67273 frexpf(0, 0);
67274 ;
67275 return 0;
67276 }
67277 _ACEOF
67278 if ac_fn_cxx_try_compile "$LINENO"; then :
67279 glibcxx_cv_func_frexpf_use=yes
67280 else
67281 glibcxx_cv_func_frexpf_use=no
67282 fi
67283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67284 ac_ext=c
67285 ac_cpp='$CPP $CPPFLAGS'
67286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67289
67290
67291 fi
67292
67293 fi
67294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67295 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67296
67297 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67298 for ac_func in frexpf
67299 do :
67300 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67301 if test "x$ac_cv_func_frexpf" = x""yes; then :
67302 cat >>confdefs.h <<_ACEOF
67303 #define HAVE_FREXPF 1
67304 _ACEOF
67305
67306 fi
67307 done
67308
67309 else
67310
67311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67312 $as_echo_n "checking for _frexpf declaration... " >&6; }
67313 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67314 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67315 $as_echo_n "(cached) " >&6
67316 else
67317
67318
67319 ac_ext=cpp
67320 ac_cpp='$CXXCPP $CPPFLAGS'
67321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67324
67325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67326 /* end confdefs.h. */
67327 #include <math.h>
67328 int
67329 main ()
67330 {
67331 _frexpf(0, 0);
67332 ;
67333 return 0;
67334 }
67335 _ACEOF
67336 if ac_fn_cxx_try_compile "$LINENO"; then :
67337 glibcxx_cv_func__frexpf_use=yes
67338 else
67339 glibcxx_cv_func__frexpf_use=no
67340 fi
67341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67342 ac_ext=c
67343 ac_cpp='$CPP $CPPFLAGS'
67344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67347
67348
67349 fi
67350
67351 fi
67352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67353 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67354
67355 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67356 for ac_func in _frexpf
67357 do :
67358 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67359 if test "x$ac_cv_func__frexpf" = x""yes; then :
67360 cat >>confdefs.h <<_ACEOF
67361 #define HAVE__FREXPF 1
67362 _ACEOF
67363
67364 fi
67365 done
67366
67367 fi
67368 fi
67369
67370
67371
67372
67373
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67375 $as_echo_n "checking for hypotf declaration... " >&6; }
67376 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67377 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67378 $as_echo_n "(cached) " >&6
67379 else
67380
67381
67382 ac_ext=cpp
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67387
67388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67389 /* end confdefs.h. */
67390 #include <math.h>
67391 int
67392 main ()
67393 {
67394 hypotf(0, 0);
67395 ;
67396 return 0;
67397 }
67398 _ACEOF
67399 if ac_fn_cxx_try_compile "$LINENO"; then :
67400 glibcxx_cv_func_hypotf_use=yes
67401 else
67402 glibcxx_cv_func_hypotf_use=no
67403 fi
67404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67405 ac_ext=c
67406 ac_cpp='$CPP $CPPFLAGS'
67407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67410
67411
67412 fi
67413
67414 fi
67415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67416 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67417
67418 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67419 for ac_func in hypotf
67420 do :
67421 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67422 if test "x$ac_cv_func_hypotf" = x""yes; then :
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE_HYPOTF 1
67425 _ACEOF
67426
67427 fi
67428 done
67429
67430 else
67431
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67433 $as_echo_n "checking for _hypotf declaration... " >&6; }
67434 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67435 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67438
67439
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67445
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67449 int
67450 main ()
67451 {
67452 _hypotf(0, 0);
67453 ;
67454 return 0;
67455 }
67456 _ACEOF
67457 if ac_fn_cxx_try_compile "$LINENO"; then :
67458 glibcxx_cv_func__hypotf_use=yes
67459 else
67460 glibcxx_cv_func__hypotf_use=no
67461 fi
67462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 ac_ext=c
67464 ac_cpp='$CPP $CPPFLAGS'
67465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468
67469
67470 fi
67471
67472 fi
67473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67474 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67475
67476 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67477 for ac_func in _hypotf
67478 do :
67479 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67480 if test "x$ac_cv_func__hypotf" = x""yes; then :
67481 cat >>confdefs.h <<_ACEOF
67482 #define HAVE__HYPOTF 1
67483 _ACEOF
67484
67485 fi
67486 done
67487
67488 fi
67489 fi
67490
67491
67492
67493
67494
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67496 $as_echo_n "checking for ldexpf declaration... " >&6; }
67497 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67498 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67499 $as_echo_n "(cached) " >&6
67500 else
67501
67502
67503 ac_ext=cpp
67504 ac_cpp='$CXXCPP $CPPFLAGS'
67505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67508
67509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67510 /* end confdefs.h. */
67511 #include <math.h>
67512 int
67513 main ()
67514 {
67515 ldexpf(0, 0);
67516 ;
67517 return 0;
67518 }
67519 _ACEOF
67520 if ac_fn_cxx_try_compile "$LINENO"; then :
67521 glibcxx_cv_func_ldexpf_use=yes
67522 else
67523 glibcxx_cv_func_ldexpf_use=no
67524 fi
67525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67526 ac_ext=c
67527 ac_cpp='$CPP $CPPFLAGS'
67528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67531
67532
67533 fi
67534
67535 fi
67536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67537 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67538
67539 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67540 for ac_func in ldexpf
67541 do :
67542 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67543 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67544 cat >>confdefs.h <<_ACEOF
67545 #define HAVE_LDEXPF 1
67546 _ACEOF
67547
67548 fi
67549 done
67550
67551 else
67552
67553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67554 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67555 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67556 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67557 $as_echo_n "(cached) " >&6
67558 else
67559
67560
67561 ac_ext=cpp
67562 ac_cpp='$CXXCPP $CPPFLAGS'
67563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67566
67567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67568 /* end confdefs.h. */
67569 #include <math.h>
67570 int
67571 main ()
67572 {
67573 _ldexpf(0, 0);
67574 ;
67575 return 0;
67576 }
67577 _ACEOF
67578 if ac_fn_cxx_try_compile "$LINENO"; then :
67579 glibcxx_cv_func__ldexpf_use=yes
67580 else
67581 glibcxx_cv_func__ldexpf_use=no
67582 fi
67583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67584 ac_ext=c
67585 ac_cpp='$CPP $CPPFLAGS'
67586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67589
67590
67591 fi
67592
67593 fi
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67595 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67596
67597 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67598 for ac_func in _ldexpf
67599 do :
67600 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67601 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67602 cat >>confdefs.h <<_ACEOF
67603 #define HAVE__LDEXPF 1
67604 _ACEOF
67605
67606 fi
67607 done
67608
67609 fi
67610 fi
67611
67612
67613
67614
67615
67616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67617 $as_echo_n "checking for logf declaration... " >&6; }
67618 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67619 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67620 $as_echo_n "(cached) " >&6
67621 else
67622
67623
67624 ac_ext=cpp
67625 ac_cpp='$CXXCPP $CPPFLAGS'
67626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67629
67630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67631 /* end confdefs.h. */
67632 #include <math.h>
67633 #ifdef HAVE_IEEEFP_H
67634 #include <ieeefp.h>
67635 #endif
67636
67637 int
67638 main ()
67639 {
67640 logf(0);
67641 ;
67642 return 0;
67643 }
67644 _ACEOF
67645 if ac_fn_cxx_try_compile "$LINENO"; then :
67646 glibcxx_cv_func_logf_use=yes
67647 else
67648 glibcxx_cv_func_logf_use=no
67649 fi
67650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67651 ac_ext=c
67652 ac_cpp='$CPP $CPPFLAGS'
67653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67656
67657
67658 fi
67659
67660 fi
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67662 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67663
67664 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67665 for ac_func in logf
67666 do :
67667 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67668 if test "x$ac_cv_func_logf" = x""yes; then :
67669 cat >>confdefs.h <<_ACEOF
67670 #define HAVE_LOGF 1
67671 _ACEOF
67672
67673 fi
67674 done
67675
67676 else
67677
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67679 $as_echo_n "checking for _logf declaration... " >&6; }
67680 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67681 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67682 $as_echo_n "(cached) " >&6
67683 else
67684
67685
67686 ac_ext=cpp
67687 ac_cpp='$CXXCPP $CPPFLAGS'
67688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67691
67692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67693 /* end confdefs.h. */
67694 #include <math.h>
67695 #ifdef HAVE_IEEEFP_H
67696 #include <ieeefp.h>
67697 #endif
67698
67699 int
67700 main ()
67701 {
67702 _logf(0);
67703 ;
67704 return 0;
67705 }
67706 _ACEOF
67707 if ac_fn_cxx_try_compile "$LINENO"; then :
67708 glibcxx_cv_func__logf_use=yes
67709 else
67710 glibcxx_cv_func__logf_use=no
67711 fi
67712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67713 ac_ext=c
67714 ac_cpp='$CPP $CPPFLAGS'
67715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67718
67719
67720 fi
67721
67722 fi
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67724 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67725
67726 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67727 for ac_func in _logf
67728 do :
67729 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67730 if test "x$ac_cv_func__logf" = x""yes; then :
67731 cat >>confdefs.h <<_ACEOF
67732 #define HAVE__LOGF 1
67733 _ACEOF
67734
67735 fi
67736 done
67737
67738 fi
67739 fi
67740
67741
67742
67743
67744
67745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67746 $as_echo_n "checking for log10f declaration... " >&6; }
67747 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67748 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67749 $as_echo_n "(cached) " >&6
67750 else
67751
67752
67753 ac_ext=cpp
67754 ac_cpp='$CXXCPP $CPPFLAGS'
67755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67758
67759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67760 /* end confdefs.h. */
67761 #include <math.h>
67762 #ifdef HAVE_IEEEFP_H
67763 #include <ieeefp.h>
67764 #endif
67765
67766 int
67767 main ()
67768 {
67769 log10f(0);
67770 ;
67771 return 0;
67772 }
67773 _ACEOF
67774 if ac_fn_cxx_try_compile "$LINENO"; then :
67775 glibcxx_cv_func_log10f_use=yes
67776 else
67777 glibcxx_cv_func_log10f_use=no
67778 fi
67779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67780 ac_ext=c
67781 ac_cpp='$CPP $CPPFLAGS'
67782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67785
67786
67787 fi
67788
67789 fi
67790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67791 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67792
67793 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67794 for ac_func in log10f
67795 do :
67796 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67797 if test "x$ac_cv_func_log10f" = x""yes; then :
67798 cat >>confdefs.h <<_ACEOF
67799 #define HAVE_LOG10F 1
67800 _ACEOF
67801
67802 fi
67803 done
67804
67805 else
67806
67807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67808 $as_echo_n "checking for _log10f declaration... " >&6; }
67809 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67810 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67811 $as_echo_n "(cached) " >&6
67812 else
67813
67814
67815 ac_ext=cpp
67816 ac_cpp='$CXXCPP $CPPFLAGS'
67817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67820
67821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67822 /* end confdefs.h. */
67823 #include <math.h>
67824 #ifdef HAVE_IEEEFP_H
67825 #include <ieeefp.h>
67826 #endif
67827
67828 int
67829 main ()
67830 {
67831 _log10f(0);
67832 ;
67833 return 0;
67834 }
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func__log10f_use=yes
67838 else
67839 glibcxx_cv_func__log10f_use=no
67840 fi
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67847
67848
67849 fi
67850
67851 fi
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67853 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67854
67855 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67856 for ac_func in _log10f
67857 do :
67858 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67859 if test "x$ac_cv_func__log10f" = x""yes; then :
67860 cat >>confdefs.h <<_ACEOF
67861 #define HAVE__LOG10F 1
67862 _ACEOF
67863
67864 fi
67865 done
67866
67867 fi
67868 fi
67869
67870
67871
67872
67873
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67875 $as_echo_n "checking for modff declaration... " >&6; }
67876 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67877 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67878 $as_echo_n "(cached) " >&6
67879 else
67880
67881
67882 ac_ext=cpp
67883 ac_cpp='$CXXCPP $CPPFLAGS'
67884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67887
67888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67889 /* end confdefs.h. */
67890 #include <math.h>
67891 int
67892 main ()
67893 {
67894 modff(0, 0);
67895 ;
67896 return 0;
67897 }
67898 _ACEOF
67899 if ac_fn_cxx_try_compile "$LINENO"; then :
67900 glibcxx_cv_func_modff_use=yes
67901 else
67902 glibcxx_cv_func_modff_use=no
67903 fi
67904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67905 ac_ext=c
67906 ac_cpp='$CPP $CPPFLAGS'
67907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67910
67911
67912 fi
67913
67914 fi
67915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67916 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67917
67918 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67919 for ac_func in modff
67920 do :
67921 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67922 if test "x$ac_cv_func_modff" = x""yes; then :
67923 cat >>confdefs.h <<_ACEOF
67924 #define HAVE_MODFF 1
67925 _ACEOF
67926
67927 fi
67928 done
67929
67930 else
67931
67932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67933 $as_echo_n "checking for _modff declaration... " >&6; }
67934 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67935 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67936 $as_echo_n "(cached) " >&6
67937 else
67938
67939
67940 ac_ext=cpp
67941 ac_cpp='$CXXCPP $CPPFLAGS'
67942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67945
67946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67947 /* end confdefs.h. */
67948 #include <math.h>
67949 int
67950 main ()
67951 {
67952 _modff(0, 0);
67953 ;
67954 return 0;
67955 }
67956 _ACEOF
67957 if ac_fn_cxx_try_compile "$LINENO"; then :
67958 glibcxx_cv_func__modff_use=yes
67959 else
67960 glibcxx_cv_func__modff_use=no
67961 fi
67962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67963 ac_ext=c
67964 ac_cpp='$CPP $CPPFLAGS'
67965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67968
67969
67970 fi
67971
67972 fi
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67974 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67975
67976 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67977 for ac_func in _modff
67978 do :
67979 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67980 if test "x$ac_cv_func__modff" = x""yes; then :
67981 cat >>confdefs.h <<_ACEOF
67982 #define HAVE__MODFF 1
67983 _ACEOF
67984
67985 fi
67986 done
67987
67988 fi
67989 fi
67990
67991
67992
67993
67994
67995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67996 $as_echo_n "checking for modf declaration... " >&6; }
67997 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67998 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67999 $as_echo_n "(cached) " >&6
68000 else
68001
68002
68003 ac_ext=cpp
68004 ac_cpp='$CXXCPP $CPPFLAGS'
68005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68008
68009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68010 /* end confdefs.h. */
68011 #include <math.h>
68012 int
68013 main ()
68014 {
68015 modf(0, 0);
68016 ;
68017 return 0;
68018 }
68019 _ACEOF
68020 if ac_fn_cxx_try_compile "$LINENO"; then :
68021 glibcxx_cv_func_modf_use=yes
68022 else
68023 glibcxx_cv_func_modf_use=no
68024 fi
68025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68026 ac_ext=c
68027 ac_cpp='$CPP $CPPFLAGS'
68028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68031
68032
68033 fi
68034
68035 fi
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68037 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68038
68039 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68040 for ac_func in modf
68041 do :
68042 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68043 if test "x$ac_cv_func_modf" = x""yes; then :
68044 cat >>confdefs.h <<_ACEOF
68045 #define HAVE_MODF 1
68046 _ACEOF
68047
68048 fi
68049 done
68050
68051 else
68052
68053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68054 $as_echo_n "checking for _modf declaration... " >&6; }
68055 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68056 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68057 $as_echo_n "(cached) " >&6
68058 else
68059
68060
68061 ac_ext=cpp
68062 ac_cpp='$CXXCPP $CPPFLAGS'
68063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68066
68067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68068 /* end confdefs.h. */
68069 #include <math.h>
68070 int
68071 main ()
68072 {
68073 _modf(0, 0);
68074 ;
68075 return 0;
68076 }
68077 _ACEOF
68078 if ac_fn_cxx_try_compile "$LINENO"; then :
68079 glibcxx_cv_func__modf_use=yes
68080 else
68081 glibcxx_cv_func__modf_use=no
68082 fi
68083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68084 ac_ext=c
68085 ac_cpp='$CPP $CPPFLAGS'
68086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089
68090
68091 fi
68092
68093 fi
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68095 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68096
68097 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68098 for ac_func in _modf
68099 do :
68100 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68101 if test "x$ac_cv_func__modf" = x""yes; then :
68102 cat >>confdefs.h <<_ACEOF
68103 #define HAVE__MODF 1
68104 _ACEOF
68105
68106 fi
68107 done
68108
68109 fi
68110 fi
68111
68112
68113
68114
68115
68116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68117 $as_echo_n "checking for powf declaration... " >&6; }
68118 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68119 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68120 $as_echo_n "(cached) " >&6
68121 else
68122
68123
68124 ac_ext=cpp
68125 ac_cpp='$CXXCPP $CPPFLAGS'
68126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68129
68130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68131 /* end confdefs.h. */
68132 #include <math.h>
68133 int
68134 main ()
68135 {
68136 powf(0, 0);
68137 ;
68138 return 0;
68139 }
68140 _ACEOF
68141 if ac_fn_cxx_try_compile "$LINENO"; then :
68142 glibcxx_cv_func_powf_use=yes
68143 else
68144 glibcxx_cv_func_powf_use=no
68145 fi
68146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68147 ac_ext=c
68148 ac_cpp='$CPP $CPPFLAGS'
68149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68152
68153
68154 fi
68155
68156 fi
68157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68158 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68159
68160 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68161 for ac_func in powf
68162 do :
68163 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68164 if test "x$ac_cv_func_powf" = x""yes; then :
68165 cat >>confdefs.h <<_ACEOF
68166 #define HAVE_POWF 1
68167 _ACEOF
68168
68169 fi
68170 done
68171
68172 else
68173
68174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68175 $as_echo_n "checking for _powf declaration... " >&6; }
68176 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68177 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68178 $as_echo_n "(cached) " >&6
68179 else
68180
68181
68182 ac_ext=cpp
68183 ac_cpp='$CXXCPP $CPPFLAGS'
68184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68187
68188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68189 /* end confdefs.h. */
68190 #include <math.h>
68191 int
68192 main ()
68193 {
68194 _powf(0, 0);
68195 ;
68196 return 0;
68197 }
68198 _ACEOF
68199 if ac_fn_cxx_try_compile "$LINENO"; then :
68200 glibcxx_cv_func__powf_use=yes
68201 else
68202 glibcxx_cv_func__powf_use=no
68203 fi
68204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68205 ac_ext=c
68206 ac_cpp='$CPP $CPPFLAGS'
68207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68210
68211
68212 fi
68213
68214 fi
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68216 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68217
68218 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68219 for ac_func in _powf
68220 do :
68221 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68222 if test "x$ac_cv_func__powf" = x""yes; then :
68223 cat >>confdefs.h <<_ACEOF
68224 #define HAVE__POWF 1
68225 _ACEOF
68226
68227 fi
68228 done
68229
68230 fi
68231 fi
68232
68233
68234
68235
68236
68237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68238 $as_echo_n "checking for sqrtf declaration... " >&6; }
68239 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68240 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68241 $as_echo_n "(cached) " >&6
68242 else
68243
68244
68245 ac_ext=cpp
68246 ac_cpp='$CXXCPP $CPPFLAGS'
68247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68250
68251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68252 /* end confdefs.h. */
68253 #include <math.h>
68254 #ifdef HAVE_IEEEFP_H
68255 #include <ieeefp.h>
68256 #endif
68257
68258 int
68259 main ()
68260 {
68261 sqrtf(0);
68262 ;
68263 return 0;
68264 }
68265 _ACEOF
68266 if ac_fn_cxx_try_compile "$LINENO"; then :
68267 glibcxx_cv_func_sqrtf_use=yes
68268 else
68269 glibcxx_cv_func_sqrtf_use=no
68270 fi
68271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68272 ac_ext=c
68273 ac_cpp='$CPP $CPPFLAGS'
68274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68277
68278
68279 fi
68280
68281 fi
68282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68283 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68284
68285 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68286 for ac_func in sqrtf
68287 do :
68288 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68289 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68290 cat >>confdefs.h <<_ACEOF
68291 #define HAVE_SQRTF 1
68292 _ACEOF
68293
68294 fi
68295 done
68296
68297 else
68298
68299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68300 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68301 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68302 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68303 $as_echo_n "(cached) " >&6
68304 else
68305
68306
68307 ac_ext=cpp
68308 ac_cpp='$CXXCPP $CPPFLAGS'
68309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68312
68313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68314 /* end confdefs.h. */
68315 #include <math.h>
68316 #ifdef HAVE_IEEEFP_H
68317 #include <ieeefp.h>
68318 #endif
68319
68320 int
68321 main ()
68322 {
68323 _sqrtf(0);
68324 ;
68325 return 0;
68326 }
68327 _ACEOF
68328 if ac_fn_cxx_try_compile "$LINENO"; then :
68329 glibcxx_cv_func__sqrtf_use=yes
68330 else
68331 glibcxx_cv_func__sqrtf_use=no
68332 fi
68333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68334 ac_ext=c
68335 ac_cpp='$CPP $CPPFLAGS'
68336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68339
68340
68341 fi
68342
68343 fi
68344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68345 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68346
68347 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68348 for ac_func in _sqrtf
68349 do :
68350 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68351 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68352 cat >>confdefs.h <<_ACEOF
68353 #define HAVE__SQRTF 1
68354 _ACEOF
68355
68356 fi
68357 done
68358
68359 fi
68360 fi
68361
68362
68363
68364
68365
68366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68367 $as_echo_n "checking for sincosf declaration... " >&6; }
68368 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68369 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68370 $as_echo_n "(cached) " >&6
68371 else
68372
68373
68374 ac_ext=cpp
68375 ac_cpp='$CXXCPP $CPPFLAGS'
68376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68379
68380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68381 /* end confdefs.h. */
68382 #include <math.h>
68383 int
68384 main ()
68385 {
68386 sincosf(0, 0, 0);
68387 ;
68388 return 0;
68389 }
68390 _ACEOF
68391 if ac_fn_cxx_try_compile "$LINENO"; then :
68392 glibcxx_cv_func_sincosf_use=yes
68393 else
68394 glibcxx_cv_func_sincosf_use=no
68395 fi
68396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68397 ac_ext=c
68398 ac_cpp='$CPP $CPPFLAGS'
68399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68402
68403
68404 fi
68405
68406 fi
68407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68408 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68409
68410 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68411 for ac_func in sincosf
68412 do :
68413 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68414 if test "x$ac_cv_func_sincosf" = x""yes; then :
68415 cat >>confdefs.h <<_ACEOF
68416 #define HAVE_SINCOSF 1
68417 _ACEOF
68418
68419 fi
68420 done
68421
68422 else
68423
68424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68425 $as_echo_n "checking for _sincosf declaration... " >&6; }
68426 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68427 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68430
68431
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68437
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <math.h>
68441 int
68442 main ()
68443 {
68444 _sincosf(0, 0, 0);
68445 ;
68446 return 0;
68447 }
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func__sincosf_use=yes
68451 else
68452 glibcxx_cv_func__sincosf_use=no
68453 fi
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68460
68461
68462 fi
68463
68464 fi
68465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68466 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68467
68468 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68469 for ac_func in _sincosf
68470 do :
68471 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68472 if test "x$ac_cv_func__sincosf" = x""yes; then :
68473 cat >>confdefs.h <<_ACEOF
68474 #define HAVE__SINCOSF 1
68475 _ACEOF
68476
68477 fi
68478 done
68479
68480 fi
68481 fi
68482
68483
68484
68485
68486
68487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68488 $as_echo_n "checking for finitef declaration... " >&6; }
68489 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68490 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68491 $as_echo_n "(cached) " >&6
68492 else
68493
68494
68495 ac_ext=cpp
68496 ac_cpp='$CXXCPP $CPPFLAGS'
68497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68500
68501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68502 /* end confdefs.h. */
68503 #include <math.h>
68504 #ifdef HAVE_IEEEFP_H
68505 #include <ieeefp.h>
68506 #endif
68507
68508 int
68509 main ()
68510 {
68511 finitef(0);
68512 ;
68513 return 0;
68514 }
68515 _ACEOF
68516 if ac_fn_cxx_try_compile "$LINENO"; then :
68517 glibcxx_cv_func_finitef_use=yes
68518 else
68519 glibcxx_cv_func_finitef_use=no
68520 fi
68521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68522 ac_ext=c
68523 ac_cpp='$CPP $CPPFLAGS'
68524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68527
68528
68529 fi
68530
68531 fi
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68533 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68534
68535 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68536 for ac_func in finitef
68537 do :
68538 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68539 if test "x$ac_cv_func_finitef" = x""yes; then :
68540 cat >>confdefs.h <<_ACEOF
68541 #define HAVE_FINITEF 1
68542 _ACEOF
68543
68544 fi
68545 done
68546
68547 else
68548
68549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68550 $as_echo_n "checking for _finitef declaration... " >&6; }
68551 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68552 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68553 $as_echo_n "(cached) " >&6
68554 else
68555
68556
68557 ac_ext=cpp
68558 ac_cpp='$CXXCPP $CPPFLAGS'
68559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68562
68563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68564 /* end confdefs.h. */
68565 #include <math.h>
68566 #ifdef HAVE_IEEEFP_H
68567 #include <ieeefp.h>
68568 #endif
68569
68570 int
68571 main ()
68572 {
68573 _finitef(0);
68574 ;
68575 return 0;
68576 }
68577 _ACEOF
68578 if ac_fn_cxx_try_compile "$LINENO"; then :
68579 glibcxx_cv_func__finitef_use=yes
68580 else
68581 glibcxx_cv_func__finitef_use=no
68582 fi
68583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68589
68590
68591 fi
68592
68593 fi
68594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68595 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68596
68597 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68598 for ac_func in _finitef
68599 do :
68600 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68601 if test "x$ac_cv_func__finitef" = x""yes; then :
68602 cat >>confdefs.h <<_ACEOF
68603 #define HAVE__FINITEF 1
68604 _ACEOF
68605
68606 fi
68607 done
68608
68609 fi
68610 fi
68611
68612
68613
68614
68615
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68617 $as_echo_n "checking for long double trig functions... " >&6; }
68618 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68619 $as_echo_n "(cached) " >&6
68620 else
68621
68622
68623 ac_ext=cpp
68624 ac_cpp='$CXXCPP $CPPFLAGS'
68625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68628
68629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68630 /* end confdefs.h. */
68631 #include <math.h>
68632 int
68633 main ()
68634 {
68635 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68636 ;
68637 return 0;
68638 }
68639 _ACEOF
68640 if ac_fn_cxx_try_compile "$LINENO"; then :
68641 glibcxx_cv_func_long_double_trig_use=yes
68642 else
68643 glibcxx_cv_func_long_double_trig_use=no
68644 fi
68645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68646 ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68651
68652 fi
68653
68654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68655 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68656 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68657 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68658 do :
68659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68661 eval as_val=\$$as_ac_var
68662 if test "x$as_val" = x""yes; then :
68663 cat >>confdefs.h <<_ACEOF
68664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68665 _ACEOF
68666
68667 fi
68668 done
68669
68670 else
68671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68672 $as_echo_n "checking for _long double trig functions... " >&6; }
68673 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68674 $as_echo_n "(cached) " >&6
68675 else
68676
68677
68678 ac_ext=cpp
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68683
68684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68685 /* end confdefs.h. */
68686 #include <math.h>
68687 int
68688 main ()
68689 {
68690 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68691 ;
68692 return 0;
68693 }
68694 _ACEOF
68695 if ac_fn_cxx_try_compile "$LINENO"; then :
68696 glibcxx_cv_func__long_double_trig_use=yes
68697 else
68698 glibcxx_cv_func__long_double_trig_use=no
68699 fi
68700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68701 ac_ext=c
68702 ac_cpp='$CPP $CPPFLAGS'
68703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68706
68707 fi
68708
68709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68710 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68711 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68712 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68713 do :
68714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68716 eval as_val=\$$as_ac_var
68717 if test "x$as_val" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68720 _ACEOF
68721
68722 fi
68723 done
68724
68725 fi
68726 fi
68727
68728
68729
68730
68731
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68733 $as_echo_n "checking for long double round functions... " >&6; }
68734 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68735 $as_echo_n "(cached) " >&6
68736 else
68737
68738
68739 ac_ext=cpp
68740 ac_cpp='$CXXCPP $CPPFLAGS'
68741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68744
68745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68746 /* end confdefs.h. */
68747 #include <math.h>
68748 int
68749 main ()
68750 {
68751 ceill (0); floorl (0);
68752 ;
68753 return 0;
68754 }
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func_long_double_round_use=yes
68758 else
68759 glibcxx_cv_func_long_double_round_use=no
68760 fi
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767
68768 fi
68769
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68771 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68772 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68773 for ac_func in ceill floorl
68774 do :
68775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68777 eval as_val=\$$as_ac_var
68778 if test "x$as_val" = x""yes; then :
68779 cat >>confdefs.h <<_ACEOF
68780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68781 _ACEOF
68782
68783 fi
68784 done
68785
68786 else
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68788 $as_echo_n "checking for _long double round functions... " >&6; }
68789 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68792
68793
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68803 int
68804 main ()
68805 {
68806 _ceill (0); _floorl (0);
68807 ;
68808 return 0;
68809 }
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func__long_double_round_use=yes
68813 else
68814 glibcxx_cv_func__long_double_round_use=no
68815 fi
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68822
68823 fi
68824
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68826 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68827 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68828 for ac_func in _ceill _floorl
68829 do :
68830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68832 eval as_val=\$$as_ac_var
68833 if test "x$as_val" = x""yes; then :
68834 cat >>confdefs.h <<_ACEOF
68835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68837
68838 fi
68839 done
68840
68841 fi
68842 fi
68843
68844
68845
68846
68847
68848
68849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68850 $as_echo_n "checking for isnanl declaration... " >&6; }
68851 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68852 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68853 $as_echo_n "(cached) " >&6
68854 else
68855
68856
68857 ac_ext=cpp
68858 ac_cpp='$CXXCPP $CPPFLAGS'
68859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68862
68863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68864 /* end confdefs.h. */
68865 #include <math.h>
68866 #ifdef HAVE_IEEEFP_H
68867 #include <ieeefp.h>
68868 #endif
68869
68870 int
68871 main ()
68872 {
68873 isnanl(0);
68874 ;
68875 return 0;
68876 }
68877 _ACEOF
68878 if ac_fn_cxx_try_compile "$LINENO"; then :
68879 glibcxx_cv_func_isnanl_use=yes
68880 else
68881 glibcxx_cv_func_isnanl_use=no
68882 fi
68883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68884 ac_ext=c
68885 ac_cpp='$CPP $CPPFLAGS'
68886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68889
68890
68891 fi
68892
68893 fi
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68895 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68896
68897 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68898 for ac_func in isnanl
68899 do :
68900 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68901 if test "x$ac_cv_func_isnanl" = x""yes; then :
68902 cat >>confdefs.h <<_ACEOF
68903 #define HAVE_ISNANL 1
68904 _ACEOF
68905
68906 fi
68907 done
68908
68909 else
68910
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68912 $as_echo_n "checking for _isnanl declaration... " >&6; }
68913 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68914 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68915 $as_echo_n "(cached) " >&6
68916 else
68917
68918
68919 ac_ext=cpp
68920 ac_cpp='$CXXCPP $CPPFLAGS'
68921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68924
68925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68926 /* end confdefs.h. */
68927 #include <math.h>
68928 #ifdef HAVE_IEEEFP_H
68929 #include <ieeefp.h>
68930 #endif
68931
68932 int
68933 main ()
68934 {
68935 _isnanl(0);
68936 ;
68937 return 0;
68938 }
68939 _ACEOF
68940 if ac_fn_cxx_try_compile "$LINENO"; then :
68941 glibcxx_cv_func__isnanl_use=yes
68942 else
68943 glibcxx_cv_func__isnanl_use=no
68944 fi
68945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68946 ac_ext=c
68947 ac_cpp='$CPP $CPPFLAGS'
68948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68951
68952
68953 fi
68954
68955 fi
68956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68957 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68958
68959 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68960 for ac_func in _isnanl
68961 do :
68962 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68963 if test "x$ac_cv_func__isnanl" = x""yes; then :
68964 cat >>confdefs.h <<_ACEOF
68965 #define HAVE__ISNANL 1
68966 _ACEOF
68967
68968 fi
68969 done
68970
68971 fi
68972 fi
68973
68974
68975
68976
68977
68978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68979 $as_echo_n "checking for isinfl declaration... " >&6; }
68980 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68981 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68982 $as_echo_n "(cached) " >&6
68983 else
68984
68985
68986 ac_ext=cpp
68987 ac_cpp='$CXXCPP $CPPFLAGS'
68988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68991
68992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68993 /* end confdefs.h. */
68994 #include <math.h>
68995 #ifdef HAVE_IEEEFP_H
68996 #include <ieeefp.h>
68997 #endif
68998
68999 int
69000 main ()
69001 {
69002 isinfl(0);
69003 ;
69004 return 0;
69005 }
69006 _ACEOF
69007 if ac_fn_cxx_try_compile "$LINENO"; then :
69008 glibcxx_cv_func_isinfl_use=yes
69009 else
69010 glibcxx_cv_func_isinfl_use=no
69011 fi
69012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69018
69019
69020 fi
69021
69022 fi
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69024 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69025
69026 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69027 for ac_func in isinfl
69028 do :
69029 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69030 if test "x$ac_cv_func_isinfl" = x""yes; then :
69031 cat >>confdefs.h <<_ACEOF
69032 #define HAVE_ISINFL 1
69033 _ACEOF
69034
69035 fi
69036 done
69037
69038 else
69039
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69041 $as_echo_n "checking for _isinfl declaration... " >&6; }
69042 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69043 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69046
69047
69048 ac_ext=cpp
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69053
69054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69055 /* end confdefs.h. */
69056 #include <math.h>
69057 #ifdef HAVE_IEEEFP_H
69058 #include <ieeefp.h>
69059 #endif
69060
69061 int
69062 main ()
69063 {
69064 _isinfl(0);
69065 ;
69066 return 0;
69067 }
69068 _ACEOF
69069 if ac_fn_cxx_try_compile "$LINENO"; then :
69070 glibcxx_cv_func__isinfl_use=yes
69071 else
69072 glibcxx_cv_func__isinfl_use=no
69073 fi
69074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69075 ac_ext=c
69076 ac_cpp='$CPP $CPPFLAGS'
69077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69080
69081
69082 fi
69083
69084 fi
69085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69086 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69087
69088 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69089 for ac_func in _isinfl
69090 do :
69091 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69092 if test "x$ac_cv_func__isinfl" = x""yes; then :
69093 cat >>confdefs.h <<_ACEOF
69094 #define HAVE__ISINFL 1
69095 _ACEOF
69096
69097 fi
69098 done
69099
69100 fi
69101 fi
69102
69103
69104
69105
69106
69107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69108 $as_echo_n "checking for atan2l declaration... " >&6; }
69109 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69110 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69111 $as_echo_n "(cached) " >&6
69112 else
69113
69114
69115 ac_ext=cpp
69116 ac_cpp='$CXXCPP $CPPFLAGS'
69117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69120
69121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69122 /* end confdefs.h. */
69123 #include <math.h>
69124 int
69125 main ()
69126 {
69127 atan2l(0, 0);
69128 ;
69129 return 0;
69130 }
69131 _ACEOF
69132 if ac_fn_cxx_try_compile "$LINENO"; then :
69133 glibcxx_cv_func_atan2l_use=yes
69134 else
69135 glibcxx_cv_func_atan2l_use=no
69136 fi
69137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69138 ac_ext=c
69139 ac_cpp='$CPP $CPPFLAGS'
69140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69143
69144
69145 fi
69146
69147 fi
69148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69149 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69150
69151 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69152 for ac_func in atan2l
69153 do :
69154 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69155 if test "x$ac_cv_func_atan2l" = x""yes; then :
69156 cat >>confdefs.h <<_ACEOF
69157 #define HAVE_ATAN2L 1
69158 _ACEOF
69159
69160 fi
69161 done
69162
69163 else
69164
69165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69166 $as_echo_n "checking for _atan2l declaration... " >&6; }
69167 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69168 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69169 $as_echo_n "(cached) " >&6
69170 else
69171
69172
69173 ac_ext=cpp
69174 ac_cpp='$CXXCPP $CPPFLAGS'
69175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69178
69179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69180 /* end confdefs.h. */
69181 #include <math.h>
69182 int
69183 main ()
69184 {
69185 _atan2l(0, 0);
69186 ;
69187 return 0;
69188 }
69189 _ACEOF
69190 if ac_fn_cxx_try_compile "$LINENO"; then :
69191 glibcxx_cv_func__atan2l_use=yes
69192 else
69193 glibcxx_cv_func__atan2l_use=no
69194 fi
69195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69196 ac_ext=c
69197 ac_cpp='$CPP $CPPFLAGS'
69198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69201
69202
69203 fi
69204
69205 fi
69206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69207 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69208
69209 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69210 for ac_func in _atan2l
69211 do :
69212 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69213 if test "x$ac_cv_func__atan2l" = x""yes; then :
69214 cat >>confdefs.h <<_ACEOF
69215 #define HAVE__ATAN2L 1
69216 _ACEOF
69217
69218 fi
69219 done
69220
69221 fi
69222 fi
69223
69224
69225
69226
69227
69228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69229 $as_echo_n "checking for expl declaration... " >&6; }
69230 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69231 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69232 $as_echo_n "(cached) " >&6
69233 else
69234
69235
69236 ac_ext=cpp
69237 ac_cpp='$CXXCPP $CPPFLAGS'
69238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69241
69242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69243 /* end confdefs.h. */
69244 #include <math.h>
69245 #ifdef HAVE_IEEEFP_H
69246 #include <ieeefp.h>
69247 #endif
69248
69249 int
69250 main ()
69251 {
69252 expl(0);
69253 ;
69254 return 0;
69255 }
69256 _ACEOF
69257 if ac_fn_cxx_try_compile "$LINENO"; then :
69258 glibcxx_cv_func_expl_use=yes
69259 else
69260 glibcxx_cv_func_expl_use=no
69261 fi
69262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69263 ac_ext=c
69264 ac_cpp='$CPP $CPPFLAGS'
69265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69268
69269
69270 fi
69271
69272 fi
69273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69274 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69275
69276 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69277 for ac_func in expl
69278 do :
69279 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69280 if test "x$ac_cv_func_expl" = x""yes; then :
69281 cat >>confdefs.h <<_ACEOF
69282 #define HAVE_EXPL 1
69283 _ACEOF
69284
69285 fi
69286 done
69287
69288 else
69289
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69291 $as_echo_n "checking for _expl declaration... " >&6; }
69292 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69293 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69294 $as_echo_n "(cached) " >&6
69295 else
69296
69297
69298 ac_ext=cpp
69299 ac_cpp='$CXXCPP $CPPFLAGS'
69300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69303
69304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69305 /* end confdefs.h. */
69306 #include <math.h>
69307 #ifdef HAVE_IEEEFP_H
69308 #include <ieeefp.h>
69309 #endif
69310
69311 int
69312 main ()
69313 {
69314 _expl(0);
69315 ;
69316 return 0;
69317 }
69318 _ACEOF
69319 if ac_fn_cxx_try_compile "$LINENO"; then :
69320 glibcxx_cv_func__expl_use=yes
69321 else
69322 glibcxx_cv_func__expl_use=no
69323 fi
69324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69325 ac_ext=c
69326 ac_cpp='$CPP $CPPFLAGS'
69327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69330
69331
69332 fi
69333
69334 fi
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69336 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69337
69338 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69339 for ac_func in _expl
69340 do :
69341 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69342 if test "x$ac_cv_func__expl" = x""yes; then :
69343 cat >>confdefs.h <<_ACEOF
69344 #define HAVE__EXPL 1
69345 _ACEOF
69346
69347 fi
69348 done
69349
69350 fi
69351 fi
69352
69353
69354
69355
69356
69357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69358 $as_echo_n "checking for fabsl declaration... " >&6; }
69359 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69360 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69361 $as_echo_n "(cached) " >&6
69362 else
69363
69364
69365 ac_ext=cpp
69366 ac_cpp='$CXXCPP $CPPFLAGS'
69367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69370
69371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69372 /* end confdefs.h. */
69373 #include <math.h>
69374 #ifdef HAVE_IEEEFP_H
69375 #include <ieeefp.h>
69376 #endif
69377
69378 int
69379 main ()
69380 {
69381 fabsl(0);
69382 ;
69383 return 0;
69384 }
69385 _ACEOF
69386 if ac_fn_cxx_try_compile "$LINENO"; then :
69387 glibcxx_cv_func_fabsl_use=yes
69388 else
69389 glibcxx_cv_func_fabsl_use=no
69390 fi
69391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69392 ac_ext=c
69393 ac_cpp='$CPP $CPPFLAGS'
69394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69397
69398
69399 fi
69400
69401 fi
69402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69403 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69404
69405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69406 for ac_func in fabsl
69407 do :
69408 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69409 if test "x$ac_cv_func_fabsl" = x""yes; then :
69410 cat >>confdefs.h <<_ACEOF
69411 #define HAVE_FABSL 1
69412 _ACEOF
69413
69414 fi
69415 done
69416
69417 else
69418
69419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69420 $as_echo_n "checking for _fabsl declaration... " >&6; }
69421 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69422 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69423 $as_echo_n "(cached) " >&6
69424 else
69425
69426
69427 ac_ext=cpp
69428 ac_cpp='$CXXCPP $CPPFLAGS'
69429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69432
69433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69434 /* end confdefs.h. */
69435 #include <math.h>
69436 #ifdef HAVE_IEEEFP_H
69437 #include <ieeefp.h>
69438 #endif
69439
69440 int
69441 main ()
69442 {
69443 _fabsl(0);
69444 ;
69445 return 0;
69446 }
69447 _ACEOF
69448 if ac_fn_cxx_try_compile "$LINENO"; then :
69449 glibcxx_cv_func__fabsl_use=yes
69450 else
69451 glibcxx_cv_func__fabsl_use=no
69452 fi
69453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69454 ac_ext=c
69455 ac_cpp='$CPP $CPPFLAGS'
69456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69459
69460
69461 fi
69462
69463 fi
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69465 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69466
69467 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69468 for ac_func in _fabsl
69469 do :
69470 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69471 if test "x$ac_cv_func__fabsl" = x""yes; then :
69472 cat >>confdefs.h <<_ACEOF
69473 #define HAVE__FABSL 1
69474 _ACEOF
69475
69476 fi
69477 done
69478
69479 fi
69480 fi
69481
69482
69483
69484
69485
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69487 $as_echo_n "checking for fmodl declaration... " >&6; }
69488 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69489 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69490 $as_echo_n "(cached) " >&6
69491 else
69492
69493
69494 ac_ext=cpp
69495 ac_cpp='$CXXCPP $CPPFLAGS'
69496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69499
69500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69501 /* end confdefs.h. */
69502 #include <math.h>
69503 int
69504 main ()
69505 {
69506 fmodl(0, 0);
69507 ;
69508 return 0;
69509 }
69510 _ACEOF
69511 if ac_fn_cxx_try_compile "$LINENO"; then :
69512 glibcxx_cv_func_fmodl_use=yes
69513 else
69514 glibcxx_cv_func_fmodl_use=no
69515 fi
69516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69517 ac_ext=c
69518 ac_cpp='$CPP $CPPFLAGS'
69519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69522
69523
69524 fi
69525
69526 fi
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69528 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69529
69530 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69531 for ac_func in fmodl
69532 do :
69533 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69534 if test "x$ac_cv_func_fmodl" = x""yes; then :
69535 cat >>confdefs.h <<_ACEOF
69536 #define HAVE_FMODL 1
69537 _ACEOF
69538
69539 fi
69540 done
69541
69542 else
69543
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69545 $as_echo_n "checking for _fmodl declaration... " >&6; }
69546 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69547 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69548 $as_echo_n "(cached) " >&6
69549 else
69550
69551
69552 ac_ext=cpp
69553 ac_cpp='$CXXCPP $CPPFLAGS'
69554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69557
69558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69559 /* end confdefs.h. */
69560 #include <math.h>
69561 int
69562 main ()
69563 {
69564 _fmodl(0, 0);
69565 ;
69566 return 0;
69567 }
69568 _ACEOF
69569 if ac_fn_cxx_try_compile "$LINENO"; then :
69570 glibcxx_cv_func__fmodl_use=yes
69571 else
69572 glibcxx_cv_func__fmodl_use=no
69573 fi
69574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69575 ac_ext=c
69576 ac_cpp='$CPP $CPPFLAGS'
69577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69580
69581
69582 fi
69583
69584 fi
69585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69586 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69587
69588 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69589 for ac_func in _fmodl
69590 do :
69591 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69592 if test "x$ac_cv_func__fmodl" = x""yes; then :
69593 cat >>confdefs.h <<_ACEOF
69594 #define HAVE__FMODL 1
69595 _ACEOF
69596
69597 fi
69598 done
69599
69600 fi
69601 fi
69602
69603
69604
69605
69606
69607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69608 $as_echo_n "checking for frexpl declaration... " >&6; }
69609 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69610 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69611 $as_echo_n "(cached) " >&6
69612 else
69613
69614
69615 ac_ext=cpp
69616 ac_cpp='$CXXCPP $CPPFLAGS'
69617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69620
69621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69622 /* end confdefs.h. */
69623 #include <math.h>
69624 int
69625 main ()
69626 {
69627 frexpl(0, 0);
69628 ;
69629 return 0;
69630 }
69631 _ACEOF
69632 if ac_fn_cxx_try_compile "$LINENO"; then :
69633 glibcxx_cv_func_frexpl_use=yes
69634 else
69635 glibcxx_cv_func_frexpl_use=no
69636 fi
69637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69638 ac_ext=c
69639 ac_cpp='$CPP $CPPFLAGS'
69640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69643
69644
69645 fi
69646
69647 fi
69648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69649 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69650
69651 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69652 for ac_func in frexpl
69653 do :
69654 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69655 if test "x$ac_cv_func_frexpl" = x""yes; then :
69656 cat >>confdefs.h <<_ACEOF
69657 #define HAVE_FREXPL 1
69658 _ACEOF
69659
69660 fi
69661 done
69662
69663 else
69664
69665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69666 $as_echo_n "checking for _frexpl declaration... " >&6; }
69667 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69668 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69669 $as_echo_n "(cached) " >&6
69670 else
69671
69672
69673 ac_ext=cpp
69674 ac_cpp='$CXXCPP $CPPFLAGS'
69675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69678
69679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69680 /* end confdefs.h. */
69681 #include <math.h>
69682 int
69683 main ()
69684 {
69685 _frexpl(0, 0);
69686 ;
69687 return 0;
69688 }
69689 _ACEOF
69690 if ac_fn_cxx_try_compile "$LINENO"; then :
69691 glibcxx_cv_func__frexpl_use=yes
69692 else
69693 glibcxx_cv_func__frexpl_use=no
69694 fi
69695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69696 ac_ext=c
69697 ac_cpp='$CPP $CPPFLAGS'
69698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69701
69702
69703 fi
69704
69705 fi
69706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69707 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69708
69709 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69710 for ac_func in _frexpl
69711 do :
69712 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69713 if test "x$ac_cv_func__frexpl" = x""yes; then :
69714 cat >>confdefs.h <<_ACEOF
69715 #define HAVE__FREXPL 1
69716 _ACEOF
69717
69718 fi
69719 done
69720
69721 fi
69722 fi
69723
69724
69725
69726
69727
69728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69729 $as_echo_n "checking for hypotl declaration... " >&6; }
69730 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69731 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69732 $as_echo_n "(cached) " >&6
69733 else
69734
69735
69736 ac_ext=cpp
69737 ac_cpp='$CXXCPP $CPPFLAGS'
69738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69741
69742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69743 /* end confdefs.h. */
69744 #include <math.h>
69745 int
69746 main ()
69747 {
69748 hypotl(0, 0);
69749 ;
69750 return 0;
69751 }
69752 _ACEOF
69753 if ac_fn_cxx_try_compile "$LINENO"; then :
69754 glibcxx_cv_func_hypotl_use=yes
69755 else
69756 glibcxx_cv_func_hypotl_use=no
69757 fi
69758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69759 ac_ext=c
69760 ac_cpp='$CPP $CPPFLAGS'
69761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69764
69765
69766 fi
69767
69768 fi
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69770 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69771
69772 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69773 for ac_func in hypotl
69774 do :
69775 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69776 if test "x$ac_cv_func_hypotl" = x""yes; then :
69777 cat >>confdefs.h <<_ACEOF
69778 #define HAVE_HYPOTL 1
69779 _ACEOF
69780
69781 fi
69782 done
69783
69784 else
69785
69786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69787 $as_echo_n "checking for _hypotl declaration... " >&6; }
69788 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69789 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69790 $as_echo_n "(cached) " >&6
69791 else
69792
69793
69794 ac_ext=cpp
69795 ac_cpp='$CXXCPP $CPPFLAGS'
69796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69799
69800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69801 /* end confdefs.h. */
69802 #include <math.h>
69803 int
69804 main ()
69805 {
69806 _hypotl(0, 0);
69807 ;
69808 return 0;
69809 }
69810 _ACEOF
69811 if ac_fn_cxx_try_compile "$LINENO"; then :
69812 glibcxx_cv_func__hypotl_use=yes
69813 else
69814 glibcxx_cv_func__hypotl_use=no
69815 fi
69816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69817 ac_ext=c
69818 ac_cpp='$CPP $CPPFLAGS'
69819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69822
69823
69824 fi
69825
69826 fi
69827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69828 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69829
69830 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69831 for ac_func in _hypotl
69832 do :
69833 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69834 if test "x$ac_cv_func__hypotl" = x""yes; then :
69835 cat >>confdefs.h <<_ACEOF
69836 #define HAVE__HYPOTL 1
69837 _ACEOF
69838
69839 fi
69840 done
69841
69842 fi
69843 fi
69844
69845
69846
69847
69848
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69850 $as_echo_n "checking for ldexpl declaration... " >&6; }
69851 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69852 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69853 $as_echo_n "(cached) " >&6
69854 else
69855
69856
69857 ac_ext=cpp
69858 ac_cpp='$CXXCPP $CPPFLAGS'
69859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69862
69863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69864 /* end confdefs.h. */
69865 #include <math.h>
69866 int
69867 main ()
69868 {
69869 ldexpl(0, 0);
69870 ;
69871 return 0;
69872 }
69873 _ACEOF
69874 if ac_fn_cxx_try_compile "$LINENO"; then :
69875 glibcxx_cv_func_ldexpl_use=yes
69876 else
69877 glibcxx_cv_func_ldexpl_use=no
69878 fi
69879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69880 ac_ext=c
69881 ac_cpp='$CPP $CPPFLAGS'
69882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69885
69886
69887 fi
69888
69889 fi
69890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69891 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69892
69893 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69894 for ac_func in ldexpl
69895 do :
69896 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69897 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69898 cat >>confdefs.h <<_ACEOF
69899 #define HAVE_LDEXPL 1
69900 _ACEOF
69901
69902 fi
69903 done
69904
69905 else
69906
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69908 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69909 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69910 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69911 $as_echo_n "(cached) " >&6
69912 else
69913
69914
69915 ac_ext=cpp
69916 ac_cpp='$CXXCPP $CPPFLAGS'
69917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69920
69921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69922 /* end confdefs.h. */
69923 #include <math.h>
69924 int
69925 main ()
69926 {
69927 _ldexpl(0, 0);
69928 ;
69929 return 0;
69930 }
69931 _ACEOF
69932 if ac_fn_cxx_try_compile "$LINENO"; then :
69933 glibcxx_cv_func__ldexpl_use=yes
69934 else
69935 glibcxx_cv_func__ldexpl_use=no
69936 fi
69937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69938 ac_ext=c
69939 ac_cpp='$CPP $CPPFLAGS'
69940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69943
69944
69945 fi
69946
69947 fi
69948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69949 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69950
69951 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69952 for ac_func in _ldexpl
69953 do :
69954 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69955 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69956 cat >>confdefs.h <<_ACEOF
69957 #define HAVE__LDEXPL 1
69958 _ACEOF
69959
69960 fi
69961 done
69962
69963 fi
69964 fi
69965
69966
69967
69968
69969
69970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69971 $as_echo_n "checking for logl declaration... " >&6; }
69972 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69973 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69974 $as_echo_n "(cached) " >&6
69975 else
69976
69977
69978 ac_ext=cpp
69979 ac_cpp='$CXXCPP $CPPFLAGS'
69980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69983
69984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69985 /* end confdefs.h. */
69986 #include <math.h>
69987 #ifdef HAVE_IEEEFP_H
69988 #include <ieeefp.h>
69989 #endif
69990
69991 int
69992 main ()
69993 {
69994 logl(0);
69995 ;
69996 return 0;
69997 }
69998 _ACEOF
69999 if ac_fn_cxx_try_compile "$LINENO"; then :
70000 glibcxx_cv_func_logl_use=yes
70001 else
70002 glibcxx_cv_func_logl_use=no
70003 fi
70004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70005 ac_ext=c
70006 ac_cpp='$CPP $CPPFLAGS'
70007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70010
70011
70012 fi
70013
70014 fi
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70016 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70017
70018 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70019 for ac_func in logl
70020 do :
70021 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70022 if test "x$ac_cv_func_logl" = x""yes; then :
70023 cat >>confdefs.h <<_ACEOF
70024 #define HAVE_LOGL 1
70025 _ACEOF
70026
70027 fi
70028 done
70029
70030 else
70031
70032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70033 $as_echo_n "checking for _logl declaration... " >&6; }
70034 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70035 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70038
70039
70040 ac_ext=cpp
70041 ac_cpp='$CXXCPP $CPPFLAGS'
70042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70045
70046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70047 /* end confdefs.h. */
70048 #include <math.h>
70049 #ifdef HAVE_IEEEFP_H
70050 #include <ieeefp.h>
70051 #endif
70052
70053 int
70054 main ()
70055 {
70056 _logl(0);
70057 ;
70058 return 0;
70059 }
70060 _ACEOF
70061 if ac_fn_cxx_try_compile "$LINENO"; then :
70062 glibcxx_cv_func__logl_use=yes
70063 else
70064 glibcxx_cv_func__logl_use=no
70065 fi
70066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70067 ac_ext=c
70068 ac_cpp='$CPP $CPPFLAGS'
70069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70072
70073
70074 fi
70075
70076 fi
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70078 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70079
70080 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70081 for ac_func in _logl
70082 do :
70083 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70084 if test "x$ac_cv_func__logl" = x""yes; then :
70085 cat >>confdefs.h <<_ACEOF
70086 #define HAVE__LOGL 1
70087 _ACEOF
70088
70089 fi
70090 done
70091
70092 fi
70093 fi
70094
70095
70096
70097
70098
70099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70100 $as_echo_n "checking for log10l declaration... " >&6; }
70101 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70102 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70103 $as_echo_n "(cached) " >&6
70104 else
70105
70106
70107 ac_ext=cpp
70108 ac_cpp='$CXXCPP $CPPFLAGS'
70109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70112
70113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70114 /* end confdefs.h. */
70115 #include <math.h>
70116 #ifdef HAVE_IEEEFP_H
70117 #include <ieeefp.h>
70118 #endif
70119
70120 int
70121 main ()
70122 {
70123 log10l(0);
70124 ;
70125 return 0;
70126 }
70127 _ACEOF
70128 if ac_fn_cxx_try_compile "$LINENO"; then :
70129 glibcxx_cv_func_log10l_use=yes
70130 else
70131 glibcxx_cv_func_log10l_use=no
70132 fi
70133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70134 ac_ext=c
70135 ac_cpp='$CPP $CPPFLAGS'
70136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70139
70140
70141 fi
70142
70143 fi
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70145 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70146
70147 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70148 for ac_func in log10l
70149 do :
70150 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70151 if test "x$ac_cv_func_log10l" = x""yes; then :
70152 cat >>confdefs.h <<_ACEOF
70153 #define HAVE_LOG10L 1
70154 _ACEOF
70155
70156 fi
70157 done
70158
70159 else
70160
70161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70162 $as_echo_n "checking for _log10l declaration... " >&6; }
70163 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70164 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70165 $as_echo_n "(cached) " >&6
70166 else
70167
70168
70169 ac_ext=cpp
70170 ac_cpp='$CXXCPP $CPPFLAGS'
70171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70174
70175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70176 /* end confdefs.h. */
70177 #include <math.h>
70178 #ifdef HAVE_IEEEFP_H
70179 #include <ieeefp.h>
70180 #endif
70181
70182 int
70183 main ()
70184 {
70185 _log10l(0);
70186 ;
70187 return 0;
70188 }
70189 _ACEOF
70190 if ac_fn_cxx_try_compile "$LINENO"; then :
70191 glibcxx_cv_func__log10l_use=yes
70192 else
70193 glibcxx_cv_func__log10l_use=no
70194 fi
70195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70196 ac_ext=c
70197 ac_cpp='$CPP $CPPFLAGS'
70198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70201
70202
70203 fi
70204
70205 fi
70206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70207 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70208
70209 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70210 for ac_func in _log10l
70211 do :
70212 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70213 if test "x$ac_cv_func__log10l" = x""yes; then :
70214 cat >>confdefs.h <<_ACEOF
70215 #define HAVE__LOG10L 1
70216 _ACEOF
70217
70218 fi
70219 done
70220
70221 fi
70222 fi
70223
70224
70225
70226
70227
70228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70229 $as_echo_n "checking for modfl declaration... " >&6; }
70230 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70231 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70232 $as_echo_n "(cached) " >&6
70233 else
70234
70235
70236 ac_ext=cpp
70237 ac_cpp='$CXXCPP $CPPFLAGS'
70238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70241
70242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70243 /* end confdefs.h. */
70244 #include <math.h>
70245 int
70246 main ()
70247 {
70248 modfl(0, 0);
70249 ;
70250 return 0;
70251 }
70252 _ACEOF
70253 if ac_fn_cxx_try_compile "$LINENO"; then :
70254 glibcxx_cv_func_modfl_use=yes
70255 else
70256 glibcxx_cv_func_modfl_use=no
70257 fi
70258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70259 ac_ext=c
70260 ac_cpp='$CPP $CPPFLAGS'
70261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70264
70265
70266 fi
70267
70268 fi
70269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70270 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70271
70272 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70273 for ac_func in modfl
70274 do :
70275 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70276 if test "x$ac_cv_func_modfl" = x""yes; then :
70277 cat >>confdefs.h <<_ACEOF
70278 #define HAVE_MODFL 1
70279 _ACEOF
70280
70281 fi
70282 done
70283
70284 else
70285
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70287 $as_echo_n "checking for _modfl declaration... " >&6; }
70288 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70289 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70290 $as_echo_n "(cached) " >&6
70291 else
70292
70293
70294 ac_ext=cpp
70295 ac_cpp='$CXXCPP $CPPFLAGS'
70296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70299
70300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70301 /* end confdefs.h. */
70302 #include <math.h>
70303 int
70304 main ()
70305 {
70306 _modfl(0, 0);
70307 ;
70308 return 0;
70309 }
70310 _ACEOF
70311 if ac_fn_cxx_try_compile "$LINENO"; then :
70312 glibcxx_cv_func__modfl_use=yes
70313 else
70314 glibcxx_cv_func__modfl_use=no
70315 fi
70316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70317 ac_ext=c
70318 ac_cpp='$CPP $CPPFLAGS'
70319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70322
70323
70324 fi
70325
70326 fi
70327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70328 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70329
70330 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70331 for ac_func in _modfl
70332 do :
70333 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70334 if test "x$ac_cv_func__modfl" = x""yes; then :
70335 cat >>confdefs.h <<_ACEOF
70336 #define HAVE__MODFL 1
70337 _ACEOF
70338
70339 fi
70340 done
70341
70342 fi
70343 fi
70344
70345
70346
70347
70348
70349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70350 $as_echo_n "checking for powl declaration... " >&6; }
70351 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70352 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70353 $as_echo_n "(cached) " >&6
70354 else
70355
70356
70357 ac_ext=cpp
70358 ac_cpp='$CXXCPP $CPPFLAGS'
70359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70362
70363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70364 /* end confdefs.h. */
70365 #include <math.h>
70366 int
70367 main ()
70368 {
70369 powl(0, 0);
70370 ;
70371 return 0;
70372 }
70373 _ACEOF
70374 if ac_fn_cxx_try_compile "$LINENO"; then :
70375 glibcxx_cv_func_powl_use=yes
70376 else
70377 glibcxx_cv_func_powl_use=no
70378 fi
70379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70380 ac_ext=c
70381 ac_cpp='$CPP $CPPFLAGS'
70382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385
70386
70387 fi
70388
70389 fi
70390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70391 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70392
70393 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70394 for ac_func in powl
70395 do :
70396 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70397 if test "x$ac_cv_func_powl" = x""yes; then :
70398 cat >>confdefs.h <<_ACEOF
70399 #define HAVE_POWL 1
70400 _ACEOF
70401
70402 fi
70403 done
70404
70405 else
70406
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70408 $as_echo_n "checking for _powl declaration... " >&6; }
70409 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70410 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70413
70414
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70420
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70424 int
70425 main ()
70426 {
70427 _powl(0, 0);
70428 ;
70429 return 0;
70430 }
70431 _ACEOF
70432 if ac_fn_cxx_try_compile "$LINENO"; then :
70433 glibcxx_cv_func__powl_use=yes
70434 else
70435 glibcxx_cv_func__powl_use=no
70436 fi
70437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70438 ac_ext=c
70439 ac_cpp='$CPP $CPPFLAGS'
70440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70443
70444
70445 fi
70446
70447 fi
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70449 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70450
70451 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70452 for ac_func in _powl
70453 do :
70454 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70455 if test "x$ac_cv_func__powl" = x""yes; then :
70456 cat >>confdefs.h <<_ACEOF
70457 #define HAVE__POWL 1
70458 _ACEOF
70459
70460 fi
70461 done
70462
70463 fi
70464 fi
70465
70466
70467
70468
70469
70470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70471 $as_echo_n "checking for sqrtl declaration... " >&6; }
70472 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70473 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70474 $as_echo_n "(cached) " >&6
70475 else
70476
70477
70478 ac_ext=cpp
70479 ac_cpp='$CXXCPP $CPPFLAGS'
70480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70483
70484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70485 /* end confdefs.h. */
70486 #include <math.h>
70487 #ifdef HAVE_IEEEFP_H
70488 #include <ieeefp.h>
70489 #endif
70490
70491 int
70492 main ()
70493 {
70494 sqrtl(0);
70495 ;
70496 return 0;
70497 }
70498 _ACEOF
70499 if ac_fn_cxx_try_compile "$LINENO"; then :
70500 glibcxx_cv_func_sqrtl_use=yes
70501 else
70502 glibcxx_cv_func_sqrtl_use=no
70503 fi
70504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70505 ac_ext=c
70506 ac_cpp='$CPP $CPPFLAGS'
70507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70510
70511
70512 fi
70513
70514 fi
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70516 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70517
70518 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70519 for ac_func in sqrtl
70520 do :
70521 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70522 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70523 cat >>confdefs.h <<_ACEOF
70524 #define HAVE_SQRTL 1
70525 _ACEOF
70526
70527 fi
70528 done
70529
70530 else
70531
70532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70533 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70534 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70535 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70536 $as_echo_n "(cached) " >&6
70537 else
70538
70539
70540 ac_ext=cpp
70541 ac_cpp='$CXXCPP $CPPFLAGS'
70542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70545
70546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70547 /* end confdefs.h. */
70548 #include <math.h>
70549 #ifdef HAVE_IEEEFP_H
70550 #include <ieeefp.h>
70551 #endif
70552
70553 int
70554 main ()
70555 {
70556 _sqrtl(0);
70557 ;
70558 return 0;
70559 }
70560 _ACEOF
70561 if ac_fn_cxx_try_compile "$LINENO"; then :
70562 glibcxx_cv_func__sqrtl_use=yes
70563 else
70564 glibcxx_cv_func__sqrtl_use=no
70565 fi
70566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70567 ac_ext=c
70568 ac_cpp='$CPP $CPPFLAGS'
70569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70572
70573
70574 fi
70575
70576 fi
70577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70578 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70579
70580 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70581 for ac_func in _sqrtl
70582 do :
70583 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70584 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70585 cat >>confdefs.h <<_ACEOF
70586 #define HAVE__SQRTL 1
70587 _ACEOF
70588
70589 fi
70590 done
70591
70592 fi
70593 fi
70594
70595
70596
70597
70598
70599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70600 $as_echo_n "checking for sincosl declaration... " >&6; }
70601 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70602 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70603 $as_echo_n "(cached) " >&6
70604 else
70605
70606
70607 ac_ext=cpp
70608 ac_cpp='$CXXCPP $CPPFLAGS'
70609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70612
70613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70614 /* end confdefs.h. */
70615 #include <math.h>
70616 int
70617 main ()
70618 {
70619 sincosl(0, 0, 0);
70620 ;
70621 return 0;
70622 }
70623 _ACEOF
70624 if ac_fn_cxx_try_compile "$LINENO"; then :
70625 glibcxx_cv_func_sincosl_use=yes
70626 else
70627 glibcxx_cv_func_sincosl_use=no
70628 fi
70629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70630 ac_ext=c
70631 ac_cpp='$CPP $CPPFLAGS'
70632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70635
70636
70637 fi
70638
70639 fi
70640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70641 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70642
70643 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70644 for ac_func in sincosl
70645 do :
70646 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70647 if test "x$ac_cv_func_sincosl" = x""yes; then :
70648 cat >>confdefs.h <<_ACEOF
70649 #define HAVE_SINCOSL 1
70650 _ACEOF
70651
70652 fi
70653 done
70654
70655 else
70656
70657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70658 $as_echo_n "checking for _sincosl declaration... " >&6; }
70659 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70660 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70661 $as_echo_n "(cached) " >&6
70662 else
70663
70664
70665 ac_ext=cpp
70666 ac_cpp='$CXXCPP $CPPFLAGS'
70667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70670
70671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70672 /* end confdefs.h. */
70673 #include <math.h>
70674 int
70675 main ()
70676 {
70677 _sincosl(0, 0, 0);
70678 ;
70679 return 0;
70680 }
70681 _ACEOF
70682 if ac_fn_cxx_try_compile "$LINENO"; then :
70683 glibcxx_cv_func__sincosl_use=yes
70684 else
70685 glibcxx_cv_func__sincosl_use=no
70686 fi
70687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70688 ac_ext=c
70689 ac_cpp='$CPP $CPPFLAGS'
70690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70693
70694
70695 fi
70696
70697 fi
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70699 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70700
70701 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70702 for ac_func in _sincosl
70703 do :
70704 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70705 if test "x$ac_cv_func__sincosl" = x""yes; then :
70706 cat >>confdefs.h <<_ACEOF
70707 #define HAVE__SINCOSL 1
70708 _ACEOF
70709
70710 fi
70711 done
70712
70713 fi
70714 fi
70715
70716
70717
70718
70719
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70721 $as_echo_n "checking for finitel declaration... " >&6; }
70722 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70723 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70724 $as_echo_n "(cached) " >&6
70725 else
70726
70727
70728 ac_ext=cpp
70729 ac_cpp='$CXXCPP $CPPFLAGS'
70730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70733
70734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70735 /* end confdefs.h. */
70736 #include <math.h>
70737 #ifdef HAVE_IEEEFP_H
70738 #include <ieeefp.h>
70739 #endif
70740
70741 int
70742 main ()
70743 {
70744 finitel(0);
70745 ;
70746 return 0;
70747 }
70748 _ACEOF
70749 if ac_fn_cxx_try_compile "$LINENO"; then :
70750 glibcxx_cv_func_finitel_use=yes
70751 else
70752 glibcxx_cv_func_finitel_use=no
70753 fi
70754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70755 ac_ext=c
70756 ac_cpp='$CPP $CPPFLAGS'
70757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70760
70761
70762 fi
70763
70764 fi
70765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70766 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70767
70768 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70769 for ac_func in finitel
70770 do :
70771 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70772 if test "x$ac_cv_func_finitel" = x""yes; then :
70773 cat >>confdefs.h <<_ACEOF
70774 #define HAVE_FINITEL 1
70775 _ACEOF
70776
70777 fi
70778 done
70779
70780 else
70781
70782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70783 $as_echo_n "checking for _finitel declaration... " >&6; }
70784 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70785 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70786 $as_echo_n "(cached) " >&6
70787 else
70788
70789
70790 ac_ext=cpp
70791 ac_cpp='$CXXCPP $CPPFLAGS'
70792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70795
70796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70797 /* end confdefs.h. */
70798 #include <math.h>
70799 #ifdef HAVE_IEEEFP_H
70800 #include <ieeefp.h>
70801 #endif
70802
70803 int
70804 main ()
70805 {
70806 _finitel(0);
70807 ;
70808 return 0;
70809 }
70810 _ACEOF
70811 if ac_fn_cxx_try_compile "$LINENO"; then :
70812 glibcxx_cv_func__finitel_use=yes
70813 else
70814 glibcxx_cv_func__finitel_use=no
70815 fi
70816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70817 ac_ext=c
70818 ac_cpp='$CPP $CPPFLAGS'
70819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70822
70823
70824 fi
70825
70826 fi
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70828 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70829
70830 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70831 for ac_func in _finitel
70832 do :
70833 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70834 if test "x$ac_cv_func__finitel" = x""yes; then :
70835 cat >>confdefs.h <<_ACEOF
70836 #define HAVE__FINITEL 1
70837 _ACEOF
70838
70839 fi
70840 done
70841
70842 fi
70843 fi
70844
70845
70846
70847
70848 LIBS="$ac_save_LIBS"
70849 CXXFLAGS="$ac_save_CXXFLAGS"
70850
70851
70852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70853 ac_save_CXXFLAGS="$CXXFLAGS"
70854 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70855
70856
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70858 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70859 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70860 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70861 $as_echo_n "(cached) " >&6
70862 else
70863
70864
70865 ac_ext=cpp
70866 ac_cpp='$CXXCPP $CPPFLAGS'
70867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70870
70871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70872 /* end confdefs.h. */
70873 #include <stdlib.h>
70874 int
70875 main ()
70876 {
70877 at_quick_exit(0);
70878 ;
70879 return 0;
70880 }
70881 _ACEOF
70882 if ac_fn_cxx_try_compile "$LINENO"; then :
70883 glibcxx_cv_func_at_quick_exit_use=yes
70884 else
70885 glibcxx_cv_func_at_quick_exit_use=no
70886 fi
70887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70888 ac_ext=c
70889 ac_cpp='$CPP $CPPFLAGS'
70890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70893
70894
70895 fi
70896
70897 fi
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70899 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70900 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70901 for ac_func in at_quick_exit
70902 do :
70903 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70904 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70905 cat >>confdefs.h <<_ACEOF
70906 #define HAVE_AT_QUICK_EXIT 1
70907 _ACEOF
70908
70909 fi
70910 done
70911
70912 fi
70913
70914
70915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70916 $as_echo_n "checking for quick_exit declaration... " >&6; }
70917 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70918 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70919 $as_echo_n "(cached) " >&6
70920 else
70921
70922
70923 ac_ext=cpp
70924 ac_cpp='$CXXCPP $CPPFLAGS'
70925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70928
70929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70930 /* end confdefs.h. */
70931 #include <stdlib.h>
70932 int
70933 main ()
70934 {
70935 quick_exit(0);
70936 ;
70937 return 0;
70938 }
70939 _ACEOF
70940 if ac_fn_cxx_try_compile "$LINENO"; then :
70941 glibcxx_cv_func_quick_exit_use=yes
70942 else
70943 glibcxx_cv_func_quick_exit_use=no
70944 fi
70945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70946 ac_ext=c
70947 ac_cpp='$CPP $CPPFLAGS'
70948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70951
70952
70953 fi
70954
70955 fi
70956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70957 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70958 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70959 for ac_func in quick_exit
70960 do :
70961 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70962 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70963 cat >>confdefs.h <<_ACEOF
70964 #define HAVE_QUICK_EXIT 1
70965 _ACEOF
70966
70967 fi
70968 done
70969
70970 fi
70971
70972
70973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70974 $as_echo_n "checking for strtold declaration... " >&6; }
70975 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70976 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70977 $as_echo_n "(cached) " >&6
70978 else
70979
70980
70981 ac_ext=cpp
70982 ac_cpp='$CXXCPP $CPPFLAGS'
70983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70986
70987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70988 /* end confdefs.h. */
70989 #include <stdlib.h>
70990 int
70991 main ()
70992 {
70993 strtold(0, 0);
70994 ;
70995 return 0;
70996 }
70997 _ACEOF
70998 if ac_fn_cxx_try_compile "$LINENO"; then :
70999 glibcxx_cv_func_strtold_use=yes
71000 else
71001 glibcxx_cv_func_strtold_use=no
71002 fi
71003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71004 ac_ext=c
71005 ac_cpp='$CPP $CPPFLAGS'
71006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71009
71010
71011 fi
71012
71013 fi
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71015 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71016 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71017 for ac_func in strtold
71018 do :
71019 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71020 if test "x$ac_cv_func_strtold" = x""yes; then :
71021 cat >>confdefs.h <<_ACEOF
71022 #define HAVE_STRTOLD 1
71023 _ACEOF
71024
71025 fi
71026 done
71027
71028 fi
71029
71030
71031
71032
71033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71034 $as_echo_n "checking for strtof declaration... " >&6; }
71035 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71036 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71037 $as_echo_n "(cached) " >&6
71038 else
71039
71040
71041 ac_ext=cpp
71042 ac_cpp='$CXXCPP $CPPFLAGS'
71043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71046
71047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71048 /* end confdefs.h. */
71049 #include <stdlib.h>
71050 int
71051 main ()
71052 {
71053 strtof(0, 0);
71054 ;
71055 return 0;
71056 }
71057 _ACEOF
71058 if ac_fn_cxx_try_compile "$LINENO"; then :
71059 glibcxx_cv_func_strtof_use=yes
71060 else
71061 glibcxx_cv_func_strtof_use=no
71062 fi
71063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71064 ac_ext=c
71065 ac_cpp='$CPP $CPPFLAGS'
71066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71069
71070
71071 fi
71072
71073 fi
71074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71075 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71076 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71077 for ac_func in strtof
71078 do :
71079 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71080 if test "x$ac_cv_func_strtof" = x""yes; then :
71081 cat >>confdefs.h <<_ACEOF
71082 #define HAVE_STRTOF 1
71083 _ACEOF
71084
71085 fi
71086 done
71087
71088 fi
71089
71090
71091
71092
71093 CXXFLAGS="$ac_save_CXXFLAGS"
71094
71095 ;;
71096 *-solaris*)
71097
71098 # If we're not using GNU ld, then there's no point in even trying these
71099 # tests. Check for that first. We should have already tested for gld
71100 # by now (in libtool), but require it now just to be safe...
71101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71103
71104
71105
71106 # The name set by libtool depends on the version of libtool. Shame on us
71107 # for depending on an impl detail, but c'est la vie. Older versions used
71108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71111 # set (hence we're using an older libtool), then set it.
71112 if test x${with_gnu_ld+set} != xset; then
71113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71115 with_gnu_ld=no
71116 else
71117 with_gnu_ld=$ac_cv_prog_gnu_ld
71118 fi
71119 fi
71120
71121 # Start by getting the version number. I think the libtool test already
71122 # does some of this, but throws away the result.
71123 glibcxx_ld_is_gold=no
71124 if test x"$with_gnu_ld" = x"yes"; then
71125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71126 $as_echo_n "checking for ld version... " >&6; }
71127
71128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71129 glibcxx_ld_is_gold=yes
71130 fi
71131 ldver=`$LD --version 2>/dev/null |
71132 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'`
71133
71134 glibcxx_gnu_ld_version=`echo $ldver | \
71135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71138 fi
71139
71140 # Set --gc-sections.
71141 glibcxx_have_gc_sections=no
71142 if test "$glibcxx_ld_is_gold" = "yes"; then
71143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71144 glibcxx_have_gc_sections=yes
71145 fi
71146 else
71147 glibcxx_gcsections_min_ld=21602
71148 if test x"$with_gnu_ld" = x"yes" &&
71149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71150 glibcxx_have_gc_sections=yes
71151 fi
71152 fi
71153 if test "$glibcxx_have_gc_sections" = "yes"; then
71154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71155 # NB: This flag only works reliably after 2.16.1. Configure tests
71156 # for this are difficult, so hard wire a value that should work.
71157
71158 ac_test_CFLAGS="${CFLAGS+set}"
71159 ac_save_CFLAGS="$CFLAGS"
71160 CFLAGS='-Wl,--gc-sections'
71161
71162 # Check for -Wl,--gc-sections
71163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71165 if test x$gcc_no_link = xyes; then
71166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71167 fi
71168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71169 /* end confdefs.h. */
71170 int one(void) { return 1; }
71171 int two(void) { return 2; }
71172
71173 int
71174 main ()
71175 {
71176 two();
71177 ;
71178 return 0;
71179 }
71180 _ACEOF
71181 if ac_fn_c_try_link "$LINENO"; then :
71182 ac_gcsections=yes
71183 else
71184 ac_gcsections=no
71185 fi
71186 rm -f core conftest.err conftest.$ac_objext \
71187 conftest$ac_exeext conftest.$ac_ext
71188 if test "$ac_gcsections" = "yes"; then
71189 rm -f conftest.c
71190 touch conftest.c
71191 if $CC -c conftest.c; then
71192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71193 grep "Warning: gc-sections option ignored" > /dev/null; then
71194 ac_gcsections=no
71195 fi
71196 fi
71197 rm -f conftest.c conftest.o conftest
71198 fi
71199 if test "$ac_gcsections" = "yes"; then
71200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71201 fi
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71203 $as_echo "$ac_gcsections" >&6; }
71204
71205 if test "$ac_test_CFLAGS" = set; then
71206 CFLAGS="$ac_save_CFLAGS"
71207 else
71208 # this is the suspicious part
71209 CFLAGS=''
71210 fi
71211 fi
71212
71213 # Set -z,relro.
71214 # Note this is only for shared objects.
71215 ac_ld_relro=no
71216 if test x"$with_gnu_ld" = x"yes"; then
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71220 if test -n "$cxx_z_relo"; then
71221 OPT_LDFLAGS="-Wl,-z,relro"
71222 ac_ld_relro=yes
71223 fi
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71225 $as_echo "$ac_ld_relro" >&6; }
71226 fi
71227
71228 # Set linker optimization flags.
71229 if test x"$with_gnu_ld" = x"yes"; then
71230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71231 fi
71232
71233
71234
71235
71236 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71237
71238 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71239
71240 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71241
71242 # All of the dependencies for wide character support are here, so
71243 # turn it on.
71244 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71245
71246 # These two C99 functions are present only in Solaris >= 10
71247 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71248
71249 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71250
71251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71252
71253 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71254
71255 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71256
71257 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71258
71259 ;;
71260 *-tpf)
71261 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71262 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71263
71264 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71265
71266 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71267
71268 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71269
71270 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71271
71272 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71273
71274 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71275
71276 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71277
71278 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71279
71280 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71281
71282 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71283
71284 if test x"long_double_math_on_this_cpu" = x"yes"; then
71285 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71286
71287 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71288
71289 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71290
71291 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71292
71293 fi
71294 ;;
71295 *-*vms*)
71296 # Check for available headers.
71297 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71298
71299 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71300 ac_save_CXXFLAGS="$CXXFLAGS"
71301 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71302
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71304 $as_echo_n "checking for sin in -lm... " >&6; }
71305 if test "${ac_cv_lib_m_sin+set}" = set; then :
71306 $as_echo_n "(cached) " >&6
71307 else
71308 ac_check_lib_save_LIBS=$LIBS
71309 LIBS="-lm $LIBS"
71310 if test x$gcc_no_link = xyes; then
71311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71312 fi
71313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71314 /* end confdefs.h. */
71315
71316 /* Override any GCC internal prototype to avoid an error.
71317 Use char because int might match the return type of a GCC
71318 builtin and then its argument prototype would still apply. */
71319 #ifdef __cplusplus
71320 extern "C"
71321 #endif
71322 char sin ();
71323 int
71324 main ()
71325 {
71326 return sin ();
71327 ;
71328 return 0;
71329 }
71330 _ACEOF
71331 if ac_fn_c_try_link "$LINENO"; then :
71332 ac_cv_lib_m_sin=yes
71333 else
71334 ac_cv_lib_m_sin=no
71335 fi
71336 rm -f core conftest.err conftest.$ac_objext \
71337 conftest$ac_exeext conftest.$ac_ext
71338 LIBS=$ac_check_lib_save_LIBS
71339 fi
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71341 $as_echo "$ac_cv_lib_m_sin" >&6; }
71342 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71343 libm="-lm"
71344 fi
71345
71346 ac_save_LIBS="$LIBS"
71347 LIBS="$LIBS $libm"
71348
71349
71350
71351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71352 $as_echo_n "checking for isinf declaration... " >&6; }
71353 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71354 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71355 $as_echo_n "(cached) " >&6
71356 else
71357
71358
71359 ac_ext=cpp
71360 ac_cpp='$CXXCPP $CPPFLAGS'
71361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71364
71365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71366 /* end confdefs.h. */
71367 #include <math.h>
71368 #ifdef HAVE_IEEEFP_H
71369 #include <ieeefp.h>
71370 #endif
71371
71372 int
71373 main ()
71374 {
71375 isinf(0);
71376 ;
71377 return 0;
71378 }
71379 _ACEOF
71380 if ac_fn_cxx_try_compile "$LINENO"; then :
71381 glibcxx_cv_func_isinf_use=yes
71382 else
71383 glibcxx_cv_func_isinf_use=no
71384 fi
71385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71386 ac_ext=c
71387 ac_cpp='$CPP $CPPFLAGS'
71388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71391
71392
71393 fi
71394
71395 fi
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71397 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71398
71399 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71400 for ac_func in isinf
71401 do :
71402 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71403 if test "x$ac_cv_func_isinf" = x""yes; then :
71404 cat >>confdefs.h <<_ACEOF
71405 #define HAVE_ISINF 1
71406 _ACEOF
71407
71408 fi
71409 done
71410
71411 else
71412
71413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71414 $as_echo_n "checking for _isinf declaration... " >&6; }
71415 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71416 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71417 $as_echo_n "(cached) " >&6
71418 else
71419
71420
71421 ac_ext=cpp
71422 ac_cpp='$CXXCPP $CPPFLAGS'
71423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71426
71427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71428 /* end confdefs.h. */
71429 #include <math.h>
71430 #ifdef HAVE_IEEEFP_H
71431 #include <ieeefp.h>
71432 #endif
71433
71434 int
71435 main ()
71436 {
71437 _isinf(0);
71438 ;
71439 return 0;
71440 }
71441 _ACEOF
71442 if ac_fn_cxx_try_compile "$LINENO"; then :
71443 glibcxx_cv_func__isinf_use=yes
71444 else
71445 glibcxx_cv_func__isinf_use=no
71446 fi
71447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71448 ac_ext=c
71449 ac_cpp='$CPP $CPPFLAGS'
71450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71453
71454
71455 fi
71456
71457 fi
71458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71459 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71460
71461 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71462 for ac_func in _isinf
71463 do :
71464 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71465 if test "x$ac_cv_func__isinf" = x""yes; then :
71466 cat >>confdefs.h <<_ACEOF
71467 #define HAVE__ISINF 1
71468 _ACEOF
71469
71470 fi
71471 done
71472
71473 fi
71474 fi
71475
71476
71477
71478
71479
71480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71481 $as_echo_n "checking for isnan declaration... " >&6; }
71482 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71483 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71484 $as_echo_n "(cached) " >&6
71485 else
71486
71487
71488 ac_ext=cpp
71489 ac_cpp='$CXXCPP $CPPFLAGS'
71490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71493
71494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71495 /* end confdefs.h. */
71496 #include <math.h>
71497 #ifdef HAVE_IEEEFP_H
71498 #include <ieeefp.h>
71499 #endif
71500
71501 int
71502 main ()
71503 {
71504 isnan(0);
71505 ;
71506 return 0;
71507 }
71508 _ACEOF
71509 if ac_fn_cxx_try_compile "$LINENO"; then :
71510 glibcxx_cv_func_isnan_use=yes
71511 else
71512 glibcxx_cv_func_isnan_use=no
71513 fi
71514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71515 ac_ext=c
71516 ac_cpp='$CPP $CPPFLAGS'
71517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71520
71521
71522 fi
71523
71524 fi
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71526 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71527
71528 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71529 for ac_func in isnan
71530 do :
71531 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71532 if test "x$ac_cv_func_isnan" = x""yes; then :
71533 cat >>confdefs.h <<_ACEOF
71534 #define HAVE_ISNAN 1
71535 _ACEOF
71536
71537 fi
71538 done
71539
71540 else
71541
71542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71543 $as_echo_n "checking for _isnan declaration... " >&6; }
71544 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71545 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71546 $as_echo_n "(cached) " >&6
71547 else
71548
71549
71550 ac_ext=cpp
71551 ac_cpp='$CXXCPP $CPPFLAGS'
71552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71555
71556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71557 /* end confdefs.h. */
71558 #include <math.h>
71559 #ifdef HAVE_IEEEFP_H
71560 #include <ieeefp.h>
71561 #endif
71562
71563 int
71564 main ()
71565 {
71566 _isnan(0);
71567 ;
71568 return 0;
71569 }
71570 _ACEOF
71571 if ac_fn_cxx_try_compile "$LINENO"; then :
71572 glibcxx_cv_func__isnan_use=yes
71573 else
71574 glibcxx_cv_func__isnan_use=no
71575 fi
71576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71577 ac_ext=c
71578 ac_cpp='$CPP $CPPFLAGS'
71579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71582
71583
71584 fi
71585
71586 fi
71587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71588 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71589
71590 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71591 for ac_func in _isnan
71592 do :
71593 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71594 if test "x$ac_cv_func__isnan" = x""yes; then :
71595 cat >>confdefs.h <<_ACEOF
71596 #define HAVE__ISNAN 1
71597 _ACEOF
71598
71599 fi
71600 done
71601
71602 fi
71603 fi
71604
71605
71606
71607
71608
71609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71610 $as_echo_n "checking for finite declaration... " >&6; }
71611 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71612 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71613 $as_echo_n "(cached) " >&6
71614 else
71615
71616
71617 ac_ext=cpp
71618 ac_cpp='$CXXCPP $CPPFLAGS'
71619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71622
71623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71624 /* end confdefs.h. */
71625 #include <math.h>
71626 #ifdef HAVE_IEEEFP_H
71627 #include <ieeefp.h>
71628 #endif
71629
71630 int
71631 main ()
71632 {
71633 finite(0);
71634 ;
71635 return 0;
71636 }
71637 _ACEOF
71638 if ac_fn_cxx_try_compile "$LINENO"; then :
71639 glibcxx_cv_func_finite_use=yes
71640 else
71641 glibcxx_cv_func_finite_use=no
71642 fi
71643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71644 ac_ext=c
71645 ac_cpp='$CPP $CPPFLAGS'
71646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71649
71650
71651 fi
71652
71653 fi
71654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71655 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71656
71657 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71658 for ac_func in finite
71659 do :
71660 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71661 if test "x$ac_cv_func_finite" = x""yes; then :
71662 cat >>confdefs.h <<_ACEOF
71663 #define HAVE_FINITE 1
71664 _ACEOF
71665
71666 fi
71667 done
71668
71669 else
71670
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71672 $as_echo_n "checking for _finite declaration... " >&6; }
71673 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71674 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71675 $as_echo_n "(cached) " >&6
71676 else
71677
71678
71679 ac_ext=cpp
71680 ac_cpp='$CXXCPP $CPPFLAGS'
71681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71684
71685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71686 /* end confdefs.h. */
71687 #include <math.h>
71688 #ifdef HAVE_IEEEFP_H
71689 #include <ieeefp.h>
71690 #endif
71691
71692 int
71693 main ()
71694 {
71695 _finite(0);
71696 ;
71697 return 0;
71698 }
71699 _ACEOF
71700 if ac_fn_cxx_try_compile "$LINENO"; then :
71701 glibcxx_cv_func__finite_use=yes
71702 else
71703 glibcxx_cv_func__finite_use=no
71704 fi
71705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71706 ac_ext=c
71707 ac_cpp='$CPP $CPPFLAGS'
71708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71711
71712
71713 fi
71714
71715 fi
71716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71717 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71718
71719 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71720 for ac_func in _finite
71721 do :
71722 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71723 if test "x$ac_cv_func__finite" = x""yes; then :
71724 cat >>confdefs.h <<_ACEOF
71725 #define HAVE__FINITE 1
71726 _ACEOF
71727
71728 fi
71729 done
71730
71731 fi
71732 fi
71733
71734
71735
71736
71737
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71739 $as_echo_n "checking for sincos declaration... " >&6; }
71740 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71741 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71742 $as_echo_n "(cached) " >&6
71743 else
71744
71745
71746 ac_ext=cpp
71747 ac_cpp='$CXXCPP $CPPFLAGS'
71748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71751
71752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71753 /* end confdefs.h. */
71754 #include <math.h>
71755 int
71756 main ()
71757 {
71758 sincos(0, 0, 0);
71759 ;
71760 return 0;
71761 }
71762 _ACEOF
71763 if ac_fn_cxx_try_compile "$LINENO"; then :
71764 glibcxx_cv_func_sincos_use=yes
71765 else
71766 glibcxx_cv_func_sincos_use=no
71767 fi
71768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71769 ac_ext=c
71770 ac_cpp='$CPP $CPPFLAGS'
71771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71774
71775
71776 fi
71777
71778 fi
71779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71780 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71781
71782 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71783 for ac_func in sincos
71784 do :
71785 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71786 if test "x$ac_cv_func_sincos" = x""yes; then :
71787 cat >>confdefs.h <<_ACEOF
71788 #define HAVE_SINCOS 1
71789 _ACEOF
71790
71791 fi
71792 done
71793
71794 else
71795
71796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71797 $as_echo_n "checking for _sincos declaration... " >&6; }
71798 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71799 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71800 $as_echo_n "(cached) " >&6
71801 else
71802
71803
71804 ac_ext=cpp
71805 ac_cpp='$CXXCPP $CPPFLAGS'
71806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71809
71810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71811 /* end confdefs.h. */
71812 #include <math.h>
71813 int
71814 main ()
71815 {
71816 _sincos(0, 0, 0);
71817 ;
71818 return 0;
71819 }
71820 _ACEOF
71821 if ac_fn_cxx_try_compile "$LINENO"; then :
71822 glibcxx_cv_func__sincos_use=yes
71823 else
71824 glibcxx_cv_func__sincos_use=no
71825 fi
71826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71827 ac_ext=c
71828 ac_cpp='$CPP $CPPFLAGS'
71829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71832
71833
71834 fi
71835
71836 fi
71837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71838 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71839
71840 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71841 for ac_func in _sincos
71842 do :
71843 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71844 if test "x$ac_cv_func__sincos" = x""yes; then :
71845 cat >>confdefs.h <<_ACEOF
71846 #define HAVE__SINCOS 1
71847 _ACEOF
71848
71849 fi
71850 done
71851
71852 fi
71853 fi
71854
71855
71856
71857
71858
71859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71860 $as_echo_n "checking for fpclass declaration... " >&6; }
71861 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71862 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71863 $as_echo_n "(cached) " >&6
71864 else
71865
71866
71867 ac_ext=cpp
71868 ac_cpp='$CXXCPP $CPPFLAGS'
71869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71872
71873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71874 /* end confdefs.h. */
71875 #include <math.h>
71876 #ifdef HAVE_IEEEFP_H
71877 #include <ieeefp.h>
71878 #endif
71879
71880 int
71881 main ()
71882 {
71883 fpclass(0);
71884 ;
71885 return 0;
71886 }
71887 _ACEOF
71888 if ac_fn_cxx_try_compile "$LINENO"; then :
71889 glibcxx_cv_func_fpclass_use=yes
71890 else
71891 glibcxx_cv_func_fpclass_use=no
71892 fi
71893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71894 ac_ext=c
71895 ac_cpp='$CPP $CPPFLAGS'
71896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71899
71900
71901 fi
71902
71903 fi
71904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71905 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71906
71907 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71908 for ac_func in fpclass
71909 do :
71910 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71911 if test "x$ac_cv_func_fpclass" = x""yes; then :
71912 cat >>confdefs.h <<_ACEOF
71913 #define HAVE_FPCLASS 1
71914 _ACEOF
71915
71916 fi
71917 done
71918
71919 else
71920
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71922 $as_echo_n "checking for _fpclass declaration... " >&6; }
71923 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71924 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71925 $as_echo_n "(cached) " >&6
71926 else
71927
71928
71929 ac_ext=cpp
71930 ac_cpp='$CXXCPP $CPPFLAGS'
71931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71934
71935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71936 /* end confdefs.h. */
71937 #include <math.h>
71938 #ifdef HAVE_IEEEFP_H
71939 #include <ieeefp.h>
71940 #endif
71941
71942 int
71943 main ()
71944 {
71945 _fpclass(0);
71946 ;
71947 return 0;
71948 }
71949 _ACEOF
71950 if ac_fn_cxx_try_compile "$LINENO"; then :
71951 glibcxx_cv_func__fpclass_use=yes
71952 else
71953 glibcxx_cv_func__fpclass_use=no
71954 fi
71955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71956 ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71961
71962
71963 fi
71964
71965 fi
71966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71967 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71968
71969 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71970 for ac_func in _fpclass
71971 do :
71972 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71973 if test "x$ac_cv_func__fpclass" = x""yes; then :
71974 cat >>confdefs.h <<_ACEOF
71975 #define HAVE__FPCLASS 1
71976 _ACEOF
71977
71978 fi
71979 done
71980
71981 fi
71982 fi
71983
71984
71985
71986
71987
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71989 $as_echo_n "checking for qfpclass declaration... " >&6; }
71990 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71991 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71992 $as_echo_n "(cached) " >&6
71993 else
71994
71995
71996 ac_ext=cpp
71997 ac_cpp='$CXXCPP $CPPFLAGS'
71998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72001
72002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72003 /* end confdefs.h. */
72004 #include <math.h>
72005 #ifdef HAVE_IEEEFP_H
72006 #include <ieeefp.h>
72007 #endif
72008
72009 int
72010 main ()
72011 {
72012 qfpclass(0);
72013 ;
72014 return 0;
72015 }
72016 _ACEOF
72017 if ac_fn_cxx_try_compile "$LINENO"; then :
72018 glibcxx_cv_func_qfpclass_use=yes
72019 else
72020 glibcxx_cv_func_qfpclass_use=no
72021 fi
72022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72023 ac_ext=c
72024 ac_cpp='$CPP $CPPFLAGS'
72025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72028
72029
72030 fi
72031
72032 fi
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72034 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72035
72036 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72037 for ac_func in qfpclass
72038 do :
72039 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72040 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_QFPCLASS 1
72043 _ACEOF
72044
72045 fi
72046 done
72047
72048 else
72049
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72051 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72052 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72053 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72054 $as_echo_n "(cached) " >&6
72055 else
72056
72057
72058 ac_ext=cpp
72059 ac_cpp='$CXXCPP $CPPFLAGS'
72060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72063
72064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72065 /* end confdefs.h. */
72066 #include <math.h>
72067 #ifdef HAVE_IEEEFP_H
72068 #include <ieeefp.h>
72069 #endif
72070
72071 int
72072 main ()
72073 {
72074 _qfpclass(0);
72075 ;
72076 return 0;
72077 }
72078 _ACEOF
72079 if ac_fn_cxx_try_compile "$LINENO"; then :
72080 glibcxx_cv_func__qfpclass_use=yes
72081 else
72082 glibcxx_cv_func__qfpclass_use=no
72083 fi
72084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72085 ac_ext=c
72086 ac_cpp='$CPP $CPPFLAGS'
72087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72090
72091
72092 fi
72093
72094 fi
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72096 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72097
72098 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72099 for ac_func in _qfpclass
72100 do :
72101 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72102 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72103 cat >>confdefs.h <<_ACEOF
72104 #define HAVE__QFPCLASS 1
72105 _ACEOF
72106
72107 fi
72108 done
72109
72110 fi
72111 fi
72112
72113
72114
72115
72116
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72118 $as_echo_n "checking for hypot declaration... " >&6; }
72119 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72120 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72121 $as_echo_n "(cached) " >&6
72122 else
72123
72124
72125 ac_ext=cpp
72126 ac_cpp='$CXXCPP $CPPFLAGS'
72127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72130
72131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72132 /* end confdefs.h. */
72133 #include <math.h>
72134 int
72135 main ()
72136 {
72137 hypot(0, 0);
72138 ;
72139 return 0;
72140 }
72141 _ACEOF
72142 if ac_fn_cxx_try_compile "$LINENO"; then :
72143 glibcxx_cv_func_hypot_use=yes
72144 else
72145 glibcxx_cv_func_hypot_use=no
72146 fi
72147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72148 ac_ext=c
72149 ac_cpp='$CPP $CPPFLAGS'
72150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72153
72154
72155 fi
72156
72157 fi
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72159 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72160
72161 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72162 for ac_func in hypot
72163 do :
72164 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72165 if test "x$ac_cv_func_hypot" = x""yes; then :
72166 cat >>confdefs.h <<_ACEOF
72167 #define HAVE_HYPOT 1
72168 _ACEOF
72169
72170 fi
72171 done
72172
72173 else
72174
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72176 $as_echo_n "checking for _hypot declaration... " >&6; }
72177 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72178 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72179 $as_echo_n "(cached) " >&6
72180 else
72181
72182
72183 ac_ext=cpp
72184 ac_cpp='$CXXCPP $CPPFLAGS'
72185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72188
72189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72190 /* end confdefs.h. */
72191 #include <math.h>
72192 int
72193 main ()
72194 {
72195 _hypot(0, 0);
72196 ;
72197 return 0;
72198 }
72199 _ACEOF
72200 if ac_fn_cxx_try_compile "$LINENO"; then :
72201 glibcxx_cv_func__hypot_use=yes
72202 else
72203 glibcxx_cv_func__hypot_use=no
72204 fi
72205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72206 ac_ext=c
72207 ac_cpp='$CPP $CPPFLAGS'
72208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72211
72212
72213 fi
72214
72215 fi
72216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72217 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72218
72219 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72220 for ac_func in _hypot
72221 do :
72222 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72223 if test "x$ac_cv_func__hypot" = x""yes; then :
72224 cat >>confdefs.h <<_ACEOF
72225 #define HAVE__HYPOT 1
72226 _ACEOF
72227
72228 fi
72229 done
72230
72231 fi
72232 fi
72233
72234
72235
72236
72237
72238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72239 $as_echo_n "checking for float trig functions... " >&6; }
72240 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72241 $as_echo_n "(cached) " >&6
72242 else
72243
72244
72245 ac_ext=cpp
72246 ac_cpp='$CXXCPP $CPPFLAGS'
72247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72250
72251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72252 /* end confdefs.h. */
72253 #include <math.h>
72254 int
72255 main ()
72256 {
72257 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72258 ;
72259 return 0;
72260 }
72261 _ACEOF
72262 if ac_fn_cxx_try_compile "$LINENO"; then :
72263 glibcxx_cv_func_float_trig_use=yes
72264 else
72265 glibcxx_cv_func_float_trig_use=no
72266 fi
72267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72268 ac_ext=c
72269 ac_cpp='$CPP $CPPFLAGS'
72270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72273
72274 fi
72275
72276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72277 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72278 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72279 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72280 do :
72281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72283 eval as_val=\$$as_ac_var
72284 if test "x$as_val" = x""yes; then :
72285 cat >>confdefs.h <<_ACEOF
72286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72287 _ACEOF
72288
72289 fi
72290 done
72291
72292 else
72293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72294 $as_echo_n "checking for _float trig functions... " >&6; }
72295 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72296 $as_echo_n "(cached) " >&6
72297 else
72298
72299
72300 ac_ext=cpp
72301 ac_cpp='$CXXCPP $CPPFLAGS'
72302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72305
72306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72307 /* end confdefs.h. */
72308 #include <math.h>
72309 int
72310 main ()
72311 {
72312 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72313 ;
72314 return 0;
72315 }
72316 _ACEOF
72317 if ac_fn_cxx_try_compile "$LINENO"; then :
72318 glibcxx_cv_func__float_trig_use=yes
72319 else
72320 glibcxx_cv_func__float_trig_use=no
72321 fi
72322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72323 ac_ext=c
72324 ac_cpp='$CPP $CPPFLAGS'
72325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72328
72329 fi
72330
72331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72332 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72333 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72334 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72335 do :
72336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72338 eval as_val=\$$as_ac_var
72339 if test "x$as_val" = x""yes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72342 _ACEOF
72343
72344 fi
72345 done
72346
72347 fi
72348 fi
72349
72350
72351
72352
72353
72354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72355 $as_echo_n "checking for float round functions... " >&6; }
72356 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72357 $as_echo_n "(cached) " >&6
72358 else
72359
72360
72361 ac_ext=cpp
72362 ac_cpp='$CXXCPP $CPPFLAGS'
72363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72366
72367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72368 /* end confdefs.h. */
72369 #include <math.h>
72370 int
72371 main ()
72372 {
72373 ceilf (0); floorf (0);
72374 ;
72375 return 0;
72376 }
72377 _ACEOF
72378 if ac_fn_cxx_try_compile "$LINENO"; then :
72379 glibcxx_cv_func_float_round_use=yes
72380 else
72381 glibcxx_cv_func_float_round_use=no
72382 fi
72383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72384 ac_ext=c
72385 ac_cpp='$CPP $CPPFLAGS'
72386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72389
72390 fi
72391
72392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72393 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72394 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72395 for ac_func in ceilf floorf
72396 do :
72397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72399 eval as_val=\$$as_ac_var
72400 if test "x$as_val" = x""yes; then :
72401 cat >>confdefs.h <<_ACEOF
72402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72403 _ACEOF
72404
72405 fi
72406 done
72407
72408 else
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72410 $as_echo_n "checking for _float round functions... " >&6; }
72411 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72412 $as_echo_n "(cached) " >&6
72413 else
72414
72415
72416 ac_ext=cpp
72417 ac_cpp='$CXXCPP $CPPFLAGS'
72418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72421
72422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72423 /* end confdefs.h. */
72424 #include <math.h>
72425 int
72426 main ()
72427 {
72428 _ceilf (0); _floorf (0);
72429 ;
72430 return 0;
72431 }
72432 _ACEOF
72433 if ac_fn_cxx_try_compile "$LINENO"; then :
72434 glibcxx_cv_func__float_round_use=yes
72435 else
72436 glibcxx_cv_func__float_round_use=no
72437 fi
72438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72439 ac_ext=c
72440 ac_cpp='$CPP $CPPFLAGS'
72441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72444
72445 fi
72446
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72448 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72449 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72450 for ac_func in _ceilf _floorf
72451 do :
72452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72454 eval as_val=\$$as_ac_var
72455 if test "x$as_val" = x""yes; then :
72456 cat >>confdefs.h <<_ACEOF
72457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72458 _ACEOF
72459
72460 fi
72461 done
72462
72463 fi
72464 fi
72465
72466
72467
72468
72469
72470
72471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72472 $as_echo_n "checking for expf declaration... " >&6; }
72473 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72474 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72475 $as_echo_n "(cached) " >&6
72476 else
72477
72478
72479 ac_ext=cpp
72480 ac_cpp='$CXXCPP $CPPFLAGS'
72481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72484
72485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72486 /* end confdefs.h. */
72487 #include <math.h>
72488 #ifdef HAVE_IEEEFP_H
72489 #include <ieeefp.h>
72490 #endif
72491
72492 int
72493 main ()
72494 {
72495 expf(0);
72496 ;
72497 return 0;
72498 }
72499 _ACEOF
72500 if ac_fn_cxx_try_compile "$LINENO"; then :
72501 glibcxx_cv_func_expf_use=yes
72502 else
72503 glibcxx_cv_func_expf_use=no
72504 fi
72505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72506 ac_ext=c
72507 ac_cpp='$CPP $CPPFLAGS'
72508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72511
72512
72513 fi
72514
72515 fi
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72517 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72518
72519 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72520 for ac_func in expf
72521 do :
72522 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72523 if test "x$ac_cv_func_expf" = x""yes; then :
72524 cat >>confdefs.h <<_ACEOF
72525 #define HAVE_EXPF 1
72526 _ACEOF
72527
72528 fi
72529 done
72530
72531 else
72532
72533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72534 $as_echo_n "checking for _expf declaration... " >&6; }
72535 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72536 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72537 $as_echo_n "(cached) " >&6
72538 else
72539
72540
72541 ac_ext=cpp
72542 ac_cpp='$CXXCPP $CPPFLAGS'
72543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72546
72547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72548 /* end confdefs.h. */
72549 #include <math.h>
72550 #ifdef HAVE_IEEEFP_H
72551 #include <ieeefp.h>
72552 #endif
72553
72554 int
72555 main ()
72556 {
72557 _expf(0);
72558 ;
72559 return 0;
72560 }
72561 _ACEOF
72562 if ac_fn_cxx_try_compile "$LINENO"; then :
72563 glibcxx_cv_func__expf_use=yes
72564 else
72565 glibcxx_cv_func__expf_use=no
72566 fi
72567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72568 ac_ext=c
72569 ac_cpp='$CPP $CPPFLAGS'
72570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72573
72574
72575 fi
72576
72577 fi
72578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72579 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72580
72581 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72582 for ac_func in _expf
72583 do :
72584 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72585 if test "x$ac_cv_func__expf" = x""yes; then :
72586 cat >>confdefs.h <<_ACEOF
72587 #define HAVE__EXPF 1
72588 _ACEOF
72589
72590 fi
72591 done
72592
72593 fi
72594 fi
72595
72596
72597
72598
72599
72600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72601 $as_echo_n "checking for isnanf declaration... " >&6; }
72602 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72603 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72604 $as_echo_n "(cached) " >&6
72605 else
72606
72607
72608 ac_ext=cpp
72609 ac_cpp='$CXXCPP $CPPFLAGS'
72610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72613
72614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72615 /* end confdefs.h. */
72616 #include <math.h>
72617 #ifdef HAVE_IEEEFP_H
72618 #include <ieeefp.h>
72619 #endif
72620
72621 int
72622 main ()
72623 {
72624 isnanf(0);
72625 ;
72626 return 0;
72627 }
72628 _ACEOF
72629 if ac_fn_cxx_try_compile "$LINENO"; then :
72630 glibcxx_cv_func_isnanf_use=yes
72631 else
72632 glibcxx_cv_func_isnanf_use=no
72633 fi
72634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72635 ac_ext=c
72636 ac_cpp='$CPP $CPPFLAGS'
72637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72640
72641
72642 fi
72643
72644 fi
72645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72646 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72647
72648 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72649 for ac_func in isnanf
72650 do :
72651 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72652 if test "x$ac_cv_func_isnanf" = x""yes; then :
72653 cat >>confdefs.h <<_ACEOF
72654 #define HAVE_ISNANF 1
72655 _ACEOF
72656
72657 fi
72658 done
72659
72660 else
72661
72662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72663 $as_echo_n "checking for _isnanf declaration... " >&6; }
72664 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72665 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72666 $as_echo_n "(cached) " >&6
72667 else
72668
72669
72670 ac_ext=cpp
72671 ac_cpp='$CXXCPP $CPPFLAGS'
72672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72675
72676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72677 /* end confdefs.h. */
72678 #include <math.h>
72679 #ifdef HAVE_IEEEFP_H
72680 #include <ieeefp.h>
72681 #endif
72682
72683 int
72684 main ()
72685 {
72686 _isnanf(0);
72687 ;
72688 return 0;
72689 }
72690 _ACEOF
72691 if ac_fn_cxx_try_compile "$LINENO"; then :
72692 glibcxx_cv_func__isnanf_use=yes
72693 else
72694 glibcxx_cv_func__isnanf_use=no
72695 fi
72696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72697 ac_ext=c
72698 ac_cpp='$CPP $CPPFLAGS'
72699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72702
72703
72704 fi
72705
72706 fi
72707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72708 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72709
72710 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72711 for ac_func in _isnanf
72712 do :
72713 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72714 if test "x$ac_cv_func__isnanf" = x""yes; then :
72715 cat >>confdefs.h <<_ACEOF
72716 #define HAVE__ISNANF 1
72717 _ACEOF
72718
72719 fi
72720 done
72721
72722 fi
72723 fi
72724
72725
72726
72727
72728
72729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72730 $as_echo_n "checking for isinff declaration... " >&6; }
72731 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72732 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72733 $as_echo_n "(cached) " >&6
72734 else
72735
72736
72737 ac_ext=cpp
72738 ac_cpp='$CXXCPP $CPPFLAGS'
72739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72742
72743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72744 /* end confdefs.h. */
72745 #include <math.h>
72746 #ifdef HAVE_IEEEFP_H
72747 #include <ieeefp.h>
72748 #endif
72749
72750 int
72751 main ()
72752 {
72753 isinff(0);
72754 ;
72755 return 0;
72756 }
72757 _ACEOF
72758 if ac_fn_cxx_try_compile "$LINENO"; then :
72759 glibcxx_cv_func_isinff_use=yes
72760 else
72761 glibcxx_cv_func_isinff_use=no
72762 fi
72763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72764 ac_ext=c
72765 ac_cpp='$CPP $CPPFLAGS'
72766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72769
72770
72771 fi
72772
72773 fi
72774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72775 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72776
72777 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72778 for ac_func in isinff
72779 do :
72780 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72781 if test "x$ac_cv_func_isinff" = x""yes; then :
72782 cat >>confdefs.h <<_ACEOF
72783 #define HAVE_ISINFF 1
72784 _ACEOF
72785
72786 fi
72787 done
72788
72789 else
72790
72791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72792 $as_echo_n "checking for _isinff declaration... " >&6; }
72793 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72794 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72795 $as_echo_n "(cached) " >&6
72796 else
72797
72798
72799 ac_ext=cpp
72800 ac_cpp='$CXXCPP $CPPFLAGS'
72801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72804
72805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72806 /* end confdefs.h. */
72807 #include <math.h>
72808 #ifdef HAVE_IEEEFP_H
72809 #include <ieeefp.h>
72810 #endif
72811
72812 int
72813 main ()
72814 {
72815 _isinff(0);
72816 ;
72817 return 0;
72818 }
72819 _ACEOF
72820 if ac_fn_cxx_try_compile "$LINENO"; then :
72821 glibcxx_cv_func__isinff_use=yes
72822 else
72823 glibcxx_cv_func__isinff_use=no
72824 fi
72825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72826 ac_ext=c
72827 ac_cpp='$CPP $CPPFLAGS'
72828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72831
72832
72833 fi
72834
72835 fi
72836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72837 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72838
72839 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72840 for ac_func in _isinff
72841 do :
72842 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72843 if test "x$ac_cv_func__isinff" = x""yes; then :
72844 cat >>confdefs.h <<_ACEOF
72845 #define HAVE__ISINFF 1
72846 _ACEOF
72847
72848 fi
72849 done
72850
72851 fi
72852 fi
72853
72854
72855
72856
72857
72858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72859 $as_echo_n "checking for atan2f declaration... " >&6; }
72860 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72861 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72862 $as_echo_n "(cached) " >&6
72863 else
72864
72865
72866 ac_ext=cpp
72867 ac_cpp='$CXXCPP $CPPFLAGS'
72868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72871
72872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72873 /* end confdefs.h. */
72874 #include <math.h>
72875 int
72876 main ()
72877 {
72878 atan2f(0, 0);
72879 ;
72880 return 0;
72881 }
72882 _ACEOF
72883 if ac_fn_cxx_try_compile "$LINENO"; then :
72884 glibcxx_cv_func_atan2f_use=yes
72885 else
72886 glibcxx_cv_func_atan2f_use=no
72887 fi
72888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72889 ac_ext=c
72890 ac_cpp='$CPP $CPPFLAGS'
72891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72894
72895
72896 fi
72897
72898 fi
72899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72900 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72901
72902 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72903 for ac_func in atan2f
72904 do :
72905 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72906 if test "x$ac_cv_func_atan2f" = x""yes; then :
72907 cat >>confdefs.h <<_ACEOF
72908 #define HAVE_ATAN2F 1
72909 _ACEOF
72910
72911 fi
72912 done
72913
72914 else
72915
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72917 $as_echo_n "checking for _atan2f declaration... " >&6; }
72918 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72919 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72920 $as_echo_n "(cached) " >&6
72921 else
72922
72923
72924 ac_ext=cpp
72925 ac_cpp='$CXXCPP $CPPFLAGS'
72926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72929
72930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72931 /* end confdefs.h. */
72932 #include <math.h>
72933 int
72934 main ()
72935 {
72936 _atan2f(0, 0);
72937 ;
72938 return 0;
72939 }
72940 _ACEOF
72941 if ac_fn_cxx_try_compile "$LINENO"; then :
72942 glibcxx_cv_func__atan2f_use=yes
72943 else
72944 glibcxx_cv_func__atan2f_use=no
72945 fi
72946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72947 ac_ext=c
72948 ac_cpp='$CPP $CPPFLAGS'
72949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72952
72953
72954 fi
72955
72956 fi
72957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72958 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72959
72960 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72961 for ac_func in _atan2f
72962 do :
72963 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72964 if test "x$ac_cv_func__atan2f" = x""yes; then :
72965 cat >>confdefs.h <<_ACEOF
72966 #define HAVE__ATAN2F 1
72967 _ACEOF
72968
72969 fi
72970 done
72971
72972 fi
72973 fi
72974
72975
72976
72977
72978
72979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72980 $as_echo_n "checking for fabsf declaration... " >&6; }
72981 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72982 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72983 $as_echo_n "(cached) " >&6
72984 else
72985
72986
72987 ac_ext=cpp
72988 ac_cpp='$CXXCPP $CPPFLAGS'
72989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72992
72993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72994 /* end confdefs.h. */
72995 #include <math.h>
72996 #ifdef HAVE_IEEEFP_H
72997 #include <ieeefp.h>
72998 #endif
72999
73000 int
73001 main ()
73002 {
73003 fabsf(0);
73004 ;
73005 return 0;
73006 }
73007 _ACEOF
73008 if ac_fn_cxx_try_compile "$LINENO"; then :
73009 glibcxx_cv_func_fabsf_use=yes
73010 else
73011 glibcxx_cv_func_fabsf_use=no
73012 fi
73013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73014 ac_ext=c
73015 ac_cpp='$CPP $CPPFLAGS'
73016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73019
73020
73021 fi
73022
73023 fi
73024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73025 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73026
73027 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73028 for ac_func in fabsf
73029 do :
73030 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73031 if test "x$ac_cv_func_fabsf" = x""yes; then :
73032 cat >>confdefs.h <<_ACEOF
73033 #define HAVE_FABSF 1
73034 _ACEOF
73035
73036 fi
73037 done
73038
73039 else
73040
73041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73042 $as_echo_n "checking for _fabsf declaration... " >&6; }
73043 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73044 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73045 $as_echo_n "(cached) " >&6
73046 else
73047
73048
73049 ac_ext=cpp
73050 ac_cpp='$CXXCPP $CPPFLAGS'
73051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73054
73055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73056 /* end confdefs.h. */
73057 #include <math.h>
73058 #ifdef HAVE_IEEEFP_H
73059 #include <ieeefp.h>
73060 #endif
73061
73062 int
73063 main ()
73064 {
73065 _fabsf(0);
73066 ;
73067 return 0;
73068 }
73069 _ACEOF
73070 if ac_fn_cxx_try_compile "$LINENO"; then :
73071 glibcxx_cv_func__fabsf_use=yes
73072 else
73073 glibcxx_cv_func__fabsf_use=no
73074 fi
73075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73076 ac_ext=c
73077 ac_cpp='$CPP $CPPFLAGS'
73078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73081
73082
73083 fi
73084
73085 fi
73086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73087 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73088
73089 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73090 for ac_func in _fabsf
73091 do :
73092 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73093 if test "x$ac_cv_func__fabsf" = x""yes; then :
73094 cat >>confdefs.h <<_ACEOF
73095 #define HAVE__FABSF 1
73096 _ACEOF
73097
73098 fi
73099 done
73100
73101 fi
73102 fi
73103
73104
73105
73106
73107
73108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73109 $as_echo_n "checking for fmodf declaration... " >&6; }
73110 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73111 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73112 $as_echo_n "(cached) " >&6
73113 else
73114
73115
73116 ac_ext=cpp
73117 ac_cpp='$CXXCPP $CPPFLAGS'
73118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73121
73122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73123 /* end confdefs.h. */
73124 #include <math.h>
73125 int
73126 main ()
73127 {
73128 fmodf(0, 0);
73129 ;
73130 return 0;
73131 }
73132 _ACEOF
73133 if ac_fn_cxx_try_compile "$LINENO"; then :
73134 glibcxx_cv_func_fmodf_use=yes
73135 else
73136 glibcxx_cv_func_fmodf_use=no
73137 fi
73138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73139 ac_ext=c
73140 ac_cpp='$CPP $CPPFLAGS'
73141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73144
73145
73146 fi
73147
73148 fi
73149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73150 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73151
73152 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73153 for ac_func in fmodf
73154 do :
73155 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73156 if test "x$ac_cv_func_fmodf" = x""yes; then :
73157 cat >>confdefs.h <<_ACEOF
73158 #define HAVE_FMODF 1
73159 _ACEOF
73160
73161 fi
73162 done
73163
73164 else
73165
73166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73167 $as_echo_n "checking for _fmodf declaration... " >&6; }
73168 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73169 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73170 $as_echo_n "(cached) " >&6
73171 else
73172
73173
73174 ac_ext=cpp
73175 ac_cpp='$CXXCPP $CPPFLAGS'
73176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73179
73180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73181 /* end confdefs.h. */
73182 #include <math.h>
73183 int
73184 main ()
73185 {
73186 _fmodf(0, 0);
73187 ;
73188 return 0;
73189 }
73190 _ACEOF
73191 if ac_fn_cxx_try_compile "$LINENO"; then :
73192 glibcxx_cv_func__fmodf_use=yes
73193 else
73194 glibcxx_cv_func__fmodf_use=no
73195 fi
73196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73197 ac_ext=c
73198 ac_cpp='$CPP $CPPFLAGS'
73199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73202
73203
73204 fi
73205
73206 fi
73207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73208 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73209
73210 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73211 for ac_func in _fmodf
73212 do :
73213 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73214 if test "x$ac_cv_func__fmodf" = x""yes; then :
73215 cat >>confdefs.h <<_ACEOF
73216 #define HAVE__FMODF 1
73217 _ACEOF
73218
73219 fi
73220 done
73221
73222 fi
73223 fi
73224
73225
73226
73227
73228
73229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73230 $as_echo_n "checking for frexpf declaration... " >&6; }
73231 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73232 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73233 $as_echo_n "(cached) " >&6
73234 else
73235
73236
73237 ac_ext=cpp
73238 ac_cpp='$CXXCPP $CPPFLAGS'
73239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73242
73243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73244 /* end confdefs.h. */
73245 #include <math.h>
73246 int
73247 main ()
73248 {
73249 frexpf(0, 0);
73250 ;
73251 return 0;
73252 }
73253 _ACEOF
73254 if ac_fn_cxx_try_compile "$LINENO"; then :
73255 glibcxx_cv_func_frexpf_use=yes
73256 else
73257 glibcxx_cv_func_frexpf_use=no
73258 fi
73259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73260 ac_ext=c
73261 ac_cpp='$CPP $CPPFLAGS'
73262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73265
73266
73267 fi
73268
73269 fi
73270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73271 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73272
73273 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73274 for ac_func in frexpf
73275 do :
73276 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73277 if test "x$ac_cv_func_frexpf" = x""yes; then :
73278 cat >>confdefs.h <<_ACEOF
73279 #define HAVE_FREXPF 1
73280 _ACEOF
73281
73282 fi
73283 done
73284
73285 else
73286
73287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73288 $as_echo_n "checking for _frexpf declaration... " >&6; }
73289 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73290 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73291 $as_echo_n "(cached) " >&6
73292 else
73293
73294
73295 ac_ext=cpp
73296 ac_cpp='$CXXCPP $CPPFLAGS'
73297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73300
73301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73302 /* end confdefs.h. */
73303 #include <math.h>
73304 int
73305 main ()
73306 {
73307 _frexpf(0, 0);
73308 ;
73309 return 0;
73310 }
73311 _ACEOF
73312 if ac_fn_cxx_try_compile "$LINENO"; then :
73313 glibcxx_cv_func__frexpf_use=yes
73314 else
73315 glibcxx_cv_func__frexpf_use=no
73316 fi
73317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73318 ac_ext=c
73319 ac_cpp='$CPP $CPPFLAGS'
73320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73323
73324
73325 fi
73326
73327 fi
73328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73329 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73330
73331 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73332 for ac_func in _frexpf
73333 do :
73334 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73335 if test "x$ac_cv_func__frexpf" = x""yes; then :
73336 cat >>confdefs.h <<_ACEOF
73337 #define HAVE__FREXPF 1
73338 _ACEOF
73339
73340 fi
73341 done
73342
73343 fi
73344 fi
73345
73346
73347
73348
73349
73350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73351 $as_echo_n "checking for hypotf declaration... " >&6; }
73352 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73353 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73354 $as_echo_n "(cached) " >&6
73355 else
73356
73357
73358 ac_ext=cpp
73359 ac_cpp='$CXXCPP $CPPFLAGS'
73360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73363
73364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73365 /* end confdefs.h. */
73366 #include <math.h>
73367 int
73368 main ()
73369 {
73370 hypotf(0, 0);
73371 ;
73372 return 0;
73373 }
73374 _ACEOF
73375 if ac_fn_cxx_try_compile "$LINENO"; then :
73376 glibcxx_cv_func_hypotf_use=yes
73377 else
73378 glibcxx_cv_func_hypotf_use=no
73379 fi
73380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73381 ac_ext=c
73382 ac_cpp='$CPP $CPPFLAGS'
73383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73386
73387
73388 fi
73389
73390 fi
73391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73392 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73393
73394 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73395 for ac_func in hypotf
73396 do :
73397 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73398 if test "x$ac_cv_func_hypotf" = x""yes; then :
73399 cat >>confdefs.h <<_ACEOF
73400 #define HAVE_HYPOTF 1
73401 _ACEOF
73402
73403 fi
73404 done
73405
73406 else
73407
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73409 $as_echo_n "checking for _hypotf declaration... " >&6; }
73410 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73411 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73412 $as_echo_n "(cached) " >&6
73413 else
73414
73415
73416 ac_ext=cpp
73417 ac_cpp='$CXXCPP $CPPFLAGS'
73418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73421
73422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73423 /* end confdefs.h. */
73424 #include <math.h>
73425 int
73426 main ()
73427 {
73428 _hypotf(0, 0);
73429 ;
73430 return 0;
73431 }
73432 _ACEOF
73433 if ac_fn_cxx_try_compile "$LINENO"; then :
73434 glibcxx_cv_func__hypotf_use=yes
73435 else
73436 glibcxx_cv_func__hypotf_use=no
73437 fi
73438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73439 ac_ext=c
73440 ac_cpp='$CPP $CPPFLAGS'
73441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73444
73445
73446 fi
73447
73448 fi
73449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73450 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73451
73452 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73453 for ac_func in _hypotf
73454 do :
73455 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73456 if test "x$ac_cv_func__hypotf" = x""yes; then :
73457 cat >>confdefs.h <<_ACEOF
73458 #define HAVE__HYPOTF 1
73459 _ACEOF
73460
73461 fi
73462 done
73463
73464 fi
73465 fi
73466
73467
73468
73469
73470
73471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73472 $as_echo_n "checking for ldexpf declaration... " >&6; }
73473 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73474 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73475 $as_echo_n "(cached) " >&6
73476 else
73477
73478
73479 ac_ext=cpp
73480 ac_cpp='$CXXCPP $CPPFLAGS'
73481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73484
73485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73486 /* end confdefs.h. */
73487 #include <math.h>
73488 int
73489 main ()
73490 {
73491 ldexpf(0, 0);
73492 ;
73493 return 0;
73494 }
73495 _ACEOF
73496 if ac_fn_cxx_try_compile "$LINENO"; then :
73497 glibcxx_cv_func_ldexpf_use=yes
73498 else
73499 glibcxx_cv_func_ldexpf_use=no
73500 fi
73501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73502 ac_ext=c
73503 ac_cpp='$CPP $CPPFLAGS'
73504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73507
73508
73509 fi
73510
73511 fi
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73513 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73514
73515 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73516 for ac_func in ldexpf
73517 do :
73518 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73519 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73520 cat >>confdefs.h <<_ACEOF
73521 #define HAVE_LDEXPF 1
73522 _ACEOF
73523
73524 fi
73525 done
73526
73527 else
73528
73529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73530 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73531 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73532 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73533 $as_echo_n "(cached) " >&6
73534 else
73535
73536
73537 ac_ext=cpp
73538 ac_cpp='$CXXCPP $CPPFLAGS'
73539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73542
73543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73544 /* end confdefs.h. */
73545 #include <math.h>
73546 int
73547 main ()
73548 {
73549 _ldexpf(0, 0);
73550 ;
73551 return 0;
73552 }
73553 _ACEOF
73554 if ac_fn_cxx_try_compile "$LINENO"; then :
73555 glibcxx_cv_func__ldexpf_use=yes
73556 else
73557 glibcxx_cv_func__ldexpf_use=no
73558 fi
73559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73560 ac_ext=c
73561 ac_cpp='$CPP $CPPFLAGS'
73562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73565
73566
73567 fi
73568
73569 fi
73570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73571 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73572
73573 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73574 for ac_func in _ldexpf
73575 do :
73576 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73577 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73578 cat >>confdefs.h <<_ACEOF
73579 #define HAVE__LDEXPF 1
73580 _ACEOF
73581
73582 fi
73583 done
73584
73585 fi
73586 fi
73587
73588
73589
73590
73591
73592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73593 $as_echo_n "checking for logf declaration... " >&6; }
73594 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73595 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73596 $as_echo_n "(cached) " >&6
73597 else
73598
73599
73600 ac_ext=cpp
73601 ac_cpp='$CXXCPP $CPPFLAGS'
73602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73605
73606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73607 /* end confdefs.h. */
73608 #include <math.h>
73609 #ifdef HAVE_IEEEFP_H
73610 #include <ieeefp.h>
73611 #endif
73612
73613 int
73614 main ()
73615 {
73616 logf(0);
73617 ;
73618 return 0;
73619 }
73620 _ACEOF
73621 if ac_fn_cxx_try_compile "$LINENO"; then :
73622 glibcxx_cv_func_logf_use=yes
73623 else
73624 glibcxx_cv_func_logf_use=no
73625 fi
73626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73627 ac_ext=c
73628 ac_cpp='$CPP $CPPFLAGS'
73629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73632
73633
73634 fi
73635
73636 fi
73637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73638 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73639
73640 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73641 for ac_func in logf
73642 do :
73643 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73644 if test "x$ac_cv_func_logf" = x""yes; then :
73645 cat >>confdefs.h <<_ACEOF
73646 #define HAVE_LOGF 1
73647 _ACEOF
73648
73649 fi
73650 done
73651
73652 else
73653
73654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73655 $as_echo_n "checking for _logf declaration... " >&6; }
73656 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73657 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73658 $as_echo_n "(cached) " >&6
73659 else
73660
73661
73662 ac_ext=cpp
73663 ac_cpp='$CXXCPP $CPPFLAGS'
73664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73667
73668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73669 /* end confdefs.h. */
73670 #include <math.h>
73671 #ifdef HAVE_IEEEFP_H
73672 #include <ieeefp.h>
73673 #endif
73674
73675 int
73676 main ()
73677 {
73678 _logf(0);
73679 ;
73680 return 0;
73681 }
73682 _ACEOF
73683 if ac_fn_cxx_try_compile "$LINENO"; then :
73684 glibcxx_cv_func__logf_use=yes
73685 else
73686 glibcxx_cv_func__logf_use=no
73687 fi
73688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73689 ac_ext=c
73690 ac_cpp='$CPP $CPPFLAGS'
73691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73694
73695
73696 fi
73697
73698 fi
73699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73700 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73701
73702 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73703 for ac_func in _logf
73704 do :
73705 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73706 if test "x$ac_cv_func__logf" = x""yes; then :
73707 cat >>confdefs.h <<_ACEOF
73708 #define HAVE__LOGF 1
73709 _ACEOF
73710
73711 fi
73712 done
73713
73714 fi
73715 fi
73716
73717
73718
73719
73720
73721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73722 $as_echo_n "checking for log10f declaration... " >&6; }
73723 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73724 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73725 $as_echo_n "(cached) " >&6
73726 else
73727
73728
73729 ac_ext=cpp
73730 ac_cpp='$CXXCPP $CPPFLAGS'
73731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73734
73735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73736 /* end confdefs.h. */
73737 #include <math.h>
73738 #ifdef HAVE_IEEEFP_H
73739 #include <ieeefp.h>
73740 #endif
73741
73742 int
73743 main ()
73744 {
73745 log10f(0);
73746 ;
73747 return 0;
73748 }
73749 _ACEOF
73750 if ac_fn_cxx_try_compile "$LINENO"; then :
73751 glibcxx_cv_func_log10f_use=yes
73752 else
73753 glibcxx_cv_func_log10f_use=no
73754 fi
73755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73756 ac_ext=c
73757 ac_cpp='$CPP $CPPFLAGS'
73758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73761
73762
73763 fi
73764
73765 fi
73766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73767 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73768
73769 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73770 for ac_func in log10f
73771 do :
73772 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73773 if test "x$ac_cv_func_log10f" = x""yes; then :
73774 cat >>confdefs.h <<_ACEOF
73775 #define HAVE_LOG10F 1
73776 _ACEOF
73777
73778 fi
73779 done
73780
73781 else
73782
73783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73784 $as_echo_n "checking for _log10f declaration... " >&6; }
73785 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73786 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73787 $as_echo_n "(cached) " >&6
73788 else
73789
73790
73791 ac_ext=cpp
73792 ac_cpp='$CXXCPP $CPPFLAGS'
73793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73796
73797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73798 /* end confdefs.h. */
73799 #include <math.h>
73800 #ifdef HAVE_IEEEFP_H
73801 #include <ieeefp.h>
73802 #endif
73803
73804 int
73805 main ()
73806 {
73807 _log10f(0);
73808 ;
73809 return 0;
73810 }
73811 _ACEOF
73812 if ac_fn_cxx_try_compile "$LINENO"; then :
73813 glibcxx_cv_func__log10f_use=yes
73814 else
73815 glibcxx_cv_func__log10f_use=no
73816 fi
73817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73818 ac_ext=c
73819 ac_cpp='$CPP $CPPFLAGS'
73820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73823
73824
73825 fi
73826
73827 fi
73828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73829 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73830
73831 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73832 for ac_func in _log10f
73833 do :
73834 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73835 if test "x$ac_cv_func__log10f" = x""yes; then :
73836 cat >>confdefs.h <<_ACEOF
73837 #define HAVE__LOG10F 1
73838 _ACEOF
73839
73840 fi
73841 done
73842
73843 fi
73844 fi
73845
73846
73847
73848
73849
73850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73851 $as_echo_n "checking for modff declaration... " >&6; }
73852 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73853 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73854 $as_echo_n "(cached) " >&6
73855 else
73856
73857
73858 ac_ext=cpp
73859 ac_cpp='$CXXCPP $CPPFLAGS'
73860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73863
73864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73865 /* end confdefs.h. */
73866 #include <math.h>
73867 int
73868 main ()
73869 {
73870 modff(0, 0);
73871 ;
73872 return 0;
73873 }
73874 _ACEOF
73875 if ac_fn_cxx_try_compile "$LINENO"; then :
73876 glibcxx_cv_func_modff_use=yes
73877 else
73878 glibcxx_cv_func_modff_use=no
73879 fi
73880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73881 ac_ext=c
73882 ac_cpp='$CPP $CPPFLAGS'
73883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73886
73887
73888 fi
73889
73890 fi
73891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73892 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73893
73894 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73895 for ac_func in modff
73896 do :
73897 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73898 if test "x$ac_cv_func_modff" = x""yes; then :
73899 cat >>confdefs.h <<_ACEOF
73900 #define HAVE_MODFF 1
73901 _ACEOF
73902
73903 fi
73904 done
73905
73906 else
73907
73908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73909 $as_echo_n "checking for _modff declaration... " >&6; }
73910 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73911 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73912 $as_echo_n "(cached) " >&6
73913 else
73914
73915
73916 ac_ext=cpp
73917 ac_cpp='$CXXCPP $CPPFLAGS'
73918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73921
73922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73923 /* end confdefs.h. */
73924 #include <math.h>
73925 int
73926 main ()
73927 {
73928 _modff(0, 0);
73929 ;
73930 return 0;
73931 }
73932 _ACEOF
73933 if ac_fn_cxx_try_compile "$LINENO"; then :
73934 glibcxx_cv_func__modff_use=yes
73935 else
73936 glibcxx_cv_func__modff_use=no
73937 fi
73938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73939 ac_ext=c
73940 ac_cpp='$CPP $CPPFLAGS'
73941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73944
73945
73946 fi
73947
73948 fi
73949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73950 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73951
73952 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73953 for ac_func in _modff
73954 do :
73955 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73956 if test "x$ac_cv_func__modff" = x""yes; then :
73957 cat >>confdefs.h <<_ACEOF
73958 #define HAVE__MODFF 1
73959 _ACEOF
73960
73961 fi
73962 done
73963
73964 fi
73965 fi
73966
73967
73968
73969
73970
73971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73972 $as_echo_n "checking for modf declaration... " >&6; }
73973 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73974 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73975 $as_echo_n "(cached) " >&6
73976 else
73977
73978
73979 ac_ext=cpp
73980 ac_cpp='$CXXCPP $CPPFLAGS'
73981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73984
73985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73986 /* end confdefs.h. */
73987 #include <math.h>
73988 int
73989 main ()
73990 {
73991 modf(0, 0);
73992 ;
73993 return 0;
73994 }
73995 _ACEOF
73996 if ac_fn_cxx_try_compile "$LINENO"; then :
73997 glibcxx_cv_func_modf_use=yes
73998 else
73999 glibcxx_cv_func_modf_use=no
74000 fi
74001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74002 ac_ext=c
74003 ac_cpp='$CPP $CPPFLAGS'
74004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74007
74008
74009 fi
74010
74011 fi
74012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74013 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74014
74015 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74016 for ac_func in modf
74017 do :
74018 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74019 if test "x$ac_cv_func_modf" = x""yes; then :
74020 cat >>confdefs.h <<_ACEOF
74021 #define HAVE_MODF 1
74022 _ACEOF
74023
74024 fi
74025 done
74026
74027 else
74028
74029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74030 $as_echo_n "checking for _modf declaration... " >&6; }
74031 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74032 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74033 $as_echo_n "(cached) " >&6
74034 else
74035
74036
74037 ac_ext=cpp
74038 ac_cpp='$CXXCPP $CPPFLAGS'
74039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74042
74043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74044 /* end confdefs.h. */
74045 #include <math.h>
74046 int
74047 main ()
74048 {
74049 _modf(0, 0);
74050 ;
74051 return 0;
74052 }
74053 _ACEOF
74054 if ac_fn_cxx_try_compile "$LINENO"; then :
74055 glibcxx_cv_func__modf_use=yes
74056 else
74057 glibcxx_cv_func__modf_use=no
74058 fi
74059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74060 ac_ext=c
74061 ac_cpp='$CPP $CPPFLAGS'
74062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74065
74066
74067 fi
74068
74069 fi
74070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74071 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74072
74073 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74074 for ac_func in _modf
74075 do :
74076 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74077 if test "x$ac_cv_func__modf" = x""yes; then :
74078 cat >>confdefs.h <<_ACEOF
74079 #define HAVE__MODF 1
74080 _ACEOF
74081
74082 fi
74083 done
74084
74085 fi
74086 fi
74087
74088
74089
74090
74091
74092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74093 $as_echo_n "checking for powf declaration... " >&6; }
74094 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74095 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74096 $as_echo_n "(cached) " >&6
74097 else
74098
74099
74100 ac_ext=cpp
74101 ac_cpp='$CXXCPP $CPPFLAGS'
74102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74105
74106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74107 /* end confdefs.h. */
74108 #include <math.h>
74109 int
74110 main ()
74111 {
74112 powf(0, 0);
74113 ;
74114 return 0;
74115 }
74116 _ACEOF
74117 if ac_fn_cxx_try_compile "$LINENO"; then :
74118 glibcxx_cv_func_powf_use=yes
74119 else
74120 glibcxx_cv_func_powf_use=no
74121 fi
74122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74123 ac_ext=c
74124 ac_cpp='$CPP $CPPFLAGS'
74125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74128
74129
74130 fi
74131
74132 fi
74133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74134 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74135
74136 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74137 for ac_func in powf
74138 do :
74139 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74140 if test "x$ac_cv_func_powf" = x""yes; then :
74141 cat >>confdefs.h <<_ACEOF
74142 #define HAVE_POWF 1
74143 _ACEOF
74144
74145 fi
74146 done
74147
74148 else
74149
74150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74151 $as_echo_n "checking for _powf declaration... " >&6; }
74152 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74153 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74154 $as_echo_n "(cached) " >&6
74155 else
74156
74157
74158 ac_ext=cpp
74159 ac_cpp='$CXXCPP $CPPFLAGS'
74160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74163
74164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74165 /* end confdefs.h. */
74166 #include <math.h>
74167 int
74168 main ()
74169 {
74170 _powf(0, 0);
74171 ;
74172 return 0;
74173 }
74174 _ACEOF
74175 if ac_fn_cxx_try_compile "$LINENO"; then :
74176 glibcxx_cv_func__powf_use=yes
74177 else
74178 glibcxx_cv_func__powf_use=no
74179 fi
74180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74181 ac_ext=c
74182 ac_cpp='$CPP $CPPFLAGS'
74183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74186
74187
74188 fi
74189
74190 fi
74191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74192 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74193
74194 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74195 for ac_func in _powf
74196 do :
74197 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74198 if test "x$ac_cv_func__powf" = x""yes; then :
74199 cat >>confdefs.h <<_ACEOF
74200 #define HAVE__POWF 1
74201 _ACEOF
74202
74203 fi
74204 done
74205
74206 fi
74207 fi
74208
74209
74210
74211
74212
74213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74214 $as_echo_n "checking for sqrtf declaration... " >&6; }
74215 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74216 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74217 $as_echo_n "(cached) " >&6
74218 else
74219
74220
74221 ac_ext=cpp
74222 ac_cpp='$CXXCPP $CPPFLAGS'
74223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74226
74227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74228 /* end confdefs.h. */
74229 #include <math.h>
74230 #ifdef HAVE_IEEEFP_H
74231 #include <ieeefp.h>
74232 #endif
74233
74234 int
74235 main ()
74236 {
74237 sqrtf(0);
74238 ;
74239 return 0;
74240 }
74241 _ACEOF
74242 if ac_fn_cxx_try_compile "$LINENO"; then :
74243 glibcxx_cv_func_sqrtf_use=yes
74244 else
74245 glibcxx_cv_func_sqrtf_use=no
74246 fi
74247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74248 ac_ext=c
74249 ac_cpp='$CPP $CPPFLAGS'
74250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74253
74254
74255 fi
74256
74257 fi
74258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74259 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74260
74261 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74262 for ac_func in sqrtf
74263 do :
74264 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74265 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74266 cat >>confdefs.h <<_ACEOF
74267 #define HAVE_SQRTF 1
74268 _ACEOF
74269
74270 fi
74271 done
74272
74273 else
74274
74275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74276 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74277 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74278 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74279 $as_echo_n "(cached) " >&6
74280 else
74281
74282
74283 ac_ext=cpp
74284 ac_cpp='$CXXCPP $CPPFLAGS'
74285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74288
74289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74290 /* end confdefs.h. */
74291 #include <math.h>
74292 #ifdef HAVE_IEEEFP_H
74293 #include <ieeefp.h>
74294 #endif
74295
74296 int
74297 main ()
74298 {
74299 _sqrtf(0);
74300 ;
74301 return 0;
74302 }
74303 _ACEOF
74304 if ac_fn_cxx_try_compile "$LINENO"; then :
74305 glibcxx_cv_func__sqrtf_use=yes
74306 else
74307 glibcxx_cv_func__sqrtf_use=no
74308 fi
74309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74310 ac_ext=c
74311 ac_cpp='$CPP $CPPFLAGS'
74312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74315
74316
74317 fi
74318
74319 fi
74320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74321 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74322
74323 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74324 for ac_func in _sqrtf
74325 do :
74326 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74327 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74328 cat >>confdefs.h <<_ACEOF
74329 #define HAVE__SQRTF 1
74330 _ACEOF
74331
74332 fi
74333 done
74334
74335 fi
74336 fi
74337
74338
74339
74340
74341
74342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74343 $as_echo_n "checking for sincosf declaration... " >&6; }
74344 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74345 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74346 $as_echo_n "(cached) " >&6
74347 else
74348
74349
74350 ac_ext=cpp
74351 ac_cpp='$CXXCPP $CPPFLAGS'
74352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74355
74356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74357 /* end confdefs.h. */
74358 #include <math.h>
74359 int
74360 main ()
74361 {
74362 sincosf(0, 0, 0);
74363 ;
74364 return 0;
74365 }
74366 _ACEOF
74367 if ac_fn_cxx_try_compile "$LINENO"; then :
74368 glibcxx_cv_func_sincosf_use=yes
74369 else
74370 glibcxx_cv_func_sincosf_use=no
74371 fi
74372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74373 ac_ext=c
74374 ac_cpp='$CPP $CPPFLAGS'
74375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74378
74379
74380 fi
74381
74382 fi
74383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74384 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74385
74386 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74387 for ac_func in sincosf
74388 do :
74389 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74390 if test "x$ac_cv_func_sincosf" = x""yes; then :
74391 cat >>confdefs.h <<_ACEOF
74392 #define HAVE_SINCOSF 1
74393 _ACEOF
74394
74395 fi
74396 done
74397
74398 else
74399
74400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74401 $as_echo_n "checking for _sincosf declaration... " >&6; }
74402 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74403 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74404 $as_echo_n "(cached) " >&6
74405 else
74406
74407
74408 ac_ext=cpp
74409 ac_cpp='$CXXCPP $CPPFLAGS'
74410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74413
74414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74415 /* end confdefs.h. */
74416 #include <math.h>
74417 int
74418 main ()
74419 {
74420 _sincosf(0, 0, 0);
74421 ;
74422 return 0;
74423 }
74424 _ACEOF
74425 if ac_fn_cxx_try_compile "$LINENO"; then :
74426 glibcxx_cv_func__sincosf_use=yes
74427 else
74428 glibcxx_cv_func__sincosf_use=no
74429 fi
74430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74431 ac_ext=c
74432 ac_cpp='$CPP $CPPFLAGS'
74433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74436
74437
74438 fi
74439
74440 fi
74441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74442 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74443
74444 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74445 for ac_func in _sincosf
74446 do :
74447 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74448 if test "x$ac_cv_func__sincosf" = x""yes; then :
74449 cat >>confdefs.h <<_ACEOF
74450 #define HAVE__SINCOSF 1
74451 _ACEOF
74452
74453 fi
74454 done
74455
74456 fi
74457 fi
74458
74459
74460
74461
74462
74463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74464 $as_echo_n "checking for finitef declaration... " >&6; }
74465 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74466 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74467 $as_echo_n "(cached) " >&6
74468 else
74469
74470
74471 ac_ext=cpp
74472 ac_cpp='$CXXCPP $CPPFLAGS'
74473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74476
74477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74478 /* end confdefs.h. */
74479 #include <math.h>
74480 #ifdef HAVE_IEEEFP_H
74481 #include <ieeefp.h>
74482 #endif
74483
74484 int
74485 main ()
74486 {
74487 finitef(0);
74488 ;
74489 return 0;
74490 }
74491 _ACEOF
74492 if ac_fn_cxx_try_compile "$LINENO"; then :
74493 glibcxx_cv_func_finitef_use=yes
74494 else
74495 glibcxx_cv_func_finitef_use=no
74496 fi
74497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74498 ac_ext=c
74499 ac_cpp='$CPP $CPPFLAGS'
74500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74503
74504
74505 fi
74506
74507 fi
74508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74509 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74510
74511 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74512 for ac_func in finitef
74513 do :
74514 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74515 if test "x$ac_cv_func_finitef" = x""yes; then :
74516 cat >>confdefs.h <<_ACEOF
74517 #define HAVE_FINITEF 1
74518 _ACEOF
74519
74520 fi
74521 done
74522
74523 else
74524
74525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74526 $as_echo_n "checking for _finitef declaration... " >&6; }
74527 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74528 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74529 $as_echo_n "(cached) " >&6
74530 else
74531
74532
74533 ac_ext=cpp
74534 ac_cpp='$CXXCPP $CPPFLAGS'
74535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74538
74539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74540 /* end confdefs.h. */
74541 #include <math.h>
74542 #ifdef HAVE_IEEEFP_H
74543 #include <ieeefp.h>
74544 #endif
74545
74546 int
74547 main ()
74548 {
74549 _finitef(0);
74550 ;
74551 return 0;
74552 }
74553 _ACEOF
74554 if ac_fn_cxx_try_compile "$LINENO"; then :
74555 glibcxx_cv_func__finitef_use=yes
74556 else
74557 glibcxx_cv_func__finitef_use=no
74558 fi
74559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74560 ac_ext=c
74561 ac_cpp='$CPP $CPPFLAGS'
74562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74565
74566
74567 fi
74568
74569 fi
74570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74571 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74572
74573 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74574 for ac_func in _finitef
74575 do :
74576 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74577 if test "x$ac_cv_func__finitef" = x""yes; then :
74578 cat >>confdefs.h <<_ACEOF
74579 #define HAVE__FINITEF 1
74580 _ACEOF
74581
74582 fi
74583 done
74584
74585 fi
74586 fi
74587
74588
74589
74590
74591
74592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74593 $as_echo_n "checking for long double trig functions... " >&6; }
74594 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74595 $as_echo_n "(cached) " >&6
74596 else
74597
74598
74599 ac_ext=cpp
74600 ac_cpp='$CXXCPP $CPPFLAGS'
74601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74604
74605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74606 /* end confdefs.h. */
74607 #include <math.h>
74608 int
74609 main ()
74610 {
74611 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74612 ;
74613 return 0;
74614 }
74615 _ACEOF
74616 if ac_fn_cxx_try_compile "$LINENO"; then :
74617 glibcxx_cv_func_long_double_trig_use=yes
74618 else
74619 glibcxx_cv_func_long_double_trig_use=no
74620 fi
74621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74622 ac_ext=c
74623 ac_cpp='$CPP $CPPFLAGS'
74624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74627
74628 fi
74629
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74631 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74632 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74633 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74634 do :
74635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74637 eval as_val=\$$as_ac_var
74638 if test "x$as_val" = x""yes; then :
74639 cat >>confdefs.h <<_ACEOF
74640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74641 _ACEOF
74642
74643 fi
74644 done
74645
74646 else
74647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74648 $as_echo_n "checking for _long double trig functions... " >&6; }
74649 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74650 $as_echo_n "(cached) " >&6
74651 else
74652
74653
74654 ac_ext=cpp
74655 ac_cpp='$CXXCPP $CPPFLAGS'
74656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74659
74660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74661 /* end confdefs.h. */
74662 #include <math.h>
74663 int
74664 main ()
74665 {
74666 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74667 ;
74668 return 0;
74669 }
74670 _ACEOF
74671 if ac_fn_cxx_try_compile "$LINENO"; then :
74672 glibcxx_cv_func__long_double_trig_use=yes
74673 else
74674 glibcxx_cv_func__long_double_trig_use=no
74675 fi
74676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74677 ac_ext=c
74678 ac_cpp='$CPP $CPPFLAGS'
74679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74682
74683 fi
74684
74685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74686 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74687 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74688 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74689 do :
74690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74692 eval as_val=\$$as_ac_var
74693 if test "x$as_val" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74696 _ACEOF
74697
74698 fi
74699 done
74700
74701 fi
74702 fi
74703
74704
74705
74706
74707
74708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74709 $as_echo_n "checking for long double round functions... " >&6; }
74710 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74711 $as_echo_n "(cached) " >&6
74712 else
74713
74714
74715 ac_ext=cpp
74716 ac_cpp='$CXXCPP $CPPFLAGS'
74717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74720
74721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74722 /* end confdefs.h. */
74723 #include <math.h>
74724 int
74725 main ()
74726 {
74727 ceill (0); floorl (0);
74728 ;
74729 return 0;
74730 }
74731 _ACEOF
74732 if ac_fn_cxx_try_compile "$LINENO"; then :
74733 glibcxx_cv_func_long_double_round_use=yes
74734 else
74735 glibcxx_cv_func_long_double_round_use=no
74736 fi
74737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74738 ac_ext=c
74739 ac_cpp='$CPP $CPPFLAGS'
74740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74743
74744 fi
74745
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74747 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74748 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74749 for ac_func in ceill floorl
74750 do :
74751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74753 eval as_val=\$$as_ac_var
74754 if test "x$as_val" = x""yes; then :
74755 cat >>confdefs.h <<_ACEOF
74756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74757 _ACEOF
74758
74759 fi
74760 done
74761
74762 else
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74764 $as_echo_n "checking for _long double round functions... " >&6; }
74765 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74766 $as_echo_n "(cached) " >&6
74767 else
74768
74769
74770 ac_ext=cpp
74771 ac_cpp='$CXXCPP $CPPFLAGS'
74772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74775
74776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74777 /* end confdefs.h. */
74778 #include <math.h>
74779 int
74780 main ()
74781 {
74782 _ceill (0); _floorl (0);
74783 ;
74784 return 0;
74785 }
74786 _ACEOF
74787 if ac_fn_cxx_try_compile "$LINENO"; then :
74788 glibcxx_cv_func__long_double_round_use=yes
74789 else
74790 glibcxx_cv_func__long_double_round_use=no
74791 fi
74792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74793 ac_ext=c
74794 ac_cpp='$CPP $CPPFLAGS'
74795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74798
74799 fi
74800
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74802 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74803 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74804 for ac_func in _ceill _floorl
74805 do :
74806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74808 eval as_val=\$$as_ac_var
74809 if test "x$as_val" = x""yes; then :
74810 cat >>confdefs.h <<_ACEOF
74811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74812 _ACEOF
74813
74814 fi
74815 done
74816
74817 fi
74818 fi
74819
74820
74821
74822
74823
74824
74825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74826 $as_echo_n "checking for isnanl declaration... " >&6; }
74827 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74828 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74829 $as_echo_n "(cached) " >&6
74830 else
74831
74832
74833 ac_ext=cpp
74834 ac_cpp='$CXXCPP $CPPFLAGS'
74835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74838
74839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74840 /* end confdefs.h. */
74841 #include <math.h>
74842 #ifdef HAVE_IEEEFP_H
74843 #include <ieeefp.h>
74844 #endif
74845
74846 int
74847 main ()
74848 {
74849 isnanl(0);
74850 ;
74851 return 0;
74852 }
74853 _ACEOF
74854 if ac_fn_cxx_try_compile "$LINENO"; then :
74855 glibcxx_cv_func_isnanl_use=yes
74856 else
74857 glibcxx_cv_func_isnanl_use=no
74858 fi
74859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74860 ac_ext=c
74861 ac_cpp='$CPP $CPPFLAGS'
74862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74865
74866
74867 fi
74868
74869 fi
74870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74871 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74872
74873 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74874 for ac_func in isnanl
74875 do :
74876 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74877 if test "x$ac_cv_func_isnanl" = x""yes; then :
74878 cat >>confdefs.h <<_ACEOF
74879 #define HAVE_ISNANL 1
74880 _ACEOF
74881
74882 fi
74883 done
74884
74885 else
74886
74887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74888 $as_echo_n "checking for _isnanl declaration... " >&6; }
74889 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74890 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74891 $as_echo_n "(cached) " >&6
74892 else
74893
74894
74895 ac_ext=cpp
74896 ac_cpp='$CXXCPP $CPPFLAGS'
74897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74900
74901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74902 /* end confdefs.h. */
74903 #include <math.h>
74904 #ifdef HAVE_IEEEFP_H
74905 #include <ieeefp.h>
74906 #endif
74907
74908 int
74909 main ()
74910 {
74911 _isnanl(0);
74912 ;
74913 return 0;
74914 }
74915 _ACEOF
74916 if ac_fn_cxx_try_compile "$LINENO"; then :
74917 glibcxx_cv_func__isnanl_use=yes
74918 else
74919 glibcxx_cv_func__isnanl_use=no
74920 fi
74921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74922 ac_ext=c
74923 ac_cpp='$CPP $CPPFLAGS'
74924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74927
74928
74929 fi
74930
74931 fi
74932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74933 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74934
74935 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74936 for ac_func in _isnanl
74937 do :
74938 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74939 if test "x$ac_cv_func__isnanl" = x""yes; then :
74940 cat >>confdefs.h <<_ACEOF
74941 #define HAVE__ISNANL 1
74942 _ACEOF
74943
74944 fi
74945 done
74946
74947 fi
74948 fi
74949
74950
74951
74952
74953
74954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74955 $as_echo_n "checking for isinfl declaration... " >&6; }
74956 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74957 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74958 $as_echo_n "(cached) " >&6
74959 else
74960
74961
74962 ac_ext=cpp
74963 ac_cpp='$CXXCPP $CPPFLAGS'
74964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74967
74968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74969 /* end confdefs.h. */
74970 #include <math.h>
74971 #ifdef HAVE_IEEEFP_H
74972 #include <ieeefp.h>
74973 #endif
74974
74975 int
74976 main ()
74977 {
74978 isinfl(0);
74979 ;
74980 return 0;
74981 }
74982 _ACEOF
74983 if ac_fn_cxx_try_compile "$LINENO"; then :
74984 glibcxx_cv_func_isinfl_use=yes
74985 else
74986 glibcxx_cv_func_isinfl_use=no
74987 fi
74988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74989 ac_ext=c
74990 ac_cpp='$CPP $CPPFLAGS'
74991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74994
74995
74996 fi
74997
74998 fi
74999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75000 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75001
75002 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75003 for ac_func in isinfl
75004 do :
75005 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75006 if test "x$ac_cv_func_isinfl" = x""yes; then :
75007 cat >>confdefs.h <<_ACEOF
75008 #define HAVE_ISINFL 1
75009 _ACEOF
75010
75011 fi
75012 done
75013
75014 else
75015
75016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75017 $as_echo_n "checking for _isinfl declaration... " >&6; }
75018 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75019 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75020 $as_echo_n "(cached) " >&6
75021 else
75022
75023
75024 ac_ext=cpp
75025 ac_cpp='$CXXCPP $CPPFLAGS'
75026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75029
75030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75031 /* end confdefs.h. */
75032 #include <math.h>
75033 #ifdef HAVE_IEEEFP_H
75034 #include <ieeefp.h>
75035 #endif
75036
75037 int
75038 main ()
75039 {
75040 _isinfl(0);
75041 ;
75042 return 0;
75043 }
75044 _ACEOF
75045 if ac_fn_cxx_try_compile "$LINENO"; then :
75046 glibcxx_cv_func__isinfl_use=yes
75047 else
75048 glibcxx_cv_func__isinfl_use=no
75049 fi
75050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75051 ac_ext=c
75052 ac_cpp='$CPP $CPPFLAGS'
75053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75056
75057
75058 fi
75059
75060 fi
75061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75062 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75063
75064 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75065 for ac_func in _isinfl
75066 do :
75067 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75068 if test "x$ac_cv_func__isinfl" = x""yes; then :
75069 cat >>confdefs.h <<_ACEOF
75070 #define HAVE__ISINFL 1
75071 _ACEOF
75072
75073 fi
75074 done
75075
75076 fi
75077 fi
75078
75079
75080
75081
75082
75083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75084 $as_echo_n "checking for atan2l declaration... " >&6; }
75085 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75086 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75087 $as_echo_n "(cached) " >&6
75088 else
75089
75090
75091 ac_ext=cpp
75092 ac_cpp='$CXXCPP $CPPFLAGS'
75093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75096
75097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75098 /* end confdefs.h. */
75099 #include <math.h>
75100 int
75101 main ()
75102 {
75103 atan2l(0, 0);
75104 ;
75105 return 0;
75106 }
75107 _ACEOF
75108 if ac_fn_cxx_try_compile "$LINENO"; then :
75109 glibcxx_cv_func_atan2l_use=yes
75110 else
75111 glibcxx_cv_func_atan2l_use=no
75112 fi
75113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75114 ac_ext=c
75115 ac_cpp='$CPP $CPPFLAGS'
75116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75119
75120
75121 fi
75122
75123 fi
75124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75125 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75126
75127 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75128 for ac_func in atan2l
75129 do :
75130 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75131 if test "x$ac_cv_func_atan2l" = x""yes; then :
75132 cat >>confdefs.h <<_ACEOF
75133 #define HAVE_ATAN2L 1
75134 _ACEOF
75135
75136 fi
75137 done
75138
75139 else
75140
75141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75142 $as_echo_n "checking for _atan2l declaration... " >&6; }
75143 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75144 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75145 $as_echo_n "(cached) " >&6
75146 else
75147
75148
75149 ac_ext=cpp
75150 ac_cpp='$CXXCPP $CPPFLAGS'
75151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75154
75155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75156 /* end confdefs.h. */
75157 #include <math.h>
75158 int
75159 main ()
75160 {
75161 _atan2l(0, 0);
75162 ;
75163 return 0;
75164 }
75165 _ACEOF
75166 if ac_fn_cxx_try_compile "$LINENO"; then :
75167 glibcxx_cv_func__atan2l_use=yes
75168 else
75169 glibcxx_cv_func__atan2l_use=no
75170 fi
75171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75172 ac_ext=c
75173 ac_cpp='$CPP $CPPFLAGS'
75174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75177
75178
75179 fi
75180
75181 fi
75182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75183 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75184
75185 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75186 for ac_func in _atan2l
75187 do :
75188 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75189 if test "x$ac_cv_func__atan2l" = x""yes; then :
75190 cat >>confdefs.h <<_ACEOF
75191 #define HAVE__ATAN2L 1
75192 _ACEOF
75193
75194 fi
75195 done
75196
75197 fi
75198 fi
75199
75200
75201
75202
75203
75204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75205 $as_echo_n "checking for expl declaration... " >&6; }
75206 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75207 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75208 $as_echo_n "(cached) " >&6
75209 else
75210
75211
75212 ac_ext=cpp
75213 ac_cpp='$CXXCPP $CPPFLAGS'
75214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75217
75218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75219 /* end confdefs.h. */
75220 #include <math.h>
75221 #ifdef HAVE_IEEEFP_H
75222 #include <ieeefp.h>
75223 #endif
75224
75225 int
75226 main ()
75227 {
75228 expl(0);
75229 ;
75230 return 0;
75231 }
75232 _ACEOF
75233 if ac_fn_cxx_try_compile "$LINENO"; then :
75234 glibcxx_cv_func_expl_use=yes
75235 else
75236 glibcxx_cv_func_expl_use=no
75237 fi
75238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75239 ac_ext=c
75240 ac_cpp='$CPP $CPPFLAGS'
75241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75244
75245
75246 fi
75247
75248 fi
75249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75250 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75251
75252 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75253 for ac_func in expl
75254 do :
75255 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75256 if test "x$ac_cv_func_expl" = x""yes; then :
75257 cat >>confdefs.h <<_ACEOF
75258 #define HAVE_EXPL 1
75259 _ACEOF
75260
75261 fi
75262 done
75263
75264 else
75265
75266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75267 $as_echo_n "checking for _expl declaration... " >&6; }
75268 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75269 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75270 $as_echo_n "(cached) " >&6
75271 else
75272
75273
75274 ac_ext=cpp
75275 ac_cpp='$CXXCPP $CPPFLAGS'
75276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75279
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <math.h>
75283 #ifdef HAVE_IEEEFP_H
75284 #include <ieeefp.h>
75285 #endif
75286
75287 int
75288 main ()
75289 {
75290 _expl(0);
75291 ;
75292 return 0;
75293 }
75294 _ACEOF
75295 if ac_fn_cxx_try_compile "$LINENO"; then :
75296 glibcxx_cv_func__expl_use=yes
75297 else
75298 glibcxx_cv_func__expl_use=no
75299 fi
75300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75301 ac_ext=c
75302 ac_cpp='$CPP $CPPFLAGS'
75303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75306
75307
75308 fi
75309
75310 fi
75311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75312 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75313
75314 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75315 for ac_func in _expl
75316 do :
75317 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75318 if test "x$ac_cv_func__expl" = x""yes; then :
75319 cat >>confdefs.h <<_ACEOF
75320 #define HAVE__EXPL 1
75321 _ACEOF
75322
75323 fi
75324 done
75325
75326 fi
75327 fi
75328
75329
75330
75331
75332
75333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75334 $as_echo_n "checking for fabsl declaration... " >&6; }
75335 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75336 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75337 $as_echo_n "(cached) " >&6
75338 else
75339
75340
75341 ac_ext=cpp
75342 ac_cpp='$CXXCPP $CPPFLAGS'
75343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75346
75347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75348 /* end confdefs.h. */
75349 #include <math.h>
75350 #ifdef HAVE_IEEEFP_H
75351 #include <ieeefp.h>
75352 #endif
75353
75354 int
75355 main ()
75356 {
75357 fabsl(0);
75358 ;
75359 return 0;
75360 }
75361 _ACEOF
75362 if ac_fn_cxx_try_compile "$LINENO"; then :
75363 glibcxx_cv_func_fabsl_use=yes
75364 else
75365 glibcxx_cv_func_fabsl_use=no
75366 fi
75367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75368 ac_ext=c
75369 ac_cpp='$CPP $CPPFLAGS'
75370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75373
75374
75375 fi
75376
75377 fi
75378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75379 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75380
75381 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75382 for ac_func in fabsl
75383 do :
75384 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75385 if test "x$ac_cv_func_fabsl" = x""yes; then :
75386 cat >>confdefs.h <<_ACEOF
75387 #define HAVE_FABSL 1
75388 _ACEOF
75389
75390 fi
75391 done
75392
75393 else
75394
75395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75396 $as_echo_n "checking for _fabsl declaration... " >&6; }
75397 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75398 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75399 $as_echo_n "(cached) " >&6
75400 else
75401
75402
75403 ac_ext=cpp
75404 ac_cpp='$CXXCPP $CPPFLAGS'
75405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75408
75409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75410 /* end confdefs.h. */
75411 #include <math.h>
75412 #ifdef HAVE_IEEEFP_H
75413 #include <ieeefp.h>
75414 #endif
75415
75416 int
75417 main ()
75418 {
75419 _fabsl(0);
75420 ;
75421 return 0;
75422 }
75423 _ACEOF
75424 if ac_fn_cxx_try_compile "$LINENO"; then :
75425 glibcxx_cv_func__fabsl_use=yes
75426 else
75427 glibcxx_cv_func__fabsl_use=no
75428 fi
75429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75430 ac_ext=c
75431 ac_cpp='$CPP $CPPFLAGS'
75432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75435
75436
75437 fi
75438
75439 fi
75440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75441 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75442
75443 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75444 for ac_func in _fabsl
75445 do :
75446 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75447 if test "x$ac_cv_func__fabsl" = x""yes; then :
75448 cat >>confdefs.h <<_ACEOF
75449 #define HAVE__FABSL 1
75450 _ACEOF
75451
75452 fi
75453 done
75454
75455 fi
75456 fi
75457
75458
75459
75460
75461
75462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75463 $as_echo_n "checking for fmodl declaration... " >&6; }
75464 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75465 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75466 $as_echo_n "(cached) " >&6
75467 else
75468
75469
75470 ac_ext=cpp
75471 ac_cpp='$CXXCPP $CPPFLAGS'
75472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75475
75476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75477 /* end confdefs.h. */
75478 #include <math.h>
75479 int
75480 main ()
75481 {
75482 fmodl(0, 0);
75483 ;
75484 return 0;
75485 }
75486 _ACEOF
75487 if ac_fn_cxx_try_compile "$LINENO"; then :
75488 glibcxx_cv_func_fmodl_use=yes
75489 else
75490 glibcxx_cv_func_fmodl_use=no
75491 fi
75492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75493 ac_ext=c
75494 ac_cpp='$CPP $CPPFLAGS'
75495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75498
75499
75500 fi
75501
75502 fi
75503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75504 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75505
75506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75507 for ac_func in fmodl
75508 do :
75509 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75510 if test "x$ac_cv_func_fmodl" = x""yes; then :
75511 cat >>confdefs.h <<_ACEOF
75512 #define HAVE_FMODL 1
75513 _ACEOF
75514
75515 fi
75516 done
75517
75518 else
75519
75520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75521 $as_echo_n "checking for _fmodl declaration... " >&6; }
75522 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75523 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75524 $as_echo_n "(cached) " >&6
75525 else
75526
75527
75528 ac_ext=cpp
75529 ac_cpp='$CXXCPP $CPPFLAGS'
75530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75533
75534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75535 /* end confdefs.h. */
75536 #include <math.h>
75537 int
75538 main ()
75539 {
75540 _fmodl(0, 0);
75541 ;
75542 return 0;
75543 }
75544 _ACEOF
75545 if ac_fn_cxx_try_compile "$LINENO"; then :
75546 glibcxx_cv_func__fmodl_use=yes
75547 else
75548 glibcxx_cv_func__fmodl_use=no
75549 fi
75550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75551 ac_ext=c
75552 ac_cpp='$CPP $CPPFLAGS'
75553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75556
75557
75558 fi
75559
75560 fi
75561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75562 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75563
75564 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75565 for ac_func in _fmodl
75566 do :
75567 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75568 if test "x$ac_cv_func__fmodl" = x""yes; then :
75569 cat >>confdefs.h <<_ACEOF
75570 #define HAVE__FMODL 1
75571 _ACEOF
75572
75573 fi
75574 done
75575
75576 fi
75577 fi
75578
75579
75580
75581
75582
75583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75584 $as_echo_n "checking for frexpl declaration... " >&6; }
75585 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75586 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75587 $as_echo_n "(cached) " >&6
75588 else
75589
75590
75591 ac_ext=cpp
75592 ac_cpp='$CXXCPP $CPPFLAGS'
75593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75596
75597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75598 /* end confdefs.h. */
75599 #include <math.h>
75600 int
75601 main ()
75602 {
75603 frexpl(0, 0);
75604 ;
75605 return 0;
75606 }
75607 _ACEOF
75608 if ac_fn_cxx_try_compile "$LINENO"; then :
75609 glibcxx_cv_func_frexpl_use=yes
75610 else
75611 glibcxx_cv_func_frexpl_use=no
75612 fi
75613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75614 ac_ext=c
75615 ac_cpp='$CPP $CPPFLAGS'
75616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75619
75620
75621 fi
75622
75623 fi
75624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75625 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75626
75627 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75628 for ac_func in frexpl
75629 do :
75630 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75631 if test "x$ac_cv_func_frexpl" = x""yes; then :
75632 cat >>confdefs.h <<_ACEOF
75633 #define HAVE_FREXPL 1
75634 _ACEOF
75635
75636 fi
75637 done
75638
75639 else
75640
75641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75642 $as_echo_n "checking for _frexpl declaration... " >&6; }
75643 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75644 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75645 $as_echo_n "(cached) " >&6
75646 else
75647
75648
75649 ac_ext=cpp
75650 ac_cpp='$CXXCPP $CPPFLAGS'
75651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75654
75655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75656 /* end confdefs.h. */
75657 #include <math.h>
75658 int
75659 main ()
75660 {
75661 _frexpl(0, 0);
75662 ;
75663 return 0;
75664 }
75665 _ACEOF
75666 if ac_fn_cxx_try_compile "$LINENO"; then :
75667 glibcxx_cv_func__frexpl_use=yes
75668 else
75669 glibcxx_cv_func__frexpl_use=no
75670 fi
75671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75672 ac_ext=c
75673 ac_cpp='$CPP $CPPFLAGS'
75674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75677
75678
75679 fi
75680
75681 fi
75682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75683 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75684
75685 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75686 for ac_func in _frexpl
75687 do :
75688 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75689 if test "x$ac_cv_func__frexpl" = x""yes; then :
75690 cat >>confdefs.h <<_ACEOF
75691 #define HAVE__FREXPL 1
75692 _ACEOF
75693
75694 fi
75695 done
75696
75697 fi
75698 fi
75699
75700
75701
75702
75703
75704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75705 $as_echo_n "checking for hypotl declaration... " >&6; }
75706 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75707 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75708 $as_echo_n "(cached) " >&6
75709 else
75710
75711
75712 ac_ext=cpp
75713 ac_cpp='$CXXCPP $CPPFLAGS'
75714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75717
75718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75719 /* end confdefs.h. */
75720 #include <math.h>
75721 int
75722 main ()
75723 {
75724 hypotl(0, 0);
75725 ;
75726 return 0;
75727 }
75728 _ACEOF
75729 if ac_fn_cxx_try_compile "$LINENO"; then :
75730 glibcxx_cv_func_hypotl_use=yes
75731 else
75732 glibcxx_cv_func_hypotl_use=no
75733 fi
75734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75735 ac_ext=c
75736 ac_cpp='$CPP $CPPFLAGS'
75737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75740
75741
75742 fi
75743
75744 fi
75745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75746 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75747
75748 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75749 for ac_func in hypotl
75750 do :
75751 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75752 if test "x$ac_cv_func_hypotl" = x""yes; then :
75753 cat >>confdefs.h <<_ACEOF
75754 #define HAVE_HYPOTL 1
75755 _ACEOF
75756
75757 fi
75758 done
75759
75760 else
75761
75762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75763 $as_echo_n "checking for _hypotl declaration... " >&6; }
75764 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75765 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75766 $as_echo_n "(cached) " >&6
75767 else
75768
75769
75770 ac_ext=cpp
75771 ac_cpp='$CXXCPP $CPPFLAGS'
75772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75775
75776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75777 /* end confdefs.h. */
75778 #include <math.h>
75779 int
75780 main ()
75781 {
75782 _hypotl(0, 0);
75783 ;
75784 return 0;
75785 }
75786 _ACEOF
75787 if ac_fn_cxx_try_compile "$LINENO"; then :
75788 glibcxx_cv_func__hypotl_use=yes
75789 else
75790 glibcxx_cv_func__hypotl_use=no
75791 fi
75792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75793 ac_ext=c
75794 ac_cpp='$CPP $CPPFLAGS'
75795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75798
75799
75800 fi
75801
75802 fi
75803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75804 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75805
75806 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75807 for ac_func in _hypotl
75808 do :
75809 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75810 if test "x$ac_cv_func__hypotl" = x""yes; then :
75811 cat >>confdefs.h <<_ACEOF
75812 #define HAVE__HYPOTL 1
75813 _ACEOF
75814
75815 fi
75816 done
75817
75818 fi
75819 fi
75820
75821
75822
75823
75824
75825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75826 $as_echo_n "checking for ldexpl declaration... " >&6; }
75827 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75828 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75829 $as_echo_n "(cached) " >&6
75830 else
75831
75832
75833 ac_ext=cpp
75834 ac_cpp='$CXXCPP $CPPFLAGS'
75835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75838
75839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75840 /* end confdefs.h. */
75841 #include <math.h>
75842 int
75843 main ()
75844 {
75845 ldexpl(0, 0);
75846 ;
75847 return 0;
75848 }
75849 _ACEOF
75850 if ac_fn_cxx_try_compile "$LINENO"; then :
75851 glibcxx_cv_func_ldexpl_use=yes
75852 else
75853 glibcxx_cv_func_ldexpl_use=no
75854 fi
75855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75856 ac_ext=c
75857 ac_cpp='$CPP $CPPFLAGS'
75858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75861
75862
75863 fi
75864
75865 fi
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75867 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75868
75869 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75870 for ac_func in ldexpl
75871 do :
75872 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75873 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75874 cat >>confdefs.h <<_ACEOF
75875 #define HAVE_LDEXPL 1
75876 _ACEOF
75877
75878 fi
75879 done
75880
75881 else
75882
75883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75884 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75885 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75886 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75887 $as_echo_n "(cached) " >&6
75888 else
75889
75890
75891 ac_ext=cpp
75892 ac_cpp='$CXXCPP $CPPFLAGS'
75893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75896
75897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75898 /* end confdefs.h. */
75899 #include <math.h>
75900 int
75901 main ()
75902 {
75903 _ldexpl(0, 0);
75904 ;
75905 return 0;
75906 }
75907 _ACEOF
75908 if ac_fn_cxx_try_compile "$LINENO"; then :
75909 glibcxx_cv_func__ldexpl_use=yes
75910 else
75911 glibcxx_cv_func__ldexpl_use=no
75912 fi
75913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75914 ac_ext=c
75915 ac_cpp='$CPP $CPPFLAGS'
75916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75919
75920
75921 fi
75922
75923 fi
75924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75925 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75926
75927 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75928 for ac_func in _ldexpl
75929 do :
75930 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75931 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75932 cat >>confdefs.h <<_ACEOF
75933 #define HAVE__LDEXPL 1
75934 _ACEOF
75935
75936 fi
75937 done
75938
75939 fi
75940 fi
75941
75942
75943
75944
75945
75946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75947 $as_echo_n "checking for logl declaration... " >&6; }
75948 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75949 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75950 $as_echo_n "(cached) " >&6
75951 else
75952
75953
75954 ac_ext=cpp
75955 ac_cpp='$CXXCPP $CPPFLAGS'
75956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75959
75960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75961 /* end confdefs.h. */
75962 #include <math.h>
75963 #ifdef HAVE_IEEEFP_H
75964 #include <ieeefp.h>
75965 #endif
75966
75967 int
75968 main ()
75969 {
75970 logl(0);
75971 ;
75972 return 0;
75973 }
75974 _ACEOF
75975 if ac_fn_cxx_try_compile "$LINENO"; then :
75976 glibcxx_cv_func_logl_use=yes
75977 else
75978 glibcxx_cv_func_logl_use=no
75979 fi
75980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75981 ac_ext=c
75982 ac_cpp='$CPP $CPPFLAGS'
75983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75986
75987
75988 fi
75989
75990 fi
75991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75992 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75993
75994 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75995 for ac_func in logl
75996 do :
75997 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75998 if test "x$ac_cv_func_logl" = x""yes; then :
75999 cat >>confdefs.h <<_ACEOF
76000 #define HAVE_LOGL 1
76001 _ACEOF
76002
76003 fi
76004 done
76005
76006 else
76007
76008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76009 $as_echo_n "checking for _logl declaration... " >&6; }
76010 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76011 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76012 $as_echo_n "(cached) " >&6
76013 else
76014
76015
76016 ac_ext=cpp
76017 ac_cpp='$CXXCPP $CPPFLAGS'
76018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76021
76022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76023 /* end confdefs.h. */
76024 #include <math.h>
76025 #ifdef HAVE_IEEEFP_H
76026 #include <ieeefp.h>
76027 #endif
76028
76029 int
76030 main ()
76031 {
76032 _logl(0);
76033 ;
76034 return 0;
76035 }
76036 _ACEOF
76037 if ac_fn_cxx_try_compile "$LINENO"; then :
76038 glibcxx_cv_func__logl_use=yes
76039 else
76040 glibcxx_cv_func__logl_use=no
76041 fi
76042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76043 ac_ext=c
76044 ac_cpp='$CPP $CPPFLAGS'
76045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76048
76049
76050 fi
76051
76052 fi
76053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76054 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76055
76056 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76057 for ac_func in _logl
76058 do :
76059 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76060 if test "x$ac_cv_func__logl" = x""yes; then :
76061 cat >>confdefs.h <<_ACEOF
76062 #define HAVE__LOGL 1
76063 _ACEOF
76064
76065 fi
76066 done
76067
76068 fi
76069 fi
76070
76071
76072
76073
76074
76075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76076 $as_echo_n "checking for log10l declaration... " >&6; }
76077 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76078 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76079 $as_echo_n "(cached) " >&6
76080 else
76081
76082
76083 ac_ext=cpp
76084 ac_cpp='$CXXCPP $CPPFLAGS'
76085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76088
76089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76090 /* end confdefs.h. */
76091 #include <math.h>
76092 #ifdef HAVE_IEEEFP_H
76093 #include <ieeefp.h>
76094 #endif
76095
76096 int
76097 main ()
76098 {
76099 log10l(0);
76100 ;
76101 return 0;
76102 }
76103 _ACEOF
76104 if ac_fn_cxx_try_compile "$LINENO"; then :
76105 glibcxx_cv_func_log10l_use=yes
76106 else
76107 glibcxx_cv_func_log10l_use=no
76108 fi
76109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76110 ac_ext=c
76111 ac_cpp='$CPP $CPPFLAGS'
76112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76115
76116
76117 fi
76118
76119 fi
76120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76121 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76122
76123 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76124 for ac_func in log10l
76125 do :
76126 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76127 if test "x$ac_cv_func_log10l" = x""yes; then :
76128 cat >>confdefs.h <<_ACEOF
76129 #define HAVE_LOG10L 1
76130 _ACEOF
76131
76132 fi
76133 done
76134
76135 else
76136
76137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76138 $as_echo_n "checking for _log10l declaration... " >&6; }
76139 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76140 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76141 $as_echo_n "(cached) " >&6
76142 else
76143
76144
76145 ac_ext=cpp
76146 ac_cpp='$CXXCPP $CPPFLAGS'
76147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76150
76151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76152 /* end confdefs.h. */
76153 #include <math.h>
76154 #ifdef HAVE_IEEEFP_H
76155 #include <ieeefp.h>
76156 #endif
76157
76158 int
76159 main ()
76160 {
76161 _log10l(0);
76162 ;
76163 return 0;
76164 }
76165 _ACEOF
76166 if ac_fn_cxx_try_compile "$LINENO"; then :
76167 glibcxx_cv_func__log10l_use=yes
76168 else
76169 glibcxx_cv_func__log10l_use=no
76170 fi
76171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76172 ac_ext=c
76173 ac_cpp='$CPP $CPPFLAGS'
76174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76177
76178
76179 fi
76180
76181 fi
76182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76183 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76184
76185 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76186 for ac_func in _log10l
76187 do :
76188 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76189 if test "x$ac_cv_func__log10l" = x""yes; then :
76190 cat >>confdefs.h <<_ACEOF
76191 #define HAVE__LOG10L 1
76192 _ACEOF
76193
76194 fi
76195 done
76196
76197 fi
76198 fi
76199
76200
76201
76202
76203
76204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76205 $as_echo_n "checking for modfl declaration... " >&6; }
76206 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76207 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76208 $as_echo_n "(cached) " >&6
76209 else
76210
76211
76212 ac_ext=cpp
76213 ac_cpp='$CXXCPP $CPPFLAGS'
76214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76217
76218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76219 /* end confdefs.h. */
76220 #include <math.h>
76221 int
76222 main ()
76223 {
76224 modfl(0, 0);
76225 ;
76226 return 0;
76227 }
76228 _ACEOF
76229 if ac_fn_cxx_try_compile "$LINENO"; then :
76230 glibcxx_cv_func_modfl_use=yes
76231 else
76232 glibcxx_cv_func_modfl_use=no
76233 fi
76234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76235 ac_ext=c
76236 ac_cpp='$CPP $CPPFLAGS'
76237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76240
76241
76242 fi
76243
76244 fi
76245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76246 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76247
76248 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76249 for ac_func in modfl
76250 do :
76251 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76252 if test "x$ac_cv_func_modfl" = x""yes; then :
76253 cat >>confdefs.h <<_ACEOF
76254 #define HAVE_MODFL 1
76255 _ACEOF
76256
76257 fi
76258 done
76259
76260 else
76261
76262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76263 $as_echo_n "checking for _modfl declaration... " >&6; }
76264 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76265 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76266 $as_echo_n "(cached) " >&6
76267 else
76268
76269
76270 ac_ext=cpp
76271 ac_cpp='$CXXCPP $CPPFLAGS'
76272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76275
76276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76277 /* end confdefs.h. */
76278 #include <math.h>
76279 int
76280 main ()
76281 {
76282 _modfl(0, 0);
76283 ;
76284 return 0;
76285 }
76286 _ACEOF
76287 if ac_fn_cxx_try_compile "$LINENO"; then :
76288 glibcxx_cv_func__modfl_use=yes
76289 else
76290 glibcxx_cv_func__modfl_use=no
76291 fi
76292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76293 ac_ext=c
76294 ac_cpp='$CPP $CPPFLAGS'
76295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76298
76299
76300 fi
76301
76302 fi
76303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76304 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76305
76306 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76307 for ac_func in _modfl
76308 do :
76309 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76310 if test "x$ac_cv_func__modfl" = x""yes; then :
76311 cat >>confdefs.h <<_ACEOF
76312 #define HAVE__MODFL 1
76313 _ACEOF
76314
76315 fi
76316 done
76317
76318 fi
76319 fi
76320
76321
76322
76323
76324
76325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76326 $as_echo_n "checking for powl declaration... " >&6; }
76327 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76328 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76329 $as_echo_n "(cached) " >&6
76330 else
76331
76332
76333 ac_ext=cpp
76334 ac_cpp='$CXXCPP $CPPFLAGS'
76335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76338
76339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76340 /* end confdefs.h. */
76341 #include <math.h>
76342 int
76343 main ()
76344 {
76345 powl(0, 0);
76346 ;
76347 return 0;
76348 }
76349 _ACEOF
76350 if ac_fn_cxx_try_compile "$LINENO"; then :
76351 glibcxx_cv_func_powl_use=yes
76352 else
76353 glibcxx_cv_func_powl_use=no
76354 fi
76355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76356 ac_ext=c
76357 ac_cpp='$CPP $CPPFLAGS'
76358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76361
76362
76363 fi
76364
76365 fi
76366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76367 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76368
76369 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76370 for ac_func in powl
76371 do :
76372 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76373 if test "x$ac_cv_func_powl" = x""yes; then :
76374 cat >>confdefs.h <<_ACEOF
76375 #define HAVE_POWL 1
76376 _ACEOF
76377
76378 fi
76379 done
76380
76381 else
76382
76383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76384 $as_echo_n "checking for _powl declaration... " >&6; }
76385 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76386 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76387 $as_echo_n "(cached) " >&6
76388 else
76389
76390
76391 ac_ext=cpp
76392 ac_cpp='$CXXCPP $CPPFLAGS'
76393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76396
76397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76398 /* end confdefs.h. */
76399 #include <math.h>
76400 int
76401 main ()
76402 {
76403 _powl(0, 0);
76404 ;
76405 return 0;
76406 }
76407 _ACEOF
76408 if ac_fn_cxx_try_compile "$LINENO"; then :
76409 glibcxx_cv_func__powl_use=yes
76410 else
76411 glibcxx_cv_func__powl_use=no
76412 fi
76413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76414 ac_ext=c
76415 ac_cpp='$CPP $CPPFLAGS'
76416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76419
76420
76421 fi
76422
76423 fi
76424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76425 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76426
76427 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76428 for ac_func in _powl
76429 do :
76430 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76431 if test "x$ac_cv_func__powl" = x""yes; then :
76432 cat >>confdefs.h <<_ACEOF
76433 #define HAVE__POWL 1
76434 _ACEOF
76435
76436 fi
76437 done
76438
76439 fi
76440 fi
76441
76442
76443
76444
76445
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76447 $as_echo_n "checking for sqrtl declaration... " >&6; }
76448 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76449 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76450 $as_echo_n "(cached) " >&6
76451 else
76452
76453
76454 ac_ext=cpp
76455 ac_cpp='$CXXCPP $CPPFLAGS'
76456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76459
76460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76461 /* end confdefs.h. */
76462 #include <math.h>
76463 #ifdef HAVE_IEEEFP_H
76464 #include <ieeefp.h>
76465 #endif
76466
76467 int
76468 main ()
76469 {
76470 sqrtl(0);
76471 ;
76472 return 0;
76473 }
76474 _ACEOF
76475 if ac_fn_cxx_try_compile "$LINENO"; then :
76476 glibcxx_cv_func_sqrtl_use=yes
76477 else
76478 glibcxx_cv_func_sqrtl_use=no
76479 fi
76480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76481 ac_ext=c
76482 ac_cpp='$CPP $CPPFLAGS'
76483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76486
76487
76488 fi
76489
76490 fi
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76492 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76493
76494 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76495 for ac_func in sqrtl
76496 do :
76497 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76498 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76499 cat >>confdefs.h <<_ACEOF
76500 #define HAVE_SQRTL 1
76501 _ACEOF
76502
76503 fi
76504 done
76505
76506 else
76507
76508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76509 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76510 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76511 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76512 $as_echo_n "(cached) " >&6
76513 else
76514
76515
76516 ac_ext=cpp
76517 ac_cpp='$CXXCPP $CPPFLAGS'
76518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76521
76522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76523 /* end confdefs.h. */
76524 #include <math.h>
76525 #ifdef HAVE_IEEEFP_H
76526 #include <ieeefp.h>
76527 #endif
76528
76529 int
76530 main ()
76531 {
76532 _sqrtl(0);
76533 ;
76534 return 0;
76535 }
76536 _ACEOF
76537 if ac_fn_cxx_try_compile "$LINENO"; then :
76538 glibcxx_cv_func__sqrtl_use=yes
76539 else
76540 glibcxx_cv_func__sqrtl_use=no
76541 fi
76542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76543 ac_ext=c
76544 ac_cpp='$CPP $CPPFLAGS'
76545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76548
76549
76550 fi
76551
76552 fi
76553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76554 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76555
76556 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76557 for ac_func in _sqrtl
76558 do :
76559 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76560 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76561 cat >>confdefs.h <<_ACEOF
76562 #define HAVE__SQRTL 1
76563 _ACEOF
76564
76565 fi
76566 done
76567
76568 fi
76569 fi
76570
76571
76572
76573
76574
76575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76576 $as_echo_n "checking for sincosl declaration... " >&6; }
76577 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76578 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76579 $as_echo_n "(cached) " >&6
76580 else
76581
76582
76583 ac_ext=cpp
76584 ac_cpp='$CXXCPP $CPPFLAGS'
76585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76588
76589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76590 /* end confdefs.h. */
76591 #include <math.h>
76592 int
76593 main ()
76594 {
76595 sincosl(0, 0, 0);
76596 ;
76597 return 0;
76598 }
76599 _ACEOF
76600 if ac_fn_cxx_try_compile "$LINENO"; then :
76601 glibcxx_cv_func_sincosl_use=yes
76602 else
76603 glibcxx_cv_func_sincosl_use=no
76604 fi
76605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76606 ac_ext=c
76607 ac_cpp='$CPP $CPPFLAGS'
76608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76611
76612
76613 fi
76614
76615 fi
76616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76617 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76618
76619 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76620 for ac_func in sincosl
76621 do :
76622 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76623 if test "x$ac_cv_func_sincosl" = x""yes; then :
76624 cat >>confdefs.h <<_ACEOF
76625 #define HAVE_SINCOSL 1
76626 _ACEOF
76627
76628 fi
76629 done
76630
76631 else
76632
76633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76634 $as_echo_n "checking for _sincosl declaration... " >&6; }
76635 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76636 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76637 $as_echo_n "(cached) " >&6
76638 else
76639
76640
76641 ac_ext=cpp
76642 ac_cpp='$CXXCPP $CPPFLAGS'
76643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76646
76647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76648 /* end confdefs.h. */
76649 #include <math.h>
76650 int
76651 main ()
76652 {
76653 _sincosl(0, 0, 0);
76654 ;
76655 return 0;
76656 }
76657 _ACEOF
76658 if ac_fn_cxx_try_compile "$LINENO"; then :
76659 glibcxx_cv_func__sincosl_use=yes
76660 else
76661 glibcxx_cv_func__sincosl_use=no
76662 fi
76663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76664 ac_ext=c
76665 ac_cpp='$CPP $CPPFLAGS'
76666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76669
76670
76671 fi
76672
76673 fi
76674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76675 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76676
76677 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76678 for ac_func in _sincosl
76679 do :
76680 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76681 if test "x$ac_cv_func__sincosl" = x""yes; then :
76682 cat >>confdefs.h <<_ACEOF
76683 #define HAVE__SINCOSL 1
76684 _ACEOF
76685
76686 fi
76687 done
76688
76689 fi
76690 fi
76691
76692
76693
76694
76695
76696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76697 $as_echo_n "checking for finitel declaration... " >&6; }
76698 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76699 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76700 $as_echo_n "(cached) " >&6
76701 else
76702
76703
76704 ac_ext=cpp
76705 ac_cpp='$CXXCPP $CPPFLAGS'
76706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76709
76710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76711 /* end confdefs.h. */
76712 #include <math.h>
76713 #ifdef HAVE_IEEEFP_H
76714 #include <ieeefp.h>
76715 #endif
76716
76717 int
76718 main ()
76719 {
76720 finitel(0);
76721 ;
76722 return 0;
76723 }
76724 _ACEOF
76725 if ac_fn_cxx_try_compile "$LINENO"; then :
76726 glibcxx_cv_func_finitel_use=yes
76727 else
76728 glibcxx_cv_func_finitel_use=no
76729 fi
76730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76731 ac_ext=c
76732 ac_cpp='$CPP $CPPFLAGS'
76733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76736
76737
76738 fi
76739
76740 fi
76741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76742 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76743
76744 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76745 for ac_func in finitel
76746 do :
76747 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76748 if test "x$ac_cv_func_finitel" = x""yes; then :
76749 cat >>confdefs.h <<_ACEOF
76750 #define HAVE_FINITEL 1
76751 _ACEOF
76752
76753 fi
76754 done
76755
76756 else
76757
76758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76759 $as_echo_n "checking for _finitel declaration... " >&6; }
76760 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76761 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76762 $as_echo_n "(cached) " >&6
76763 else
76764
76765
76766 ac_ext=cpp
76767 ac_cpp='$CXXCPP $CPPFLAGS'
76768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76771
76772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76773 /* end confdefs.h. */
76774 #include <math.h>
76775 #ifdef HAVE_IEEEFP_H
76776 #include <ieeefp.h>
76777 #endif
76778
76779 int
76780 main ()
76781 {
76782 _finitel(0);
76783 ;
76784 return 0;
76785 }
76786 _ACEOF
76787 if ac_fn_cxx_try_compile "$LINENO"; then :
76788 glibcxx_cv_func__finitel_use=yes
76789 else
76790 glibcxx_cv_func__finitel_use=no
76791 fi
76792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76793 ac_ext=c
76794 ac_cpp='$CPP $CPPFLAGS'
76795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76798
76799
76800 fi
76801
76802 fi
76803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76804 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76805
76806 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76807 for ac_func in _finitel
76808 do :
76809 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76810 if test "x$ac_cv_func__finitel" = x""yes; then :
76811 cat >>confdefs.h <<_ACEOF
76812 #define HAVE__FINITEL 1
76813 _ACEOF
76814
76815 fi
76816 done
76817
76818 fi
76819 fi
76820
76821
76822
76823
76824 LIBS="$ac_save_LIBS"
76825 CXXFLAGS="$ac_save_CXXFLAGS"
76826
76827
76828 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76829 ac_save_CXXFLAGS="$CXXFLAGS"
76830 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76831
76832
76833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76834 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76835 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76836 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76837 $as_echo_n "(cached) " >&6
76838 else
76839
76840
76841 ac_ext=cpp
76842 ac_cpp='$CXXCPP $CPPFLAGS'
76843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76846
76847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76848 /* end confdefs.h. */
76849 #include <stdlib.h>
76850 int
76851 main ()
76852 {
76853 at_quick_exit(0);
76854 ;
76855 return 0;
76856 }
76857 _ACEOF
76858 if ac_fn_cxx_try_compile "$LINENO"; then :
76859 glibcxx_cv_func_at_quick_exit_use=yes
76860 else
76861 glibcxx_cv_func_at_quick_exit_use=no
76862 fi
76863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76864 ac_ext=c
76865 ac_cpp='$CPP $CPPFLAGS'
76866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76869
76870
76871 fi
76872
76873 fi
76874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76875 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76876 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76877 for ac_func in at_quick_exit
76878 do :
76879 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76880 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76881 cat >>confdefs.h <<_ACEOF
76882 #define HAVE_AT_QUICK_EXIT 1
76883 _ACEOF
76884
76885 fi
76886 done
76887
76888 fi
76889
76890
76891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76892 $as_echo_n "checking for quick_exit declaration... " >&6; }
76893 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76894 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76895 $as_echo_n "(cached) " >&6
76896 else
76897
76898
76899 ac_ext=cpp
76900 ac_cpp='$CXXCPP $CPPFLAGS'
76901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76904
76905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76906 /* end confdefs.h. */
76907 #include <stdlib.h>
76908 int
76909 main ()
76910 {
76911 quick_exit(0);
76912 ;
76913 return 0;
76914 }
76915 _ACEOF
76916 if ac_fn_cxx_try_compile "$LINENO"; then :
76917 glibcxx_cv_func_quick_exit_use=yes
76918 else
76919 glibcxx_cv_func_quick_exit_use=no
76920 fi
76921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76922 ac_ext=c
76923 ac_cpp='$CPP $CPPFLAGS'
76924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76927
76928
76929 fi
76930
76931 fi
76932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76933 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76934 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76935 for ac_func in quick_exit
76936 do :
76937 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76938 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76939 cat >>confdefs.h <<_ACEOF
76940 #define HAVE_QUICK_EXIT 1
76941 _ACEOF
76942
76943 fi
76944 done
76945
76946 fi
76947
76948
76949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76950 $as_echo_n "checking for strtold declaration... " >&6; }
76951 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76952 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76953 $as_echo_n "(cached) " >&6
76954 else
76955
76956
76957 ac_ext=cpp
76958 ac_cpp='$CXXCPP $CPPFLAGS'
76959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76962
76963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76964 /* end confdefs.h. */
76965 #include <stdlib.h>
76966 int
76967 main ()
76968 {
76969 strtold(0, 0);
76970 ;
76971 return 0;
76972 }
76973 _ACEOF
76974 if ac_fn_cxx_try_compile "$LINENO"; then :
76975 glibcxx_cv_func_strtold_use=yes
76976 else
76977 glibcxx_cv_func_strtold_use=no
76978 fi
76979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76980 ac_ext=c
76981 ac_cpp='$CPP $CPPFLAGS'
76982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76985
76986
76987 fi
76988
76989 fi
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76991 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76992 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76993 for ac_func in strtold
76994 do :
76995 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76996 if test "x$ac_cv_func_strtold" = x""yes; then :
76997 cat >>confdefs.h <<_ACEOF
76998 #define HAVE_STRTOLD 1
76999 _ACEOF
77000
77001 fi
77002 done
77003
77004 fi
77005
77006
77007
77008
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77010 $as_echo_n "checking for strtof declaration... " >&6; }
77011 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77012 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77013 $as_echo_n "(cached) " >&6
77014 else
77015
77016
77017 ac_ext=cpp
77018 ac_cpp='$CXXCPP $CPPFLAGS'
77019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77022
77023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77024 /* end confdefs.h. */
77025 #include <stdlib.h>
77026 int
77027 main ()
77028 {
77029 strtof(0, 0);
77030 ;
77031 return 0;
77032 }
77033 _ACEOF
77034 if ac_fn_cxx_try_compile "$LINENO"; then :
77035 glibcxx_cv_func_strtof_use=yes
77036 else
77037 glibcxx_cv_func_strtof_use=no
77038 fi
77039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77040 ac_ext=c
77041 ac_cpp='$CPP $CPPFLAGS'
77042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77045
77046
77047 fi
77048
77049 fi
77050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77051 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77052 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77053 for ac_func in strtof
77054 do :
77055 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77056 if test "x$ac_cv_func_strtof" = x""yes; then :
77057 cat >>confdefs.h <<_ACEOF
77058 #define HAVE_STRTOF 1
77059 _ACEOF
77060
77061 fi
77062 done
77063
77064 fi
77065
77066
77067
77068
77069 CXXFLAGS="$ac_save_CXXFLAGS"
77070
77071 ;;
77072 *-vxworks)
77073 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77074
77075 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77076
77077 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77078
77079 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77080
77081 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77082
77083 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77084
77085 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77086
77087 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77088
77089 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77090
77091 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77092
77093 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77094
77095 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77096
77097 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77098
77099 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77100
77101 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77102
77103 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77104
77105 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77106
77107 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77108
77109 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77110
77111 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77112
77113 ;;
77114 *)
77115 as_fn_error "No support for this host/target combination." "$LINENO" 5
77116 ;;
77117 esac
77118
77119 fi
77120
77121 # At some point, we should differentiate between architectures
77122 # like x86, which have long double versions, and alpha/powerpc/etc.,
77123 # which don't. For the time being, punt.
77124 if test x"long_double_math_on_this_cpu" = x"yes"; then
77125 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77126
77127 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77128
77129 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77130
77131 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77132
77133 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77134
77135 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77136
77137 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77138
77139 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77140
77141 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77142
77143 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77144
77145 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77146
77147 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77148
77149 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77150
77151 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77152
77153 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77154
77155 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77156
77157 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77158
77159 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77160
77161 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77162
77163 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77164
77165 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77166
77167 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77168
77169 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77170
77171 fi
77172 fi
77173
77174 # Check for _Unwind_GetIPInfo.
77175
77176
77177 # Check whether --with-system-libunwind was given.
77178 if test "${with_system_libunwind+set}" = set; then :
77179 withval=$with_system_libunwind;
77180 fi
77181
77182 # If system-libunwind was not specifically set, pick a default setting.
77183 if test x$with_system_libunwind = x; then
77184 case ${target} in
77185 ia64-*-hpux*) with_system_libunwind=yes ;;
77186 *) with_system_libunwind=no ;;
77187 esac
77188 fi
77189 # Based on system-libunwind and target, do we have ipinfo?
77190 if test x$with_system_libunwind = xyes; then
77191 case ${target} in
77192 ia64-*-*) have_unwind_getipinfo=no ;;
77193 *) have_unwind_getipinfo=yes ;;
77194 esac
77195 else
77196 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77197
77198 case ${target} in
77199 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77200 *) have_unwind_getipinfo=yes ;;
77201 esac
77202
77203 fi
77204
77205 if test x$have_unwind_getipinfo = xyes; then
77206
77207 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77208
77209 fi
77210
77211
77212 # Check whether --enable-linux-futex was given.
77213 if test "${enable_linux_futex+set}" = set; then :
77214 enableval=$enable_linux_futex;
77215 case "$enableval" in
77216 yes|no|default) ;;
77217 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77218 esac
77219
77220 else
77221 enable_linux_futex=default
77222 fi
77223
77224
77225 case "$target" in
77226 *-linux*)
77227 case "$enable_linux_futex" in
77228 default)
77229 # If headers don't have gettid/futex syscalls definition, then
77230 # default to no, otherwise there will be compile time failures.
77231 # Otherwise, default to yes. If we don't detect we are
77232 # compiled/linked against NPTL and not cross-compiling, check
77233 # if programs are run by default against NPTL and if not, issue
77234 # a warning.
77235 enable_linux_futex=no
77236 if test x$gcc_no_link = xyes; then
77237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77238 fi
77239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77240 /* end confdefs.h. */
77241 #include <sys/syscall.h>
77242 int lk;
77243 int
77244 main ()
77245 {
77246 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77247 ;
77248 return 0;
77249 }
77250 _ACEOF
77251 if ac_fn_c_try_link "$LINENO"; then :
77252 save_LIBS="$LIBS"
77253 LIBS="-lpthread $LIBS"
77254 if test x$gcc_no_link = xyes; then
77255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77256 fi
77257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77258 /* end confdefs.h. */
77259 #ifndef _GNU_SOURCE
77260 #define _GNU_SOURCE 1
77261 #endif
77262 #include <pthread.h>
77263 pthread_t th; void *status;
77264 int
77265 main ()
77266 {
77267 pthread_tryjoin_np (th, &status);
77268 ;
77269 return 0;
77270 }
77271 _ACEOF
77272 if ac_fn_c_try_link "$LINENO"; then :
77273 enable_linux_futex=yes
77274 else
77275 if test x$cross_compiling = xno; then
77276 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77277 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77279 If so, please configure with --disable-linux-futex" >&5
77280 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77281 If so, please configure with --disable-linux-futex" >&2;}
77282 fi
77283 fi
77284 enable_linux_futex=yes
77285 fi
77286 rm -f core conftest.err conftest.$ac_objext \
77287 conftest$ac_exeext conftest.$ac_ext
77288 LIBS="$save_LIBS"
77289 fi
77290 rm -f core conftest.err conftest.$ac_objext \
77291 conftest$ac_exeext conftest.$ac_ext
77292 ;;
77293 yes)
77294 if test x$gcc_no_link = xyes; then
77295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77296 fi
77297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77298 /* end confdefs.h. */
77299 #include <sys/syscall.h>
77300 int lk;
77301 int
77302 main ()
77303 {
77304 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77305 ;
77306 return 0;
77307 }
77308 _ACEOF
77309 if ac_fn_c_try_link "$LINENO"; then :
77310
77311 else
77312 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77313 fi
77314 rm -f core conftest.err conftest.$ac_objext \
77315 conftest$ac_exeext conftest.$ac_ext
77316 ;;
77317 esac
77318 ;;
77319 *)
77320 enable_linux_futex=no
77321 ;;
77322 esac
77323 if test x$enable_linux_futex = xyes; then
77324
77325 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77326
77327 fi
77328
77329
77330
77331
77332 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77333
77334 acx_cv_header_stdint=stddef.h
77335 acx_cv_header_stdint_kind="(already complete)"
77336 for i in stdint.h $inttype_headers; do
77337 unset ac_cv_type_uintptr_t
77338 unset ac_cv_type_uintmax_t
77339 unset ac_cv_type_int_least32_t
77340 unset ac_cv_type_int_fast32_t
77341 unset ac_cv_type_uint64_t
77342 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77343 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77344 #include <$i>
77345 "
77346 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77347 acx_cv_header_stdint=$i
77348 else
77349 continue
77350 fi
77351
77352 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77353 #include <$i>
77354 "
77355 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77356
77357 else
77358 acx_cv_header_stdint_kind="(mostly complete)"
77359 fi
77360
77361 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77362 #include <$i>
77363 "
77364 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77365
77366 else
77367 acx_cv_header_stdint_kind="(mostly complete)"
77368 fi
77369
77370 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77371 #include <$i>
77372 "
77373 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77374
77375 else
77376 acx_cv_header_stdint_kind="(mostly complete)"
77377 fi
77378
77379 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77380 #include <$i>
77381 "
77382 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77383
77384 else
77385 acx_cv_header_stdint_kind="(lacks uint64_t)"
77386 fi
77387
77388 break
77389 done
77390 if test "$acx_cv_header_stdint" = stddef.h; then
77391 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77392 for i in stdint.h $inttype_headers; do
77393 unset ac_cv_type_uintptr_t
77394 unset ac_cv_type_uint32_t
77395 unset ac_cv_type_uint64_t
77396 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77397 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77398 #include <$i>
77399 "
77400 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77401 acx_cv_header_stdint=$i
77402 else
77403 continue
77404 fi
77405
77406 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77407 #include <$i>
77408 "
77409 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77410
77411 fi
77412
77413 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77414 #include <$i>
77415 "
77416 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77417
77418 fi
77419
77420 break
77421 done
77422 fi
77423 if test "$acx_cv_header_stdint" = stddef.h; then
77424 acx_cv_header_stdint_kind="(u_intXX_t style)"
77425 for i in sys/types.h $inttype_headers; do
77426 unset ac_cv_type_u_int32_t
77427 unset ac_cv_type_u_int64_t
77428 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77429 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77430 #include <$i>
77431 "
77432 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77433 acx_cv_header_stdint=$i
77434 else
77435 continue
77436 fi
77437
77438 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77439 #include <$i>
77440 "
77441 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77442
77443 fi
77444
77445 break
77446 done
77447 fi
77448 if test "$acx_cv_header_stdint" = stddef.h; then
77449 acx_cv_header_stdint_kind="(using manual detection)"
77450 fi
77451
77452 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77453 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77454 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77455 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77456 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77457
77458 # ----------------- Summarize what we found so far
77459
77460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77461 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77462
77463 case `$as_basename -- include/gstdint.h ||
77464 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77465 Xinclude/gstdint.h : 'X\(//\)$' \| \
77466 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77467 $as_echo X/include/gstdint.h |
77468 sed '/^.*\/\([^/][^/]*\)\/*$/{
77469 s//\1/
77470 q
77471 }
77472 /^X\/\(\/\/\)$/{
77473 s//\1/
77474 q
77475 }
77476 /^X\/\(\/\).*/{
77477 s//\1/
77478 q
77479 }
77480 s/.*/./; q'` in
77481 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77482 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77483 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77484 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77485 *) ;;
77486 esac
77487
77488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77489 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77490
77491 # ----------------- done included file, check C basic types --------
77492
77493 # Lacking an uintptr_t? Test size of void *
77494 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77495 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77498 # This bug is HP SR number 8606223364.
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77500 $as_echo_n "checking size of void *... " >&6; }
77501 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77502 $as_echo_n "(cached) " >&6
77503 else
77504 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77505
77506 else
77507 if test "$ac_cv_type_void_p" = yes; then
77508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77510 { as_fn_set_status 77
77511 as_fn_error "cannot compute sizeof (void *)
77512 See \`config.log' for more details." "$LINENO" 5; }; }
77513 else
77514 ac_cv_sizeof_void_p=0
77515 fi
77516 fi
77517
77518 fi
77519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77520 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77521
77522
77523
77524 cat >>confdefs.h <<_ACEOF
77525 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77526 _ACEOF
77527
77528 ;;
77529 esac
77530
77531 # Lacking an uint64_t? Test size of long
77532 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77533 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77536 # This bug is HP SR number 8606223364.
77537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77538 $as_echo_n "checking size of long... " >&6; }
77539 if test "${ac_cv_sizeof_long+set}" = set; then :
77540 $as_echo_n "(cached) " >&6
77541 else
77542 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77543
77544 else
77545 if test "$ac_cv_type_long" = yes; then
77546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77548 { as_fn_set_status 77
77549 as_fn_error "cannot compute sizeof (long)
77550 See \`config.log' for more details." "$LINENO" 5; }; }
77551 else
77552 ac_cv_sizeof_long=0
77553 fi
77554 fi
77555
77556 fi
77557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77558 $as_echo "$ac_cv_sizeof_long" >&6; }
77559
77560
77561
77562 cat >>confdefs.h <<_ACEOF
77563 #define SIZEOF_LONG $ac_cv_sizeof_long
77564 _ACEOF
77565
77566 ;;
77567 esac
77568
77569 if test $acx_cv_header_stdint = stddef.h; then
77570 # Lacking a good header? Test size of everything and deduce all types.
77571 # The cast to long int works around a bug in the HP C Compiler
77572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77574 # This bug is HP SR number 8606223364.
77575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77576 $as_echo_n "checking size of int... " >&6; }
77577 if test "${ac_cv_sizeof_int+set}" = set; then :
77578 $as_echo_n "(cached) " >&6
77579 else
77580 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77581
77582 else
77583 if test "$ac_cv_type_int" = yes; then
77584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77586 { as_fn_set_status 77
77587 as_fn_error "cannot compute sizeof (int)
77588 See \`config.log' for more details." "$LINENO" 5; }; }
77589 else
77590 ac_cv_sizeof_int=0
77591 fi
77592 fi
77593
77594 fi
77595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77596 $as_echo "$ac_cv_sizeof_int" >&6; }
77597
77598
77599
77600 cat >>confdefs.h <<_ACEOF
77601 #define SIZEOF_INT $ac_cv_sizeof_int
77602 _ACEOF
77603
77604
77605 # The cast to long int works around a bug in the HP C Compiler
77606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77608 # This bug is HP SR number 8606223364.
77609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77610 $as_echo_n "checking size of short... " >&6; }
77611 if test "${ac_cv_sizeof_short+set}" = set; then :
77612 $as_echo_n "(cached) " >&6
77613 else
77614 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77615
77616 else
77617 if test "$ac_cv_type_short" = yes; then
77618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77620 { as_fn_set_status 77
77621 as_fn_error "cannot compute sizeof (short)
77622 See \`config.log' for more details." "$LINENO" 5; }; }
77623 else
77624 ac_cv_sizeof_short=0
77625 fi
77626 fi
77627
77628 fi
77629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77630 $as_echo "$ac_cv_sizeof_short" >&6; }
77631
77632
77633
77634 cat >>confdefs.h <<_ACEOF
77635 #define SIZEOF_SHORT $ac_cv_sizeof_short
77636 _ACEOF
77637
77638
77639 # The cast to long int works around a bug in the HP C Compiler
77640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77642 # This bug is HP SR number 8606223364.
77643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77644 $as_echo_n "checking size of char... " >&6; }
77645 if test "${ac_cv_sizeof_char+set}" = set; then :
77646 $as_echo_n "(cached) " >&6
77647 else
77648 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77649
77650 else
77651 if test "$ac_cv_type_char" = yes; then
77652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77654 { as_fn_set_status 77
77655 as_fn_error "cannot compute sizeof (char)
77656 See \`config.log' for more details." "$LINENO" 5; }; }
77657 else
77658 ac_cv_sizeof_char=0
77659 fi
77660 fi
77661
77662 fi
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77664 $as_echo "$ac_cv_sizeof_char" >&6; }
77665
77666
77667
77668 cat >>confdefs.h <<_ACEOF
77669 #define SIZEOF_CHAR $ac_cv_sizeof_char
77670 _ACEOF
77671
77672
77673
77674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77675 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77676 case "$ac_cv_sizeof_char" in
77677 1) acx_cv_type_int8_t=char ;;
77678 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77679 esac
77680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77681 $as_echo "$acx_cv_type_int8_t" >&6; }
77682
77683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77684 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77685 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77686 2:*) acx_cv_type_int16_t=int ;;
77687 *:2) acx_cv_type_int16_t=short ;;
77688 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77689 esac
77690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77691 $as_echo "$acx_cv_type_int16_t" >&6; }
77692
77693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77694 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77695 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77696 4:*) acx_cv_type_int32_t=int ;;
77697 *:4) acx_cv_type_int32_t=long ;;
77698 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77699 esac
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77701 $as_echo "$acx_cv_type_int32_t" >&6; }
77702 fi
77703
77704 # These tests are here to make the output prettier
77705
77706 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77707 case "$ac_cv_sizeof_long" in
77708 8) acx_cv_type_int64_t=long ;;
77709 esac
77710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77711 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77713 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77714 fi
77715
77716 # Now we can use the above types
77717
77718 if test "$ac_cv_type_uintptr_t" != yes; then
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77720 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77721 case $ac_cv_sizeof_void_p in
77722 2) acx_cv_type_intptr_t=int16_t ;;
77723 4) acx_cv_type_intptr_t=int32_t ;;
77724 8) acx_cv_type_intptr_t=int64_t ;;
77725 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77726 esac
77727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77728 $as_echo "$acx_cv_type_intptr_t" >&6; }
77729 fi
77730
77731 # ----------------- done all checks, emit header -------------
77732 ac_config_commands="$ac_config_commands include/gstdint.h"
77733
77734
77735
77736
77737
77738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77739 $as_echo_n "checking for GNU c++filt... " >&6; }
77740 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77741 $as_echo_n "(cached) " >&6
77742 else
77743 if test -z "$CXXFILT"; then
77744 ac_path_CXXFILT_found=false
77745 # Loop through the user's path and test for each of PROGNAME-LIST
77746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77747 for as_dir in $PATH
77748 do
77749 IFS=$as_save_IFS
77750 test -z "$as_dir" && as_dir=.
77751 for ac_prog in c++filt gc++filt; do
77752 for ac_exec_ext in '' $ac_executable_extensions; do
77753 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77754 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77755 # Check for GNU $ac_path_CXXFILT
77756 case `"$ac_path_CXXFILT" --version 2>&1` in
77757 *GNU*)
77758 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77759 esac
77760
77761 $ac_path_CXXFILT_found && break 3
77762 done
77763 done
77764 done
77765 IFS=$as_save_IFS
77766 if test -z "$ac_cv_path_CXXFILT"; then
77767 :
77768 fi
77769 else
77770 ac_cv_path_CXXFILT=$CXXFILT
77771 fi
77772
77773 fi
77774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77775 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77776 CXXFILT=$ac_cv_path_CXXFILT
77777
77778
77779
77780 # Check whether --enable-symvers was given.
77781 if test "${enable_symvers+set}" = set; then :
77782 enableval=$enable_symvers;
77783 case "$enableval" in
77784 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77785 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77786 esac
77787
77788 else
77789 enable_symvers=yes
77790 fi
77791
77792
77793
77794 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77795 # don't know enough about $LD to do tricks...
77796
77797 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77798 # with extern "C++" in version scripts.
77799
77800
77801 # Turn a 'yes' into a suitable default.
77802 if test x$enable_symvers = xyes ; then
77803 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77804 enable_symvers=no
77805 else
77806 if test $with_gnu_ld = yes ; then
77807 case ${target_os} in
77808 hpux*)
77809 enable_symvers=no ;;
77810 *)
77811 enable_symvers=gnu ;;
77812 esac
77813 else
77814 case ${target_os} in
77815 darwin*)
77816 enable_symvers=darwin ;;
77817 # Sun symbol versioning exists since Solaris 2.5.
77818 solaris2.[5-9]* | solaris2.1[0-9]*)
77819 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77820 # version scripts, so disable symbol versioning if none can be
77821 # found.
77822 if test -z "$ac_cv_path_CXXFILT"; then
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77824 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77826 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77828 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77829 enable_symvers=no
77830 else
77831 enable_symvers=sun
77832 fi
77833 ;;
77834 *)
77835 enable_symvers=no ;;
77836 esac
77837 fi
77838 fi
77839 fi
77840
77841 # Check to see if 'darwin' or 'darwin-export' can win.
77842 if test x$enable_symvers = xdarwin-export ; then
77843 enable_symvers=darwin
77844 fi
77845
77846 # Check if 'sun' was requested on non-Solaris 2 platforms.
77847 if test x$enable_symvers = xsun ; then
77848 case ${target_os} in
77849 solaris2*)
77850 # All fine.
77851 ;;
77852 *)
77853 # Unlikely to work.
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77855 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77857 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77859 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77860 enable_symvers=no
77861 ;;
77862 esac
77863 fi
77864
77865 # Check to see if 'gnu' can win.
77866 if test $enable_symvers = gnu ||
77867 test $enable_symvers = gnu-versioned-namespace ||
77868 test $enable_symvers = sun; then
77869 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77871 $as_echo_n "checking for shared libgcc... " >&6; }
77872 ac_save_CFLAGS="$CFLAGS"
77873 CFLAGS=' -lgcc_s'
77874 if test x$gcc_no_link = xyes; then
77875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77876 fi
77877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77878 /* end confdefs.h. */
77879
77880 int
77881 main ()
77882 {
77883 return 0;
77884 ;
77885 return 0;
77886 }
77887 _ACEOF
77888 if ac_fn_c_try_link "$LINENO"; then :
77889 glibcxx_shared_libgcc=yes
77890 else
77891 glibcxx_shared_libgcc=no
77892 fi
77893 rm -f core conftest.err conftest.$ac_objext \
77894 conftest$ac_exeext conftest.$ac_ext
77895 CFLAGS="$ac_save_CFLAGS"
77896 if test $glibcxx_shared_libgcc = no; then
77897 cat > conftest.c <<EOF
77898 int main (void) { return 0; }
77899 EOF
77900 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77901 -shared -shared-libgcc -o conftest.so \
77902 conftest.c -v 2>&1 >/dev/null \
77903 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77904 rm -f conftest.c conftest.so
77905 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77906 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77907 if test x$gcc_no_link = xyes; then
77908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77909 fi
77910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77911 /* end confdefs.h. */
77912
77913 int
77914 main ()
77915 {
77916 return 0;
77917 ;
77918 return 0;
77919 }
77920 _ACEOF
77921 if ac_fn_c_try_link "$LINENO"; then :
77922 glibcxx_shared_libgcc=yes
77923 fi
77924 rm -f core conftest.err conftest.$ac_objext \
77925 conftest$ac_exeext conftest.$ac_ext
77926 CFLAGS="$ac_save_CFLAGS"
77927 fi
77928 fi
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77930 $as_echo "$glibcxx_shared_libgcc" >&6; }
77931
77932 # For GNU ld, we need at least this version. The format is described in
77933 # GLIBCXX_CHECK_LINKER_FEATURES above.
77934 glibcxx_min_gnu_ld_version=21400
77935
77936 # If no shared libgcc, can't win.
77937 if test $glibcxx_shared_libgcc != yes; then
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77939 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77941 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77943 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77944 enable_symvers=no
77945 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77946 : All interesting versions of Sun ld support sun style symbol versioning.
77947 elif test $with_gnu_ld != yes ; then
77948 # just fail for now
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77950 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77952 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77954 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77955 enable_symvers=no
77956 elif test $glibcxx_ld_is_gold = yes ; then
77957 : All versions of gold support symbol versioning.
77958 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77959 # The right tools, the right setup, but too old. Fallbacks?
77960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77961 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77963 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77965 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77967 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77969 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77970 enable_symvers=no
77971 fi
77972 fi
77973
77974 # For libtool versioning info, format is CURRENT:REVISION:AGE
77975 libtool_VERSION=6:21:0
77976
77977 # Everything parsed; figure out what files and settings to use.
77978 case $enable_symvers in
77979 no)
77980 SYMVER_FILE=config/abi/pre/none.ver
77981 ;;
77982 gnu)
77983 SYMVER_FILE=config/abi/pre/gnu.ver
77984
77985 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77986
77987 ;;
77988 gnu-versioned-namespace)
77989 libtool_VERSION=7:0:0
77990 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77991
77992 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77993
77994 ;;
77995 darwin)
77996 SYMVER_FILE=config/abi/pre/gnu.ver
77997
77998 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77999
78000 ;;
78001 sun)
78002 SYMVER_FILE=config/abi/pre/gnu.ver
78003
78004 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78005
78006 ;;
78007 esac
78008
78009 if test x$enable_symvers != xno ; then
78010
78011 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78012
78013 fi
78014
78015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78016 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78017 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78020
78021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78022 /* end confdefs.h. */
78023 void foo (void); __asm (".symver foo, bar@SYMVER");
78024 int
78025 main ()
78026 {
78027
78028 ;
78029 return 0;
78030 }
78031 _ACEOF
78032 if ac_fn_c_try_compile "$LINENO"; then :
78033 glibcxx_cv_have_as_symver_directive=yes
78034 else
78035 glibcxx_cv_have_as_symver_directive=no
78036 fi
78037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78038 fi
78039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78040 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78041 if test $glibcxx_cv_have_as_symver_directive = yes; then
78042
78043 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78044
78045 fi
78046
78047
78048
78049
78050
78051
78052
78053
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78055 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78056
78057 if test $enable_symvers != no ; then
78058 case ${target_os} in
78059 # The Solaris 2 runtime linker doesn't support the GNU extension of
78060 # binding the same symbol to different versions
78061 solaris2*)
78062 ;;
78063 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78064 *)
78065
78066 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78067
78068 ;;
78069 esac
78070 fi
78071
78072 # Now, set up compatibility support, if any.
78073 # In addition, need this to deal with std::size_t mangling in
78074 # src/compatibility.cc. In a perfect world, could use
78075 # typeid(std::size_t).name()[0] to do direct substitution.
78076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78077 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78078 ac_save_CFLAGS="$CFLAGS"
78079 CFLAGS="-Werror"
78080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78081 /* end confdefs.h. */
78082
78083 int
78084 main ()
78085 {
78086 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78087 ;
78088 return 0;
78089 }
78090 _ACEOF
78091 if ac_fn_c_try_compile "$LINENO"; then :
78092 glibcxx_size_t_is_i=yes
78093 else
78094 glibcxx_size_t_is_i=no
78095 fi
78096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78097 CFLAGS=$ac_save_CFLAGS
78098 if test "$glibcxx_size_t_is_i" = yes; then
78099
78100 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78101
78102 fi
78103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78104 $as_echo "$glibcxx_size_t_is_i" >&6; }
78105
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78107 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78108 ac_save_CFLAGS="$CFLAGS"
78109 CFLAGS="-Werror"
78110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78111 /* end confdefs.h. */
78112
78113 int
78114 main ()
78115 {
78116 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78117 ;
78118 return 0;
78119 }
78120 _ACEOF
78121 if ac_fn_c_try_compile "$LINENO"; then :
78122 glibcxx_ptrdiff_t_is_i=yes
78123 else
78124 glibcxx_ptrdiff_t_is_i=no
78125 fi
78126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78127 CFLAGS=$ac_save_CFLAGS
78128 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78129
78130 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78131
78132 fi
78133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78134 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78135
78136
78137
78138
78139 # Check whether --enable-libstdcxx-visibility was given.
78140 if test "${enable_libstdcxx_visibility+set}" = set; then :
78141 enableval=$enable_libstdcxx_visibility;
78142 case "$enableval" in
78143 yes|no) ;;
78144 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78145 esac
78146
78147 else
78148 enable_libstdcxx_visibility=yes
78149 fi
78150
78151
78152
78153 if test x$enable_libstdcxx_visibility = xyes ; then
78154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78155 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78156 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78157 $as_echo_n "(cached) " >&6
78158 else
78159
78160 save_CFLAGS="$CFLAGS"
78161 CFLAGS="$CFLAGS -Werror"
78162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78163 /* end confdefs.h. */
78164 void __attribute__((visibility("hidden"))) foo(void) { }
78165 int
78166 main ()
78167 {
78168
78169 ;
78170 return 0;
78171 }
78172 _ACEOF
78173 if ac_fn_c_try_compile "$LINENO"; then :
78174 glibcxx_cv_have_attribute_visibility=yes
78175 else
78176 glibcxx_cv_have_attribute_visibility=no
78177 fi
78178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78179 CFLAGS="$save_CFLAGS"
78180 fi
78181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78182 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78183 if test $glibcxx_cv_have_attribute_visibility = no; then
78184 enable_libstdcxx_visibility=no
78185 fi
78186 fi
78187
78188
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78190 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78191
78192
78193
78194 # Check whether --enable-libstdcxx-dual-abi was given.
78195 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78196 enableval=$enable_libstdcxx_dual_abi;
78197 case "$enableval" in
78198 yes|no) ;;
78199 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78200 esac
78201
78202 else
78203 enable_libstdcxx_dual_abi=yes
78204 fi
78205
78206
78207 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78208 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78209 $as_echo "$as_me: dual ABI is disabled" >&6;}
78210 default_libstdcxx_abi="c++98"
78211 fi
78212
78213
78214
78215 if test x$enable_libstdcxx_dual_abi = xyes; then
78216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78217 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78218
78219 # Check whether --with-default-libstdcxx-abi was given.
78220 if test "${with_default_libstdcxx_abi+set}" = set; then :
78221 withval=$with_default_libstdcxx_abi; case "$withval" in
78222 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78223 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78224 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78225 esac
78226 else
78227 default_libstdcxx_abi="c++11"
78228 fi
78229
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78231 $as_echo "${default_libstdcxx_abi}" >&6; }
78232 fi
78233 if test $default_libstdcxx_abi = "c++11"; then
78234 glibcxx_cxx11_abi=1
78235 glibcxx_cxx98_abi=0
78236 else
78237 glibcxx_cxx11_abi=0
78238 glibcxx_cxx98_abi=1
78239 fi
78240
78241
78242
78243
78244 ac_ldbl_compat=no
78245 case "$target" in
78246 powerpc*-*-linux* | \
78247 sparc*-*-linux* | \
78248 s390*-*-linux* | \
78249 alpha*-*-linux*)
78250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78251 /* end confdefs.h. */
78252
78253 int
78254 main ()
78255 {
78256
78257 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78258 #error no need for long double compatibility
78259 #endif
78260
78261 ;
78262 return 0;
78263 }
78264 _ACEOF
78265 if ac_fn_c_try_compile "$LINENO"; then :
78266 ac_ldbl_compat=yes
78267 else
78268 ac_ldbl_compat=no
78269 fi
78270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78271 if test "$ac_ldbl_compat" = yes; then
78272
78273 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78274
78275 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78276 fi
78277 esac
78278
78279
78280 # Check if assembler supports disabling hardware capability support.
78281
78282 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78283
78284 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78285 # with a different meaning.
78286 case ${target_os} in
78287 solaris2*)
78288 ac_save_CFLAGS="$CFLAGS"
78289 CFLAGS="$CFLAGS -Wa,-nH"
78290
78291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78292 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78294 /* end confdefs.h. */
78295
78296 int
78297 main ()
78298 {
78299 return 0;
78300 ;
78301 return 0;
78302 }
78303 _ACEOF
78304 if ac_fn_c_try_compile "$LINENO"; then :
78305 ac_hwcap_flags=yes
78306 else
78307 ac_hwcap_flags=no
78308 fi
78309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78310 if test "$ac_hwcap_flags" = "yes"; then
78311 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78312 fi
78313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78314 $as_echo "$ac_hwcap_flags" >&6; }
78315
78316 CFLAGS="$ac_save_CFLAGS"
78317 ;;
78318 esac
78319
78320
78321
78322
78323 # Check if assembler supports rdrand opcode.
78324
78325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78326 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78327 if test "${ac_cv_x86_rdrand+set}" = set; then :
78328 $as_echo_n "(cached) " >&6
78329 else
78330
78331 ac_cv_x86_rdrand=no
78332 case "$target" in
78333 i?86-*-* | \
78334 x86_64-*-*)
78335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78336 /* end confdefs.h. */
78337
78338 int
78339 main ()
78340 {
78341 asm("rdrand %eax");
78342 ;
78343 return 0;
78344 }
78345 _ACEOF
78346 if ac_fn_c_try_compile "$LINENO"; then :
78347 ac_cv_x86_rdrand=yes
78348 else
78349 ac_cv_x86_rdrand=no
78350 fi
78351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78352 esac
78353
78354 fi
78355
78356 if test $ac_cv_x86_rdrand = yes; then
78357
78358 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78359
78360 fi
78361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78362 $as_echo "$ac_cv_x86_rdrand" >&6; }
78363
78364
78365 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78366
78367 if $GLIBCXX_IS_NATIVE ; then
78368 # Do checks for resource limit functions.
78369
78370 setrlimit_have_headers=yes
78371 for ac_header in unistd.h sys/time.h sys/resource.h
78372 do :
78373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78375 eval as_val=\$$as_ac_Header
78376 if test "x$as_val" = x""yes; then :
78377 cat >>confdefs.h <<_ACEOF
78378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78379 _ACEOF
78380
78381 else
78382 setrlimit_have_headers=no
78383 fi
78384
78385 done
78386
78387 # If don't have the headers, then we can't run the tests now, and we
78388 # won't be seeing any of these during testsuite compilation.
78389 if test $setrlimit_have_headers = yes; then
78390 # Can't do these in a loop, else the resulting syntax is wrong.
78391
78392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78393 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <unistd.h>
78397 #include <sys/time.h>
78398 #include <sys/resource.h>
78399
78400 int
78401 main ()
78402 {
78403 int f = RLIMIT_DATA ;
78404 ;
78405 return 0;
78406 }
78407 _ACEOF
78408 if ac_fn_c_try_compile "$LINENO"; then :
78409 glibcxx_mresult=1
78410 else
78411 glibcxx_mresult=0
78412 fi
78413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78414
78415 cat >>confdefs.h <<_ACEOF
78416 #define HAVE_LIMIT_DATA $glibcxx_mresult
78417 _ACEOF
78418
78419 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78421 $as_echo "$res" >&6; }
78422
78423
78424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78425 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78427 /* end confdefs.h. */
78428 #include <unistd.h>
78429 #include <sys/time.h>
78430 #include <sys/resource.h>
78431
78432 int
78433 main ()
78434 {
78435 int f = RLIMIT_RSS ;
78436 ;
78437 return 0;
78438 }
78439 _ACEOF
78440 if ac_fn_c_try_compile "$LINENO"; then :
78441 glibcxx_mresult=1
78442 else
78443 glibcxx_mresult=0
78444 fi
78445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78446
78447 cat >>confdefs.h <<_ACEOF
78448 #define HAVE_LIMIT_RSS $glibcxx_mresult
78449 _ACEOF
78450
78451 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78453 $as_echo "$res" >&6; }
78454
78455
78456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78457 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78459 /* end confdefs.h. */
78460 #include <unistd.h>
78461 #include <sys/time.h>
78462 #include <sys/resource.h>
78463
78464 int
78465 main ()
78466 {
78467 int f = RLIMIT_VMEM ;
78468 ;
78469 return 0;
78470 }
78471 _ACEOF
78472 if ac_fn_c_try_compile "$LINENO"; then :
78473 glibcxx_mresult=1
78474 else
78475 glibcxx_mresult=0
78476 fi
78477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78478
78479 cat >>confdefs.h <<_ACEOF
78480 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78481 _ACEOF
78482
78483 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78485 $as_echo "$res" >&6; }
78486
78487
78488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78489 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78491 /* end confdefs.h. */
78492 #include <unistd.h>
78493 #include <sys/time.h>
78494 #include <sys/resource.h>
78495
78496 int
78497 main ()
78498 {
78499 int f = RLIMIT_AS ;
78500 ;
78501 return 0;
78502 }
78503 _ACEOF
78504 if ac_fn_c_try_compile "$LINENO"; then :
78505 glibcxx_mresult=1
78506 else
78507 glibcxx_mresult=0
78508 fi
78509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78510
78511 cat >>confdefs.h <<_ACEOF
78512 #define HAVE_LIMIT_AS $glibcxx_mresult
78513 _ACEOF
78514
78515 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78517 $as_echo "$res" >&6; }
78518
78519
78520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78521 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78523 /* end confdefs.h. */
78524 #include <unistd.h>
78525 #include <sys/time.h>
78526 #include <sys/resource.h>
78527
78528 int
78529 main ()
78530 {
78531 int f = RLIMIT_FSIZE ;
78532 ;
78533 return 0;
78534 }
78535 _ACEOF
78536 if ac_fn_c_try_compile "$LINENO"; then :
78537 glibcxx_mresult=1
78538 else
78539 glibcxx_mresult=0
78540 fi
78541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78542
78543 cat >>confdefs.h <<_ACEOF
78544 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78545 _ACEOF
78546
78547 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78549 $as_echo "$res" >&6; }
78550
78551
78552 # Check for rlimit, setrlimit.
78553 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78554 $as_echo_n "(cached) " >&6
78555 else
78556
78557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78558 /* end confdefs.h. */
78559 #include <unistd.h>
78560 #include <sys/time.h>
78561 #include <sys/resource.h>
78562
78563 int
78564 main ()
78565 {
78566 struct rlimit r;
78567 setrlimit(0, &r);
78568 ;
78569 return 0;
78570 }
78571 _ACEOF
78572 if ac_fn_c_try_compile "$LINENO"; then :
78573 glibcxx_cv_setrlimit=yes
78574 else
78575 glibcxx_cv_setrlimit=no
78576 fi
78577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78578
78579 fi
78580
78581 fi
78582
78583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78584 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78585 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78586 ac_res_limits=yes
78587
78588 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78589
78590 else
78591 ac_res_limits=no
78592 fi
78593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78594 $as_echo "$ac_res_limits" >&6; }
78595
78596
78597 # Look for setenv, so that extended locale tests can be performed.
78598
78599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78600 $as_echo_n "checking for setenv declaration... " >&6; }
78601 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78602 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78603 $as_echo_n "(cached) " >&6
78604 else
78605
78606
78607 ac_ext=cpp
78608 ac_cpp='$CXXCPP $CPPFLAGS'
78609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78612
78613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78614 /* end confdefs.h. */
78615 #include <stdlib.h>
78616 int
78617 main ()
78618 {
78619 setenv(0, 0, 0);
78620 ;
78621 return 0;
78622 }
78623 _ACEOF
78624 if ac_fn_cxx_try_compile "$LINENO"; then :
78625 glibcxx_cv_func_setenv_use=yes
78626 else
78627 glibcxx_cv_func_setenv_use=no
78628 fi
78629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78630 ac_ext=c
78631 ac_cpp='$CPP $CPPFLAGS'
78632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78635
78636
78637 fi
78638
78639 fi
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78641 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78642 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78643 for ac_func in setenv
78644 do :
78645 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78646 if test "x$ac_cv_func_setenv" = x""yes; then :
78647 cat >>confdefs.h <<_ACEOF
78648 #define HAVE_SETENV 1
78649 _ACEOF
78650
78651 fi
78652 done
78653
78654 fi
78655
78656 fi
78657
78658 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78659 test $enable_symvers != no; then
78660 case "$host" in
78661 *-*-cygwin*)
78662 enable_abi_check=no ;;
78663 *)
78664 enable_abi_check=yes ;;
78665 esac
78666 else
78667 # Only build this as native, since automake does not understand
78668 # CXX_FOR_BUILD.
78669 enable_abi_check=no
78670 fi
78671
78672 # Export file names for ABI checking.
78673 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78674
78675 baseline_subdir_switch="$abi_baseline_subdir_switch"
78676
78677
78678
78679 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78680
78681 # Check whether --enable-libstdcxx-threads was given.
78682 if test "${enable_libstdcxx_threads+set}" = set; then :
78683 enableval=$enable_libstdcxx_threads;
78684 case "$enableval" in
78685 yes|no) ;;
78686 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78687 esac
78688
78689 else
78690 enable_libstdcxx_threads=auto
78691 fi
78692
78693
78694
78695 if test x$enable_libstdcxx_threads = xauto ||
78696 test x$enable_libstdcxx_threads = xyes; then
78697
78698
78699 ac_ext=cpp
78700 ac_cpp='$CXXCPP $CPPFLAGS'
78701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78704
78705
78706 ac_save_CXXFLAGS="$CXXFLAGS"
78707 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78708 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78709
78710 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78711 case $target_thread_file in
78712 posix)
78713 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78714 esac
78715
78716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78717 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78718
78719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78720 /* end confdefs.h. */
78721 #include <unistd.h>
78722 int
78723 main ()
78724 {
78725
78726 // In case of POSIX threads check _POSIX_TIMEOUTS.
78727 #if (defined(_PTHREADS) \
78728 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78729 #error
78730 #endif
78731
78732 ;
78733 return 0;
78734 }
78735 _ACEOF
78736 if ac_fn_cxx_try_compile "$LINENO"; then :
78737 ac_gthread_use_mutex_timedlock=1
78738 else
78739 ac_gthread_use_mutex_timedlock=0
78740 fi
78741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78742
78743
78744 cat >>confdefs.h <<_ACEOF
78745 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78746 _ACEOF
78747
78748
78749 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78750 else res_mutex_timedlock=no ; fi
78751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78752 $as_echo "$res_mutex_timedlock" >&6; }
78753
78754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78755 $as_echo_n "checking for gthreads library... " >&6; }
78756
78757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78758 /* end confdefs.h. */
78759 #include "gthr.h"
78760 int
78761 main ()
78762 {
78763
78764 #ifndef __GTHREADS_CXX0X
78765 #error
78766 #endif
78767
78768 ;
78769 return 0;
78770 }
78771 _ACEOF
78772 if ac_fn_cxx_try_compile "$LINENO"; then :
78773 ac_has_gthreads=yes
78774 else
78775 ac_has_gthreads=no
78776 fi
78777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78778 else
78779 ac_has_gthreads=no
78780 fi
78781
78782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78783 $as_echo "$ac_has_gthreads" >&6; }
78784
78785 if test x"$ac_has_gthreads" = x"yes"; then
78786
78787 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78788
78789 fi
78790
78791 CXXFLAGS="$ac_save_CXXFLAGS"
78792 ac_ext=c
78793 ac_cpp='$CPP $CPPFLAGS'
78794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78797
78798
78799
78800 # Define documentation rules conditionally.
78801
78802 # See if makeinfo has been installed and is modern enough
78803 # that we can use it.
78804
78805 # Extract the first word of "makeinfo", so it can be a program name with args.
78806 set dummy makeinfo; ac_word=$2
78807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78808 $as_echo_n "checking for $ac_word... " >&6; }
78809 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78810 $as_echo_n "(cached) " >&6
78811 else
78812 if test -n "$MAKEINFO"; then
78813 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78814 else
78815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78816 for as_dir in $PATH
78817 do
78818 IFS=$as_save_IFS
78819 test -z "$as_dir" && as_dir=.
78820 for ac_exec_ext in '' $ac_executable_extensions; do
78821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78822 ac_cv_prog_MAKEINFO="makeinfo"
78823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78824 break 2
78825 fi
78826 done
78827 done
78828 IFS=$as_save_IFS
78829
78830 fi
78831 fi
78832 MAKEINFO=$ac_cv_prog_MAKEINFO
78833 if test -n "$MAKEINFO"; then
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78835 $as_echo "$MAKEINFO" >&6; }
78836 else
78837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78838 $as_echo "no" >&6; }
78839 fi
78840
78841
78842 if test -n "$MAKEINFO"; then
78843 # Found it, now check the version.
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78845 $as_echo_n "checking for modern makeinfo... " >&6; }
78846 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78847 $as_echo_n "(cached) " >&6
78848 else
78849 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78850 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78851
78852 case $ac_prog_version in
78853 '') gcc_cv_prog_makeinfo_modern=no;;
78854 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78855 *) gcc_cv_prog_makeinfo_modern=no;;
78856 esac
78857
78858 fi
78859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78860 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78861 else
78862 gcc_cv_prog_makeinfo_modern=no
78863 fi
78864 if test $gcc_cv_prog_makeinfo_modern = no; then
78865 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78866 fi
78867
78868 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78869 BUILD_INFO_TRUE=
78870 BUILD_INFO_FALSE='#'
78871 else
78872 BUILD_INFO_TRUE='#'
78873 BUILD_INFO_FALSE=
78874 fi
78875
78876
78877 # Check for doxygen
78878 # Extract the first word of "doxygen", so it can be a program name with args.
78879 set dummy doxygen; ac_word=$2
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78881 $as_echo_n "checking for $ac_word... " >&6; }
78882 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78883 $as_echo_n "(cached) " >&6
78884 else
78885 if test -n "$DOXYGEN"; then
78886 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78887 else
78888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78889 for as_dir in $PATH
78890 do
78891 IFS=$as_save_IFS
78892 test -z "$as_dir" && as_dir=.
78893 for ac_exec_ext in '' $ac_executable_extensions; do
78894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78895 ac_cv_prog_DOXYGEN="yes"
78896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78897 break 2
78898 fi
78899 done
78900 done
78901 IFS=$as_save_IFS
78902
78903 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78904 fi
78905 fi
78906 DOXYGEN=$ac_cv_prog_DOXYGEN
78907 if test -n "$DOXYGEN"; then
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78909 $as_echo "$DOXYGEN" >&6; }
78910 else
78911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78912 $as_echo "no" >&6; }
78913 fi
78914
78915
78916 # Extract the first word of "dot", so it can be a program name with args.
78917 set dummy dot; ac_word=$2
78918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78919 $as_echo_n "checking for $ac_word... " >&6; }
78920 if test "${ac_cv_prog_DOT+set}" = set; then :
78921 $as_echo_n "(cached) " >&6
78922 else
78923 if test -n "$DOT"; then
78924 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78925 else
78926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78927 for as_dir in $PATH
78928 do
78929 IFS=$as_save_IFS
78930 test -z "$as_dir" && as_dir=.
78931 for ac_exec_ext in '' $ac_executable_extensions; do
78932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78933 ac_cv_prog_DOT="yes"
78934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78935 break 2
78936 fi
78937 done
78938 done
78939 IFS=$as_save_IFS
78940
78941 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78942 fi
78943 fi
78944 DOT=$ac_cv_prog_DOT
78945 if test -n "$DOT"; then
78946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78947 $as_echo "$DOT" >&6; }
78948 else
78949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78950 $as_echo "no" >&6; }
78951 fi
78952
78953
78954
78955 # Check for docbook
78956 # Extract the first word of "xsltproc", so it can be a program name with args.
78957 set dummy xsltproc; ac_word=$2
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78959 $as_echo_n "checking for $ac_word... " >&6; }
78960 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78961 $as_echo_n "(cached) " >&6
78962 else
78963 if test -n "$XSLTPROC"; then
78964 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78965 else
78966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78967 for as_dir in $PATH
78968 do
78969 IFS=$as_save_IFS
78970 test -z "$as_dir" && as_dir=.
78971 for ac_exec_ext in '' $ac_executable_extensions; do
78972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78973 ac_cv_prog_XSLTPROC="yes"
78974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78975 break 2
78976 fi
78977 done
78978 done
78979 IFS=$as_save_IFS
78980
78981 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78982 fi
78983 fi
78984 XSLTPROC=$ac_cv_prog_XSLTPROC
78985 if test -n "$XSLTPROC"; then
78986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78987 $as_echo "$XSLTPROC" >&6; }
78988 else
78989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78990 $as_echo "no" >&6; }
78991 fi
78992
78993
78994 # Extract the first word of "xmllint", so it can be a program name with args.
78995 set dummy xmllint; ac_word=$2
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78997 $as_echo_n "checking for $ac_word... " >&6; }
78998 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78999 $as_echo_n "(cached) " >&6
79000 else
79001 if test -n "$XMLLINT"; then
79002 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79003 else
79004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79005 for as_dir in $PATH
79006 do
79007 IFS=$as_save_IFS
79008 test -z "$as_dir" && as_dir=.
79009 for ac_exec_ext in '' $ac_executable_extensions; do
79010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79011 ac_cv_prog_XMLLINT="yes"
79012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79013 break 2
79014 fi
79015 done
79016 done
79017 IFS=$as_save_IFS
79018
79019 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79020 fi
79021 fi
79022 XMLLINT=$ac_cv_prog_XMLLINT
79023 if test -n "$XMLLINT"; then
79024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79025 $as_echo "$XMLLINT" >&6; }
79026 else
79027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79028 $as_echo "no" >&6; }
79029 fi
79030
79031
79032
79033
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79035 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79036 glibcxx_stylesheets=no
79037 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
79038 glibcxx_stylesheets=yes
79039 fi
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79041 $as_echo "$glibcxx_stylesheets" >&6; }
79042
79043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79044 $as_echo_n "checking for local stylesheet directory... " >&6; }
79045 glibcxx_local_stylesheets=no
79046 if test x"$glibcxx_stylesheets" = x"yes"; then
79047 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79048 glibcxx_local_stylesheets=yes
79049 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79050 fi
79051 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79052 glibcxx_local_stylesheets=yes
79053 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79054 fi
79055 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79056 glibcxx_local_stylesheets=yes
79057 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79058 fi
79059 fi
79060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79061 $as_echo "$glibcxx_local_stylesheets" >&6; }
79062
79063 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79064
79065 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79066 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79067 else
79068 glibcxx_stylesheets=no
79069 fi
79070
79071 # Check for epub3 dependencies.
79072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79073 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79074 glibcxx_epub_stylesheets=no
79075 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79076 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79077 glibcxx_epub_stylesheets=yes
79078 fi
79079 fi
79080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79081 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79082 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79083 BUILD_EPUB_TRUE=
79084 BUILD_EPUB_FALSE='#'
79085 else
79086 BUILD_EPUB_TRUE='#'
79087 BUILD_EPUB_FALSE=
79088 fi
79089
79090
79091
79092
79093 # Check for xml/html dependencies.
79094 if test $ac_cv_prog_DOXYGEN = "yes" &&
79095 test $ac_cv_prog_DOT = "yes" &&
79096 test $ac_cv_prog_XSLTPROC = "yes" &&
79097 test $ac_cv_prog_XMLLINT = "yes" &&
79098 test $glibcxx_stylesheets = "yes"; then
79099 BUILD_XML_TRUE=
79100 BUILD_XML_FALSE='#'
79101 else
79102 BUILD_XML_TRUE='#'
79103 BUILD_XML_FALSE=
79104 fi
79105
79106
79107 if test $ac_cv_prog_DOXYGEN = "yes" &&
79108 test $ac_cv_prog_DOT = "yes" &&
79109 test $ac_cv_prog_XSLTPROC = "yes" &&
79110 test $ac_cv_prog_XMLLINT = "yes" &&
79111 test $glibcxx_stylesheets = "yes"; then
79112 BUILD_HTML_TRUE=
79113 BUILD_HTML_FALSE='#'
79114 else
79115 BUILD_HTML_TRUE='#'
79116 BUILD_HTML_FALSE=
79117 fi
79118
79119
79120 # Check for man dependencies.
79121 if test $ac_cv_prog_DOXYGEN = "yes" &&
79122 test $ac_cv_prog_DOT = "yes"; then
79123 BUILD_MAN_TRUE=
79124 BUILD_MAN_FALSE='#'
79125 else
79126 BUILD_MAN_TRUE='#'
79127 BUILD_MAN_FALSE=
79128 fi
79129
79130
79131 # Check for pdf dependencies.
79132 # Extract the first word of "dblatex", so it can be a program name with args.
79133 set dummy dblatex; ac_word=$2
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79135 $as_echo_n "checking for $ac_word... " >&6; }
79136 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79137 $as_echo_n "(cached) " >&6
79138 else
79139 if test -n "$DBLATEX"; then
79140 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79141 else
79142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79143 for as_dir in $PATH
79144 do
79145 IFS=$as_save_IFS
79146 test -z "$as_dir" && as_dir=.
79147 for ac_exec_ext in '' $ac_executable_extensions; do
79148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79149 ac_cv_prog_DBLATEX="yes"
79150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79151 break 2
79152 fi
79153 done
79154 done
79155 IFS=$as_save_IFS
79156
79157 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79158 fi
79159 fi
79160 DBLATEX=$ac_cv_prog_DBLATEX
79161 if test -n "$DBLATEX"; then
79162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79163 $as_echo "$DBLATEX" >&6; }
79164 else
79165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79166 $as_echo "no" >&6; }
79167 fi
79168
79169
79170 # Extract the first word of "pdflatex", so it can be a program name with args.
79171 set dummy pdflatex; ac_word=$2
79172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79173 $as_echo_n "checking for $ac_word... " >&6; }
79174 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79175 $as_echo_n "(cached) " >&6
79176 else
79177 if test -n "$PDFLATEX"; then
79178 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79179 else
79180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79181 for as_dir in $PATH
79182 do
79183 IFS=$as_save_IFS
79184 test -z "$as_dir" && as_dir=.
79185 for ac_exec_ext in '' $ac_executable_extensions; do
79186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79187 ac_cv_prog_PDFLATEX="yes"
79188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79189 break 2
79190 fi
79191 done
79192 done
79193 IFS=$as_save_IFS
79194
79195 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79196 fi
79197 fi
79198 PDFLATEX=$ac_cv_prog_PDFLATEX
79199 if test -n "$PDFLATEX"; then
79200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79201 $as_echo "$PDFLATEX" >&6; }
79202 else
79203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79204 $as_echo "no" >&6; }
79205 fi
79206
79207
79208 if test $ac_cv_prog_DBLATEX = "yes" &&
79209 test $ac_cv_prog_PDFLATEX = "yes"; then
79210 BUILD_PDF_TRUE=
79211 BUILD_PDF_FALSE='#'
79212 else
79213 BUILD_PDF_TRUE='#'
79214 BUILD_PDF_FALSE=
79215 fi
79216
79217
79218
79219 # Propagate the target-specific source directories through the build chain.
79220 ATOMICITY_SRCDIR=config/${atomicity_dir}
79221 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79222 ATOMIC_FLAGS=${atomic_flags}
79223 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79224 OS_INC_SRCDIR=config/${os_include_dir}
79225 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79226 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79227 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79228 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79229
79230
79231
79232
79233
79234
79235
79236
79237
79238
79239
79240 # Determine cross-compile flags and AM_CONDITIONALs.
79241 #AC_SUBST(GLIBCXX_IS_NATIVE)
79242 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79243 if test $is_hosted = yes; then
79244 GLIBCXX_HOSTED_TRUE=
79245 GLIBCXX_HOSTED_FALSE='#'
79246 else
79247 GLIBCXX_HOSTED_TRUE='#'
79248 GLIBCXX_HOSTED_FALSE=
79249 fi
79250
79251
79252 if test $enable_libstdcxx_pch = yes; then
79253 GLIBCXX_BUILD_PCH_TRUE=
79254 GLIBCXX_BUILD_PCH_FALSE='#'
79255 else
79256 GLIBCXX_BUILD_PCH_TRUE='#'
79257 GLIBCXX_BUILD_PCH_FALSE=
79258 fi
79259
79260
79261 if test $enable_cheaders = c; then
79262 GLIBCXX_C_HEADERS_C_TRUE=
79263 GLIBCXX_C_HEADERS_C_FALSE='#'
79264 else
79265 GLIBCXX_C_HEADERS_C_TRUE='#'
79266 GLIBCXX_C_HEADERS_C_FALSE=
79267 fi
79268
79269
79270 if test $enable_cheaders = c_std; then
79271 GLIBCXX_C_HEADERS_C_STD_TRUE=
79272 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79273 else
79274 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79275 GLIBCXX_C_HEADERS_C_STD_FALSE=
79276 fi
79277
79278
79279 if test $enable_cheaders = c_global; then
79280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79282 else
79283 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79284 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79285 fi
79286
79287
79288 if test $c_compatibility = yes; then
79289 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79290 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79291 else
79292 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79293 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79294 fi
79295
79296
79297 if test $enable_libstdcxx_debug = yes; then
79298 GLIBCXX_BUILD_DEBUG_TRUE=
79299 GLIBCXX_BUILD_DEBUG_FALSE='#'
79300 else
79301 GLIBCXX_BUILD_DEBUG_TRUE='#'
79302 GLIBCXX_BUILD_DEBUG_FALSE=
79303 fi
79304
79305
79306 if test $enable_extern_template = yes; then
79307 ENABLE_EXTERN_TEMPLATE_TRUE=
79308 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79309 else
79310 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79311 ENABLE_EXTERN_TEMPLATE_FALSE=
79312 fi
79313
79314
79315 if test $python_mod_dir != no; then
79316 ENABLE_PYTHONDIR_TRUE=
79317 ENABLE_PYTHONDIR_FALSE='#'
79318 else
79319 ENABLE_PYTHONDIR_TRUE='#'
79320 ENABLE_PYTHONDIR_FALSE=
79321 fi
79322
79323
79324 if test $enable_werror = yes; then
79325 ENABLE_WERROR_TRUE=
79326 ENABLE_WERROR_FALSE='#'
79327 else
79328 ENABLE_WERROR_TRUE='#'
79329 ENABLE_WERROR_FALSE=
79330 fi
79331
79332
79333 if test $enable_vtable_verify = yes; then
79334 ENABLE_VTABLE_VERIFY_TRUE=
79335 ENABLE_VTABLE_VERIFY_FALSE='#'
79336 else
79337 ENABLE_VTABLE_VERIFY_TRUE='#'
79338 ENABLE_VTABLE_VERIFY_FALSE=
79339 fi
79340
79341
79342 if test $enable_symvers != no; then
79343 ENABLE_SYMVERS_TRUE=
79344 ENABLE_SYMVERS_FALSE='#'
79345 else
79346 ENABLE_SYMVERS_TRUE='#'
79347 ENABLE_SYMVERS_FALSE=
79348 fi
79349
79350
79351 if test $enable_symvers = gnu; then
79352 ENABLE_SYMVERS_GNU_TRUE=
79353 ENABLE_SYMVERS_GNU_FALSE='#'
79354 else
79355 ENABLE_SYMVERS_GNU_TRUE='#'
79356 ENABLE_SYMVERS_GNU_FALSE=
79357 fi
79358
79359
79360 if test $enable_symvers = gnu-versioned-namespace; then
79361 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79362 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79363 else
79364 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79365 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79366 fi
79367
79368
79369 if test $enable_symvers = darwin; then
79370 ENABLE_SYMVERS_DARWIN_TRUE=
79371 ENABLE_SYMVERS_DARWIN_FALSE='#'
79372 else
79373 ENABLE_SYMVERS_DARWIN_TRUE='#'
79374 ENABLE_SYMVERS_DARWIN_FALSE=
79375 fi
79376
79377
79378 if test $enable_symvers = sun; then
79379 ENABLE_SYMVERS_SUN_TRUE=
79380 ENABLE_SYMVERS_SUN_FALSE='#'
79381 else
79382 ENABLE_SYMVERS_SUN_TRUE='#'
79383 ENABLE_SYMVERS_SUN_FALSE=
79384 fi
79385
79386
79387 if test $enable_libstdcxx_visibility = yes; then
79388 ENABLE_VISIBILITY_TRUE=
79389 ENABLE_VISIBILITY_FALSE='#'
79390 else
79391 ENABLE_VISIBILITY_TRUE='#'
79392 ENABLE_VISIBILITY_FALSE=
79393 fi
79394
79395
79396 if test $enable_libstdcxx_dual_abi = yes; then
79397 ENABLE_DUAL_ABI_TRUE=
79398 ENABLE_DUAL_ABI_FALSE='#'
79399 else
79400 ENABLE_DUAL_ABI_TRUE='#'
79401 ENABLE_DUAL_ABI_FALSE=
79402 fi
79403
79404
79405 if test $glibcxx_cxx11_abi = 1; then
79406 ENABLE_CXX11_ABI_TRUE=
79407 ENABLE_CXX11_ABI_FALSE='#'
79408 else
79409 ENABLE_CXX11_ABI_TRUE='#'
79410 ENABLE_CXX11_ABI_FALSE=
79411 fi
79412
79413
79414 if test $ac_ldbl_compat = yes; then
79415 GLIBCXX_LDBL_COMPAT_TRUE=
79416 GLIBCXX_LDBL_COMPAT_FALSE='#'
79417 else
79418 GLIBCXX_LDBL_COMPAT_TRUE='#'
79419 GLIBCXX_LDBL_COMPAT_FALSE=
79420 fi
79421
79422
79423
79424
79425 cat >confcache <<\_ACEOF
79426 # This file is a shell script that caches the results of configure
79427 # tests run on this system so they can be shared between configure
79428 # scripts and configure runs, see configure's option --config-cache.
79429 # It is not useful on other systems. If it contains results you don't
79430 # want to keep, you may remove or edit it.
79431 #
79432 # config.status only pays attention to the cache file if you give it
79433 # the --recheck option to rerun configure.
79434 #
79435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79437 # following values.
79438
79439 _ACEOF
79440
79441 # The following way of writing the cache mishandles newlines in values,
79442 # but we know of no workaround that is simple, portable, and efficient.
79443 # So, we kill variables containing newlines.
79444 # Ultrix sh set writes to stderr and can't be redirected directly,
79445 # and sets the high bit in the cache file unless we assign to the vars.
79446 (
79447 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79448 eval ac_val=\$$ac_var
79449 case $ac_val in #(
79450 *${as_nl}*)
79451 case $ac_var in #(
79452 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79454 esac
79455 case $ac_var in #(
79456 _ | IFS | as_nl) ;; #(
79457 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79458 *) { eval $ac_var=; unset $ac_var;} ;;
79459 esac ;;
79460 esac
79461 done
79462
79463 (set) 2>&1 |
79464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79465 *${as_nl}ac_space=\ *)
79466 # `set' does not quote correctly, so add quotes: double-quote
79467 # substitution turns \\\\ into \\, and sed turns \\ into \.
79468 sed -n \
79469 "s/'/'\\\\''/g;
79470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79471 ;; #(
79472 *)
79473 # `set' quotes correctly as required by POSIX, so do not add quotes.
79474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79475 ;;
79476 esac |
79477 sort
79478 ) |
79479 sed '
79480 /^ac_cv_env_/b end
79481 t clear
79482 :clear
79483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79484 t end
79485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79486 :end' >>confcache
79487 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79488 if test -w "$cache_file"; then
79489 test "x$cache_file" != "x/dev/null" &&
79490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79491 $as_echo "$as_me: updating cache $cache_file" >&6;}
79492 cat confcache >$cache_file
79493 else
79494 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79495 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79496 fi
79497 fi
79498 rm -f confcache
79499
79500 if test ${multilib} = yes; then
79501 multilib_arg="--enable-multilib"
79502 else
79503 multilib_arg=
79504 fi
79505
79506 # Export all the install information.
79507
79508 glibcxx_toolexecdir=no
79509 glibcxx_toolexeclibdir=no
79510 glibcxx_prefixdir=$prefix
79511
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79513 $as_echo_n "checking for gxx-include-dir... " >&6; }
79514
79515 # Check whether --with-gxx-include-dir was given.
79516 if test "${with_gxx_include_dir+set}" = set; then :
79517 withval=$with_gxx_include_dir; case "$withval" in
79518 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79519 no) gxx_include_dir=no ;;
79520 *) gxx_include_dir=$withval ;;
79521 esac
79522 else
79523 gxx_include_dir=no
79524 fi
79525
79526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79527 $as_echo "$gxx_include_dir" >&6; }
79528
79529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79530 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79531 # Check whether --enable-version-specific-runtime-libs was given.
79532 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79533 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79534 yes) version_specific_libs=yes ;;
79535 no) version_specific_libs=no ;;
79536 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79537 esac
79538 else
79539 version_specific_libs=no
79540 fi
79541
79542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79543 $as_echo "$version_specific_libs" >&6; }
79544
79545 # Default case for install directory for include files.
79546 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79547 gxx_include_dir='include/c++/${gcc_version}'
79548 if test -n "$with_cross_host" &&
79549 test x"$with_cross_host" != x"no"; then
79550 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79551 else
79552 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79553 fi
79554 fi
79555
79556 # Version-specific runtime libs processing.
79557 if test $version_specific_libs = yes; then
79558 # Need the gcc compiler version to know where to install libraries
79559 # and header files if --enable-version-specific-runtime-libs option
79560 # is selected. FIXME: these variables are misnamed, there are
79561 # no executables installed in _toolexecdir or _toolexeclibdir.
79562 if test x"$gxx_include_dir" = x"no"; then
79563 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79564 fi
79565 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79566 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79567 fi
79568
79569 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79570 # Install a library built with a cross compiler in tooldir, not libdir.
79571 if test x"$glibcxx_toolexecdir" = x"no"; then
79572 if test -n "$with_cross_host" &&
79573 test x"$with_cross_host" != x"no"; then
79574 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79575 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79576 else
79577 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79578 glibcxx_toolexeclibdir='${libdir}'
79579 fi
79580 multi_os_directory=`$CXX -print-multi-os-directory`
79581 case $multi_os_directory in
79582 .) ;; # Avoid trailing /.
79583 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79584 esac
79585 fi
79586
79587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79588 $as_echo_n "checking for install location... " >&6; }
79589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79590 $as_echo "$gxx_include_dir" >&6; }
79591
79592
79593
79594
79595
79596
79597
79598 # Export all the include and flag information to Makefiles.
79599
79600 # Used for every C++ compile we perform.
79601 GLIBCXX_INCLUDES="\
79602 -I$glibcxx_builddir/include/$host_alias \
79603 -I$glibcxx_builddir/include \
79604 -I$glibcxx_srcdir/libsupc++"
79605
79606 # For Canadian crosses, pick this up too.
79607 if test $CANADIAN = yes; then
79608 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79609 fi
79610
79611 # Stuff in the actual top level. Currently only used by libsupc++ to
79612 # get unwind* headers from the libgcc dir.
79613 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79614 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79615
79616 # Now, export this to all the little Makefiles....
79617
79618
79619
79620
79621 # Optimization flags that are probably a good idea for thrill-seekers. Just
79622 # uncomment the lines below and make, everything else is ready to go...
79623 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79624 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79625
79626
79627 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79628
79629
79630
79631 ac_config_files="$ac_config_files Makefile"
79632
79633 ac_config_files="$ac_config_files scripts/testsuite_flags"
79634
79635 ac_config_files="$ac_config_files scripts/extract_symvers"
79636
79637 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79638
79639
79640 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79641 # that multilib installs will end up installed in the correct place.
79642 # The testsuite needs it for multilib-aware ABI baseline files.
79643 # To work around this not being passed down from config-ml.in ->
79644 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79645 # append it here. Only modify Makefiles that have just been created.
79646 #
79647 # Also, get rid of this simulated-VPATH thing that automake does.
79648 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"
79649
79650
79651 ac_config_commands="$ac_config_commands generate-headers"
79652
79653
79654 cat >confcache <<\_ACEOF
79655 # This file is a shell script that caches the results of configure
79656 # tests run on this system so they can be shared between configure
79657 # scripts and configure runs, see configure's option --config-cache.
79658 # It is not useful on other systems. If it contains results you don't
79659 # want to keep, you may remove or edit it.
79660 #
79661 # config.status only pays attention to the cache file if you give it
79662 # the --recheck option to rerun configure.
79663 #
79664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79666 # following values.
79667
79668 _ACEOF
79669
79670 # The following way of writing the cache mishandles newlines in values,
79671 # but we know of no workaround that is simple, portable, and efficient.
79672 # So, we kill variables containing newlines.
79673 # Ultrix sh set writes to stderr and can't be redirected directly,
79674 # and sets the high bit in the cache file unless we assign to the vars.
79675 (
79676 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79677 eval ac_val=\$$ac_var
79678 case $ac_val in #(
79679 *${as_nl}*)
79680 case $ac_var in #(
79681 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79683 esac
79684 case $ac_var in #(
79685 _ | IFS | as_nl) ;; #(
79686 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79687 *) { eval $ac_var=; unset $ac_var;} ;;
79688 esac ;;
79689 esac
79690 done
79691
79692 (set) 2>&1 |
79693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79694 *${as_nl}ac_space=\ *)
79695 # `set' does not quote correctly, so add quotes: double-quote
79696 # substitution turns \\\\ into \\, and sed turns \\ into \.
79697 sed -n \
79698 "s/'/'\\\\''/g;
79699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79700 ;; #(
79701 *)
79702 # `set' quotes correctly as required by POSIX, so do not add quotes.
79703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79704 ;;
79705 esac |
79706 sort
79707 ) |
79708 sed '
79709 /^ac_cv_env_/b end
79710 t clear
79711 :clear
79712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79713 t end
79714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79715 :end' >>confcache
79716 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79717 if test -w "$cache_file"; then
79718 test "x$cache_file" != "x/dev/null" &&
79719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79720 $as_echo "$as_me: updating cache $cache_file" >&6;}
79721 cat confcache >$cache_file
79722 else
79723 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79724 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79725 fi
79726 fi
79727 rm -f confcache
79728
79729 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79730 # Let make expand exec_prefix.
79731 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79732
79733 DEFS=-DHAVE_CONFIG_H
79734
79735 ac_libobjs=
79736 ac_ltlibobjs=
79737 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79738 # 1. Remove the extension, and $U if already installed.
79739 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79740 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79741 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79742 # will be set to the directory where LIBOBJS objects are built.
79743 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79744 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79745 done
79746 LIBOBJS=$ac_libobjs
79747
79748 LTLIBOBJS=$ac_ltlibobjs
79749
79750
79751 if test -n "$EXEEXT"; then
79752 am__EXEEXT_TRUE=
79753 am__EXEEXT_FALSE='#'
79754 else
79755 am__EXEEXT_TRUE='#'
79756 am__EXEEXT_FALSE=
79757 fi
79758
79759 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79760 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79762 fi
79763 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79764 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79766 fi
79767 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79768 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79770 fi
79771 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79772 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79774 fi
79775 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79776 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79778 fi
79779 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79780 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79782 fi
79783 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79784 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79786 fi
79787 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79788 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79790 fi
79791 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79792 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79794 fi
79795 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79796 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79798 fi
79799 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79800 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79802 fi
79803 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79804 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
79805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79806 fi
79807 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79808 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79810 fi
79811 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79812 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79814 fi
79815 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79816 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79818 fi
79819 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79820 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79822 fi
79823 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79824 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79826 fi
79827 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79828 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79830 fi
79831 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79832 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79834 fi
79835 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79836 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79838 fi
79839 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79840 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79842 fi
79843 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79844 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79846 fi
79847 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79848 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79850 fi
79851 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79852 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79854 fi
79855 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79856 as_fn_error "conditional \"BUILD_XML\" was never defined.
79857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79858 fi
79859 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79860 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79862 fi
79863 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79864 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79866 fi
79867 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79868 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79870 fi
79871
79872 : ${CONFIG_STATUS=./config.status}
79873 ac_write_fail=0
79874 ac_clean_files_save=$ac_clean_files
79875 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79877 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79878 as_write_fail=0
79879 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79880 #! $SHELL
79881 # Generated by $as_me.
79882 # Run this file to recreate the current configuration.
79883 # Compiler output produced by configure, useful for debugging
79884 # configure, is in config.log if it exists.
79885
79886 debug=false
79887 ac_cs_recheck=false
79888 ac_cs_silent=false
79889
79890 SHELL=\${CONFIG_SHELL-$SHELL}
79891 export SHELL
79892 _ASEOF
79893 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79894 ## -------------------- ##
79895 ## M4sh Initialization. ##
79896 ## -------------------- ##
79897
79898 # Be more Bourne compatible
79899 DUALCASE=1; export DUALCASE # for MKS sh
79900 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79901 emulate sh
79902 NULLCMD=:
79903 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79904 # is contrary to our usage. Disable this feature.
79905 alias -g '${1+"$@"}'='"$@"'
79906 setopt NO_GLOB_SUBST
79907 else
79908 case `(set -o) 2>/dev/null` in #(
79909 *posix*) :
79910 set -o posix ;; #(
79911 *) :
79912 ;;
79913 esac
79914 fi
79915
79916
79917 as_nl='
79918 '
79919 export as_nl
79920 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79921 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79922 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79924 # Prefer a ksh shell builtin over an external printf program on Solaris,
79925 # but without wasting forks for bash or zsh.
79926 if test -z "$BASH_VERSION$ZSH_VERSION" \
79927 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79928 as_echo='print -r --'
79929 as_echo_n='print -rn --'
79930 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79931 as_echo='printf %s\n'
79932 as_echo_n='printf %s'
79933 else
79934 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79935 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79936 as_echo_n='/usr/ucb/echo -n'
79937 else
79938 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79939 as_echo_n_body='eval
79940 arg=$1;
79941 case $arg in #(
79942 *"$as_nl"*)
79943 expr "X$arg" : "X\\(.*\\)$as_nl";
79944 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79945 esac;
79946 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79947 '
79948 export as_echo_n_body
79949 as_echo_n='sh -c $as_echo_n_body as_echo'
79950 fi
79951 export as_echo_body
79952 as_echo='sh -c $as_echo_body as_echo'
79953 fi
79954
79955 # The user is always right.
79956 if test "${PATH_SEPARATOR+set}" != set; then
79957 PATH_SEPARATOR=:
79958 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79959 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79960 PATH_SEPARATOR=';'
79961 }
79962 fi
79963
79964
79965 # IFS
79966 # We need space, tab and new line, in precisely that order. Quoting is
79967 # there to prevent editors from complaining about space-tab.
79968 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79969 # splitting by setting IFS to empty value.)
79970 IFS=" "" $as_nl"
79971
79972 # Find who we are. Look in the path if we contain no directory separator.
79973 case $0 in #((
79974 *[\\/]* ) as_myself=$0 ;;
79975 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79976 for as_dir in $PATH
79977 do
79978 IFS=$as_save_IFS
79979 test -z "$as_dir" && as_dir=.
79980 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79981 done
79982 IFS=$as_save_IFS
79983
79984 ;;
79985 esac
79986 # We did not find ourselves, most probably we were run as `sh COMMAND'
79987 # in which case we are not to be found in the path.
79988 if test "x$as_myself" = x; then
79989 as_myself=$0
79990 fi
79991 if test ! -f "$as_myself"; then
79992 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79993 exit 1
79994 fi
79995
79996 # Unset variables that we do not need and which cause bugs (e.g. in
79997 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79998 # suppresses any "Segmentation fault" message there. '((' could
79999 # trigger a bug in pdksh 5.2.14.
80000 for as_var in BASH_ENV ENV MAIL MAILPATH
80001 do eval test x\${$as_var+set} = xset \
80002 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80003 done
80004 PS1='$ '
80005 PS2='> '
80006 PS4='+ '
80007
80008 # NLS nuisances.
80009 LC_ALL=C
80010 export LC_ALL
80011 LANGUAGE=C
80012 export LANGUAGE
80013
80014 # CDPATH.
80015 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80016
80017
80018 # as_fn_error ERROR [LINENO LOG_FD]
80019 # ---------------------------------
80020 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80021 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80022 # script with status $?, using 1 if that was 0.
80023 as_fn_error ()
80024 {
80025 as_status=$?; test $as_status -eq 0 && as_status=1
80026 if test "$3"; then
80027 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80028 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80029 fi
80030 $as_echo "$as_me: error: $1" >&2
80031 as_fn_exit $as_status
80032 } # as_fn_error
80033
80034
80035 # as_fn_set_status STATUS
80036 # -----------------------
80037 # Set $? to STATUS, without forking.
80038 as_fn_set_status ()
80039 {
80040 return $1
80041 } # as_fn_set_status
80042
80043 # as_fn_exit STATUS
80044 # -----------------
80045 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80046 as_fn_exit ()
80047 {
80048 set +e
80049 as_fn_set_status $1
80050 exit $1
80051 } # as_fn_exit
80052
80053 # as_fn_unset VAR
80054 # ---------------
80055 # Portably unset VAR.
80056 as_fn_unset ()
80057 {
80058 { eval $1=; unset $1;}
80059 }
80060 as_unset=as_fn_unset
80061 # as_fn_append VAR VALUE
80062 # ----------------------
80063 # Append the text in VALUE to the end of the definition contained in VAR. Take
80064 # advantage of any shell optimizations that allow amortized linear growth over
80065 # repeated appends, instead of the typical quadratic growth present in naive
80066 # implementations.
80067 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80068 eval 'as_fn_append ()
80069 {
80070 eval $1+=\$2
80071 }'
80072 else
80073 as_fn_append ()
80074 {
80075 eval $1=\$$1\$2
80076 }
80077 fi # as_fn_append
80078
80079 # as_fn_arith ARG...
80080 # ------------------
80081 # Perform arithmetic evaluation on the ARGs, and store the result in the
80082 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80083 # must be portable across $(()) and expr.
80084 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80085 eval 'as_fn_arith ()
80086 {
80087 as_val=$(( $* ))
80088 }'
80089 else
80090 as_fn_arith ()
80091 {
80092 as_val=`expr "$@" || test $? -eq 1`
80093 }
80094 fi # as_fn_arith
80095
80096
80097 if expr a : '\(a\)' >/dev/null 2>&1 &&
80098 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80099 as_expr=expr
80100 else
80101 as_expr=false
80102 fi
80103
80104 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80105 as_basename=basename
80106 else
80107 as_basename=false
80108 fi
80109
80110 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80111 as_dirname=dirname
80112 else
80113 as_dirname=false
80114 fi
80115
80116 as_me=`$as_basename -- "$0" ||
80117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80118 X"$0" : 'X\(//\)$' \| \
80119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80120 $as_echo X/"$0" |
80121 sed '/^.*\/\([^/][^/]*\)\/*$/{
80122 s//\1/
80123 q
80124 }
80125 /^X\/\(\/\/\)$/{
80126 s//\1/
80127 q
80128 }
80129 /^X\/\(\/\).*/{
80130 s//\1/
80131 q
80132 }
80133 s/.*/./; q'`
80134
80135 # Avoid depending upon Character Ranges.
80136 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80137 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80138 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80139 as_cr_digits='0123456789'
80140 as_cr_alnum=$as_cr_Letters$as_cr_digits
80141
80142 ECHO_C= ECHO_N= ECHO_T=
80143 case `echo -n x` in #(((((
80144 -n*)
80145 case `echo 'xy\c'` in
80146 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80147 xy) ECHO_C='\c';;
80148 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80149 ECHO_T=' ';;
80150 esac;;
80151 *)
80152 ECHO_N='-n';;
80153 esac
80154
80155 rm -f conf$$ conf$$.exe conf$$.file
80156 if test -d conf$$.dir; then
80157 rm -f conf$$.dir/conf$$.file
80158 else
80159 rm -f conf$$.dir
80160 mkdir conf$$.dir 2>/dev/null
80161 fi
80162 if (echo >conf$$.file) 2>/dev/null; then
80163 if ln -s conf$$.file conf$$ 2>/dev/null; then
80164 as_ln_s='ln -s'
80165 # ... but there are two gotchas:
80166 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80167 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80168 # In both cases, we have to default to `cp -p'.
80169 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80170 as_ln_s='cp -p'
80171 elif ln conf$$.file conf$$ 2>/dev/null; then
80172 as_ln_s=ln
80173 else
80174 as_ln_s='cp -p'
80175 fi
80176 else
80177 as_ln_s='cp -p'
80178 fi
80179 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80180 rmdir conf$$.dir 2>/dev/null
80181
80182
80183 # as_fn_mkdir_p
80184 # -------------
80185 # Create "$as_dir" as a directory, including parents if necessary.
80186 as_fn_mkdir_p ()
80187 {
80188
80189 case $as_dir in #(
80190 -*) as_dir=./$as_dir;;
80191 esac
80192 test -d "$as_dir" || eval $as_mkdir_p || {
80193 as_dirs=
80194 while :; do
80195 case $as_dir in #(
80196 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80197 *) as_qdir=$as_dir;;
80198 esac
80199 as_dirs="'$as_qdir' $as_dirs"
80200 as_dir=`$as_dirname -- "$as_dir" ||
80201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80202 X"$as_dir" : 'X\(//\)[^/]' \| \
80203 X"$as_dir" : 'X\(//\)$' \| \
80204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80205 $as_echo X"$as_dir" |
80206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80207 s//\1/
80208 q
80209 }
80210 /^X\(\/\/\)[^/].*/{
80211 s//\1/
80212 q
80213 }
80214 /^X\(\/\/\)$/{
80215 s//\1/
80216 q
80217 }
80218 /^X\(\/\).*/{
80219 s//\1/
80220 q
80221 }
80222 s/.*/./; q'`
80223 test -d "$as_dir" && break
80224 done
80225 test -z "$as_dirs" || eval "mkdir $as_dirs"
80226 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80227
80228
80229 } # as_fn_mkdir_p
80230 if mkdir -p . 2>/dev/null; then
80231 as_mkdir_p='mkdir -p "$as_dir"'
80232 else
80233 test -d ./-p && rmdir ./-p
80234 as_mkdir_p=false
80235 fi
80236
80237 if test -x / >/dev/null 2>&1; then
80238 as_test_x='test -x'
80239 else
80240 if ls -dL / >/dev/null 2>&1; then
80241 as_ls_L_option=L
80242 else
80243 as_ls_L_option=
80244 fi
80245 as_test_x='
80246 eval sh -c '\''
80247 if test -d "$1"; then
80248 test -d "$1/.";
80249 else
80250 case $1 in #(
80251 -*)set "./$1";;
80252 esac;
80253 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80254 ???[sx]*):;;*)false;;esac;fi
80255 '\'' sh
80256 '
80257 fi
80258 as_executable_p=$as_test_x
80259
80260 # Sed expression to map a string onto a valid CPP name.
80261 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80262
80263 # Sed expression to map a string onto a valid variable name.
80264 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80265
80266
80267 exec 6>&1
80268 ## ----------------------------------- ##
80269 ## Main body of $CONFIG_STATUS script. ##
80270 ## ----------------------------------- ##
80271 _ASEOF
80272 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80273
80274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80275 # Save the log message, to keep $0 and so on meaningful, and to
80276 # report actual input values of CONFIG_FILES etc. instead of their
80277 # values after options handling.
80278 ac_log="
80279 This file was extended by package-unused $as_me version-unused, which was
80280 generated by GNU Autoconf 2.64. Invocation command line was
80281
80282 CONFIG_FILES = $CONFIG_FILES
80283 CONFIG_HEADERS = $CONFIG_HEADERS
80284 CONFIG_LINKS = $CONFIG_LINKS
80285 CONFIG_COMMANDS = $CONFIG_COMMANDS
80286 $ $0 $@
80287
80288 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80289 "
80290
80291 _ACEOF
80292
80293 case $ac_config_files in *"
80294 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80295 esac
80296
80297 case $ac_config_headers in *"
80298 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80299 esac
80300
80301
80302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80303 # Files that config.status was made for.
80304 config_files="$ac_config_files"
80305 config_headers="$ac_config_headers"
80306 config_commands="$ac_config_commands"
80307
80308 _ACEOF
80309
80310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80311 ac_cs_usage="\
80312 \`$as_me' instantiates files and other configuration actions
80313 from templates according to the current configuration. Unless the files
80314 and actions are specified as TAGs, all are instantiated by default.
80315
80316 Usage: $0 [OPTION]... [TAG]...
80317
80318 -h, --help print this help, then exit
80319 -V, --version print version number and configuration settings, then exit
80320 -q, --quiet, --silent
80321 do not print progress messages
80322 -d, --debug don't remove temporary files
80323 --recheck update $as_me by reconfiguring in the same conditions
80324 --file=FILE[:TEMPLATE]
80325 instantiate the configuration file FILE
80326 --header=FILE[:TEMPLATE]
80327 instantiate the configuration header FILE
80328
80329 Configuration files:
80330 $config_files
80331
80332 Configuration headers:
80333 $config_headers
80334
80335 Configuration commands:
80336 $config_commands
80337
80338 Report bugs to the package provider."
80339
80340 _ACEOF
80341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80342 ac_cs_version="\\
80343 package-unused config.status version-unused
80344 configured by $0, generated by GNU Autoconf 2.64,
80345 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80346
80347 Copyright (C) 2009 Free Software Foundation, Inc.
80348 This config.status script is free software; the Free Software Foundation
80349 gives unlimited permission to copy, distribute and modify it."
80350
80351 ac_pwd='$ac_pwd'
80352 srcdir='$srcdir'
80353 INSTALL='$INSTALL'
80354 MKDIR_P='$MKDIR_P'
80355 AWK='$AWK'
80356 test -n "\$AWK" || AWK=awk
80357 _ACEOF
80358
80359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80360 # The default lists apply if the user does not specify any file.
80361 ac_need_defaults=:
80362 while test $# != 0
80363 do
80364 case $1 in
80365 --*=*)
80366 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80367 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80368 ac_shift=:
80369 ;;
80370 *)
80371 ac_option=$1
80372 ac_optarg=$2
80373 ac_shift=shift
80374 ;;
80375 esac
80376
80377 case $ac_option in
80378 # Handling of the options.
80379 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80380 ac_cs_recheck=: ;;
80381 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80382 $as_echo "$ac_cs_version"; exit ;;
80383 --debug | --debu | --deb | --de | --d | -d )
80384 debug=: ;;
80385 --file | --fil | --fi | --f )
80386 $ac_shift
80387 case $ac_optarg in
80388 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80389 esac
80390 as_fn_append CONFIG_FILES " '$ac_optarg'"
80391 ac_need_defaults=false;;
80392 --header | --heade | --head | --hea )
80393 $ac_shift
80394 case $ac_optarg in
80395 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80396 esac
80397 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80398 ac_need_defaults=false;;
80399 --he | --h)
80400 # Conflict between --help and --header
80401 as_fn_error "ambiguous option: \`$1'
80402 Try \`$0 --help' for more information.";;
80403 --help | --hel | -h )
80404 $as_echo "$ac_cs_usage"; exit ;;
80405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80406 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80407 ac_cs_silent=: ;;
80408
80409 # This is an error.
80410 -*) as_fn_error "unrecognized option: \`$1'
80411 Try \`$0 --help' for more information." ;;
80412
80413 *) as_fn_append ac_config_targets " $1"
80414 ac_need_defaults=false ;;
80415
80416 esac
80417 shift
80418 done
80419
80420 ac_configure_extra_args=
80421
80422 if $ac_cs_silent; then
80423 exec 6>/dev/null
80424 ac_configure_extra_args="$ac_configure_extra_args --silent"
80425 fi
80426
80427 _ACEOF
80428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80429 if \$ac_cs_recheck; then
80430 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80431 shift
80432 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80433 CONFIG_SHELL='$SHELL'
80434 export CONFIG_SHELL
80435 exec "\$@"
80436 fi
80437
80438 _ACEOF
80439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80440 exec 5>>config.log
80441 {
80442 echo
80443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80444 ## Running $as_me. ##
80445 _ASBOX
80446 $as_echo "$ac_log"
80447 } >&5
80448
80449 _ACEOF
80450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80451 #
80452 # INIT-COMMANDS
80453 #
80454
80455 srcdir="$srcdir"
80456 host="$host"
80457 target="$target"
80458 with_multisubdir="$with_multisubdir"
80459 with_multisrctop="$with_multisrctop"
80460 with_target_subdir="$with_target_subdir"
80461 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80462 multi_basedir="$multi_basedir"
80463 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80464 CC="$CC"
80465 CXX="$CXX"
80466 GFORTRAN="$GFORTRAN"
80467 GCJ="$GCJ"
80468
80469
80470 # The HP-UX ksh and POSIX shell print the target directory to stdout
80471 # if CDPATH is set.
80472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80473
80474 sed_quote_subst='$sed_quote_subst'
80475 double_quote_subst='$double_quote_subst'
80476 delay_variable_subst='$delay_variable_subst'
80477 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80478 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80479 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80480 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80481 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80482 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80483 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80484 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80485 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80486 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80487 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80488 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80489 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80490 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80491 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80492 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80493 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80494 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80495 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80496 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80497 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80498 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80499 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80500 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80501 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80502 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80503 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80504 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80505 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80506 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80507 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80508 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80509 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80510 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80511 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80512 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80513 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80514 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80515 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80516 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80517 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80518 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80519 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80520 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80521 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80522 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80523 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80525 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"`'
80526 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80527 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80528 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80529 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80530 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80532 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80533 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80534 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80535 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80536 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80537 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80538 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80539 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80540 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80541 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80542 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80543 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80544 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80545 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80546 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80547 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80548 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80549 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80550 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80551 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80552 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80553 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80554 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80555 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80556 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80557 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80558 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80559 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80560 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80561 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80562 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80563 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80564 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80565 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80566 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80567 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80568 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80569 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80570 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80571 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80572 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80573 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80574 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80575 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80576 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80577 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80578 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80579 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80580 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80581 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80582 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80583 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80584 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80585 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80586 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80587 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80588 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80589 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80590 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80591 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80592 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80593 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80594 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80595 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80596 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80597 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80598 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80599 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80600 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80601 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80602 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80603 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80604 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80605 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80606 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80607 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80608 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80609 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80610 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80611 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80612 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80613 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80614 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80615 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80616 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80617 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80618 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80619 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80620 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80621 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80622 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80623 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80624 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80625 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80626 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80627 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80628 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80629 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80630 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80631 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80632 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80633 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80634 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80635 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80636 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80637 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80638 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80639 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80640 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80641 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80642 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80643 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80644 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80645 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80646 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80647 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80648 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80649 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80650 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80651 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80652
80653 LTCC='$LTCC'
80654 LTCFLAGS='$LTCFLAGS'
80655 compiler='$compiler_DEFAULT'
80656
80657 # A function that is used when there is no print builtin or printf.
80658 func_fallback_echo ()
80659 {
80660 eval 'cat <<_LTECHO_EOF
80661 \$1
80662 _LTECHO_EOF'
80663 }
80664
80665 # Quote evaled strings.
80666 for var in SHELL \
80667 ECHO \
80668 SED \
80669 GREP \
80670 EGREP \
80671 FGREP \
80672 LD \
80673 NM \
80674 LN_S \
80675 lt_SP2NL \
80676 lt_NL2SP \
80677 reload_flag \
80678 OBJDUMP \
80679 deplibs_check_method \
80680 file_magic_cmd \
80681 AR \
80682 AR_FLAGS \
80683 STRIP \
80684 RANLIB \
80685 CC \
80686 CFLAGS \
80687 compiler \
80688 lt_cv_sys_global_symbol_pipe \
80689 lt_cv_sys_global_symbol_to_cdecl \
80690 lt_cv_sys_global_symbol_to_c_name_address \
80691 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80692 lt_prog_compiler_no_builtin_flag \
80693 lt_prog_compiler_wl \
80694 lt_prog_compiler_pic \
80695 lt_prog_compiler_static \
80696 lt_cv_prog_compiler_c_o \
80697 need_locks \
80698 DSYMUTIL \
80699 NMEDIT \
80700 LIPO \
80701 OTOOL \
80702 OTOOL64 \
80703 shrext_cmds \
80704 export_dynamic_flag_spec \
80705 whole_archive_flag_spec \
80706 compiler_needs_object \
80707 with_gnu_ld \
80708 allow_undefined_flag \
80709 no_undefined_flag \
80710 hardcode_libdir_flag_spec \
80711 hardcode_libdir_flag_spec_ld \
80712 hardcode_libdir_separator \
80713 fix_srcfile_path \
80714 exclude_expsyms \
80715 include_expsyms \
80716 file_list_spec \
80717 variables_saved_for_relink \
80718 libname_spec \
80719 library_names_spec \
80720 soname_spec \
80721 install_override_mode \
80722 finish_eval \
80723 old_striplib \
80724 striplib \
80725 compiler_lib_search_dirs \
80726 predep_objects \
80727 postdep_objects \
80728 predeps \
80729 postdeps \
80730 compiler_lib_search_path \
80731 LD_CXX \
80732 reload_flag_CXX \
80733 compiler_CXX \
80734 lt_prog_compiler_no_builtin_flag_CXX \
80735 lt_prog_compiler_wl_CXX \
80736 lt_prog_compiler_pic_CXX \
80737 lt_prog_compiler_static_CXX \
80738 lt_cv_prog_compiler_c_o_CXX \
80739 export_dynamic_flag_spec_CXX \
80740 whole_archive_flag_spec_CXX \
80741 compiler_needs_object_CXX \
80742 with_gnu_ld_CXX \
80743 allow_undefined_flag_CXX \
80744 no_undefined_flag_CXX \
80745 hardcode_libdir_flag_spec_CXX \
80746 hardcode_libdir_flag_spec_ld_CXX \
80747 hardcode_libdir_separator_CXX \
80748 fix_srcfile_path_CXX \
80749 exclude_expsyms_CXX \
80750 include_expsyms_CXX \
80751 file_list_spec_CXX \
80752 compiler_lib_search_dirs_CXX \
80753 predep_objects_CXX \
80754 postdep_objects_CXX \
80755 predeps_CXX \
80756 postdeps_CXX \
80757 compiler_lib_search_path_CXX; do
80758 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80759 *[\\\\\\\`\\"\\\$]*)
80760 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80761 ;;
80762 *)
80763 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80764 ;;
80765 esac
80766 done
80767
80768 # Double-quote double-evaled strings.
80769 for var in reload_cmds \
80770 old_postinstall_cmds \
80771 old_postuninstall_cmds \
80772 old_archive_cmds \
80773 extract_expsyms_cmds \
80774 old_archive_from_new_cmds \
80775 old_archive_from_expsyms_cmds \
80776 archive_cmds \
80777 archive_expsym_cmds \
80778 module_cmds \
80779 module_expsym_cmds \
80780 export_symbols_cmds \
80781 prelink_cmds \
80782 postinstall_cmds \
80783 postuninstall_cmds \
80784 finish_cmds \
80785 sys_lib_search_path_spec \
80786 sys_lib_dlsearch_path_spec \
80787 reload_cmds_CXX \
80788 old_archive_cmds_CXX \
80789 old_archive_from_new_cmds_CXX \
80790 old_archive_from_expsyms_cmds_CXX \
80791 archive_cmds_CXX \
80792 archive_expsym_cmds_CXX \
80793 module_cmds_CXX \
80794 module_expsym_cmds_CXX \
80795 export_symbols_cmds_CXX \
80796 prelink_cmds_CXX; do
80797 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80798 *[\\\\\\\`\\"\\\$]*)
80799 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80800 ;;
80801 *)
80802 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80803 ;;
80804 esac
80805 done
80806
80807 ac_aux_dir='$ac_aux_dir'
80808 xsi_shell='$xsi_shell'
80809 lt_shell_append='$lt_shell_append'
80810
80811 # See if we are running on zsh, and set the options which allow our
80812 # commands through without removal of \ escapes INIT.
80813 if test -n "\${ZSH_VERSION+set}" ; then
80814 setopt NO_GLOB_SUBST
80815 fi
80816
80817
80818 PACKAGE='$PACKAGE'
80819 VERSION='$VERSION'
80820 TIMESTAMP='$TIMESTAMP'
80821 RM='$RM'
80822 ofile='$ofile'
80823
80824
80825
80826
80827
80828
80829 GCC="$GCC"
80830 CC="$CC"
80831 acx_cv_header_stdint="$acx_cv_header_stdint"
80832 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80833 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80834 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80835 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80836 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80837 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80838 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80839 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80840 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80841 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80842 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80843 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80844 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80845
80846
80847 _ACEOF
80848
80849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80850
80851 # Handling of arguments.
80852 for ac_config_target in $ac_config_targets
80853 do
80854 case $ac_config_target in
80855 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80856 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80857 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80858 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80859 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80860 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80861 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80862 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80863 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80864 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80865 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80866 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80867 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80868 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80869 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80870 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80871 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80872 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80873
80874 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80875 esac
80876 done
80877
80878
80879 # If the user did not use the arguments to specify the items to instantiate,
80880 # then the envvar interface is used. Set only those that are not.
80881 # We use the long form for the default assignment because of an extremely
80882 # bizarre bug on SunOS 4.1.3.
80883 if $ac_need_defaults; then
80884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80887 fi
80888
80889 # Have a temporary directory for convenience. Make it in the build tree
80890 # simply because there is no reason against having it here, and in addition,
80891 # creating and moving files from /tmp can sometimes cause problems.
80892 # Hook for its removal unless debugging.
80893 # Note that there is a small window in which the directory will not be cleaned:
80894 # after its creation but before its name has been assigned to `$tmp'.
80895 $debug ||
80896 {
80897 tmp=
80898 trap 'exit_status=$?
80899 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80900 ' 0
80901 trap 'as_fn_exit 1' 1 2 13 15
80902 }
80903 # Create a (secure) tmp directory for tmp files.
80904
80905 {
80906 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80907 test -n "$tmp" && test -d "$tmp"
80908 } ||
80909 {
80910 tmp=./conf$$-$RANDOM
80911 (umask 077 && mkdir "$tmp")
80912 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80913
80914 # Set up the scripts for CONFIG_FILES section.
80915 # No need to generate them if there are no CONFIG_FILES.
80916 # This happens for instance with `./config.status config.h'.
80917 if test -n "$CONFIG_FILES"; then
80918
80919
80920 ac_cr=`echo X | tr X '\015'`
80921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80922 # But we know of no other shell where ac_cr would be empty at this
80923 # point, so we can use a bashism as a fallback.
80924 if test "x$ac_cr" = x; then
80925 eval ac_cr=\$\'\\r\'
80926 fi
80927 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80929 ac_cs_awk_cr='\r'
80930 else
80931 ac_cs_awk_cr=$ac_cr
80932 fi
80933
80934 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80935 _ACEOF
80936
80937
80938 {
80939 echo "cat >conf$$subs.awk <<_ACEOF" &&
80940 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80941 echo "_ACEOF"
80942 } >conf$$subs.sh ||
80943 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80945 ac_delim='%!_!# '
80946 for ac_last_try in false false false false false :; do
80947 . ./conf$$subs.sh ||
80948 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80949
80950 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80951 if test $ac_delim_n = $ac_delim_num; then
80952 break
80953 elif $ac_last_try; then
80954 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80955 else
80956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80957 fi
80958 done
80959 rm -f conf$$subs.sh
80960
80961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80962 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80963 _ACEOF
80964 sed -n '
80965 h
80966 s/^/S["/; s/!.*/"]=/
80967 p
80968 g
80969 s/^[^!]*!//
80970 :repl
80971 t repl
80972 s/'"$ac_delim"'$//
80973 t delim
80974 :nl
80975 h
80976 s/\(.\{148\}\).*/\1/
80977 t more1
80978 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80979 p
80980 n
80981 b repl
80982 :more1
80983 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80984 p
80985 g
80986 s/.\{148\}//
80987 t nl
80988 :delim
80989 h
80990 s/\(.\{148\}\).*/\1/
80991 t more2
80992 s/["\\]/\\&/g; s/^/"/; s/$/"/
80993 p
80994 b
80995 :more2
80996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80997 p
80998 g
80999 s/.\{148\}//
81000 t delim
81001 ' <conf$$subs.awk | sed '
81002 /^[^""]/{
81003 N
81004 s/\n//
81005 }
81006 ' >>$CONFIG_STATUS || ac_write_fail=1
81007 rm -f conf$$subs.awk
81008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81009 _ACAWK
81010 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81011 for (key in S) S_is_set[key] = 1
81012 FS = "\a"
81013
81014 }
81015 {
81016 line = $ 0
81017 nfields = split(line, field, "@")
81018 substed = 0
81019 len = length(field[1])
81020 for (i = 2; i < nfields; i++) {
81021 key = field[i]
81022 keylen = length(key)
81023 if (S_is_set[key]) {
81024 value = S[key]
81025 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81026 len += length(value) + length(field[++i])
81027 substed = 1
81028 } else
81029 len += 1 + keylen
81030 }
81031
81032 print line
81033 }
81034
81035 _ACAWK
81036 _ACEOF
81037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81038 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81039 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81040 else
81041 cat
81042 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81043 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81044 _ACEOF
81045
81046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81048 # trailing colons and then remove the whole line if VPATH becomes empty
81049 # (actually we leave an empty line to preserve line numbers).
81050 if test "x$srcdir" = x.; then
81051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81052 s/:*\$(srcdir):*/:/
81053 s/:*\${srcdir}:*/:/
81054 s/:*@srcdir@:*/:/
81055 s/^\([^=]*=[ ]*\):*/\1/
81056 s/:*$//
81057 s/^[^=]*=[ ]*$//
81058 }'
81059 fi
81060
81061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81062 fi # test -n "$CONFIG_FILES"
81063
81064 # Set up the scripts for CONFIG_HEADERS section.
81065 # No need to generate them if there are no CONFIG_HEADERS.
81066 # This happens for instance with `./config.status Makefile'.
81067 if test -n "$CONFIG_HEADERS"; then
81068 cat >"$tmp/defines.awk" <<\_ACAWK ||
81069 BEGIN {
81070 _ACEOF
81071
81072 # Transform confdefs.h into an awk script `defines.awk', embedded as
81073 # here-document in config.status, that substitutes the proper values into
81074 # config.h.in to produce config.h.
81075
81076 # Create a delimiter string that does not exist in confdefs.h, to ease
81077 # handling of long lines.
81078 ac_delim='%!_!# '
81079 for ac_last_try in false false :; do
81080 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81081 if test -z "$ac_t"; then
81082 break
81083 elif $ac_last_try; then
81084 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81085 else
81086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81087 fi
81088 done
81089
81090 # For the awk script, D is an array of macro values keyed by name,
81091 # likewise P contains macro parameters if any. Preserve backslash
81092 # newline sequences.
81093
81094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81095 sed -n '
81096 s/.\{148\}/&'"$ac_delim"'/g
81097 t rset
81098 :rset
81099 s/^[ ]*#[ ]*define[ ][ ]*/ /
81100 t def
81101 d
81102 :def
81103 s/\\$//
81104 t bsnl
81105 s/["\\]/\\&/g
81106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81107 D["\1"]=" \3"/p
81108 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81109 d
81110 :bsnl
81111 s/["\\]/\\&/g
81112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81113 D["\1"]=" \3\\\\\\n"\\/p
81114 t cont
81115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81116 t cont
81117 d
81118 :cont
81119 n
81120 s/.\{148\}/&'"$ac_delim"'/g
81121 t clear
81122 :clear
81123 s/\\$//
81124 t bsnlc
81125 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81126 d
81127 :bsnlc
81128 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81129 b cont
81130 ' <confdefs.h | sed '
81131 s/'"$ac_delim"'/"\\\
81132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81133
81134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81135 for (key in D) D_is_set[key] = 1
81136 FS = "\a"
81137 }
81138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81139 line = \$ 0
81140 split(line, arg, " ")
81141 if (arg[1] == "#") {
81142 defundef = arg[2]
81143 mac1 = arg[3]
81144 } else {
81145 defundef = substr(arg[1], 2)
81146 mac1 = arg[2]
81147 }
81148 split(mac1, mac2, "(") #)
81149 macro = mac2[1]
81150 prefix = substr(line, 1, index(line, defundef) - 1)
81151 if (D_is_set[macro]) {
81152 # Preserve the white space surrounding the "#".
81153 print prefix "define", macro P[macro] D[macro]
81154 next
81155 } else {
81156 # Replace #undef with comments. This is necessary, for example,
81157 # in the case of _POSIX_SOURCE, which is predefined and required
81158 # on some systems where configure will not decide to define it.
81159 if (defundef == "undef") {
81160 print "/*", prefix defundef, macro, "*/"
81161 next
81162 }
81163 }
81164 }
81165 { print }
81166 _ACAWK
81167 _ACEOF
81168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81169 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81170 fi # test -n "$CONFIG_HEADERS"
81171
81172
81173 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81174 shift
81175 for ac_tag
81176 do
81177 case $ac_tag in
81178 :[FHLC]) ac_mode=$ac_tag; continue;;
81179 esac
81180 case $ac_mode$ac_tag in
81181 :[FHL]*:*);;
81182 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81183 :[FH]-) ac_tag=-:-;;
81184 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81185 esac
81186 ac_save_IFS=$IFS
81187 IFS=:
81188 set x $ac_tag
81189 IFS=$ac_save_IFS
81190 shift
81191 ac_file=$1
81192 shift
81193
81194 case $ac_mode in
81195 :L) ac_source=$1;;
81196 :[FH])
81197 ac_file_inputs=
81198 for ac_f
81199 do
81200 case $ac_f in
81201 -) ac_f="$tmp/stdin";;
81202 *) # Look for the file first in the build tree, then in the source tree
81203 # (if the path is not absolute). The absolute path cannot be DOS-style,
81204 # because $ac_f cannot contain `:'.
81205 test -f "$ac_f" ||
81206 case $ac_f in
81207 [\\/$]*) false;;
81208 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81209 esac ||
81210 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81211 esac
81212 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81213 as_fn_append ac_file_inputs " '$ac_f'"
81214 done
81215
81216 # Let's still pretend it is `configure' which instantiates (i.e., don't
81217 # use $as_me), people would be surprised to read:
81218 # /* config.h. Generated by config.status. */
81219 configure_input='Generated from '`
81220 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81221 `' by configure.'
81222 if test x"$ac_file" != x-; then
81223 configure_input="$ac_file. $configure_input"
81224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81225 $as_echo "$as_me: creating $ac_file" >&6;}
81226 fi
81227 # Neutralize special characters interpreted by sed in replacement strings.
81228 case $configure_input in #(
81229 *\&* | *\|* | *\\* )
81230 ac_sed_conf_input=`$as_echo "$configure_input" |
81231 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81232 *) ac_sed_conf_input=$configure_input;;
81233 esac
81234
81235 case $ac_tag in
81236 *:-:* | *:-) cat >"$tmp/stdin" \
81237 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81238 esac
81239 ;;
81240 esac
81241
81242 ac_dir=`$as_dirname -- "$ac_file" ||
81243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81244 X"$ac_file" : 'X\(//\)[^/]' \| \
81245 X"$ac_file" : 'X\(//\)$' \| \
81246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81247 $as_echo X"$ac_file" |
81248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81249 s//\1/
81250 q
81251 }
81252 /^X\(\/\/\)[^/].*/{
81253 s//\1/
81254 q
81255 }
81256 /^X\(\/\/\)$/{
81257 s//\1/
81258 q
81259 }
81260 /^X\(\/\).*/{
81261 s//\1/
81262 q
81263 }
81264 s/.*/./; q'`
81265 as_dir="$ac_dir"; as_fn_mkdir_p
81266 ac_builddir=.
81267
81268 case "$ac_dir" in
81269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81270 *)
81271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81272 # A ".." for each directory in $ac_dir_suffix.
81273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81274 case $ac_top_builddir_sub in
81275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81277 esac ;;
81278 esac
81279 ac_abs_top_builddir=$ac_pwd
81280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81281 # for backward compatibility:
81282 ac_top_builddir=$ac_top_build_prefix
81283
81284 case $srcdir in
81285 .) # We are building in place.
81286 ac_srcdir=.
81287 ac_top_srcdir=$ac_top_builddir_sub
81288 ac_abs_top_srcdir=$ac_pwd ;;
81289 [\\/]* | ?:[\\/]* ) # Absolute name.
81290 ac_srcdir=$srcdir$ac_dir_suffix;
81291 ac_top_srcdir=$srcdir
81292 ac_abs_top_srcdir=$srcdir ;;
81293 *) # Relative name.
81294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81295 ac_top_srcdir=$ac_top_build_prefix$srcdir
81296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81297 esac
81298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81299
81300
81301 case $ac_mode in
81302 :F)
81303 #
81304 # CONFIG_FILE
81305 #
81306
81307 case $INSTALL in
81308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81310 esac
81311 ac_MKDIR_P=$MKDIR_P
81312 case $MKDIR_P in
81313 [\\/$]* | ?:[\\/]* ) ;;
81314 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81315 esac
81316 _ACEOF
81317
81318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81319 # If the template does not know about datarootdir, expand it.
81320 # FIXME: This hack should be removed a few years after 2.60.
81321 ac_datarootdir_hack=; ac_datarootdir_seen=
81322 ac_sed_dataroot='
81323 /datarootdir/ {
81324 p
81325 q
81326 }
81327 /@datadir@/p
81328 /@docdir@/p
81329 /@infodir@/p
81330 /@localedir@/p
81331 /@mandir@/p'
81332 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81333 *datarootdir*) ac_datarootdir_seen=yes;;
81334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81336 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81337 _ACEOF
81338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81339 ac_datarootdir_hack='
81340 s&@datadir@&$datadir&g
81341 s&@docdir@&$docdir&g
81342 s&@infodir@&$infodir&g
81343 s&@localedir@&$localedir&g
81344 s&@mandir@&$mandir&g
81345 s&\\\${datarootdir}&$datarootdir&g' ;;
81346 esac
81347 _ACEOF
81348
81349 # Neutralize VPATH when `$srcdir' = `.'.
81350 # Shell code in configure.ac might set extrasub.
81351 # FIXME: do we really want to maintain this feature?
81352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81353 ac_sed_extra="$ac_vpsub
81354 $extrasub
81355 _ACEOF
81356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81357 :t
81358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81359 s|@configure_input@|$ac_sed_conf_input|;t t
81360 s&@top_builddir@&$ac_top_builddir_sub&;t t
81361 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81362 s&@srcdir@&$ac_srcdir&;t t
81363 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81364 s&@top_srcdir@&$ac_top_srcdir&;t t
81365 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81366 s&@builddir@&$ac_builddir&;t t
81367 s&@abs_builddir@&$ac_abs_builddir&;t t
81368 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81369 s&@INSTALL@&$ac_INSTALL&;t t
81370 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81371 $ac_datarootdir_hack
81372 "
81373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81374 || as_fn_error "could not create $ac_file" "$LINENO" 5
81375
81376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81377 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81380 which seems to be undefined. Please make sure it is defined." >&5
81381 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81382 which seems to be undefined. Please make sure it is defined." >&2;}
81383
81384 rm -f "$tmp/stdin"
81385 case $ac_file in
81386 -) cat "$tmp/out" && rm -f "$tmp/out";;
81387 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81388 esac \
81389 || as_fn_error "could not create $ac_file" "$LINENO" 5
81390 ;;
81391 :H)
81392 #
81393 # CONFIG_HEADER
81394 #
81395 if test x"$ac_file" != x-; then
81396 {
81397 $as_echo "/* $configure_input */" \
81398 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81399 } >"$tmp/config.h" \
81400 || as_fn_error "could not create $ac_file" "$LINENO" 5
81401 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81402 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81403 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81404 else
81405 rm -f "$ac_file"
81406 mv "$tmp/config.h" "$ac_file" \
81407 || as_fn_error "could not create $ac_file" "$LINENO" 5
81408 fi
81409 else
81410 $as_echo "/* $configure_input */" \
81411 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81412 || as_fn_error "could not create -" "$LINENO" 5
81413 fi
81414 # Compute "$ac_file"'s index in $config_headers.
81415 _am_arg="$ac_file"
81416 _am_stamp_count=1
81417 for _am_header in $config_headers :; do
81418 case $_am_header in
81419 $_am_arg | $_am_arg:* )
81420 break ;;
81421 * )
81422 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81423 esac
81424 done
81425 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81426 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81427 X"$_am_arg" : 'X\(//\)[^/]' \| \
81428 X"$_am_arg" : 'X\(//\)$' \| \
81429 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81430 $as_echo X"$_am_arg" |
81431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81432 s//\1/
81433 q
81434 }
81435 /^X\(\/\/\)[^/].*/{
81436 s//\1/
81437 q
81438 }
81439 /^X\(\/\/\)$/{
81440 s//\1/
81441 q
81442 }
81443 /^X\(\/\).*/{
81444 s//\1/
81445 q
81446 }
81447 s/.*/./; q'`/stamp-h$_am_stamp_count
81448 ;;
81449
81450 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81451 $as_echo "$as_me: executing $ac_file commands" >&6;}
81452 ;;
81453 esac
81454
81455
81456 case $ac_file$ac_mode in
81457 "default-1":C)
81458 # Only add multilib support code if we just rebuilt the top-level
81459 # Makefile.
81460 case " $CONFIG_FILES " in
81461 *" Makefile "*)
81462 ac_file=Makefile . ${multi_basedir}/config-ml.in
81463 ;;
81464 esac ;;
81465 "libtool":C)
81466
81467 # See if we are running on zsh, and set the options which allow our
81468 # commands through without removal of \ escapes.
81469 if test -n "${ZSH_VERSION+set}" ; then
81470 setopt NO_GLOB_SUBST
81471 fi
81472
81473 cfgfile="${ofile}T"
81474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81475 $RM "$cfgfile"
81476
81477 cat <<_LT_EOF >> "$cfgfile"
81478 #! $SHELL
81479
81480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81484 #
81485 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81486 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81487 # Written by Gordon Matzigkeit, 1996
81488 #
81489 # This file is part of GNU Libtool.
81490 #
81491 # GNU Libtool is free software; you can redistribute it and/or
81492 # modify it under the terms of the GNU General Public License as
81493 # published by the Free Software Foundation; either version 2 of
81494 # the License, or (at your option) any later version.
81495 #
81496 # As a special exception to the GNU General Public License,
81497 # if you distribute this file as part of a program or library that
81498 # is built using GNU Libtool, you may include this file under the
81499 # same distribution terms that you use for the rest of that program.
81500 #
81501 # GNU Libtool is distributed in the hope that it will be useful,
81502 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81503 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81504 # GNU General Public License for more details.
81505 #
81506 # You should have received a copy of the GNU General Public License
81507 # along with GNU Libtool; see the file COPYING. If not, a copy
81508 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81509 # obtained by writing to the Free Software Foundation, Inc.,
81510 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81511
81512
81513 # The names of the tagged configurations supported by this script.
81514 available_tags="CXX "
81515
81516 # ### BEGIN LIBTOOL CONFIG
81517
81518 # Which release of libtool.m4 was used?
81519 macro_version=$macro_version
81520 macro_revision=$macro_revision
81521
81522 # Whether or not to build shared libraries.
81523 build_libtool_libs=$enable_shared
81524
81525 # Whether or not to build static libraries.
81526 build_old_libs=$enable_static
81527
81528 # What type of objects to build.
81529 pic_mode=$pic_mode
81530
81531 # Whether or not to optimize for fast installation.
81532 fast_install=$enable_fast_install
81533
81534 # Shell to use when invoking shell scripts.
81535 SHELL=$lt_SHELL
81536
81537 # An echo program that protects backslashes.
81538 ECHO=$lt_ECHO
81539
81540 # The host system.
81541 host_alias=$host_alias
81542 host=$host
81543 host_os=$host_os
81544
81545 # The build system.
81546 build_alias=$build_alias
81547 build=$build
81548 build_os=$build_os
81549
81550 # A sed program that does not truncate output.
81551 SED=$lt_SED
81552
81553 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81554 Xsed="\$SED -e 1s/^X//"
81555
81556 # A grep program that handles long lines.
81557 GREP=$lt_GREP
81558
81559 # An ERE matcher.
81560 EGREP=$lt_EGREP
81561
81562 # A literal string matcher.
81563 FGREP=$lt_FGREP
81564
81565 # A BSD- or MS-compatible name lister.
81566 NM=$lt_NM
81567
81568 # Whether we need soft or hard links.
81569 LN_S=$lt_LN_S
81570
81571 # What is the maximum length of a command?
81572 max_cmd_len=$max_cmd_len
81573
81574 # Object file suffix (normally "o").
81575 objext=$ac_objext
81576
81577 # Executable file suffix (normally "").
81578 exeext=$exeext
81579
81580 # whether the shell understands "unset".
81581 lt_unset=$lt_unset
81582
81583 # turn spaces into newlines.
81584 SP2NL=$lt_lt_SP2NL
81585
81586 # turn newlines into spaces.
81587 NL2SP=$lt_lt_NL2SP
81588
81589 # An object symbol dumper.
81590 OBJDUMP=$lt_OBJDUMP
81591
81592 # Method to check whether dependent libraries are shared objects.
81593 deplibs_check_method=$lt_deplibs_check_method
81594
81595 # Command to use when deplibs_check_method == "file_magic".
81596 file_magic_cmd=$lt_file_magic_cmd
81597
81598 # The archiver.
81599 AR=$lt_AR
81600 AR_FLAGS=$lt_AR_FLAGS
81601
81602 # A symbol stripping program.
81603 STRIP=$lt_STRIP
81604
81605 # Commands used to install an old-style archive.
81606 RANLIB=$lt_RANLIB
81607 old_postinstall_cmds=$lt_old_postinstall_cmds
81608 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81609
81610 # Whether to use a lock for old archive extraction.
81611 lock_old_archive_extraction=$lock_old_archive_extraction
81612
81613 # A C compiler.
81614 LTCC=$lt_CC
81615
81616 # LTCC compiler flags.
81617 LTCFLAGS=$lt_CFLAGS
81618
81619 # Take the output of nm and produce a listing of raw symbols and C names.
81620 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81621
81622 # Transform the output of nm in a proper C declaration.
81623 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81624
81625 # Transform the output of nm in a C name address pair.
81626 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81627
81628 # Transform the output of nm in a C name address pair when lib prefix is needed.
81629 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81630
81631 # The name of the directory that contains temporary libtool files.
81632 objdir=$objdir
81633
81634 # Used to examine libraries when file_magic_cmd begins with "file".
81635 MAGIC_CMD=$MAGIC_CMD
81636
81637 # Must we lock files when doing compilation?
81638 need_locks=$lt_need_locks
81639
81640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81641 DSYMUTIL=$lt_DSYMUTIL
81642
81643 # Tool to change global to local symbols on Mac OS X.
81644 NMEDIT=$lt_NMEDIT
81645
81646 # Tool to manipulate fat objects and archives on Mac OS X.
81647 LIPO=$lt_LIPO
81648
81649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81650 OTOOL=$lt_OTOOL
81651
81652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81653 OTOOL64=$lt_OTOOL64
81654
81655 # Old archive suffix (normally "a").
81656 libext=$libext
81657
81658 # Shared library suffix (normally ".so").
81659 shrext_cmds=$lt_shrext_cmds
81660
81661 # The commands to extract the exported symbol list from a shared archive.
81662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81663
81664 # Variables whose values should be saved in libtool wrapper scripts and
81665 # restored at link time.
81666 variables_saved_for_relink=$lt_variables_saved_for_relink
81667
81668 # Do we need the "lib" prefix for modules?
81669 need_lib_prefix=$need_lib_prefix
81670
81671 # Do we need a version for libraries?
81672 need_version=$need_version
81673
81674 # Library versioning type.
81675 version_type=$version_type
81676
81677 # Shared library runtime path variable.
81678 runpath_var=$runpath_var
81679
81680 # Shared library path variable.
81681 shlibpath_var=$shlibpath_var
81682
81683 # Is shlibpath searched before the hard-coded library search path?
81684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81685
81686 # Format of library name prefix.
81687 libname_spec=$lt_libname_spec
81688
81689 # List of archive names. First name is the real one, the rest are links.
81690 # The last name is the one that the linker finds with -lNAME
81691 library_names_spec=$lt_library_names_spec
81692
81693 # The coded name of the library, if different from the real name.
81694 soname_spec=$lt_soname_spec
81695
81696 # Permission mode override for installation of shared libraries.
81697 install_override_mode=$lt_install_override_mode
81698
81699 # Command to use after installation of a shared archive.
81700 postinstall_cmds=$lt_postinstall_cmds
81701
81702 # Command to use after uninstallation of a shared archive.
81703 postuninstall_cmds=$lt_postuninstall_cmds
81704
81705 # Commands used to finish a libtool library installation in a directory.
81706 finish_cmds=$lt_finish_cmds
81707
81708 # As "finish_cmds", except a single script fragment to be evaled but
81709 # not shown.
81710 finish_eval=$lt_finish_eval
81711
81712 # Whether we should hardcode library paths into libraries.
81713 hardcode_into_libs=$hardcode_into_libs
81714
81715 # Compile-time system search path for libraries.
81716 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81717
81718 # Run-time system search path for libraries.
81719 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81720
81721 # Whether dlopen is supported.
81722 dlopen_support=$enable_dlopen
81723
81724 # Whether dlopen of programs is supported.
81725 dlopen_self=$enable_dlopen_self
81726
81727 # Whether dlopen of statically linked programs is supported.
81728 dlopen_self_static=$enable_dlopen_self_static
81729
81730 # Commands to strip libraries.
81731 old_striplib=$lt_old_striplib
81732 striplib=$lt_striplib
81733
81734
81735 # The linker used to build libraries.
81736 LD=$lt_LD
81737
81738 # How to create reloadable object files.
81739 reload_flag=$lt_reload_flag
81740 reload_cmds=$lt_reload_cmds
81741
81742 # Commands used to build an old-style archive.
81743 old_archive_cmds=$lt_old_archive_cmds
81744
81745 # A language specific compiler.
81746 CC=$lt_compiler
81747
81748 # Is the compiler the GNU compiler?
81749 with_gcc=$GCC
81750
81751 # Compiler flag to turn off builtin functions.
81752 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81753
81754 # How to pass a linker flag through the compiler.
81755 wl=$lt_lt_prog_compiler_wl
81756
81757 # Additional compiler flags for building library objects.
81758 pic_flag=$lt_lt_prog_compiler_pic
81759
81760 # Compiler flag to prevent dynamic linking.
81761 link_static_flag=$lt_lt_prog_compiler_static
81762
81763 # Does compiler simultaneously support -c and -o options?
81764 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81765
81766 # Whether or not to add -lc for building shared libraries.
81767 build_libtool_need_lc=$archive_cmds_need_lc
81768
81769 # Whether or not to disallow shared libs when runtime libs are static.
81770 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81771
81772 # Compiler flag to allow reflexive dlopens.
81773 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81774
81775 # Compiler flag to generate shared objects directly from archives.
81776 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81777
81778 # Whether the compiler copes with passing no objects directly.
81779 compiler_needs_object=$lt_compiler_needs_object
81780
81781 # Create an old-style archive from a shared archive.
81782 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81783
81784 # Create a temporary old-style archive to link instead of a shared archive.
81785 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81786
81787 # Commands used to build a shared archive.
81788 archive_cmds=$lt_archive_cmds
81789 archive_expsym_cmds=$lt_archive_expsym_cmds
81790
81791 # Commands used to build a loadable module if different from building
81792 # a shared archive.
81793 module_cmds=$lt_module_cmds
81794 module_expsym_cmds=$lt_module_expsym_cmds
81795
81796 # Whether we are building with GNU ld or not.
81797 with_gnu_ld=$lt_with_gnu_ld
81798
81799 # Flag that allows shared libraries with undefined symbols to be built.
81800 allow_undefined_flag=$lt_allow_undefined_flag
81801
81802 # Flag that enforces no undefined symbols.
81803 no_undefined_flag=$lt_no_undefined_flag
81804
81805 # Flag to hardcode \$libdir into a binary during linking.
81806 # This must work even if \$libdir does not exist
81807 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81808
81809 # If ld is used when linking, flag to hardcode \$libdir into a binary
81810 # during linking. This must work even if \$libdir does not exist.
81811 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81812
81813 # Whether we need a single "-rpath" flag with a separated argument.
81814 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81815
81816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81817 # DIR into the resulting binary.
81818 hardcode_direct=$hardcode_direct
81819
81820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81821 # DIR into the resulting binary and the resulting library dependency is
81822 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81823 # library is relocated.
81824 hardcode_direct_absolute=$hardcode_direct_absolute
81825
81826 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81827 # into the resulting binary.
81828 hardcode_minus_L=$hardcode_minus_L
81829
81830 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81831 # into the resulting binary.
81832 hardcode_shlibpath_var=$hardcode_shlibpath_var
81833
81834 # Set to "yes" if building a shared library automatically hardcodes DIR
81835 # into the library and all subsequent libraries and executables linked
81836 # against it.
81837 hardcode_automatic=$hardcode_automatic
81838
81839 # Set to yes if linker adds runtime paths of dependent libraries
81840 # to runtime path list.
81841 inherit_rpath=$inherit_rpath
81842
81843 # Whether libtool must link a program against all its dependency libraries.
81844 link_all_deplibs=$link_all_deplibs
81845
81846 # Fix the shell variable \$srcfile for the compiler.
81847 fix_srcfile_path=$lt_fix_srcfile_path
81848
81849 # Set to "yes" if exported symbols are required.
81850 always_export_symbols=$always_export_symbols
81851
81852 # The commands to list exported symbols.
81853 export_symbols_cmds=$lt_export_symbols_cmds
81854
81855 # Symbols that should not be listed in the preloaded symbols.
81856 exclude_expsyms=$lt_exclude_expsyms
81857
81858 # Symbols that must always be exported.
81859 include_expsyms=$lt_include_expsyms
81860
81861 # Commands necessary for linking programs (against libraries) with templates.
81862 prelink_cmds=$lt_prelink_cmds
81863
81864 # Specify filename containing input files.
81865 file_list_spec=$lt_file_list_spec
81866
81867 # How to hardcode a shared library path into an executable.
81868 hardcode_action=$hardcode_action
81869
81870 # The directories searched by this compiler when creating a shared library.
81871 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81872
81873 # Dependencies to place before and after the objects being linked to
81874 # create a shared library.
81875 predep_objects=$lt_predep_objects
81876 postdep_objects=$lt_postdep_objects
81877 predeps=$lt_predeps
81878 postdeps=$lt_postdeps
81879
81880 # The library search path used internally by the compiler when linking
81881 # a shared library.
81882 compiler_lib_search_path=$lt_compiler_lib_search_path
81883
81884 # ### END LIBTOOL CONFIG
81885
81886 _LT_EOF
81887
81888 case $host_os in
81889 aix3*)
81890 cat <<\_LT_EOF >> "$cfgfile"
81891 # AIX sometimes has problems with the GCC collect2 program. For some
81892 # reason, if we set the COLLECT_NAMES environment variable, the problems
81893 # vanish in a puff of smoke.
81894 if test "X${COLLECT_NAMES+set}" != Xset; then
81895 COLLECT_NAMES=
81896 export COLLECT_NAMES
81897 fi
81898 _LT_EOF
81899 ;;
81900 esac
81901
81902
81903 ltmain="$ac_aux_dir/ltmain.sh"
81904
81905
81906 # We use sed instead of cat because bash on DJGPP gets confused if
81907 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81908 # text mode, it properly converts lines to CR/LF. This bash problem
81909 # is reportedly fixed, but why not run on old versions too?
81910 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81911 || (rm -f "$cfgfile"; exit 1)
81912
81913 case $xsi_shell in
81914 yes)
81915 cat << \_LT_EOF >> "$cfgfile"
81916
81917 # func_dirname file append nondir_replacement
81918 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81919 # otherwise set result to NONDIR_REPLACEMENT.
81920 func_dirname ()
81921 {
81922 case ${1} in
81923 */*) func_dirname_result="${1%/*}${2}" ;;
81924 * ) func_dirname_result="${3}" ;;
81925 esac
81926 }
81927
81928 # func_basename file
81929 func_basename ()
81930 {
81931 func_basename_result="${1##*/}"
81932 }
81933
81934 # func_dirname_and_basename file append nondir_replacement
81935 # perform func_basename and func_dirname in a single function
81936 # call:
81937 # dirname: Compute the dirname of FILE. If nonempty,
81938 # add APPEND to the result, otherwise set result
81939 # to NONDIR_REPLACEMENT.
81940 # value returned in "$func_dirname_result"
81941 # basename: Compute filename of FILE.
81942 # value retuned in "$func_basename_result"
81943 # Implementation must be kept synchronized with func_dirname
81944 # and func_basename. For efficiency, we do not delegate to
81945 # those functions but instead duplicate the functionality here.
81946 func_dirname_and_basename ()
81947 {
81948 case ${1} in
81949 */*) func_dirname_result="${1%/*}${2}" ;;
81950 * ) func_dirname_result="${3}" ;;
81951 esac
81952 func_basename_result="${1##*/}"
81953 }
81954
81955 # func_stripname prefix suffix name
81956 # strip PREFIX and SUFFIX off of NAME.
81957 # PREFIX and SUFFIX must not contain globbing or regex special
81958 # characters, hashes, percent signs, but SUFFIX may contain a leading
81959 # dot (in which case that matches only a dot).
81960 func_stripname ()
81961 {
81962 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81963 # positional parameters, so assign one to ordinary parameter first.
81964 func_stripname_result=${3}
81965 func_stripname_result=${func_stripname_result#"${1}"}
81966 func_stripname_result=${func_stripname_result%"${2}"}
81967 }
81968
81969 # func_opt_split
81970 func_opt_split ()
81971 {
81972 func_opt_split_opt=${1%%=*}
81973 func_opt_split_arg=${1#*=}
81974 }
81975
81976 # func_lo2o object
81977 func_lo2o ()
81978 {
81979 case ${1} in
81980 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81981 *) func_lo2o_result=${1} ;;
81982 esac
81983 }
81984
81985 # func_xform libobj-or-source
81986 func_xform ()
81987 {
81988 func_xform_result=${1%.*}.lo
81989 }
81990
81991 # func_arith arithmetic-term...
81992 func_arith ()
81993 {
81994 func_arith_result=$(( $* ))
81995 }
81996
81997 # func_len string
81998 # STRING may not start with a hyphen.
81999 func_len ()
82000 {
82001 func_len_result=${#1}
82002 }
82003
82004 _LT_EOF
82005 ;;
82006 *) # Bourne compatible functions.
82007 cat << \_LT_EOF >> "$cfgfile"
82008
82009 # func_dirname file append nondir_replacement
82010 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82011 # otherwise set result to NONDIR_REPLACEMENT.
82012 func_dirname ()
82013 {
82014 # Extract subdirectory from the argument.
82015 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82016 if test "X$func_dirname_result" = "X${1}"; then
82017 func_dirname_result="${3}"
82018 else
82019 func_dirname_result="$func_dirname_result${2}"
82020 fi
82021 }
82022
82023 # func_basename file
82024 func_basename ()
82025 {
82026 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82027 }
82028
82029
82030 # func_stripname prefix suffix name
82031 # strip PREFIX and SUFFIX off of NAME.
82032 # PREFIX and SUFFIX must not contain globbing or regex special
82033 # characters, hashes, percent signs, but SUFFIX may contain a leading
82034 # dot (in which case that matches only a dot).
82035 # func_strip_suffix prefix name
82036 func_stripname ()
82037 {
82038 case ${2} in
82039 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82040 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82041 esac
82042 }
82043
82044 # sed scripts:
82045 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82046 my_sed_long_arg='1s/^-[^=]*=//'
82047
82048 # func_opt_split
82049 func_opt_split ()
82050 {
82051 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82052 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82053 }
82054
82055 # func_lo2o object
82056 func_lo2o ()
82057 {
82058 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82059 }
82060
82061 # func_xform libobj-or-source
82062 func_xform ()
82063 {
82064 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82065 }
82066
82067 # func_arith arithmetic-term...
82068 func_arith ()
82069 {
82070 func_arith_result=`expr "$@"`
82071 }
82072
82073 # func_len string
82074 # STRING may not start with a hyphen.
82075 func_len ()
82076 {
82077 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82078 }
82079
82080 _LT_EOF
82081 esac
82082
82083 case $lt_shell_append in
82084 yes)
82085 cat << \_LT_EOF >> "$cfgfile"
82086
82087 # func_append var value
82088 # Append VALUE to the end of shell variable VAR.
82089 func_append ()
82090 {
82091 eval "$1+=\$2"
82092 }
82093 _LT_EOF
82094 ;;
82095 *)
82096 cat << \_LT_EOF >> "$cfgfile"
82097
82098 # func_append var value
82099 # Append VALUE to the end of shell variable VAR.
82100 func_append ()
82101 {
82102 eval "$1=\$$1\$2"
82103 }
82104
82105 _LT_EOF
82106 ;;
82107 esac
82108
82109
82110 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82111 || (rm -f "$cfgfile"; exit 1)
82112
82113 mv -f "$cfgfile" "$ofile" ||
82114 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82115 chmod +x "$ofile"
82116
82117
82118 cat <<_LT_EOF >> "$ofile"
82119
82120 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82121
82122 # The linker used to build libraries.
82123 LD=$lt_LD_CXX
82124
82125 # How to create reloadable object files.
82126 reload_flag=$lt_reload_flag_CXX
82127 reload_cmds=$lt_reload_cmds_CXX
82128
82129 # Commands used to build an old-style archive.
82130 old_archive_cmds=$lt_old_archive_cmds_CXX
82131
82132 # A language specific compiler.
82133 CC=$lt_compiler_CXX
82134
82135 # Is the compiler the GNU compiler?
82136 with_gcc=$GCC_CXX
82137
82138 # Compiler flag to turn off builtin functions.
82139 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82140
82141 # How to pass a linker flag through the compiler.
82142 wl=$lt_lt_prog_compiler_wl_CXX
82143
82144 # Additional compiler flags for building library objects.
82145 pic_flag=$lt_lt_prog_compiler_pic_CXX
82146
82147 # Compiler flag to prevent dynamic linking.
82148 link_static_flag=$lt_lt_prog_compiler_static_CXX
82149
82150 # Does compiler simultaneously support -c and -o options?
82151 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82152
82153 # Whether or not to add -lc for building shared libraries.
82154 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82155
82156 # Whether or not to disallow shared libs when runtime libs are static.
82157 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82158
82159 # Compiler flag to allow reflexive dlopens.
82160 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82161
82162 # Compiler flag to generate shared objects directly from archives.
82163 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82164
82165 # Whether the compiler copes with passing no objects directly.
82166 compiler_needs_object=$lt_compiler_needs_object_CXX
82167
82168 # Create an old-style archive from a shared archive.
82169 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82170
82171 # Create a temporary old-style archive to link instead of a shared archive.
82172 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82173
82174 # Commands used to build a shared archive.
82175 archive_cmds=$lt_archive_cmds_CXX
82176 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82177
82178 # Commands used to build a loadable module if different from building
82179 # a shared archive.
82180 module_cmds=$lt_module_cmds_CXX
82181 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82182
82183 # Whether we are building with GNU ld or not.
82184 with_gnu_ld=$lt_with_gnu_ld_CXX
82185
82186 # Flag that allows shared libraries with undefined symbols to be built.
82187 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82188
82189 # Flag that enforces no undefined symbols.
82190 no_undefined_flag=$lt_no_undefined_flag_CXX
82191
82192 # Flag to hardcode \$libdir into a binary during linking.
82193 # This must work even if \$libdir does not exist
82194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82195
82196 # If ld is used when linking, flag to hardcode \$libdir into a binary
82197 # during linking. This must work even if \$libdir does not exist.
82198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82199
82200 # Whether we need a single "-rpath" flag with a separated argument.
82201 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82202
82203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82204 # DIR into the resulting binary.
82205 hardcode_direct=$hardcode_direct_CXX
82206
82207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82208 # DIR into the resulting binary and the resulting library dependency is
82209 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82210 # library is relocated.
82211 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82212
82213 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82214 # into the resulting binary.
82215 hardcode_minus_L=$hardcode_minus_L_CXX
82216
82217 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82218 # into the resulting binary.
82219 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82220
82221 # Set to "yes" if building a shared library automatically hardcodes DIR
82222 # into the library and all subsequent libraries and executables linked
82223 # against it.
82224 hardcode_automatic=$hardcode_automatic_CXX
82225
82226 # Set to yes if linker adds runtime paths of dependent libraries
82227 # to runtime path list.
82228 inherit_rpath=$inherit_rpath_CXX
82229
82230 # Whether libtool must link a program against all its dependency libraries.
82231 link_all_deplibs=$link_all_deplibs_CXX
82232
82233 # Fix the shell variable \$srcfile for the compiler.
82234 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82235
82236 # Set to "yes" if exported symbols are required.
82237 always_export_symbols=$always_export_symbols_CXX
82238
82239 # The commands to list exported symbols.
82240 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82241
82242 # Symbols that should not be listed in the preloaded symbols.
82243 exclude_expsyms=$lt_exclude_expsyms_CXX
82244
82245 # Symbols that must always be exported.
82246 include_expsyms=$lt_include_expsyms_CXX
82247
82248 # Commands necessary for linking programs (against libraries) with templates.
82249 prelink_cmds=$lt_prelink_cmds_CXX
82250
82251 # Specify filename containing input files.
82252 file_list_spec=$lt_file_list_spec_CXX
82253
82254 # How to hardcode a shared library path into an executable.
82255 hardcode_action=$hardcode_action_CXX
82256
82257 # The directories searched by this compiler when creating a shared library.
82258 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82259
82260 # Dependencies to place before and after the objects being linked to
82261 # create a shared library.
82262 predep_objects=$lt_predep_objects_CXX
82263 postdep_objects=$lt_postdep_objects_CXX
82264 predeps=$lt_predeps_CXX
82265 postdeps=$lt_postdeps_CXX
82266
82267 # The library search path used internally by the compiler when linking
82268 # a shared library.
82269 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82270
82271 # ### END LIBTOOL TAG CONFIG: CXX
82272 _LT_EOF
82273
82274 ;;
82275 "include/gstdint.h":C)
82276 if test "$GCC" = yes; then
82277 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82278 else
82279 echo "/* generated for $CC */" > tmp-stdint.h
82280 fi
82281
82282 sed 's/^ *//' >> tmp-stdint.h <<EOF
82283
82284 #ifndef GCC_GENERATED_STDINT_H
82285 #define GCC_GENERATED_STDINT_H 1
82286
82287 #include <sys/types.h>
82288 EOF
82289
82290 if test "$acx_cv_header_stdint" != stdint.h; then
82291 echo "#include <stddef.h>" >> tmp-stdint.h
82292 fi
82293 if test "$acx_cv_header_stdint" != stddef.h; then
82294 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82295 fi
82296
82297 sed 's/^ *//' >> tmp-stdint.h <<EOF
82298 /* glibc uses these symbols as guards to prevent redefinitions. */
82299 #ifdef __int8_t_defined
82300 #define _INT8_T
82301 #define _INT16_T
82302 #define _INT32_T
82303 #endif
82304 #ifdef __uint32_t_defined
82305 #define _UINT32_T
82306 #endif
82307
82308 EOF
82309
82310 # ----------------- done header, emit basic int types -------------
82311 if test "$acx_cv_header_stdint" = stddef.h; then
82312 sed 's/^ *//' >> tmp-stdint.h <<EOF
82313
82314 #ifndef _UINT8_T
82315 #define _UINT8_T
82316 #ifndef __uint8_t_defined
82317 #define __uint8_t_defined
82318 #ifndef uint8_t
82319 typedef unsigned $acx_cv_type_int8_t uint8_t;
82320 #endif
82321 #endif
82322 #endif
82323
82324 #ifndef _UINT16_T
82325 #define _UINT16_T
82326 #ifndef __uint16_t_defined
82327 #define __uint16_t_defined
82328 #ifndef uint16_t
82329 typedef unsigned $acx_cv_type_int16_t uint16_t;
82330 #endif
82331 #endif
82332 #endif
82333
82334 #ifndef _UINT32_T
82335 #define _UINT32_T
82336 #ifndef __uint32_t_defined
82337 #define __uint32_t_defined
82338 #ifndef uint32_t
82339 typedef unsigned $acx_cv_type_int32_t uint32_t;
82340 #endif
82341 #endif
82342 #endif
82343
82344 #ifndef _INT8_T
82345 #define _INT8_T
82346 #ifndef __int8_t_defined
82347 #define __int8_t_defined
82348 #ifndef int8_t
82349 typedef $acx_cv_type_int8_t int8_t;
82350 #endif
82351 #endif
82352 #endif
82353
82354 #ifndef _INT16_T
82355 #define _INT16_T
82356 #ifndef __int16_t_defined
82357 #define __int16_t_defined
82358 #ifndef int16_t
82359 typedef $acx_cv_type_int16_t int16_t;
82360 #endif
82361 #endif
82362 #endif
82363
82364 #ifndef _INT32_T
82365 #define _INT32_T
82366 #ifndef __int32_t_defined
82367 #define __int32_t_defined
82368 #ifndef int32_t
82369 typedef $acx_cv_type_int32_t int32_t;
82370 #endif
82371 #endif
82372 #endif
82373 EOF
82374 elif test "$ac_cv_type_u_int32_t" = yes; then
82375 sed 's/^ *//' >> tmp-stdint.h <<EOF
82376
82377 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82378 #ifndef _INT8_T
82379 #define _INT8_T
82380 #endif
82381 #ifndef _INT16_T
82382 #define _INT16_T
82383 #endif
82384 #ifndef _INT32_T
82385 #define _INT32_T
82386 #endif
82387
82388 #ifndef _UINT8_T
82389 #define _UINT8_T
82390 #ifndef __uint8_t_defined
82391 #define __uint8_t_defined
82392 #ifndef uint8_t
82393 typedef u_int8_t uint8_t;
82394 #endif
82395 #endif
82396 #endif
82397
82398 #ifndef _UINT16_T
82399 #define _UINT16_T
82400 #ifndef __uint16_t_defined
82401 #define __uint16_t_defined
82402 #ifndef uint16_t
82403 typedef u_int16_t uint16_t;
82404 #endif
82405 #endif
82406 #endif
82407
82408 #ifndef _UINT32_T
82409 #define _UINT32_T
82410 #ifndef __uint32_t_defined
82411 #define __uint32_t_defined
82412 #ifndef uint32_t
82413 typedef u_int32_t uint32_t;
82414 #endif
82415 #endif
82416 #endif
82417 EOF
82418 else
82419 sed 's/^ *//' >> tmp-stdint.h <<EOF
82420
82421 /* Some systems have guard macros to prevent redefinitions, define them. */
82422 #ifndef _INT8_T
82423 #define _INT8_T
82424 #endif
82425 #ifndef _INT16_T
82426 #define _INT16_T
82427 #endif
82428 #ifndef _INT32_T
82429 #define _INT32_T
82430 #endif
82431 #ifndef _UINT8_T
82432 #define _UINT8_T
82433 #endif
82434 #ifndef _UINT16_T
82435 #define _UINT16_T
82436 #endif
82437 #ifndef _UINT32_T
82438 #define _UINT32_T
82439 #endif
82440 EOF
82441 fi
82442
82443 # ------------- done basic int types, emit int64_t types ------------
82444 if test "$ac_cv_type_uint64_t" = yes; then
82445 sed 's/^ *//' >> tmp-stdint.h <<EOF
82446
82447 /* system headers have good uint64_t and int64_t */
82448 #ifndef _INT64_T
82449 #define _INT64_T
82450 #endif
82451 #ifndef _UINT64_T
82452 #define _UINT64_T
82453 #endif
82454 EOF
82455 elif test "$ac_cv_type_u_int64_t" = yes; then
82456 sed 's/^ *//' >> tmp-stdint.h <<EOF
82457
82458 /* system headers have an u_int64_t (and int64_t) */
82459 #ifndef _INT64_T
82460 #define _INT64_T
82461 #endif
82462 #ifndef _UINT64_T
82463 #define _UINT64_T
82464 #ifndef __uint64_t_defined
82465 #define __uint64_t_defined
82466 #ifndef uint64_t
82467 typedef u_int64_t uint64_t;
82468 #endif
82469 #endif
82470 #endif
82471 EOF
82472 elif test -n "$acx_cv_type_int64_t"; then
82473 sed 's/^ *//' >> tmp-stdint.h <<EOF
82474
82475 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82476 #ifndef _INT64_T
82477 #define _INT64_T
82478 #ifndef int64_t
82479 typedef $acx_cv_type_int64_t int64_t;
82480 #endif
82481 #endif
82482 #ifndef _UINT64_T
82483 #define _UINT64_T
82484 #ifndef __uint64_t_defined
82485 #define __uint64_t_defined
82486 #ifndef uint64_t
82487 typedef unsigned $acx_cv_type_int64_t uint64_t;
82488 #endif
82489 #endif
82490 #endif
82491 EOF
82492 else
82493 sed 's/^ *//' >> tmp-stdint.h <<EOF
82494
82495 /* some common heuristics for int64_t, using compiler-specific tests */
82496 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82497 #ifndef _INT64_T
82498 #define _INT64_T
82499 #ifndef __int64_t_defined
82500 #ifndef int64_t
82501 typedef long long int64_t;
82502 #endif
82503 #endif
82504 #endif
82505 #ifndef _UINT64_T
82506 #define _UINT64_T
82507 #ifndef uint64_t
82508 typedef unsigned long long uint64_t;
82509 #endif
82510 #endif
82511
82512 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82513 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82514 does not implement __extension__. But that compiler doesn't define
82515 __GNUC_MINOR__. */
82516 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82517 # define __extension__
82518 # endif
82519
82520 # ifndef _INT64_T
82521 # define _INT64_T
82522 # ifndef int64_t
82523 __extension__ typedef long long int64_t;
82524 # endif
82525 # endif
82526 # ifndef _UINT64_T
82527 # define _UINT64_T
82528 # ifndef uint64_t
82529 __extension__ typedef unsigned long long uint64_t;
82530 # endif
82531 # endif
82532
82533 #elif !defined __STRICT_ANSI__
82534 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82535
82536 # ifndef _INT64_T
82537 # define _INT64_T
82538 # ifndef int64_t
82539 typedef __int64 int64_t;
82540 # endif
82541 # endif
82542 # ifndef _UINT64_T
82543 # define _UINT64_T
82544 # ifndef uint64_t
82545 typedef unsigned __int64 uint64_t;
82546 # endif
82547 # endif
82548 # endif /* compiler */
82549
82550 #endif /* ANSI version */
82551 EOF
82552 fi
82553
82554 # ------------- done int64_t types, emit intptr types ------------
82555 if test "$ac_cv_type_uintptr_t" != yes; then
82556 sed 's/^ *//' >> tmp-stdint.h <<EOF
82557
82558 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82559 #ifndef __uintptr_t_defined
82560 #ifndef uintptr_t
82561 typedef u$acx_cv_type_intptr_t uintptr_t;
82562 #endif
82563 #endif
82564 #ifndef __intptr_t_defined
82565 #ifndef intptr_t
82566 typedef $acx_cv_type_intptr_t intptr_t;
82567 #endif
82568 #endif
82569 EOF
82570 fi
82571
82572 # ------------- done intptr types, emit int_least types ------------
82573 if test "$ac_cv_type_int_least32_t" != yes; then
82574 sed 's/^ *//' >> tmp-stdint.h <<EOF
82575
82576 /* Define int_least types */
82577 typedef int8_t int_least8_t;
82578 typedef int16_t int_least16_t;
82579 typedef int32_t int_least32_t;
82580 #ifdef _INT64_T
82581 typedef int64_t int_least64_t;
82582 #endif
82583
82584 typedef uint8_t uint_least8_t;
82585 typedef uint16_t uint_least16_t;
82586 typedef uint32_t uint_least32_t;
82587 #ifdef _UINT64_T
82588 typedef uint64_t uint_least64_t;
82589 #endif
82590 EOF
82591 fi
82592
82593 # ------------- done intptr types, emit int_fast types ------------
82594 if test "$ac_cv_type_int_fast32_t" != yes; then
82595 sed 's/^ *//' >> tmp-stdint.h <<EOF
82596
82597 /* Define int_fast types. short is often slow */
82598 typedef int8_t int_fast8_t;
82599 typedef int int_fast16_t;
82600 typedef int32_t int_fast32_t;
82601 #ifdef _INT64_T
82602 typedef int64_t int_fast64_t;
82603 #endif
82604
82605 typedef uint8_t uint_fast8_t;
82606 typedef unsigned int uint_fast16_t;
82607 typedef uint32_t uint_fast32_t;
82608 #ifdef _UINT64_T
82609 typedef uint64_t uint_fast64_t;
82610 #endif
82611 EOF
82612 fi
82613
82614 if test "$ac_cv_type_uintmax_t" != yes; then
82615 sed 's/^ *//' >> tmp-stdint.h <<EOF
82616
82617 /* Define intmax based on what we found */
82618 #ifndef intmax_t
82619 #ifdef _INT64_T
82620 typedef int64_t intmax_t;
82621 #else
82622 typedef long intmax_t;
82623 #endif
82624 #endif
82625 #ifndef uintmax_t
82626 #ifdef _UINT64_T
82627 typedef uint64_t uintmax_t;
82628 #else
82629 typedef unsigned long uintmax_t;
82630 #endif
82631 #endif
82632 EOF
82633 fi
82634
82635 sed 's/^ *//' >> tmp-stdint.h <<EOF
82636
82637 #endif /* GCC_GENERATED_STDINT_H */
82638 EOF
82639
82640 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82641 rm -f tmp-stdint.h
82642 else
82643 mv -f tmp-stdint.h include/gstdint.h
82644 fi
82645
82646 ;;
82647 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82648 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82649 "include/Makefile":F) cat > vpsed$$ << \_EOF
82650 s!`test -f '$<' || echo '$(srcdir)/'`!!
82651 _EOF
82652 sed -f vpsed$$ $ac_file > tmp$$
82653 mv tmp$$ $ac_file
82654 rm vpsed$$
82655 echo 'MULTISUBDIR =' >> $ac_file
82656 ml_norecursion=yes
82657 . ${multi_basedir}/config-ml.in
82658 { ml_norecursion=; unset ml_norecursion;}
82659 ;;
82660 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82661 s!`test -f '$<' || echo '$(srcdir)/'`!!
82662 _EOF
82663 sed -f vpsed$$ $ac_file > tmp$$
82664 mv tmp$$ $ac_file
82665 rm vpsed$$
82666 echo 'MULTISUBDIR =' >> $ac_file
82667 ml_norecursion=yes
82668 . ${multi_basedir}/config-ml.in
82669 { ml_norecursion=; unset ml_norecursion;}
82670 ;;
82671 "python/Makefile":F) cat > vpsed$$ << \_EOF
82672 s!`test -f '$<' || echo '$(srcdir)/'`!!
82673 _EOF
82674 sed -f vpsed$$ $ac_file > tmp$$
82675 mv tmp$$ $ac_file
82676 rm vpsed$$
82677 echo 'MULTISUBDIR =' >> $ac_file
82678 ml_norecursion=yes
82679 . ${multi_basedir}/config-ml.in
82680 { ml_norecursion=; unset ml_norecursion;}
82681 ;;
82682 "src/Makefile":F) cat > vpsed$$ << \_EOF
82683 s!`test -f '$<' || echo '$(srcdir)/'`!!
82684 _EOF
82685 sed -f vpsed$$ $ac_file > tmp$$
82686 mv tmp$$ $ac_file
82687 rm vpsed$$
82688 echo 'MULTISUBDIR =' >> $ac_file
82689 ml_norecursion=yes
82690 . ${multi_basedir}/config-ml.in
82691 { ml_norecursion=; unset ml_norecursion;}
82692 ;;
82693 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82694 s!`test -f '$<' || echo '$(srcdir)/'`!!
82695 _EOF
82696 sed -f vpsed$$ $ac_file > tmp$$
82697 mv tmp$$ $ac_file
82698 rm vpsed$$
82699 echo 'MULTISUBDIR =' >> $ac_file
82700 ml_norecursion=yes
82701 . ${multi_basedir}/config-ml.in
82702 { ml_norecursion=; unset ml_norecursion;}
82703 ;;
82704 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82705 s!`test -f '$<' || echo '$(srcdir)/'`!!
82706 _EOF
82707 sed -f vpsed$$ $ac_file > tmp$$
82708 mv tmp$$ $ac_file
82709 rm vpsed$$
82710 echo 'MULTISUBDIR =' >> $ac_file
82711 ml_norecursion=yes
82712 . ${multi_basedir}/config-ml.in
82713 { ml_norecursion=; unset ml_norecursion;}
82714 ;;
82715 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82716 s!`test -f '$<' || echo '$(srcdir)/'`!!
82717 _EOF
82718 sed -f vpsed$$ $ac_file > tmp$$
82719 mv tmp$$ $ac_file
82720 rm vpsed$$
82721 echo 'MULTISUBDIR =' >> $ac_file
82722 ml_norecursion=yes
82723 . ${multi_basedir}/config-ml.in
82724 { ml_norecursion=; unset ml_norecursion;}
82725 ;;
82726 "po/Makefile":F) cat > vpsed$$ << \_EOF
82727 s!`test -f '$<' || echo '$(srcdir)/'`!!
82728 _EOF
82729 sed -f vpsed$$ $ac_file > tmp$$
82730 mv tmp$$ $ac_file
82731 rm vpsed$$
82732 echo 'MULTISUBDIR =' >> $ac_file
82733 ml_norecursion=yes
82734 . ${multi_basedir}/config-ml.in
82735 { ml_norecursion=; unset ml_norecursion;}
82736 ;;
82737 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82738 s!`test -f '$<' || echo '$(srcdir)/'`!!
82739 _EOF
82740 sed -f vpsed$$ $ac_file > tmp$$
82741 mv tmp$$ $ac_file
82742 rm vpsed$$
82743 echo 'MULTISUBDIR =' >> $ac_file
82744 ml_norecursion=yes
82745 . ${multi_basedir}/config-ml.in
82746 { ml_norecursion=; unset ml_norecursion;}
82747 ;;
82748 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82749
82750 esac
82751 done # for ac_tag
82752
82753
82754 as_fn_exit 0
82755 _ACEOF
82756 ac_clean_files=$ac_clean_files_save
82757
82758 test $ac_write_fail = 0 ||
82759 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82760
82761
82762 # configure is writing to config.log, and then calls config.status.
82763 # config.status does its own redirection, appending to config.log.
82764 # Unfortunately, on DOS this fails, as config.log is still kept open
82765 # by configure, so config.status won't be able to write to it; its
82766 # output is simply discarded. So we exec the FD to /dev/null,
82767 # effectively closing config.log, so it can be properly (re)opened and
82768 # appended to by config.status. When coming back to configure, we
82769 # need to make the FD available again.
82770 if test "$no_create" != yes; then
82771 ac_cs_success=:
82772 ac_config_status_args=
82773 test "$silent" = yes &&
82774 ac_config_status_args="$ac_config_status_args --quiet"
82775 exec 5>/dev/null
82776 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82777 exec 5>>config.log
82778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82779 # would make configure fail if this is the last instruction.
82780 $ac_cs_success || as_fn_exit $?
82781 fi
82782 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82784 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82785 fi
82786