Port libvtv to Solaris
[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 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
744 NM
745 ac_ct_DUMPBIN
746 DUMPBIN
747 LD
748 FGREP
749 SED
750 LIBTOOL
751 EGREP
752 GREP
753 CPP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
758 AR
759 AS
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
767 CXX
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
774 CC
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
780 AWK
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
897 '
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
901 CC
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
906 CXX
907 CXXFLAGS
908 CCC
909 CPP
910 CXXCPP
911 CXXFILT'
912
913
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
935
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
961
962 ac_prev=
963 ac_dashdash=
964 for ac_option
965 do
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
971 fi
972
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
977
978 # Accept the important Cygnus configure options, so we can diagnose typos.
979
980 case $ac_dashdash$ac_option in
981 --)
982 ac_dashdash=yes ;;
983
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
988
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
993
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1000
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1003
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1008
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1015
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1031
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1036
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1041
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1050 *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1057
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1066
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1070
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1077
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1082
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1088
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1095
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1100
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1105
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1112
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1117
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1124
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1129
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1133
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1137
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1141
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1150
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1155
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1162
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1169
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1186
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1191
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1196
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1200
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1206
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1217
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1222
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1227
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1234
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1239
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1242
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1245
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1261
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1270 *"
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1277
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1281
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1288
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1295
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1298 ;;
1299
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1309
1310 *)
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 ;;
1317
1318 esac
1319 done
1320
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1324 fi
1325
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1332 fi
1333
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1339 do
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1354
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1361
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1370 fi
1371 fi
1372
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1375
1376 test "$silent" = yes && exec 6>/dev/null
1377
1378
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1385
1386
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1403 q
1404 }
1405 /^X\(\/\/\)$/{
1406 s//\1/
1407 q
1408 }
1409 /^X\(\/\).*/{
1410 s//\1/
1411 q
1412 }
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1417 fi
1418 else
1419 ac_srcdir_defaulted=no
1420 fi
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1424 fi
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1432 fi
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1445
1446 #
1447 # Report the --help message.
1448 #
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1454
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1456
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1459
1460 Defaults for the options are specified in brackets.
1461
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1478
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1483
1484 For better control, use the options below.
1485
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1507
1508 cat <<\_ACEOF
1509
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1514
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1520 fi
1521
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1527
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1595
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1616
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1631
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1634
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1638 fi
1639
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1647
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 *)
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1663
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1693 fi
1694
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1700
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1706 fi
1707
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1711
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_c_try_compile
1749
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_cxx_try_compile
1787
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818 ac_retval=1
1819 fi
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1822
1823 } # ac_fn_c_try_cpp
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1845 fi
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859 ac_retval=1
1860 fi
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 $4
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1892 fi
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 fi
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899
1900 } # ac_fn_c_check_header_compile
1901
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1907 {
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1935
1936 ac_retval=$ac_status
1937 fi
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1941
1942 } # ac_fn_c_try_run
1943
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1948 {
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 fi
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1963
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1968
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1974
1975 #undef $2
1976
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1990
1991 int
1992 main ()
1993 {
1994 return $2 ();
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2006 fi
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012 } # ac_fn_c_check_func
2013
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2043
2044 ac_retval=1
2045 fi
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2048
2049 } # ac_fn_cxx_try_cpp
2050
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2055 {
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2071 fi
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 ac_retval=1
2086 fi
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2094
2095 } # ac_fn_cxx_try_link
2096
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2103 {
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2110 fi
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 $4
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2127 fi
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2131
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2143 fi
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2147
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 ;;
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 ;;
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2175 fi
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 fi
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
2182 } # ac_fn_c_check_header_mongrel
2183
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2190 {
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2197 fi
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2207 $4
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2218
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2230 fi
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2234
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 ;;
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 ;;
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2262 fi
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 fi
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268
2269 } # ac_fn_cxx_check_header_mongrel
2270
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2277 {
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2283 $4
2284 int
2285 main ()
2286 {
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2289
2290 ;
2291 return 0;
2292 }
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2305
2306 ;
2307 return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2317 fi
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 fi
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325 $4
2326 int
2327 main ()
2328 {
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2331
2332 ;
2333 return 0;
2334 }
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2341 $4
2342 int
2343 main ()
2344 {
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2347
2348 ;
2349 return 0;
2350 }
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2359 fi
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 fi
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2366 fi
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2375 $4
2376 int
2377 main ()
2378 {
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 fi
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2405 int
2406 main ()
2407 {
2408
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2413 {
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2418 }
2419 else
2420 {
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2425 }
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2429
2430 ;
2431 return 0;
2432 }
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2438 fi
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2442
2443 fi
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2446
2447 } # ac_fn_c_compute_int
2448
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2454 {
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 $4
2465 int
2466 main ()
2467 {
2468 if (sizeof ($2))
2469 return 0;
2470 ;
2471 return 0;
2472 }
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof (($2)))
2482 return 0;
2483 ;
2484 return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488
2489 else
2490 eval "$3=yes"
2491 fi
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 fi
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500
2501 } # ac_fn_c_check_type
2502
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2508 {
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2518 $4
2519 int
2520 main ()
2521 {
2522 if (sizeof ($2))
2523 return 0;
2524 ;
2525 return 0;
2526 }
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof (($2)))
2536 return 0;
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542
2543 else
2544 eval "$3=yes"
2545 fi
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2559
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2562
2563 $ $0 $@
2564
2565 _ACEOF
2566 exec 5>>config.log
2567 {
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2572
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2578
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2581
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589
2590 _ASUNAME
2591
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2600
2601 } >&5
2602
2603 cat >&5 <<_ACEOF
2604
2605
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2609
2610 _ACEOF
2611
2612
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2623 do
2624 for ac_arg
2625 do
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2636 2)
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2649 ;;
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2652 fi
2653 as_fn_append ac_configure_args " '$ac_arg'"
2654 ;;
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2660
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2668 {
2669 echo
2670
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2678 (
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2701 *)
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 ;;
2704 esac |
2705 sort
2706 )
2707 echo
2708
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2716 do
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2724
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2733 do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2741 fi
2742
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2752 fi
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2760 ' 0
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2765
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2768
2769 $as_echo "/* confdefs.h */" > confdefs.h
2770
2771 # Predefined preprocessor variables.
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2776
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2784
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2788
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2792
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2796
2797
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2810 fi
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2812 do
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2819 fi
2820 done
2821
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2832 fi
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2837 fi
2838
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2857 *)
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2887 fi
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 fi
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2899
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
2906
2907
2908
2909
2910
2911 ac_config_headers="$ac_config_headers config.h"
2912
2913
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2919
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2931 fi
2932
2933
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2937
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2943 fi
2944 else
2945 multi_basedir="$srcdir/.."
2946 fi
2947
2948
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2954 fi
2955
2956 ac_config_commands="$ac_config_commands default-1"
2957
2958
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2960 #
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2967 #
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2970 #
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2980 fi
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2985 fi
2986
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2994
2995
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2999
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3012
3013 fi
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3032
3033
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3044 fi
3045
3046 fi
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3065
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3077 fi
3078
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3098
3099
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3106
3107 target_alias=${target_alias-$host_alias}
3108
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3111
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3126 fi
3127 ;;
3128
3129 *)
3130
3131 ;;
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3135 fi
3136
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3150
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3182 *)
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3192 :
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3196 :
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3209 fi
3210 fi
3211 fi
3212 done
3213 done
3214 ;;
3215 esac
3216
3217 done
3218 IFS=$as_save_IFS
3219
3220 rm -rf conftest.one conftest.two conftest.dir
3221
3222 fi
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3231 fi
3232 fi
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3235
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3239
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3241
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3243
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3252 '
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3261
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3272 fi
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3276
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3283 fi
3284
3285 test "$2" = conftest.file
3286 )
3287 then
3288 # Ok.
3289 :
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3305
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3308
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3313 *)
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3316 fi
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3324 fi
3325
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3330 *)
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3333 fi
3334
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3361 fi
3362 done
3363 done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377
3378 fi
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3427 fi
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3430 fi
3431
3432 fi
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3434
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3443 do
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3460
3461 fi
3462
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3472 fi
3473 fi
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3476
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3482
3483 for ac_prog in gawk mawk nawk awk
3484 do
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3497 do
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3505 fi
3506 done
3507 done
3508 IFS=$as_save_IFS
3509
3510 fi
3511 fi
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 fi
3520
3521
3522 test -n "$AWK" && break
3523 done
3524
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 *)
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3545 fi
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3554 fi
3555
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3562 fi
3563 rmdir .tst 2>/dev/null
3564
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3572 fi
3573 fi
3574
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3581 fi
3582 fi
3583
3584
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3588
3589
3590 # Some tools Automake needs.
3591
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3593
3594
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3596
3597
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3599
3600
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3602
3603
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3605
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3611
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3613
3614
3615
3616
3617
3618
3619
3620
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3623
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3652 fi
3653 done
3654 done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669 fi
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3684 do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3692 fi
3693 done
3694 done
3695 IFS=$as_save_IFS
3696
3697 fi
3698 fi
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 fi
3707
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3718 fi
3719 else
3720 CC="$ac_cv_prog_CC"
3721 fi
3722
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3745 fi
3746 done
3747 done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 fi
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3786 fi
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3790 fi
3791 done
3792 done
3793 IFS=$as_save_IFS
3794
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 fi
3806 fi
3807 fi
3808 fi
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3816 fi
3817
3818
3819 fi
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3823 do
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3844 fi
3845 done
3846 done
3847 IFS=$as_save_IFS
3848
3849 fi
3850 fi
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 fi
3859
3860
3861 test -n "$CC" && break
3862 done
3863 fi
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3867 do
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3880 do
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3888 fi
3889 done
3890 done
3891 IFS=$as_save_IFS
3892
3893 fi
3894 fi
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3902 fi
3903
3904
3905 test -n "$ac_ct_CC" && break
3906 done
3907
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3918 fi
3919 fi
3920
3921 fi
3922
3923
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3928
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3949 fi
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3953
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3956
3957 int
3958 main ()
3959 {
3960
3961 ;
3962 return 0;
3963 }
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3974 fi
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main ()
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4001
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4004
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4007 do
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4014
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4032 do
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4036 ;;
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 fi
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4052 * )
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4057
4058 else
4059 ac_file=''
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4066
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4072 fi
4073 ac_exeext=$ac_cv_exeext
4074
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4102 fi
4103 fi
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4107
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4116
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
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_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4148 fi
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4152
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4201 fi
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4222
4223 ;
4224 return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4242 fi
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4315 fi
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4342 {
4343 return p[i];
4344 }
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4346 {
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4353 }
4354
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4375 int
4376 main ()
4377 {
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 ;
4380 return 0;
4381 }
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 do
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4395
4396 fi
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4399 x)
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4405 *)
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4411
4412 fi
4413
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 do
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4452 fi
4453 done
4454 done
4455 IFS=$as_save_IFS
4456
4457 fi
4458 fi
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 fi
4467
4468
4469 test -n "$CXX" && break
4470 done
4471 fi
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 do
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4488 do
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4496 fi
4497 done
4498 done
4499 IFS=$as_save_IFS
4500
4501 fi
4502 fi
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4510 fi
4511
4512
4513 test -n "$ac_ct_CXX" && break
4514 done
4515
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4526 fi
4527 fi
4528
4529 fi
4530 fi
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 fi
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4555
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563
4564 int
4565 main ()
4566 {
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4570
4571 ;
4572 return 0;
4573 }
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4582
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4590 fi
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4604
4605 int
4606 main ()
4607 {
4608
4609 ;
4610 return 0;
4611 }
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619
4620 int
4621 main ()
4622 {
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4629
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635
4636 int
4637 main ()
4638 {
4639
4640 ;
4641 return 0;
4642 }
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4646 fi
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4663 fi
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4669 fi
4670 fi
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676
4677 CXXFLAGS="$save_CXXFLAGS"
4678
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4681
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4692 fi
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 do
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4702 do
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4719
4720 else
4721 # Broken: fails on valid input.
4722 continue
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4739 fi
4740 rm -f conftest.err conftest.$ac_ext
4741
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4747 fi
4748
4749 done
4750 ac_cv_prog_CPP=$CPP
4751
4752 fi
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4761 do
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778
4779 else
4780 # Broken: fails on valid input.
4781 continue
4782 fi
4783 rm -f conftest.err conftest.$ac_ext
4784
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4798 fi
4799 rm -f conftest.err conftest.$ac_ext
4800
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4805
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4811 fi
4812
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 do
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4842 *)
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4846 do
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4858 fi
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4864
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 fi
4873 else
4874 ac_cv_path_GREP=$GREP
4875 fi
4876
4877 fi
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4908 *)
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4912 do
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4924 fi
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4930
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4938 fi
4939 else
4940 ac_cv_path_EGREP=$EGREP
4941 fi
4942
4943 fi
4944 fi
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4948
4949
4950
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4954
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4956
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4967
4968
4969
4970
4971
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4974
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4978 fi
4979
4980
4981
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4985 fi
4986
4987
4988
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4992 fi
4993
4994
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 #LN_S='cp -p'
5009
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048 fi
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5071 fi
5072 done
5073 done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5097 fi
5098 else
5099 AS="$ac_cv_prog_AS"
5100 fi
5101
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124 done
5125 done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140 fi
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5155 do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164 done
5165 done
5166 IFS=$as_save_IFS
5167
5168 fi
5169 fi
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5189 fi
5190 else
5191 AR="$ac_cv_prog_AR"
5192 fi
5193
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5207 do
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5215 fi
5216 done
5217 done
5218 IFS=$as_save_IFS
5219
5220 fi
5221 fi
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 fi
5230
5231
5232 fi
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5247 do
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5255 fi
5256 done
5257 done
5258 IFS=$as_save_IFS
5259
5260 fi
5261 fi
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5269 fi
5270
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5281 fi
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5284 fi
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5295 fi
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5305 fi
5306
5307 MAINT=$MAINTAINER_MODE_TRUE
5308
5309
5310
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5315
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5320
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5325
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5332 fi
5333 rm -f conftest*
5334
5335
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5343
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5350 fi
5351 rm -f conftest*
5352
5353
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5356
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5362
5363
5364
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5368
5369
5370
5371 fi
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5377
5378
5379
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395 ltmain="$ac_aux_dir/ltmain.sh"
5396
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5400
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5403
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5407
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5410
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5413
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5429 {
5430 eval 'cat <<_LTECHO_EOF
5431 $1
5432 _LTECHO_EOF'
5433 }
5434 ECHO='func_fallback_echo'
5435 fi
5436
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5440 {
5441 $ECHO ""
5442 }
5443
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5494 *)
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5498 do
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5510 fi
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5516
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5524 fi
5525 else
5526 ac_cv_path_SED=$SED
5527 fi
5528
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5534
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5561 do
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5573 *)
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5577 do
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5589 fi
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5595
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 fi
5604 else
5605 ac_cv_path_FGREP=$FGREP
5606 fi
5607
5608 fi
5609 fi
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5613
5614
5615 test -z "$GREP" && GREP=grep
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5640 fi
5641
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 *)
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5664 ;;
5665 "")
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5668 ;;
5669 *)
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5672 ;;
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 fi
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5697 ;;
5698 *)
5699 test "$with_gnu_ld" != yes && break
5700 ;;
5701 esac
5702 fi
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5707 fi
5708 fi
5709
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5717 fi
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5728 ;;
5729 *)
5730 lt_cv_prog_gnu_ld=no
5731 ;;
5732 esac
5733 fi
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5758 fi
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5774 ;;
5775 *)
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5780 ;;
5781 *)
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5784 ;;
5785 esac
5786 ;;
5787 esac
5788 fi
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5793 fi
5794 fi
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5806 do
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 test -n "$DUMPBIN" && break
5845 done
5846 fi
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5850 do
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5871 fi
5872 done
5873 done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5890
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5901 fi
5902 fi
5903
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5907 ;;
5908 *)
5909 DUMPBIN=:
5910 ;;
5911 esac
5912 fi
5913
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5916 fi
5917 fi
5918 test -z "$NM" && NM=nm
5919
5920
5921
5922
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5942 fi
5943 rm -f conftest*
5944 fi
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5947
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 i=0
5955 teststring="ABCD"
5956
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5964 ;;
5965
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5971 ;;
5972
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5982 ;;
5983
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5987 ;;
5988
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5993 ;;
5994
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 fi
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6007 ;;
6008
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6012 ;;
6013
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6020 #
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6025 fi
6026 ;;
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6029 ;;
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6036 fi
6037 ;;
6038 *)
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6056 do
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 fi
6068 ;;
6069 esac
6070
6071 fi
6072
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6079 fi
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6081
6082
6083
6084
6085
6086
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6103
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6113
6114
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6119 fi
6120
6121
6122
6123
6124
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6131 ;;
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6135 ;;
6136 esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6152 fi
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6167 fi
6168 ;;
6169 esac
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6192 do
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6200 fi
6201 done
6202 done
6203 IFS=$as_save_IFS
6204
6205 fi
6206 fi
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6214 fi
6215
6216
6217 fi
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243 IFS=$as_save_IFS
6244
6245 fi
6246 fi
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6254 fi
6255
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6266 fi
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6269 fi
6270
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6299
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6303 ;;
6304
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6313 ;;
6314
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6319 ;;
6320
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6332 fi
6333 ;;
6334
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6339 ;;
6340
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6354 ;;
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6358 fi
6359 ;;
6360
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 ;;
6376 hppa*64*)
6377 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]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6379 ;;
6380 *)
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6383 ;;
6384 esac
6385 ;;
6386
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6390 ;;
6391
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6405 ;;
6406
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6412 fi
6413 ;;
6414
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6419 ;;
6420
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6430 fi
6431 ;;
6432
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6435 ;;
6436
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6439 ;;
6440
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6443 ;;
6444
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6447 ;;
6448
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 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]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 ;;
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6457 ;;
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 ;;
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6466 ;;
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6469 ;;
6470 pc)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473 esac
6474 ;;
6475
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6478 ;;
6479 esac
6480
6481 fi
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6512 do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521 done
6522 done
6523 IFS=$as_save_IFS
6524
6525 fi
6526 fi
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6534 fi
6535
6536
6537 fi
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6552 do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561 done
6562 done
6563 IFS=$as_save_IFS
6564
6565 fi
6566 fi
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6574 fi
6575
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6586 fi
6587 else
6588 AR="$ac_cv_prog_AR"
6589 fi
6590
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6625 fi
6626 done
6627 done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6665 fi
6666 done
6667 done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6691 fi
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6694 fi
6695
6696 test -z "$STRIP" && STRIP=:
6697
6698
6699
6700
6701
6702
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6716 do
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6724 fi
6725 done
6726 done
6727 IFS=$as_save_IFS
6728
6729 fi
6730 fi
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6738 fi
6739
6740
6741 fi
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6756 do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6764 fi
6765 done
6766 done
6767 IFS=$as_save_IFS
6768
6769 fi
6770 fi
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6778 fi
6779
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6790 fi
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6793 fi
6794
6795 test -z "$RANLIB" && RANLIB=:
6796
6797
6798
6799
6800
6801
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6806
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 ;;
6812 *)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 ;;
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6817 fi
6818
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6822 *)
6823 lock_old_archive_extraction=no ;;
6824 esac
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6866
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6872
6873
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6886
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6894 ;;
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6897 ;;
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6901 fi
6902 ;;
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6905 ;;
6906 osf*)
6907 symcode='[BCDEGQRST]'
6908 ;;
6909 solaris*)
6910 symcode='[BDRT]'
6911 ;;
6912 sco3.2v5*)
6913 symcode='[DT]'
6914 ;;
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6917 ;;
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6920 ;;
6921 sysv4)
6922 symcode='[DFNSTU]'
6923 ;;
6924 esac
6925
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6931
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 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'"
6940
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 ;;
6947 esac
6948
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6951
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6974 fi
6975
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6978
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6988 }
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6992
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7010 fi
7011
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7019
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023
7024 cat <<_LT_EOF >> conftest.$ac_ext
7025
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7030 }
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 {
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7038 };
7039
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7044 }
7045 #endif
7046
7047 #ifdef __cplusplus
7048 }
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7063 fi
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7068 fi
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7071 fi
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7074 fi
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7078 fi
7079 rm -rf conftest* conftst*
7080
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7086 fi
7087 done
7088
7089 fi
7090
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7093 fi
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7100 fi
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7126 fi
7127
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7129
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7144 ;;
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7147 ;;
7148 esac
7149 fi
7150 rm -rf conftest*
7151 ;;
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7164 ;;
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7167 ;;
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7170 ;;
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7176 ;;
7177 *N32*)
7178 LD="${LD-ld} -n32"
7179 ;;
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7182 ;;
7183 esac
7184 fi
7185 fi
7186 rm -rf conftest*
7187 ;;
7188
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7203 ;;
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7208 ;;
7209 *)
7210 LD="${LD-ld} -m elf_i386"
7211 ;;
7212 esac
7213 ;;
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7216 ;;
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7219 ;;
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7222 ;;
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7225 ;;
7226 esac
7227 ;;
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7232 ;;
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7235 ;;
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7238 ;;
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7241 ;;
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7244 ;;
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7247 ;;
7248 esac
7249 ;;
7250 esac
7251 fi
7252 rm -rf conftest*
7253 ;;
7254
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7272 fi
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275
7276 int
7277 main ()
7278 {
7279
7280 ;
7281 return 0;
7282 }
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7288 fi
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296
7297 fi
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7303 fi
7304 ;;
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7317 *)
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7320 fi
7321 ;;
7322 esac
7323 ;;
7324 esac
7325 fi
7326 rm -rf conftest*
7327 ;;
7328 esac
7329
7330 need_locks="$enable_libtool_lock"
7331
7332
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7356 fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7422 fi
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7425 fi
7426
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7440 do
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7448 fi
7449 done
7450 done
7451 IFS=$as_save_IFS
7452
7453 fi
7454 fi
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7462 fi
7463
7464
7465 fi
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7488 fi
7489 done
7490 done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7514 fi
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7517 fi
7518
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7532 do
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7540 fi
7541 done
7542 done
7543 IFS=$as_save_IFS
7544
7545 fi
7546 fi
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7554 fi
7555
7556
7557 fi
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7580 fi
7581 done
7582 done
7583 IFS=$as_save_IFS
7584
7585 fi
7586 fi
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7594 fi
7595
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7606 fi
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7609 fi
7610
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7624 do
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7632 fi
7633 done
7634 done
7635 IFS=$as_save_IFS
7636
7637 fi
7638 fi
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647
7648
7649 fi
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7664 do
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7672 fi
7673 done
7674 done
7675 IFS=$as_save_IFS
7676
7677 fi
7678 fi
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7686 fi
7687
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7698 fi
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7701 fi
7702
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7716 do
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7724 fi
7725 done
7726 done
7727 IFS=$as_save_IFS
7728
7729 fi
7730 fi
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7738 fi
7739
7740
7741 fi
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7756 do
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7764 fi
7765 done
7766 done
7767 IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7778 fi
7779
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7790 fi
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7843 fi
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7846 fi
7847 fi
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7861 fi
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864
7865 int
7866 main ()
7867 {
7868
7869 ;
7870 return 0;
7871 }
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7877 fi
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7881
7882 fi
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7908 fi
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7911
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7932 ;;
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7936 fi
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 fi
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7946 fi
7947 ;;
7948 esac
7949
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7961
7962 int
7963 main ()
7964 {
7965
7966 ;
7967 return 0;
7968 }
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7974 fi
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7982
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7986
7987 else
7988 ac_cv_header_stdc=no
7989 fi
7990 rm -f conftest*
7991
7992 fi
7993
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
7999
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8003
8004 else
8005 ac_cv_header_stdc=no
8006 fi
8007 rm -f conftest*
8008
8009 fi
8010
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8014 :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8030
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8032 int
8033 main ()
8034 {
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8041 }
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8044
8045 else
8046 ac_cv_header_stdc=no
8047 fi
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8050 fi
8051
8052 fi
8053 fi
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8057
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8059
8060 fi
8061
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8068 "
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8074
8075 fi
8076
8077 done
8078
8079
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8083 "
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8088
8089 fi
8090
8091 done
8092
8093
8094
8095
8096
8097
8098 # Set options
8099
8100
8101
8102
8103 enable_win32_dll=no
8104
8105
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8112 *)
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8120 fi
8121 done
8122 IFS="$lt_save_ifs"
8123 ;;
8124 esac
8125 else
8126 enable_shared=yes
8127 fi
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8143 *)
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8151 fi
8152 done
8153 IFS="$lt_save_ifs"
8154 ;;
8155 esac
8156 else
8157 enable_static=yes
8158 fi
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8174 fi
8175
8176
8177 test -z "$pic_mode" && pic_mode=default
8178
8179
8180
8181
8182
8183
8184
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8191 *)
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8199 fi
8200 done
8201 IFS="$lt_save_ifs"
8202 ;;
8203 esac
8204 else
8205 enable_fast_install=yes
8206 fi
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8220
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249 test -z "$LN_S" && LN_S="ln -s"
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8266 fi
8267
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8280 fi
8281 rmdir .libs 2>/dev/null
8282 fi
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8286
8287
8288
8289
8290
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8294
8295
8296
8297
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8306 fi
8307 ;;
8308 esac
8309
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8313
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8317
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8319
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8322
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8329
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8339
8340
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 ;;
8355 *)
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8371 :
8372 else
8373 cat <<_LT_EOF 1>&2
8374
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8383
8384 _LT_EOF
8385 fi ;;
8386 esac
8387 fi
8388 break
8389 fi
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 ;;
8394 esac
8395 fi
8396
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8404 fi
8405
8406
8407
8408
8409
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8420 ;;
8421 *)
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8437 :
8438 else
8439 cat <<_LT_EOF 1>&2
8440
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8449
8450 _LT_EOF
8451 fi ;;
8452 esac
8453 fi
8454 break
8455 fi
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8459 ;;
8460 esac
8461 fi
8462
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8470 fi
8471
8472
8473 else
8474 MAGIC_CMD=:
8475 fi
8476 fi
8477
8478 fi
8479 ;;
8480 esac
8481
8482 # Use C for the default configuration in the libtool script
8483
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490
8491
8492 # Source file extension for C test sources.
8493 ac_ext=c
8494
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8498
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8501
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8504
8505
8506
8507
8508
8509
8510
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8513
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8516
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8519
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8523
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8530
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8536
8537
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8543
8544 lt_prog_compiler_no_builtin_flag=
8545
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8550 *)
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8584 fi
8585 fi
8586 $RM conftest*
8587
8588 fi
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8591
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8595 :
8596 fi
8597
8598 fi
8599
8600
8601
8602
8603
8604
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8608
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8615
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8622 fi
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8631 ;;
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8637 ;;
8638 esac
8639 ;;
8640
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8643 ;;
8644
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 ;;
8652
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8657 ;;
8658
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8663 ;;
8664
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8672 ;;
8673 *)
8674 lt_prog_compiler_pic='-fPIC'
8675 ;;
8676 esac
8677 ;;
8678
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8682 ;;
8683
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8689 ;;
8690
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8695 ;;
8696
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8700 fi
8701 ;;
8702
8703 *)
8704 lt_prog_compiler_pic='-fPIC'
8705 ;;
8706 esac
8707
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8712 ;;
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8724 fi
8725 ;;
8726
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8731 ;;
8732
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8740 ;;
8741 *)
8742 lt_prog_compiler_pic='+Z'
8743 ;;
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8747 ;;
8748
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8753 ;;
8754
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8762 ;;
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8769 ;;
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8775 ;;
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8782 ;;
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8787 ;;
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8793 ;;
8794 *)
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8801 ;;
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8807 ;;
8808 esac
8809 ;;
8810 esac
8811 ;;
8812
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8816 ;;
8817
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8822 ;;
8823
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8828 ;;
8829
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8832 ;;
8833
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8840 *)
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8843 ;;
8844
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 ;;
8850
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8855 ;;
8856
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8861 fi
8862 ;;
8863
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8873 ;;
8874
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8878 ;;
8879
8880 *)
8881 lt_prog_compiler_can_build_shared=no
8882 ;;
8883 esac
8884 fi
8885
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8890 ;;
8891 *)
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8893 ;;
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8897
8898
8899
8900
8901
8902
8903 #
8904 # Check to make sure the PIC flag actually works.
8905 #
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8937 fi
8938 fi
8939 $RM conftest*
8940
8941 fi
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8953 fi
8954
8955 fi
8956
8957
8958
8959
8960
8961
8962 #
8963 # Check to make sure the static flag actually works.
8964 #
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8985 fi
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8988 fi
8989 fi
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8992
8993 fi
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8996
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8998 :
8999 else
9000 lt_prog_compiler_static=
9001 fi
9002
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
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9098 fi
9099 fi
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9109
9110 fi
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113
9114
9115
9116
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9134 fi
9135 else
9136 need_locks=no
9137 fi
9138
9139
9140
9141
9142
9143
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9187
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9195 fi
9196 ;;
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9200 ;;
9201 openbsd*)
9202 with_gnu_ld=no
9203 ;;
9204 esac
9205
9206 ld_shlibs=yes
9207
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9222 *)
9223 lt_use_gnu_ld_interface=yes
9224 ;;
9225 esac
9226 ;;
9227 *)
9228 lt_use_gnu_ld_interface=yes
9229 ;;
9230 esac
9231 fi
9232
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9236
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9248 fi
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9258
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9266
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9273
9274 _LT_EOF
9275 fi
9276 ;;
9277
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9284 ;;
9285 m68k)
9286 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)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9289 ;;
9290 esac
9291 ;;
9292
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9301 fi
9302 ;;
9303
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9313
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9323 fi~
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9327 fi
9328 ;;
9329
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9333 ;;
9334
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 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'
9348 ;;
9349
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9356 fi
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 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'
9365 tmp_addflag=' $pic_flag'
9366 ;;
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 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'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 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'
9385 compiler_needs_object=yes
9386 ;;
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 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'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9403 fi
9404
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9417 fi
9418 ;;
9419 esac
9420 else
9421 ld_shlibs=no
9422 fi
9423 ;;
9424
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432 fi
9433 ;;
9434
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9439
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9446
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9453 fi
9454 ;;
9455
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9461
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9468
9469 _LT_EOF
9470 ;;
9471 *)
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9482 fi
9483 ;;
9484 esac
9485 ;;
9486
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9492 ;;
9493
9494 *)
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9500 fi
9501 ;;
9502 esac
9503
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9509 fi
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 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'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9524 fi
9525 ;;
9526
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 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'
9541 else
9542 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'
9543 fi
9544 aix_use_runtimelinking=no
9545
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9554 fi
9555 done
9556 ;;
9557 esac
9558
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9561 fi
9562
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9568
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9575
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9585 :
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9595 fi
9596 ;;
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9601 fi
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9613 fi
9614 fi
9615 fi
9616
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9629 fi
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632
9633 int
9634 main ()
9635 {
9636
9637 ;
9638 return 0;
9639 }
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9647 p
9648 }
9649 }'
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 fi
9655 fi
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 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"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 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"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9672 fi
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675
9676 int
9677 main ()
9678 {
9679
9680 ;
9681 return 0;
9682 }
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9690 p
9691 }
9692 }'
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 fi
9698 fi
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9702
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9714 fi
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 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'
9718 fi
9719 fi
9720 ;;
9721
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9728 ;;
9729 m68k)
9730 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)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9733 ;;
9734 esac
9735 ;;
9736
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9739 ;;
9740
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9760 ;;
9761
9762 darwin* | rhapsody*)
9763
9764
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 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\"`'
9771 else
9772 whole_archive_flag_spec=''
9773 fi
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9786
9787 else
9788 ld_shlibs=no
9789 fi
9790
9791 ;;
9792
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9797 ;;
9798
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9808 ;;
9809
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9816 ;;
9817
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9824 ;;
9825
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 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'
9829 else
9830 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'
9831 fi
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9835
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9840 ;;
9841
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 fi
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9858 fi
9859 ;;
9860
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 ;;
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9869 ;;
9870 *)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9872 ;;
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ;;
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 ;;
9882 *)
9883
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9905 fi
9906 else
9907 lt_cv_prog_compiler__b=yes
9908 fi
9909 fi
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9912
9913 fi
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9921 fi
9922
9923 ;;
9924 esac
9925 fi
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9934 ;;
9935 *)
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9939
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9943 ;;
9944 esac
9945 fi
9946 ;;
9947
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 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'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 fi
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 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'
9965
9966 fi
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 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'
9972 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'
9973 fi
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9979 ;;
9980
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9986 fi
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9990 ;;
9991
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
9998 ;;
9999
10000 *nto* | *qnx*)
10001 ;;
10002
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 ;;
10019 *)
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 ;;
10023 esac
10024 fi
10025 else
10026 ld_shlibs=no
10027 fi
10028 ;;
10029
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 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'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10036 ;;
10037
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 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'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 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'
10045 fi
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 ;;
10050
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10059 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~
10060 $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'
10061
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10064 fi
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10067 ;;
10068
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10083 ;;
10084 *)
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 ;;
10090 esac
10091 fi
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10096 *)
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10105 fi
10106 ;;
10107 esac
10108 link_all_deplibs=yes
10109 ;;
10110
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10118 fi
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10123 ;;
10124
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10130 ;;
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10137 ;;
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10141 ;;
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10151 ;;
10152
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10160 fi
10161 ;;
10162
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10168
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 fi
10176 ;;
10177
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10194
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 fi
10202 ;;
10203
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10208 ;;
10209
10210 *)
10211 ld_shlibs=no
10212 ;;
10213 esac
10214
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 ;;
10220 esac
10221 fi
10222 fi
10223
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10227
10228 with_gnu_ld=$with_gnu_ld
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244 #
10245 # Do we need to explicitly link libc?
10246 #
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10251
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10256 ;;
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10296 fi
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10300 fi
10301 $RM conftest*
10302
10303 fi
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10307 ;;
10308 esac
10309 fi
10310 ;;
10311 esac
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
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10489 ;;
10490 *)
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10492 ;;
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10504 fi
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10519 }
10520 }
10521 }
10522 }
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10525 }'`
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10535 fi
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10551
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10555
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10561
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 ;;
10565
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10586 :
10587 else
10588 can_build_shared=no
10589 fi
10590 ;;
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 fi
10606 shlibpath_var=LIBPATH
10607 fi
10608 ;;
10609
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 ;;
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 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'
10621 ;;
10622 esac
10623 ;;
10624
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10629 ;;
10630
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10643 ;;
10644
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10650
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10663 fi'
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10668
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10675 ;;
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 ;;
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 ;;
10684 esac
10685 ;;
10686
10687 *)
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10689 ;;
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10694 ;;
10695
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10706
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10709 ;;
10710
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 ;;
10719
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10730 fi
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10737 ;;
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10741 ;;
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10747 ;;
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 ;;
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10756 ;;
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10760 ;;
10761 esac
10762 ;;
10763
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10772 ;;
10773
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10806 fi
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 ;;
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10819 ;;
10820 *)
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 ;;
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10833 ;;
10834
10835 interix[3-9]*)
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 ;;
10846
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10850 *)
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10864 ;;
10865 *)
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10875 ;;
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10882 ;;
10883
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10887 ;;
10888
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10911 fi
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914
10915 int
10916 main ()
10917 {
10918
10919 ;
10920 return 0;
10921 }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10926 fi
10927 fi
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10932
10933 fi
10934
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10941
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 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' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10946 fi
10947
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10955 ;;
10956
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10969 fi
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 ;;
10974
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10980 ;;
10981
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10992 ;;
10993
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11010 ;;
11011 *)
11012 shlibpath_overrides_runpath=yes
11013 ;;
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11017 fi
11018 ;;
11019
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11027 ;;
11028
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11038 ;;
11039
11040 rdos*)
11041 dynamic_linker=no
11042 ;;
11043
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11055 ;;
11056
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11065 fi
11066 need_version=yes
11067 ;;
11068
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11079 ;;
11080 siemens)
11081 need_lib_prefix=no
11082 ;;
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11088 ;;
11089 esac
11090 ;;
11091
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 fi
11099 ;;
11100
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11117 ;;
11118 esac
11119 fi
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11121 ;;
11122
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11132 ;;
11133
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11139 ;;
11140
11141 *)
11142 dynamic_linker=no
11143 ;;
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11148
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11152 fi
11153
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11156 fi
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11159 fi
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
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11258
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11271 fi
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11279
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11288 fi
11289
11290
11291
11292
11293
11294
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11302
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11308 ;;
11309
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11313 ;;
11314
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11318 ;;
11319
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 fi
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11342 int
11343 main ()
11344 {
11345 return dlopen ();
11346 ;
11347 return 0;
11348 }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11354 fi
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11358 fi
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11368
11369 fi
11370
11371 ;;
11372
11373 *)
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11387 fi
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11398 int
11399 main ()
11400 {
11401 return shl_load ();
11402 ;
11403 return 0;
11404 }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11410 fi
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11414 fi
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11433 fi
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11444 int
11445 main ()
11446 {
11447 return dlopen ();
11448 ;
11449 return 0;
11450 }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11456 fi
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11460 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11475 fi
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11486 int
11487 main ()
11488 {
11489 return dlopen ();
11490 ;
11491 return 0;
11492 }
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11502 fi
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11517 fi
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11528 int
11529 main ()
11530 {
11531 return dld_link ();
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11540 fi
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11549 fi
11550
11551
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566 ;;
11567 esac
11568
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11573 fi
11574
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11689
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11705
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11709
11710 #include <stdio.h>
11711
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11721
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11743
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11749
11750 void fnord () { int i=42; }
11751 int main ()
11752 {
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11755
11756 if (self)
11757 {
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11760 {
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11763 }
11764 /* dlclose (self); */
11765 }
11766 else
11767 puts (dlerror ());
11768
11769 return status;
11770 }
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11787 fi
11788 fi
11789 rm -fr conftest*
11790
11791
11792 fi
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11795 fi
11796
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11800 ;;
11801 esac
11802
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11807
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11812 fi
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11851 fi
11852 ;;
11853 *)
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11856 ;;
11857 esac
11858 fi
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11880
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11889 fi
11890 ;;
11891
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11895 fi
11896 ;;
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11900
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11907
11908
11909
11910
11911 fi
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917
11918 CC="$lt_save_CC"
11919
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11936 do
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11956
11957 else
11958 # Broken: fails on valid input.
11959 continue
11960 fi
11961 rm -f conftest.err conftest.$ac_ext
11962
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11976 fi
11977 rm -f conftest.err conftest.$ac_ext
11978
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11984 fi
11985
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11988
11989 fi
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11993 fi
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11998 do
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12015
12016 else
12017 # Broken: fails on valid input.
12018 continue
12019 fi
12020 rm -f conftest.err conftest.$ac_ext
12021
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12035 fi
12036 rm -f conftest.err conftest.$ac_ext
12037
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12042
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12048 fi
12049
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12055
12056 else
12057 _lt_caught_CXX_error=yes
12058 fi
12059
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12065
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12090
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12093
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12097
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12105
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12108
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12110
12111
12112
12113
12114
12115
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12118
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12121
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12124
12125
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12132
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12138
12139
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12151 fi
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12156 fi
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12170
12171
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12179 fi
12180
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12183
12184
12185
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12191 fi
12192
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12202 *)
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12215 ;;
12216 "")
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12219 ;;
12220 *)
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12223 ;;
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12231 fi
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12248 ;;
12249 *)
12250 test "$with_gnu_ld" != yes && break
12251 ;;
12252 esac
12253 fi
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12258 fi
12259 fi
12260
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12268 fi
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12279 ;;
12280 *)
12281 lt_cv_prog_gnu_ld=no
12282 ;;
12283 esac
12284 fi
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12288
12289
12290
12291
12292
12293
12294
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 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'
12300
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12303
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12308
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12315 fi
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12319
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12326 fi
12327
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12332
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12337 fi
12338
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12347 ;;
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12357
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12367 ;;
12368 esac
12369 done
12370 ;;
12371 esac
12372
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12375 fi
12376
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12382
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12389
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12399 :
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12409 fi
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12414 fi
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12426 fi
12427 fi
12428 fi
12429
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12443 fi
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446
12447 int
12448 main ()
12449 {
12450
12451 ;
12452 return 0;
12453 }
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12456
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12461 p
12462 }
12463 }'
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 fi
12469 fi
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12473
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475
12476 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"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 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"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12487 fi
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12500
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12505 p
12506 }
12507 }'
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 fi
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12517
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12529 fi
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 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'
12534 fi
12535 fi
12536 ;;
12537
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12546 fi
12547 ;;
12548
12549 chorus*)
12550 case $cc_basename in
12551 *)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12554 ;;
12555 esac
12556 ;;
12557
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12566
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 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'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12576 fi~
12577 $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'
12578 else
12579 ld_shlibs_CXX=no
12580 fi
12581 ;;
12582 darwin* | rhapsody*)
12583
12584
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 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\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12593 fi
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 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}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 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}"
12605 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}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 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}"
12608 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}"
12609 fi
12610
12611 else
12612 ld_shlibs_CXX=no
12613 fi
12614
12615 ;;
12616
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12622 ;;
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12627 ;;
12628 *)
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12631 ;;
12632 esac
12633 ;;
12634
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12639 ;;
12640
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12643 ;;
12644
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12649 ;;
12650
12651 gnu*)
12652 ;;
12653
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12657 ;;
12658
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12667
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12672 ;;
12673 aCC*)
12674 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'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12678 #
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 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"'
12684 ;;
12685 *)
12686 if test "$GXX" = yes; then
12687 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'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12691 fi
12692 ;;
12693 esac
12694 ;;
12695
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12700
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12703 ;;
12704 *)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12706 ;;
12707 esac
12708 fi
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 ;;
12714 *)
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12720 ;;
12721 esac
12722
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12727 ;;
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 ;;
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ;;
12736 *)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 ;;
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12743 #
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 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"'
12749 ;;
12750 *)
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ;;
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ;;
12760 *)
12761 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'
12762 ;;
12763 esac
12764 fi
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12768 fi
12769 ;;
12770 esac
12771 ;;
12772
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 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'
12785 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'
12786 ;;
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 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'
12792
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 ;;
12799 *)
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 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'
12803 else
12804 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'
12805 fi
12806 fi
12807 link_all_deplibs_CXX=yes
12808 ;;
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12813 ;;
12814
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12819
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 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'
12824 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'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12828 #
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 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"'
12834
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12837
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12841 ;;
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 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'
12852 ;;
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 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'
12860 ;;
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 ;;
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $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'
12888 ;;
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12892 ;;
12893 esac
12894
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 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'
12898 ;;
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 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'
12903
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12907
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12911 #
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 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'
12917 ;;
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12928 fi
12929 ;;
12930 *)
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 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'
12939 compiler_needs_object_CXX=yes
12940
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12945
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12951 ;;
12952 esac
12953 ;;
12954 esac
12955 ;;
12956
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12960 ;;
12961
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12965 ;;
12966
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12972 ;;
12973 *)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12976 ;;
12977 esac
12978 ;;
12979
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12987 fi
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12990 ;;
12991
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12994 ;;
12995
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13012 fi
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13023
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 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'
13028
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13031
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13038 ;;
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13043 ;;
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 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'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 ;;
13051 *)
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 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'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $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~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13059 ;;
13060 esac
13061
13062 hardcode_libdir_separator_CXX=:
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 #
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 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"'
13073 ;;
13074 *)
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 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'
13080 ;;
13081 *)
13082 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'
13083 ;;
13084 esac
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13088
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13097 fi
13098 ;;
13099 esac
13100 ;;
13101
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13105 ;;
13106
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13113 ;;
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119 *)
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123 esac
13124 ;;
13125
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $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'
13135
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13140 *)
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 ;;
13146 esac
13147 link_all_deplibs_CXX=yes
13148
13149 output_verbose_link_cmd='func_echo_all'
13150
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 ;;
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13160
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 ;;
13164 *)
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13172
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13183
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 fi
13189
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13193 *)
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13195 ;;
13196 esac
13197 fi
13198 ;;
13199 esac
13200 ;;
13201
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13207
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 ;;
13213 *)
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 ;;
13217 esac
13218 ;;
13219
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13236
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13245 ;;
13246 *)
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 ;;
13250 esac
13251 ;;
13252
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13259 ;;
13260 *)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 esac
13265 ;;
13266
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13270 ;;
13271
13272 *)
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13275 ;;
13276 esac
13277
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13281
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13284
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13295
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13298 {
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13303 };
13304 _LT_EOF
13305
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13313
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13317
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13320
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13330 fi
13331
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13342 fi
13343 ;;
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13352 fi
13353 fi
13354 ;;
13355
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13362 fi
13363
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13369 fi
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13375 fi
13376 fi
13377 ;;
13378
13379 *) ;; # Ignore the rest.
13380
13381 esac
13382 done
13383
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13388 fi
13389
13390 $RM -f confest.$objext
13391
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13400 ;;
13401
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13406
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13414 ;;
13415 esac
13416
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13419 fi
13420 ;;
13421 esac
13422 ;;
13423
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13434 ;;
13435 esac
13436
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13442 fi
13443 ;;
13444 esac
13445 ;;
13446 esac
13447
13448
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13455 fi
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13493
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13498
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13505 fi
13506 lt_prog_compiler_pic_CXX='-fPIC'
13507 ;;
13508
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13514 ;;
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13520 ;;
13521 esac
13522 ;;
13523
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13526 ;;
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13533 ;;
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13538 ;;
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13542 ;;
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13547 ;;
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13551 ;;
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13555 fi
13556 ;;
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13563 ;;
13564 *)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13566 ;;
13567 esac
13568 ;;
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13573 ;;
13574 *)
13575 lt_prog_compiler_pic_CXX='-fPIC'
13576 ;;
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13587 fi
13588 ;;
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _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"
13594 ;;
13595 esac
13596 ;;
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 ;;
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13612 ;;
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13620 fi
13621 ;;
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13628 ;;
13629 *)
13630 lt_prog_compiler_pic_CXX='+Z'
13631 ;;
13632 esac
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13641 ;;
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13659 ;;
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13665 ;;
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13672 ;;
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 cxx*)
13680 # Compaq C++
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 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13691 ;;
13692 *)
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 ;;
13700 esac
13701 ;;
13702 esac
13703 ;;
13704 lynxos*)
13705 ;;
13706 m88k*)
13707 ;;
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13712 ;;
13713 *)
13714 ;;
13715 esac
13716 ;;
13717 netbsd*)
13718 ;;
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13723 ;;
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13728 ;;
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13732 ;;
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13740 ;;
13741 *)
13742 ;;
13743 esac
13744 ;;
13745 psos*)
13746 ;;
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13754 ;;
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13758 ;;
13759 *)
13760 ;;
13761 esac
13762 ;;
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13769 ;;
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13773 ;;
13774 *)
13775 ;;
13776 esac
13777 ;;
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13784 ;;
13785 esac
13786 ;;
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13792 ;;
13793 *)
13794 ;;
13795 esac
13796 ;;
13797 vxworks*)
13798 ;;
13799 *)
13800 lt_prog_compiler_can_build_shared_CXX=no
13801 ;;
13802 esac
13803 fi
13804
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13809 ;;
13810 *)
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13812 ;;
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13816
13817
13818
13819 #
13820 # Check to make sure the PIC flag actually works.
13821 #
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13853 fi
13854 fi
13855 $RM conftest*
13856
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13860
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13869 fi
13870
13871 fi
13872
13873
13874
13875 #
13876 # Check to make sure the static flag actually works.
13877 #
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13898 fi
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 fi
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13905
13906 fi
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13909
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13911 :
13912 else
13913 lt_prog_compiler_static_CXX=
13914 fi
13915
13916
13917
13918
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13953 fi
13954 fi
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13964
13965 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13968
13969
13970
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14005 fi
14006 fi
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14016
14017 fi
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14020
14021
14022
14023
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14041 fi
14042 else
14043 need_locks=no
14044 fi
14045
14046
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14050
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 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'
14060 else
14061 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'
14062 fi
14063 ;;
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14066 ;;
14067 cygwin* | mingw* | cegcc*)
14068 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'
14069 ;;
14070 *)
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14072 ;;
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14075
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079
14080 with_gnu_ld_CXX=$with_gnu_ld
14081
14082
14083
14084
14085
14086
14087 #
14088 # Do we need to explicitly link libc?
14089 #
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14094
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14099 ;;
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14111
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14139 fi
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14143 fi
14144 $RM conftest*
14145
14146 fi
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14150 ;;
14151 esac
14152 fi
14153 ;;
14154 esac
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14221
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14237
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14241
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14247
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 ;;
14251
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14272 :
14273 else
14274 can_build_shared=no
14275 fi
14276 ;;
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 fi
14292 shlibpath_var=LIBPATH
14293 fi
14294 ;;
14295
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 ;;
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 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'
14307 ;;
14308 esac
14309 ;;
14310
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14315 ;;
14316
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14329 ;;
14330
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14336
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14349 fi'
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14354
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14359
14360 ;;
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 ;;
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 ;;
14369 esac
14370 ;;
14371
14372 *)
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 ;;
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14379 ;;
14380
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14391
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14393 ;;
14394
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 ;;
14403
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14414 fi
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14421 ;;
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14425 ;;
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14431 ;;
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14435 ;;
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14440 ;;
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14444 ;;
14445 esac
14446 ;;
14447
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14490 fi
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 ;;
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14503 ;;
14504 *)
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 ;;
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14517 ;;
14518
14519 interix[3-9]*)
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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14529 ;;
14530
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14534 *)
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14548 ;;
14549 *)
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14559 ;;
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14571 ;;
14572
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14595 fi
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598
14599 int
14600 main ()
14601 {
14602
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14610 fi
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14616
14617 fi
14618
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14620
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14625
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 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' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14630 fi
14631
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14639 ;;
14640
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14653 fi
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 ;;
14658
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14664 ;;
14665
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14676 ;;
14677
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14694 ;;
14695 *)
14696 shlibpath_overrides_runpath=yes
14697 ;;
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14701 fi
14702 ;;
14703
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14711 ;;
14712
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14722 ;;
14723
14724 rdos*)
14725 dynamic_linker=no
14726 ;;
14727
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14739 ;;
14740
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14749 fi
14750 need_version=yes
14751 ;;
14752
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14763 ;;
14764 siemens)
14765 need_lib_prefix=no
14766 ;;
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14772 ;;
14773 esac
14774 ;;
14775
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14782 fi
14783 ;;
14784
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14801 ;;
14802 esac
14803 fi
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14805 ;;
14806
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14816 ;;
14817
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14823 ;;
14824
14825 *)
14826 dynamic_linker=no
14827 ;;
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14832
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14836 fi
14837
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14840 fi
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14843 fi
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14888
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14901 fi
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14906 fi
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14909
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14918 fi
14919
14920
14921
14922
14923
14924
14925
14926 fi # test -n "$compiler"
14927
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14938
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957 ac_config_commands="$ac_config_commands libtool"
14958
14959
14960
14961
14962 # Only expand once:
14963
14964
14965
14966
14967
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14978 fi
14979 ;;
14980 *)
14981 lt_host_flags=
14982 ;;
14983 esac
14984
14985
14986
14987
14988
14989
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14993 fi
14994
14995
14996 # libtool variables for C++ shared and position-independent compiles.
14997 #
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15001 #
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15004 #
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15012
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15017 fi
15018
15019
15020
15021
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15027
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15030
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15034
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15042 ;;
15043 *)
15044 enable_hosted_libstdcxx=yes
15045 ;;
15046 esac
15047 fi
15048
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15059 fi
15060
15061
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15065
15066
15067
15068 # Enable descriptive messages to standard output on termination.
15069
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15075 fi
15076
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15083 fi
15084
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15088
15089
15090
15091 # Enable compiler support that doesn't require linking.
15092
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15100
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15103 fi
15104
15105
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15114
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15131 fi
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139
15140
15141 fi
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15145 fi
15146
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15151
15152
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15157 fi
15158
15159
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15166
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15179
15180
15181
15182
15183
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15189
15190 old_CXXFLAGS="$CXXFLAGS"
15191
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15201 ;;
15202 esac
15203 fi
15204
15205 if test x$atomic_builtins_link_tests = xyes; then
15206
15207 # Do link tests.
15208
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15210
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15219 fi
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222
15223 int
15224 main ()
15225 {
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15235
15236 ;
15237 return 0;
15238 }
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15244 fi
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247
15248 fi
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15261 fi
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15277
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15286 fi
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289
15290 fi
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15303 fi
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306
15307 int
15308 main ()
15309 {
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15319
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15328 fi
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331
15332 fi
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15345 fi
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348
15349 int
15350 main ()
15351 {
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15361
15362 ;
15363 return 0;
15364 }
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373
15374 fi
15375
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15378
15379 else
15380
15381 # Do asm tests.
15382
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15385
15386 # Fake what AC_TRY_COMPILE does.
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15401
15402 return 0;
15403 }
15404 EOF
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15417 fi
15418 fi
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15422
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15426 {
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15436
15437 return 0;
15438 }
15439 EOF
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15452 fi
15453 fi
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15457
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15461 {
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15472
15473 return 0;
15474 }
15475 EOF
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15488 fi
15489 fi
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15493
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15497 {
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15507
15508 return 0;
15509 }
15510 EOF
15511
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15523 fi
15524 fi
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15528
15529 fi
15530
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15543
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15545
15546 atomicity_dir=cpu/generic/atomicity_builtins
15547 fi
15548
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15564 fi
15565 fi
15566
15567
15568
15569
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15572
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15576 {
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15581 }
15582 EOF
15583
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15591
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15593
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15597 fi
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15601
15602
15603
15604
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15610
15611
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15614
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15620
15621 template<typename T>
15622 struct same<T, T>;
15623
15624 int main()
15625 {
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15628 }
15629 EOF
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15638
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15640
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15644 fi
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15648
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15654
15655 template<typename T>
15656 struct same<T, T>;
15657
15658 int main()
15659 {
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15662 }
15663 EOF
15664
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15672
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15674
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15678 fi
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15682
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688
15689
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15692 fi
15693
15694 # Checks for compiler support that doesn't require linking.
15695
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15699
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15708
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15714 fi
15715
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15742 fi
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15745 fi
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15748
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756
15757
15758
15759 # Enable all the variable C++ runtime options that don't require linking.
15760
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15770
15771 else
15772 enable_cstdio=stdio
15773 fi
15774
15775
15776
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15787 ;;
15788 esac
15789
15790
15791
15792
15793
15794
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15802
15803 else
15804 enable_clocale=auto
15805 fi
15806
15807
15808
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15818 fi
15819
15820
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15824 fi
15825 enable_clocale_flag=$enable_clocale
15826
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15833 ;;
15834 darwin*)
15835 enable_clocale_flag=darwin
15836 ;;
15837 dragonfly* | freebsd*)
15838 enable_clocale_flag=dragonfly
15839 ;;
15840 openbsd*)
15841 enable_clocale_flag=newlib
15842 ;;
15843 *)
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15848 fi
15849 ;;
15850 esac
15851 fi
15852
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15862
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15869 fi
15870 rm -f conftest*
15871
15872
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15876
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15883 int
15884 main ()
15885 {
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15892
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15894
15895 fi
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15904 int
15905 main ()
15906 {
15907 __locale_t loc; strerror_l(5, loc);
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15915
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919 CFLAGS="$ac_save_CFLAGS"
15920 fi
15921
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15930 int
15931 main ()
15932 {
15933 char s[128]; strerror_r(5, s, 128);
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15939
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15941
15942 fi
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15945
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15953
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15966 ;;
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15969 $as_echo "darwin" >&6; }
15970
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15983 ;;
15984
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15987 $as_echo "dragonfly or freebsd" >&6; }
15988
15989 CLOCALE_H=config/locale/dragonfly/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15997 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
15998 CTIME_H=config/locale/dragonfly/time_members.h
15999 CTIME_CC=config/locale/dragonfly/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 ;;
16002
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16006
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16011
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16025 do
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16033 fi
16034 done
16035 done
16036 IFS=$as_save_IFS
16037
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16039 fi
16040 fi
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16048 fi
16049
16050
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16053 fi
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16059
16060
16061
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16074 ;;
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16078
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16091 ;;
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16095
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16108 ;;
16109 esac
16110
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16114
16115
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16125
16126 else
16127 USE_NLS=no
16128 fi
16129
16130 done
16131
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16148 int
16149 main ()
16150 {
16151 return gettext ();
16152 ;
16153 return 0;
16154 }
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 fi
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16165 fi
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16168 fi
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16173 fi
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16176
16177 else
16178 ac_cv_search_gettext=no
16179 fi
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16188
16189 else
16190 USE_NLS=no
16191 fi
16192
16193 fi
16194 if test $USE_NLS = yes; then
16195
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16197
16198 fi
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16224
16225 else
16226 enable_libstdcxx_allocator=auto
16227 fi
16228
16229
16230
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16238 fi
16239
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16243
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16250 ;;
16251 *)
16252 enable_libstdcxx_allocator_flag=new
16253 ;;
16254 esac
16255 fi
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16258
16259
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16265 ;;
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16269 ;;
16270 mt)
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16273 ;;
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16277 ;;
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16281 ;;
16282 esac
16283
16284
16285
16286
16287
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16295
16296 else
16297 enable_cheaders=$c_model
16298 fi
16299
16300
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16303
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16305
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16309 fi
16310
16311
16312
16313
16314
16315
16316
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16324
16325 else
16326 enable_long_long=yes
16327 fi
16328
16329
16330 if test $enable_long_long = yes; then
16331
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16333
16334 fi
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16339
16340
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16348
16349 else
16350 enable_wchar_t=yes
16351 fi
16352
16353
16354
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16366 fi
16367
16368 done
16369
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16375 int
16376 main ()
16377 {
16378 mbstate_t teststate;
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16387 fi
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16392
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16394
16395 fi
16396
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16409 fi
16410
16411 done
16412
16413
16414 if test x"$enable_wchar_t" = x"yes"; then
16415
16416
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16422
16423
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16435 {
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16488 }
16489
16490 int
16491 main ()
16492 {
16493
16494 ;
16495 return 0;
16496 }
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16499
16500 else
16501 enable_wchar_t=no
16502 fi
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16506 fi
16507
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514 fi
16515
16516 if test x"$enable_wchar_t" = x"yes"; then
16517
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16519
16520 fi
16521
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16526
16527
16528
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16536
16537 else
16538 enable_c99=yes
16539 fi
16540
16541
16542
16543 if test x"$enable_c99" = x"yes"; then
16544
16545 ac_ext=cpp
16546 ac_cpp='$CXXCPP $CPPFLAGS'
16547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16550
16551
16552 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16553 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16554 # to be spuriously enabled.
16555 ac_save_CXXFLAGS="$CXXFLAGS"
16556 CXXFLAGS="$CXXFLAGS -std=c++98"
16557 ac_save_LIBS="$LIBS"
16558 ac_save_gcc_no_link="$gcc_no_link"
16559
16560 if test x$gcc_no_link != xyes; then
16561 # Use -fno-exceptions to that the C driver can link these tests without
16562 # hitting undefined references to personality routines.
16563 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16565 $as_echo_n "checking for sin in -lm... " >&6; }
16566 if test "${ac_cv_lib_m_sin+set}" = set; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 ac_check_lib_save_LIBS=$LIBS
16570 LIBS="-lm $LIBS"
16571 if test x$gcc_no_link = xyes; then
16572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16573 fi
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16576
16577 /* Override any GCC internal prototype to avoid an error.
16578 Use char because int might match the return type of a GCC
16579 builtin and then its argument prototype would still apply. */
16580 #ifdef __cplusplus
16581 extern "C"
16582 #endif
16583 char sin ();
16584 int
16585 main ()
16586 {
16587 return sin ();
16588 ;
16589 return 0;
16590 }
16591 _ACEOF
16592 if ac_fn_cxx_try_link "$LINENO"; then :
16593 ac_cv_lib_m_sin=yes
16594 else
16595 ac_cv_lib_m_sin=no
16596 fi
16597 rm -f core conftest.err conftest.$ac_objext \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS=$ac_check_lib_save_LIBS
16600 fi
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16602 $as_echo "$ac_cv_lib_m_sin" >&6; }
16603 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16604 LIBS="$LIBS -lm"
16605 else
16606
16607 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16608 gcc_no_link=yes
16609
16610 fi
16611
16612 fi
16613
16614 # Check for the existence of <math.h> functions used if C99 is enabled.
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16616 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16617 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16618 $as_echo_n "(cached) " >&6
16619 else
16620
16621 if test x$gcc_no_link = xyes; then
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #include <math.h>
16625 volatile double d1, d2;
16626 volatile int i;
16627 int
16628 main ()
16629 {
16630 i = fpclassify(d1);
16631 i = isfinite(d1);
16632 i = isinf(d1);
16633 i = isnan(d1);
16634 i = isnormal(d1);
16635 i = signbit(d1);
16636 i = isgreater(d1, d2);
16637 i = isgreaterequal(d1, d2);
16638 i = isless(d1, d2);
16639 i = islessequal(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = islessgreater(d1, d2);
16642 i = isunordered(d1, d2);
16643
16644 ;
16645 return 0;
16646 }
16647 _ACEOF
16648 if ac_fn_cxx_try_compile "$LINENO"; then :
16649 glibcxx_cv_c99_math_cxx98=yes
16650 else
16651 glibcxx_cv_c99_math_cxx98=no
16652 fi
16653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16654 else
16655 if test x$gcc_no_link = xyes; then
16656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 fi
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_link "$LINENO"; then :
16685 glibcxx_cv_c99_math_cxx98=yes
16686 else
16687 glibcxx_cv_c99_math_cxx98=no
16688 fi
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16691 fi
16692
16693 fi
16694
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16696 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16697 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16698
16699 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16700
16701 fi
16702
16703 # Check for the existence of <complex.h> complex math functions.
16704 # This is necessary even though libstdc++ uses the builtin versions
16705 # of these functions, because if the builtin cannot be used, a reference
16706 # to the library function is emitted.
16707 for ac_header in tgmath.h
16708 do :
16709 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_TGMATH_H 1
16713 _ACEOF
16714 ac_has_tgmath_h=yes
16715 else
16716 ac_has_tgmath_h=no
16717 fi
16718
16719 done
16720
16721 for ac_header in complex.h
16722 do :
16723 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_complex_h" = x""yes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_COMPLEX_H 1
16727 _ACEOF
16728 ac_has_complex_h=yes
16729 else
16730 ac_has_complex_h=no
16731 fi
16732
16733 done
16734
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16738 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16741
16742 if test x$gcc_no_link = xyes; then
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <complex.h>
16746 typedef __complex__ float float_type;
16747 typedef __complex__ double double_type;
16748 typedef __complex__ long double ld_type;
16749 volatile float_type tmpf;
16750 volatile double_type tmpd;
16751 volatile ld_type tmpld;
16752 volatile float f;
16753 volatile double d;
16754 volatile long double ld;
16755 int
16756 main ()
16757 {
16758 f = cabsf(tmpf);
16759 f = cargf(tmpf);
16760 tmpf = ccosf(tmpf);
16761 tmpf = ccoshf(tmpf);
16762 tmpf = cexpf(tmpf);
16763 tmpf = clogf(tmpf);
16764 tmpf = csinf(tmpf);
16765 tmpf = csinhf(tmpf);
16766 tmpf = csqrtf(tmpf);
16767 tmpf = ctanf(tmpf);
16768 tmpf = ctanhf(tmpf);
16769 tmpf = cpowf(tmpf, tmpf);
16770 tmpf = cprojf(tmpf);
16771 d = cabs(tmpd);
16772 d = carg(tmpd);
16773 tmpd = ccos(tmpd);
16774 tmpd = ccosh(tmpd);
16775 tmpd = cexp(tmpd);
16776 tmpd = clog(tmpd);
16777 tmpd = csin(tmpd);
16778 tmpd = csinh(tmpd);
16779 tmpd = csqrt(tmpd);
16780 tmpd = ctan(tmpd);
16781 tmpd = ctanh(tmpd);
16782 tmpd = cpow(tmpd, tmpd);
16783 tmpd = cproj(tmpd);
16784 ld = cabsl(tmpld);
16785 ld = cargl(tmpld);
16786 tmpld = ccosl(tmpld);
16787 tmpld = ccoshl(tmpld);
16788 tmpld = cexpl(tmpld);
16789 tmpld = clogl(tmpld);
16790 tmpld = csinl(tmpld);
16791 tmpld = csinhl(tmpld);
16792 tmpld = csqrtl(tmpld);
16793 tmpld = ctanl(tmpld);
16794 tmpld = ctanhl(tmpld);
16795 tmpld = cpowl(tmpld, tmpld);
16796 tmpld = cprojl(tmpld);
16797
16798 ;
16799 return 0;
16800 }
16801 _ACEOF
16802 if ac_fn_cxx_try_compile "$LINENO"; then :
16803 glibcxx_cv_c99_complex_cxx98=yes
16804 else
16805 glibcxx_cv_c99_complex_cxx98=no
16806 fi
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 else
16809 if test x$gcc_no_link = xyes; then
16810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16811 fi
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <complex.h>
16815 typedef __complex__ float float_type;
16816 typedef __complex__ double double_type;
16817 typedef __complex__ long double ld_type;
16818 volatile float_type tmpf;
16819 volatile double_type tmpd;
16820 volatile ld_type tmpld;
16821 volatile float f;
16822 volatile double d;
16823 volatile long double ld;
16824 int
16825 main ()
16826 {
16827 f = cabsf(tmpf);
16828 f = cargf(tmpf);
16829 tmpf = ccosf(tmpf);
16830 tmpf = ccoshf(tmpf);
16831 tmpf = cexpf(tmpf);
16832 tmpf = clogf(tmpf);
16833 tmpf = csinf(tmpf);
16834 tmpf = csinhf(tmpf);
16835 tmpf = csqrtf(tmpf);
16836 tmpf = ctanf(tmpf);
16837 tmpf = ctanhf(tmpf);
16838 tmpf = cpowf(tmpf, tmpf);
16839 tmpf = cprojf(tmpf);
16840 d = cabs(tmpd);
16841 d = carg(tmpd);
16842 tmpd = ccos(tmpd);
16843 tmpd = ccosh(tmpd);
16844 tmpd = cexp(tmpd);
16845 tmpd = clog(tmpd);
16846 tmpd = csin(tmpd);
16847 tmpd = csinh(tmpd);
16848 tmpd = csqrt(tmpd);
16849 tmpd = ctan(tmpd);
16850 tmpd = ctanh(tmpd);
16851 tmpd = cpow(tmpd, tmpd);
16852 tmpd = cproj(tmpd);
16853 ld = cabsl(tmpld);
16854 ld = cargl(tmpld);
16855 tmpld = ccosl(tmpld);
16856 tmpld = ccoshl(tmpld);
16857 tmpld = cexpl(tmpld);
16858 tmpld = clogl(tmpld);
16859 tmpld = csinl(tmpld);
16860 tmpld = csinhl(tmpld);
16861 tmpld = csqrtl(tmpld);
16862 tmpld = ctanl(tmpld);
16863 tmpld = ctanhl(tmpld);
16864 tmpld = cpowl(tmpld, tmpld);
16865 tmpld = cprojl(tmpld);
16866
16867 ;
16868 return 0;
16869 }
16870 _ACEOF
16871 if ac_fn_cxx_try_link "$LINENO"; then :
16872 glibcxx_cv_c99_complex_cxx98=yes
16873 else
16874 glibcxx_cv_c99_complex_cxx98=no
16875 fi
16876 rm -f core conftest.err conftest.$ac_objext \
16877 conftest$ac_exeext conftest.$ac_ext
16878 fi
16879
16880 fi
16881
16882 fi
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16884 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16885 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16886
16887 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16888
16889 fi
16890
16891 # Check for the existence in <stdio.h> of vscanf, et. al.
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16893 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16894 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897
16898 if test x$gcc_no_link = xyes; then
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <stdio.h>
16902 #include <stdarg.h>
16903 void foo(char* fmt, ...)
16904 {
16905 va_list args; va_start(args, fmt);
16906 vfscanf(stderr, "%i", args);
16907 vscanf("%i", args);
16908 vsnprintf(fmt, 0, "%i", args);
16909 vsscanf(fmt, "%i", args);
16910 snprintf(fmt, 0, "%i");
16911 }
16912 int
16913 main ()
16914 {
16915
16916 ;
16917 return 0;
16918 }
16919 _ACEOF
16920 if ac_fn_cxx_try_compile "$LINENO"; then :
16921 glibcxx_cv_c99_stdio_cxx98=yes
16922 else
16923 glibcxx_cv_c99_stdio_cxx98=no
16924 fi
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 else
16927 if test x$gcc_no_link = xyes; then
16928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 fi
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932 #include <stdio.h>
16933 #include <stdarg.h>
16934 void foo(char* fmt, ...)
16935 {
16936 va_list args; va_start(args, fmt);
16937 vfscanf(stderr, "%i", args);
16938 vscanf("%i", args);
16939 vsnprintf(fmt, 0, "%i", args);
16940 vsscanf(fmt, "%i", args);
16941 snprintf(fmt, 0, "%i");
16942 }
16943 int
16944 main ()
16945 {
16946
16947 ;
16948 return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_cxx_try_link "$LINENO"; then :
16952 glibcxx_cv_c99_stdio_cxx98=yes
16953 else
16954 glibcxx_cv_c99_stdio_cxx98=no
16955 fi
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext conftest.$ac_ext
16958 fi
16959
16960 fi
16961
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16963 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16964 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16965
16966 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16967
16968 fi
16969
16970 # Check for the existence in <wchar.h> of wcstold, etc.
16971 if test x"$ac_has_wchar_h" = xyes &&
16972 test x"$ac_has_wctype_h" = xyes; then
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
16974 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
16975 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <wchar.h>
16982 namespace test
16983 {
16984 using ::wcstold;
16985 using ::wcstoll;
16986 using ::wcstoull;
16987 }
16988
16989 int
16990 main ()
16991 {
16992
16993 ;
16994 return 0;
16995 }
16996 _ACEOF
16997 if ac_fn_cxx_try_compile "$LINENO"; then :
16998 glibcxx_cv_c99_wchar_cxx98=yes
16999 else
17000 glibcxx_cv_c99_wchar_cxx98=no
17001 fi
17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003
17004 fi
17005
17006
17007 # Checks for wide character functions that may not be present.
17008 # Injection of these is wrapped with guard macros.
17009 # NB: only put functions here, instead of immediately above, if
17010 # absolutely necessary.
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #include <wchar.h>
17014 namespace test { using ::vfwscanf; }
17015 int
17016 main ()
17017 {
17018
17019 ;
17020 return 0;
17021 }
17022 _ACEOF
17023 if ac_fn_cxx_try_compile "$LINENO"; then :
17024
17025 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17026
17027 fi
17028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17029
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <wchar.h>
17033 namespace test { using ::vswscanf; }
17034 int
17035 main ()
17036 {
17037
17038 ;
17039 return 0;
17040 }
17041 _ACEOF
17042 if ac_fn_cxx_try_compile "$LINENO"; then :
17043
17044 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17045
17046 fi
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17048
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 #include <wchar.h>
17052 namespace test { using ::vwscanf; }
17053 int
17054 main ()
17055 {
17056
17057 ;
17058 return 0;
17059 }
17060 _ACEOF
17061 if ac_fn_cxx_try_compile "$LINENO"; then :
17062
17063 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17064
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <wchar.h>
17071 namespace test { using ::wcstof; }
17072 int
17073 main ()
17074 {
17075
17076 ;
17077 return 0;
17078 }
17079 _ACEOF
17080 if ac_fn_cxx_try_compile "$LINENO"; then :
17081
17082 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17083
17084 fi
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <wctype.h>
17090 int
17091 main ()
17092 {
17093 wint_t t; int i = iswblank(t);
17094 ;
17095 return 0;
17096 }
17097 _ACEOF
17098 if ac_fn_cxx_try_compile "$LINENO"; then :
17099
17100 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17101
17102 fi
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17104
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17106 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17107 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17108
17109 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17110
17111 fi
17112 fi
17113
17114 # Option parsed, now set things appropriately.
17115 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17116 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17117 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17118 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17119 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17120 enable_c99=no;
17121 else
17122
17123 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17124
17125 fi
17126
17127 gcc_no_link="$ac_save_gcc_no_link"
17128 LIBS="$ac_save_LIBS"
17129 CXXFLAGS="$ac_save_CXXFLAGS"
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135
17136
17137
17138 ac_ext=cpp
17139 ac_cpp='$CXXCPP $CPPFLAGS'
17140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17143
17144
17145 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17146 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17147 ac_save_CXXFLAGS="$CXXFLAGS"
17148 CXXFLAGS="$CXXFLAGS -std=c++11"
17149 ac_save_LIBS="$LIBS"
17150 ac_save_gcc_no_link="$gcc_no_link"
17151
17152 if test x$gcc_no_link != xyes; then
17153 # Use -fno-exceptions to that the C driver can link these tests without
17154 # hitting undefined references to personality routines.
17155 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17157 $as_echo_n "checking for sin in -lm... " >&6; }
17158 if test "${ac_cv_lib_m_sin+set}" = set; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_check_lib_save_LIBS=$LIBS
17162 LIBS="-lm $LIBS"
17163 if test x$gcc_no_link = xyes; then
17164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17165 fi
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17168
17169 /* Override any GCC internal prototype to avoid an error.
17170 Use char because int might match the return type of a GCC
17171 builtin and then its argument prototype would still apply. */
17172 #ifdef __cplusplus
17173 extern "C"
17174 #endif
17175 char sin ();
17176 int
17177 main ()
17178 {
17179 return sin ();
17180 ;
17181 return 0;
17182 }
17183 _ACEOF
17184 if ac_fn_cxx_try_link "$LINENO"; then :
17185 ac_cv_lib_m_sin=yes
17186 else
17187 ac_cv_lib_m_sin=no
17188 fi
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 LIBS=$ac_check_lib_save_LIBS
17192 fi
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17194 $as_echo "$ac_cv_lib_m_sin" >&6; }
17195 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17196 LIBS="$LIBS -lm"
17197 else
17198
17199 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17200 gcc_no_link=yes
17201
17202 fi
17203
17204 fi
17205
17206 # Check for the existence of <math.h> functions used if C99 is enabled.
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17208 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17209 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212
17213 if test x$gcc_no_link = xyes; then
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 #include <math.h>
17217 volatile double d1, d2;
17218 volatile int i;
17219 int
17220 main ()
17221 {
17222 i = fpclassify(d1);
17223 i = isfinite(d1);
17224 i = isinf(d1);
17225 i = isnan(d1);
17226 i = isnormal(d1);
17227 i = signbit(d1);
17228 i = isgreater(d1, d2);
17229 i = isgreaterequal(d1, d2);
17230 i = isless(d1, d2);
17231 i = islessequal(d1, d2);
17232 i = islessgreater(d1, d2);
17233 i = islessgreater(d1, d2);
17234 i = isunordered(d1, d2);
17235
17236 ;
17237 return 0;
17238 }
17239 _ACEOF
17240 if ac_fn_cxx_try_compile "$LINENO"; then :
17241 glibcxx_cv_c99_math_cxx11=yes
17242 else
17243 glibcxx_cv_c99_math_cxx11=no
17244 fi
17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17246 else
17247 if test x$gcc_no_link = xyes; then
17248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17249 fi
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #include <math.h>
17253 volatile double d1, d2;
17254 volatile int i;
17255 int
17256 main ()
17257 {
17258 i = fpclassify(d1);
17259 i = isfinite(d1);
17260 i = isinf(d1);
17261 i = isnan(d1);
17262 i = isnormal(d1);
17263 i = signbit(d1);
17264 i = isgreater(d1, d2);
17265 i = isgreaterequal(d1, d2);
17266 i = isless(d1, d2);
17267 i = islessequal(d1, d2);
17268 i = islessgreater(d1, d2);
17269 i = islessgreater(d1, d2);
17270 i = isunordered(d1, d2);
17271
17272 ;
17273 return 0;
17274 }
17275 _ACEOF
17276 if ac_fn_cxx_try_link "$LINENO"; then :
17277 glibcxx_cv_c99_math_cxx11=yes
17278 else
17279 glibcxx_cv_c99_math_cxx11=no
17280 fi
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 fi
17284
17285 fi
17286
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17288 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17289 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17290
17291 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17292
17293 fi
17294
17295 # Check for the existence of <complex.h> complex math functions.
17296 # This is necessary even though libstdc++ uses the builtin versions
17297 # of these functions, because if the builtin cannot be used, a reference
17298 # to the library function is emitted.
17299 for ac_header in tgmath.h
17300 do :
17301 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17302 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_TGMATH_H 1
17305 _ACEOF
17306 ac_has_tgmath_h=yes
17307 else
17308 ac_has_tgmath_h=no
17309 fi
17310
17311 done
17312
17313 for ac_header in complex.h
17314 do :
17315 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17316 if test "x$ac_cv_header_complex_h" = x""yes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_COMPLEX_H 1
17319 _ACEOF
17320 ac_has_complex_h=yes
17321 else
17322 ac_has_complex_h=no
17323 fi
17324
17325 done
17326
17327 if test x"$ac_has_complex_h" = x"yes"; then
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17329 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17330 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333
17334 if test x$gcc_no_link = xyes; then
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 #include <complex.h>
17338 typedef __complex__ float float_type;
17339 typedef __complex__ double double_type;
17340 typedef __complex__ long double ld_type;
17341 volatile float_type tmpf;
17342 volatile double_type tmpd;
17343 volatile ld_type tmpld;
17344 volatile float f;
17345 volatile double d;
17346 volatile long double ld;
17347 int
17348 main ()
17349 {
17350 f = cabsf(tmpf);
17351 f = cargf(tmpf);
17352 tmpf = ccosf(tmpf);
17353 tmpf = ccoshf(tmpf);
17354 tmpf = cexpf(tmpf);
17355 tmpf = clogf(tmpf);
17356 tmpf = csinf(tmpf);
17357 tmpf = csinhf(tmpf);
17358 tmpf = csqrtf(tmpf);
17359 tmpf = ctanf(tmpf);
17360 tmpf = ctanhf(tmpf);
17361 tmpf = cpowf(tmpf, tmpf);
17362 tmpf = cprojf(tmpf);
17363 d = cabs(tmpd);
17364 d = carg(tmpd);
17365 tmpd = ccos(tmpd);
17366 tmpd = ccosh(tmpd);
17367 tmpd = cexp(tmpd);
17368 tmpd = clog(tmpd);
17369 tmpd = csin(tmpd);
17370 tmpd = csinh(tmpd);
17371 tmpd = csqrt(tmpd);
17372 tmpd = ctan(tmpd);
17373 tmpd = ctanh(tmpd);
17374 tmpd = cpow(tmpd, tmpd);
17375 tmpd = cproj(tmpd);
17376 ld = cabsl(tmpld);
17377 ld = cargl(tmpld);
17378 tmpld = ccosl(tmpld);
17379 tmpld = ccoshl(tmpld);
17380 tmpld = cexpl(tmpld);
17381 tmpld = clogl(tmpld);
17382 tmpld = csinl(tmpld);
17383 tmpld = csinhl(tmpld);
17384 tmpld = csqrtl(tmpld);
17385 tmpld = ctanl(tmpld);
17386 tmpld = ctanhl(tmpld);
17387 tmpld = cpowl(tmpld, tmpld);
17388 tmpld = cprojl(tmpld);
17389
17390 ;
17391 return 0;
17392 }
17393 _ACEOF
17394 if ac_fn_cxx_try_compile "$LINENO"; then :
17395 glibcxx_cv_c99_complex_cxx11=yes
17396 else
17397 glibcxx_cv_c99_complex_cxx11=no
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17400 else
17401 if test x$gcc_no_link = xyes; then
17402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17403 fi
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 #include <complex.h>
17407 typedef __complex__ float float_type;
17408 typedef __complex__ double double_type;
17409 typedef __complex__ long double ld_type;
17410 volatile float_type tmpf;
17411 volatile double_type tmpd;
17412 volatile ld_type tmpld;
17413 volatile float f;
17414 volatile double d;
17415 volatile long double ld;
17416 int
17417 main ()
17418 {
17419 f = cabsf(tmpf);
17420 f = cargf(tmpf);
17421 tmpf = ccosf(tmpf);
17422 tmpf = ccoshf(tmpf);
17423 tmpf = cexpf(tmpf);
17424 tmpf = clogf(tmpf);
17425 tmpf = csinf(tmpf);
17426 tmpf = csinhf(tmpf);
17427 tmpf = csqrtf(tmpf);
17428 tmpf = ctanf(tmpf);
17429 tmpf = ctanhf(tmpf);
17430 tmpf = cpowf(tmpf, tmpf);
17431 tmpf = cprojf(tmpf);
17432 d = cabs(tmpd);
17433 d = carg(tmpd);
17434 tmpd = ccos(tmpd);
17435 tmpd = ccosh(tmpd);
17436 tmpd = cexp(tmpd);
17437 tmpd = clog(tmpd);
17438 tmpd = csin(tmpd);
17439 tmpd = csinh(tmpd);
17440 tmpd = csqrt(tmpd);
17441 tmpd = ctan(tmpd);
17442 tmpd = ctanh(tmpd);
17443 tmpd = cpow(tmpd, tmpd);
17444 tmpd = cproj(tmpd);
17445 ld = cabsl(tmpld);
17446 ld = cargl(tmpld);
17447 tmpld = ccosl(tmpld);
17448 tmpld = ccoshl(tmpld);
17449 tmpld = cexpl(tmpld);
17450 tmpld = clogl(tmpld);
17451 tmpld = csinl(tmpld);
17452 tmpld = csinhl(tmpld);
17453 tmpld = csqrtl(tmpld);
17454 tmpld = ctanl(tmpld);
17455 tmpld = ctanhl(tmpld);
17456 tmpld = cpowl(tmpld, tmpld);
17457 tmpld = cprojl(tmpld);
17458
17459 ;
17460 return 0;
17461 }
17462 _ACEOF
17463 if ac_fn_cxx_try_link "$LINENO"; then :
17464 glibcxx_cv_c99_complex_cxx11=yes
17465 else
17466 glibcxx_cv_c99_complex_cxx11=no
17467 fi
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17470 fi
17471
17472 fi
17473
17474 fi
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17476 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17477 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17478
17479 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17480
17481 fi
17482
17483 # Check for the existence in <stdio.h> of vscanf, et. al.
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17485 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17486 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489
17490 if test x$gcc_no_link = xyes; then
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <stdio.h>
17494 #include <stdarg.h>
17495 void foo(char* fmt, ...)
17496 {
17497 va_list args; va_start(args, fmt);
17498 vfscanf(stderr, "%i", args);
17499 vscanf("%i", args);
17500 vsnprintf(fmt, 0, "%i", args);
17501 vsscanf(fmt, "%i", args);
17502 snprintf(fmt, 0, "%i");
17503 }
17504 int
17505 main ()
17506 {
17507
17508 ;
17509 return 0;
17510 }
17511 _ACEOF
17512 if ac_fn_cxx_try_compile "$LINENO"; then :
17513 glibcxx_cv_c99_stdio_cxx11=yes
17514 else
17515 glibcxx_cv_c99_stdio_cxx11=no
17516 fi
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 else
17519 if test x$gcc_no_link = xyes; then
17520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17521 fi
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17524 #include <stdio.h>
17525 #include <stdarg.h>
17526 void foo(char* fmt, ...)
17527 {
17528 va_list args; va_start(args, fmt);
17529 vfscanf(stderr, "%i", args);
17530 vscanf("%i", args);
17531 vsnprintf(fmt, 0, "%i", args);
17532 vsscanf(fmt, "%i", args);
17533 snprintf(fmt, 0, "%i");
17534 }
17535 int
17536 main ()
17537 {
17538
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 if ac_fn_cxx_try_link "$LINENO"; then :
17544 glibcxx_cv_c99_stdio_cxx11=yes
17545 else
17546 glibcxx_cv_c99_stdio_cxx11=no
17547 fi
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17550 fi
17551
17552 fi
17553
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17555 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17556 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17557
17558 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17559
17560 fi
17561
17562 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17564 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17565 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568
17569 if test x$gcc_no_link = xyes; then
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <stdlib.h>
17573 volatile float f;
17574 volatile long double ld;
17575 volatile unsigned long long ll;
17576 lldiv_t mydivt;
17577 int
17578 main ()
17579 {
17580 char* tmp;
17581 f = strtof("gnu", &tmp);
17582 ld = strtold("gnu", &tmp);
17583 ll = strtoll("gnu", &tmp, 10);
17584 ll = strtoull("gnu", &tmp, 10);
17585 ll = llabs(10);
17586 mydivt = lldiv(10,1);
17587 ll = mydivt.quot;
17588 ll = mydivt.rem;
17589 ll = atoll("10");
17590 _Exit(0);
17591
17592 ;
17593 return 0;
17594 }
17595 _ACEOF
17596 if ac_fn_cxx_try_compile "$LINENO"; then :
17597 glibcxx_cv_c99_stdlib_cxx11=yes
17598 else
17599 glibcxx_cv_c99_stdlib_cxx11=no
17600 fi
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 else
17603 if test x$gcc_no_link = xyes; then
17604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17605 fi
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <stdlib.h>
17609 volatile float f;
17610 volatile long double ld;
17611 volatile unsigned long long ll;
17612 lldiv_t mydivt;
17613 int
17614 main ()
17615 {
17616 char* tmp;
17617 f = strtof("gnu", &tmp);
17618 ld = strtold("gnu", &tmp);
17619 ll = strtoll("gnu", &tmp, 10);
17620 ll = strtoull("gnu", &tmp, 10);
17621 ll = llabs(10);
17622 mydivt = lldiv(10,1);
17623 ll = mydivt.quot;
17624 ll = mydivt.rem;
17625 ll = atoll("10");
17626 _Exit(0);
17627
17628 ;
17629 return 0;
17630 }
17631 _ACEOF
17632 if ac_fn_cxx_try_link "$LINENO"; then :
17633 glibcxx_cv_c99_stdlib_cxx11=yes
17634 else
17635 glibcxx_cv_c99_stdlib_cxx11=no
17636 fi
17637 rm -f core conftest.err conftest.$ac_objext \
17638 conftest$ac_exeext conftest.$ac_ext
17639 fi
17640
17641 fi
17642
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17644 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17645 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17646
17647 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17648
17649 fi
17650
17651 # Check for the existence in <wchar.h> of wcstold, etc.
17652 if test x"$ac_has_wchar_h" = xyes &&
17653 test x"$ac_has_wctype_h" = xyes; then
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17655 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17656 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <wchar.h>
17663 namespace test
17664 {
17665 using ::wcstold;
17666 using ::wcstoll;
17667 using ::wcstoull;
17668 }
17669
17670 int
17671 main ()
17672 {
17673
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 if ac_fn_cxx_try_compile "$LINENO"; then :
17679 glibcxx_cv_c99_wchar_cxx11=yes
17680 else
17681 glibcxx_cv_c99_wchar_cxx11=no
17682 fi
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684
17685 fi
17686
17687
17688 # Checks for wide character functions that may not be present.
17689 # Injection of these is wrapped with guard macros.
17690 # NB: only put functions here, instead of immediately above, if
17691 # absolutely necessary.
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #include <wchar.h>
17695 namespace test { using ::vfwscanf; }
17696 int
17697 main ()
17698 {
17699
17700 ;
17701 return 0;
17702 }
17703 _ACEOF
17704 if ac_fn_cxx_try_compile "$LINENO"; then :
17705
17706 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17707
17708 fi
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <wchar.h>
17714 namespace test { using ::vswscanf; }
17715 int
17716 main ()
17717 {
17718
17719 ;
17720 return 0;
17721 }
17722 _ACEOF
17723 if ac_fn_cxx_try_compile "$LINENO"; then :
17724
17725 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17726
17727 fi
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17732 #include <wchar.h>
17733 namespace test { using ::vwscanf; }
17734 int
17735 main ()
17736 {
17737
17738 ;
17739 return 0;
17740 }
17741 _ACEOF
17742 if ac_fn_cxx_try_compile "$LINENO"; then :
17743
17744 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17745
17746 fi
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <wchar.h>
17752 namespace test { using ::wcstof; }
17753 int
17754 main ()
17755 {
17756
17757 ;
17758 return 0;
17759 }
17760 _ACEOF
17761 if ac_fn_cxx_try_compile "$LINENO"; then :
17762
17763 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17764
17765 fi
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wctype.h>
17771 int
17772 main ()
17773 {
17774 wint_t t; int i = iswblank(t);
17775 ;
17776 return 0;
17777 }
17778 _ACEOF
17779 if ac_fn_cxx_try_compile "$LINENO"; then :
17780
17781 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17782
17783 fi
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17787 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17788 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17789
17790 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17791
17792 fi
17793 fi
17794
17795 gcc_no_link="$ac_save_gcc_no_link"
17796 LIBS="$ac_save_LIBS"
17797 CXXFLAGS="$ac_save_CXXFLAGS"
17798 ac_ext=c
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803
17804 fi
17805
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17807 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17809 $as_echo "$enable_c99" >&6; }
17810
17811
17812 # Check whether --enable-concept-checks was given.
17813 if test "${enable_concept_checks+set}" = set; then :
17814 enableval=$enable_concept_checks;
17815 case "$enableval" in
17816 yes|no) ;;
17817 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17818 esac
17819
17820 else
17821 enable_concept_checks=no
17822 fi
17823
17824
17825 if test $enable_concept_checks = yes; then
17826
17827 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17828
17829 fi
17830
17831
17832 # Check whether --enable-libstdcxx-debug-flags was given.
17833 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17834 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17835 xno | x) enable_libstdcxx_debug_flags= ;;
17836 x-*) ;;
17837 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17838 esac
17839 else
17840 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17841 fi
17842
17843
17844
17845 # Option parsed, now set things appropriately
17846 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17847
17848
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17850 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17851
17852
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17854 $as_echo_n "checking for additional debug build... " >&6; }
17855 # Check whether --enable-libstdcxx-debug was given.
17856 if test "${enable_libstdcxx_debug+set}" = set; then :
17857 enableval=$enable_libstdcxx_debug;
17858 case "$enableval" in
17859 yes|no) ;;
17860 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17861 esac
17862
17863 else
17864 enable_libstdcxx_debug=no
17865 fi
17866
17867
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17869 $as_echo "$enable_libstdcxx_debug" >&6; }
17870
17871
17872
17873
17874 enable_parallel=no;
17875
17876 # See if configured libgomp/omp.h exists. (libgomp may be in
17877 # noconfigdirs but not explicitly disabled.)
17878 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17879 enable_parallel=yes;
17880 else
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17882 $as_echo "$as_me: target-libgomp not built" >&6;}
17883 fi
17884
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17886 $as_echo_n "checking for parallel mode support... " >&6; }
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17888 $as_echo "$enable_parallel" >&6; }
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17891 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17892 # Check whether --enable-cxx-flags was given.
17893 if test "${enable_cxx_flags+set}" = set; then :
17894 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17895 xno | x) enable_cxx_flags= ;;
17896 x-*) ;;
17897 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17898 esac
17899 else
17900 enable_cxx_flags=
17901 fi
17902
17903
17904
17905 # Run through flags (either default or command-line) and set anything
17906 # extra (e.g., #defines) that must accompany particular g++ options.
17907 if test -n "$enable_cxx_flags"; then
17908 for f in $enable_cxx_flags; do
17909 case "$f" in
17910 -fhonor-std) ;;
17911 -*) ;;
17912 *) # and we're trying to pass /what/ exactly?
17913 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17914 esac
17915 done
17916 fi
17917
17918 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17920 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17921
17922
17923
17924 # Check whether --enable-fully-dynamic-string was given.
17925 if test "${enable_fully_dynamic_string+set}" = set; then :
17926 enableval=$enable_fully_dynamic_string;
17927 case "$enableval" in
17928 yes|no) ;;
17929 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17930 esac
17931
17932 else
17933 enable_fully_dynamic_string=no
17934 fi
17935
17936
17937 if test $enable_fully_dynamic_string = yes; then
17938 enable_fully_dynamic_string_def=1
17939 else
17940 enable_fully_dynamic_string_def=0
17941 fi
17942
17943 cat >>confdefs.h <<_ACEOF
17944 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17945 _ACEOF
17946
17947
17948
17949
17950 # Check whether --enable-extern-template was given.
17951 if test "${enable_extern_template+set}" = set; then :
17952 enableval=$enable_extern_template;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17956 esac
17957
17958 else
17959 enable_extern_template=yes
17960 fi
17961
17962
17963
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17965 $as_echo_n "checking for extern template support... " >&6; }
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17967 $as_echo "$enable_extern_template" >&6; }
17968
17969
17970
17971
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17974 $as_echo_n "checking for custom python install directory... " >&6; }
17975
17976 # Check whether --with-python-dir was given.
17977 if test "${with_python_dir+set}" = set; then :
17978 withval=$with_python_dir; with_python_dir=$withval
17979 else
17980 with_python_dir="no"
17981 fi
17982
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17984 $as_echo "${with_python_dir}" >&6; }
17985
17986 # Needed for installing Python modules during make install.
17987 python_mod_dir="${with_python_dir}"
17988
17989
17990
17991
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17993 $as_echo_n "checking for -Werror... " >&6; }
17994 # Check whether --enable-werror was given.
17995 if test "${enable_werror+set}" = set; then :
17996 enableval=$enable_werror;
17997 case "$enableval" in
17998 yes|no) ;;
17999 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18000 esac
18001
18002 else
18003 enable_werror=yes
18004 fi
18005
18006
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18008 $as_echo "$enable_werror" >&6; }
18009
18010
18011
18012
18013 # Check whether --enable-vtable-verify was given.
18014 if test "${enable_vtable_verify+set}" = set; then :
18015 enableval=$enable_vtable_verify;
18016 case "$enableval" in
18017 yes|no) ;;
18018 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18019 esac
18020
18021 else
18022 enable_vtable_verify=no
18023 fi
18024
18025
18026
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18028 $as_echo_n "checking for vtable verify support... " >&6; }
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18030 $as_echo "$enable_vtable_verify" >&6; }
18031
18032 vtv_cygmin=no
18033 if test $enable_vtable_verify = yes; then
18034 case ${target_os} in
18035 cygwin*|mingw32*)
18036 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18037 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18038 vtv_cygmin=yes
18039 ;;
18040 darwin*)
18041 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18042 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18043 ;;
18044 solaris2*)
18045 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18046 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18047 ;;
18048 *)
18049 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18050 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18051 ;;
18052 esac
18053 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18054 else
18055 VTV_CXXFLAGS=
18056 VTV_PCH_CXXFLAGS=
18057 VTV_CXXLINKFLAGS=
18058 fi
18059
18060
18061
18062
18063 if test x$vtv_cygmin = xyes; then
18064 VTV_CYGMIN_TRUE=
18065 VTV_CYGMIN_FALSE='#'
18066 else
18067 VTV_CYGMIN_TRUE='#'
18068 VTV_CYGMIN_FALSE=
18069 fi
18070
18071
18072
18073
18074 # Checks for operating systems support that doesn't require linking.
18075
18076
18077
18078 ac_ext=cpp
18079 ac_cpp='$CXXCPP $CPPFLAGS'
18080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18083
18084
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18086 $as_echo_n "checking for gets declaration... " >&6; }
18087 if test "${glibcxx_cv_gets+set}" = set; then :
18088 $as_echo_n "(cached) " >&6
18089 else
18090
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18093 #include <stdio.h>
18094 namespace test
18095 {
18096 using ::gets;
18097 }
18098
18099 _ACEOF
18100 if ac_fn_cxx_try_compile "$LINENO"; then :
18101 glibcxx_cv_gets=yes
18102 else
18103 glibcxx_cv_gets=no
18104
18105 fi
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 fi
18108
18109
18110 if test $glibcxx_cv_gets = yes; then
18111
18112 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18113
18114 fi
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18116 $as_echo "$glibcxx_cv_gets" >&6; }
18117
18118 ac_ext=c
18119 ac_cpp='$CPP $CPPFLAGS'
18120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18123
18124
18125
18126
18127
18128 ac_ext=cpp
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133
18134 ac_save_CXXFLAGS="$CXXFLAGS"
18135 CXXFLAGS="$CXXFLAGS -std=c++11"
18136
18137 case "$host" in
18138 *-*-solaris2.*)
18139 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18140 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18142 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18143 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18144 $as_echo_n "(cached) " >&6
18145 else
18146
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #include <math.h>
18150 #undef isfinite
18151 namespace std {
18152 inline bool isfinite(float __x)
18153 { return __builtin_isfinite(__x); }
18154 }
18155
18156 _ACEOF
18157 if ac_fn_cxx_try_compile "$LINENO"; then :
18158 glibcxx_cv_math11_overload=no
18159 else
18160 glibcxx_cv_math11_overload=yes
18161
18162 fi
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18164 fi
18165
18166
18167 # autoheader cannot handle indented templates.
18168
18169
18170 if test $glibcxx_cv_math11_overload = yes; then
18171 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18172
18173 fi
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18175 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18176 ;;
18177 esac
18178
18179 CXXFLAGS="$ac_save_CXXFLAGS"
18180 ac_ext=c
18181 ac_cpp='$CPP $CPPFLAGS'
18182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18185
18186
18187
18188
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18190 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18191 if test "${glibcxx_cv_system_error1+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 <errno.h>
18198 int
18199 main ()
18200 {
18201 int i = EOWNERDEAD;
18202 ;
18203 return 0;
18204 }
18205 _ACEOF
18206 if ac_fn_c_try_compile "$LINENO"; then :
18207 glibcxx_cv_system_error1=yes
18208 else
18209 glibcxx_cv_system_error1=no
18210 fi
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212
18213 fi
18214
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18216 $as_echo "$glibcxx_cv_system_error1" >&6; }
18217 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18218
18219 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18220
18221 fi
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18223 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18224 if test "${glibcxx_cv_system_error2+set}" = set; then :
18225 $as_echo_n "(cached) " >&6
18226 else
18227
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <errno.h>
18231 int
18232 main ()
18233 {
18234 int i = ENOTRECOVERABLE;
18235 ;
18236 return 0;
18237 }
18238 _ACEOF
18239 if ac_fn_c_try_compile "$LINENO"; then :
18240 glibcxx_cv_system_error2=yes
18241 else
18242 glibcxx_cv_system_error2=no
18243 fi
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245
18246 fi
18247
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18249 $as_echo "$glibcxx_cv_system_error2" >&6; }
18250 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18251
18252 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18253
18254 fi
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18256 $as_echo_n "checking for ENOLINK... " >&6; }
18257 if test "${glibcxx_cv_system_error3+set}" = set; then :
18258 $as_echo_n "(cached) " >&6
18259 else
18260
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18263 #include <errno.h>
18264 int
18265 main ()
18266 {
18267 int i = ENOLINK;
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 if ac_fn_c_try_compile "$LINENO"; then :
18273 glibcxx_cv_system_error3=yes
18274 else
18275 glibcxx_cv_system_error3=no
18276 fi
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278
18279 fi
18280
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18282 $as_echo "$glibcxx_cv_system_error3" >&6; }
18283 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18284
18285 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18286
18287 fi
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18289 $as_echo_n "checking for EPROTO... " >&6; }
18290 if test "${glibcxx_cv_system_error4+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18293
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <errno.h>
18297 int
18298 main ()
18299 {
18300 int i = EPROTO;
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 if ac_fn_c_try_compile "$LINENO"; then :
18306 glibcxx_cv_system_error4=yes
18307 else
18308 glibcxx_cv_system_error4=no
18309 fi
18310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18311
18312 fi
18313
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18315 $as_echo "$glibcxx_cv_system_error4" >&6; }
18316 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18317
18318 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18319
18320 fi
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18322 $as_echo_n "checking for ENODATA... " >&6; }
18323 if test "${glibcxx_cv_system_error5+set}" = set; then :
18324 $as_echo_n "(cached) " >&6
18325 else
18326
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <errno.h>
18330 int
18331 main ()
18332 {
18333 int i = ENODATA;
18334 ;
18335 return 0;
18336 }
18337 _ACEOF
18338 if ac_fn_c_try_compile "$LINENO"; then :
18339 glibcxx_cv_system_error5=yes
18340 else
18341 glibcxx_cv_system_error5=no
18342 fi
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344
18345 fi
18346
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18348 $as_echo "$glibcxx_cv_system_error5" >&6; }
18349 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18350
18351 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18352
18353 fi
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18355 $as_echo_n "checking for ENOSR... " >&6; }
18356 if test "${glibcxx_cv_system_error6+set}" = set; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18359
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #include <errno.h>
18363 int
18364 main ()
18365 {
18366 int i = ENOSR;
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_c_try_compile "$LINENO"; then :
18372 glibcxx_cv_system_error6=yes
18373 else
18374 glibcxx_cv_system_error6=no
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
18378 fi
18379
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18381 $as_echo "$glibcxx_cv_system_error6" >&6; }
18382 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18383
18384 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18385
18386 fi
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18388 $as_echo_n "checking for ENOSTR... " >&6; }
18389 if test "${glibcxx_cv_system_error7+set}" = set; then :
18390 $as_echo_n "(cached) " >&6
18391 else
18392
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18395 #include <errno.h>
18396 int
18397 main ()
18398 {
18399 int i = ENOSTR;
18400 ;
18401 return 0;
18402 }
18403 _ACEOF
18404 if ac_fn_c_try_compile "$LINENO"; then :
18405 glibcxx_cv_system_error7=yes
18406 else
18407 glibcxx_cv_system_error7=no
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410
18411 fi
18412
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18414 $as_echo "$glibcxx_cv_system_error7" >&6; }
18415 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18416
18417 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18418
18419 fi
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18421 $as_echo_n "checking for ETIME... " >&6; }
18422 if test "${glibcxx_cv_system_error8+set}" = set; then :
18423 $as_echo_n "(cached) " >&6
18424 else
18425
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <errno.h>
18429 int
18430 main ()
18431 {
18432 int i = ETIME;
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_c_try_compile "$LINENO"; then :
18438 glibcxx_cv_system_error8=yes
18439 else
18440 glibcxx_cv_system_error8=no
18441 fi
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443
18444 fi
18445
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18447 $as_echo "$glibcxx_cv_system_error8" >&6; }
18448 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18449
18450 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18451
18452 fi
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18454 $as_echo_n "checking for EBADMSG... " >&6; }
18455 if test "${glibcxx_cv_system_error9+set}" = set; then :
18456 $as_echo_n "(cached) " >&6
18457 else
18458
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18461 #include <errno.h>
18462 int
18463 main ()
18464 {
18465 int i = EBADMSG;
18466 ;
18467 return 0;
18468 }
18469 _ACEOF
18470 if ac_fn_c_try_compile "$LINENO"; then :
18471 glibcxx_cv_system_error9=yes
18472 else
18473 glibcxx_cv_system_error9=no
18474 fi
18475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476
18477 fi
18478
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18480 $as_echo "$glibcxx_cv_system_error9" >&6; }
18481 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18482
18483 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18484
18485 fi
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18487 $as_echo_n "checking for ECANCELED... " >&6; }
18488 if test "${glibcxx_cv_system_error10+set}" = set; then :
18489 $as_echo_n "(cached) " >&6
18490 else
18491
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 #include <errno.h>
18495 int
18496 main ()
18497 {
18498 int i = ECANCELED;
18499 ;
18500 return 0;
18501 }
18502 _ACEOF
18503 if ac_fn_c_try_compile "$LINENO"; then :
18504 glibcxx_cv_system_error10=yes
18505 else
18506 glibcxx_cv_system_error10=no
18507 fi
18508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509
18510 fi
18511
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18513 $as_echo "$glibcxx_cv_system_error10" >&6; }
18514 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18515
18516 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18517
18518 fi
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18520 $as_echo_n "checking for EOVERFLOW... " >&6; }
18521 if test "${glibcxx_cv_system_error11+set}" = set; then :
18522 $as_echo_n "(cached) " >&6
18523 else
18524
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18527 #include <errno.h>
18528 int
18529 main ()
18530 {
18531 int i = EOVERFLOW;
18532 ;
18533 return 0;
18534 }
18535 _ACEOF
18536 if ac_fn_c_try_compile "$LINENO"; then :
18537 glibcxx_cv_system_error11=yes
18538 else
18539 glibcxx_cv_system_error11=no
18540 fi
18541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18542
18543 fi
18544
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18546 $as_echo "$glibcxx_cv_system_error11" >&6; }
18547 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18548
18549 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18550
18551 fi
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18553 $as_echo_n "checking for ENOTSUP... " >&6; }
18554 if test "${glibcxx_cv_system_error12+set}" = set; then :
18555 $as_echo_n "(cached) " >&6
18556 else
18557
18558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18559 /* end confdefs.h. */
18560 #include <errno.h>
18561 int
18562 main ()
18563 {
18564 int i = ENOTSUP;
18565 ;
18566 return 0;
18567 }
18568 _ACEOF
18569 if ac_fn_c_try_compile "$LINENO"; then :
18570 glibcxx_cv_system_error12=yes
18571 else
18572 glibcxx_cv_system_error12=no
18573 fi
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575
18576 fi
18577
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18579 $as_echo "$glibcxx_cv_system_error12" >&6; }
18580 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18581
18582 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18583
18584 fi
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18586 $as_echo_n "checking for EIDRM... " >&6; }
18587 if test "${glibcxx_cv_system_error13+set}" = set; then :
18588 $as_echo_n "(cached) " >&6
18589 else
18590
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 #include <errno.h>
18594 int
18595 main ()
18596 {
18597 int i = EIDRM;
18598 ;
18599 return 0;
18600 }
18601 _ACEOF
18602 if ac_fn_c_try_compile "$LINENO"; then :
18603 glibcxx_cv_system_error13=yes
18604 else
18605 glibcxx_cv_system_error13=no
18606 fi
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608
18609 fi
18610
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18612 $as_echo "$glibcxx_cv_system_error13" >&6; }
18613 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18614
18615 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18616
18617 fi
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18619 $as_echo_n "checking for ETXTBSY... " >&6; }
18620 if test "${glibcxx_cv_system_error14+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 #include <errno.h>
18627 int
18628 main ()
18629 {
18630 int i = ETXTBSY;
18631 ;
18632 return 0;
18633 }
18634 _ACEOF
18635 if ac_fn_c_try_compile "$LINENO"; then :
18636 glibcxx_cv_system_error14=yes
18637 else
18638 glibcxx_cv_system_error14=no
18639 fi
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641
18642 fi
18643
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18645 $as_echo "$glibcxx_cv_system_error14" >&6; }
18646 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18647
18648 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18649
18650 fi
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18652 $as_echo_n "checking for ECHILD... " >&6; }
18653 if test "${glibcxx_cv_system_error15+set}" = set; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18659 #include <errno.h>
18660 int
18661 main ()
18662 {
18663 int i = ECHILD;
18664 ;
18665 return 0;
18666 }
18667 _ACEOF
18668 if ac_fn_c_try_compile "$LINENO"; then :
18669 glibcxx_cv_system_error15=yes
18670 else
18671 glibcxx_cv_system_error15=no
18672 fi
18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674
18675 fi
18676
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18678 $as_echo "$glibcxx_cv_system_error15" >&6; }
18679 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18680
18681 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18682
18683 fi
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18685 $as_echo_n "checking for ENOSPC... " >&6; }
18686 if test "${glibcxx_cv_system_error16+set}" = set; then :
18687 $as_echo_n "(cached) " >&6
18688 else
18689
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 #include <errno.h>
18693 int
18694 main ()
18695 {
18696 int i = ENOSPC;
18697 ;
18698 return 0;
18699 }
18700 _ACEOF
18701 if ac_fn_c_try_compile "$LINENO"; then :
18702 glibcxx_cv_system_error16=yes
18703 else
18704 glibcxx_cv_system_error16=no
18705 fi
18706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707
18708 fi
18709
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18711 $as_echo "$glibcxx_cv_system_error16" >&6; }
18712 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18713
18714 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18715
18716 fi
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18718 $as_echo_n "checking for EPERM... " >&6; }
18719 if test "${glibcxx_cv_system_error17+set}" = set; then :
18720 $as_echo_n "(cached) " >&6
18721 else
18722
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18725 #include <errno.h>
18726 int
18727 main ()
18728 {
18729 int i = EPERM;
18730 ;
18731 return 0;
18732 }
18733 _ACEOF
18734 if ac_fn_c_try_compile "$LINENO"; then :
18735 glibcxx_cv_system_error17=yes
18736 else
18737 glibcxx_cv_system_error17=no
18738 fi
18739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740
18741 fi
18742
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18744 $as_echo "$glibcxx_cv_system_error17" >&6; }
18745 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18746
18747 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18748
18749 fi
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18751 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18752 if test "${glibcxx_cv_system_error18+set}" = set; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18755
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18758 #include <errno.h>
18759 int
18760 main ()
18761 {
18762 int i = ETIMEDOUT;
18763 ;
18764 return 0;
18765 }
18766 _ACEOF
18767 if ac_fn_c_try_compile "$LINENO"; then :
18768 glibcxx_cv_system_error18=yes
18769 else
18770 glibcxx_cv_system_error18=no
18771 fi
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18773
18774 fi
18775
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18777 $as_echo "$glibcxx_cv_system_error18" >&6; }
18778 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18779
18780 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18781
18782 fi
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18784 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18785 if test "${glibcxx_cv_system_error19+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18788
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #include <errno.h>
18792 int
18793 main ()
18794 {
18795 int i = EWOULDBLOCK;
18796 ;
18797 return 0;
18798 }
18799 _ACEOF
18800 if ac_fn_c_try_compile "$LINENO"; then :
18801 glibcxx_cv_system_error19=yes
18802 else
18803 glibcxx_cv_system_error19=no
18804 fi
18805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806
18807 fi
18808
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18810 $as_echo "$glibcxx_cv_system_error19" >&6; }
18811 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18812
18813 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18814
18815 fi
18816
18817
18818
18819
18820 # Test uchar.h.
18821 for ac_header in uchar.h
18822 do :
18823 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_UCHAR_H 1
18827 _ACEOF
18828 ac_has_uchar_h=yes
18829 else
18830 ac_has_uchar_h=no
18831 fi
18832
18833 done
18834
18835
18836
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842
18843 ac_save_CXXFLAGS="$CXXFLAGS"
18844 CXXFLAGS="$CXXFLAGS -std=c++11"
18845
18846 if test x"$ac_has_uchar_h" = x"yes"; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18848 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 #include <uchar.h>
18852 #ifdef __STDC_UTF_16__
18853 long i = __STDC_UTF_16__;
18854 #endif
18855 #ifdef __STDC_UTF_32__
18856 long j = __STDC_UTF_32__;
18857 #endif
18858 namespace test
18859 {
18860 using ::c16rtomb;
18861 using ::c32rtomb;
18862 using ::mbrtoc16;
18863 using ::mbrtoc32;
18864 }
18865
18866 int
18867 main ()
18868 {
18869
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 if ac_fn_cxx_try_compile "$LINENO"; then :
18875 ac_c11_uchar_cxx11=yes
18876 else
18877 ac_c11_uchar_cxx11=no
18878 fi
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880 else
18881 ac_c11_uchar_cxx11=no
18882 fi
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18884 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18885 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18886
18887 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18888
18889 fi
18890
18891 CXXFLAGS="$ac_save_CXXFLAGS"
18892 ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18897
18898
18899
18900 # For the streamoff typedef.
18901
18902
18903
18904 ac_ext=cpp
18905 ac_cpp='$CXXCPP $CPPFLAGS'
18906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18909
18910
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18912 $as_echo_n "checking for int64_t... " >&6; }
18913 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18916
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <stdint.h>
18920 int
18921 main ()
18922 {
18923 int64_t var;
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 if ac_fn_cxx_try_compile "$LINENO"; then :
18929 glibcxx_cv_INT64_T=yes
18930 else
18931 glibcxx_cv_INT64_T=no
18932 fi
18933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934
18935 fi
18936
18937
18938 if test $glibcxx_cv_INT64_T = yes; then
18939
18940 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18941
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18943 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18944
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18946 $as_echo_n "checking for int64_t as long... " >&6; }
18947 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18948 $as_echo_n "(cached) " >&6
18949 else
18950
18951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18953 #include <stdint.h>
18954 template<typename, typename> struct same { enum { value = -1 }; };
18955 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18956 int array[same<int64_t, long>::value];
18957 int
18958 main ()
18959 {
18960
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 glibcxx_cv_int64_t_long=yes
18967 else
18968 glibcxx_cv_int64_t_long=no
18969 fi
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971
18972 fi
18973
18974
18975 if test $glibcxx_cv_int64_t_long = yes; then
18976
18977 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18978
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18980 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18981 fi
18982
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18984 $as_echo_n "checking for int64_t as long long... " >&6; }
18985 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18986 $as_echo_n "(cached) " >&6
18987 else
18988
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18991 #include <stdint.h>
18992 template<typename, typename> struct same { enum { value = -1 }; };
18993 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18994 int array[same<int64_t, long long>::value];
18995 int
18996 main ()
18997 {
18998
18999 ;
19000 return 0;
19001 }
19002 _ACEOF
19003 if ac_fn_cxx_try_compile "$LINENO"; then :
19004 glibcxx_cv_int64_t_long_long=yes
19005 else
19006 glibcxx_cv_int64_t_long_long=no
19007 fi
19008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009
19010 fi
19011
19012
19013 if test $glibcxx_cv_int64_t_long_long = yes; then
19014
19015 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19016
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19018 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19019 fi
19020 fi
19021
19022 ac_ext=c
19023 ac_cpp='$CPP $CPPFLAGS'
19024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19027
19028
19029
19030 # For LFS support.
19031
19032
19033 ac_ext=cpp
19034 ac_cpp='$CXXCPP $CPPFLAGS'
19035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19038
19039 ac_save_CXXFLAGS="$CXXFLAGS"
19040 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19042 $as_echo_n "checking for LFS support... " >&6; }
19043 if test "${glibcxx_cv_LFS+set}" = set; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19046
19047 if test x$gcc_no_link = xyes; then
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050 #include <unistd.h>
19051 #include <stdio.h>
19052 #include <sys/stat.h>
19053
19054 int
19055 main ()
19056 {
19057 FILE* fp;
19058 fopen64("t", "w");
19059 fseeko64(fp, 0, SEEK_CUR);
19060 ftello64(fp);
19061 lseek64(1, 0, SEEK_CUR);
19062 struct stat64 buf;
19063 fstat64(1, &buf);
19064 ;
19065 return 0;
19066 }
19067 _ACEOF
19068 if ac_fn_cxx_try_compile "$LINENO"; then :
19069 glibcxx_cv_LFS=yes
19070 else
19071 glibcxx_cv_LFS=no
19072 fi
19073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19074 else
19075 if test x$gcc_no_link = xyes; then
19076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 fi
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #include <unistd.h>
19081 #include <stdio.h>
19082 #include <sys/stat.h>
19083
19084 int
19085 main ()
19086 {
19087 FILE* fp;
19088 fopen64("t", "w");
19089 fseeko64(fp, 0, SEEK_CUR);
19090 ftello64(fp);
19091 lseek64(1, 0, SEEK_CUR);
19092 struct stat64 buf;
19093 fstat64(1, &buf);
19094 ;
19095 return 0;
19096 }
19097 _ACEOF
19098 if ac_fn_cxx_try_link "$LINENO"; then :
19099 glibcxx_cv_LFS=yes
19100 else
19101 glibcxx_cv_LFS=no
19102 fi
19103 rm -f core conftest.err conftest.$ac_objext \
19104 conftest$ac_exeext conftest.$ac_ext
19105 fi
19106
19107 fi
19108
19109 if test $glibcxx_cv_LFS = yes; then
19110
19111 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19112
19113 fi
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19115 $as_echo "$glibcxx_cv_LFS" >&6; }
19116 CXXFLAGS="$ac_save_CXXFLAGS"
19117 ac_ext=c
19118 ac_cpp='$CPP $CPPFLAGS'
19119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19122
19123
19124
19125 # For showmanyc_helper().
19126 for ac_header in sys/ioctl.h sys/filio.h
19127 do :
19128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19129 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19130 eval as_val=\$$as_ac_Header
19131 if test "x$as_val" = x""yes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19134 _ACEOF
19135
19136 fi
19137
19138 done
19139
19140
19141
19142
19143 ac_ext=cpp
19144 ac_cpp='$CXXCPP $CPPFLAGS'
19145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19148
19149 ac_save_CXXFLAGS="$CXXFLAGS"
19150 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19151
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19153 $as_echo_n "checking for poll... " >&6; }
19154 if test "${glibcxx_cv_POLL+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19156 else
19157
19158 if test x$gcc_no_link = xyes; then
19159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19161 #include <poll.h>
19162 int
19163 main ()
19164 {
19165 struct pollfd pfd[1];
19166 pfd[0].events = POLLIN;
19167 poll(pfd, 1, 0);
19168 ;
19169 return 0;
19170 }
19171 _ACEOF
19172 if ac_fn_cxx_try_compile "$LINENO"; then :
19173 glibcxx_cv_POLL=yes
19174 else
19175 glibcxx_cv_POLL=no
19176 fi
19177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19178 else
19179 if test x$gcc_no_link = xyes; then
19180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19181 fi
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 #include <poll.h>
19185 int
19186 main ()
19187 {
19188 struct pollfd pfd[1];
19189 pfd[0].events = POLLIN;
19190 poll(pfd, 1, 0);
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 if ac_fn_cxx_try_link "$LINENO"; then :
19196 glibcxx_cv_POLL=yes
19197 else
19198 glibcxx_cv_POLL=no
19199 fi
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19202 fi
19203
19204 fi
19205
19206 if test $glibcxx_cv_POLL = yes; then
19207
19208 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19209
19210 fi
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19212 $as_echo "$glibcxx_cv_POLL" >&6; }
19213
19214 CXXFLAGS="$ac_save_CXXFLAGS"
19215 ac_ext=c
19216 ac_cpp='$CPP $CPPFLAGS'
19217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19220
19221
19222
19223
19224
19225 ac_ext=cpp
19226 ac_cpp='$CXXCPP $CPPFLAGS'
19227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19230
19231 ac_save_CXXFLAGS="$CXXFLAGS"
19232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19233
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19235 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19236 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19239
19240 if test x$gcc_no_link = xyes; then
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 #include <sys/stat.h>
19244 int
19245 main ()
19246 {
19247 struct stat buffer;
19248 fstat(0, &buffer);
19249 S_ISREG(buffer.st_mode);
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255 glibcxx_cv_S_ISREG=yes
19256 else
19257 glibcxx_cv_S_ISREG=no
19258 fi
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 else
19261 if test x$gcc_no_link = xyes; then
19262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19263 fi
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 #include <sys/stat.h>
19267 int
19268 main ()
19269 {
19270 struct stat buffer;
19271 fstat(0, &buffer);
19272 S_ISREG(buffer.st_mode);
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 if ac_fn_cxx_try_link "$LINENO"; then :
19278 glibcxx_cv_S_ISREG=yes
19279 else
19280 glibcxx_cv_S_ISREG=no
19281 fi
19282 rm -f core conftest.err conftest.$ac_objext \
19283 conftest$ac_exeext conftest.$ac_ext
19284 fi
19285
19286 fi
19287
19288 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19291
19292 if test x$gcc_no_link = xyes; then
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <sys/stat.h>
19296 int
19297 main ()
19298 {
19299 struct stat buffer;
19300 fstat(0, &buffer);
19301 S_IFREG & buffer.st_mode;
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 if ac_fn_cxx_try_compile "$LINENO"; then :
19307 glibcxx_cv_S_IFREG=yes
19308 else
19309 glibcxx_cv_S_IFREG=no
19310 fi
19311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 else
19313 if test x$gcc_no_link = xyes; then
19314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19315 fi
19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19318 #include <sys/stat.h>
19319 int
19320 main ()
19321 {
19322 struct stat buffer;
19323 fstat(0, &buffer);
19324 S_IFREG & buffer.st_mode;
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 if ac_fn_cxx_try_link "$LINENO"; then :
19330 glibcxx_cv_S_IFREG=yes
19331 else
19332 glibcxx_cv_S_IFREG=no
19333 fi
19334 rm -f core conftest.err conftest.$ac_objext \
19335 conftest$ac_exeext conftest.$ac_ext
19336 fi
19337
19338 fi
19339
19340 res=no
19341 if test $glibcxx_cv_S_ISREG = yes; then
19342
19343 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19344
19345 res=S_ISREG
19346 elif test $glibcxx_cv_S_IFREG = yes; then
19347
19348 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19349
19350 res=S_IFREG
19351 fi
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19353 $as_echo "$res" >&6; }
19354
19355 CXXFLAGS="$ac_save_CXXFLAGS"
19356 ac_ext=c
19357 ac_cpp='$CPP $CPPFLAGS'
19358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19361
19362
19363
19364 # For xsputn_2().
19365 for ac_header in sys/uio.h
19366 do :
19367 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19368 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_SYS_UIO_H 1
19371 _ACEOF
19372
19373 fi
19374
19375 done
19376
19377
19378
19379
19380 ac_ext=cpp
19381 ac_cpp='$CXXCPP $CPPFLAGS'
19382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19385
19386 ac_save_CXXFLAGS="$CXXFLAGS"
19387 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19388
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19390 $as_echo_n "checking for writev... " >&6; }
19391 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19392 $as_echo_n "(cached) " >&6
19393 else
19394
19395 if test x$gcc_no_link = xyes; then
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <sys/uio.h>
19399 int
19400 main ()
19401 {
19402 struct iovec iov[2];
19403 writev(0, iov, 0);
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 if ac_fn_cxx_try_compile "$LINENO"; then :
19409 glibcxx_cv_WRITEV=yes
19410 else
19411 glibcxx_cv_WRITEV=no
19412 fi
19413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19414 else
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19420 #include <sys/uio.h>
19421 int
19422 main ()
19423 {
19424 struct iovec iov[2];
19425 writev(0, iov, 0);
19426 ;
19427 return 0;
19428 }
19429 _ACEOF
19430 if ac_fn_cxx_try_link "$LINENO"; then :
19431 glibcxx_cv_WRITEV=yes
19432 else
19433 glibcxx_cv_WRITEV=no
19434 fi
19435 rm -f core conftest.err conftest.$ac_objext \
19436 conftest$ac_exeext conftest.$ac_ext
19437 fi
19438
19439 fi
19440
19441 if test $glibcxx_cv_WRITEV = yes; then
19442
19443 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19444
19445 fi
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19447 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19448
19449 CXXFLAGS="$ac_save_CXXFLAGS"
19450 ac_ext=c
19451 ac_cpp='$CPP $CPPFLAGS'
19452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19455
19456
19457
19458 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19459 # so that the check is done with the C compiler (not C++).
19460 # Checking with C++ can break a canadian cross build if either
19461 # file does not exist in C but does in C++.
19462 for ac_header in fenv.h complex.h
19463 do :
19464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19466 eval as_val=\$$as_ac_Header
19467 if test "x$as_val" = x""yes; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19470 _ACEOF
19471
19472 fi
19473
19474 done
19475
19476
19477 # For C99 support to TR1.
19478
19479
19480
19481 ac_ext=cpp
19482 ac_cpp='$CXXCPP $CPPFLAGS'
19483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19486
19487
19488 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19489 # undefined and fake C99 facilities may be spuriously enabled.
19490 ac_save_CXXFLAGS="$CXXFLAGS"
19491 CXXFLAGS="$CXXFLAGS -std=c++98"
19492
19493 # Check for the existence of <complex.h> complex math functions used
19494 # by tr1/complex.
19495 for ac_header in complex.h
19496 do :
19497 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19498 if test "x$ac_cv_header_complex_h" = x""yes; then :
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_COMPLEX_H 1
19501 _ACEOF
19502 ac_has_complex_h=yes
19503 else
19504 ac_has_complex_h=no
19505 fi
19506
19507 done
19508
19509 ac_c99_complex_tr1=no;
19510 if test x"$ac_has_complex_h" = x"yes"; then
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19512 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19515 #include <complex.h>
19516 int
19517 main ()
19518 {
19519 typedef __complex__ float float_type; float_type tmpf;
19520 cacosf(tmpf);
19521 casinf(tmpf);
19522 catanf(tmpf);
19523 cacoshf(tmpf);
19524 casinhf(tmpf);
19525 catanhf(tmpf);
19526 typedef __complex__ double double_type; double_type tmpd;
19527 cacos(tmpd);
19528 casin(tmpd);
19529 catan(tmpd);
19530 cacosh(tmpd);
19531 casinh(tmpd);
19532 catanh(tmpd);
19533 typedef __complex__ long double ld_type; ld_type tmpld;
19534 cacosl(tmpld);
19535 casinl(tmpld);
19536 catanl(tmpld);
19537 cacoshl(tmpld);
19538 casinhl(tmpld);
19539 catanhl(tmpld);
19540
19541 ;
19542 return 0;
19543 }
19544 _ACEOF
19545 if ac_fn_cxx_try_compile "$LINENO"; then :
19546 ac_c99_complex_tr1=yes
19547 else
19548 ac_c99_complex_tr1=no
19549 fi
19550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19551 fi
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19553 $as_echo "$ac_c99_complex_tr1" >&6; }
19554 if test x"$ac_c99_complex_tr1" = x"yes"; then
19555
19556 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19557
19558 fi
19559
19560 # Check for the existence of <ctype.h> functions.
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19562 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19563 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <ctype.h>
19570 int
19571 main ()
19572 {
19573 int ch;
19574 int ret;
19575 ret = isblank(ch);
19576
19577 ;
19578 return 0;
19579 }
19580 _ACEOF
19581 if ac_fn_cxx_try_compile "$LINENO"; then :
19582 glibcxx_cv_c99_ctype_tr1=yes
19583 else
19584 glibcxx_cv_c99_ctype_tr1=no
19585 fi
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587
19588 fi
19589
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19591 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19592 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19593
19594 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19595
19596 fi
19597
19598 # Check for the existence of <fenv.h> functions.
19599 for ac_header in fenv.h
19600 do :
19601 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19602 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19603 cat >>confdefs.h <<_ACEOF
19604 #define HAVE_FENV_H 1
19605 _ACEOF
19606 ac_has_fenv_h=yes
19607 else
19608 ac_has_fenv_h=no
19609 fi
19610
19611 done
19612
19613 ac_c99_fenv_tr1=no;
19614 if test x"$ac_has_fenv_h" = x"yes"; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19616 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #include <fenv.h>
19620 int
19621 main ()
19622 {
19623 int except, mode;
19624 fexcept_t* pflag;
19625 fenv_t* penv;
19626 int ret;
19627 ret = feclearexcept(except);
19628 ret = fegetexceptflag(pflag, except);
19629 ret = feraiseexcept(except);
19630 ret = fesetexceptflag(pflag, except);
19631 ret = fetestexcept(except);
19632 ret = fegetround();
19633 ret = fesetround(mode);
19634 ret = fegetenv(penv);
19635 ret = feholdexcept(penv);
19636 ret = fesetenv(penv);
19637 ret = feupdateenv(penv);
19638
19639 ;
19640 return 0;
19641 }
19642 _ACEOF
19643 if ac_fn_cxx_try_compile "$LINENO"; then :
19644 ac_c99_fenv_tr1=yes
19645 else
19646 ac_c99_fenv_tr1=no
19647 fi
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 fi
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19651 $as_echo "$ac_c99_fenv_tr1" >&6; }
19652 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19653
19654 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19655
19656 fi
19657
19658 # Check for the existence of <stdint.h> types.
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19660 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19661 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19662 $as_echo_n "(cached) " >&6
19663 else
19664
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 #define __STDC_LIMIT_MACROS
19668 #define __STDC_CONSTANT_MACROS
19669 #include <stdint.h>
19670 int
19671 main ()
19672 {
19673 typedef int8_t my_int8_t;
19674 my_int8_t i8 = INT8_MIN;
19675 i8 = INT8_MAX;
19676 typedef int16_t my_int16_t;
19677 my_int16_t i16 = INT16_MIN;
19678 i16 = INT16_MAX;
19679 typedef int32_t my_int32_t;
19680 my_int32_t i32 = INT32_MIN;
19681 i32 = INT32_MAX;
19682 typedef int64_t my_int64_t;
19683 my_int64_t i64 = INT64_MIN;
19684 i64 = INT64_MAX;
19685 typedef int_fast8_t my_int_fast8_t;
19686 my_int_fast8_t if8 = INT_FAST8_MIN;
19687 if8 = INT_FAST8_MAX;
19688 typedef int_fast16_t my_int_fast16_t;
19689 my_int_fast16_t if16 = INT_FAST16_MIN;
19690 if16 = INT_FAST16_MAX;
19691 typedef int_fast32_t my_int_fast32_t;
19692 my_int_fast32_t if32 = INT_FAST32_MIN;
19693 if32 = INT_FAST32_MAX;
19694 typedef int_fast64_t my_int_fast64_t;
19695 my_int_fast64_t if64 = INT_FAST64_MIN;
19696 if64 = INT_FAST64_MAX;
19697 typedef int_least8_t my_int_least8_t;
19698 my_int_least8_t il8 = INT_LEAST8_MIN;
19699 il8 = INT_LEAST8_MAX;
19700 typedef int_least16_t my_int_least16_t;
19701 my_int_least16_t il16 = INT_LEAST16_MIN;
19702 il16 = INT_LEAST16_MAX;
19703 typedef int_least32_t my_int_least32_t;
19704 my_int_least32_t il32 = INT_LEAST32_MIN;
19705 il32 = INT_LEAST32_MAX;
19706 typedef int_least64_t my_int_least64_t;
19707 my_int_least64_t il64 = INT_LEAST64_MIN;
19708 il64 = INT_LEAST64_MAX;
19709 typedef intmax_t my_intmax_t;
19710 my_intmax_t im = INTMAX_MAX;
19711 im = INTMAX_MIN;
19712 typedef intptr_t my_intptr_t;
19713 my_intptr_t ip = INTPTR_MAX;
19714 ip = INTPTR_MIN;
19715 typedef uint8_t my_uint8_t;
19716 my_uint8_t ui8 = UINT8_MAX;
19717 ui8 = UINT8_MAX;
19718 typedef uint16_t my_uint16_t;
19719 my_uint16_t ui16 = UINT16_MAX;
19720 ui16 = UINT16_MAX;
19721 typedef uint32_t my_uint32_t;
19722 my_uint32_t ui32 = UINT32_MAX;
19723 ui32 = UINT32_MAX;
19724 typedef uint64_t my_uint64_t;
19725 my_uint64_t ui64 = UINT64_MAX;
19726 ui64 = UINT64_MAX;
19727 typedef uint_fast8_t my_uint_fast8_t;
19728 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19729 uif8 = UINT_FAST8_MAX;
19730 typedef uint_fast16_t my_uint_fast16_t;
19731 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19732 uif16 = UINT_FAST16_MAX;
19733 typedef uint_fast32_t my_uint_fast32_t;
19734 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19735 uif32 = UINT_FAST32_MAX;
19736 typedef uint_fast64_t my_uint_fast64_t;
19737 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19738 uif64 = UINT_FAST64_MAX;
19739 typedef uint_least8_t my_uint_least8_t;
19740 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19741 uil8 = UINT_LEAST8_MAX;
19742 typedef uint_least16_t my_uint_least16_t;
19743 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19744 uil16 = UINT_LEAST16_MAX;
19745 typedef uint_least32_t my_uint_least32_t;
19746 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19747 uil32 = UINT_LEAST32_MAX;
19748 typedef uint_least64_t my_uint_least64_t;
19749 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19750 uil64 = UINT_LEAST64_MAX;
19751 typedef uintmax_t my_uintmax_t;
19752 my_uintmax_t uim = UINTMAX_MAX;
19753 uim = UINTMAX_MAX;
19754 typedef uintptr_t my_uintptr_t;
19755 my_uintptr_t uip = UINTPTR_MAX;
19756 uip = UINTPTR_MAX;
19757
19758 ;
19759 return 0;
19760 }
19761 _ACEOF
19762 if ac_fn_cxx_try_compile "$LINENO"; then :
19763 glibcxx_cv_c99_stdint_tr1=yes
19764 else
19765 glibcxx_cv_c99_stdint_tr1=no
19766 fi
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768
19769 fi
19770
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19772 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19773 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19774
19775 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19776
19777 fi
19778
19779 # Check for the existence of <math.h> functions.
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19781 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19782 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19783 $as_echo_n "(cached) " >&6
19784 else
19785
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19788 #include <math.h>
19789 int
19790 main ()
19791 {
19792 typedef double_t my_double_t;
19793 typedef float_t my_float_t;
19794 acosh(0.0);
19795 acoshf(0.0f);
19796 acoshl(0.0l);
19797 asinh(0.0);
19798 asinhf(0.0f);
19799 asinhl(0.0l);
19800 atanh(0.0);
19801 atanhf(0.0f);
19802 atanhl(0.0l);
19803 cbrt(0.0);
19804 cbrtf(0.0f);
19805 cbrtl(0.0l);
19806 copysign(0.0, 0.0);
19807 copysignf(0.0f, 0.0f);
19808 copysignl(0.0l, 0.0l);
19809 erf(0.0);
19810 erff(0.0f);
19811 erfl(0.0l);
19812 erfc(0.0);
19813 erfcf(0.0f);
19814 erfcl(0.0l);
19815 exp2(0.0);
19816 exp2f(0.0f);
19817 exp2l(0.0l);
19818 expm1(0.0);
19819 expm1f(0.0f);
19820 expm1l(0.0l);
19821 fdim(0.0, 0.0);
19822 fdimf(0.0f, 0.0f);
19823 fdiml(0.0l, 0.0l);
19824 fma(0.0, 0.0, 0.0);
19825 fmaf(0.0f, 0.0f, 0.0f);
19826 fmal(0.0l, 0.0l, 0.0l);
19827 fmax(0.0, 0.0);
19828 fmaxf(0.0f, 0.0f);
19829 fmaxl(0.0l, 0.0l);
19830 fmin(0.0, 0.0);
19831 fminf(0.0f, 0.0f);
19832 fminl(0.0l, 0.0l);
19833 hypot(0.0, 0.0);
19834 hypotf(0.0f, 0.0f);
19835 hypotl(0.0l, 0.0l);
19836 ilogb(0.0);
19837 ilogbf(0.0f);
19838 ilogbl(0.0l);
19839 lgamma(0.0);
19840 lgammaf(0.0f);
19841 lgammal(0.0l);
19842 llrint(0.0);
19843 llrintf(0.0f);
19844 llrintl(0.0l);
19845 llround(0.0);
19846 llroundf(0.0f);
19847 llroundl(0.0l);
19848 log1p(0.0);
19849 log1pf(0.0f);
19850 log1pl(0.0l);
19851 log2(0.0);
19852 log2f(0.0f);
19853 log2l(0.0l);
19854 logb(0.0);
19855 logbf(0.0f);
19856 logbl(0.0l);
19857 lrint(0.0);
19858 lrintf(0.0f);
19859 lrintl(0.0l);
19860 lround(0.0);
19861 lroundf(0.0f);
19862 lroundl(0.0l);
19863 nan(0);
19864 nanf(0);
19865 nanl(0);
19866 nearbyint(0.0);
19867 nearbyintf(0.0f);
19868 nearbyintl(0.0l);
19869 nextafter(0.0, 0.0);
19870 nextafterf(0.0f, 0.0f);
19871 nextafterl(0.0l, 0.0l);
19872 nexttoward(0.0, 0.0);
19873 nexttowardf(0.0f, 0.0f);
19874 nexttowardl(0.0l, 0.0l);
19875 remainder(0.0, 0.0);
19876 remainderf(0.0f, 0.0f);
19877 remainderl(0.0l, 0.0l);
19878 remquo(0.0, 0.0, 0);
19879 remquof(0.0f, 0.0f, 0);
19880 remquol(0.0l, 0.0l, 0);
19881 rint(0.0);
19882 rintf(0.0f);
19883 rintl(0.0l);
19884 round(0.0);
19885 roundf(0.0f);
19886 roundl(0.0l);
19887 scalbln(0.0, 0l);
19888 scalblnf(0.0f, 0l);
19889 scalblnl(0.0l, 0l);
19890 scalbn(0.0, 0);
19891 scalbnf(0.0f, 0);
19892 scalbnl(0.0l, 0);
19893 tgamma(0.0);
19894 tgammaf(0.0f);
19895 tgammal(0.0l);
19896 trunc(0.0);
19897 truncf(0.0f);
19898 truncl(0.0l);
19899
19900 ;
19901 return 0;
19902 }
19903 _ACEOF
19904 if ac_fn_cxx_try_compile "$LINENO"; then :
19905 glibcxx_cv_c99_math_tr1=yes
19906 else
19907 glibcxx_cv_c99_math_tr1=no
19908 fi
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910
19911 fi
19912
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19914 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19915 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19916
19917 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19918
19919 fi
19920
19921 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19922 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19923 ac_c99_inttypes_tr1=no;
19924 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19926 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <inttypes.h>
19930 int
19931 main ()
19932 {
19933 intmax_t i, numer, denom, base;
19934 const char* s;
19935 char** endptr;
19936 intmax_t ret = imaxabs(i);
19937 imaxdiv_t dret = imaxdiv(numer, denom);
19938 ret = strtoimax(s, endptr, base);
19939 uintmax_t uret = strtoumax(s, endptr, base);
19940
19941 ;
19942 return 0;
19943 }
19944 _ACEOF
19945 if ac_fn_cxx_try_compile "$LINENO"; then :
19946 ac_c99_inttypes_tr1=yes
19947 else
19948 ac_c99_inttypes_tr1=no
19949 fi
19950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 fi
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19953 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19954 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19955
19956 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19957
19958 fi
19959
19960 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19961 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19962 ac_c99_inttypes_wchar_t_tr1=no;
19963 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19965 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h. */
19968 #include <inttypes.h>
19969 int
19970 main ()
19971 {
19972 intmax_t base;
19973 const wchar_t* s;
19974 wchar_t** endptr;
19975 intmax_t ret = wcstoimax(s, endptr, base);
19976 uintmax_t uret = wcstoumax(s, endptr, base);
19977
19978 ;
19979 return 0;
19980 }
19981 _ACEOF
19982 if ac_fn_cxx_try_compile "$LINENO"; then :
19983 ac_c99_inttypes_wchar_t_tr1=yes
19984 else
19985 ac_c99_inttypes_wchar_t_tr1=no
19986 fi
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19988 fi
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19990 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19991 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19992
19993 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19994
19995 fi
19996
19997 # Check for the existence of the <stdbool.h> header.
19998 for ac_header in stdbool.h
19999 do :
20000 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20001 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20002 cat >>confdefs.h <<_ACEOF
20003 #define HAVE_STDBOOL_H 1
20004 _ACEOF
20005
20006 fi
20007
20008 done
20009
20010
20011 # Check for the existence of the <stdalign.h> header.
20012 for ac_header in stdalign.h
20013 do :
20014 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20015 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20016 cat >>confdefs.h <<_ACEOF
20017 #define HAVE_STDALIGN_H 1
20018 _ACEOF
20019
20020 fi
20021
20022 done
20023
20024
20025 CXXFLAGS="$ac_save_CXXFLAGS"
20026 ac_ext=c
20027 ac_cpp='$CPP $CPPFLAGS'
20028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20031
20032
20033
20034 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20035
20036
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20038 $as_echo_n "checking for the value of EOF... " >&6; }
20039 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20040 $as_echo_n "(cached) " >&6
20041 else
20042
20043 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20044
20045 else
20046 as_fn_error "computing EOF failed" "$LINENO" 5
20047 fi
20048
20049
20050 fi
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20052 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20053
20054 cat >>confdefs.h <<_ACEOF
20055 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20056 _ACEOF
20057
20058
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20060 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20061 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20062 $as_echo_n "(cached) " >&6
20063 else
20064
20065 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20066
20067 else
20068 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20069 fi
20070
20071
20072 fi
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20074 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20075
20076 cat >>confdefs.h <<_ACEOF
20077 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20078 _ACEOF
20079
20080
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20082 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20083 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20084 $as_echo_n "(cached) " >&6
20085 else
20086
20087 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20088
20089 else
20090 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20091 fi
20092
20093
20094 fi
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20096 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20097
20098 cat >>confdefs.h <<_ACEOF
20099 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20100 _ACEOF
20101
20102
20103
20104 # For gettimeofday support.
20105
20106
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20108 $as_echo_n "checking for gettimeofday... " >&6; }
20109
20110
20111 ac_ext=cpp
20112 ac_cpp='$CXXCPP $CPPFLAGS'
20113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20116
20117 ac_save_CXXFLAGS="$CXXFLAGS"
20118 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20119
20120 ac_has_gettimeofday=no;
20121 for ac_header in sys/time.h
20122 do :
20123 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20124 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20125 cat >>confdefs.h <<_ACEOF
20126 #define HAVE_SYS_TIME_H 1
20127 _ACEOF
20128 ac_has_sys_time_h=yes
20129 else
20130 ac_has_sys_time_h=no
20131 fi
20132
20133 done
20134
20135 if test x"$ac_has_sys_time_h" = x"yes"; then
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20137 $as_echo_n "checking for gettimeofday... " >&6; }
20138 if test x$gcc_no_link = xyes; then
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <sys/time.h>
20142 int
20143 main ()
20144 {
20145 timeval tv; gettimeofday(&tv, 0);
20146 ;
20147 return 0;
20148 }
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 ac_has_gettimeofday=yes
20152 else
20153 ac_has_gettimeofday=no
20154 fi
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 else
20157 if test x$gcc_no_link = xyes; then
20158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20159 fi
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <sys/time.h>
20163 int
20164 main ()
20165 {
20166 timeval tv; gettimeofday(&tv, 0);
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_cxx_try_link "$LINENO"; then :
20172 ac_has_gettimeofday=yes
20173 else
20174 ac_has_gettimeofday=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20178 fi
20179
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20181 $as_echo "$ac_has_gettimeofday" >&6; }
20182 fi
20183
20184 if test x"$ac_has_gettimeofday" = x"yes"; then
20185
20186 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20187
20188 fi
20189
20190 CXXFLAGS="$ac_save_CXXFLAGS"
20191 ac_ext=c
20192 ac_cpp='$CPP $CPPFLAGS'
20193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20196
20197
20198
20199 # For clock_gettime, nanosleep and sched_yield support.
20200
20201
20202 # Check whether --enable-libstdcxx-time was given.
20203 if test "${enable_libstdcxx_time+set}" = set; then :
20204 enableval=$enable_libstdcxx_time;
20205 case "$enableval" in
20206 yes|no|rt) ;;
20207 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20208 esac
20209
20210 else
20211 enable_libstdcxx_time=auto
20212 fi
20213
20214
20215
20216
20217 ac_ext=cpp
20218 ac_cpp='$CXXCPP $CPPFLAGS'
20219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20222
20223 ac_save_CXXFLAGS="$CXXFLAGS"
20224 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20225 ac_save_LIBS="$LIBS"
20226
20227 ac_has_clock_monotonic=no
20228 ac_has_clock_realtime=no
20229 ac_has_nanosleep=no
20230 ac_has_sched_yield=no
20231
20232 if test x"$enable_libstdcxx_time" = x"auto"; then
20233
20234 case "${target_os}" in
20235 cygwin*)
20236 ac_has_nanosleep=yes
20237 ;;
20238 darwin*)
20239 ac_has_nanosleep=yes
20240 ac_has_sched_yield=yes
20241 ;;
20242 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20244 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <features.h>
20248 int
20249 main ()
20250 {
20251
20252 #if ! __GLIBC_PREREQ(2, 17)
20253 #error
20254 #endif
20255
20256 ;
20257 return 0;
20258 }
20259 _ACEOF
20260 if ac_fn_cxx_try_compile "$LINENO"; then :
20261 glibcxx_glibc217=yes
20262 else
20263 glibcxx_glibc217=no
20264 fi
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20267 $as_echo "$glibcxx_glibc217" >&6; }
20268
20269 if test x"$glibcxx_glibc217" = x"yes"; then
20270 ac_has_clock_monotonic=yes
20271 ac_has_clock_realtime=yes
20272 fi
20273 ac_has_nanosleep=yes
20274 ac_has_sched_yield=yes
20275 ;;
20276 freebsd*|netbsd*|dragonfly*)
20277 ac_has_clock_monotonic=yes
20278 ac_has_clock_realtime=yes
20279 ac_has_nanosleep=yes
20280 ac_has_sched_yield=yes
20281 ;;
20282 openbsd*)
20283 ac_has_clock_monotonic=yes
20284 ac_has_clock_realtime=yes
20285 ac_has_nanosleep=yes
20286 ;;
20287 solaris*)
20288 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20289 ac_has_clock_monotonic=yes
20290 ac_has_clock_realtime=yes
20291 ac_has_nanosleep=yes
20292 ac_has_sched_yield=yes
20293 ;;
20294 esac
20295
20296 elif test x"$enable_libstdcxx_time" != x"no"; then
20297
20298 if test x"$enable_libstdcxx_time" = x"rt"; then
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20300 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20301 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20302 $as_echo_n "(cached) " >&6
20303 else
20304 ac_func_search_save_LIBS=$LIBS
20305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20306 /* end confdefs.h. */
20307
20308 /* Override any GCC internal prototype to avoid an error.
20309 Use char because int might match the return type of a GCC
20310 builtin and then its argument prototype would still apply. */
20311 #ifdef __cplusplus
20312 extern "C"
20313 #endif
20314 char clock_gettime ();
20315 int
20316 main ()
20317 {
20318 return clock_gettime ();
20319 ;
20320 return 0;
20321 }
20322 _ACEOF
20323 for ac_lib in '' rt posix4; do
20324 if test -z "$ac_lib"; then
20325 ac_res="none required"
20326 else
20327 ac_res=-l$ac_lib
20328 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20329 fi
20330 if test x$gcc_no_link = xyes; then
20331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20332 fi
20333 if ac_fn_cxx_try_link "$LINENO"; then :
20334 ac_cv_search_clock_gettime=$ac_res
20335 fi
20336 rm -f core conftest.err conftest.$ac_objext \
20337 conftest$ac_exeext
20338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20339 break
20340 fi
20341 done
20342 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20343
20344 else
20345 ac_cv_search_clock_gettime=no
20346 fi
20347 rm conftest.$ac_ext
20348 LIBS=$ac_func_search_save_LIBS
20349 fi
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20351 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20352 ac_res=$ac_cv_search_clock_gettime
20353 if test "$ac_res" != no; then :
20354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20355
20356 fi
20357
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20359 $as_echo_n "checking for library containing nanosleep... " >&6; }
20360 if test "${ac_cv_search_nanosleep+set}" = set; then :
20361 $as_echo_n "(cached) " >&6
20362 else
20363 ac_func_search_save_LIBS=$LIBS
20364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20365 /* end confdefs.h. */
20366
20367 /* Override any GCC internal prototype to avoid an error.
20368 Use char because int might match the return type of a GCC
20369 builtin and then its argument prototype would still apply. */
20370 #ifdef __cplusplus
20371 extern "C"
20372 #endif
20373 char nanosleep ();
20374 int
20375 main ()
20376 {
20377 return nanosleep ();
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 for ac_lib in '' rt posix4; do
20383 if test -z "$ac_lib"; then
20384 ac_res="none required"
20385 else
20386 ac_res=-l$ac_lib
20387 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20388 fi
20389 if test x$gcc_no_link = xyes; then
20390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20391 fi
20392 if ac_fn_cxx_try_link "$LINENO"; then :
20393 ac_cv_search_nanosleep=$ac_res
20394 fi
20395 rm -f core conftest.err conftest.$ac_objext \
20396 conftest$ac_exeext
20397 if test "${ac_cv_search_nanosleep+set}" = set; then :
20398 break
20399 fi
20400 done
20401 if test "${ac_cv_search_nanosleep+set}" = set; then :
20402
20403 else
20404 ac_cv_search_nanosleep=no
20405 fi
20406 rm conftest.$ac_ext
20407 LIBS=$ac_func_search_save_LIBS
20408 fi
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20410 $as_echo "$ac_cv_search_nanosleep" >&6; }
20411 ac_res=$ac_cv_search_nanosleep
20412 if test "$ac_res" != no; then :
20413 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20414
20415 fi
20416
20417 else
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20419 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20420 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20421 $as_echo_n "(cached) " >&6
20422 else
20423 ac_func_search_save_LIBS=$LIBS
20424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20425 /* end confdefs.h. */
20426
20427 /* Override any GCC internal prototype to avoid an error.
20428 Use char because int might match the return type of a GCC
20429 builtin and then its argument prototype would still apply. */
20430 #ifdef __cplusplus
20431 extern "C"
20432 #endif
20433 char clock_gettime ();
20434 int
20435 main ()
20436 {
20437 return clock_gettime ();
20438 ;
20439 return 0;
20440 }
20441 _ACEOF
20442 for ac_lib in '' posix4; do
20443 if test -z "$ac_lib"; then
20444 ac_res="none required"
20445 else
20446 ac_res=-l$ac_lib
20447 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20448 fi
20449 if test x$gcc_no_link = xyes; then
20450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20451 fi
20452 if ac_fn_cxx_try_link "$LINENO"; then :
20453 ac_cv_search_clock_gettime=$ac_res
20454 fi
20455 rm -f core conftest.err conftest.$ac_objext \
20456 conftest$ac_exeext
20457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20458 break
20459 fi
20460 done
20461 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20462
20463 else
20464 ac_cv_search_clock_gettime=no
20465 fi
20466 rm conftest.$ac_ext
20467 LIBS=$ac_func_search_save_LIBS
20468 fi
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20470 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20471 ac_res=$ac_cv_search_clock_gettime
20472 if test "$ac_res" != no; then :
20473 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20474
20475 fi
20476
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20478 $as_echo_n "checking for library containing nanosleep... " >&6; }
20479 if test "${ac_cv_search_nanosleep+set}" = set; then :
20480 $as_echo_n "(cached) " >&6
20481 else
20482 ac_func_search_save_LIBS=$LIBS
20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20485
20486 /* Override any GCC internal prototype to avoid an error.
20487 Use char because int might match the return type of a GCC
20488 builtin and then its argument prototype would still apply. */
20489 #ifdef __cplusplus
20490 extern "C"
20491 #endif
20492 char nanosleep ();
20493 int
20494 main ()
20495 {
20496 return nanosleep ();
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 for ac_lib in '' posix4; do
20502 if test -z "$ac_lib"; then
20503 ac_res="none required"
20504 else
20505 ac_res=-l$ac_lib
20506 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20507 fi
20508 if test x$gcc_no_link = xyes; then
20509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20510 fi
20511 if ac_fn_cxx_try_link "$LINENO"; then :
20512 ac_cv_search_nanosleep=$ac_res
20513 fi
20514 rm -f core conftest.err conftest.$ac_objext \
20515 conftest$ac_exeext
20516 if test "${ac_cv_search_nanosleep+set}" = set; then :
20517 break
20518 fi
20519 done
20520 if test "${ac_cv_search_nanosleep+set}" = set; then :
20521
20522 else
20523 ac_cv_search_nanosleep=no
20524 fi
20525 rm conftest.$ac_ext
20526 LIBS=$ac_func_search_save_LIBS
20527 fi
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20529 $as_echo "$ac_cv_search_nanosleep" >&6; }
20530 ac_res=$ac_cv_search_nanosleep
20531 if test "$ac_res" != no; then :
20532 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20533
20534 fi
20535
20536 fi
20537
20538 case "$ac_cv_search_clock_gettime" in
20539 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20540 ;;
20541 esac
20542 case "$ac_cv_search_nanosleep" in
20543 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20544 ;;
20545 esac
20546
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20548 $as_echo_n "checking for library containing sched_yield... " >&6; }
20549 if test "${ac_cv_search_sched_yield+set}" = set; then :
20550 $as_echo_n "(cached) " >&6
20551 else
20552 ac_func_search_save_LIBS=$LIBS
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555
20556 /* Override any GCC internal prototype to avoid an error.
20557 Use char because int might match the return type of a GCC
20558 builtin and then its argument prototype would still apply. */
20559 #ifdef __cplusplus
20560 extern "C"
20561 #endif
20562 char sched_yield ();
20563 int
20564 main ()
20565 {
20566 return sched_yield ();
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 for ac_lib in '' rt posix4; do
20572 if test -z "$ac_lib"; then
20573 ac_res="none required"
20574 else
20575 ac_res=-l$ac_lib
20576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20577 fi
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20580 fi
20581 if ac_fn_cxx_try_link "$LINENO"; then :
20582 ac_cv_search_sched_yield=$ac_res
20583 fi
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext
20586 if test "${ac_cv_search_sched_yield+set}" = set; then :
20587 break
20588 fi
20589 done
20590 if test "${ac_cv_search_sched_yield+set}" = set; then :
20591
20592 else
20593 ac_cv_search_sched_yield=no
20594 fi
20595 rm conftest.$ac_ext
20596 LIBS=$ac_func_search_save_LIBS
20597 fi
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20599 $as_echo "$ac_cv_search_sched_yield" >&6; }
20600 ac_res=$ac_cv_search_sched_yield
20601 if test "$ac_res" != no; then :
20602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20603
20604 fi
20605
20606
20607 case "$ac_cv_search_sched_yield" in
20608 -lposix4*)
20609 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20610 ac_has_sched_yield=yes
20611 ;;
20612 -lrt*)
20613 if test x"$enable_libstdcxx_time" = x"rt"; then
20614 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20615 ac_has_sched_yield=yes
20616 fi
20617 ;;
20618 *)
20619 ac_has_sched_yield=yes
20620 ;;
20621 esac
20622
20623 for ac_header in unistd.h
20624 do :
20625 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20626 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20627 cat >>confdefs.h <<_ACEOF
20628 #define HAVE_UNISTD_H 1
20629 _ACEOF
20630 ac_has_unistd_h=yes
20631 else
20632 ac_has_unistd_h=no
20633 fi
20634
20635 done
20636
20637
20638 if test x"$ac_has_unistd_h" = x"yes"; then
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20640 $as_echo_n "checking for monotonic clock... " >&6; }
20641 if test x$gcc_no_link = xyes; then
20642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20643 fi
20644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20645 /* end confdefs.h. */
20646 #include <unistd.h>
20647 #include <time.h>
20648
20649 int
20650 main ()
20651 {
20652 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20653 timespec tp;
20654 #endif
20655 clock_gettime(CLOCK_MONOTONIC, &tp);
20656
20657 ;
20658 return 0;
20659 }
20660 _ACEOF
20661 if ac_fn_cxx_try_link "$LINENO"; then :
20662 ac_has_clock_monotonic=yes
20663 else
20664 ac_has_clock_monotonic=no
20665 fi
20666 rm -f core conftest.err conftest.$ac_objext \
20667 conftest$ac_exeext conftest.$ac_ext
20668
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20670 $as_echo "$ac_has_clock_monotonic" >&6; }
20671
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20673 $as_echo_n "checking for realtime clock... " >&6; }
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20676 fi
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20679 #include <unistd.h>
20680 #include <time.h>
20681
20682 int
20683 main ()
20684 {
20685 #if _POSIX_TIMERS > 0
20686 timespec tp;
20687 #endif
20688 clock_gettime(CLOCK_REALTIME, &tp);
20689
20690 ;
20691 return 0;
20692 }
20693 _ACEOF
20694 if ac_fn_cxx_try_link "$LINENO"; then :
20695 ac_has_clock_realtime=yes
20696 else
20697 ac_has_clock_realtime=no
20698 fi
20699 rm -f core conftest.err conftest.$ac_objext \
20700 conftest$ac_exeext conftest.$ac_ext
20701
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20703 $as_echo "$ac_has_clock_realtime" >&6; }
20704
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20706 $as_echo_n "checking for nanosleep... " >&6; }
20707 if test x$gcc_no_link = xyes; then
20708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20709 fi
20710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20711 /* end confdefs.h. */
20712 #include <unistd.h>
20713 #include <time.h>
20714
20715 int
20716 main ()
20717 {
20718 #if _POSIX_TIMERS > 0
20719 timespec tp;
20720 #endif
20721 nanosleep(&tp, 0);
20722
20723 ;
20724 return 0;
20725 }
20726 _ACEOF
20727 if ac_fn_cxx_try_link "$LINENO"; then :
20728 ac_has_nanosleep=yes
20729 else
20730 ac_has_nanosleep=no
20731 fi
20732 rm -f core conftest.err conftest.$ac_objext \
20733 conftest$ac_exeext conftest.$ac_ext
20734
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20736 $as_echo "$ac_has_nanosleep" >&6; }
20737 fi
20738 fi
20739
20740 if test x"$ac_has_clock_monotonic" != x"yes"; then
20741 case ${target_os} in
20742 linux*)
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20744 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20746 /* end confdefs.h. */
20747 #include <unistd.h>
20748 #include <time.h>
20749 #include <sys/syscall.h>
20750
20751 int
20752 main ()
20753 {
20754 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20755 timespec tp;
20756 #endif
20757 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20758 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20759
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 if ac_fn_cxx_try_compile "$LINENO"; then :
20765 ac_has_clock_monotonic_syscall=yes
20766 else
20767 ac_has_clock_monotonic_syscall=no
20768 fi
20769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20771 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20772 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20773
20774 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20775
20776 ac_has_clock_monotonic=yes
20777 ac_has_clock_realtime=yes
20778 fi;;
20779 esac
20780 fi
20781
20782 if test x"$ac_has_clock_monotonic" = x"yes"; then
20783
20784 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20785
20786 fi
20787
20788 if test x"$ac_has_clock_realtime" = x"yes"; then
20789
20790 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20791
20792 fi
20793
20794 if test x"$ac_has_sched_yield" = x"yes"; then
20795
20796 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20797
20798 fi
20799
20800 if test x"$ac_has_nanosleep" = x"yes"; then
20801
20802 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20803
20804 else
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20806 $as_echo_n "checking for sleep... " >&6; }
20807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20809 #include <unistd.h>
20810 int
20811 main ()
20812 {
20813 sleep(1)
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 if ac_fn_cxx_try_compile "$LINENO"; then :
20819 ac_has_sleep=yes
20820 else
20821 ac_has_sleep=no
20822 fi
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 if test x"$ac_has_sleep" = x"yes"; then
20825
20826 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20827
20828 fi
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20830 $as_echo "$ac_has_sleep" >&6; }
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20832 $as_echo_n "checking for usleep... " >&6; }
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20835 #include <unistd.h>
20836 int
20837 main ()
20838 {
20839 sleep(1);
20840 usleep(100);
20841 ;
20842 return 0;
20843 }
20844 _ACEOF
20845 if ac_fn_cxx_try_compile "$LINENO"; then :
20846 ac_has_usleep=yes
20847 else
20848 ac_has_usleep=no
20849 fi
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 if test x"$ac_has_usleep" = x"yes"; then
20852
20853 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20854
20855 fi
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20857 $as_echo "$ac_has_usleep" >&6; }
20858 fi
20859
20860 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20862 $as_echo_n "checking for Sleep... " >&6; }
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #include <windows.h>
20866 int
20867 main ()
20868 {
20869 Sleep(1)
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 if ac_fn_cxx_try_compile "$LINENO"; then :
20875 ac_has_win32_sleep=yes
20876 else
20877 ac_has_win32_sleep=no
20878 fi
20879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20880 if test x"$ac_has_win32_sleep" = x"yes"; then
20881
20882 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20883
20884 fi
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20886 $as_echo "$ac_has_win32_sleep" >&6; }
20887 fi
20888
20889
20890
20891 CXXFLAGS="$ac_save_CXXFLAGS"
20892 LIBS="$ac_save_LIBS"
20893 ac_ext=c
20894 ac_cpp='$CPP $CPPFLAGS'
20895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20898
20899
20900
20901 # Check for tmpnam which is obsolescent in POSIX.1-2008
20902
20903 ac_ext=cpp
20904 ac_cpp='$CXXCPP $CPPFLAGS'
20905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20908
20909 ac_save_CXXFLAGS="$CXXFLAGS"
20910 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20912 $as_echo_n "checking for tmpnam... " >&6; }
20913 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20914 $as_echo_n "(cached) " >&6
20915 else
20916 if test x$gcc_no_link = xyes; then
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #include <stdio.h>
20920 int
20921 main ()
20922 {
20923 char *tmp = tmpnam(NULL);
20924 ;
20925 return 0;
20926 }
20927 _ACEOF
20928 if ac_fn_cxx_try_compile "$LINENO"; then :
20929 glibcxx_cv_TMPNAM=yes
20930 else
20931 glibcxx_cv_TMPNAM=no
20932 fi
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 else
20935 if test x$gcc_no_link = xyes; then
20936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20937 fi
20938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20939 /* end confdefs.h. */
20940 #include <stdio.h>
20941 int
20942 main ()
20943 {
20944 char *tmp = tmpnam(NULL);
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 if ac_fn_cxx_try_link "$LINENO"; then :
20950 glibcxx_cv_TMPNAM=yes
20951 else
20952 glibcxx_cv_TMPNAM=no
20953 fi
20954 rm -f core conftest.err conftest.$ac_objext \
20955 conftest$ac_exeext conftest.$ac_ext
20956 fi
20957
20958 fi
20959
20960 if test $glibcxx_cv_TMPNAM = yes; then
20961
20962 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20963
20964 fi
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20966 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20967 CXXFLAGS="$ac_save_CXXFLAGS"
20968 ac_ext=c
20969 ac_cpp='$CPP $CPPFLAGS'
20970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20973
20974
20975
20976
20977 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20978 if test "x$ac_cv_header_locale_h" = x""yes; then :
20979
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20981 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20982 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20983 $as_echo_n "(cached) " >&6
20984 else
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #include <locale.h>
20988 int
20989 main ()
20990 {
20991 return LC_MESSAGES
20992 ;
20993 return 0;
20994 }
20995 _ACEOF
20996 if ac_fn_c_try_compile "$LINENO"; then :
20997 ac_cv_val_LC_MESSAGES=yes
20998 else
20999 ac_cv_val_LC_MESSAGES=no
21000 fi
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21002 fi
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21004 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21005 if test $ac_cv_val_LC_MESSAGES = yes; then
21006
21007 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21008
21009 fi
21010
21011 fi
21012
21013
21014
21015
21016 # For hardware_concurrency
21017 for ac_header in sys/sysinfo.h
21018 do :
21019 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21020 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21021 cat >>confdefs.h <<_ACEOF
21022 #define HAVE_SYS_SYSINFO_H 1
21023 _ACEOF
21024
21025 fi
21026
21027 done
21028
21029
21030
21031
21032 ac_ext=cpp
21033 ac_cpp='$CXXCPP $CPPFLAGS'
21034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21037
21038 ac_save_CXXFLAGS="$CXXFLAGS"
21039 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21040
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21042 $as_echo_n "checking for get_nprocs... " >&6; }
21043 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21044 $as_echo_n "(cached) " >&6
21045 else
21046
21047 if test x$gcc_no_link = xyes; then
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #include <sys/sysinfo.h>
21051 int
21052 main ()
21053 {
21054 int n = get_nprocs();
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 glibcxx_cv_GET_NPROCS=yes
21061 else
21062 glibcxx_cv_GET_NPROCS=no
21063 fi
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 else
21066 if test x$gcc_no_link = xyes; then
21067 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21068 fi
21069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21071 #include <sys/sysinfo.h>
21072 int
21073 main ()
21074 {
21075 int n = get_nprocs();
21076 ;
21077 return 0;
21078 }
21079 _ACEOF
21080 if ac_fn_cxx_try_link "$LINENO"; then :
21081 glibcxx_cv_GET_NPROCS=yes
21082 else
21083 glibcxx_cv_GET_NPROCS=no
21084 fi
21085 rm -f core conftest.err conftest.$ac_objext \
21086 conftest$ac_exeext conftest.$ac_ext
21087 fi
21088
21089 fi
21090
21091 if test $glibcxx_cv_GET_NPROCS = yes; then
21092
21093 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21094
21095 fi
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21097 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21098
21099 CXXFLAGS="$ac_save_CXXFLAGS"
21100 ac_ext=c
21101 ac_cpp='$CPP $CPPFLAGS'
21102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21105
21106
21107 for ac_header in unistd.h
21108 do :
21109 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21110 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21111 cat >>confdefs.h <<_ACEOF
21112 #define HAVE_UNISTD_H 1
21113 _ACEOF
21114
21115 fi
21116
21117 done
21118
21119
21120
21121
21122 ac_ext=cpp
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127
21128 ac_save_CXXFLAGS="$CXXFLAGS"
21129 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21130
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21132 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21133 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21134 $as_echo_n "(cached) " >&6
21135 else
21136
21137 if test x$gcc_no_link = xyes; then
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140 #include <unistd.h>
21141 int
21142 main ()
21143 {
21144 int n = sysconf(_SC_NPROCESSORS_ONLN);
21145 ;
21146 return 0;
21147 }
21148 _ACEOF
21149 if ac_fn_cxx_try_compile "$LINENO"; then :
21150 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21151 else
21152 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21153 fi
21154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155 else
21156 if test x$gcc_no_link = xyes; then
21157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21158 fi
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <unistd.h>
21162 int
21163 main ()
21164 {
21165 int n = sysconf(_SC_NPROCESSORS_ONLN);
21166 ;
21167 return 0;
21168 }
21169 _ACEOF
21170 if ac_fn_cxx_try_link "$LINENO"; then :
21171 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21172 else
21173 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21174 fi
21175 rm -f core conftest.err conftest.$ac_objext \
21176 conftest$ac_exeext conftest.$ac_ext
21177 fi
21178
21179 fi
21180
21181 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21182
21183 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21184
21185 fi
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21187 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21188
21189 CXXFLAGS="$ac_save_CXXFLAGS"
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195
21196
21197
21198
21199
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206 ac_save_CXXFLAGS="$CXXFLAGS"
21207 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21208
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21210 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21211 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21212 $as_echo_n "(cached) " >&6
21213 else
21214
21215 if test x$gcc_no_link = xyes; then
21216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 /* end confdefs.h. */
21218 #include <unistd.h>
21219 int
21220 main ()
21221 {
21222 int n = sysconf(_SC_NPROC_ONLN);
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 if ac_fn_cxx_try_compile "$LINENO"; then :
21228 glibcxx_cv_SC_NPROC_ONLN=yes
21229 else
21230 glibcxx_cv_SC_NPROC_ONLN=no
21231 fi
21232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21233 else
21234 if test x$gcc_no_link = xyes; then
21235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21236 fi
21237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21238 /* end confdefs.h. */
21239 #include <unistd.h>
21240 int
21241 main ()
21242 {
21243 int n = sysconf(_SC_NPROC_ONLN);
21244 ;
21245 return 0;
21246 }
21247 _ACEOF
21248 if ac_fn_cxx_try_link "$LINENO"; then :
21249 glibcxx_cv_SC_NPROC_ONLN=yes
21250 else
21251 glibcxx_cv_SC_NPROC_ONLN=no
21252 fi
21253 rm -f core conftest.err conftest.$ac_objext \
21254 conftest$ac_exeext conftest.$ac_ext
21255 fi
21256
21257 fi
21258
21259 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21260
21261 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21262
21263 fi
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21265 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21266
21267 CXXFLAGS="$ac_save_CXXFLAGS"
21268 ac_ext=c
21269 ac_cpp='$CPP $CPPFLAGS'
21270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273
21274
21275
21276
21277
21278 ac_ext=cpp
21279 ac_cpp='$CXXCPP $CPPFLAGS'
21280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21283
21284 ac_save_CXXFLAGS="$CXXFLAGS"
21285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21286
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21288 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21289 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292
21293 if test x$gcc_no_link = xyes; then
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21295 /* end confdefs.h. */
21296 #include <pthread.h>
21297 int
21298 main ()
21299 {
21300 int n = pthread_num_processors_np();
21301 ;
21302 return 0;
21303 }
21304 _ACEOF
21305 if ac_fn_cxx_try_compile "$LINENO"; then :
21306 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21307 else
21308 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21309 fi
21310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21311 else
21312 if test x$gcc_no_link = xyes; then
21313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21314 fi
21315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21316 /* end confdefs.h. */
21317 #include <pthread.h>
21318 int
21319 main ()
21320 {
21321 int n = pthread_num_processors_np();
21322 ;
21323 return 0;
21324 }
21325 _ACEOF
21326 if ac_fn_cxx_try_link "$LINENO"; then :
21327 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21328 else
21329 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21330 fi
21331 rm -f core conftest.err conftest.$ac_objext \
21332 conftest$ac_exeext conftest.$ac_ext
21333 fi
21334
21335 fi
21336
21337 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21338
21339 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21340
21341 fi
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21343 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21344
21345 CXXFLAGS="$ac_save_CXXFLAGS"
21346 ac_ext=c
21347 ac_cpp='$CPP $CPPFLAGS'
21348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21351
21352
21353
21354
21355
21356 ac_ext=cpp
21357 ac_cpp='$CXXCPP $CPPFLAGS'
21358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21361
21362 ac_save_CXXFLAGS="$CXXFLAGS"
21363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21364
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21366 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21367 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21368 $as_echo_n "(cached) " >&6
21369 else
21370
21371 if test x$gcc_no_link = xyes; then
21372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h. */
21374
21375 #include <stddef.h>
21376 #include <sys/sysctl.h>
21377
21378 int
21379 main ()
21380 {
21381
21382 int count;
21383 size_t size = sizeof(count);
21384 int mib[] = { CTL_HW, HW_NCPU };
21385 sysctl(mib, 2, &count, &size, NULL, 0);
21386
21387 ;
21388 return 0;
21389 }
21390 _ACEOF
21391 if ac_fn_cxx_try_compile "$LINENO"; then :
21392 glibcxx_cv_SYSCTL_HW_NCPU=yes
21393 else
21394 glibcxx_cv_SYSCTL_HW_NCPU=no
21395 fi
21396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21397 else
21398 if test x$gcc_no_link = xyes; then
21399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21400 fi
21401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21402 /* end confdefs.h. */
21403
21404 #include <stddef.h>
21405 #include <sys/sysctl.h>
21406
21407 int
21408 main ()
21409 {
21410
21411 int count;
21412 size_t size = sizeof(count);
21413 int mib[] = { CTL_HW, HW_NCPU };
21414 sysctl(mib, 2, &count, &size, NULL, 0);
21415
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 if ac_fn_cxx_try_link "$LINENO"; then :
21421 glibcxx_cv_SYSCTL_HW_NCPU=yes
21422 else
21423 glibcxx_cv_SYSCTL_HW_NCPU=no
21424 fi
21425 rm -f core conftest.err conftest.$ac_objext \
21426 conftest$ac_exeext conftest.$ac_ext
21427 fi
21428
21429 fi
21430
21431 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21432
21433 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21434
21435 fi
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21437 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21438
21439 CXXFLAGS="$ac_save_CXXFLAGS"
21440 ac_ext=c
21441 ac_cpp='$CPP $CPPFLAGS'
21442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21445
21446
21447
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21449 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21450 # Note that this test has to be run with the C language.
21451 # Otherwise, sdt.h will try to include some headers from
21452 # libstdc++ itself.
21453
21454 ac_ext=c
21455 ac_cpp='$CPP $CPPFLAGS'
21456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21459
21460 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21461 $as_echo_n "(cached) " >&6
21462 else
21463
21464 # Because we have to run the test in C, we use grep rather
21465 # than the compiler to check for the bug. The bug is that
21466 # were strings without trailing whitespace, causing g++
21467 # to look for operator"". The pattern searches for the fixed
21468 # output.
21469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21470 /* end confdefs.h. */
21471
21472 #include <sys/sdt.h>
21473 int f() { STAP_PROBE(hi, bob); }
21474
21475 _ACEOF
21476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21477 $EGREP " \",\" " >/dev/null 2>&1; then :
21478 glibcxx_cv_sys_sdt_h=yes
21479 else
21480 glibcxx_cv_sys_sdt_h=no
21481 fi
21482 rm -f conftest*
21483
21484
21485 fi
21486
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492
21493 if test $glibcxx_cv_sys_sdt_h = yes; then
21494
21495 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21496
21497 fi
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21499 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21500
21501
21502 # Check for available headers.
21503 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21504 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21505 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21506 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21507 wchar.h wctype.h
21508 do :
21509 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21510 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21511 eval as_val=\$$as_ac_Header
21512 if test "x$as_val" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21515 _ACEOF
21516
21517 fi
21518
21519 done
21520
21521
21522 # Only do link tests if native. Else, hardcode.
21523 if $GLIBCXX_IS_NATIVE; then
21524
21525 # We can do more elaborate tests that assume a working linker.
21526 CANADIAN=no
21527
21528
21529
21530 # Check whether --with-gnu-ld was given.
21531 if test "${with_gnu_ld+set}" = set; then :
21532 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21533 else
21534 with_gnu_ld=no
21535 fi
21536
21537 ac_prog=ld
21538 if test "$GCC" = yes; then
21539 # Check if gcc -print-prog-name=ld gives a path.
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21541 $as_echo_n "checking for ld used by $CC... " >&6; }
21542 case $host in
21543 *-*-mingw*)
21544 # gcc leaves a trailing carriage return which upsets mingw
21545 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21546 *)
21547 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21548 esac
21549 case $ac_prog in
21550 # Accept absolute paths.
21551 [\\/]* | ?:[\\/]*)
21552 re_direlt='/[^/][^/]*/\.\./'
21553 # Canonicalize the pathname of ld
21554 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21555 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21556 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21557 done
21558 test -z "$LD" && LD="$ac_prog"
21559 ;;
21560 "")
21561 # If it fails, then pretend we aren't using GCC.
21562 ac_prog=ld
21563 ;;
21564 *)
21565 # If it is relative, then search for the first ld in PATH.
21566 with_gnu_ld=unknown
21567 ;;
21568 esac
21569 elif test "$with_gnu_ld" = yes; then
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21571 $as_echo_n "checking for GNU ld... " >&6; }
21572 else
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21574 $as_echo_n "checking for non-GNU ld... " >&6; }
21575 fi
21576 if test "${lt_cv_path_LD+set}" = set; then :
21577 $as_echo_n "(cached) " >&6
21578 else
21579 if test -z "$LD"; then
21580 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21581 for ac_dir in $PATH; do
21582 IFS="$lt_save_ifs"
21583 test -z "$ac_dir" && ac_dir=.
21584 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21585 lt_cv_path_LD="$ac_dir/$ac_prog"
21586 # Check to see if the program is GNU ld. I'd rather use --version,
21587 # but apparently some variants of GNU ld only accept -v.
21588 # Break only if it was the GNU/non-GNU ld that we prefer.
21589 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21590 *GNU* | *'with BFD'*)
21591 test "$with_gnu_ld" != no && break
21592 ;;
21593 *)
21594 test "$with_gnu_ld" != yes && break
21595 ;;
21596 esac
21597 fi
21598 done
21599 IFS="$lt_save_ifs"
21600 else
21601 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21602 fi
21603 fi
21604
21605 LD="$lt_cv_path_LD"
21606 if test -n "$LD"; then
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21608 $as_echo "$LD" >&6; }
21609 else
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21611 $as_echo "no" >&6; }
21612 fi
21613 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21615 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21616 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21617 $as_echo_n "(cached) " >&6
21618 else
21619 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21620 case `$LD -v 2>&1 </dev/null` in
21621 *GNU* | *'with BFD'*)
21622 lt_cv_prog_gnu_ld=yes
21623 ;;
21624 *)
21625 lt_cv_prog_gnu_ld=no
21626 ;;
21627 esac
21628 fi
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21630 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21631 with_gnu_ld=$lt_cv_prog_gnu_ld
21632
21633
21634
21635
21636
21637
21638
21639 # If we're not using GNU ld, then there's no point in even trying these
21640 # tests. Check for that first. We should have already tested for gld
21641 # by now (in libtool), but require it now just to be safe...
21642 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21643 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21644
21645
21646
21647 # The name set by libtool depends on the version of libtool. Shame on us
21648 # for depending on an impl detail, but c'est la vie. Older versions used
21649 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21650 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21651 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21652 # set (hence we're using an older libtool), then set it.
21653 if test x${with_gnu_ld+set} != xset; then
21654 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21655 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21656 with_gnu_ld=no
21657 else
21658 with_gnu_ld=$ac_cv_prog_gnu_ld
21659 fi
21660 fi
21661
21662 # Start by getting the version number. I think the libtool test already
21663 # does some of this, but throws away the result.
21664 glibcxx_ld_is_gold=no
21665 if test x"$with_gnu_ld" = x"yes"; then
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21667 $as_echo_n "checking for ld version... " >&6; }
21668
21669 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21670 glibcxx_ld_is_gold=yes
21671 fi
21672 ldver=`$LD --version 2>/dev/null |
21673 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'`
21674
21675 glibcxx_gnu_ld_version=`echo $ldver | \
21676 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21678 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21679 fi
21680
21681 # Set --gc-sections.
21682 glibcxx_have_gc_sections=no
21683 if test "$glibcxx_ld_is_gold" = "yes"; then
21684 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21685 glibcxx_have_gc_sections=yes
21686 fi
21687 else
21688 glibcxx_gcsections_min_ld=21602
21689 if test x"$with_gnu_ld" = x"yes" &&
21690 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21691 glibcxx_have_gc_sections=yes
21692 fi
21693 fi
21694 if test "$glibcxx_have_gc_sections" = "yes"; then
21695 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21696 # NB: This flag only works reliably after 2.16.1. Configure tests
21697 # for this are difficult, so hard wire a value that should work.
21698
21699 ac_test_CFLAGS="${CFLAGS+set}"
21700 ac_save_CFLAGS="$CFLAGS"
21701 CFLAGS='-Wl,--gc-sections'
21702
21703 # Check for -Wl,--gc-sections
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21705 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21706 if test x$gcc_no_link = xyes; then
21707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21708 fi
21709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21710 /* end confdefs.h. */
21711 int one(void) { return 1; }
21712 int two(void) { return 2; }
21713
21714 int
21715 main ()
21716 {
21717 two();
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 if ac_fn_c_try_link "$LINENO"; then :
21723 ac_gcsections=yes
21724 else
21725 ac_gcsections=no
21726 fi
21727 rm -f core conftest.err conftest.$ac_objext \
21728 conftest$ac_exeext conftest.$ac_ext
21729 if test "$ac_gcsections" = "yes"; then
21730 rm -f conftest.c
21731 touch conftest.c
21732 if $CC -c conftest.c; then
21733 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21734 grep "Warning: gc-sections option ignored" > /dev/null; then
21735 ac_gcsections=no
21736 fi
21737 fi
21738 rm -f conftest.c conftest.o conftest
21739 fi
21740 if test "$ac_gcsections" = "yes"; then
21741 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21742 fi
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21744 $as_echo "$ac_gcsections" >&6; }
21745
21746 if test "$ac_test_CFLAGS" = set; then
21747 CFLAGS="$ac_save_CFLAGS"
21748 else
21749 # this is the suspicious part
21750 CFLAGS=''
21751 fi
21752 fi
21753
21754 # Set -z,relro.
21755 # Note this is only for shared objects.
21756 ac_ld_relro=no
21757 if test x"$with_gnu_ld" = x"yes"; then
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21759 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21760 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21761 if test -n "$cxx_z_relo"; then
21762 OPT_LDFLAGS="-Wl,-z,relro"
21763 ac_ld_relro=yes
21764 fi
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21766 $as_echo "$ac_ld_relro" >&6; }
21767 fi
21768
21769 # Set linker optimization flags.
21770 if test x"$with_gnu_ld" = x"yes"; then
21771 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21772 fi
21773
21774
21775
21776
21777
21778 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21779 ac_save_CXXFLAGS="$CXXFLAGS"
21780 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21781
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21783 $as_echo_n "checking for sin in -lm... " >&6; }
21784 if test "${ac_cv_lib_m_sin+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21787 ac_check_lib_save_LIBS=$LIBS
21788 LIBS="-lm $LIBS"
21789 if test x$gcc_no_link = xyes; then
21790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21791 fi
21792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21793 /* end confdefs.h. */
21794
21795 /* Override any GCC internal prototype to avoid an error.
21796 Use char because int might match the return type of a GCC
21797 builtin and then its argument prototype would still apply. */
21798 #ifdef __cplusplus
21799 extern "C"
21800 #endif
21801 char sin ();
21802 int
21803 main ()
21804 {
21805 return sin ();
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 if ac_fn_c_try_link "$LINENO"; then :
21811 ac_cv_lib_m_sin=yes
21812 else
21813 ac_cv_lib_m_sin=no
21814 fi
21815 rm -f core conftest.err conftest.$ac_objext \
21816 conftest$ac_exeext conftest.$ac_ext
21817 LIBS=$ac_check_lib_save_LIBS
21818 fi
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21820 $as_echo "$ac_cv_lib_m_sin" >&6; }
21821 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21822 libm="-lm"
21823 fi
21824
21825 ac_save_LIBS="$LIBS"
21826 LIBS="$LIBS $libm"
21827
21828
21829
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21831 $as_echo_n "checking for isinf declaration... " >&6; }
21832 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21833 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21834 $as_echo_n "(cached) " >&6
21835 else
21836
21837
21838 ac_ext=cpp
21839 ac_cpp='$CXXCPP $CPPFLAGS'
21840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21843
21844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21845 /* end confdefs.h. */
21846 #include <math.h>
21847 #ifdef HAVE_IEEEFP_H
21848 #include <ieeefp.h>
21849 #endif
21850
21851 int
21852 main ()
21853 {
21854 isinf(0);
21855 ;
21856 return 0;
21857 }
21858 _ACEOF
21859 if ac_fn_cxx_try_compile "$LINENO"; then :
21860 glibcxx_cv_func_isinf_use=yes
21861 else
21862 glibcxx_cv_func_isinf_use=no
21863 fi
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ac_ext=c
21866 ac_cpp='$CPP $CPPFLAGS'
21867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21870
21871
21872 fi
21873
21874 fi
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21876 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21877
21878 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21879 for ac_func in isinf
21880 do :
21881 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21882 if test "x$ac_cv_func_isinf" = x""yes; then :
21883 cat >>confdefs.h <<_ACEOF
21884 #define HAVE_ISINF 1
21885 _ACEOF
21886
21887 fi
21888 done
21889
21890 else
21891
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21893 $as_echo_n "checking for _isinf declaration... " >&6; }
21894 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21895 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21896 $as_echo_n "(cached) " >&6
21897 else
21898
21899
21900 ac_ext=cpp
21901 ac_cpp='$CXXCPP $CPPFLAGS'
21902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21905
21906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907 /* end confdefs.h. */
21908 #include <math.h>
21909 #ifdef HAVE_IEEEFP_H
21910 #include <ieeefp.h>
21911 #endif
21912
21913 int
21914 main ()
21915 {
21916 _isinf(0);
21917 ;
21918 return 0;
21919 }
21920 _ACEOF
21921 if ac_fn_cxx_try_compile "$LINENO"; then :
21922 glibcxx_cv_func__isinf_use=yes
21923 else
21924 glibcxx_cv_func__isinf_use=no
21925 fi
21926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 ac_ext=c
21928 ac_cpp='$CPP $CPPFLAGS'
21929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21932
21933
21934 fi
21935
21936 fi
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21938 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21939
21940 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21941 for ac_func in _isinf
21942 do :
21943 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21944 if test "x$ac_cv_func__isinf" = x""yes; then :
21945 cat >>confdefs.h <<_ACEOF
21946 #define HAVE__ISINF 1
21947 _ACEOF
21948
21949 fi
21950 done
21951
21952 fi
21953 fi
21954
21955
21956
21957
21958
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21960 $as_echo_n "checking for isnan declaration... " >&6; }
21961 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21962 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21963 $as_echo_n "(cached) " >&6
21964 else
21965
21966
21967 ac_ext=cpp
21968 ac_cpp='$CXXCPP $CPPFLAGS'
21969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21972
21973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21974 /* end confdefs.h. */
21975 #include <math.h>
21976 #ifdef HAVE_IEEEFP_H
21977 #include <ieeefp.h>
21978 #endif
21979
21980 int
21981 main ()
21982 {
21983 isnan(0);
21984 ;
21985 return 0;
21986 }
21987 _ACEOF
21988 if ac_fn_cxx_try_compile "$LINENO"; then :
21989 glibcxx_cv_func_isnan_use=yes
21990 else
21991 glibcxx_cv_func_isnan_use=no
21992 fi
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21994 ac_ext=c
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21999
22000
22001 fi
22002
22003 fi
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22005 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22006
22007 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22008 for ac_func in isnan
22009 do :
22010 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22011 if test "x$ac_cv_func_isnan" = x""yes; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define HAVE_ISNAN 1
22014 _ACEOF
22015
22016 fi
22017 done
22018
22019 else
22020
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22022 $as_echo_n "checking for _isnan declaration... " >&6; }
22023 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22024 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22027
22028
22029 ac_ext=cpp
22030 ac_cpp='$CXXCPP $CPPFLAGS'
22031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22034
22035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 /* end confdefs.h. */
22037 #include <math.h>
22038 #ifdef HAVE_IEEEFP_H
22039 #include <ieeefp.h>
22040 #endif
22041
22042 int
22043 main ()
22044 {
22045 _isnan(0);
22046 ;
22047 return 0;
22048 }
22049 _ACEOF
22050 if ac_fn_cxx_try_compile "$LINENO"; then :
22051 glibcxx_cv_func__isnan_use=yes
22052 else
22053 glibcxx_cv_func__isnan_use=no
22054 fi
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 ac_ext=c
22057 ac_cpp='$CPP $CPPFLAGS'
22058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22061
22062
22063 fi
22064
22065 fi
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22067 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22068
22069 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22070 for ac_func in _isnan
22071 do :
22072 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22073 if test "x$ac_cv_func__isnan" = x""yes; then :
22074 cat >>confdefs.h <<_ACEOF
22075 #define HAVE__ISNAN 1
22076 _ACEOF
22077
22078 fi
22079 done
22080
22081 fi
22082 fi
22083
22084
22085
22086
22087
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22089 $as_echo_n "checking for finite declaration... " >&6; }
22090 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22091 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22092 $as_echo_n "(cached) " >&6
22093 else
22094
22095
22096 ac_ext=cpp
22097 ac_cpp='$CXXCPP $CPPFLAGS'
22098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22101
22102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22103 /* end confdefs.h. */
22104 #include <math.h>
22105 #ifdef HAVE_IEEEFP_H
22106 #include <ieeefp.h>
22107 #endif
22108
22109 int
22110 main ()
22111 {
22112 finite(0);
22113 ;
22114 return 0;
22115 }
22116 _ACEOF
22117 if ac_fn_cxx_try_compile "$LINENO"; then :
22118 glibcxx_cv_func_finite_use=yes
22119 else
22120 glibcxx_cv_func_finite_use=no
22121 fi
22122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22123 ac_ext=c
22124 ac_cpp='$CPP $CPPFLAGS'
22125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22128
22129
22130 fi
22131
22132 fi
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22134 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22135
22136 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22137 for ac_func in finite
22138 do :
22139 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22140 if test "x$ac_cv_func_finite" = x""yes; then :
22141 cat >>confdefs.h <<_ACEOF
22142 #define HAVE_FINITE 1
22143 _ACEOF
22144
22145 fi
22146 done
22147
22148 else
22149
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22151 $as_echo_n "checking for _finite declaration... " >&6; }
22152 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22153 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22154 $as_echo_n "(cached) " >&6
22155 else
22156
22157
22158 ac_ext=cpp
22159 ac_cpp='$CXXCPP $CPPFLAGS'
22160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22163
22164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22165 /* end confdefs.h. */
22166 #include <math.h>
22167 #ifdef HAVE_IEEEFP_H
22168 #include <ieeefp.h>
22169 #endif
22170
22171 int
22172 main ()
22173 {
22174 _finite(0);
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 if ac_fn_cxx_try_compile "$LINENO"; then :
22180 glibcxx_cv_func__finite_use=yes
22181 else
22182 glibcxx_cv_func__finite_use=no
22183 fi
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 ac_ext=c
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190
22191
22192 fi
22193
22194 fi
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22196 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22197
22198 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22199 for ac_func in _finite
22200 do :
22201 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22202 if test "x$ac_cv_func__finite" = x""yes; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define HAVE__FINITE 1
22205 _ACEOF
22206
22207 fi
22208 done
22209
22210 fi
22211 fi
22212
22213
22214
22215
22216
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22218 $as_echo_n "checking for sincos declaration... " >&6; }
22219 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22220 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22221 $as_echo_n "(cached) " >&6
22222 else
22223
22224
22225 ac_ext=cpp
22226 ac_cpp='$CXXCPP $CPPFLAGS'
22227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22230
22231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22232 /* end confdefs.h. */
22233 #include <math.h>
22234 int
22235 main ()
22236 {
22237 sincos(0, 0, 0);
22238 ;
22239 return 0;
22240 }
22241 _ACEOF
22242 if ac_fn_cxx_try_compile "$LINENO"; then :
22243 glibcxx_cv_func_sincos_use=yes
22244 else
22245 glibcxx_cv_func_sincos_use=no
22246 fi
22247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22248 ac_ext=c
22249 ac_cpp='$CPP $CPPFLAGS'
22250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22253
22254
22255 fi
22256
22257 fi
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22259 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22260
22261 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22262 for ac_func in sincos
22263 do :
22264 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22265 if test "x$ac_cv_func_sincos" = x""yes; then :
22266 cat >>confdefs.h <<_ACEOF
22267 #define HAVE_SINCOS 1
22268 _ACEOF
22269
22270 fi
22271 done
22272
22273 else
22274
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22276 $as_echo_n "checking for _sincos declaration... " >&6; }
22277 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22278 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22279 $as_echo_n "(cached) " >&6
22280 else
22281
22282
22283 ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22290 /* end confdefs.h. */
22291 #include <math.h>
22292 int
22293 main ()
22294 {
22295 _sincos(0, 0, 0);
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 if ac_fn_cxx_try_compile "$LINENO"; then :
22301 glibcxx_cv_func__sincos_use=yes
22302 else
22303 glibcxx_cv_func__sincos_use=no
22304 fi
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 ac_ext=c
22307 ac_cpp='$CPP $CPPFLAGS'
22308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22311
22312
22313 fi
22314
22315 fi
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22317 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22318
22319 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22320 for ac_func in _sincos
22321 do :
22322 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22323 if test "x$ac_cv_func__sincos" = x""yes; then :
22324 cat >>confdefs.h <<_ACEOF
22325 #define HAVE__SINCOS 1
22326 _ACEOF
22327
22328 fi
22329 done
22330
22331 fi
22332 fi
22333
22334
22335
22336
22337
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22339 $as_echo_n "checking for fpclass declaration... " >&6; }
22340 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22341 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22342 $as_echo_n "(cached) " >&6
22343 else
22344
22345
22346 ac_ext=cpp
22347 ac_cpp='$CXXCPP $CPPFLAGS'
22348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22351
22352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22353 /* end confdefs.h. */
22354 #include <math.h>
22355 #ifdef HAVE_IEEEFP_H
22356 #include <ieeefp.h>
22357 #endif
22358
22359 int
22360 main ()
22361 {
22362 fpclass(0);
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 if ac_fn_cxx_try_compile "$LINENO"; then :
22368 glibcxx_cv_func_fpclass_use=yes
22369 else
22370 glibcxx_cv_func_fpclass_use=no
22371 fi
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 ac_ext=c
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22378
22379
22380 fi
22381
22382 fi
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22384 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22385
22386 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22387 for ac_func in fpclass
22388 do :
22389 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22390 if test "x$ac_cv_func_fpclass" = x""yes; then :
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE_FPCLASS 1
22393 _ACEOF
22394
22395 fi
22396 done
22397
22398 else
22399
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22401 $as_echo_n "checking for _fpclass declaration... " >&6; }
22402 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22403 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22404 $as_echo_n "(cached) " >&6
22405 else
22406
22407
22408 ac_ext=cpp
22409 ac_cpp='$CXXCPP $CPPFLAGS'
22410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22413
22414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22415 /* end confdefs.h. */
22416 #include <math.h>
22417 #ifdef HAVE_IEEEFP_H
22418 #include <ieeefp.h>
22419 #endif
22420
22421 int
22422 main ()
22423 {
22424 _fpclass(0);
22425 ;
22426 return 0;
22427 }
22428 _ACEOF
22429 if ac_fn_cxx_try_compile "$LINENO"; then :
22430 glibcxx_cv_func__fpclass_use=yes
22431 else
22432 glibcxx_cv_func__fpclass_use=no
22433 fi
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442 fi
22443
22444 fi
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22446 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22447
22448 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22449 for ac_func in _fpclass
22450 do :
22451 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22452 if test "x$ac_cv_func__fpclass" = x""yes; then :
22453 cat >>confdefs.h <<_ACEOF
22454 #define HAVE__FPCLASS 1
22455 _ACEOF
22456
22457 fi
22458 done
22459
22460 fi
22461 fi
22462
22463
22464
22465
22466
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22468 $as_echo_n "checking for qfpclass declaration... " >&6; }
22469 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22470 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22471 $as_echo_n "(cached) " >&6
22472 else
22473
22474
22475 ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480
22481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22483 #include <math.h>
22484 #ifdef HAVE_IEEEFP_H
22485 #include <ieeefp.h>
22486 #endif
22487
22488 int
22489 main ()
22490 {
22491 qfpclass(0);
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 if ac_fn_cxx_try_compile "$LINENO"; then :
22497 glibcxx_cv_func_qfpclass_use=yes
22498 else
22499 glibcxx_cv_func_qfpclass_use=no
22500 fi
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507
22508
22509 fi
22510
22511 fi
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22513 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22514
22515 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22516 for ac_func in qfpclass
22517 do :
22518 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22519 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22520 cat >>confdefs.h <<_ACEOF
22521 #define HAVE_QFPCLASS 1
22522 _ACEOF
22523
22524 fi
22525 done
22526
22527 else
22528
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22530 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22531 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22532 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535
22536
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22542
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 #ifdef HAVE_IEEEFP_H
22547 #include <ieeefp.h>
22548 #endif
22549
22550 int
22551 main ()
22552 {
22553 _qfpclass(0);
22554 ;
22555 return 0;
22556 }
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func__qfpclass_use=yes
22560 else
22561 glibcxx_cv_func__qfpclass_use=no
22562 fi
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569
22570
22571 fi
22572
22573 fi
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22575 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22576
22577 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22578 for ac_func in _qfpclass
22579 do :
22580 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22581 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE__QFPCLASS 1
22584 _ACEOF
22585
22586 fi
22587 done
22588
22589 fi
22590 fi
22591
22592
22593
22594
22595
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22597 $as_echo_n "checking for hypot declaration... " >&6; }
22598 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22599 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22600 $as_echo_n "(cached) " >&6
22601 else
22602
22603
22604 ac_ext=cpp
22605 ac_cpp='$CXXCPP $CPPFLAGS'
22606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22609
22610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22611 /* end confdefs.h. */
22612 #include <math.h>
22613 int
22614 main ()
22615 {
22616 hypot(0, 0);
22617 ;
22618 return 0;
22619 }
22620 _ACEOF
22621 if ac_fn_cxx_try_compile "$LINENO"; then :
22622 glibcxx_cv_func_hypot_use=yes
22623 else
22624 glibcxx_cv_func_hypot_use=no
22625 fi
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627 ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632
22633
22634 fi
22635
22636 fi
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22638 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22639
22640 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22641 for ac_func in hypot
22642 do :
22643 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22644 if test "x$ac_cv_func_hypot" = x""yes; then :
22645 cat >>confdefs.h <<_ACEOF
22646 #define HAVE_HYPOT 1
22647 _ACEOF
22648
22649 fi
22650 done
22651
22652 else
22653
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22655 $as_echo_n "checking for _hypot declaration... " >&6; }
22656 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22657 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22660
22661
22662 ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22667
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22670 #include <math.h>
22671 int
22672 main ()
22673 {
22674 _hypot(0, 0);
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func__hypot_use=yes
22681 else
22682 glibcxx_cv_func__hypot_use=no
22683 fi
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690
22691
22692 fi
22693
22694 fi
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22696 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22697
22698 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22699 for ac_func in _hypot
22700 do :
22701 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22702 if test "x$ac_cv_func__hypot" = x""yes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE__HYPOT 1
22705 _ACEOF
22706
22707 fi
22708 done
22709
22710 fi
22711 fi
22712
22713
22714
22715
22716
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22718 $as_echo_n "checking for float trig functions... " >&6; }
22719 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22720 $as_echo_n "(cached) " >&6
22721 else
22722
22723
22724 ac_ext=cpp
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22732 #include <math.h>
22733 int
22734 main ()
22735 {
22736 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22737 ;
22738 return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func_float_trig_use=yes
22743 else
22744 glibcxx_cv_func_float_trig_use=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752
22753 fi
22754
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22756 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22757 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22758 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22759 do :
22760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22762 eval as_val=\$$as_ac_var
22763 if test "x$as_val" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22766 _ACEOF
22767
22768 fi
22769 done
22770
22771 else
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22773 $as_echo_n "checking for _float trig functions... " >&6; }
22774 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22777
22778
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22788 int
22789 main ()
22790 {
22791 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22792 ;
22793 return 0;
22794 }
22795 _ACEOF
22796 if ac_fn_cxx_try_compile "$LINENO"; then :
22797 glibcxx_cv_func__float_trig_use=yes
22798 else
22799 glibcxx_cv_func__float_trig_use=no
22800 fi
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808 fi
22809
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22811 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22812 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22813 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22814 do :
22815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22817 eval as_val=\$$as_ac_var
22818 if test "x$as_val" = x""yes; then :
22819 cat >>confdefs.h <<_ACEOF
22820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22821 _ACEOF
22822
22823 fi
22824 done
22825
22826 fi
22827 fi
22828
22829
22830
22831
22832
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22834 $as_echo_n "checking for float round functions... " >&6; }
22835 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22836 $as_echo_n "(cached) " >&6
22837 else
22838
22839
22840 ac_ext=cpp
22841 ac_cpp='$CXXCPP $CPPFLAGS'
22842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22848 #include <math.h>
22849 int
22850 main ()
22851 {
22852 ceilf (0); floorf (0);
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 if ac_fn_cxx_try_compile "$LINENO"; then :
22858 glibcxx_cv_func_float_round_use=yes
22859 else
22860 glibcxx_cv_func_float_round_use=no
22861 fi
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 ac_ext=c
22864 ac_cpp='$CPP $CPPFLAGS'
22865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22868
22869 fi
22870
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22872 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22873 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22874 for ac_func in ceilf floorf
22875 do :
22876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22878 eval as_val=\$$as_ac_var
22879 if test "x$as_val" = x""yes; then :
22880 cat >>confdefs.h <<_ACEOF
22881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22882 _ACEOF
22883
22884 fi
22885 done
22886
22887 else
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22889 $as_echo_n "checking for _float round functions... " >&6; }
22890 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22892 else
22893
22894
22895 ac_ext=cpp
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900
22901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22902 /* end confdefs.h. */
22903 #include <math.h>
22904 int
22905 main ()
22906 {
22907 _ceilf (0); _floorf (0);
22908 ;
22909 return 0;
22910 }
22911 _ACEOF
22912 if ac_fn_cxx_try_compile "$LINENO"; then :
22913 glibcxx_cv_func__float_round_use=yes
22914 else
22915 glibcxx_cv_func__float_round_use=no
22916 fi
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ac_ext=c
22919 ac_cpp='$CPP $CPPFLAGS'
22920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22923
22924 fi
22925
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22927 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22928 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22929 for ac_func in _ceilf _floorf
22930 do :
22931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22933 eval as_val=\$$as_ac_var
22934 if test "x$as_val" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22937 _ACEOF
22938
22939 fi
22940 done
22941
22942 fi
22943 fi
22944
22945
22946
22947
22948
22949
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22951 $as_echo_n "checking for expf declaration... " >&6; }
22952 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22953 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22954 $as_echo_n "(cached) " >&6
22955 else
22956
22957
22958 ac_ext=cpp
22959 ac_cpp='$CXXCPP $CPPFLAGS'
22960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963
22964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22965 /* end confdefs.h. */
22966 #include <math.h>
22967 #ifdef HAVE_IEEEFP_H
22968 #include <ieeefp.h>
22969 #endif
22970
22971 int
22972 main ()
22973 {
22974 expf(0);
22975 ;
22976 return 0;
22977 }
22978 _ACEOF
22979 if ac_fn_cxx_try_compile "$LINENO"; then :
22980 glibcxx_cv_func_expf_use=yes
22981 else
22982 glibcxx_cv_func_expf_use=no
22983 fi
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22985 ac_ext=c
22986 ac_cpp='$CPP $CPPFLAGS'
22987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22990
22991
22992 fi
22993
22994 fi
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22996 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22997
22998 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22999 for ac_func in expf
23000 do :
23001 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23002 if test "x$ac_cv_func_expf" = x""yes; then :
23003 cat >>confdefs.h <<_ACEOF
23004 #define HAVE_EXPF 1
23005 _ACEOF
23006
23007 fi
23008 done
23009
23010 else
23011
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23013 $as_echo_n "checking for _expf declaration... " >&6; }
23014 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23015 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23016 $as_echo_n "(cached) " >&6
23017 else
23018
23019
23020 ac_ext=cpp
23021 ac_cpp='$CXXCPP $CPPFLAGS'
23022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23028 #include <math.h>
23029 #ifdef HAVE_IEEEFP_H
23030 #include <ieeefp.h>
23031 #endif
23032
23033 int
23034 main ()
23035 {
23036 _expf(0);
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func__expf_use=yes
23043 else
23044 glibcxx_cv_func__expf_use=no
23045 fi
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23052
23053
23054 fi
23055
23056 fi
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23058 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23059
23060 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23061 for ac_func in _expf
23062 do :
23063 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23064 if test "x$ac_cv_func__expf" = x""yes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE__EXPF 1
23067 _ACEOF
23068
23069 fi
23070 done
23071
23072 fi
23073 fi
23074
23075
23076
23077
23078
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23080 $as_echo_n "checking for isnanf declaration... " >&6; }
23081 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23082 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23085
23086
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23096 #ifdef HAVE_IEEEFP_H
23097 #include <ieeefp.h>
23098 #endif
23099
23100 int
23101 main ()
23102 {
23103 isnanf(0);
23104 ;
23105 return 0;
23106 }
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109 glibcxx_cv_func_isnanf_use=yes
23110 else
23111 glibcxx_cv_func_isnanf_use=no
23112 fi
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119
23120
23121 fi
23122
23123 fi
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23125 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23126
23127 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23128 for ac_func in isnanf
23129 do :
23130 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23131 if test "x$ac_cv_func_isnanf" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define HAVE_ISNANF 1
23134 _ACEOF
23135
23136 fi
23137 done
23138
23139 else
23140
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23142 $as_echo_n "checking for _isnanf declaration... " >&6; }
23143 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23144 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23147
23148
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23158 #ifdef HAVE_IEEEFP_H
23159 #include <ieeefp.h>
23160 #endif
23161
23162 int
23163 main ()
23164 {
23165 _isnanf(0);
23166 ;
23167 return 0;
23168 }
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func__isnanf_use=yes
23172 else
23173 glibcxx_cv_func__isnanf_use=no
23174 fi
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181
23182
23183 fi
23184
23185 fi
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23187 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23188
23189 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23190 for ac_func in _isnanf
23191 do :
23192 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23193 if test "x$ac_cv_func__isnanf" = x""yes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define HAVE__ISNANF 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201 fi
23202 fi
23203
23204
23205
23206
23207
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23209 $as_echo_n "checking for isinff declaration... " >&6; }
23210 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23211 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23214
23215
23216 ac_ext=cpp
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23221
23222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23224 #include <math.h>
23225 #ifdef HAVE_IEEEFP_H
23226 #include <ieeefp.h>
23227 #endif
23228
23229 int
23230 main ()
23231 {
23232 isinff(0);
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 if ac_fn_cxx_try_compile "$LINENO"; then :
23238 glibcxx_cv_func_isinff_use=yes
23239 else
23240 glibcxx_cv_func_isinff_use=no
23241 fi
23242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23243 ac_ext=c
23244 ac_cpp='$CPP $CPPFLAGS'
23245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23248
23249
23250 fi
23251
23252 fi
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23254 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23255
23256 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23257 for ac_func in isinff
23258 do :
23259 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23260 if test "x$ac_cv_func_isinff" = x""yes; then :
23261 cat >>confdefs.h <<_ACEOF
23262 #define HAVE_ISINFF 1
23263 _ACEOF
23264
23265 fi
23266 done
23267
23268 else
23269
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23271 $as_echo_n "checking for _isinff declaration... " >&6; }
23272 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23273 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23274 $as_echo_n "(cached) " >&6
23275 else
23276
23277
23278 ac_ext=cpp
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23283
23284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h. */
23286 #include <math.h>
23287 #ifdef HAVE_IEEEFP_H
23288 #include <ieeefp.h>
23289 #endif
23290
23291 int
23292 main ()
23293 {
23294 _isinff(0);
23295 ;
23296 return 0;
23297 }
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300 glibcxx_cv_func__isinff_use=yes
23301 else
23302 glibcxx_cv_func__isinff_use=no
23303 fi
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23310
23311
23312 fi
23313
23314 fi
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23316 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23317
23318 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23319 for ac_func in _isinff
23320 do :
23321 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23322 if test "x$ac_cv_func__isinff" = x""yes; then :
23323 cat >>confdefs.h <<_ACEOF
23324 #define HAVE__ISINFF 1
23325 _ACEOF
23326
23327 fi
23328 done
23329
23330 fi
23331 fi
23332
23333
23334
23335
23336
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23338 $as_echo_n "checking for atan2f declaration... " >&6; }
23339 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23340 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23341 $as_echo_n "(cached) " >&6
23342 else
23343
23344
23345 ac_ext=cpp
23346 ac_cpp='$CXXCPP $CPPFLAGS'
23347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23350
23351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23352 /* end confdefs.h. */
23353 #include <math.h>
23354 int
23355 main ()
23356 {
23357 atan2f(0, 0);
23358 ;
23359 return 0;
23360 }
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363 glibcxx_cv_func_atan2f_use=yes
23364 else
23365 glibcxx_cv_func_atan2f_use=no
23366 fi
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373
23374
23375 fi
23376
23377 fi
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23379 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23380
23381 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23382 for ac_func in atan2f
23383 do :
23384 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23385 if test "x$ac_cv_func_atan2f" = x""yes; then :
23386 cat >>confdefs.h <<_ACEOF
23387 #define HAVE_ATAN2F 1
23388 _ACEOF
23389
23390 fi
23391 done
23392
23393 else
23394
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23396 $as_echo_n "checking for _atan2f declaration... " >&6; }
23397 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23398 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23399 $as_echo_n "(cached) " >&6
23400 else
23401
23402
23403 ac_ext=cpp
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23408
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23411 #include <math.h>
23412 int
23413 main ()
23414 {
23415 _atan2f(0, 0);
23416 ;
23417 return 0;
23418 }
23419 _ACEOF
23420 if ac_fn_cxx_try_compile "$LINENO"; then :
23421 glibcxx_cv_func__atan2f_use=yes
23422 else
23423 glibcxx_cv_func__atan2f_use=no
23424 fi
23425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23426 ac_ext=c
23427 ac_cpp='$CPP $CPPFLAGS'
23428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23431
23432
23433 fi
23434
23435 fi
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23437 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23438
23439 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23440 for ac_func in _atan2f
23441 do :
23442 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23443 if test "x$ac_cv_func__atan2f" = x""yes; then :
23444 cat >>confdefs.h <<_ACEOF
23445 #define HAVE__ATAN2F 1
23446 _ACEOF
23447
23448 fi
23449 done
23450
23451 fi
23452 fi
23453
23454
23455
23456
23457
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23459 $as_echo_n "checking for fabsf declaration... " >&6; }
23460 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23461 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463 else
23464
23465
23466 ac_ext=cpp
23467 ac_cpp='$CXXCPP $CPPFLAGS'
23468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23474 #include <math.h>
23475 #ifdef HAVE_IEEEFP_H
23476 #include <ieeefp.h>
23477 #endif
23478
23479 int
23480 main ()
23481 {
23482 fabsf(0);
23483 ;
23484 return 0;
23485 }
23486 _ACEOF
23487 if ac_fn_cxx_try_compile "$LINENO"; then :
23488 glibcxx_cv_func_fabsf_use=yes
23489 else
23490 glibcxx_cv_func_fabsf_use=no
23491 fi
23492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 ac_ext=c
23494 ac_cpp='$CPP $CPPFLAGS'
23495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498
23499
23500 fi
23501
23502 fi
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23504 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23505
23506 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23507 for ac_func in fabsf
23508 do :
23509 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23510 if test "x$ac_cv_func_fabsf" = x""yes; then :
23511 cat >>confdefs.h <<_ACEOF
23512 #define HAVE_FABSF 1
23513 _ACEOF
23514
23515 fi
23516 done
23517
23518 else
23519
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23521 $as_echo_n "checking for _fabsf declaration... " >&6; }
23522 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23523 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23524 $as_echo_n "(cached) " >&6
23525 else
23526
23527
23528 ac_ext=cpp
23529 ac_cpp='$CXXCPP $CPPFLAGS'
23530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23533
23534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535 /* end confdefs.h. */
23536 #include <math.h>
23537 #ifdef HAVE_IEEEFP_H
23538 #include <ieeefp.h>
23539 #endif
23540
23541 int
23542 main ()
23543 {
23544 _fabsf(0);
23545 ;
23546 return 0;
23547 }
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func__fabsf_use=yes
23551 else
23552 glibcxx_cv_func__fabsf_use=no
23553 fi
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560
23561
23562 fi
23563
23564 fi
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23566 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23567
23568 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23569 for ac_func in _fabsf
23570 do :
23571 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23572 if test "x$ac_cv_func__fabsf" = x""yes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE__FABSF 1
23575 _ACEOF
23576
23577 fi
23578 done
23579
23580 fi
23581 fi
23582
23583
23584
23585
23586
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23588 $as_echo_n "checking for fmodf declaration... " >&6; }
23589 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23590 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23591 $as_echo_n "(cached) " >&6
23592 else
23593
23594
23595 ac_ext=cpp
23596 ac_cpp='$CXXCPP $CPPFLAGS'
23597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23600
23601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h. */
23603 #include <math.h>
23604 int
23605 main ()
23606 {
23607 fmodf(0, 0);
23608 ;
23609 return 0;
23610 }
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func_fmodf_use=yes
23614 else
23615 glibcxx_cv_func_fmodf_use=no
23616 fi
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623
23624
23625 fi
23626
23627 fi
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23629 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23630
23631 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23632 for ac_func in fmodf
23633 do :
23634 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23635 if test "x$ac_cv_func_fmodf" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE_FMODF 1
23638 _ACEOF
23639
23640 fi
23641 done
23642
23643 else
23644
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23646 $as_echo_n "checking for _fmodf declaration... " >&6; }
23647 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23648 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23649 $as_echo_n "(cached) " >&6
23650 else
23651
23652
23653 ac_ext=cpp
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23658
23659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h. */
23661 #include <math.h>
23662 int
23663 main ()
23664 {
23665 _fmodf(0, 0);
23666 ;
23667 return 0;
23668 }
23669 _ACEOF
23670 if ac_fn_cxx_try_compile "$LINENO"; then :
23671 glibcxx_cv_func__fmodf_use=yes
23672 else
23673 glibcxx_cv_func__fmodf_use=no
23674 fi
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676 ac_ext=c
23677 ac_cpp='$CPP $CPPFLAGS'
23678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23681
23682
23683 fi
23684
23685 fi
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23687 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23688
23689 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23690 for ac_func in _fmodf
23691 do :
23692 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23693 if test "x$ac_cv_func__fmodf" = x""yes; then :
23694 cat >>confdefs.h <<_ACEOF
23695 #define HAVE__FMODF 1
23696 _ACEOF
23697
23698 fi
23699 done
23700
23701 fi
23702 fi
23703
23704
23705
23706
23707
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23709 $as_echo_n "checking for frexpf declaration... " >&6; }
23710 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23711 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23714
23715
23716 ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23721
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #include <math.h>
23725 int
23726 main ()
23727 {
23728 frexpf(0, 0);
23729 ;
23730 return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734 glibcxx_cv_func_frexpf_use=yes
23735 else
23736 glibcxx_cv_func_frexpf_use=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744
23745
23746 fi
23747
23748 fi
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23750 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23751
23752 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23753 for ac_func in frexpf
23754 do :
23755 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23756 if test "x$ac_cv_func_frexpf" = x""yes; then :
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE_FREXPF 1
23759 _ACEOF
23760
23761 fi
23762 done
23763
23764 else
23765
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23767 $as_echo_n "checking for _frexpf declaration... " >&6; }
23768 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23769 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23770 $as_echo_n "(cached) " >&6
23771 else
23772
23773
23774 ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23782 #include <math.h>
23783 int
23784 main ()
23785 {
23786 _frexpf(0, 0);
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792 glibcxx_cv_func__frexpf_use=yes
23793 else
23794 glibcxx_cv_func__frexpf_use=no
23795 fi
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23802
23803
23804 fi
23805
23806 fi
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23808 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23809
23810 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23811 for ac_func in _frexpf
23812 do :
23813 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23814 if test "x$ac_cv_func__frexpf" = x""yes; then :
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE__FREXPF 1
23817 _ACEOF
23818
23819 fi
23820 done
23821
23822 fi
23823 fi
23824
23825
23826
23827
23828
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23830 $as_echo_n "checking for hypotf declaration... " >&6; }
23831 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23832 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23833 $as_echo_n "(cached) " >&6
23834 else
23835
23836
23837 ac_ext=cpp
23838 ac_cpp='$CXXCPP $CPPFLAGS'
23839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23842
23843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23844 /* end confdefs.h. */
23845 #include <math.h>
23846 int
23847 main ()
23848 {
23849 hypotf(0, 0);
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 if ac_fn_cxx_try_compile "$LINENO"; then :
23855 glibcxx_cv_func_hypotf_use=yes
23856 else
23857 glibcxx_cv_func_hypotf_use=no
23858 fi
23859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23860 ac_ext=c
23861 ac_cpp='$CPP $CPPFLAGS'
23862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865
23866
23867 fi
23868
23869 fi
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23871 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23872
23873 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23874 for ac_func in hypotf
23875 do :
23876 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23877 if test "x$ac_cv_func_hypotf" = x""yes; then :
23878 cat >>confdefs.h <<_ACEOF
23879 #define HAVE_HYPOTF 1
23880 _ACEOF
23881
23882 fi
23883 done
23884
23885 else
23886
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23888 $as_echo_n "checking for _hypotf declaration... " >&6; }
23889 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23890 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23891 $as_echo_n "(cached) " >&6
23892 else
23893
23894
23895 ac_ext=cpp
23896 ac_cpp='$CXXCPP $CPPFLAGS'
23897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23900
23901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23902 /* end confdefs.h. */
23903 #include <math.h>
23904 int
23905 main ()
23906 {
23907 _hypotf(0, 0);
23908 ;
23909 return 0;
23910 }
23911 _ACEOF
23912 if ac_fn_cxx_try_compile "$LINENO"; then :
23913 glibcxx_cv_func__hypotf_use=yes
23914 else
23915 glibcxx_cv_func__hypotf_use=no
23916 fi
23917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23918 ac_ext=c
23919 ac_cpp='$CPP $CPPFLAGS'
23920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23923
23924
23925 fi
23926
23927 fi
23928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23929 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23930
23931 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23932 for ac_func in _hypotf
23933 do :
23934 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23935 if test "x$ac_cv_func__hypotf" = x""yes; then :
23936 cat >>confdefs.h <<_ACEOF
23937 #define HAVE__HYPOTF 1
23938 _ACEOF
23939
23940 fi
23941 done
23942
23943 fi
23944 fi
23945
23946
23947
23948
23949
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23951 $as_echo_n "checking for ldexpf declaration... " >&6; }
23952 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23953 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23954 $as_echo_n "(cached) " >&6
23955 else
23956
23957
23958 ac_ext=cpp
23959 ac_cpp='$CXXCPP $CPPFLAGS'
23960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963
23964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23965 /* end confdefs.h. */
23966 #include <math.h>
23967 int
23968 main ()
23969 {
23970 ldexpf(0, 0);
23971 ;
23972 return 0;
23973 }
23974 _ACEOF
23975 if ac_fn_cxx_try_compile "$LINENO"; then :
23976 glibcxx_cv_func_ldexpf_use=yes
23977 else
23978 glibcxx_cv_func_ldexpf_use=no
23979 fi
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981 ac_ext=c
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23986
23987
23988 fi
23989
23990 fi
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23992 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23993
23994 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23995 for ac_func in ldexpf
23996 do :
23997 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23998 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23999 cat >>confdefs.h <<_ACEOF
24000 #define HAVE_LDEXPF 1
24001 _ACEOF
24002
24003 fi
24004 done
24005
24006 else
24007
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24009 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24010 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24011 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24012 $as_echo_n "(cached) " >&6
24013 else
24014
24015
24016 ac_ext=cpp
24017 ac_cpp='$CXXCPP $CPPFLAGS'
24018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021
24022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24023 /* end confdefs.h. */
24024 #include <math.h>
24025 int
24026 main ()
24027 {
24028 _ldexpf(0, 0);
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 if ac_fn_cxx_try_compile "$LINENO"; then :
24034 glibcxx_cv_func__ldexpf_use=yes
24035 else
24036 glibcxx_cv_func__ldexpf_use=no
24037 fi
24038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24039 ac_ext=c
24040 ac_cpp='$CPP $CPPFLAGS'
24041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044
24045
24046 fi
24047
24048 fi
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24050 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24051
24052 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24053 for ac_func in _ldexpf
24054 do :
24055 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24056 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24057 cat >>confdefs.h <<_ACEOF
24058 #define HAVE__LDEXPF 1
24059 _ACEOF
24060
24061 fi
24062 done
24063
24064 fi
24065 fi
24066
24067
24068
24069
24070
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24072 $as_echo_n "checking for logf declaration... " >&6; }
24073 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24074 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24075 $as_echo_n "(cached) " >&6
24076 else
24077
24078
24079 ac_ext=cpp
24080 ac_cpp='$CXXCPP $CPPFLAGS'
24081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24087 #include <math.h>
24088 #ifdef HAVE_IEEEFP_H
24089 #include <ieeefp.h>
24090 #endif
24091
24092 int
24093 main ()
24094 {
24095 logf(0);
24096 ;
24097 return 0;
24098 }
24099 _ACEOF
24100 if ac_fn_cxx_try_compile "$LINENO"; then :
24101 glibcxx_cv_func_logf_use=yes
24102 else
24103 glibcxx_cv_func_logf_use=no
24104 fi
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 ac_ext=c
24107 ac_cpp='$CPP $CPPFLAGS'
24108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111
24112
24113 fi
24114
24115 fi
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24117 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24118
24119 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24120 for ac_func in logf
24121 do :
24122 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24123 if test "x$ac_cv_func_logf" = x""yes; then :
24124 cat >>confdefs.h <<_ACEOF
24125 #define HAVE_LOGF 1
24126 _ACEOF
24127
24128 fi
24129 done
24130
24131 else
24132
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24134 $as_echo_n "checking for _logf declaration... " >&6; }
24135 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24136 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24137 $as_echo_n "(cached) " >&6
24138 else
24139
24140
24141 ac_ext=cpp
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24148 /* end confdefs.h. */
24149 #include <math.h>
24150 #ifdef HAVE_IEEEFP_H
24151 #include <ieeefp.h>
24152 #endif
24153
24154 int
24155 main ()
24156 {
24157 _logf(0);
24158 ;
24159 return 0;
24160 }
24161 _ACEOF
24162 if ac_fn_cxx_try_compile "$LINENO"; then :
24163 glibcxx_cv_func__logf_use=yes
24164 else
24165 glibcxx_cv_func__logf_use=no
24166 fi
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24168 ac_ext=c
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173
24174
24175 fi
24176
24177 fi
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24179 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24180
24181 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24182 for ac_func in _logf
24183 do :
24184 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24185 if test "x$ac_cv_func__logf" = x""yes; then :
24186 cat >>confdefs.h <<_ACEOF
24187 #define HAVE__LOGF 1
24188 _ACEOF
24189
24190 fi
24191 done
24192
24193 fi
24194 fi
24195
24196
24197
24198
24199
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24201 $as_echo_n "checking for log10f declaration... " >&6; }
24202 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24203 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24204 $as_echo_n "(cached) " >&6
24205 else
24206
24207
24208 ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24216 #include <math.h>
24217 #ifdef HAVE_IEEEFP_H
24218 #include <ieeefp.h>
24219 #endif
24220
24221 int
24222 main ()
24223 {
24224 log10f(0);
24225 ;
24226 return 0;
24227 }
24228 _ACEOF
24229 if ac_fn_cxx_try_compile "$LINENO"; then :
24230 glibcxx_cv_func_log10f_use=yes
24231 else
24232 glibcxx_cv_func_log10f_use=no
24233 fi
24234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24235 ac_ext=c
24236 ac_cpp='$CPP $CPPFLAGS'
24237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24240
24241
24242 fi
24243
24244 fi
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24246 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24247
24248 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24249 for ac_func in log10f
24250 do :
24251 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24252 if test "x$ac_cv_func_log10f" = x""yes; then :
24253 cat >>confdefs.h <<_ACEOF
24254 #define HAVE_LOG10F 1
24255 _ACEOF
24256
24257 fi
24258 done
24259
24260 else
24261
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24263 $as_echo_n "checking for _log10f declaration... " >&6; }
24264 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24265 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24266 $as_echo_n "(cached) " >&6
24267 else
24268
24269
24270 ac_ext=cpp
24271 ac_cpp='$CXXCPP $CPPFLAGS'
24272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24275
24276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24277 /* end confdefs.h. */
24278 #include <math.h>
24279 #ifdef HAVE_IEEEFP_H
24280 #include <ieeefp.h>
24281 #endif
24282
24283 int
24284 main ()
24285 {
24286 _log10f(0);
24287 ;
24288 return 0;
24289 }
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292 glibcxx_cv_func__log10f_use=yes
24293 else
24294 glibcxx_cv_func__log10f_use=no
24295 fi
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302
24303
24304 fi
24305
24306 fi
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24308 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24309
24310 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24311 for ac_func in _log10f
24312 do :
24313 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24314 if test "x$ac_cv_func__log10f" = x""yes; then :
24315 cat >>confdefs.h <<_ACEOF
24316 #define HAVE__LOG10F 1
24317 _ACEOF
24318
24319 fi
24320 done
24321
24322 fi
24323 fi
24324
24325
24326
24327
24328
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24330 $as_echo_n "checking for modff declaration... " >&6; }
24331 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24332 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24333 $as_echo_n "(cached) " >&6
24334 else
24335
24336
24337 ac_ext=cpp
24338 ac_cpp='$CXXCPP $CPPFLAGS'
24339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24342
24343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24344 /* end confdefs.h. */
24345 #include <math.h>
24346 int
24347 main ()
24348 {
24349 modff(0, 0);
24350 ;
24351 return 0;
24352 }
24353 _ACEOF
24354 if ac_fn_cxx_try_compile "$LINENO"; then :
24355 glibcxx_cv_func_modff_use=yes
24356 else
24357 glibcxx_cv_func_modff_use=no
24358 fi
24359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360 ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365
24366
24367 fi
24368
24369 fi
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24371 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24372
24373 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24374 for ac_func in modff
24375 do :
24376 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24377 if test "x$ac_cv_func_modff" = x""yes; then :
24378 cat >>confdefs.h <<_ACEOF
24379 #define HAVE_MODFF 1
24380 _ACEOF
24381
24382 fi
24383 done
24384
24385 else
24386
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24388 $as_echo_n "checking for _modff declaration... " >&6; }
24389 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24390 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24391 $as_echo_n "(cached) " >&6
24392 else
24393
24394
24395 ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400
24401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24403 #include <math.h>
24404 int
24405 main ()
24406 {
24407 _modff(0, 0);
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413 glibcxx_cv_func__modff_use=yes
24414 else
24415 glibcxx_cv_func__modff_use=no
24416 fi
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418 ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423
24424
24425 fi
24426
24427 fi
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24429 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24430
24431 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24432 for ac_func in _modff
24433 do :
24434 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24435 if test "x$ac_cv_func__modff" = x""yes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define HAVE__MODFF 1
24438 _ACEOF
24439
24440 fi
24441 done
24442
24443 fi
24444 fi
24445
24446
24447
24448
24449
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24451 $as_echo_n "checking for modf declaration... " >&6; }
24452 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24453 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24454 $as_echo_n "(cached) " >&6
24455 else
24456
24457
24458 ac_ext=cpp
24459 ac_cpp='$CXXCPP $CPPFLAGS'
24460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463
24464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24465 /* end confdefs.h. */
24466 #include <math.h>
24467 int
24468 main ()
24469 {
24470 modf(0, 0);
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476 glibcxx_cv_func_modf_use=yes
24477 else
24478 glibcxx_cv_func_modf_use=no
24479 fi
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481 ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486
24487
24488 fi
24489
24490 fi
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24492 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24493
24494 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24495 for ac_func in modf
24496 do :
24497 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24498 if test "x$ac_cv_func_modf" = x""yes; then :
24499 cat >>confdefs.h <<_ACEOF
24500 #define HAVE_MODF 1
24501 _ACEOF
24502
24503 fi
24504 done
24505
24506 else
24507
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24509 $as_echo_n "checking for _modf declaration... " >&6; }
24510 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24511 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24514
24515
24516 ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h. */
24524 #include <math.h>
24525 int
24526 main ()
24527 {
24528 _modf(0, 0);
24529 ;
24530 return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func__modf_use=yes
24535 else
24536 glibcxx_cv_func__modf_use=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544
24545
24546 fi
24547
24548 fi
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24550 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24551
24552 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24553 for ac_func in _modf
24554 do :
24555 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24556 if test "x$ac_cv_func__modf" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE__MODF 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564 fi
24565 fi
24566
24567
24568
24569
24570
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24572 $as_echo_n "checking for powf declaration... " >&6; }
24573 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24574 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24575 $as_echo_n "(cached) " >&6
24576 else
24577
24578
24579 ac_ext=cpp
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24584
24585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24586 /* end confdefs.h. */
24587 #include <math.h>
24588 int
24589 main ()
24590 {
24591 powf(0, 0);
24592 ;
24593 return 0;
24594 }
24595 _ACEOF
24596 if ac_fn_cxx_try_compile "$LINENO"; then :
24597 glibcxx_cv_func_powf_use=yes
24598 else
24599 glibcxx_cv_func_powf_use=no
24600 fi
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24602 ac_ext=c
24603 ac_cpp='$CPP $CPPFLAGS'
24604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24607
24608
24609 fi
24610
24611 fi
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24613 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24614
24615 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24616 for ac_func in powf
24617 do :
24618 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24619 if test "x$ac_cv_func_powf" = x""yes; then :
24620 cat >>confdefs.h <<_ACEOF
24621 #define HAVE_POWF 1
24622 _ACEOF
24623
24624 fi
24625 done
24626
24627 else
24628
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24630 $as_echo_n "checking for _powf declaration... " >&6; }
24631 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24632 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24633 $as_echo_n "(cached) " >&6
24634 else
24635
24636
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642
24643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 /* end confdefs.h. */
24645 #include <math.h>
24646 int
24647 main ()
24648 {
24649 _powf(0, 0);
24650 ;
24651 return 0;
24652 }
24653 _ACEOF
24654 if ac_fn_cxx_try_compile "$LINENO"; then :
24655 glibcxx_cv_func__powf_use=yes
24656 else
24657 glibcxx_cv_func__powf_use=no
24658 fi
24659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24660 ac_ext=c
24661 ac_cpp='$CPP $CPPFLAGS'
24662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24665
24666
24667 fi
24668
24669 fi
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24671 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24672
24673 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24674 for ac_func in _powf
24675 do :
24676 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24677 if test "x$ac_cv_func__powf" = x""yes; then :
24678 cat >>confdefs.h <<_ACEOF
24679 #define HAVE__POWF 1
24680 _ACEOF
24681
24682 fi
24683 done
24684
24685 fi
24686 fi
24687
24688
24689
24690
24691
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24693 $as_echo_n "checking for sqrtf declaration... " >&6; }
24694 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24695 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24698
24699
24700 ac_ext=cpp
24701 ac_cpp='$CXXCPP $CPPFLAGS'
24702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705
24706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24707 /* end confdefs.h. */
24708 #include <math.h>
24709 #ifdef HAVE_IEEEFP_H
24710 #include <ieeefp.h>
24711 #endif
24712
24713 int
24714 main ()
24715 {
24716 sqrtf(0);
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 if ac_fn_cxx_try_compile "$LINENO"; then :
24722 glibcxx_cv_func_sqrtf_use=yes
24723 else
24724 glibcxx_cv_func_sqrtf_use=no
24725 fi
24726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24727 ac_ext=c
24728 ac_cpp='$CPP $CPPFLAGS'
24729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24732
24733
24734 fi
24735
24736 fi
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24738 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24739
24740 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24741 for ac_func in sqrtf
24742 do :
24743 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24744 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_SQRTF 1
24747 _ACEOF
24748
24749 fi
24750 done
24751
24752 else
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24755 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24756 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24757 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24760
24761
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 #ifdef HAVE_IEEEFP_H
24772 #include <ieeefp.h>
24773 #endif
24774
24775 int
24776 main ()
24777 {
24778 _sqrtf(0);
24779 ;
24780 return 0;
24781 }
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784 glibcxx_cv_func__sqrtf_use=yes
24785 else
24786 glibcxx_cv_func__sqrtf_use=no
24787 fi
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789 ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794
24795
24796 fi
24797
24798 fi
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24800 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24801
24802 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24803 for ac_func in _sqrtf
24804 do :
24805 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24806 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24807 cat >>confdefs.h <<_ACEOF
24808 #define HAVE__SQRTF 1
24809 _ACEOF
24810
24811 fi
24812 done
24813
24814 fi
24815 fi
24816
24817
24818
24819
24820
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24822 $as_echo_n "checking for sincosf declaration... " >&6; }
24823 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24824 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24827
24828
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24838 int
24839 main ()
24840 {
24841 sincosf(0, 0, 0);
24842 ;
24843 return 0;
24844 }
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func_sincosf_use=yes
24848 else
24849 glibcxx_cv_func_sincosf_use=no
24850 fi
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24857
24858
24859 fi
24860
24861 fi
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24863 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24864
24865 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24866 for ac_func in sincosf
24867 do :
24868 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24869 if test "x$ac_cv_func_sincosf" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE_SINCOSF 1
24872 _ACEOF
24873
24874 fi
24875 done
24876
24877 else
24878
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24880 $as_echo_n "checking for _sincosf declaration... " >&6; }
24881 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24882 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24883 $as_echo_n "(cached) " >&6
24884 else
24885
24886
24887 ac_ext=cpp
24888 ac_cpp='$CXXCPP $CPPFLAGS'
24889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24892
24893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h. */
24895 #include <math.h>
24896 int
24897 main ()
24898 {
24899 _sincosf(0, 0, 0);
24900 ;
24901 return 0;
24902 }
24903 _ACEOF
24904 if ac_fn_cxx_try_compile "$LINENO"; then :
24905 glibcxx_cv_func__sincosf_use=yes
24906 else
24907 glibcxx_cv_func__sincosf_use=no
24908 fi
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_ext=c
24911 ac_cpp='$CPP $CPPFLAGS'
24912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915
24916
24917 fi
24918
24919 fi
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24921 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24922
24923 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24924 for ac_func in _sincosf
24925 do :
24926 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24927 if test "x$ac_cv_func__sincosf" = x""yes; then :
24928 cat >>confdefs.h <<_ACEOF
24929 #define HAVE__SINCOSF 1
24930 _ACEOF
24931
24932 fi
24933 done
24934
24935 fi
24936 fi
24937
24938
24939
24940
24941
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24943 $as_echo_n "checking for finitef declaration... " >&6; }
24944 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24945 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24948
24949
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24959 #ifdef HAVE_IEEEFP_H
24960 #include <ieeefp.h>
24961 #endif
24962
24963 int
24964 main ()
24965 {
24966 finitef(0);
24967 ;
24968 return 0;
24969 }
24970 _ACEOF
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func_finitef_use=yes
24973 else
24974 glibcxx_cv_func_finitef_use=no
24975 fi
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 ac_ext=c
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24982
24983
24984 fi
24985
24986 fi
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24988 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24989
24990 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24991 for ac_func in finitef
24992 do :
24993 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24994 if test "x$ac_cv_func_finitef" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE_FINITEF 1
24997 _ACEOF
24998
24999 fi
25000 done
25001
25002 else
25003
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25005 $as_echo_n "checking for _finitef declaration... " >&6; }
25006 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25007 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25008 $as_echo_n "(cached) " >&6
25009 else
25010
25011
25012 ac_ext=cpp
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25017
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020 #include <math.h>
25021 #ifdef HAVE_IEEEFP_H
25022 #include <ieeefp.h>
25023 #endif
25024
25025 int
25026 main ()
25027 {
25028 _finitef(0);
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func__finitef_use=yes
25035 else
25036 glibcxx_cv_func__finitef_use=no
25037 fi
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048 fi
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25050 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25051
25052 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25053 for ac_func in _finitef
25054 do :
25055 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25056 if test "x$ac_cv_func__finitef" = x""yes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE__FINITEF 1
25059 _ACEOF
25060
25061 fi
25062 done
25063
25064 fi
25065 fi
25066
25067
25068
25069
25070
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25072 $as_echo_n "checking for long double trig functions... " >&6; }
25073 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25074 $as_echo_n "(cached) " >&6
25075 else
25076
25077
25078 ac_ext=cpp
25079 ac_cpp='$CXXCPP $CPPFLAGS'
25080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086 #include <math.h>
25087 int
25088 main ()
25089 {
25090 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 if ac_fn_cxx_try_compile "$LINENO"; then :
25096 glibcxx_cv_func_long_double_trig_use=yes
25097 else
25098 glibcxx_cv_func_long_double_trig_use=no
25099 fi
25100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_ext=c
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25106
25107 fi
25108
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25110 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25111 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25112 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25113 do :
25114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25116 eval as_val=\$$as_ac_var
25117 if test "x$as_val" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25120 _ACEOF
25121
25122 fi
25123 done
25124
25125 else
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25127 $as_echo_n "checking for _long double trig functions... " >&6; }
25128 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25131
25132
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25138
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25142 int
25143 main ()
25144 {
25145 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25146 ;
25147 return 0;
25148 }
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func__long_double_trig_use=yes
25152 else
25153 glibcxx_cv_func__long_double_trig_use=no
25154 fi
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25161
25162 fi
25163
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25165 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25166 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25167 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25168 do :
25169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25171 eval as_val=\$$as_ac_var
25172 if test "x$as_val" = x""yes; then :
25173 cat >>confdefs.h <<_ACEOF
25174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25175 _ACEOF
25176
25177 fi
25178 done
25179
25180 fi
25181 fi
25182
25183
25184
25185
25186
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25188 $as_echo_n "checking for long double round functions... " >&6; }
25189 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25190 $as_echo_n "(cached) " >&6
25191 else
25192
25193
25194 ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25199
25200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201 /* end confdefs.h. */
25202 #include <math.h>
25203 int
25204 main ()
25205 {
25206 ceill (0); floorl (0);
25207 ;
25208 return 0;
25209 }
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func_long_double_round_use=yes
25213 else
25214 glibcxx_cv_func_long_double_round_use=no
25215 fi
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25222
25223 fi
25224
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25226 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25227 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25228 for ac_func in ceill floorl
25229 do :
25230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25232 eval as_val=\$$as_ac_var
25233 if test "x$as_val" = x""yes; then :
25234 cat >>confdefs.h <<_ACEOF
25235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25236 _ACEOF
25237
25238 fi
25239 done
25240
25241 else
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25243 $as_echo_n "checking for _long double round functions... " >&6; }
25244 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25245 $as_echo_n "(cached) " >&6
25246 else
25247
25248
25249 ac_ext=cpp
25250 ac_cpp='$CXXCPP $CPPFLAGS'
25251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25254
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h. */
25257 #include <math.h>
25258 int
25259 main ()
25260 {
25261 _ceill (0); _floorl (0);
25262 ;
25263 return 0;
25264 }
25265 _ACEOF
25266 if ac_fn_cxx_try_compile "$LINENO"; then :
25267 glibcxx_cv_func__long_double_round_use=yes
25268 else
25269 glibcxx_cv_func__long_double_round_use=no
25270 fi
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 ac_ext=c
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25277
25278 fi
25279
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25281 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25282 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25283 for ac_func in _ceill _floorl
25284 do :
25285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25287 eval as_val=\$$as_ac_var
25288 if test "x$as_val" = x""yes; then :
25289 cat >>confdefs.h <<_ACEOF
25290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25291 _ACEOF
25292
25293 fi
25294 done
25295
25296 fi
25297 fi
25298
25299
25300
25301
25302
25303
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25305 $as_echo_n "checking for isnanl declaration... " >&6; }
25306 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25307 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25308 $as_echo_n "(cached) " >&6
25309 else
25310
25311
25312 ac_ext=cpp
25313 ac_cpp='$CXXCPP $CPPFLAGS'
25314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25317
25318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25319 /* end confdefs.h. */
25320 #include <math.h>
25321 #ifdef HAVE_IEEEFP_H
25322 #include <ieeefp.h>
25323 #endif
25324
25325 int
25326 main ()
25327 {
25328 isnanl(0);
25329 ;
25330 return 0;
25331 }
25332 _ACEOF
25333 if ac_fn_cxx_try_compile "$LINENO"; then :
25334 glibcxx_cv_func_isnanl_use=yes
25335 else
25336 glibcxx_cv_func_isnanl_use=no
25337 fi
25338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25339 ac_ext=c
25340 ac_cpp='$CPP $CPPFLAGS'
25341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25344
25345
25346 fi
25347
25348 fi
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25350 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25351
25352 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25353 for ac_func in isnanl
25354 do :
25355 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25356 if test "x$ac_cv_func_isnanl" = x""yes; then :
25357 cat >>confdefs.h <<_ACEOF
25358 #define HAVE_ISNANL 1
25359 _ACEOF
25360
25361 fi
25362 done
25363
25364 else
25365
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25367 $as_echo_n "checking for _isnanl declaration... " >&6; }
25368 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25369 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25370 $as_echo_n "(cached) " >&6
25371 else
25372
25373
25374 ac_ext=cpp
25375 ac_cpp='$CXXCPP $CPPFLAGS'
25376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379
25380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25381 /* end confdefs.h. */
25382 #include <math.h>
25383 #ifdef HAVE_IEEEFP_H
25384 #include <ieeefp.h>
25385 #endif
25386
25387 int
25388 main ()
25389 {
25390 _isnanl(0);
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 if ac_fn_cxx_try_compile "$LINENO"; then :
25396 glibcxx_cv_func__isnanl_use=yes
25397 else
25398 glibcxx_cv_func__isnanl_use=no
25399 fi
25400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25401 ac_ext=c
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406
25407
25408 fi
25409
25410 fi
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25412 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25413
25414 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25415 for ac_func in _isnanl
25416 do :
25417 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25418 if test "x$ac_cv_func__isnanl" = x""yes; then :
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE__ISNANL 1
25421 _ACEOF
25422
25423 fi
25424 done
25425
25426 fi
25427 fi
25428
25429
25430
25431
25432
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25434 $as_echo_n "checking for isinfl declaration... " >&6; }
25435 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25436 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25439
25440
25441 ac_ext=cpp
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446
25447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25448 /* end confdefs.h. */
25449 #include <math.h>
25450 #ifdef HAVE_IEEEFP_H
25451 #include <ieeefp.h>
25452 #endif
25453
25454 int
25455 main ()
25456 {
25457 isinfl(0);
25458 ;
25459 return 0;
25460 }
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func_isinfl_use=yes
25464 else
25465 glibcxx_cv_func_isinfl_use=no
25466 fi
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473
25474
25475 fi
25476
25477 fi
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25479 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25480
25481 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25482 for ac_func in isinfl
25483 do :
25484 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25485 if test "x$ac_cv_func_isinfl" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define HAVE_ISINFL 1
25488 _ACEOF
25489
25490 fi
25491 done
25492
25493 else
25494
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25496 $as_echo_n "checking for _isinfl declaration... " >&6; }
25497 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25498 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501
25502
25503 ac_ext=cpp
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25508
25509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25511 #include <math.h>
25512 #ifdef HAVE_IEEEFP_H
25513 #include <ieeefp.h>
25514 #endif
25515
25516 int
25517 main ()
25518 {
25519 _isinfl(0);
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func__isinfl_use=yes
25526 else
25527 glibcxx_cv_func__isinfl_use=no
25528 fi
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535
25536
25537 fi
25538
25539 fi
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25541 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25542
25543 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25544 for ac_func in _isinfl
25545 do :
25546 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25547 if test "x$ac_cv_func__isinfl" = x""yes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define HAVE__ISINFL 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555 fi
25556 fi
25557
25558
25559
25560
25561
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25563 $as_echo_n "checking for atan2l declaration... " >&6; }
25564 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25565 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25566 $as_echo_n "(cached) " >&6
25567 else
25568
25569
25570 ac_ext=cpp
25571 ac_cpp='$CXXCPP $CPPFLAGS'
25572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25575
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25578 #include <math.h>
25579 int
25580 main ()
25581 {
25582 atan2l(0, 0);
25583 ;
25584 return 0;
25585 }
25586 _ACEOF
25587 if ac_fn_cxx_try_compile "$LINENO"; then :
25588 glibcxx_cv_func_atan2l_use=yes
25589 else
25590 glibcxx_cv_func_atan2l_use=no
25591 fi
25592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_ext=c
25594 ac_cpp='$CPP $CPPFLAGS'
25595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25598
25599
25600 fi
25601
25602 fi
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25604 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25605
25606 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25607 for ac_func in atan2l
25608 do :
25609 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25610 if test "x$ac_cv_func_atan2l" = x""yes; then :
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_ATAN2L 1
25613 _ACEOF
25614
25615 fi
25616 done
25617
25618 else
25619
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25621 $as_echo_n "checking for _atan2l declaration... " >&6; }
25622 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25623 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25624 $as_echo_n "(cached) " >&6
25625 else
25626
25627
25628 ac_ext=cpp
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633
25634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h. */
25636 #include <math.h>
25637 int
25638 main ()
25639 {
25640 _atan2l(0, 0);
25641 ;
25642 return 0;
25643 }
25644 _ACEOF
25645 if ac_fn_cxx_try_compile "$LINENO"; then :
25646 glibcxx_cv_func__atan2l_use=yes
25647 else
25648 glibcxx_cv_func__atan2l_use=no
25649 fi
25650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25651 ac_ext=c
25652 ac_cpp='$CPP $CPPFLAGS'
25653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25656
25657
25658 fi
25659
25660 fi
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25662 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25663
25664 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25665 for ac_func in _atan2l
25666 do :
25667 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25668 if test "x$ac_cv_func__atan2l" = x""yes; then :
25669 cat >>confdefs.h <<_ACEOF
25670 #define HAVE__ATAN2L 1
25671 _ACEOF
25672
25673 fi
25674 done
25675
25676 fi
25677 fi
25678
25679
25680
25681
25682
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25684 $as_echo_n "checking for expl declaration... " >&6; }
25685 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25686 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25687 $as_echo_n "(cached) " >&6
25688 else
25689
25690
25691 ac_ext=cpp
25692 ac_cpp='$CXXCPP $CPPFLAGS'
25693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25696
25697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25698 /* end confdefs.h. */
25699 #include <math.h>
25700 #ifdef HAVE_IEEEFP_H
25701 #include <ieeefp.h>
25702 #endif
25703
25704 int
25705 main ()
25706 {
25707 expl(0);
25708 ;
25709 return 0;
25710 }
25711 _ACEOF
25712 if ac_fn_cxx_try_compile "$LINENO"; then :
25713 glibcxx_cv_func_expl_use=yes
25714 else
25715 glibcxx_cv_func_expl_use=no
25716 fi
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723
25724
25725 fi
25726
25727 fi
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25729 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25730
25731 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25732 for ac_func in expl
25733 do :
25734 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25735 if test "x$ac_cv_func_expl" = x""yes; then :
25736 cat >>confdefs.h <<_ACEOF
25737 #define HAVE_EXPL 1
25738 _ACEOF
25739
25740 fi
25741 done
25742
25743 else
25744
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25746 $as_echo_n "checking for _expl declaration... " >&6; }
25747 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25748 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25751
25752
25753 ac_ext=cpp
25754 ac_cpp='$CXXCPP $CPPFLAGS'
25755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25758
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25761 #include <math.h>
25762 #ifdef HAVE_IEEEFP_H
25763 #include <ieeefp.h>
25764 #endif
25765
25766 int
25767 main ()
25768 {
25769 _expl(0);
25770 ;
25771 return 0;
25772 }
25773 _ACEOF
25774 if ac_fn_cxx_try_compile "$LINENO"; then :
25775 glibcxx_cv_func__expl_use=yes
25776 else
25777 glibcxx_cv_func__expl_use=no
25778 fi
25779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25780 ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25785
25786
25787 fi
25788
25789 fi
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25791 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25792
25793 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25794 for ac_func in _expl
25795 do :
25796 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25797 if test "x$ac_cv_func__expl" = x""yes; then :
25798 cat >>confdefs.h <<_ACEOF
25799 #define HAVE__EXPL 1
25800 _ACEOF
25801
25802 fi
25803 done
25804
25805 fi
25806 fi
25807
25808
25809
25810
25811
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25813 $as_echo_n "checking for fabsl declaration... " >&6; }
25814 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25815 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25816 $as_echo_n "(cached) " >&6
25817 else
25818
25819
25820 ac_ext=cpp
25821 ac_cpp='$CXXCPP $CPPFLAGS'
25822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25825
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h. */
25828 #include <math.h>
25829 #ifdef HAVE_IEEEFP_H
25830 #include <ieeefp.h>
25831 #endif
25832
25833 int
25834 main ()
25835 {
25836 fabsl(0);
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 if ac_fn_cxx_try_compile "$LINENO"; then :
25842 glibcxx_cv_func_fabsl_use=yes
25843 else
25844 glibcxx_cv_func_fabsl_use=no
25845 fi
25846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25847 ac_ext=c
25848 ac_cpp='$CPP $CPPFLAGS'
25849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25852
25853
25854 fi
25855
25856 fi
25857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25858 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25859
25860 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25861 for ac_func in fabsl
25862 do :
25863 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25864 if test "x$ac_cv_func_fabsl" = x""yes; then :
25865 cat >>confdefs.h <<_ACEOF
25866 #define HAVE_FABSL 1
25867 _ACEOF
25868
25869 fi
25870 done
25871
25872 else
25873
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25875 $as_echo_n "checking for _fabsl declaration... " >&6; }
25876 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25877 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25878 $as_echo_n "(cached) " >&6
25879 else
25880
25881
25882 ac_ext=cpp
25883 ac_cpp='$CXXCPP $CPPFLAGS'
25884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25887
25888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25889 /* end confdefs.h. */
25890 #include <math.h>
25891 #ifdef HAVE_IEEEFP_H
25892 #include <ieeefp.h>
25893 #endif
25894
25895 int
25896 main ()
25897 {
25898 _fabsl(0);
25899 ;
25900 return 0;
25901 }
25902 _ACEOF
25903 if ac_fn_cxx_try_compile "$LINENO"; then :
25904 glibcxx_cv_func__fabsl_use=yes
25905 else
25906 glibcxx_cv_func__fabsl_use=no
25907 fi
25908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25909 ac_ext=c
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25914
25915
25916 fi
25917
25918 fi
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25920 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25921
25922 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25923 for ac_func in _fabsl
25924 do :
25925 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25926 if test "x$ac_cv_func__fabsl" = x""yes; then :
25927 cat >>confdefs.h <<_ACEOF
25928 #define HAVE__FABSL 1
25929 _ACEOF
25930
25931 fi
25932 done
25933
25934 fi
25935 fi
25936
25937
25938
25939
25940
25941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25942 $as_echo_n "checking for fmodl declaration... " >&6; }
25943 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25944 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25945 $as_echo_n "(cached) " >&6
25946 else
25947
25948
25949 ac_ext=cpp
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25954
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25957 #include <math.h>
25958 int
25959 main ()
25960 {
25961 fmodl(0, 0);
25962 ;
25963 return 0;
25964 }
25965 _ACEOF
25966 if ac_fn_cxx_try_compile "$LINENO"; then :
25967 glibcxx_cv_func_fmodl_use=yes
25968 else
25969 glibcxx_cv_func_fmodl_use=no
25970 fi
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972 ac_ext=c
25973 ac_cpp='$CPP $CPPFLAGS'
25974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25977
25978
25979 fi
25980
25981 fi
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25983 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25984
25985 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25986 for ac_func in fmodl
25987 do :
25988 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25989 if test "x$ac_cv_func_fmodl" = x""yes; then :
25990 cat >>confdefs.h <<_ACEOF
25991 #define HAVE_FMODL 1
25992 _ACEOF
25993
25994 fi
25995 done
25996
25997 else
25998
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26000 $as_echo_n "checking for _fmodl declaration... " >&6; }
26001 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26002 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26003 $as_echo_n "(cached) " >&6
26004 else
26005
26006
26007 ac_ext=cpp
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012
26013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26014 /* end confdefs.h. */
26015 #include <math.h>
26016 int
26017 main ()
26018 {
26019 _fmodl(0, 0);
26020 ;
26021 return 0;
26022 }
26023 _ACEOF
26024 if ac_fn_cxx_try_compile "$LINENO"; then :
26025 glibcxx_cv_func__fmodl_use=yes
26026 else
26027 glibcxx_cv_func__fmodl_use=no
26028 fi
26029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26030 ac_ext=c
26031 ac_cpp='$CPP $CPPFLAGS'
26032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035
26036
26037 fi
26038
26039 fi
26040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26041 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26042
26043 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26044 for ac_func in _fmodl
26045 do :
26046 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26047 if test "x$ac_cv_func__fmodl" = x""yes; then :
26048 cat >>confdefs.h <<_ACEOF
26049 #define HAVE__FMODL 1
26050 _ACEOF
26051
26052 fi
26053 done
26054
26055 fi
26056 fi
26057
26058
26059
26060
26061
26062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26063 $as_echo_n "checking for frexpl declaration... " >&6; }
26064 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26065 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26066 $as_echo_n "(cached) " >&6
26067 else
26068
26069
26070 ac_ext=cpp
26071 ac_cpp='$CXXCPP $CPPFLAGS'
26072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26075
26076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26077 /* end confdefs.h. */
26078 #include <math.h>
26079 int
26080 main ()
26081 {
26082 frexpl(0, 0);
26083 ;
26084 return 0;
26085 }
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func_frexpl_use=yes
26089 else
26090 glibcxx_cv_func_frexpl_use=no
26091 fi
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098
26099
26100 fi
26101
26102 fi
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26104 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26105
26106 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26107 for ac_func in frexpl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26110 if test "x$ac_cv_func_frexpl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE_FREXPL 1
26113 _ACEOF
26114
26115 fi
26116 done
26117
26118 else
26119
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26121 $as_echo_n "checking for _frexpl declaration... " >&6; }
26122 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26123 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26124 $as_echo_n "(cached) " >&6
26125 else
26126
26127
26128 ac_ext=cpp
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133
26134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26135 /* end confdefs.h. */
26136 #include <math.h>
26137 int
26138 main ()
26139 {
26140 _frexpl(0, 0);
26141 ;
26142 return 0;
26143 }
26144 _ACEOF
26145 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 glibcxx_cv_func__frexpl_use=yes
26147 else
26148 glibcxx_cv_func__frexpl_use=no
26149 fi
26150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 ac_ext=c
26152 ac_cpp='$CPP $CPPFLAGS'
26153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156
26157
26158 fi
26159
26160 fi
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26162 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26163
26164 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26165 for ac_func in _frexpl
26166 do :
26167 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26168 if test "x$ac_cv_func__frexpl" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE__FREXPL 1
26171 _ACEOF
26172
26173 fi
26174 done
26175
26176 fi
26177 fi
26178
26179
26180
26181
26182
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26184 $as_echo_n "checking for hypotl declaration... " >&6; }
26185 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26186 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26187 $as_echo_n "(cached) " >&6
26188 else
26189
26190
26191 ac_ext=cpp
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26196
26197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198 /* end confdefs.h. */
26199 #include <math.h>
26200 int
26201 main ()
26202 {
26203 hypotl(0, 0);
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 if ac_fn_cxx_try_compile "$LINENO"; then :
26209 glibcxx_cv_func_hypotl_use=yes
26210 else
26211 glibcxx_cv_func_hypotl_use=no
26212 fi
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26214 ac_ext=c
26215 ac_cpp='$CPP $CPPFLAGS'
26216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219
26220
26221 fi
26222
26223 fi
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26225 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26226
26227 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26228 for ac_func in hypotl
26229 do :
26230 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26231 if test "x$ac_cv_func_hypotl" = x""yes; then :
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE_HYPOTL 1
26234 _ACEOF
26235
26236 fi
26237 done
26238
26239 else
26240
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26242 $as_echo_n "checking for _hypotl declaration... " >&6; }
26243 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26244 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26245 $as_echo_n "(cached) " >&6
26246 else
26247
26248
26249 ac_ext=cpp
26250 ac_cpp='$CXXCPP $CPPFLAGS'
26251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254
26255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26256 /* end confdefs.h. */
26257 #include <math.h>
26258 int
26259 main ()
26260 {
26261 _hypotl(0, 0);
26262 ;
26263 return 0;
26264 }
26265 _ACEOF
26266 if ac_fn_cxx_try_compile "$LINENO"; then :
26267 glibcxx_cv_func__hypotl_use=yes
26268 else
26269 glibcxx_cv_func__hypotl_use=no
26270 fi
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277
26278
26279 fi
26280
26281 fi
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26283 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26284
26285 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26286 for ac_func in _hypotl
26287 do :
26288 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26289 if test "x$ac_cv_func__hypotl" = x""yes; then :
26290 cat >>confdefs.h <<_ACEOF
26291 #define HAVE__HYPOTL 1
26292 _ACEOF
26293
26294 fi
26295 done
26296
26297 fi
26298 fi
26299
26300
26301
26302
26303
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26305 $as_echo_n "checking for ldexpl declaration... " >&6; }
26306 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26307 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26308 $as_echo_n "(cached) " >&6
26309 else
26310
26311
26312 ac_ext=cpp
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317
26318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26320 #include <math.h>
26321 int
26322 main ()
26323 {
26324 ldexpl(0, 0);
26325 ;
26326 return 0;
26327 }
26328 _ACEOF
26329 if ac_fn_cxx_try_compile "$LINENO"; then :
26330 glibcxx_cv_func_ldexpl_use=yes
26331 else
26332 glibcxx_cv_func_ldexpl_use=no
26333 fi
26334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26335 ac_ext=c
26336 ac_cpp='$CPP $CPPFLAGS'
26337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26340
26341
26342 fi
26343
26344 fi
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26346 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26347
26348 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26349 for ac_func in ldexpl
26350 do :
26351 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26352 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26353 cat >>confdefs.h <<_ACEOF
26354 #define HAVE_LDEXPL 1
26355 _ACEOF
26356
26357 fi
26358 done
26359
26360 else
26361
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26363 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26364 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26365 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26368
26369
26370 ac_ext=cpp
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378 #include <math.h>
26379 int
26380 main ()
26381 {
26382 _ldexpl(0, 0);
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 if ac_fn_cxx_try_compile "$LINENO"; then :
26388 glibcxx_cv_func__ldexpl_use=yes
26389 else
26390 glibcxx_cv_func__ldexpl_use=no
26391 fi
26392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26393 ac_ext=c
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26398
26399
26400 fi
26401
26402 fi
26403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26404 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26405
26406 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26407 for ac_func in _ldexpl
26408 do :
26409 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26410 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26411 cat >>confdefs.h <<_ACEOF
26412 #define HAVE__LDEXPL 1
26413 _ACEOF
26414
26415 fi
26416 done
26417
26418 fi
26419 fi
26420
26421
26422
26423
26424
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26426 $as_echo_n "checking for logl declaration... " >&6; }
26427 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26428 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26429 $as_echo_n "(cached) " >&6
26430 else
26431
26432
26433 ac_ext=cpp
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26441 #include <math.h>
26442 #ifdef HAVE_IEEEFP_H
26443 #include <ieeefp.h>
26444 #endif
26445
26446 int
26447 main ()
26448 {
26449 logl(0);
26450 ;
26451 return 0;
26452 }
26453 _ACEOF
26454 if ac_fn_cxx_try_compile "$LINENO"; then :
26455 glibcxx_cv_func_logl_use=yes
26456 else
26457 glibcxx_cv_func_logl_use=no
26458 fi
26459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26460 ac_ext=c
26461 ac_cpp='$CPP $CPPFLAGS'
26462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465
26466
26467 fi
26468
26469 fi
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26471 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26472
26473 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26474 for ac_func in logl
26475 do :
26476 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26477 if test "x$ac_cv_func_logl" = x""yes; then :
26478 cat >>confdefs.h <<_ACEOF
26479 #define HAVE_LOGL 1
26480 _ACEOF
26481
26482 fi
26483 done
26484
26485 else
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26488 $as_echo_n "checking for _logl declaration... " >&6; }
26489 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26490 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26493
26494
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26500
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 #ifdef HAVE_IEEEFP_H
26505 #include <ieeefp.h>
26506 #endif
26507
26508 int
26509 main ()
26510 {
26511 _logl(0);
26512 ;
26513 return 0;
26514 }
26515 _ACEOF
26516 if ac_fn_cxx_try_compile "$LINENO"; then :
26517 glibcxx_cv_func__logl_use=yes
26518 else
26519 glibcxx_cv_func__logl_use=no
26520 fi
26521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_ext=c
26523 ac_cpp='$CPP $CPPFLAGS'
26524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527
26528
26529 fi
26530
26531 fi
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26533 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26534
26535 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26536 for ac_func in _logl
26537 do :
26538 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26539 if test "x$ac_cv_func__logl" = x""yes; then :
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE__LOGL 1
26542 _ACEOF
26543
26544 fi
26545 done
26546
26547 fi
26548 fi
26549
26550
26551
26552
26553
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26555 $as_echo_n "checking for log10l declaration... " >&6; }
26556 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26557 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26560
26561
26562 ac_ext=cpp
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26567
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570 #include <math.h>
26571 #ifdef HAVE_IEEEFP_H
26572 #include <ieeefp.h>
26573 #endif
26574
26575 int
26576 main ()
26577 {
26578 log10l(0);
26579 ;
26580 return 0;
26581 }
26582 _ACEOF
26583 if ac_fn_cxx_try_compile "$LINENO"; then :
26584 glibcxx_cv_func_log10l_use=yes
26585 else
26586 glibcxx_cv_func_log10l_use=no
26587 fi
26588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26589 ac_ext=c
26590 ac_cpp='$CPP $CPPFLAGS'
26591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26594
26595
26596 fi
26597
26598 fi
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26600 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26601
26602 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26603 for ac_func in log10l
26604 do :
26605 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26606 if test "x$ac_cv_func_log10l" = x""yes; then :
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_LOG10L 1
26609 _ACEOF
26610
26611 fi
26612 done
26613
26614 else
26615
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26617 $as_echo_n "checking for _log10l declaration... " >&6; }
26618 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26619 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26622
26623
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26629
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26633 #ifdef HAVE_IEEEFP_H
26634 #include <ieeefp.h>
26635 #endif
26636
26637 int
26638 main ()
26639 {
26640 _log10l(0);
26641 ;
26642 return 0;
26643 }
26644 _ACEOF
26645 if ac_fn_cxx_try_compile "$LINENO"; then :
26646 glibcxx_cv_func__log10l_use=yes
26647 else
26648 glibcxx_cv_func__log10l_use=no
26649 fi
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 ac_ext=c
26652 ac_cpp='$CPP $CPPFLAGS'
26653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26656
26657
26658 fi
26659
26660 fi
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26662 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26663
26664 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26665 for ac_func in _log10l
26666 do :
26667 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26668 if test "x$ac_cv_func__log10l" = x""yes; then :
26669 cat >>confdefs.h <<_ACEOF
26670 #define HAVE__LOG10L 1
26671 _ACEOF
26672
26673 fi
26674 done
26675
26676 fi
26677 fi
26678
26679
26680
26681
26682
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26684 $as_echo_n "checking for modfl declaration... " >&6; }
26685 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26686 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26687 $as_echo_n "(cached) " >&6
26688 else
26689
26690
26691 ac_ext=cpp
26692 ac_cpp='$CXXCPP $CPPFLAGS'
26693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26696
26697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26699 #include <math.h>
26700 int
26701 main ()
26702 {
26703 modfl(0, 0);
26704 ;
26705 return 0;
26706 }
26707 _ACEOF
26708 if ac_fn_cxx_try_compile "$LINENO"; then :
26709 glibcxx_cv_func_modfl_use=yes
26710 else
26711 glibcxx_cv_func_modfl_use=no
26712 fi
26713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26714 ac_ext=c
26715 ac_cpp='$CPP $CPPFLAGS'
26716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26719
26720
26721 fi
26722
26723 fi
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26725 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26726
26727 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26728 for ac_func in modfl
26729 do :
26730 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26731 if test "x$ac_cv_func_modfl" = x""yes; then :
26732 cat >>confdefs.h <<_ACEOF
26733 #define HAVE_MODFL 1
26734 _ACEOF
26735
26736 fi
26737 done
26738
26739 else
26740
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26742 $as_echo_n "checking for _modfl declaration... " >&6; }
26743 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26744 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26745 $as_echo_n "(cached) " >&6
26746 else
26747
26748
26749 ac_ext=cpp
26750 ac_cpp='$CXXCPP $CPPFLAGS'
26751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26754
26755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26756 /* end confdefs.h. */
26757 #include <math.h>
26758 int
26759 main ()
26760 {
26761 _modfl(0, 0);
26762 ;
26763 return 0;
26764 }
26765 _ACEOF
26766 if ac_fn_cxx_try_compile "$LINENO"; then :
26767 glibcxx_cv_func__modfl_use=yes
26768 else
26769 glibcxx_cv_func__modfl_use=no
26770 fi
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26777
26778
26779 fi
26780
26781 fi
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26783 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26784
26785 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26786 for ac_func in _modfl
26787 do :
26788 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26789 if test "x$ac_cv_func__modfl" = x""yes; then :
26790 cat >>confdefs.h <<_ACEOF
26791 #define HAVE__MODFL 1
26792 _ACEOF
26793
26794 fi
26795 done
26796
26797 fi
26798 fi
26799
26800
26801
26802
26803
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26805 $as_echo_n "checking for powl declaration... " >&6; }
26806 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26807 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26808 $as_echo_n "(cached) " >&6
26809 else
26810
26811
26812 ac_ext=cpp
26813 ac_cpp='$CXXCPP $CPPFLAGS'
26814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26817
26818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26819 /* end confdefs.h. */
26820 #include <math.h>
26821 int
26822 main ()
26823 {
26824 powl(0, 0);
26825 ;
26826 return 0;
26827 }
26828 _ACEOF
26829 if ac_fn_cxx_try_compile "$LINENO"; then :
26830 glibcxx_cv_func_powl_use=yes
26831 else
26832 glibcxx_cv_func_powl_use=no
26833 fi
26834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 ac_ext=c
26836 ac_cpp='$CPP $CPPFLAGS'
26837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26840
26841
26842 fi
26843
26844 fi
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26846 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26847
26848 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26849 for ac_func in powl
26850 do :
26851 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26852 if test "x$ac_cv_func_powl" = x""yes; then :
26853 cat >>confdefs.h <<_ACEOF
26854 #define HAVE_POWL 1
26855 _ACEOF
26856
26857 fi
26858 done
26859
26860 else
26861
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26863 $as_echo_n "checking for _powl declaration... " >&6; }
26864 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26865 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26866 $as_echo_n "(cached) " >&6
26867 else
26868
26869
26870 ac_ext=cpp
26871 ac_cpp='$CXXCPP $CPPFLAGS'
26872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26875
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 #include <math.h>
26879 int
26880 main ()
26881 {
26882 _powl(0, 0);
26883 ;
26884 return 0;
26885 }
26886 _ACEOF
26887 if ac_fn_cxx_try_compile "$LINENO"; then :
26888 glibcxx_cv_func__powl_use=yes
26889 else
26890 glibcxx_cv_func__powl_use=no
26891 fi
26892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26893 ac_ext=c
26894 ac_cpp='$CPP $CPPFLAGS'
26895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26898
26899
26900 fi
26901
26902 fi
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26904 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26905
26906 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26907 for ac_func in _powl
26908 do :
26909 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26910 if test "x$ac_cv_func__powl" = x""yes; then :
26911 cat >>confdefs.h <<_ACEOF
26912 #define HAVE__POWL 1
26913 _ACEOF
26914
26915 fi
26916 done
26917
26918 fi
26919 fi
26920
26921
26922
26923
26924
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26926 $as_echo_n "checking for sqrtl declaration... " >&6; }
26927 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26928 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26929 $as_echo_n "(cached) " >&6
26930 else
26931
26932
26933 ac_ext=cpp
26934 ac_cpp='$CXXCPP $CPPFLAGS'
26935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26938
26939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26940 /* end confdefs.h. */
26941 #include <math.h>
26942 #ifdef HAVE_IEEEFP_H
26943 #include <ieeefp.h>
26944 #endif
26945
26946 int
26947 main ()
26948 {
26949 sqrtl(0);
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 if ac_fn_cxx_try_compile "$LINENO"; then :
26955 glibcxx_cv_func_sqrtl_use=yes
26956 else
26957 glibcxx_cv_func_sqrtl_use=no
26958 fi
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26960 ac_ext=c
26961 ac_cpp='$CPP $CPPFLAGS'
26962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965
26966
26967 fi
26968
26969 fi
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26971 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26972
26973 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26974 for ac_func in sqrtl
26975 do :
26976 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26977 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26978 cat >>confdefs.h <<_ACEOF
26979 #define HAVE_SQRTL 1
26980 _ACEOF
26981
26982 fi
26983 done
26984
26985 else
26986
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26988 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26989 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26990 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993
26994
26995 ac_ext=cpp
26996 ac_cpp='$CXXCPP $CPPFLAGS'
26997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27000
27001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002 /* end confdefs.h. */
27003 #include <math.h>
27004 #ifdef HAVE_IEEEFP_H
27005 #include <ieeefp.h>
27006 #endif
27007
27008 int
27009 main ()
27010 {
27011 _sqrtl(0);
27012 ;
27013 return 0;
27014 }
27015 _ACEOF
27016 if ac_fn_cxx_try_compile "$LINENO"; then :
27017 glibcxx_cv_func__sqrtl_use=yes
27018 else
27019 glibcxx_cv_func__sqrtl_use=no
27020 fi
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022 ac_ext=c
27023 ac_cpp='$CPP $CPPFLAGS'
27024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27027
27028
27029 fi
27030
27031 fi
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27033 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27034
27035 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27036 for ac_func in _sqrtl
27037 do :
27038 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27039 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27040 cat >>confdefs.h <<_ACEOF
27041 #define HAVE__SQRTL 1
27042 _ACEOF
27043
27044 fi
27045 done
27046
27047 fi
27048 fi
27049
27050
27051
27052
27053
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27055 $as_echo_n "checking for sincosl declaration... " >&6; }
27056 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27057 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27060
27061
27062 ac_ext=cpp
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <math.h>
27071 int
27072 main ()
27073 {
27074 sincosl(0, 0, 0);
27075 ;
27076 return 0;
27077 }
27078 _ACEOF
27079 if ac_fn_cxx_try_compile "$LINENO"; then :
27080 glibcxx_cv_func_sincosl_use=yes
27081 else
27082 glibcxx_cv_func_sincosl_use=no
27083 fi
27084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27085 ac_ext=c
27086 ac_cpp='$CPP $CPPFLAGS'
27087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27090
27091
27092 fi
27093
27094 fi
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27096 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27097
27098 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27099 for ac_func in sincosl
27100 do :
27101 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27102 if test "x$ac_cv_func_sincosl" = x""yes; then :
27103 cat >>confdefs.h <<_ACEOF
27104 #define HAVE_SINCOSL 1
27105 _ACEOF
27106
27107 fi
27108 done
27109
27110 else
27111
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27113 $as_echo_n "checking for _sincosl declaration... " >&6; }
27114 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27115 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27116 $as_echo_n "(cached) " >&6
27117 else
27118
27119
27120 ac_ext=cpp
27121 ac_cpp='$CXXCPP $CPPFLAGS'
27122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27125
27126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27127 /* end confdefs.h. */
27128 #include <math.h>
27129 int
27130 main ()
27131 {
27132 _sincosl(0, 0, 0);
27133 ;
27134 return 0;
27135 }
27136 _ACEOF
27137 if ac_fn_cxx_try_compile "$LINENO"; then :
27138 glibcxx_cv_func__sincosl_use=yes
27139 else
27140 glibcxx_cv_func__sincosl_use=no
27141 fi
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27143 ac_ext=c
27144 ac_cpp='$CPP $CPPFLAGS'
27145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27148
27149
27150 fi
27151
27152 fi
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27154 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27155
27156 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27157 for ac_func in _sincosl
27158 do :
27159 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27160 if test "x$ac_cv_func__sincosl" = x""yes; then :
27161 cat >>confdefs.h <<_ACEOF
27162 #define HAVE__SINCOSL 1
27163 _ACEOF
27164
27165 fi
27166 done
27167
27168 fi
27169 fi
27170
27171
27172
27173
27174
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27176 $as_echo_n "checking for finitel declaration... " >&6; }
27177 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27178 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27181
27182
27183 ac_ext=cpp
27184 ac_cpp='$CXXCPP $CPPFLAGS'
27185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27188
27189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27190 /* end confdefs.h. */
27191 #include <math.h>
27192 #ifdef HAVE_IEEEFP_H
27193 #include <ieeefp.h>
27194 #endif
27195
27196 int
27197 main ()
27198 {
27199 finitel(0);
27200 ;
27201 return 0;
27202 }
27203 _ACEOF
27204 if ac_fn_cxx_try_compile "$LINENO"; then :
27205 glibcxx_cv_func_finitel_use=yes
27206 else
27207 glibcxx_cv_func_finitel_use=no
27208 fi
27209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27210 ac_ext=c
27211 ac_cpp='$CPP $CPPFLAGS'
27212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27215
27216
27217 fi
27218
27219 fi
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27221 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27222
27223 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27224 for ac_func in finitel
27225 do :
27226 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27227 if test "x$ac_cv_func_finitel" = x""yes; then :
27228 cat >>confdefs.h <<_ACEOF
27229 #define HAVE_FINITEL 1
27230 _ACEOF
27231
27232 fi
27233 done
27234
27235 else
27236
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27238 $as_echo_n "checking for _finitel declaration... " >&6; }
27239 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27240 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27241 $as_echo_n "(cached) " >&6
27242 else
27243
27244
27245 ac_ext=cpp
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 #include <math.h>
27254 #ifdef HAVE_IEEEFP_H
27255 #include <ieeefp.h>
27256 #endif
27257
27258 int
27259 main ()
27260 {
27261 _finitel(0);
27262 ;
27263 return 0;
27264 }
27265 _ACEOF
27266 if ac_fn_cxx_try_compile "$LINENO"; then :
27267 glibcxx_cv_func__finitel_use=yes
27268 else
27269 glibcxx_cv_func__finitel_use=no
27270 fi
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 ac_ext=c
27273 ac_cpp='$CPP $CPPFLAGS'
27274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27277
27278
27279 fi
27280
27281 fi
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27283 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27284
27285 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27286 for ac_func in _finitel
27287 do :
27288 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27289 if test "x$ac_cv_func__finitel" = x""yes; then :
27290 cat >>confdefs.h <<_ACEOF
27291 #define HAVE__FINITEL 1
27292 _ACEOF
27293
27294 fi
27295 done
27296
27297 fi
27298 fi
27299
27300
27301
27302
27303 LIBS="$ac_save_LIBS"
27304 CXXFLAGS="$ac_save_CXXFLAGS"
27305
27306
27307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27308 ac_save_CXXFLAGS="$CXXFLAGS"
27309 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27310
27311
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27313 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27314 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27315 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27316 $as_echo_n "(cached) " >&6
27317 else
27318
27319
27320 ac_ext=cpp
27321 ac_cpp='$CXXCPP $CPPFLAGS'
27322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27325
27326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27327 /* end confdefs.h. */
27328 #include <stdlib.h>
27329 int
27330 main ()
27331 {
27332 at_quick_exit(0);
27333 ;
27334 return 0;
27335 }
27336 _ACEOF
27337 if ac_fn_cxx_try_compile "$LINENO"; then :
27338 glibcxx_cv_func_at_quick_exit_use=yes
27339 else
27340 glibcxx_cv_func_at_quick_exit_use=no
27341 fi
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27343 ac_ext=c
27344 ac_cpp='$CPP $CPPFLAGS'
27345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27348
27349
27350 fi
27351
27352 fi
27353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27354 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27355 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27356 for ac_func in at_quick_exit
27357 do :
27358 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27359 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27360 cat >>confdefs.h <<_ACEOF
27361 #define HAVE_AT_QUICK_EXIT 1
27362 _ACEOF
27363
27364 fi
27365 done
27366
27367 fi
27368
27369
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27371 $as_echo_n "checking for quick_exit declaration... " >&6; }
27372 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27373 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27374 $as_echo_n "(cached) " >&6
27375 else
27376
27377
27378 ac_ext=cpp
27379 ac_cpp='$CXXCPP $CPPFLAGS'
27380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27383
27384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27385 /* end confdefs.h. */
27386 #include <stdlib.h>
27387 int
27388 main ()
27389 {
27390 quick_exit(0);
27391 ;
27392 return 0;
27393 }
27394 _ACEOF
27395 if ac_fn_cxx_try_compile "$LINENO"; then :
27396 glibcxx_cv_func_quick_exit_use=yes
27397 else
27398 glibcxx_cv_func_quick_exit_use=no
27399 fi
27400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27401 ac_ext=c
27402 ac_cpp='$CPP $CPPFLAGS'
27403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27406
27407
27408 fi
27409
27410 fi
27411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27412 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27413 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27414 for ac_func in quick_exit
27415 do :
27416 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27417 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27418 cat >>confdefs.h <<_ACEOF
27419 #define HAVE_QUICK_EXIT 1
27420 _ACEOF
27421
27422 fi
27423 done
27424
27425 fi
27426
27427
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27429 $as_echo_n "checking for strtold declaration... " >&6; }
27430 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27431 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27433 else
27434
27435
27436 ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27441
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 #include <stdlib.h>
27445 int
27446 main ()
27447 {
27448 strtold(0, 0);
27449 ;
27450 return 0;
27451 }
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func_strtold_use=yes
27455 else
27456 glibcxx_cv_func_strtold_use=no
27457 fi
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27464
27465
27466 fi
27467
27468 fi
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27470 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27471 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27472 for ac_func in strtold
27473 do :
27474 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27475 if test "x$ac_cv_func_strtold" = x""yes; then :
27476 cat >>confdefs.h <<_ACEOF
27477 #define HAVE_STRTOLD 1
27478 _ACEOF
27479
27480 fi
27481 done
27482
27483 fi
27484
27485
27486
27487
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27489 $as_echo_n "checking for strtof declaration... " >&6; }
27490 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27491 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27492 $as_echo_n "(cached) " >&6
27493 else
27494
27495
27496 ac_ext=cpp
27497 ac_cpp='$CXXCPP $CPPFLAGS'
27498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27501
27502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27503 /* end confdefs.h. */
27504 #include <stdlib.h>
27505 int
27506 main ()
27507 {
27508 strtof(0, 0);
27509 ;
27510 return 0;
27511 }
27512 _ACEOF
27513 if ac_fn_cxx_try_compile "$LINENO"; then :
27514 glibcxx_cv_func_strtof_use=yes
27515 else
27516 glibcxx_cv_func_strtof_use=no
27517 fi
27518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27519 ac_ext=c
27520 ac_cpp='$CPP $CPPFLAGS'
27521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524
27525
27526 fi
27527
27528 fi
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27530 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27531 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27532 for ac_func in strtof
27533 do :
27534 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27535 if test "x$ac_cv_func_strtof" = x""yes; then :
27536 cat >>confdefs.h <<_ACEOF
27537 #define HAVE_STRTOF 1
27538 _ACEOF
27539
27540 fi
27541 done
27542
27543 fi
27544
27545
27546
27547
27548 CXXFLAGS="$ac_save_CXXFLAGS"
27549
27550
27551 # For /dev/random and /dev/urandom for TR1.
27552
27553
27554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27555 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27556 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27557 $as_echo_n "(cached) " >&6
27558 else
27559
27560 if test -r /dev/random && test -r /dev/urandom; then
27561 ## For MSys environment the test above is detect as false-positive
27562 ## on mingw-targets. So disable it explicit for them.
27563 case ${target_os} in
27564 *mingw*) glibcxx_cv_random_tr1=no ;;
27565 *) glibcxx_cv_random_tr1=yes ;;
27566 esac
27567 else
27568 glibcxx_cv_random_tr1=no;
27569 fi
27570
27571 fi
27572
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27574 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27575
27576 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27577
27578 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27579
27580 fi
27581
27582
27583
27584 # For TLS support.
27585
27586
27587 # Check whether --enable-tls was given.
27588 if test "${enable_tls+set}" = set; then :
27589 enableval=$enable_tls;
27590 case "$enableval" in
27591 yes|no) ;;
27592 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27593 esac
27594
27595 else
27596 enable_tls=yes
27597 fi
27598
27599
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27601 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27602 if test "${gcc_cv_have_tls+set}" = set; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27605
27606 if test "$cross_compiling" = yes; then :
27607 if test x$gcc_no_link = xyes; then
27608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27609 fi
27610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27611 /* end confdefs.h. */
27612 __thread int a; int b; int main() { return a = b; }
27613 _ACEOF
27614 if ac_fn_c_try_link "$LINENO"; then :
27615 chktls_save_LDFLAGS="$LDFLAGS"
27616 case $host in
27617 *-*-linux*)
27618 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27619 ;;
27620 esac
27621 chktls_save_CFLAGS="$CFLAGS"
27622 CFLAGS="-fPIC $CFLAGS"
27623 if test x$gcc_no_link = xyes; then
27624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27625 fi
27626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27627 /* end confdefs.h. */
27628 int f() { return 0; }
27629 _ACEOF
27630 if ac_fn_c_try_link "$LINENO"; then :
27631 if test x$gcc_no_link = xyes; then
27632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27633 fi
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 __thread int a; int b; int f() { return a = b; }
27637 _ACEOF
27638 if ac_fn_c_try_link "$LINENO"; then :
27639 gcc_cv_have_tls=yes
27640 else
27641 gcc_cv_have_tls=no
27642 fi
27643 rm -f core conftest.err conftest.$ac_objext \
27644 conftest$ac_exeext conftest.$ac_ext
27645 else
27646 gcc_cv_have_tls=yes
27647 fi
27648 rm -f core conftest.err conftest.$ac_objext \
27649 conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS="$chktls_save_CFLAGS"
27651 LDFLAGS="$chktls_save_LDFLAGS"
27652 else
27653 gcc_cv_have_tls=no
27654 fi
27655 rm -f core conftest.err conftest.$ac_objext \
27656 conftest$ac_exeext conftest.$ac_ext
27657
27658
27659 else
27660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27661 /* end confdefs.h. */
27662 __thread int a; int b; int main() { return a = b; }
27663 _ACEOF
27664 if ac_fn_c_try_run "$LINENO"; then :
27665 chktls_save_LDFLAGS="$LDFLAGS"
27666 LDFLAGS="-static $LDFLAGS"
27667 if test x$gcc_no_link = xyes; then
27668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27669 fi
27670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27671 /* end confdefs.h. */
27672 int main() { return 0; }
27673 _ACEOF
27674 if ac_fn_c_try_link "$LINENO"; then :
27675 if test "$cross_compiling" = yes; then :
27676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27678 as_fn_error "cannot run test program while cross compiling
27679 See \`config.log' for more details." "$LINENO" 5; }
27680 else
27681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27682 /* end confdefs.h. */
27683 __thread int a; int b; int main() { return a = b; }
27684 _ACEOF
27685 if ac_fn_c_try_run "$LINENO"; then :
27686 gcc_cv_have_tls=yes
27687 else
27688 gcc_cv_have_tls=no
27689 fi
27690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27691 conftest.$ac_objext conftest.beam conftest.$ac_ext
27692 fi
27693
27694 else
27695 gcc_cv_have_tls=yes
27696 fi
27697 rm -f core conftest.err conftest.$ac_objext \
27698 conftest$ac_exeext conftest.$ac_ext
27699 LDFLAGS="$chktls_save_LDFLAGS"
27700 if test $gcc_cv_have_tls = yes; then
27701 chktls_save_CFLAGS="$CFLAGS"
27702 thread_CFLAGS=failed
27703 for flag in '' '-pthread' '-lpthread'; do
27704 CFLAGS="$flag $chktls_save_CFLAGS"
27705 if test x$gcc_no_link = xyes; then
27706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27707 fi
27708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27709 /* end confdefs.h. */
27710 #include <pthread.h>
27711 void *g(void *d) { return NULL; }
27712 int
27713 main ()
27714 {
27715 pthread_t t; pthread_create(&t,NULL,g,NULL);
27716 ;
27717 return 0;
27718 }
27719 _ACEOF
27720 if ac_fn_c_try_link "$LINENO"; then :
27721 thread_CFLAGS="$flag"
27722 fi
27723 rm -f core conftest.err conftest.$ac_objext \
27724 conftest$ac_exeext conftest.$ac_ext
27725 if test "X$thread_CFLAGS" != Xfailed; then
27726 break
27727 fi
27728 done
27729 CFLAGS="$chktls_save_CFLAGS"
27730 if test "X$thread_CFLAGS" != Xfailed; then
27731 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27732 if test "$cross_compiling" = yes; then :
27733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27735 as_fn_error "cannot run test program while cross compiling
27736 See \`config.log' for more details." "$LINENO" 5; }
27737 else
27738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27739 /* end confdefs.h. */
27740 #include <pthread.h>
27741 __thread int a;
27742 static int *volatile a_in_other_thread;
27743 static void *
27744 thread_func (void *arg)
27745 {
27746 a_in_other_thread = &a;
27747 return (void *)0;
27748 }
27749 int
27750 main ()
27751 {
27752 pthread_t thread;
27753 void *thread_retval;
27754 int *volatile a_in_main_thread;
27755 a_in_main_thread = &a;
27756 if (pthread_create (&thread, (pthread_attr_t *)0,
27757 thread_func, (void *)0))
27758 return 0;
27759 if (pthread_join (thread, &thread_retval))
27760 return 0;
27761 return (a_in_other_thread == a_in_main_thread);
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 if ac_fn_c_try_run "$LINENO"; then :
27767 gcc_cv_have_tls=yes
27768 else
27769 gcc_cv_have_tls=no
27770 fi
27771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27772 conftest.$ac_objext conftest.beam conftest.$ac_ext
27773 fi
27774
27775 CFLAGS="$chktls_save_CFLAGS"
27776 fi
27777 fi
27778 else
27779 gcc_cv_have_tls=no
27780 fi
27781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27782 conftest.$ac_objext conftest.beam conftest.$ac_ext
27783 fi
27784
27785 fi
27786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27787 $as_echo "$gcc_cv_have_tls" >&6; }
27788 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27789
27790 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27791
27792 fi
27793
27794 for ac_func in __cxa_thread_atexit_impl
27795 do :
27796 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27797 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27798 cat >>confdefs.h <<_ACEOF
27799 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27800 _ACEOF
27801
27802 fi
27803 done
27804
27805
27806 # For iconv support.
27807
27808 if test "X$prefix" = "XNONE"; then
27809 acl_final_prefix="$ac_default_prefix"
27810 else
27811 acl_final_prefix="$prefix"
27812 fi
27813 if test "X$exec_prefix" = "XNONE"; then
27814 acl_final_exec_prefix='${prefix}'
27815 else
27816 acl_final_exec_prefix="$exec_prefix"
27817 fi
27818 acl_save_prefix="$prefix"
27819 prefix="$acl_final_prefix"
27820 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27821 prefix="$acl_save_prefix"
27822
27823
27824 # Check whether --with-gnu-ld was given.
27825 if test "${with_gnu_ld+set}" = set; then :
27826 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27827 else
27828 with_gnu_ld=no
27829 fi
27830
27831 # Prepare PATH_SEPARATOR.
27832 # The user is always right.
27833 if test "${PATH_SEPARATOR+set}" != set; then
27834 echo "#! /bin/sh" >conf$$.sh
27835 echo "exit 0" >>conf$$.sh
27836 chmod +x conf$$.sh
27837 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27838 PATH_SEPARATOR=';'
27839 else
27840 PATH_SEPARATOR=:
27841 fi
27842 rm -f conf$$.sh
27843 fi
27844 ac_prog=ld
27845 if test "$GCC" = yes; then
27846 # Check if gcc -print-prog-name=ld gives a path.
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27848 $as_echo_n "checking for ld used by GCC... " >&6; }
27849 case $host in
27850 *-*-mingw*)
27851 # gcc leaves a trailing carriage return which upsets mingw
27852 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27853 *)
27854 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27855 esac
27856 case $ac_prog in
27857 # Accept absolute paths.
27858 [\\/]* | [A-Za-z]:[\\/]*)
27859 re_direlt='/[^/][^/]*/\.\./'
27860 # Canonicalize the path of ld
27861 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27862 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27863 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27864 done
27865 test -z "$LD" && LD="$ac_prog"
27866 ;;
27867 "")
27868 # If it fails, then pretend we aren't using GCC.
27869 ac_prog=ld
27870 ;;
27871 *)
27872 # If it is relative, then search for the first ld in PATH.
27873 with_gnu_ld=unknown
27874 ;;
27875 esac
27876 elif test "$with_gnu_ld" = yes; then
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27878 $as_echo_n "checking for GNU ld... " >&6; }
27879 else
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27881 $as_echo_n "checking for non-GNU ld... " >&6; }
27882 fi
27883 if test "${acl_cv_path_LD+set}" = set; then :
27884 $as_echo_n "(cached) " >&6
27885 else
27886 if test -z "$LD"; then
27887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27888 for ac_dir in $PATH; do
27889 test -z "$ac_dir" && ac_dir=.
27890 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27891 acl_cv_path_LD="$ac_dir/$ac_prog"
27892 # Check to see if the program is GNU ld. I'd rather use --version,
27893 # but apparently some GNU ld's only accept -v.
27894 # Break only if it was the GNU/non-GNU ld that we prefer.
27895 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27896 test "$with_gnu_ld" != no && break
27897 else
27898 test "$with_gnu_ld" != yes && break
27899 fi
27900 fi
27901 done
27902 IFS="$ac_save_ifs"
27903 else
27904 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27905 fi
27906 fi
27907
27908 LD="$acl_cv_path_LD"
27909 if test -n "$LD"; then
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27911 $as_echo "$LD" >&6; }
27912 else
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27914 $as_echo "no" >&6; }
27915 fi
27916 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27919 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27920 $as_echo_n "(cached) " >&6
27921 else
27922 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27923 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27924 acl_cv_prog_gnu_ld=yes
27925 else
27926 acl_cv_prog_gnu_ld=no
27927 fi
27928 fi
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27930 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27931 with_gnu_ld=$acl_cv_prog_gnu_ld
27932
27933
27934
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27936 $as_echo_n "checking for shared library run path origin... " >&6; }
27937 if test "${acl_cv_rpath+set}" = set; then :
27938 $as_echo_n "(cached) " >&6
27939 else
27940
27941 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27942 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27943 . ./conftest.sh
27944 rm -f ./conftest.sh
27945 acl_cv_rpath=done
27946
27947 fi
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27949 $as_echo "$acl_cv_rpath" >&6; }
27950 wl="$acl_cv_wl"
27951 libext="$acl_cv_libext"
27952 shlibext="$acl_cv_shlibext"
27953 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27954 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27955 hardcode_direct="$acl_cv_hardcode_direct"
27956 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27957 # Check whether --enable-rpath was given.
27958 if test "${enable_rpath+set}" = set; then :
27959 enableval=$enable_rpath; :
27960 else
27961 enable_rpath=yes
27962 fi
27963
27964
27965
27966
27967
27968
27969
27970
27971 use_additional=yes
27972
27973 acl_save_prefix="$prefix"
27974 prefix="$acl_final_prefix"
27975 acl_save_exec_prefix="$exec_prefix"
27976 exec_prefix="$acl_final_exec_prefix"
27977
27978 eval additional_includedir=\"$includedir\"
27979 eval additional_libdir=\"$libdir\"
27980
27981 exec_prefix="$acl_save_exec_prefix"
27982 prefix="$acl_save_prefix"
27983
27984
27985 # Check whether --with-libiconv-prefix was given.
27986 if test "${with_libiconv_prefix+set}" = set; then :
27987 withval=$with_libiconv_prefix;
27988 if test "X$withval" = "Xno"; then
27989 use_additional=no
27990 else
27991 if test "X$withval" = "X"; then
27992
27993 acl_save_prefix="$prefix"
27994 prefix="$acl_final_prefix"
27995 acl_save_exec_prefix="$exec_prefix"
27996 exec_prefix="$acl_final_exec_prefix"
27997
27998 eval additional_includedir=\"$includedir\"
27999 eval additional_libdir=\"$libdir\"
28000
28001 exec_prefix="$acl_save_exec_prefix"
28002 prefix="$acl_save_prefix"
28003
28004 else
28005 additional_includedir="$withval/include"
28006 additional_libdir="$withval/lib"
28007 fi
28008 fi
28009
28010 fi
28011
28012 LIBICONV=
28013 LTLIBICONV=
28014 INCICONV=
28015 rpathdirs=
28016 ltrpathdirs=
28017 names_already_handled=
28018 names_next_round='iconv '
28019 while test -n "$names_next_round"; do
28020 names_this_round="$names_next_round"
28021 names_next_round=
28022 for name in $names_this_round; do
28023 already_handled=
28024 for n in $names_already_handled; do
28025 if test "$n" = "$name"; then
28026 already_handled=yes
28027 break
28028 fi
28029 done
28030 if test -z "$already_handled"; then
28031 names_already_handled="$names_already_handled $name"
28032 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28033 eval value=\"\$HAVE_LIB$uppername\"
28034 if test -n "$value"; then
28035 if test "$value" = yes; then
28036 eval value=\"\$LIB$uppername\"
28037 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28038 eval value=\"\$LTLIB$uppername\"
28039 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28040 else
28041 :
28042 fi
28043 else
28044 found_dir=
28045 found_la=
28046 found_so=
28047 found_a=
28048 if test $use_additional = yes; then
28049 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28050 found_dir="$additional_libdir"
28051 found_so="$additional_libdir/lib$name.$shlibext"
28052 if test -f "$additional_libdir/lib$name.la"; then
28053 found_la="$additional_libdir/lib$name.la"
28054 fi
28055 else
28056 if test -f "$additional_libdir/lib$name.$libext"; then
28057 found_dir="$additional_libdir"
28058 found_a="$additional_libdir/lib$name.$libext"
28059 if test -f "$additional_libdir/lib$name.la"; then
28060 found_la="$additional_libdir/lib$name.la"
28061 fi
28062 fi
28063 fi
28064 fi
28065 if test "X$found_dir" = "X"; then
28066 for x in $LDFLAGS $LTLIBICONV; do
28067
28068 acl_save_prefix="$prefix"
28069 prefix="$acl_final_prefix"
28070 acl_save_exec_prefix="$exec_prefix"
28071 exec_prefix="$acl_final_exec_prefix"
28072 eval x=\"$x\"
28073 exec_prefix="$acl_save_exec_prefix"
28074 prefix="$acl_save_prefix"
28075
28076 case "$x" in
28077 -L*)
28078 dir=`echo "X$x" | sed -e 's/^X-L//'`
28079 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28080 found_dir="$dir"
28081 found_so="$dir/lib$name.$shlibext"
28082 if test -f "$dir/lib$name.la"; then
28083 found_la="$dir/lib$name.la"
28084 fi
28085 else
28086 if test -f "$dir/lib$name.$libext"; then
28087 found_dir="$dir"
28088 found_a="$dir/lib$name.$libext"
28089 if test -f "$dir/lib$name.la"; then
28090 found_la="$dir/lib$name.la"
28091 fi
28092 fi
28093 fi
28094 ;;
28095 esac
28096 if test "X$found_dir" != "X"; then
28097 break
28098 fi
28099 done
28100 fi
28101 if test "X$found_dir" != "X"; then
28102 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28103 if test "X$found_so" != "X"; then
28104 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28105 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28106 else
28107 haveit=
28108 for x in $ltrpathdirs; do
28109 if test "X$x" = "X$found_dir"; then
28110 haveit=yes
28111 break
28112 fi
28113 done
28114 if test -z "$haveit"; then
28115 ltrpathdirs="$ltrpathdirs $found_dir"
28116 fi
28117 if test "$hardcode_direct" = yes; then
28118 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28119 else
28120 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28121 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28122 haveit=
28123 for x in $rpathdirs; do
28124 if test "X$x" = "X$found_dir"; then
28125 haveit=yes
28126 break
28127 fi
28128 done
28129 if test -z "$haveit"; then
28130 rpathdirs="$rpathdirs $found_dir"
28131 fi
28132 else
28133 haveit=
28134 for x in $LDFLAGS $LIBICONV; do
28135
28136 acl_save_prefix="$prefix"
28137 prefix="$acl_final_prefix"
28138 acl_save_exec_prefix="$exec_prefix"
28139 exec_prefix="$acl_final_exec_prefix"
28140 eval x=\"$x\"
28141 exec_prefix="$acl_save_exec_prefix"
28142 prefix="$acl_save_prefix"
28143
28144 if test "X$x" = "X-L$found_dir"; then
28145 haveit=yes
28146 break
28147 fi
28148 done
28149 if test -z "$haveit"; then
28150 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28151 fi
28152 if test "$hardcode_minus_L" != no; then
28153 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28154 else
28155 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28156 fi
28157 fi
28158 fi
28159 fi
28160 else
28161 if test "X$found_a" != "X"; then
28162 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28163 else
28164 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28165 fi
28166 fi
28167 additional_includedir=
28168 case "$found_dir" in
28169 */lib | */lib/)
28170 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28171 additional_includedir="$basedir/include"
28172 ;;
28173 esac
28174 if test "X$additional_includedir" != "X"; then
28175 if test "X$additional_includedir" != "X/usr/include"; then
28176 haveit=
28177 if test "X$additional_includedir" = "X/usr/local/include"; then
28178 if test -n "$GCC"; then
28179 case $host_os in
28180 linux*) haveit=yes;;
28181 esac
28182 fi
28183 fi
28184 if test -z "$haveit"; then
28185 for x in $CPPFLAGS $INCICONV; do
28186
28187 acl_save_prefix="$prefix"
28188 prefix="$acl_final_prefix"
28189 acl_save_exec_prefix="$exec_prefix"
28190 exec_prefix="$acl_final_exec_prefix"
28191 eval x=\"$x\"
28192 exec_prefix="$acl_save_exec_prefix"
28193 prefix="$acl_save_prefix"
28194
28195 if test "X$x" = "X-I$additional_includedir"; then
28196 haveit=yes
28197 break
28198 fi
28199 done
28200 if test -z "$haveit"; then
28201 if test -d "$additional_includedir"; then
28202 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28203 fi
28204 fi
28205 fi
28206 fi
28207 fi
28208 if test -n "$found_la"; then
28209 save_libdir="$libdir"
28210 case "$found_la" in
28211 */* | *\\*) . "$found_la" ;;
28212 *) . "./$found_la" ;;
28213 esac
28214 libdir="$save_libdir"
28215 for dep in $dependency_libs; do
28216 case "$dep" in
28217 -L*)
28218 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28219 if test "X$additional_libdir" != "X/usr/lib"; then
28220 haveit=
28221 if test "X$additional_libdir" = "X/usr/local/lib"; then
28222 if test -n "$GCC"; then
28223 case $host_os in
28224 linux*) haveit=yes;;
28225 esac
28226 fi
28227 fi
28228 if test -z "$haveit"; then
28229 haveit=
28230 for x in $LDFLAGS $LIBICONV; do
28231
28232 acl_save_prefix="$prefix"
28233 prefix="$acl_final_prefix"
28234 acl_save_exec_prefix="$exec_prefix"
28235 exec_prefix="$acl_final_exec_prefix"
28236 eval x=\"$x\"
28237 exec_prefix="$acl_save_exec_prefix"
28238 prefix="$acl_save_prefix"
28239
28240 if test "X$x" = "X-L$additional_libdir"; then
28241 haveit=yes
28242 break
28243 fi
28244 done
28245 if test -z "$haveit"; then
28246 if test -d "$additional_libdir"; then
28247 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28248 fi
28249 fi
28250 haveit=
28251 for x in $LDFLAGS $LTLIBICONV; do
28252
28253 acl_save_prefix="$prefix"
28254 prefix="$acl_final_prefix"
28255 acl_save_exec_prefix="$exec_prefix"
28256 exec_prefix="$acl_final_exec_prefix"
28257 eval x=\"$x\"
28258 exec_prefix="$acl_save_exec_prefix"
28259 prefix="$acl_save_prefix"
28260
28261 if test "X$x" = "X-L$additional_libdir"; then
28262 haveit=yes
28263 break
28264 fi
28265 done
28266 if test -z "$haveit"; then
28267 if test -d "$additional_libdir"; then
28268 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28269 fi
28270 fi
28271 fi
28272 fi
28273 ;;
28274 -R*)
28275 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28276 if test "$enable_rpath" != no; then
28277 haveit=
28278 for x in $rpathdirs; do
28279 if test "X$x" = "X$dir"; then
28280 haveit=yes
28281 break
28282 fi
28283 done
28284 if test -z "$haveit"; then
28285 rpathdirs="$rpathdirs $dir"
28286 fi
28287 haveit=
28288 for x in $ltrpathdirs; do
28289 if test "X$x" = "X$dir"; then
28290 haveit=yes
28291 break
28292 fi
28293 done
28294 if test -z "$haveit"; then
28295 ltrpathdirs="$ltrpathdirs $dir"
28296 fi
28297 fi
28298 ;;
28299 -l*)
28300 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28301 ;;
28302 *.la)
28303 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28304 ;;
28305 *)
28306 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28307 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28308 ;;
28309 esac
28310 done
28311 fi
28312 else
28313 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28314 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28315 fi
28316 fi
28317 fi
28318 done
28319 done
28320 if test "X$rpathdirs" != "X"; then
28321 if test -n "$hardcode_libdir_separator"; then
28322 alldirs=
28323 for found_dir in $rpathdirs; do
28324 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28325 done
28326 acl_save_libdir="$libdir"
28327 libdir="$alldirs"
28328 eval flag=\"$hardcode_libdir_flag_spec\"
28329 libdir="$acl_save_libdir"
28330 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28331 else
28332 for found_dir in $rpathdirs; do
28333 acl_save_libdir="$libdir"
28334 libdir="$found_dir"
28335 eval flag=\"$hardcode_libdir_flag_spec\"
28336 libdir="$acl_save_libdir"
28337 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28338 done
28339 fi
28340 fi
28341 if test "X$ltrpathdirs" != "X"; then
28342 for found_dir in $ltrpathdirs; do
28343 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28344 done
28345 fi
28346
28347
28348
28349
28350
28351
28352
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28354 $as_echo_n "checking for iconv... " >&6; }
28355 if test "${am_cv_func_iconv+set}" = set; then :
28356 $as_echo_n "(cached) " >&6
28357 else
28358
28359 am_cv_func_iconv="no, consider installing GNU libiconv"
28360 am_cv_lib_iconv=no
28361 am_save_CPPFLAGS="$CPPFLAGS"
28362 CPPFLAGS="$CPPFLAGS $INCICONV"
28363 if test x$gcc_no_link = xyes; then
28364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28365 fi
28366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 /* end confdefs.h. */
28368 #include <stdlib.h>
28369 #include <iconv.h>
28370 int
28371 main ()
28372 {
28373 iconv_t cd = iconv_open("","");
28374 iconv(cd,NULL,NULL,NULL,NULL);
28375 iconv_close(cd);
28376 ;
28377 return 0;
28378 }
28379 _ACEOF
28380 if ac_fn_c_try_link "$LINENO"; then :
28381 am_cv_func_iconv=yes
28382 fi
28383 rm -f core conftest.err conftest.$ac_objext \
28384 conftest$ac_exeext conftest.$ac_ext
28385 CPPFLAGS="$am_save_CPPFLAGS"
28386
28387 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28388 for _libs in .libs _libs; do
28389 am_save_CPPFLAGS="$CPPFLAGS"
28390 am_save_LIBS="$LIBS"
28391 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28392 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28393 if test x$gcc_no_link = xyes; then
28394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28395 fi
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398 #include <stdlib.h>
28399 #include <iconv.h>
28400 int
28401 main ()
28402 {
28403 iconv_t cd = iconv_open("","");
28404 iconv(cd,NULL,NULL,NULL,NULL);
28405 iconv_close(cd);
28406 ;
28407 return 0;
28408 }
28409 _ACEOF
28410 if ac_fn_c_try_link "$LINENO"; then :
28411 INCICONV="-I../libiconv/include"
28412 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28413 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28414 am_cv_lib_iconv=yes
28415 am_cv_func_iconv=yes
28416 fi
28417 rm -f core conftest.err conftest.$ac_objext \
28418 conftest$ac_exeext conftest.$ac_ext
28419 CPPFLAGS="$am_save_CPPFLAGS"
28420 LIBS="$am_save_LIBS"
28421 if test "$am_cv_func_iconv" = "yes"; then
28422 break
28423 fi
28424 done
28425 fi
28426
28427 if test "$am_cv_func_iconv" != yes; then
28428 am_save_CPPFLAGS="$CPPFLAGS"
28429 am_save_LIBS="$LIBS"
28430 CPPFLAGS="$LIBS $INCICONV"
28431 LIBS="$LIBS $LIBICONV"
28432 if test x$gcc_no_link = xyes; then
28433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28434 fi
28435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28436 /* end confdefs.h. */
28437 #include <stdlib.h>
28438 #include <iconv.h>
28439 int
28440 main ()
28441 {
28442 iconv_t cd = iconv_open("","");
28443 iconv(cd,NULL,NULL,NULL,NULL);
28444 iconv_close(cd);
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 if ac_fn_c_try_link "$LINENO"; then :
28450 am_cv_lib_iconv=yes
28451 am_cv_func_iconv=yes
28452 fi
28453 rm -f core conftest.err conftest.$ac_objext \
28454 conftest$ac_exeext conftest.$ac_ext
28455 CPPFLAGS="$am_save_CPPFLAGS"
28456 LIBS="$am_save_LIBS"
28457 fi
28458
28459 fi
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28461 $as_echo "$am_cv_func_iconv" >&6; }
28462 if test "$am_cv_func_iconv" = yes; then
28463
28464 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28465
28466 fi
28467 if test "$am_cv_lib_iconv" = yes; then
28468
28469 for element in $INCICONV; do
28470 haveit=
28471 for x in $CPPFLAGS; do
28472
28473 acl_save_prefix="$prefix"
28474 prefix="$acl_final_prefix"
28475 acl_save_exec_prefix="$exec_prefix"
28476 exec_prefix="$acl_final_exec_prefix"
28477 eval x=\"$x\"
28478 exec_prefix="$acl_save_exec_prefix"
28479 prefix="$acl_save_prefix"
28480
28481 if test "X$x" = "X$element"; then
28482 haveit=yes
28483 break
28484 fi
28485 done
28486 if test -z "$haveit"; then
28487 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28488 fi
28489 done
28490
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28492 $as_echo_n "checking how to link with libiconv... " >&6; }
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28494 $as_echo "$LIBICONV" >&6; }
28495 else
28496 LIBICONV=
28497 LTLIBICONV=
28498 fi
28499
28500
28501
28502 if test "$am_cv_func_iconv" = yes; then
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28504 $as_echo_n "checking for iconv declaration... " >&6; }
28505 if test "${am_cv_proto_iconv+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28507 else
28508
28509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28510 /* end confdefs.h. */
28511
28512 #include <stdlib.h>
28513 #include <iconv.h>
28514 extern
28515 #ifdef __cplusplus
28516 "C"
28517 #endif
28518 #if defined(__STDC__) || defined(__cplusplus)
28519 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28520 #else
28521 size_t iconv();
28522 #endif
28523
28524 int
28525 main ()
28526 {
28527
28528 ;
28529 return 0;
28530 }
28531 _ACEOF
28532 if ac_fn_c_try_compile "$LINENO"; then :
28533 am_cv_proto_iconv_arg1=""
28534 else
28535 am_cv_proto_iconv_arg1="const"
28536 fi
28537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28538 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);"
28539 fi
28540
28541 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28543 }$am_cv_proto_iconv" >&5
28544 $as_echo "${ac_t:-
28545 }$am_cv_proto_iconv" >&6; }
28546
28547 cat >>confdefs.h <<_ACEOF
28548 #define ICONV_CONST $am_cv_proto_iconv_arg1
28549 _ACEOF
28550
28551 fi
28552
28553
28554 else
28555
28556 # This lets us hard-code the functionality we know we'll have in the cross
28557 # target environment. "Let" is a sugar-coated word placed on an especially
28558 # dull and tedious hack, actually.
28559 #
28560 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28561 # that involve linking, can't be used:
28562 # "cannot open sim-crt0.o"
28563 # "cannot open crt0.o"
28564 # etc. All this is because there currently exists no unified, consistent
28565 # way for top level CC information to be passed down to target directories:
28566 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28567 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28568 # crosses can be removed.
28569
28570 # If Canadian cross, then don't pick up tools from the build directory.
28571 # Used only in GLIBCXX_EXPORT_INCLUDES.
28572 if test -n "$with_cross_host" &&
28573 test x"$build_alias" != x"$with_cross_host" &&
28574 test x"$build" != x"$target";
28575 then
28576 CANADIAN=yes
28577 else
28578 CANADIAN=no
28579 fi
28580
28581 # Construct crosses by hand, eliminating bits that need ld...
28582 # GLIBCXX_CHECK_MATH_SUPPORT
28583
28584 # First, test for "known" system libraries. We may be using newlib even
28585 # on a hosted environment.
28586 if test "x${with_newlib}" = "xyes"; then
28587 os_include_dir="os/newlib"
28588 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28589
28590
28591 # GLIBCXX_CHECK_STDLIB_SUPPORT
28592 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28593
28594
28595 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28596
28597 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28598
28599 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28600
28601 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28602
28603 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28604
28605 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28606
28607 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28608
28609 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28610
28611 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28612
28613 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28614
28615 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28616
28617 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28618
28619 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28620
28621 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28622
28623 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28624
28625 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28626
28627 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28628
28629 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28630
28631 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28632
28633 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28634
28635 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28636
28637 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28638
28639
28640 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28641
28642 else
28643
28644 # Base decisions on target environment.
28645 case "${host}" in
28646 arm*-*-symbianelf*)
28647 # This is a freestanding configuration; there is nothing to do here.
28648 ;;
28649
28650 mips*-sde-elf*)
28651 # These definitions are for the SDE C library rather than newlib.
28652 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28653
28654
28655 # All these tests are for C++; save the language and the compiler flags.
28656 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28657 # found in GLIBCXX_CONFIGURE.
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 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28666 ac_save_CXXFLAGS="$CXXFLAGS"
28667
28668 # Check for maintainer-mode bits.
28669 if test x"$USE_MAINTAINER_MODE" = xno; then
28670 WERROR=''
28671 else
28672 WERROR='-Werror'
28673 fi
28674
28675 # Check for -ffunction-sections -fdata-sections
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28677 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28678 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681 int foo; void bar() { };
28682 int
28683 main ()
28684 {
28685
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 if ac_fn_cxx_try_compile "$LINENO"; then :
28691 ac_fdsections=yes
28692 else
28693 ac_fdsections=no
28694 fi
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 if test "$ac_test_CXXFLAGS" = set; then
28697 CXXFLAGS="$ac_save_CXXFLAGS"
28698 else
28699 # this is the suspicious part
28700 CXXFLAGS=''
28701 fi
28702 if test x"$ac_fdsections" = x"yes"; then
28703 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28704 fi
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28706 $as_echo "$ac_fdsections" >&6; }
28707
28708 ac_ext=c
28709 ac_cpp='$CPP $CPPFLAGS'
28710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28713
28714
28715
28716
28717
28718 # If we're not using GNU ld, then there's no point in even trying these
28719 # tests. Check for that first. We should have already tested for gld
28720 # by now (in libtool), but require it now just to be safe...
28721 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28722 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28723
28724
28725
28726 # The name set by libtool depends on the version of libtool. Shame on us
28727 # for depending on an impl detail, but c'est la vie. Older versions used
28728 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28729 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28730 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28731 # set (hence we're using an older libtool), then set it.
28732 if test x${with_gnu_ld+set} != xset; then
28733 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28734 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28735 with_gnu_ld=no
28736 else
28737 with_gnu_ld=$ac_cv_prog_gnu_ld
28738 fi
28739 fi
28740
28741 # Start by getting the version number. I think the libtool test already
28742 # does some of this, but throws away the result.
28743 glibcxx_ld_is_gold=no
28744 if test x"$with_gnu_ld" = x"yes"; then
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28746 $as_echo_n "checking for ld version... " >&6; }
28747
28748 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28749 glibcxx_ld_is_gold=yes
28750 fi
28751 ldver=`$LD --version 2>/dev/null |
28752 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'`
28753
28754 glibcxx_gnu_ld_version=`echo $ldver | \
28755 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28757 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28758 fi
28759
28760 # Set --gc-sections.
28761 glibcxx_have_gc_sections=no
28762 if test "$glibcxx_ld_is_gold" = "yes"; then
28763 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28764 glibcxx_have_gc_sections=yes
28765 fi
28766 else
28767 glibcxx_gcsections_min_ld=21602
28768 if test x"$with_gnu_ld" = x"yes" &&
28769 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28770 glibcxx_have_gc_sections=yes
28771 fi
28772 fi
28773 if test "$glibcxx_have_gc_sections" = "yes"; then
28774 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28775 # NB: This flag only works reliably after 2.16.1. Configure tests
28776 # for this are difficult, so hard wire a value that should work.
28777
28778 ac_test_CFLAGS="${CFLAGS+set}"
28779 ac_save_CFLAGS="$CFLAGS"
28780 CFLAGS='-Wl,--gc-sections'
28781
28782 # Check for -Wl,--gc-sections
28783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28784 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28785 if test x$gcc_no_link = xyes; then
28786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28787 fi
28788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28789 /* end confdefs.h. */
28790 int one(void) { return 1; }
28791 int two(void) { return 2; }
28792
28793 int
28794 main ()
28795 {
28796 two();
28797 ;
28798 return 0;
28799 }
28800 _ACEOF
28801 if ac_fn_c_try_link "$LINENO"; then :
28802 ac_gcsections=yes
28803 else
28804 ac_gcsections=no
28805 fi
28806 rm -f core conftest.err conftest.$ac_objext \
28807 conftest$ac_exeext conftest.$ac_ext
28808 if test "$ac_gcsections" = "yes"; then
28809 rm -f conftest.c
28810 touch conftest.c
28811 if $CC -c conftest.c; then
28812 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28813 grep "Warning: gc-sections option ignored" > /dev/null; then
28814 ac_gcsections=no
28815 fi
28816 fi
28817 rm -f conftest.c conftest.o conftest
28818 fi
28819 if test "$ac_gcsections" = "yes"; then
28820 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28821 fi
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28823 $as_echo "$ac_gcsections" >&6; }
28824
28825 if test "$ac_test_CFLAGS" = set; then
28826 CFLAGS="$ac_save_CFLAGS"
28827 else
28828 # this is the suspicious part
28829 CFLAGS=''
28830 fi
28831 fi
28832
28833 # Set -z,relro.
28834 # Note this is only for shared objects.
28835 ac_ld_relro=no
28836 if test x"$with_gnu_ld" = x"yes"; then
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28838 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28839 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28840 if test -n "$cxx_z_relo"; then
28841 OPT_LDFLAGS="-Wl,-z,relro"
28842 ac_ld_relro=yes
28843 fi
28844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28845 $as_echo "$ac_ld_relro" >&6; }
28846 fi
28847
28848 # Set linker optimization flags.
28849 if test x"$with_gnu_ld" = x"yes"; then
28850 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28851 fi
28852
28853
28854
28855
28856
28857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28858 ac_save_CXXFLAGS="$CXXFLAGS"
28859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28860
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28862 $as_echo_n "checking for sin in -lm... " >&6; }
28863 if test "${ac_cv_lib_m_sin+set}" = set; then :
28864 $as_echo_n "(cached) " >&6
28865 else
28866 ac_check_lib_save_LIBS=$LIBS
28867 LIBS="-lm $LIBS"
28868 if test x$gcc_no_link = xyes; then
28869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28870 fi
28871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28873
28874 /* Override any GCC internal prototype to avoid an error.
28875 Use char because int might match the return type of a GCC
28876 builtin and then its argument prototype would still apply. */
28877 #ifdef __cplusplus
28878 extern "C"
28879 #endif
28880 char sin ();
28881 int
28882 main ()
28883 {
28884 return sin ();
28885 ;
28886 return 0;
28887 }
28888 _ACEOF
28889 if ac_fn_c_try_link "$LINENO"; then :
28890 ac_cv_lib_m_sin=yes
28891 else
28892 ac_cv_lib_m_sin=no
28893 fi
28894 rm -f core conftest.err conftest.$ac_objext \
28895 conftest$ac_exeext conftest.$ac_ext
28896 LIBS=$ac_check_lib_save_LIBS
28897 fi
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28899 $as_echo "$ac_cv_lib_m_sin" >&6; }
28900 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28901 libm="-lm"
28902 fi
28903
28904 ac_save_LIBS="$LIBS"
28905 LIBS="$LIBS $libm"
28906
28907
28908
28909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28910 $as_echo_n "checking for isinf declaration... " >&6; }
28911 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28912 if test "${glibcxx_cv_func_isinf_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 #ifdef HAVE_IEEEFP_H
28927 #include <ieeefp.h>
28928 #endif
28929
28930 int
28931 main ()
28932 {
28933 isinf(0);
28934 ;
28935 return 0;
28936 }
28937 _ACEOF
28938 if ac_fn_cxx_try_compile "$LINENO"; then :
28939 glibcxx_cv_func_isinf_use=yes
28940 else
28941 glibcxx_cv_func_isinf_use=no
28942 fi
28943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28944 ac_ext=c
28945 ac_cpp='$CPP $CPPFLAGS'
28946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28949
28950
28951 fi
28952
28953 fi
28954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28955 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28956
28957 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28958 for ac_func in isinf
28959 do :
28960 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28961 if test "x$ac_cv_func_isinf" = x""yes; then :
28962 cat >>confdefs.h <<_ACEOF
28963 #define HAVE_ISINF 1
28964 _ACEOF
28965
28966 fi
28967 done
28968
28969 else
28970
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28972 $as_echo_n "checking for _isinf declaration... " >&6; }
28973 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28974 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28975 $as_echo_n "(cached) " >&6
28976 else
28977
28978
28979 ac_ext=cpp
28980 ac_cpp='$CXXCPP $CPPFLAGS'
28981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28984
28985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28986 /* end confdefs.h. */
28987 #include <math.h>
28988 #ifdef HAVE_IEEEFP_H
28989 #include <ieeefp.h>
28990 #endif
28991
28992 int
28993 main ()
28994 {
28995 _isinf(0);
28996 ;
28997 return 0;
28998 }
28999 _ACEOF
29000 if ac_fn_cxx_try_compile "$LINENO"; then :
29001 glibcxx_cv_func__isinf_use=yes
29002 else
29003 glibcxx_cv_func__isinf_use=no
29004 fi
29005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29006 ac_ext=c
29007 ac_cpp='$CPP $CPPFLAGS'
29008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29011
29012
29013 fi
29014
29015 fi
29016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29017 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29018
29019 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29020 for ac_func in _isinf
29021 do :
29022 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29023 if test "x$ac_cv_func__isinf" = x""yes; then :
29024 cat >>confdefs.h <<_ACEOF
29025 #define HAVE__ISINF 1
29026 _ACEOF
29027
29028 fi
29029 done
29030
29031 fi
29032 fi
29033
29034
29035
29036
29037
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29039 $as_echo_n "checking for isnan declaration... " >&6; }
29040 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29041 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29042 $as_echo_n "(cached) " >&6
29043 else
29044
29045
29046 ac_ext=cpp
29047 ac_cpp='$CXXCPP $CPPFLAGS'
29048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29051
29052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29053 /* end confdefs.h. */
29054 #include <math.h>
29055 #ifdef HAVE_IEEEFP_H
29056 #include <ieeefp.h>
29057 #endif
29058
29059 int
29060 main ()
29061 {
29062 isnan(0);
29063 ;
29064 return 0;
29065 }
29066 _ACEOF
29067 if ac_fn_cxx_try_compile "$LINENO"; then :
29068 glibcxx_cv_func_isnan_use=yes
29069 else
29070 glibcxx_cv_func_isnan_use=no
29071 fi
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 ac_ext=c
29074 ac_cpp='$CPP $CPPFLAGS'
29075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29078
29079
29080 fi
29081
29082 fi
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29084 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29085
29086 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29087 for ac_func in isnan
29088 do :
29089 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29090 if test "x$ac_cv_func_isnan" = x""yes; then :
29091 cat >>confdefs.h <<_ACEOF
29092 #define HAVE_ISNAN 1
29093 _ACEOF
29094
29095 fi
29096 done
29097
29098 else
29099
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29101 $as_echo_n "checking for _isnan declaration... " >&6; }
29102 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29103 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29104 $as_echo_n "(cached) " >&6
29105 else
29106
29107
29108 ac_ext=cpp
29109 ac_cpp='$CXXCPP $CPPFLAGS'
29110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29113
29114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29115 /* end confdefs.h. */
29116 #include <math.h>
29117 #ifdef HAVE_IEEEFP_H
29118 #include <ieeefp.h>
29119 #endif
29120
29121 int
29122 main ()
29123 {
29124 _isnan(0);
29125 ;
29126 return 0;
29127 }
29128 _ACEOF
29129 if ac_fn_cxx_try_compile "$LINENO"; then :
29130 glibcxx_cv_func__isnan_use=yes
29131 else
29132 glibcxx_cv_func__isnan_use=no
29133 fi
29134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29135 ac_ext=c
29136 ac_cpp='$CPP $CPPFLAGS'
29137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29140
29141
29142 fi
29143
29144 fi
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29146 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29147
29148 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29149 for ac_func in _isnan
29150 do :
29151 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29152 if test "x$ac_cv_func__isnan" = x""yes; then :
29153 cat >>confdefs.h <<_ACEOF
29154 #define HAVE__ISNAN 1
29155 _ACEOF
29156
29157 fi
29158 done
29159
29160 fi
29161 fi
29162
29163
29164
29165
29166
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29168 $as_echo_n "checking for finite declaration... " >&6; }
29169 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29170 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29173
29174
29175 ac_ext=cpp
29176 ac_cpp='$CXXCPP $CPPFLAGS'
29177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29180
29181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29182 /* end confdefs.h. */
29183 #include <math.h>
29184 #ifdef HAVE_IEEEFP_H
29185 #include <ieeefp.h>
29186 #endif
29187
29188 int
29189 main ()
29190 {
29191 finite(0);
29192 ;
29193 return 0;
29194 }
29195 _ACEOF
29196 if ac_fn_cxx_try_compile "$LINENO"; then :
29197 glibcxx_cv_func_finite_use=yes
29198 else
29199 glibcxx_cv_func_finite_use=no
29200 fi
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 ac_ext=c
29203 ac_cpp='$CPP $CPPFLAGS'
29204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29207
29208
29209 fi
29210
29211 fi
29212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29213 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29214
29215 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29216 for ac_func in finite
29217 do :
29218 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29219 if test "x$ac_cv_func_finite" = x""yes; then :
29220 cat >>confdefs.h <<_ACEOF
29221 #define HAVE_FINITE 1
29222 _ACEOF
29223
29224 fi
29225 done
29226
29227 else
29228
29229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29230 $as_echo_n "checking for _finite declaration... " >&6; }
29231 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29232 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29233 $as_echo_n "(cached) " >&6
29234 else
29235
29236
29237 ac_ext=cpp
29238 ac_cpp='$CXXCPP $CPPFLAGS'
29239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29242
29243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29244 /* end confdefs.h. */
29245 #include <math.h>
29246 #ifdef HAVE_IEEEFP_H
29247 #include <ieeefp.h>
29248 #endif
29249
29250 int
29251 main ()
29252 {
29253 _finite(0);
29254 ;
29255 return 0;
29256 }
29257 _ACEOF
29258 if ac_fn_cxx_try_compile "$LINENO"; then :
29259 glibcxx_cv_func__finite_use=yes
29260 else
29261 glibcxx_cv_func__finite_use=no
29262 fi
29263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29264 ac_ext=c
29265 ac_cpp='$CPP $CPPFLAGS'
29266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269
29270
29271 fi
29272
29273 fi
29274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29275 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29276
29277 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29278 for ac_func in _finite
29279 do :
29280 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29281 if test "x$ac_cv_func__finite" = x""yes; then :
29282 cat >>confdefs.h <<_ACEOF
29283 #define HAVE__FINITE 1
29284 _ACEOF
29285
29286 fi
29287 done
29288
29289 fi
29290 fi
29291
29292
29293
29294
29295
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29297 $as_echo_n "checking for sincos declaration... " >&6; }
29298 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29299 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29300 $as_echo_n "(cached) " >&6
29301 else
29302
29303
29304 ac_ext=cpp
29305 ac_cpp='$CXXCPP $CPPFLAGS'
29306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29309
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <math.h>
29313 int
29314 main ()
29315 {
29316 sincos(0, 0, 0);
29317 ;
29318 return 0;
29319 }
29320 _ACEOF
29321 if ac_fn_cxx_try_compile "$LINENO"; then :
29322 glibcxx_cv_func_sincos_use=yes
29323 else
29324 glibcxx_cv_func_sincos_use=no
29325 fi
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 ac_ext=c
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29332
29333
29334 fi
29335
29336 fi
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29338 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29339
29340 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29341 for ac_func in sincos
29342 do :
29343 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29344 if test "x$ac_cv_func_sincos" = x""yes; then :
29345 cat >>confdefs.h <<_ACEOF
29346 #define HAVE_SINCOS 1
29347 _ACEOF
29348
29349 fi
29350 done
29351
29352 else
29353
29354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29355 $as_echo_n "checking for _sincos declaration... " >&6; }
29356 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29357 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29358 $as_echo_n "(cached) " >&6
29359 else
29360
29361
29362 ac_ext=cpp
29363 ac_cpp='$CXXCPP $CPPFLAGS'
29364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29367
29368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29370 #include <math.h>
29371 int
29372 main ()
29373 {
29374 _sincos(0, 0, 0);
29375 ;
29376 return 0;
29377 }
29378 _ACEOF
29379 if ac_fn_cxx_try_compile "$LINENO"; then :
29380 glibcxx_cv_func__sincos_use=yes
29381 else
29382 glibcxx_cv_func__sincos_use=no
29383 fi
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29385 ac_ext=c
29386 ac_cpp='$CPP $CPPFLAGS'
29387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29390
29391
29392 fi
29393
29394 fi
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29396 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29397
29398 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29399 for ac_func in _sincos
29400 do :
29401 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29402 if test "x$ac_cv_func__sincos" = x""yes; then :
29403 cat >>confdefs.h <<_ACEOF
29404 #define HAVE__SINCOS 1
29405 _ACEOF
29406
29407 fi
29408 done
29409
29410 fi
29411 fi
29412
29413
29414
29415
29416
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29418 $as_echo_n "checking for fpclass declaration... " >&6; }
29419 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29420 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29423
29424
29425 ac_ext=cpp
29426 ac_cpp='$CXXCPP $CPPFLAGS'
29427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29430
29431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432 /* end confdefs.h. */
29433 #include <math.h>
29434 #ifdef HAVE_IEEEFP_H
29435 #include <ieeefp.h>
29436 #endif
29437
29438 int
29439 main ()
29440 {
29441 fpclass(0);
29442 ;
29443 return 0;
29444 }
29445 _ACEOF
29446 if ac_fn_cxx_try_compile "$LINENO"; then :
29447 glibcxx_cv_func_fpclass_use=yes
29448 else
29449 glibcxx_cv_func_fpclass_use=no
29450 fi
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 ac_ext=c
29453 ac_cpp='$CPP $CPPFLAGS'
29454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29457
29458
29459 fi
29460
29461 fi
29462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29463 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29464
29465 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29466 for ac_func in fpclass
29467 do :
29468 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29469 if test "x$ac_cv_func_fpclass" = x""yes; then :
29470 cat >>confdefs.h <<_ACEOF
29471 #define HAVE_FPCLASS 1
29472 _ACEOF
29473
29474 fi
29475 done
29476
29477 else
29478
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29480 $as_echo_n "checking for _fpclass declaration... " >&6; }
29481 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29482 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29483 $as_echo_n "(cached) " >&6
29484 else
29485
29486
29487 ac_ext=cpp
29488 ac_cpp='$CXXCPP $CPPFLAGS'
29489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29492
29493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29494 /* end confdefs.h. */
29495 #include <math.h>
29496 #ifdef HAVE_IEEEFP_H
29497 #include <ieeefp.h>
29498 #endif
29499
29500 int
29501 main ()
29502 {
29503 _fpclass(0);
29504 ;
29505 return 0;
29506 }
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509 glibcxx_cv_func__fpclass_use=yes
29510 else
29511 glibcxx_cv_func__fpclass_use=no
29512 fi
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514 ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29519
29520
29521 fi
29522
29523 fi
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29525 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29526
29527 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29528 for ac_func in _fpclass
29529 do :
29530 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29531 if test "x$ac_cv_func__fpclass" = x""yes; then :
29532 cat >>confdefs.h <<_ACEOF
29533 #define HAVE__FPCLASS 1
29534 _ACEOF
29535
29536 fi
29537 done
29538
29539 fi
29540 fi
29541
29542
29543
29544
29545
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29547 $as_echo_n "checking for qfpclass declaration... " >&6; }
29548 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29549 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29550 $as_echo_n "(cached) " >&6
29551 else
29552
29553
29554 ac_ext=cpp
29555 ac_cpp='$CXXCPP $CPPFLAGS'
29556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29562 #include <math.h>
29563 #ifdef HAVE_IEEEFP_H
29564 #include <ieeefp.h>
29565 #endif
29566
29567 int
29568 main ()
29569 {
29570 qfpclass(0);
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func_qfpclass_use=yes
29577 else
29578 glibcxx_cv_func_qfpclass_use=no
29579 fi
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29586
29587
29588 fi
29589
29590 fi
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29592 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29593
29594 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29595 for ac_func in qfpclass
29596 do :
29597 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29598 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE_QFPCLASS 1
29601 _ACEOF
29602
29603 fi
29604 done
29605
29606 else
29607
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29609 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29610 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29611 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29612 $as_echo_n "(cached) " >&6
29613 else
29614
29615
29616 ac_ext=cpp
29617 ac_cpp='$CXXCPP $CPPFLAGS'
29618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29621
29622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29623 /* end confdefs.h. */
29624 #include <math.h>
29625 #ifdef HAVE_IEEEFP_H
29626 #include <ieeefp.h>
29627 #endif
29628
29629 int
29630 main ()
29631 {
29632 _qfpclass(0);
29633 ;
29634 return 0;
29635 }
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638 glibcxx_cv_func__qfpclass_use=yes
29639 else
29640 glibcxx_cv_func__qfpclass_use=no
29641 fi
29642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643 ac_ext=c
29644 ac_cpp='$CPP $CPPFLAGS'
29645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648
29649
29650 fi
29651
29652 fi
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29654 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29655
29656 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29657 for ac_func in _qfpclass
29658 do :
29659 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29660 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29661 cat >>confdefs.h <<_ACEOF
29662 #define HAVE__QFPCLASS 1
29663 _ACEOF
29664
29665 fi
29666 done
29667
29668 fi
29669 fi
29670
29671
29672
29673
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29676 $as_echo_n "checking for hypot declaration... " >&6; }
29677 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29678 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29681
29682
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29692 int
29693 main ()
29694 {
29695 hypot(0, 0);
29696 ;
29697 return 0;
29698 }
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func_hypot_use=yes
29702 else
29703 glibcxx_cv_func_hypot_use=no
29704 fi
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711
29712
29713 fi
29714
29715 fi
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29717 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29718
29719 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29720 for ac_func in hypot
29721 do :
29722 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29723 if test "x$ac_cv_func_hypot" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE_HYPOT 1
29726 _ACEOF
29727
29728 fi
29729 done
29730
29731 else
29732
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29734 $as_echo_n "checking for _hypot declaration... " >&6; }
29735 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29736 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29737 $as_echo_n "(cached) " >&6
29738 else
29739
29740
29741 ac_ext=cpp
29742 ac_cpp='$CXXCPP $CPPFLAGS'
29743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29746
29747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748 /* end confdefs.h. */
29749 #include <math.h>
29750 int
29751 main ()
29752 {
29753 _hypot(0, 0);
29754 ;
29755 return 0;
29756 }
29757 _ACEOF
29758 if ac_fn_cxx_try_compile "$LINENO"; then :
29759 glibcxx_cv_func__hypot_use=yes
29760 else
29761 glibcxx_cv_func__hypot_use=no
29762 fi
29763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29764 ac_ext=c
29765 ac_cpp='$CPP $CPPFLAGS'
29766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29769
29770
29771 fi
29772
29773 fi
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29775 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29776
29777 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29778 for ac_func in _hypot
29779 do :
29780 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29781 if test "x$ac_cv_func__hypot" = x""yes; then :
29782 cat >>confdefs.h <<_ACEOF
29783 #define HAVE__HYPOT 1
29784 _ACEOF
29785
29786 fi
29787 done
29788
29789 fi
29790 fi
29791
29792
29793
29794
29795
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29797 $as_echo_n "checking for float trig functions... " >&6; }
29798 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29801
29802
29803 ac_ext=cpp
29804 ac_cpp='$CXXCPP $CPPFLAGS'
29805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29808
29809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29810 /* end confdefs.h. */
29811 #include <math.h>
29812 int
29813 main ()
29814 {
29815 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29816 ;
29817 return 0;
29818 }
29819 _ACEOF
29820 if ac_fn_cxx_try_compile "$LINENO"; then :
29821 glibcxx_cv_func_float_trig_use=yes
29822 else
29823 glibcxx_cv_func_float_trig_use=no
29824 fi
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826 ac_ext=c
29827 ac_cpp='$CPP $CPPFLAGS'
29828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29831
29832 fi
29833
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29835 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29836 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29837 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29838 do :
29839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29841 eval as_val=\$$as_ac_var
29842 if test "x$as_val" = x""yes; then :
29843 cat >>confdefs.h <<_ACEOF
29844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29845 _ACEOF
29846
29847 fi
29848 done
29849
29850 else
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29852 $as_echo_n "checking for _float trig functions... " >&6; }
29853 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29854 $as_echo_n "(cached) " >&6
29855 else
29856
29857
29858 ac_ext=cpp
29859 ac_cpp='$CXXCPP $CPPFLAGS'
29860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29863
29864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29865 /* end confdefs.h. */
29866 #include <math.h>
29867 int
29868 main ()
29869 {
29870 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29871 ;
29872 return 0;
29873 }
29874 _ACEOF
29875 if ac_fn_cxx_try_compile "$LINENO"; then :
29876 glibcxx_cv_func__float_trig_use=yes
29877 else
29878 glibcxx_cv_func__float_trig_use=no
29879 fi
29880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29881 ac_ext=c
29882 ac_cpp='$CPP $CPPFLAGS'
29883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29886
29887 fi
29888
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29890 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29891 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29892 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29893 do :
29894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29896 eval as_val=\$$as_ac_var
29897 if test "x$as_val" = x""yes; then :
29898 cat >>confdefs.h <<_ACEOF
29899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29900 _ACEOF
29901
29902 fi
29903 done
29904
29905 fi
29906 fi
29907
29908
29909
29910
29911
29912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29913 $as_echo_n "checking for float round functions... " >&6; }
29914 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29915 $as_echo_n "(cached) " >&6
29916 else
29917
29918
29919 ac_ext=cpp
29920 ac_cpp='$CXXCPP $CPPFLAGS'
29921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29924
29925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29927 #include <math.h>
29928 int
29929 main ()
29930 {
29931 ceilf (0); floorf (0);
29932 ;
29933 return 0;
29934 }
29935 _ACEOF
29936 if ac_fn_cxx_try_compile "$LINENO"; then :
29937 glibcxx_cv_func_float_round_use=yes
29938 else
29939 glibcxx_cv_func_float_round_use=no
29940 fi
29941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942 ac_ext=c
29943 ac_cpp='$CPP $CPPFLAGS'
29944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29947
29948 fi
29949
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29951 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29952 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29953 for ac_func in ceilf floorf
29954 do :
29955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29957 eval as_val=\$$as_ac_var
29958 if test "x$as_val" = x""yes; then :
29959 cat >>confdefs.h <<_ACEOF
29960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29961 _ACEOF
29962
29963 fi
29964 done
29965
29966 else
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29968 $as_echo_n "checking for _float round functions... " >&6; }
29969 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29970 $as_echo_n "(cached) " >&6
29971 else
29972
29973
29974 ac_ext=cpp
29975 ac_cpp='$CXXCPP $CPPFLAGS'
29976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979
29980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29981 /* end confdefs.h. */
29982 #include <math.h>
29983 int
29984 main ()
29985 {
29986 _ceilf (0); _floorf (0);
29987 ;
29988 return 0;
29989 }
29990 _ACEOF
29991 if ac_fn_cxx_try_compile "$LINENO"; then :
29992 glibcxx_cv_func__float_round_use=yes
29993 else
29994 glibcxx_cv_func__float_round_use=no
29995 fi
29996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29997 ac_ext=c
29998 ac_cpp='$CPP $CPPFLAGS'
29999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30002
30003 fi
30004
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30006 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30007 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30008 for ac_func in _ceilf _floorf
30009 do :
30010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30012 eval as_val=\$$as_ac_var
30013 if test "x$as_val" = x""yes; then :
30014 cat >>confdefs.h <<_ACEOF
30015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30016 _ACEOF
30017
30018 fi
30019 done
30020
30021 fi
30022 fi
30023
30024
30025
30026
30027
30028
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30030 $as_echo_n "checking for expf declaration... " >&6; }
30031 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30032 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30033 $as_echo_n "(cached) " >&6
30034 else
30035
30036
30037 ac_ext=cpp
30038 ac_cpp='$CXXCPP $CPPFLAGS'
30039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30042
30043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30044 /* end confdefs.h. */
30045 #include <math.h>
30046 #ifdef HAVE_IEEEFP_H
30047 #include <ieeefp.h>
30048 #endif
30049
30050 int
30051 main ()
30052 {
30053 expf(0);
30054 ;
30055 return 0;
30056 }
30057 _ACEOF
30058 if ac_fn_cxx_try_compile "$LINENO"; then :
30059 glibcxx_cv_func_expf_use=yes
30060 else
30061 glibcxx_cv_func_expf_use=no
30062 fi
30063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30064 ac_ext=c
30065 ac_cpp='$CPP $CPPFLAGS'
30066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30069
30070
30071 fi
30072
30073 fi
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30075 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30076
30077 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30078 for ac_func in expf
30079 do :
30080 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30081 if test "x$ac_cv_func_expf" = x""yes; then :
30082 cat >>confdefs.h <<_ACEOF
30083 #define HAVE_EXPF 1
30084 _ACEOF
30085
30086 fi
30087 done
30088
30089 else
30090
30091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30092 $as_echo_n "checking for _expf declaration... " >&6; }
30093 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30094 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30095 $as_echo_n "(cached) " >&6
30096 else
30097
30098
30099 ac_ext=cpp
30100 ac_cpp='$CXXCPP $CPPFLAGS'
30101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30104
30105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30106 /* end confdefs.h. */
30107 #include <math.h>
30108 #ifdef HAVE_IEEEFP_H
30109 #include <ieeefp.h>
30110 #endif
30111
30112 int
30113 main ()
30114 {
30115 _expf(0);
30116 ;
30117 return 0;
30118 }
30119 _ACEOF
30120 if ac_fn_cxx_try_compile "$LINENO"; then :
30121 glibcxx_cv_func__expf_use=yes
30122 else
30123 glibcxx_cv_func__expf_use=no
30124 fi
30125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126 ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133 fi
30134
30135 fi
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30137 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30138
30139 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30140 for ac_func in _expf
30141 do :
30142 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30143 if test "x$ac_cv_func__expf" = x""yes; then :
30144 cat >>confdefs.h <<_ACEOF
30145 #define HAVE__EXPF 1
30146 _ACEOF
30147
30148 fi
30149 done
30150
30151 fi
30152 fi
30153
30154
30155
30156
30157
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30159 $as_echo_n "checking for isnanf declaration... " >&6; }
30160 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30161 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30162 $as_echo_n "(cached) " >&6
30163 else
30164
30165
30166 ac_ext=cpp
30167 ac_cpp='$CXXCPP $CPPFLAGS'
30168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30171
30172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30173 /* end confdefs.h. */
30174 #include <math.h>
30175 #ifdef HAVE_IEEEFP_H
30176 #include <ieeefp.h>
30177 #endif
30178
30179 int
30180 main ()
30181 {
30182 isnanf(0);
30183 ;
30184 return 0;
30185 }
30186 _ACEOF
30187 if ac_fn_cxx_try_compile "$LINENO"; then :
30188 glibcxx_cv_func_isnanf_use=yes
30189 else
30190 glibcxx_cv_func_isnanf_use=no
30191 fi
30192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30193 ac_ext=c
30194 ac_cpp='$CPP $CPPFLAGS'
30195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30198
30199
30200 fi
30201
30202 fi
30203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30204 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30205
30206 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30207 for ac_func in isnanf
30208 do :
30209 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30210 if test "x$ac_cv_func_isnanf" = x""yes; then :
30211 cat >>confdefs.h <<_ACEOF
30212 #define HAVE_ISNANF 1
30213 _ACEOF
30214
30215 fi
30216 done
30217
30218 else
30219
30220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30221 $as_echo_n "checking for _isnanf declaration... " >&6; }
30222 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30223 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30224 $as_echo_n "(cached) " >&6
30225 else
30226
30227
30228 ac_ext=cpp
30229 ac_cpp='$CXXCPP $CPPFLAGS'
30230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30233
30234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h. */
30236 #include <math.h>
30237 #ifdef HAVE_IEEEFP_H
30238 #include <ieeefp.h>
30239 #endif
30240
30241 int
30242 main ()
30243 {
30244 _isnanf(0);
30245 ;
30246 return 0;
30247 }
30248 _ACEOF
30249 if ac_fn_cxx_try_compile "$LINENO"; then :
30250 glibcxx_cv_func__isnanf_use=yes
30251 else
30252 glibcxx_cv_func__isnanf_use=no
30253 fi
30254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30255 ac_ext=c
30256 ac_cpp='$CPP $CPPFLAGS'
30257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260
30261
30262 fi
30263
30264 fi
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30266 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30267
30268 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30269 for ac_func in _isnanf
30270 do :
30271 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30272 if test "x$ac_cv_func__isnanf" = x""yes; then :
30273 cat >>confdefs.h <<_ACEOF
30274 #define HAVE__ISNANF 1
30275 _ACEOF
30276
30277 fi
30278 done
30279
30280 fi
30281 fi
30282
30283
30284
30285
30286
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30288 $as_echo_n "checking for isinff declaration... " >&6; }
30289 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30290 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30291 $as_echo_n "(cached) " >&6
30292 else
30293
30294
30295 ac_ext=cpp
30296 ac_cpp='$CXXCPP $CPPFLAGS'
30297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30300
30301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30302 /* end confdefs.h. */
30303 #include <math.h>
30304 #ifdef HAVE_IEEEFP_H
30305 #include <ieeefp.h>
30306 #endif
30307
30308 int
30309 main ()
30310 {
30311 isinff(0);
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317 glibcxx_cv_func_isinff_use=yes
30318 else
30319 glibcxx_cv_func_isinff_use=no
30320 fi
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322 ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30327
30328
30329 fi
30330
30331 fi
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30333 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30334
30335 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30336 for ac_func in isinff
30337 do :
30338 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30339 if test "x$ac_cv_func_isinff" = x""yes; then :
30340 cat >>confdefs.h <<_ACEOF
30341 #define HAVE_ISINFF 1
30342 _ACEOF
30343
30344 fi
30345 done
30346
30347 else
30348
30349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30350 $as_echo_n "checking for _isinff declaration... " >&6; }
30351 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30352 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30353 $as_echo_n "(cached) " >&6
30354 else
30355
30356
30357 ac_ext=cpp
30358 ac_cpp='$CXXCPP $CPPFLAGS'
30359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30362
30363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30364 /* end confdefs.h. */
30365 #include <math.h>
30366 #ifdef HAVE_IEEEFP_H
30367 #include <ieeefp.h>
30368 #endif
30369
30370 int
30371 main ()
30372 {
30373 _isinff(0);
30374 ;
30375 return 0;
30376 }
30377 _ACEOF
30378 if ac_fn_cxx_try_compile "$LINENO"; then :
30379 glibcxx_cv_func__isinff_use=yes
30380 else
30381 glibcxx_cv_func__isinff_use=no
30382 fi
30383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30384 ac_ext=c
30385 ac_cpp='$CPP $CPPFLAGS'
30386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30389
30390
30391 fi
30392
30393 fi
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30395 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30396
30397 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30398 for ac_func in _isinff
30399 do :
30400 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30401 if test "x$ac_cv_func__isinff" = x""yes; then :
30402 cat >>confdefs.h <<_ACEOF
30403 #define HAVE__ISINFF 1
30404 _ACEOF
30405
30406 fi
30407 done
30408
30409 fi
30410 fi
30411
30412
30413
30414
30415
30416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30417 $as_echo_n "checking for atan2f declaration... " >&6; }
30418 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30419 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30420 $as_echo_n "(cached) " >&6
30421 else
30422
30423
30424 ac_ext=cpp
30425 ac_cpp='$CXXCPP $CPPFLAGS'
30426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30429
30430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30431 /* end confdefs.h. */
30432 #include <math.h>
30433 int
30434 main ()
30435 {
30436 atan2f(0, 0);
30437 ;
30438 return 0;
30439 }
30440 _ACEOF
30441 if ac_fn_cxx_try_compile "$LINENO"; then :
30442 glibcxx_cv_func_atan2f_use=yes
30443 else
30444 glibcxx_cv_func_atan2f_use=no
30445 fi
30446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30447 ac_ext=c
30448 ac_cpp='$CPP $CPPFLAGS'
30449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452
30453
30454 fi
30455
30456 fi
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30458 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30459
30460 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30461 for ac_func in atan2f
30462 do :
30463 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30464 if test "x$ac_cv_func_atan2f" = x""yes; then :
30465 cat >>confdefs.h <<_ACEOF
30466 #define HAVE_ATAN2F 1
30467 _ACEOF
30468
30469 fi
30470 done
30471
30472 else
30473
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30475 $as_echo_n "checking for _atan2f declaration... " >&6; }
30476 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30477 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30478 $as_echo_n "(cached) " >&6
30479 else
30480
30481
30482 ac_ext=cpp
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487
30488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30490 #include <math.h>
30491 int
30492 main ()
30493 {
30494 _atan2f(0, 0);
30495 ;
30496 return 0;
30497 }
30498 _ACEOF
30499 if ac_fn_cxx_try_compile "$LINENO"; then :
30500 glibcxx_cv_func__atan2f_use=yes
30501 else
30502 glibcxx_cv_func__atan2f_use=no
30503 fi
30504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30505 ac_ext=c
30506 ac_cpp='$CPP $CPPFLAGS'
30507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30510
30511
30512 fi
30513
30514 fi
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30516 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30517
30518 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30519 for ac_func in _atan2f
30520 do :
30521 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30522 if test "x$ac_cv_func__atan2f" = x""yes; then :
30523 cat >>confdefs.h <<_ACEOF
30524 #define HAVE__ATAN2F 1
30525 _ACEOF
30526
30527 fi
30528 done
30529
30530 fi
30531 fi
30532
30533
30534
30535
30536
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30538 $as_echo_n "checking for fabsf declaration... " >&6; }
30539 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30540 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30541 $as_echo_n "(cached) " >&6
30542 else
30543
30544
30545 ac_ext=cpp
30546 ac_cpp='$CXXCPP $CPPFLAGS'
30547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550
30551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30552 /* end confdefs.h. */
30553 #include <math.h>
30554 #ifdef HAVE_IEEEFP_H
30555 #include <ieeefp.h>
30556 #endif
30557
30558 int
30559 main ()
30560 {
30561 fabsf(0);
30562 ;
30563 return 0;
30564 }
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567 glibcxx_cv_func_fabsf_use=yes
30568 else
30569 glibcxx_cv_func_fabsf_use=no
30570 fi
30571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30577
30578
30579 fi
30580
30581 fi
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30583 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30584
30585 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30586 for ac_func in fabsf
30587 do :
30588 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30589 if test "x$ac_cv_func_fabsf" = x""yes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE_FABSF 1
30592 _ACEOF
30593
30594 fi
30595 done
30596
30597 else
30598
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30600 $as_echo_n "checking for _fabsf declaration... " >&6; }
30601 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30602 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30605
30606
30607 ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30612
30613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h. */
30615 #include <math.h>
30616 #ifdef HAVE_IEEEFP_H
30617 #include <ieeefp.h>
30618 #endif
30619
30620 int
30621 main ()
30622 {
30623 _fabsf(0);
30624 ;
30625 return 0;
30626 }
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func__fabsf_use=yes
30630 else
30631 glibcxx_cv_func__fabsf_use=no
30632 fi
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30639
30640
30641 fi
30642
30643 fi
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30645 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30646
30647 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30648 for ac_func in _fabsf
30649 do :
30650 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30651 if test "x$ac_cv_func__fabsf" = x""yes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE__FABSF 1
30654 _ACEOF
30655
30656 fi
30657 done
30658
30659 fi
30660 fi
30661
30662
30663
30664
30665
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30667 $as_echo_n "checking for fmodf declaration... " >&6; }
30668 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30669 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30672
30673
30674 ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30679
30680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h. */
30682 #include <math.h>
30683 int
30684 main ()
30685 {
30686 fmodf(0, 0);
30687 ;
30688 return 0;
30689 }
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 glibcxx_cv_func_fmodf_use=yes
30693 else
30694 glibcxx_cv_func_fmodf_use=no
30695 fi
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702
30703
30704 fi
30705
30706 fi
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30708 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30709
30710 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30711 for ac_func in fmodf
30712 do :
30713 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30714 if test "x$ac_cv_func_fmodf" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE_FMODF 1
30717 _ACEOF
30718
30719 fi
30720 done
30721
30722 else
30723
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30725 $as_echo_n "checking for _fmodf declaration... " >&6; }
30726 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30727 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30728 $as_echo_n "(cached) " >&6
30729 else
30730
30731
30732 ac_ext=cpp
30733 ac_cpp='$CXXCPP $CPPFLAGS'
30734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30737
30738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30739 /* end confdefs.h. */
30740 #include <math.h>
30741 int
30742 main ()
30743 {
30744 _fmodf(0, 0);
30745 ;
30746 return 0;
30747 }
30748 _ACEOF
30749 if ac_fn_cxx_try_compile "$LINENO"; then :
30750 glibcxx_cv_func__fmodf_use=yes
30751 else
30752 glibcxx_cv_func__fmodf_use=no
30753 fi
30754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30755 ac_ext=c
30756 ac_cpp='$CPP $CPPFLAGS'
30757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760
30761
30762 fi
30763
30764 fi
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30766 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30767
30768 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30769 for ac_func in _fmodf
30770 do :
30771 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30772 if test "x$ac_cv_func__fmodf" = x""yes; then :
30773 cat >>confdefs.h <<_ACEOF
30774 #define HAVE__FMODF 1
30775 _ACEOF
30776
30777 fi
30778 done
30779
30780 fi
30781 fi
30782
30783
30784
30785
30786
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30788 $as_echo_n "checking for frexpf declaration... " >&6; }
30789 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30790 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30791 $as_echo_n "(cached) " >&6
30792 else
30793
30794
30795 ac_ext=cpp
30796 ac_cpp='$CXXCPP $CPPFLAGS'
30797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800
30801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30803 #include <math.h>
30804 int
30805 main ()
30806 {
30807 frexpf(0, 0);
30808 ;
30809 return 0;
30810 }
30811 _ACEOF
30812 if ac_fn_cxx_try_compile "$LINENO"; then :
30813 glibcxx_cv_func_frexpf_use=yes
30814 else
30815 glibcxx_cv_func_frexpf_use=no
30816 fi
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818 ac_ext=c
30819 ac_cpp='$CPP $CPPFLAGS'
30820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823
30824
30825 fi
30826
30827 fi
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30829 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30830
30831 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30832 for ac_func in frexpf
30833 do :
30834 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30835 if test "x$ac_cv_func_frexpf" = x""yes; then :
30836 cat >>confdefs.h <<_ACEOF
30837 #define HAVE_FREXPF 1
30838 _ACEOF
30839
30840 fi
30841 done
30842
30843 else
30844
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30846 $as_echo_n "checking for _frexpf declaration... " >&6; }
30847 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30848 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30849 $as_echo_n "(cached) " >&6
30850 else
30851
30852
30853 ac_ext=cpp
30854 ac_cpp='$CXXCPP $CPPFLAGS'
30855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30858
30859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30860 /* end confdefs.h. */
30861 #include <math.h>
30862 int
30863 main ()
30864 {
30865 _frexpf(0, 0);
30866 ;
30867 return 0;
30868 }
30869 _ACEOF
30870 if ac_fn_cxx_try_compile "$LINENO"; then :
30871 glibcxx_cv_func__frexpf_use=yes
30872 else
30873 glibcxx_cv_func__frexpf_use=no
30874 fi
30875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30876 ac_ext=c
30877 ac_cpp='$CPP $CPPFLAGS'
30878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30881
30882
30883 fi
30884
30885 fi
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30887 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30888
30889 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30890 for ac_func in _frexpf
30891 do :
30892 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30893 if test "x$ac_cv_func__frexpf" = x""yes; then :
30894 cat >>confdefs.h <<_ACEOF
30895 #define HAVE__FREXPF 1
30896 _ACEOF
30897
30898 fi
30899 done
30900
30901 fi
30902 fi
30903
30904
30905
30906
30907
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30909 $as_echo_n "checking for hypotf declaration... " >&6; }
30910 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30911 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30912 $as_echo_n "(cached) " >&6
30913 else
30914
30915
30916 ac_ext=cpp
30917 ac_cpp='$CXXCPP $CPPFLAGS'
30918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30921
30922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30923 /* end confdefs.h. */
30924 #include <math.h>
30925 int
30926 main ()
30927 {
30928 hypotf(0, 0);
30929 ;
30930 return 0;
30931 }
30932 _ACEOF
30933 if ac_fn_cxx_try_compile "$LINENO"; then :
30934 glibcxx_cv_func_hypotf_use=yes
30935 else
30936 glibcxx_cv_func_hypotf_use=no
30937 fi
30938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30939 ac_ext=c
30940 ac_cpp='$CPP $CPPFLAGS'
30941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30944
30945
30946 fi
30947
30948 fi
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30950 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30951
30952 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30953 for ac_func in hypotf
30954 do :
30955 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30956 if test "x$ac_cv_func_hypotf" = x""yes; then :
30957 cat >>confdefs.h <<_ACEOF
30958 #define HAVE_HYPOTF 1
30959 _ACEOF
30960
30961 fi
30962 done
30963
30964 else
30965
30966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30967 $as_echo_n "checking for _hypotf declaration... " >&6; }
30968 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30969 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30970 $as_echo_n "(cached) " >&6
30971 else
30972
30973
30974 ac_ext=cpp
30975 ac_cpp='$CXXCPP $CPPFLAGS'
30976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30979
30980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30981 /* end confdefs.h. */
30982 #include <math.h>
30983 int
30984 main ()
30985 {
30986 _hypotf(0, 0);
30987 ;
30988 return 0;
30989 }
30990 _ACEOF
30991 if ac_fn_cxx_try_compile "$LINENO"; then :
30992 glibcxx_cv_func__hypotf_use=yes
30993 else
30994 glibcxx_cv_func__hypotf_use=no
30995 fi
30996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30997 ac_ext=c
30998 ac_cpp='$CPP $CPPFLAGS'
30999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31002
31003
31004 fi
31005
31006 fi
31007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31008 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31009
31010 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31011 for ac_func in _hypotf
31012 do :
31013 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31014 if test "x$ac_cv_func__hypotf" = x""yes; then :
31015 cat >>confdefs.h <<_ACEOF
31016 #define HAVE__HYPOTF 1
31017 _ACEOF
31018
31019 fi
31020 done
31021
31022 fi
31023 fi
31024
31025
31026
31027
31028
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31030 $as_echo_n "checking for ldexpf declaration... " >&6; }
31031 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31032 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31033 $as_echo_n "(cached) " >&6
31034 else
31035
31036
31037 ac_ext=cpp
31038 ac_cpp='$CXXCPP $CPPFLAGS'
31039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31042
31043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31044 /* end confdefs.h. */
31045 #include <math.h>
31046 int
31047 main ()
31048 {
31049 ldexpf(0, 0);
31050 ;
31051 return 0;
31052 }
31053 _ACEOF
31054 if ac_fn_cxx_try_compile "$LINENO"; then :
31055 glibcxx_cv_func_ldexpf_use=yes
31056 else
31057 glibcxx_cv_func_ldexpf_use=no
31058 fi
31059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31060 ac_ext=c
31061 ac_cpp='$CPP $CPPFLAGS'
31062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31065
31066
31067 fi
31068
31069 fi
31070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31071 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31072
31073 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31074 for ac_func in ldexpf
31075 do :
31076 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31077 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31078 cat >>confdefs.h <<_ACEOF
31079 #define HAVE_LDEXPF 1
31080 _ACEOF
31081
31082 fi
31083 done
31084
31085 else
31086
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31088 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31089 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31090 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31091 $as_echo_n "(cached) " >&6
31092 else
31093
31094
31095 ac_ext=cpp
31096 ac_cpp='$CXXCPP $CPPFLAGS'
31097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31100
31101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31102 /* end confdefs.h. */
31103 #include <math.h>
31104 int
31105 main ()
31106 {
31107 _ldexpf(0, 0);
31108 ;
31109 return 0;
31110 }
31111 _ACEOF
31112 if ac_fn_cxx_try_compile "$LINENO"; then :
31113 glibcxx_cv_func__ldexpf_use=yes
31114 else
31115 glibcxx_cv_func__ldexpf_use=no
31116 fi
31117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31118 ac_ext=c
31119 ac_cpp='$CPP $CPPFLAGS'
31120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31123
31124
31125 fi
31126
31127 fi
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31129 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31130
31131 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31132 for ac_func in _ldexpf
31133 do :
31134 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31135 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31136 cat >>confdefs.h <<_ACEOF
31137 #define HAVE__LDEXPF 1
31138 _ACEOF
31139
31140 fi
31141 done
31142
31143 fi
31144 fi
31145
31146
31147
31148
31149
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31151 $as_echo_n "checking for logf declaration... " >&6; }
31152 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31153 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31154 $as_echo_n "(cached) " >&6
31155 else
31156
31157
31158 ac_ext=cpp
31159 ac_cpp='$CXXCPP $CPPFLAGS'
31160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31163
31164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31165 /* end confdefs.h. */
31166 #include <math.h>
31167 #ifdef HAVE_IEEEFP_H
31168 #include <ieeefp.h>
31169 #endif
31170
31171 int
31172 main ()
31173 {
31174 logf(0);
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 if ac_fn_cxx_try_compile "$LINENO"; then :
31180 glibcxx_cv_func_logf_use=yes
31181 else
31182 glibcxx_cv_func_logf_use=no
31183 fi
31184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31185 ac_ext=c
31186 ac_cpp='$CPP $CPPFLAGS'
31187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31190
31191
31192 fi
31193
31194 fi
31195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31196 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31197
31198 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31199 for ac_func in logf
31200 do :
31201 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31202 if test "x$ac_cv_func_logf" = x""yes; then :
31203 cat >>confdefs.h <<_ACEOF
31204 #define HAVE_LOGF 1
31205 _ACEOF
31206
31207 fi
31208 done
31209
31210 else
31211
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31213 $as_echo_n "checking for _logf declaration... " >&6; }
31214 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31215 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31216 $as_echo_n "(cached) " >&6
31217 else
31218
31219
31220 ac_ext=cpp
31221 ac_cpp='$CXXCPP $CPPFLAGS'
31222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225
31226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31227 /* end confdefs.h. */
31228 #include <math.h>
31229 #ifdef HAVE_IEEEFP_H
31230 #include <ieeefp.h>
31231 #endif
31232
31233 int
31234 main ()
31235 {
31236 _logf(0);
31237 ;
31238 return 0;
31239 }
31240 _ACEOF
31241 if ac_fn_cxx_try_compile "$LINENO"; then :
31242 glibcxx_cv_func__logf_use=yes
31243 else
31244 glibcxx_cv_func__logf_use=no
31245 fi
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247 ac_ext=c
31248 ac_cpp='$CPP $CPPFLAGS'
31249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31252
31253
31254 fi
31255
31256 fi
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31258 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31259
31260 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31261 for ac_func in _logf
31262 do :
31263 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31264 if test "x$ac_cv_func__logf" = x""yes; then :
31265 cat >>confdefs.h <<_ACEOF
31266 #define HAVE__LOGF 1
31267 _ACEOF
31268
31269 fi
31270 done
31271
31272 fi
31273 fi
31274
31275
31276
31277
31278
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31280 $as_echo_n "checking for log10f declaration... " >&6; }
31281 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31282 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31283 $as_echo_n "(cached) " >&6
31284 else
31285
31286
31287 ac_ext=cpp
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292
31293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31294 /* end confdefs.h. */
31295 #include <math.h>
31296 #ifdef HAVE_IEEEFP_H
31297 #include <ieeefp.h>
31298 #endif
31299
31300 int
31301 main ()
31302 {
31303 log10f(0);
31304 ;
31305 return 0;
31306 }
31307 _ACEOF
31308 if ac_fn_cxx_try_compile "$LINENO"; then :
31309 glibcxx_cv_func_log10f_use=yes
31310 else
31311 glibcxx_cv_func_log10f_use=no
31312 fi
31313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31314 ac_ext=c
31315 ac_cpp='$CPP $CPPFLAGS'
31316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31319
31320
31321 fi
31322
31323 fi
31324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31325 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31326
31327 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31328 for ac_func in log10f
31329 do :
31330 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31331 if test "x$ac_cv_func_log10f" = x""yes; then :
31332 cat >>confdefs.h <<_ACEOF
31333 #define HAVE_LOG10F 1
31334 _ACEOF
31335
31336 fi
31337 done
31338
31339 else
31340
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31342 $as_echo_n "checking for _log10f declaration... " >&6; }
31343 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31344 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31345 $as_echo_n "(cached) " >&6
31346 else
31347
31348
31349 ac_ext=cpp
31350 ac_cpp='$CXXCPP $CPPFLAGS'
31351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31354
31355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h. */
31357 #include <math.h>
31358 #ifdef HAVE_IEEEFP_H
31359 #include <ieeefp.h>
31360 #endif
31361
31362 int
31363 main ()
31364 {
31365 _log10f(0);
31366 ;
31367 return 0;
31368 }
31369 _ACEOF
31370 if ac_fn_cxx_try_compile "$LINENO"; then :
31371 glibcxx_cv_func__log10f_use=yes
31372 else
31373 glibcxx_cv_func__log10f_use=no
31374 fi
31375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31376 ac_ext=c
31377 ac_cpp='$CPP $CPPFLAGS'
31378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31381
31382
31383 fi
31384
31385 fi
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31387 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31388
31389 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31390 for ac_func in _log10f
31391 do :
31392 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31393 if test "x$ac_cv_func__log10f" = x""yes; then :
31394 cat >>confdefs.h <<_ACEOF
31395 #define HAVE__LOG10F 1
31396 _ACEOF
31397
31398 fi
31399 done
31400
31401 fi
31402 fi
31403
31404
31405
31406
31407
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31409 $as_echo_n "checking for modff declaration... " >&6; }
31410 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31411 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31412 $as_echo_n "(cached) " >&6
31413 else
31414
31415
31416 ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424 #include <math.h>
31425 int
31426 main ()
31427 {
31428 modff(0, 0);
31429 ;
31430 return 0;
31431 }
31432 _ACEOF
31433 if ac_fn_cxx_try_compile "$LINENO"; then :
31434 glibcxx_cv_func_modff_use=yes
31435 else
31436 glibcxx_cv_func_modff_use=no
31437 fi
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439 ac_ext=c
31440 ac_cpp='$CPP $CPPFLAGS'
31441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444
31445
31446 fi
31447
31448 fi
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31450 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31451
31452 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31453 for ac_func in modff
31454 do :
31455 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31456 if test "x$ac_cv_func_modff" = x""yes; then :
31457 cat >>confdefs.h <<_ACEOF
31458 #define HAVE_MODFF 1
31459 _ACEOF
31460
31461 fi
31462 done
31463
31464 else
31465
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31467 $as_echo_n "checking for _modff declaration... " >&6; }
31468 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31469 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31472
31473
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31483 int
31484 main ()
31485 {
31486 _modff(0, 0);
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func__modff_use=yes
31493 else
31494 glibcxx_cv_func__modff_use=no
31495 fi
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31502
31503
31504 fi
31505
31506 fi
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31508 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31509
31510 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31511 for ac_func in _modff
31512 do :
31513 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31514 if test "x$ac_cv_func__modff" = x""yes; then :
31515 cat >>confdefs.h <<_ACEOF
31516 #define HAVE__MODFF 1
31517 _ACEOF
31518
31519 fi
31520 done
31521
31522 fi
31523 fi
31524
31525
31526
31527
31528
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31530 $as_echo_n "checking for modf declaration... " >&6; }
31531 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31532 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31535
31536
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 int
31547 main ()
31548 {
31549 modf(0, 0);
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func_modf_use=yes
31556 else
31557 glibcxx_cv_func_modf_use=no
31558 fi
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565
31566
31567 fi
31568
31569 fi
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31571 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31572
31573 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31574 for ac_func in modf
31575 do :
31576 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31577 if test "x$ac_cv_func_modf" = x""yes; then :
31578 cat >>confdefs.h <<_ACEOF
31579 #define HAVE_MODF 1
31580 _ACEOF
31581
31582 fi
31583 done
31584
31585 else
31586
31587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31588 $as_echo_n "checking for _modf declaration... " >&6; }
31589 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31590 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31591 $as_echo_n "(cached) " >&6
31592 else
31593
31594
31595 ac_ext=cpp
31596 ac_cpp='$CXXCPP $CPPFLAGS'
31597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31600
31601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31602 /* end confdefs.h. */
31603 #include <math.h>
31604 int
31605 main ()
31606 {
31607 _modf(0, 0);
31608 ;
31609 return 0;
31610 }
31611 _ACEOF
31612 if ac_fn_cxx_try_compile "$LINENO"; then :
31613 glibcxx_cv_func__modf_use=yes
31614 else
31615 glibcxx_cv_func__modf_use=no
31616 fi
31617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31618 ac_ext=c
31619 ac_cpp='$CPP $CPPFLAGS'
31620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31623
31624
31625 fi
31626
31627 fi
31628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31629 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31630
31631 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31632 for ac_func in _modf
31633 do :
31634 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31635 if test "x$ac_cv_func__modf" = x""yes; then :
31636 cat >>confdefs.h <<_ACEOF
31637 #define HAVE__MODF 1
31638 _ACEOF
31639
31640 fi
31641 done
31642
31643 fi
31644 fi
31645
31646
31647
31648
31649
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31651 $as_echo_n "checking for powf declaration... " >&6; }
31652 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31653 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31654 $as_echo_n "(cached) " >&6
31655 else
31656
31657
31658 ac_ext=cpp
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31663
31664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31665 /* end confdefs.h. */
31666 #include <math.h>
31667 int
31668 main ()
31669 {
31670 powf(0, 0);
31671 ;
31672 return 0;
31673 }
31674 _ACEOF
31675 if ac_fn_cxx_try_compile "$LINENO"; then :
31676 glibcxx_cv_func_powf_use=yes
31677 else
31678 glibcxx_cv_func_powf_use=no
31679 fi
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686
31687
31688 fi
31689
31690 fi
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31692 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31693
31694 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31695 for ac_func in powf
31696 do :
31697 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31698 if test "x$ac_cv_func_powf" = x""yes; then :
31699 cat >>confdefs.h <<_ACEOF
31700 #define HAVE_POWF 1
31701 _ACEOF
31702
31703 fi
31704 done
31705
31706 else
31707
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31709 $as_echo_n "checking for _powf declaration... " >&6; }
31710 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31711 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31712 $as_echo_n "(cached) " >&6
31713 else
31714
31715
31716 ac_ext=cpp
31717 ac_cpp='$CXXCPP $CPPFLAGS'
31718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31721
31722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31723 /* end confdefs.h. */
31724 #include <math.h>
31725 int
31726 main ()
31727 {
31728 _powf(0, 0);
31729 ;
31730 return 0;
31731 }
31732 _ACEOF
31733 if ac_fn_cxx_try_compile "$LINENO"; then :
31734 glibcxx_cv_func__powf_use=yes
31735 else
31736 glibcxx_cv_func__powf_use=no
31737 fi
31738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31739 ac_ext=c
31740 ac_cpp='$CPP $CPPFLAGS'
31741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31744
31745
31746 fi
31747
31748 fi
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31750 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31751
31752 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31753 for ac_func in _powf
31754 do :
31755 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31756 if test "x$ac_cv_func__powf" = x""yes; then :
31757 cat >>confdefs.h <<_ACEOF
31758 #define HAVE__POWF 1
31759 _ACEOF
31760
31761 fi
31762 done
31763
31764 fi
31765 fi
31766
31767
31768
31769
31770
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31772 $as_echo_n "checking for sqrtf declaration... " >&6; }
31773 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31774 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31775 $as_echo_n "(cached) " >&6
31776 else
31777
31778
31779 ac_ext=cpp
31780 ac_cpp='$CXXCPP $CPPFLAGS'
31781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31784
31785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31786 /* end confdefs.h. */
31787 #include <math.h>
31788 #ifdef HAVE_IEEEFP_H
31789 #include <ieeefp.h>
31790 #endif
31791
31792 int
31793 main ()
31794 {
31795 sqrtf(0);
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 if ac_fn_cxx_try_compile "$LINENO"; then :
31801 glibcxx_cv_func_sqrtf_use=yes
31802 else
31803 glibcxx_cv_func_sqrtf_use=no
31804 fi
31805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31806 ac_ext=c
31807 ac_cpp='$CPP $CPPFLAGS'
31808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31811
31812
31813 fi
31814
31815 fi
31816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31817 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31818
31819 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31820 for ac_func in sqrtf
31821 do :
31822 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31823 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31824 cat >>confdefs.h <<_ACEOF
31825 #define HAVE_SQRTF 1
31826 _ACEOF
31827
31828 fi
31829 done
31830
31831 else
31832
31833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31834 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31835 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31836 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31837 $as_echo_n "(cached) " >&6
31838 else
31839
31840
31841 ac_ext=cpp
31842 ac_cpp='$CXXCPP $CPPFLAGS'
31843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31846
31847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31848 /* end confdefs.h. */
31849 #include <math.h>
31850 #ifdef HAVE_IEEEFP_H
31851 #include <ieeefp.h>
31852 #endif
31853
31854 int
31855 main ()
31856 {
31857 _sqrtf(0);
31858 ;
31859 return 0;
31860 }
31861 _ACEOF
31862 if ac_fn_cxx_try_compile "$LINENO"; then :
31863 glibcxx_cv_func__sqrtf_use=yes
31864 else
31865 glibcxx_cv_func__sqrtf_use=no
31866 fi
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 ac_ext=c
31869 ac_cpp='$CPP $CPPFLAGS'
31870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31873
31874
31875 fi
31876
31877 fi
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31879 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31880
31881 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31882 for ac_func in _sqrtf
31883 do :
31884 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31885 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31886 cat >>confdefs.h <<_ACEOF
31887 #define HAVE__SQRTF 1
31888 _ACEOF
31889
31890 fi
31891 done
31892
31893 fi
31894 fi
31895
31896
31897
31898
31899
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31901 $as_echo_n "checking for sincosf declaration... " >&6; }
31902 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31903 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31904 $as_echo_n "(cached) " >&6
31905 else
31906
31907
31908 ac_ext=cpp
31909 ac_cpp='$CXXCPP $CPPFLAGS'
31910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31913
31914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31915 /* end confdefs.h. */
31916 #include <math.h>
31917 int
31918 main ()
31919 {
31920 sincosf(0, 0, 0);
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 if ac_fn_cxx_try_compile "$LINENO"; then :
31926 glibcxx_cv_func_sincosf_use=yes
31927 else
31928 glibcxx_cv_func_sincosf_use=no
31929 fi
31930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31931 ac_ext=c
31932 ac_cpp='$CPP $CPPFLAGS'
31933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31936
31937
31938 fi
31939
31940 fi
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31942 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31943
31944 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31945 for ac_func in sincosf
31946 do :
31947 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31948 if test "x$ac_cv_func_sincosf" = x""yes; then :
31949 cat >>confdefs.h <<_ACEOF
31950 #define HAVE_SINCOSF 1
31951 _ACEOF
31952
31953 fi
31954 done
31955
31956 else
31957
31958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31959 $as_echo_n "checking for _sincosf declaration... " >&6; }
31960 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31961 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31962 $as_echo_n "(cached) " >&6
31963 else
31964
31965
31966 ac_ext=cpp
31967 ac_cpp='$CXXCPP $CPPFLAGS'
31968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31971
31972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31973 /* end confdefs.h. */
31974 #include <math.h>
31975 int
31976 main ()
31977 {
31978 _sincosf(0, 0, 0);
31979 ;
31980 return 0;
31981 }
31982 _ACEOF
31983 if ac_fn_cxx_try_compile "$LINENO"; then :
31984 glibcxx_cv_func__sincosf_use=yes
31985 else
31986 glibcxx_cv_func__sincosf_use=no
31987 fi
31988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31989 ac_ext=c
31990 ac_cpp='$CPP $CPPFLAGS'
31991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31994
31995
31996 fi
31997
31998 fi
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32000 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32001
32002 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32003 for ac_func in _sincosf
32004 do :
32005 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32006 if test "x$ac_cv_func__sincosf" = x""yes; then :
32007 cat >>confdefs.h <<_ACEOF
32008 #define HAVE__SINCOSF 1
32009 _ACEOF
32010
32011 fi
32012 done
32013
32014 fi
32015 fi
32016
32017
32018
32019
32020
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32022 $as_echo_n "checking for finitef declaration... " >&6; }
32023 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32024 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32025 $as_echo_n "(cached) " >&6
32026 else
32027
32028
32029 ac_ext=cpp
32030 ac_cpp='$CXXCPP $CPPFLAGS'
32031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32034
32035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32036 /* end confdefs.h. */
32037 #include <math.h>
32038 #ifdef HAVE_IEEEFP_H
32039 #include <ieeefp.h>
32040 #endif
32041
32042 int
32043 main ()
32044 {
32045 finitef(0);
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 if ac_fn_cxx_try_compile "$LINENO"; then :
32051 glibcxx_cv_func_finitef_use=yes
32052 else
32053 glibcxx_cv_func_finitef_use=no
32054 fi
32055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32056 ac_ext=c
32057 ac_cpp='$CPP $CPPFLAGS'
32058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32061
32062
32063 fi
32064
32065 fi
32066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32067 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32068
32069 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32070 for ac_func in finitef
32071 do :
32072 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32073 if test "x$ac_cv_func_finitef" = x""yes; then :
32074 cat >>confdefs.h <<_ACEOF
32075 #define HAVE_FINITEF 1
32076 _ACEOF
32077
32078 fi
32079 done
32080
32081 else
32082
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32084 $as_echo_n "checking for _finitef declaration... " >&6; }
32085 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32086 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32087 $as_echo_n "(cached) " >&6
32088 else
32089
32090
32091 ac_ext=cpp
32092 ac_cpp='$CXXCPP $CPPFLAGS'
32093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32096
32097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32098 /* end confdefs.h. */
32099 #include <math.h>
32100 #ifdef HAVE_IEEEFP_H
32101 #include <ieeefp.h>
32102 #endif
32103
32104 int
32105 main ()
32106 {
32107 _finitef(0);
32108 ;
32109 return 0;
32110 }
32111 _ACEOF
32112 if ac_fn_cxx_try_compile "$LINENO"; then :
32113 glibcxx_cv_func__finitef_use=yes
32114 else
32115 glibcxx_cv_func__finitef_use=no
32116 fi
32117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32118 ac_ext=c
32119 ac_cpp='$CPP $CPPFLAGS'
32120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32123
32124
32125 fi
32126
32127 fi
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32129 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32130
32131 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32132 for ac_func in _finitef
32133 do :
32134 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32135 if test "x$ac_cv_func__finitef" = x""yes; then :
32136 cat >>confdefs.h <<_ACEOF
32137 #define HAVE__FINITEF 1
32138 _ACEOF
32139
32140 fi
32141 done
32142
32143 fi
32144 fi
32145
32146
32147
32148
32149
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32151 $as_echo_n "checking for long double trig functions... " >&6; }
32152 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32153 $as_echo_n "(cached) " >&6
32154 else
32155
32156
32157 ac_ext=cpp
32158 ac_cpp='$CXXCPP $CPPFLAGS'
32159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32164 /* end confdefs.h. */
32165 #include <math.h>
32166 int
32167 main ()
32168 {
32169 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32170 ;
32171 return 0;
32172 }
32173 _ACEOF
32174 if ac_fn_cxx_try_compile "$LINENO"; then :
32175 glibcxx_cv_func_long_double_trig_use=yes
32176 else
32177 glibcxx_cv_func_long_double_trig_use=no
32178 fi
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180 ac_ext=c
32181 ac_cpp='$CPP $CPPFLAGS'
32182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32185
32186 fi
32187
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32189 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32190 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32191 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32192 do :
32193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32195 eval as_val=\$$as_ac_var
32196 if test "x$as_val" = x""yes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32199 _ACEOF
32200
32201 fi
32202 done
32203
32204 else
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32206 $as_echo_n "checking for _long double trig functions... " >&6; }
32207 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32208 $as_echo_n "(cached) " >&6
32209 else
32210
32211
32212 ac_ext=cpp
32213 ac_cpp='$CXXCPP $CPPFLAGS'
32214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32217
32218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32219 /* end confdefs.h. */
32220 #include <math.h>
32221 int
32222 main ()
32223 {
32224 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32225 ;
32226 return 0;
32227 }
32228 _ACEOF
32229 if ac_fn_cxx_try_compile "$LINENO"; then :
32230 glibcxx_cv_func__long_double_trig_use=yes
32231 else
32232 glibcxx_cv_func__long_double_trig_use=no
32233 fi
32234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32235 ac_ext=c
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32240
32241 fi
32242
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32244 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32245 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32246 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32247 do :
32248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32250 eval as_val=\$$as_ac_var
32251 if test "x$as_val" = x""yes; then :
32252 cat >>confdefs.h <<_ACEOF
32253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32254 _ACEOF
32255
32256 fi
32257 done
32258
32259 fi
32260 fi
32261
32262
32263
32264
32265
32266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32267 $as_echo_n "checking for long double round functions... " >&6; }
32268 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32269 $as_echo_n "(cached) " >&6
32270 else
32271
32272
32273 ac_ext=cpp
32274 ac_cpp='$CXXCPP $CPPFLAGS'
32275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32278
32279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32280 /* end confdefs.h. */
32281 #include <math.h>
32282 int
32283 main ()
32284 {
32285 ceill (0); floorl (0);
32286 ;
32287 return 0;
32288 }
32289 _ACEOF
32290 if ac_fn_cxx_try_compile "$LINENO"; then :
32291 glibcxx_cv_func_long_double_round_use=yes
32292 else
32293 glibcxx_cv_func_long_double_round_use=no
32294 fi
32295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32296 ac_ext=c
32297 ac_cpp='$CPP $CPPFLAGS'
32298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32301
32302 fi
32303
32304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32305 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32306 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32307 for ac_func in ceill floorl
32308 do :
32309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32311 eval as_val=\$$as_ac_var
32312 if test "x$as_val" = x""yes; then :
32313 cat >>confdefs.h <<_ACEOF
32314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32315 _ACEOF
32316
32317 fi
32318 done
32319
32320 else
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32322 $as_echo_n "checking for _long double round functions... " >&6; }
32323 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32324 $as_echo_n "(cached) " >&6
32325 else
32326
32327
32328 ac_ext=cpp
32329 ac_cpp='$CXXCPP $CPPFLAGS'
32330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333
32334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32335 /* end confdefs.h. */
32336 #include <math.h>
32337 int
32338 main ()
32339 {
32340 _ceill (0); _floorl (0);
32341 ;
32342 return 0;
32343 }
32344 _ACEOF
32345 if ac_fn_cxx_try_compile "$LINENO"; then :
32346 glibcxx_cv_func__long_double_round_use=yes
32347 else
32348 glibcxx_cv_func__long_double_round_use=no
32349 fi
32350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351 ac_ext=c
32352 ac_cpp='$CPP $CPPFLAGS'
32353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32356
32357 fi
32358
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32360 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32361 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32362 for ac_func in _ceill _floorl
32363 do :
32364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32366 eval as_val=\$$as_ac_var
32367 if test "x$as_val" = x""yes; then :
32368 cat >>confdefs.h <<_ACEOF
32369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32370 _ACEOF
32371
32372 fi
32373 done
32374
32375 fi
32376 fi
32377
32378
32379
32380
32381
32382
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32384 $as_echo_n "checking for isnanl declaration... " >&6; }
32385 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32386 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32387 $as_echo_n "(cached) " >&6
32388 else
32389
32390
32391 ac_ext=cpp
32392 ac_cpp='$CXXCPP $CPPFLAGS'
32393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32396
32397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32398 /* end confdefs.h. */
32399 #include <math.h>
32400 #ifdef HAVE_IEEEFP_H
32401 #include <ieeefp.h>
32402 #endif
32403
32404 int
32405 main ()
32406 {
32407 isnanl(0);
32408 ;
32409 return 0;
32410 }
32411 _ACEOF
32412 if ac_fn_cxx_try_compile "$LINENO"; then :
32413 glibcxx_cv_func_isnanl_use=yes
32414 else
32415 glibcxx_cv_func_isnanl_use=no
32416 fi
32417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32418 ac_ext=c
32419 ac_cpp='$CPP $CPPFLAGS'
32420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32423
32424
32425 fi
32426
32427 fi
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32429 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32430
32431 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32432 for ac_func in isnanl
32433 do :
32434 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32435 if test "x$ac_cv_func_isnanl" = x""yes; then :
32436 cat >>confdefs.h <<_ACEOF
32437 #define HAVE_ISNANL 1
32438 _ACEOF
32439
32440 fi
32441 done
32442
32443 else
32444
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32446 $as_echo_n "checking for _isnanl declaration... " >&6; }
32447 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32448 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32449 $as_echo_n "(cached) " >&6
32450 else
32451
32452
32453 ac_ext=cpp
32454 ac_cpp='$CXXCPP $CPPFLAGS'
32455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32458
32459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32460 /* end confdefs.h. */
32461 #include <math.h>
32462 #ifdef HAVE_IEEEFP_H
32463 #include <ieeefp.h>
32464 #endif
32465
32466 int
32467 main ()
32468 {
32469 _isnanl(0);
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 if ac_fn_cxx_try_compile "$LINENO"; then :
32475 glibcxx_cv_func__isnanl_use=yes
32476 else
32477 glibcxx_cv_func__isnanl_use=no
32478 fi
32479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32480 ac_ext=c
32481 ac_cpp='$CPP $CPPFLAGS'
32482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32485
32486
32487 fi
32488
32489 fi
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32491 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32492
32493 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32494 for ac_func in _isnanl
32495 do :
32496 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32497 if test "x$ac_cv_func__isnanl" = x""yes; then :
32498 cat >>confdefs.h <<_ACEOF
32499 #define HAVE__ISNANL 1
32500 _ACEOF
32501
32502 fi
32503 done
32504
32505 fi
32506 fi
32507
32508
32509
32510
32511
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32513 $as_echo_n "checking for isinfl declaration... " >&6; }
32514 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32515 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32516 $as_echo_n "(cached) " >&6
32517 else
32518
32519
32520 ac_ext=cpp
32521 ac_cpp='$CXXCPP $CPPFLAGS'
32522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32525
32526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32527 /* end confdefs.h. */
32528 #include <math.h>
32529 #ifdef HAVE_IEEEFP_H
32530 #include <ieeefp.h>
32531 #endif
32532
32533 int
32534 main ()
32535 {
32536 isinfl(0);
32537 ;
32538 return 0;
32539 }
32540 _ACEOF
32541 if ac_fn_cxx_try_compile "$LINENO"; then :
32542 glibcxx_cv_func_isinfl_use=yes
32543 else
32544 glibcxx_cv_func_isinfl_use=no
32545 fi
32546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32547 ac_ext=c
32548 ac_cpp='$CPP $CPPFLAGS'
32549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32552
32553
32554 fi
32555
32556 fi
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32558 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32559
32560 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32561 for ac_func in isinfl
32562 do :
32563 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32564 if test "x$ac_cv_func_isinfl" = x""yes; then :
32565 cat >>confdefs.h <<_ACEOF
32566 #define HAVE_ISINFL 1
32567 _ACEOF
32568
32569 fi
32570 done
32571
32572 else
32573
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32575 $as_echo_n "checking for _isinfl declaration... " >&6; }
32576 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32577 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32578 $as_echo_n "(cached) " >&6
32579 else
32580
32581
32582 ac_ext=cpp
32583 ac_cpp='$CXXCPP $CPPFLAGS'
32584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32587
32588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32589 /* end confdefs.h. */
32590 #include <math.h>
32591 #ifdef HAVE_IEEEFP_H
32592 #include <ieeefp.h>
32593 #endif
32594
32595 int
32596 main ()
32597 {
32598 _isinfl(0);
32599 ;
32600 return 0;
32601 }
32602 _ACEOF
32603 if ac_fn_cxx_try_compile "$LINENO"; then :
32604 glibcxx_cv_func__isinfl_use=yes
32605 else
32606 glibcxx_cv_func__isinfl_use=no
32607 fi
32608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32609 ac_ext=c
32610 ac_cpp='$CPP $CPPFLAGS'
32611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32614
32615
32616 fi
32617
32618 fi
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32620 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32621
32622 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32623 for ac_func in _isinfl
32624 do :
32625 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32626 if test "x$ac_cv_func__isinfl" = x""yes; then :
32627 cat >>confdefs.h <<_ACEOF
32628 #define HAVE__ISINFL 1
32629 _ACEOF
32630
32631 fi
32632 done
32633
32634 fi
32635 fi
32636
32637
32638
32639
32640
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32642 $as_echo_n "checking for atan2l declaration... " >&6; }
32643 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32644 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32647
32648
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32654
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32658 int
32659 main ()
32660 {
32661 atan2l(0, 0);
32662 ;
32663 return 0;
32664 }
32665 _ACEOF
32666 if ac_fn_cxx_try_compile "$LINENO"; then :
32667 glibcxx_cv_func_atan2l_use=yes
32668 else
32669 glibcxx_cv_func_atan2l_use=no
32670 fi
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672 ac_ext=c
32673 ac_cpp='$CPP $CPPFLAGS'
32674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677
32678
32679 fi
32680
32681 fi
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32683 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32684
32685 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32686 for ac_func in atan2l
32687 do :
32688 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32689 if test "x$ac_cv_func_atan2l" = x""yes; then :
32690 cat >>confdefs.h <<_ACEOF
32691 #define HAVE_ATAN2L 1
32692 _ACEOF
32693
32694 fi
32695 done
32696
32697 else
32698
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32700 $as_echo_n "checking for _atan2l declaration... " >&6; }
32701 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32702 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32705
32706
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32716 int
32717 main ()
32718 {
32719 _atan2l(0, 0);
32720 ;
32721 return 0;
32722 }
32723 _ACEOF
32724 if ac_fn_cxx_try_compile "$LINENO"; then :
32725 glibcxx_cv_func__atan2l_use=yes
32726 else
32727 glibcxx_cv_func__atan2l_use=no
32728 fi
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730 ac_ext=c
32731 ac_cpp='$CPP $CPPFLAGS'
32732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32735
32736
32737 fi
32738
32739 fi
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32741 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32742
32743 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32744 for ac_func in _atan2l
32745 do :
32746 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32747 if test "x$ac_cv_func__atan2l" = x""yes; then :
32748 cat >>confdefs.h <<_ACEOF
32749 #define HAVE__ATAN2L 1
32750 _ACEOF
32751
32752 fi
32753 done
32754
32755 fi
32756 fi
32757
32758
32759
32760
32761
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32763 $as_echo_n "checking for expl declaration... " >&6; }
32764 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32765 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32766 $as_echo_n "(cached) " >&6
32767 else
32768
32769
32770 ac_ext=cpp
32771 ac_cpp='$CXXCPP $CPPFLAGS'
32772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775
32776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32777 /* end confdefs.h. */
32778 #include <math.h>
32779 #ifdef HAVE_IEEEFP_H
32780 #include <ieeefp.h>
32781 #endif
32782
32783 int
32784 main ()
32785 {
32786 expl(0);
32787 ;
32788 return 0;
32789 }
32790 _ACEOF
32791 if ac_fn_cxx_try_compile "$LINENO"; then :
32792 glibcxx_cv_func_expl_use=yes
32793 else
32794 glibcxx_cv_func_expl_use=no
32795 fi
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797 ac_ext=c
32798 ac_cpp='$CPP $CPPFLAGS'
32799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32802
32803
32804 fi
32805
32806 fi
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32808 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32809
32810 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32811 for ac_func in expl
32812 do :
32813 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32814 if test "x$ac_cv_func_expl" = x""yes; then :
32815 cat >>confdefs.h <<_ACEOF
32816 #define HAVE_EXPL 1
32817 _ACEOF
32818
32819 fi
32820 done
32821
32822 else
32823
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32825 $as_echo_n "checking for _expl declaration... " >&6; }
32826 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32827 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32828 $as_echo_n "(cached) " >&6
32829 else
32830
32831
32832 ac_ext=cpp
32833 ac_cpp='$CXXCPP $CPPFLAGS'
32834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32837
32838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32839 /* end confdefs.h. */
32840 #include <math.h>
32841 #ifdef HAVE_IEEEFP_H
32842 #include <ieeefp.h>
32843 #endif
32844
32845 int
32846 main ()
32847 {
32848 _expl(0);
32849 ;
32850 return 0;
32851 }
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func__expl_use=yes
32855 else
32856 glibcxx_cv_func__expl_use=no
32857 fi
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32864
32865
32866 fi
32867
32868 fi
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32870 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32871
32872 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32873 for ac_func in _expl
32874 do :
32875 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32876 if test "x$ac_cv_func__expl" = x""yes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE__EXPL 1
32879 _ACEOF
32880
32881 fi
32882 done
32883
32884 fi
32885 fi
32886
32887
32888
32889
32890
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32892 $as_echo_n "checking for fabsl declaration... " >&6; }
32893 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32894 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32895 $as_echo_n "(cached) " >&6
32896 else
32897
32898
32899 ac_ext=cpp
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904
32905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906 /* end confdefs.h. */
32907 #include <math.h>
32908 #ifdef HAVE_IEEEFP_H
32909 #include <ieeefp.h>
32910 #endif
32911
32912 int
32913 main ()
32914 {
32915 fabsl(0);
32916 ;
32917 return 0;
32918 }
32919 _ACEOF
32920 if ac_fn_cxx_try_compile "$LINENO"; then :
32921 glibcxx_cv_func_fabsl_use=yes
32922 else
32923 glibcxx_cv_func_fabsl_use=no
32924 fi
32925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32926 ac_ext=c
32927 ac_cpp='$CPP $CPPFLAGS'
32928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32931
32932
32933 fi
32934
32935 fi
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32937 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32938
32939 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32940 for ac_func in fabsl
32941 do :
32942 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32943 if test "x$ac_cv_func_fabsl" = x""yes; then :
32944 cat >>confdefs.h <<_ACEOF
32945 #define HAVE_FABSL 1
32946 _ACEOF
32947
32948 fi
32949 done
32950
32951 else
32952
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32954 $as_echo_n "checking for _fabsl declaration... " >&6; }
32955 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32956 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32959
32960
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32966
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32970 #ifdef HAVE_IEEEFP_H
32971 #include <ieeefp.h>
32972 #endif
32973
32974 int
32975 main ()
32976 {
32977 _fabsl(0);
32978 ;
32979 return 0;
32980 }
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func__fabsl_use=yes
32984 else
32985 glibcxx_cv_func__fabsl_use=no
32986 fi
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32993
32994
32995 fi
32996
32997 fi
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32999 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33000
33001 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33002 for ac_func in _fabsl
33003 do :
33004 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33005 if test "x$ac_cv_func__fabsl" = x""yes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE__FABSL 1
33008 _ACEOF
33009
33010 fi
33011 done
33012
33013 fi
33014 fi
33015
33016
33017
33018
33019
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33021 $as_echo_n "checking for fmodl declaration... " >&6; }
33022 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33023 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33024 $as_echo_n "(cached) " >&6
33025 else
33026
33027
33028 ac_ext=cpp
33029 ac_cpp='$CXXCPP $CPPFLAGS'
33030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33033
33034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33035 /* end confdefs.h. */
33036 #include <math.h>
33037 int
33038 main ()
33039 {
33040 fmodl(0, 0);
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 if ac_fn_cxx_try_compile "$LINENO"; then :
33046 glibcxx_cv_func_fmodl_use=yes
33047 else
33048 glibcxx_cv_func_fmodl_use=no
33049 fi
33050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33051 ac_ext=c
33052 ac_cpp='$CPP $CPPFLAGS'
33053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056
33057
33058 fi
33059
33060 fi
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33062 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33063
33064 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33065 for ac_func in fmodl
33066 do :
33067 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33068 if test "x$ac_cv_func_fmodl" = x""yes; then :
33069 cat >>confdefs.h <<_ACEOF
33070 #define HAVE_FMODL 1
33071 _ACEOF
33072
33073 fi
33074 done
33075
33076 else
33077
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33079 $as_echo_n "checking for _fmodl declaration... " >&6; }
33080 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33081 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33082 $as_echo_n "(cached) " >&6
33083 else
33084
33085
33086 ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33091
33092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h. */
33094 #include <math.h>
33095 int
33096 main ()
33097 {
33098 _fmodl(0, 0);
33099 ;
33100 return 0;
33101 }
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func__fmodl_use=yes
33105 else
33106 glibcxx_cv_func__fmodl_use=no
33107 fi
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33114
33115
33116 fi
33117
33118 fi
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33120 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33121
33122 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33123 for ac_func in _fmodl
33124 do :
33125 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33126 if test "x$ac_cv_func__fmodl" = x""yes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE__FMODL 1
33129 _ACEOF
33130
33131 fi
33132 done
33133
33134 fi
33135 fi
33136
33137
33138
33139
33140
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33142 $as_echo_n "checking for frexpl declaration... " >&6; }
33143 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33144 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33145 $as_echo_n "(cached) " >&6
33146 else
33147
33148
33149 ac_ext=cpp
33150 ac_cpp='$CXXCPP $CPPFLAGS'
33151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33154
33155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33156 /* end confdefs.h. */
33157 #include <math.h>
33158 int
33159 main ()
33160 {
33161 frexpl(0, 0);
33162 ;
33163 return 0;
33164 }
33165 _ACEOF
33166 if ac_fn_cxx_try_compile "$LINENO"; then :
33167 glibcxx_cv_func_frexpl_use=yes
33168 else
33169 glibcxx_cv_func_frexpl_use=no
33170 fi
33171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33172 ac_ext=c
33173 ac_cpp='$CPP $CPPFLAGS'
33174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33177
33178
33179 fi
33180
33181 fi
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33183 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33184
33185 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33186 for ac_func in frexpl
33187 do :
33188 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33189 if test "x$ac_cv_func_frexpl" = x""yes; then :
33190 cat >>confdefs.h <<_ACEOF
33191 #define HAVE_FREXPL 1
33192 _ACEOF
33193
33194 fi
33195 done
33196
33197 else
33198
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33200 $as_echo_n "checking for _frexpl declaration... " >&6; }
33201 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33202 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33203 $as_echo_n "(cached) " >&6
33204 else
33205
33206
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212
33213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 /* end confdefs.h. */
33215 #include <math.h>
33216 int
33217 main ()
33218 {
33219 _frexpl(0, 0);
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 if ac_fn_cxx_try_compile "$LINENO"; then :
33225 glibcxx_cv_func__frexpl_use=yes
33226 else
33227 glibcxx_cv_func__frexpl_use=no
33228 fi
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 ac_ext=c
33231 ac_cpp='$CPP $CPPFLAGS'
33232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33235
33236
33237 fi
33238
33239 fi
33240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33241 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33242
33243 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33244 for ac_func in _frexpl
33245 do :
33246 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33247 if test "x$ac_cv_func__frexpl" = x""yes; then :
33248 cat >>confdefs.h <<_ACEOF
33249 #define HAVE__FREXPL 1
33250 _ACEOF
33251
33252 fi
33253 done
33254
33255 fi
33256 fi
33257
33258
33259
33260
33261
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33263 $as_echo_n "checking for hypotl declaration... " >&6; }
33264 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33265 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33266 $as_echo_n "(cached) " >&6
33267 else
33268
33269
33270 ac_ext=cpp
33271 ac_cpp='$CXXCPP $CPPFLAGS'
33272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33275
33276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33277 /* end confdefs.h. */
33278 #include <math.h>
33279 int
33280 main ()
33281 {
33282 hypotl(0, 0);
33283 ;
33284 return 0;
33285 }
33286 _ACEOF
33287 if ac_fn_cxx_try_compile "$LINENO"; then :
33288 glibcxx_cv_func_hypotl_use=yes
33289 else
33290 glibcxx_cv_func_hypotl_use=no
33291 fi
33292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33293 ac_ext=c
33294 ac_cpp='$CPP $CPPFLAGS'
33295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33298
33299
33300 fi
33301
33302 fi
33303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33304 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33305
33306 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33307 for ac_func in hypotl
33308 do :
33309 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33310 if test "x$ac_cv_func_hypotl" = x""yes; then :
33311 cat >>confdefs.h <<_ACEOF
33312 #define HAVE_HYPOTL 1
33313 _ACEOF
33314
33315 fi
33316 done
33317
33318 else
33319
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33321 $as_echo_n "checking for _hypotl declaration... " >&6; }
33322 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33323 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33324 $as_echo_n "(cached) " >&6
33325 else
33326
33327
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33333
33334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h. */
33336 #include <math.h>
33337 int
33338 main ()
33339 {
33340 _hypotl(0, 0);
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 if ac_fn_cxx_try_compile "$LINENO"; then :
33346 glibcxx_cv_func__hypotl_use=yes
33347 else
33348 glibcxx_cv_func__hypotl_use=no
33349 fi
33350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351 ac_ext=c
33352 ac_cpp='$CPP $CPPFLAGS'
33353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356
33357
33358 fi
33359
33360 fi
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33362 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33363
33364 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33365 for ac_func in _hypotl
33366 do :
33367 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33368 if test "x$ac_cv_func__hypotl" = x""yes; then :
33369 cat >>confdefs.h <<_ACEOF
33370 #define HAVE__HYPOTL 1
33371 _ACEOF
33372
33373 fi
33374 done
33375
33376 fi
33377 fi
33378
33379
33380
33381
33382
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33384 $as_echo_n "checking for ldexpl declaration... " >&6; }
33385 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33386 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33387 $as_echo_n "(cached) " >&6
33388 else
33389
33390
33391 ac_ext=cpp
33392 ac_cpp='$CXXCPP $CPPFLAGS'
33393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33396
33397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33398 /* end confdefs.h. */
33399 #include <math.h>
33400 int
33401 main ()
33402 {
33403 ldexpl(0, 0);
33404 ;
33405 return 0;
33406 }
33407 _ACEOF
33408 if ac_fn_cxx_try_compile "$LINENO"; then :
33409 glibcxx_cv_func_ldexpl_use=yes
33410 else
33411 glibcxx_cv_func_ldexpl_use=no
33412 fi
33413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33414 ac_ext=c
33415 ac_cpp='$CPP $CPPFLAGS'
33416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33419
33420
33421 fi
33422
33423 fi
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33425 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33426
33427 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33428 for ac_func in ldexpl
33429 do :
33430 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33431 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33432 cat >>confdefs.h <<_ACEOF
33433 #define HAVE_LDEXPL 1
33434 _ACEOF
33435
33436 fi
33437 done
33438
33439 else
33440
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33442 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33443 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33444 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33445 $as_echo_n "(cached) " >&6
33446 else
33447
33448
33449 ac_ext=cpp
33450 ac_cpp='$CXXCPP $CPPFLAGS'
33451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33454
33455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33456 /* end confdefs.h. */
33457 #include <math.h>
33458 int
33459 main ()
33460 {
33461 _ldexpl(0, 0);
33462 ;
33463 return 0;
33464 }
33465 _ACEOF
33466 if ac_fn_cxx_try_compile "$LINENO"; then :
33467 glibcxx_cv_func__ldexpl_use=yes
33468 else
33469 glibcxx_cv_func__ldexpl_use=no
33470 fi
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33472 ac_ext=c
33473 ac_cpp='$CPP $CPPFLAGS'
33474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477
33478
33479 fi
33480
33481 fi
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33483 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33484
33485 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33486 for ac_func in _ldexpl
33487 do :
33488 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33489 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33490 cat >>confdefs.h <<_ACEOF
33491 #define HAVE__LDEXPL 1
33492 _ACEOF
33493
33494 fi
33495 done
33496
33497 fi
33498 fi
33499
33500
33501
33502
33503
33504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33505 $as_echo_n "checking for logl declaration... " >&6; }
33506 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33507 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33508 $as_echo_n "(cached) " >&6
33509 else
33510
33511
33512 ac_ext=cpp
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33517
33518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33519 /* end confdefs.h. */
33520 #include <math.h>
33521 #ifdef HAVE_IEEEFP_H
33522 #include <ieeefp.h>
33523 #endif
33524
33525 int
33526 main ()
33527 {
33528 logl(0);
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 if ac_fn_cxx_try_compile "$LINENO"; then :
33534 glibcxx_cv_func_logl_use=yes
33535 else
33536 glibcxx_cv_func_logl_use=no
33537 fi
33538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33539 ac_ext=c
33540 ac_cpp='$CPP $CPPFLAGS'
33541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33544
33545
33546 fi
33547
33548 fi
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33550 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33551
33552 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33553 for ac_func in logl
33554 do :
33555 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33556 if test "x$ac_cv_func_logl" = x""yes; then :
33557 cat >>confdefs.h <<_ACEOF
33558 #define HAVE_LOGL 1
33559 _ACEOF
33560
33561 fi
33562 done
33563
33564 else
33565
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33567 $as_echo_n "checking for _logl declaration... " >&6; }
33568 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33569 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33570 $as_echo_n "(cached) " >&6
33571 else
33572
33573
33574 ac_ext=cpp
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579
33580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33581 /* end confdefs.h. */
33582 #include <math.h>
33583 #ifdef HAVE_IEEEFP_H
33584 #include <ieeefp.h>
33585 #endif
33586
33587 int
33588 main ()
33589 {
33590 _logl(0);
33591 ;
33592 return 0;
33593 }
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596 glibcxx_cv_func__logl_use=yes
33597 else
33598 glibcxx_cv_func__logl_use=no
33599 fi
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607
33608 fi
33609
33610 fi
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33612 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33613
33614 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33615 for ac_func in _logl
33616 do :
33617 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33618 if test "x$ac_cv_func__logl" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define HAVE__LOGL 1
33621 _ACEOF
33622
33623 fi
33624 done
33625
33626 fi
33627 fi
33628
33629
33630
33631
33632
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33634 $as_echo_n "checking for log10l declaration... " >&6; }
33635 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33636 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33637 $as_echo_n "(cached) " >&6
33638 else
33639
33640
33641 ac_ext=cpp
33642 ac_cpp='$CXXCPP $CPPFLAGS'
33643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646
33647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33648 /* end confdefs.h. */
33649 #include <math.h>
33650 #ifdef HAVE_IEEEFP_H
33651 #include <ieeefp.h>
33652 #endif
33653
33654 int
33655 main ()
33656 {
33657 log10l(0);
33658 ;
33659 return 0;
33660 }
33661 _ACEOF
33662 if ac_fn_cxx_try_compile "$LINENO"; then :
33663 glibcxx_cv_func_log10l_use=yes
33664 else
33665 glibcxx_cv_func_log10l_use=no
33666 fi
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668 ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33673
33674
33675 fi
33676
33677 fi
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33679 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33680
33681 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33682 for ac_func in log10l
33683 do :
33684 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33685 if test "x$ac_cv_func_log10l" = x""yes; then :
33686 cat >>confdefs.h <<_ACEOF
33687 #define HAVE_LOG10L 1
33688 _ACEOF
33689
33690 fi
33691 done
33692
33693 else
33694
33695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33696 $as_echo_n "checking for _log10l declaration... " >&6; }
33697 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33698 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33699 $as_echo_n "(cached) " >&6
33700 else
33701
33702
33703 ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h. */
33711 #include <math.h>
33712 #ifdef HAVE_IEEEFP_H
33713 #include <ieeefp.h>
33714 #endif
33715
33716 int
33717 main ()
33718 {
33719 _log10l(0);
33720 ;
33721 return 0;
33722 }
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func__log10l_use=yes
33726 else
33727 glibcxx_cv_func__log10l_use=no
33728 fi
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737 fi
33738
33739 fi
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33741 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33742
33743 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33744 for ac_func in _log10l
33745 do :
33746 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33747 if test "x$ac_cv_func__log10l" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE__LOG10L 1
33750 _ACEOF
33751
33752 fi
33753 done
33754
33755 fi
33756 fi
33757
33758
33759
33760
33761
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33763 $as_echo_n "checking for modfl declaration... " >&6; }
33764 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33765 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33766 $as_echo_n "(cached) " >&6
33767 else
33768
33769
33770 ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33775
33776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33778 #include <math.h>
33779 int
33780 main ()
33781 {
33782 modfl(0, 0);
33783 ;
33784 return 0;
33785 }
33786 _ACEOF
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_modfl_use=yes
33789 else
33790 glibcxx_cv_func_modfl_use=no
33791 fi
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33798
33799
33800 fi
33801
33802 fi
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33804 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33805
33806 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33807 for ac_func in modfl
33808 do :
33809 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33810 if test "x$ac_cv_func_modfl" = x""yes; then :
33811 cat >>confdefs.h <<_ACEOF
33812 #define HAVE_MODFL 1
33813 _ACEOF
33814
33815 fi
33816 done
33817
33818 else
33819
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33821 $as_echo_n "checking for _modfl declaration... " >&6; }
33822 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33823 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33826
33827
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33837 int
33838 main ()
33839 {
33840 _modfl(0, 0);
33841 ;
33842 return 0;
33843 }
33844 _ACEOF
33845 if ac_fn_cxx_try_compile "$LINENO"; then :
33846 glibcxx_cv_func__modfl_use=yes
33847 else
33848 glibcxx_cv_func__modfl_use=no
33849 fi
33850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33856
33857
33858 fi
33859
33860 fi
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33862 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33863
33864 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33865 for ac_func in _modfl
33866 do :
33867 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33868 if test "x$ac_cv_func__modfl" = x""yes; then :
33869 cat >>confdefs.h <<_ACEOF
33870 #define HAVE__MODFL 1
33871 _ACEOF
33872
33873 fi
33874 done
33875
33876 fi
33877 fi
33878
33879
33880
33881
33882
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33884 $as_echo_n "checking for powl declaration... " >&6; }
33885 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33886 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33887 $as_echo_n "(cached) " >&6
33888 else
33889
33890
33891 ac_ext=cpp
33892 ac_cpp='$CXXCPP $CPPFLAGS'
33893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33896
33897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 /* end confdefs.h. */
33899 #include <math.h>
33900 int
33901 main ()
33902 {
33903 powl(0, 0);
33904 ;
33905 return 0;
33906 }
33907 _ACEOF
33908 if ac_fn_cxx_try_compile "$LINENO"; then :
33909 glibcxx_cv_func_powl_use=yes
33910 else
33911 glibcxx_cv_func_powl_use=no
33912 fi
33913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 ac_ext=c
33915 ac_cpp='$CPP $CPPFLAGS'
33916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919
33920
33921 fi
33922
33923 fi
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33925 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33926
33927 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33928 for ac_func in powl
33929 do :
33930 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33931 if test "x$ac_cv_func_powl" = x""yes; then :
33932 cat >>confdefs.h <<_ACEOF
33933 #define HAVE_POWL 1
33934 _ACEOF
33935
33936 fi
33937 done
33938
33939 else
33940
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33942 $as_echo_n "checking for _powl declaration... " >&6; }
33943 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33944 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33945 $as_echo_n "(cached) " >&6
33946 else
33947
33948
33949 ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33954
33955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h. */
33957 #include <math.h>
33958 int
33959 main ()
33960 {
33961 _powl(0, 0);
33962 ;
33963 return 0;
33964 }
33965 _ACEOF
33966 if ac_fn_cxx_try_compile "$LINENO"; then :
33967 glibcxx_cv_func__powl_use=yes
33968 else
33969 glibcxx_cv_func__powl_use=no
33970 fi
33971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33972 ac_ext=c
33973 ac_cpp='$CPP $CPPFLAGS'
33974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33977
33978
33979 fi
33980
33981 fi
33982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33983 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33984
33985 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33986 for ac_func in _powl
33987 do :
33988 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33989 if test "x$ac_cv_func__powl" = x""yes; then :
33990 cat >>confdefs.h <<_ACEOF
33991 #define HAVE__POWL 1
33992 _ACEOF
33993
33994 fi
33995 done
33996
33997 fi
33998 fi
33999
34000
34001
34002
34003
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34005 $as_echo_n "checking for sqrtl declaration... " >&6; }
34006 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34007 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34008 $as_echo_n "(cached) " >&6
34009 else
34010
34011
34012 ac_ext=cpp
34013 ac_cpp='$CXXCPP $CPPFLAGS'
34014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34017
34018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34019 /* end confdefs.h. */
34020 #include <math.h>
34021 #ifdef HAVE_IEEEFP_H
34022 #include <ieeefp.h>
34023 #endif
34024
34025 int
34026 main ()
34027 {
34028 sqrtl(0);
34029 ;
34030 return 0;
34031 }
34032 _ACEOF
34033 if ac_fn_cxx_try_compile "$LINENO"; then :
34034 glibcxx_cv_func_sqrtl_use=yes
34035 else
34036 glibcxx_cv_func_sqrtl_use=no
34037 fi
34038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34039 ac_ext=c
34040 ac_cpp='$CPP $CPPFLAGS'
34041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34044
34045
34046 fi
34047
34048 fi
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34050 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34051
34052 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34053 for ac_func in sqrtl
34054 do :
34055 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34056 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34057 cat >>confdefs.h <<_ACEOF
34058 #define HAVE_SQRTL 1
34059 _ACEOF
34060
34061 fi
34062 done
34063
34064 else
34065
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34067 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34068 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34069 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34070 $as_echo_n "(cached) " >&6
34071 else
34072
34073
34074 ac_ext=cpp
34075 ac_cpp='$CXXCPP $CPPFLAGS'
34076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34079
34080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h. */
34082 #include <math.h>
34083 #ifdef HAVE_IEEEFP_H
34084 #include <ieeefp.h>
34085 #endif
34086
34087 int
34088 main ()
34089 {
34090 _sqrtl(0);
34091 ;
34092 return 0;
34093 }
34094 _ACEOF
34095 if ac_fn_cxx_try_compile "$LINENO"; then :
34096 glibcxx_cv_func__sqrtl_use=yes
34097 else
34098 glibcxx_cv_func__sqrtl_use=no
34099 fi
34100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34101 ac_ext=c
34102 ac_cpp='$CPP $CPPFLAGS'
34103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34106
34107
34108 fi
34109
34110 fi
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34112 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34113
34114 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34115 for ac_func in _sqrtl
34116 do :
34117 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34118 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34119 cat >>confdefs.h <<_ACEOF
34120 #define HAVE__SQRTL 1
34121 _ACEOF
34122
34123 fi
34124 done
34125
34126 fi
34127 fi
34128
34129
34130
34131
34132
34133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34134 $as_echo_n "checking for sincosl declaration... " >&6; }
34135 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34136 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34137 $as_echo_n "(cached) " >&6
34138 else
34139
34140
34141 ac_ext=cpp
34142 ac_cpp='$CXXCPP $CPPFLAGS'
34143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34146
34147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34148 /* end confdefs.h. */
34149 #include <math.h>
34150 int
34151 main ()
34152 {
34153 sincosl(0, 0, 0);
34154 ;
34155 return 0;
34156 }
34157 _ACEOF
34158 if ac_fn_cxx_try_compile "$LINENO"; then :
34159 glibcxx_cv_func_sincosl_use=yes
34160 else
34161 glibcxx_cv_func_sincosl_use=no
34162 fi
34163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34164 ac_ext=c
34165 ac_cpp='$CPP $CPPFLAGS'
34166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34169
34170
34171 fi
34172
34173 fi
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34175 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34176
34177 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34178 for ac_func in sincosl
34179 do :
34180 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34181 if test "x$ac_cv_func_sincosl" = x""yes; then :
34182 cat >>confdefs.h <<_ACEOF
34183 #define HAVE_SINCOSL 1
34184 _ACEOF
34185
34186 fi
34187 done
34188
34189 else
34190
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34192 $as_echo_n "checking for _sincosl declaration... " >&6; }
34193 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34194 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34195 $as_echo_n "(cached) " >&6
34196 else
34197
34198
34199 ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h. */
34207 #include <math.h>
34208 int
34209 main ()
34210 {
34211 _sincosl(0, 0, 0);
34212 ;
34213 return 0;
34214 }
34215 _ACEOF
34216 if ac_fn_cxx_try_compile "$LINENO"; then :
34217 glibcxx_cv_func__sincosl_use=yes
34218 else
34219 glibcxx_cv_func__sincosl_use=no
34220 fi
34221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34222 ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227
34228
34229 fi
34230
34231 fi
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34233 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34234
34235 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34236 for ac_func in _sincosl
34237 do :
34238 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34239 if test "x$ac_cv_func__sincosl" = x""yes; then :
34240 cat >>confdefs.h <<_ACEOF
34241 #define HAVE__SINCOSL 1
34242 _ACEOF
34243
34244 fi
34245 done
34246
34247 fi
34248 fi
34249
34250
34251
34252
34253
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34255 $as_echo_n "checking for finitel declaration... " >&6; }
34256 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34257 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34258 $as_echo_n "(cached) " >&6
34259 else
34260
34261
34262 ac_ext=cpp
34263 ac_cpp='$CXXCPP $CPPFLAGS'
34264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267
34268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34269 /* end confdefs.h. */
34270 #include <math.h>
34271 #ifdef HAVE_IEEEFP_H
34272 #include <ieeefp.h>
34273 #endif
34274
34275 int
34276 main ()
34277 {
34278 finitel(0);
34279 ;
34280 return 0;
34281 }
34282 _ACEOF
34283 if ac_fn_cxx_try_compile "$LINENO"; then :
34284 glibcxx_cv_func_finitel_use=yes
34285 else
34286 glibcxx_cv_func_finitel_use=no
34287 fi
34288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34289 ac_ext=c
34290 ac_cpp='$CPP $CPPFLAGS'
34291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34294
34295
34296 fi
34297
34298 fi
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34300 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34301
34302 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34303 for ac_func in finitel
34304 do :
34305 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34306 if test "x$ac_cv_func_finitel" = x""yes; then :
34307 cat >>confdefs.h <<_ACEOF
34308 #define HAVE_FINITEL 1
34309 _ACEOF
34310
34311 fi
34312 done
34313
34314 else
34315
34316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34317 $as_echo_n "checking for _finitel declaration... " >&6; }
34318 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34319 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34320 $as_echo_n "(cached) " >&6
34321 else
34322
34323
34324 ac_ext=cpp
34325 ac_cpp='$CXXCPP $CPPFLAGS'
34326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329
34330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34331 /* end confdefs.h. */
34332 #include <math.h>
34333 #ifdef HAVE_IEEEFP_H
34334 #include <ieeefp.h>
34335 #endif
34336
34337 int
34338 main ()
34339 {
34340 _finitel(0);
34341 ;
34342 return 0;
34343 }
34344 _ACEOF
34345 if ac_fn_cxx_try_compile "$LINENO"; then :
34346 glibcxx_cv_func__finitel_use=yes
34347 else
34348 glibcxx_cv_func__finitel_use=no
34349 fi
34350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34351 ac_ext=c
34352 ac_cpp='$CPP $CPPFLAGS'
34353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34356
34357
34358 fi
34359
34360 fi
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34362 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34363
34364 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34365 for ac_func in _finitel
34366 do :
34367 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34368 if test "x$ac_cv_func__finitel" = x""yes; then :
34369 cat >>confdefs.h <<_ACEOF
34370 #define HAVE__FINITEL 1
34371 _ACEOF
34372
34373 fi
34374 done
34375
34376 fi
34377 fi
34378
34379
34380
34381
34382 LIBS="$ac_save_LIBS"
34383 CXXFLAGS="$ac_save_CXXFLAGS"
34384
34385
34386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34387 ac_save_CXXFLAGS="$CXXFLAGS"
34388 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34389
34390
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34392 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34393 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34394 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34395 $as_echo_n "(cached) " >&6
34396 else
34397
34398
34399 ac_ext=cpp
34400 ac_cpp='$CXXCPP $CPPFLAGS'
34401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34404
34405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34406 /* end confdefs.h. */
34407 #include <stdlib.h>
34408 int
34409 main ()
34410 {
34411 at_quick_exit(0);
34412 ;
34413 return 0;
34414 }
34415 _ACEOF
34416 if ac_fn_cxx_try_compile "$LINENO"; then :
34417 glibcxx_cv_func_at_quick_exit_use=yes
34418 else
34419 glibcxx_cv_func_at_quick_exit_use=no
34420 fi
34421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34422 ac_ext=c
34423 ac_cpp='$CPP $CPPFLAGS'
34424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427
34428
34429 fi
34430
34431 fi
34432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34433 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34434 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34435 for ac_func in at_quick_exit
34436 do :
34437 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34438 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34439 cat >>confdefs.h <<_ACEOF
34440 #define HAVE_AT_QUICK_EXIT 1
34441 _ACEOF
34442
34443 fi
34444 done
34445
34446 fi
34447
34448
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34450 $as_echo_n "checking for quick_exit declaration... " >&6; }
34451 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34452 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34453 $as_echo_n "(cached) " >&6
34454 else
34455
34456
34457 ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34462
34463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h. */
34465 #include <stdlib.h>
34466 int
34467 main ()
34468 {
34469 quick_exit(0);
34470 ;
34471 return 0;
34472 }
34473 _ACEOF
34474 if ac_fn_cxx_try_compile "$LINENO"; then :
34475 glibcxx_cv_func_quick_exit_use=yes
34476 else
34477 glibcxx_cv_func_quick_exit_use=no
34478 fi
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480 ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34485
34486
34487 fi
34488
34489 fi
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34491 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34492 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34493 for ac_func in quick_exit
34494 do :
34495 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34496 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34497 cat >>confdefs.h <<_ACEOF
34498 #define HAVE_QUICK_EXIT 1
34499 _ACEOF
34500
34501 fi
34502 done
34503
34504 fi
34505
34506
34507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34508 $as_echo_n "checking for strtold declaration... " >&6; }
34509 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34510 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34511 $as_echo_n "(cached) " >&6
34512 else
34513
34514
34515 ac_ext=cpp
34516 ac_cpp='$CXXCPP $CPPFLAGS'
34517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34520
34521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34522 /* end confdefs.h. */
34523 #include <stdlib.h>
34524 int
34525 main ()
34526 {
34527 strtold(0, 0);
34528 ;
34529 return 0;
34530 }
34531 _ACEOF
34532 if ac_fn_cxx_try_compile "$LINENO"; then :
34533 glibcxx_cv_func_strtold_use=yes
34534 else
34535 glibcxx_cv_func_strtold_use=no
34536 fi
34537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34538 ac_ext=c
34539 ac_cpp='$CPP $CPPFLAGS'
34540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34543
34544
34545 fi
34546
34547 fi
34548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34549 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34550 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34551 for ac_func in strtold
34552 do :
34553 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34554 if test "x$ac_cv_func_strtold" = x""yes; then :
34555 cat >>confdefs.h <<_ACEOF
34556 #define HAVE_STRTOLD 1
34557 _ACEOF
34558
34559 fi
34560 done
34561
34562 fi
34563
34564
34565
34566
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34568 $as_echo_n "checking for strtof declaration... " >&6; }
34569 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34570 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34571 $as_echo_n "(cached) " >&6
34572 else
34573
34574
34575 ac_ext=cpp
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580
34581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h. */
34583 #include <stdlib.h>
34584 int
34585 main ()
34586 {
34587 strtof(0, 0);
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 if ac_fn_cxx_try_compile "$LINENO"; then :
34593 glibcxx_cv_func_strtof_use=yes
34594 else
34595 glibcxx_cv_func_strtof_use=no
34596 fi
34597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598 ac_ext=c
34599 ac_cpp='$CPP $CPPFLAGS'
34600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34603
34604
34605 fi
34606
34607 fi
34608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34609 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34610 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34611 for ac_func in strtof
34612 do :
34613 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34614 if test "x$ac_cv_func_strtof" = x""yes; then :
34615 cat >>confdefs.h <<_ACEOF
34616 #define HAVE_STRTOF 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622 fi
34623
34624
34625
34626
34627 CXXFLAGS="$ac_save_CXXFLAGS"
34628
34629
34630 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34631
34632 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34633
34634 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34635
34636 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34637
34638
34639 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34640
34641 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34642
34643 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34644
34645 ;;
34646
34647 spu-*-elf*)
34648
34649 # All these tests are for C++; save the language and the compiler flags.
34650 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34651 # found in GLIBCXX_CONFIGURE.
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 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34660 ac_save_CXXFLAGS="$CXXFLAGS"
34661
34662 # Check for maintainer-mode bits.
34663 if test x"$USE_MAINTAINER_MODE" = xno; then
34664 WERROR=''
34665 else
34666 WERROR='-Werror'
34667 fi
34668
34669 # Check for -ffunction-sections -fdata-sections
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34671 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34672 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34674 /* end confdefs.h. */
34675 int foo; void bar() { };
34676 int
34677 main ()
34678 {
34679
34680 ;
34681 return 0;
34682 }
34683 _ACEOF
34684 if ac_fn_cxx_try_compile "$LINENO"; then :
34685 ac_fdsections=yes
34686 else
34687 ac_fdsections=no
34688 fi
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690 if test "$ac_test_CXXFLAGS" = set; then
34691 CXXFLAGS="$ac_save_CXXFLAGS"
34692 else
34693 # this is the suspicious part
34694 CXXFLAGS=''
34695 fi
34696 if test x"$ac_fdsections" = x"yes"; then
34697 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34698 fi
34699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34700 $as_echo "$ac_fdsections" >&6; }
34701
34702 ac_ext=c
34703 ac_cpp='$CPP $CPPFLAGS'
34704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34707
34708
34709
34710
34711
34712 # If we're not using GNU ld, then there's no point in even trying these
34713 # tests. Check for that first. We should have already tested for gld
34714 # by now (in libtool), but require it now just to be safe...
34715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34717
34718
34719
34720 # The name set by libtool depends on the version of libtool. Shame on us
34721 # for depending on an impl detail, but c'est la vie. Older versions used
34722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34725 # set (hence we're using an older libtool), then set it.
34726 if test x${with_gnu_ld+set} != xset; then
34727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34729 with_gnu_ld=no
34730 else
34731 with_gnu_ld=$ac_cv_prog_gnu_ld
34732 fi
34733 fi
34734
34735 # Start by getting the version number. I think the libtool test already
34736 # does some of this, but throws away the result.
34737 glibcxx_ld_is_gold=no
34738 if test x"$with_gnu_ld" = x"yes"; then
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34740 $as_echo_n "checking for ld version... " >&6; }
34741
34742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34743 glibcxx_ld_is_gold=yes
34744 fi
34745 ldver=`$LD --version 2>/dev/null |
34746 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'`
34747
34748 glibcxx_gnu_ld_version=`echo $ldver | \
34749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34752 fi
34753
34754 # Set --gc-sections.
34755 glibcxx_have_gc_sections=no
34756 if test "$glibcxx_ld_is_gold" = "yes"; then
34757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34758 glibcxx_have_gc_sections=yes
34759 fi
34760 else
34761 glibcxx_gcsections_min_ld=21602
34762 if test x"$with_gnu_ld" = x"yes" &&
34763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34764 glibcxx_have_gc_sections=yes
34765 fi
34766 fi
34767 if test "$glibcxx_have_gc_sections" = "yes"; then
34768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34769 # NB: This flag only works reliably after 2.16.1. Configure tests
34770 # for this are difficult, so hard wire a value that should work.
34771
34772 ac_test_CFLAGS="${CFLAGS+set}"
34773 ac_save_CFLAGS="$CFLAGS"
34774 CFLAGS='-Wl,--gc-sections'
34775
34776 # Check for -Wl,--gc-sections
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34779 if test x$gcc_no_link = xyes; then
34780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34781 fi
34782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34783 /* end confdefs.h. */
34784 int one(void) { return 1; }
34785 int two(void) { return 2; }
34786
34787 int
34788 main ()
34789 {
34790 two();
34791 ;
34792 return 0;
34793 }
34794 _ACEOF
34795 if ac_fn_c_try_link "$LINENO"; then :
34796 ac_gcsections=yes
34797 else
34798 ac_gcsections=no
34799 fi
34800 rm -f core conftest.err conftest.$ac_objext \
34801 conftest$ac_exeext conftest.$ac_ext
34802 if test "$ac_gcsections" = "yes"; then
34803 rm -f conftest.c
34804 touch conftest.c
34805 if $CC -c conftest.c; then
34806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34807 grep "Warning: gc-sections option ignored" > /dev/null; then
34808 ac_gcsections=no
34809 fi
34810 fi
34811 rm -f conftest.c conftest.o conftest
34812 fi
34813 if test "$ac_gcsections" = "yes"; then
34814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34815 fi
34816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34817 $as_echo "$ac_gcsections" >&6; }
34818
34819 if test "$ac_test_CFLAGS" = set; then
34820 CFLAGS="$ac_save_CFLAGS"
34821 else
34822 # this is the suspicious part
34823 CFLAGS=''
34824 fi
34825 fi
34826
34827 # Set -z,relro.
34828 # Note this is only for shared objects.
34829 ac_ld_relro=no
34830 if test x"$with_gnu_ld" = x"yes"; then
34831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34834 if test -n "$cxx_z_relo"; then
34835 OPT_LDFLAGS="-Wl,-z,relro"
34836 ac_ld_relro=yes
34837 fi
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34839 $as_echo "$ac_ld_relro" >&6; }
34840 fi
34841
34842 # Set linker optimization flags.
34843 if test x"$with_gnu_ld" = x"yes"; then
34844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34845 fi
34846
34847
34848
34849
34850
34851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34852 ac_save_CXXFLAGS="$CXXFLAGS"
34853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34854
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34856 $as_echo_n "checking for sin in -lm... " >&6; }
34857 if test "${ac_cv_lib_m_sin+set}" = set; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34860 ac_check_lib_save_LIBS=$LIBS
34861 LIBS="-lm $LIBS"
34862 if test x$gcc_no_link = xyes; then
34863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34864 fi
34865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34866 /* end confdefs.h. */
34867
34868 /* Override any GCC internal prototype to avoid an error.
34869 Use char because int might match the return type of a GCC
34870 builtin and then its argument prototype would still apply. */
34871 #ifdef __cplusplus
34872 extern "C"
34873 #endif
34874 char sin ();
34875 int
34876 main ()
34877 {
34878 return sin ();
34879 ;
34880 return 0;
34881 }
34882 _ACEOF
34883 if ac_fn_c_try_link "$LINENO"; then :
34884 ac_cv_lib_m_sin=yes
34885 else
34886 ac_cv_lib_m_sin=no
34887 fi
34888 rm -f core conftest.err conftest.$ac_objext \
34889 conftest$ac_exeext conftest.$ac_ext
34890 LIBS=$ac_check_lib_save_LIBS
34891 fi
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34893 $as_echo "$ac_cv_lib_m_sin" >&6; }
34894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34895 libm="-lm"
34896 fi
34897
34898 ac_save_LIBS="$LIBS"
34899 LIBS="$LIBS $libm"
34900
34901
34902
34903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34904 $as_echo_n "checking for isinf declaration... " >&6; }
34905 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34906 if test "${glibcxx_cv_func_isinf_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 #ifdef HAVE_IEEEFP_H
34921 #include <ieeefp.h>
34922 #endif
34923
34924 int
34925 main ()
34926 {
34927 isinf(0);
34928 ;
34929 return 0;
34930 }
34931 _ACEOF
34932 if ac_fn_cxx_try_compile "$LINENO"; then :
34933 glibcxx_cv_func_isinf_use=yes
34934 else
34935 glibcxx_cv_func_isinf_use=no
34936 fi
34937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34938 ac_ext=c
34939 ac_cpp='$CPP $CPPFLAGS'
34940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34943
34944
34945 fi
34946
34947 fi
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34950
34951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34952 for ac_func in isinf
34953 do :
34954 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34955 if test "x$ac_cv_func_isinf" = x""yes; then :
34956 cat >>confdefs.h <<_ACEOF
34957 #define HAVE_ISINF 1
34958 _ACEOF
34959
34960 fi
34961 done
34962
34963 else
34964
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34966 $as_echo_n "checking for _isinf declaration... " >&6; }
34967 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34968 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34969 $as_echo_n "(cached) " >&6
34970 else
34971
34972
34973 ac_ext=cpp
34974 ac_cpp='$CXXCPP $CPPFLAGS'
34975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34978
34979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34980 /* end confdefs.h. */
34981 #include <math.h>
34982 #ifdef HAVE_IEEEFP_H
34983 #include <ieeefp.h>
34984 #endif
34985
34986 int
34987 main ()
34988 {
34989 _isinf(0);
34990 ;
34991 return 0;
34992 }
34993 _ACEOF
34994 if ac_fn_cxx_try_compile "$LINENO"; then :
34995 glibcxx_cv_func__isinf_use=yes
34996 else
34997 glibcxx_cv_func__isinf_use=no
34998 fi
34999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35000 ac_ext=c
35001 ac_cpp='$CPP $CPPFLAGS'
35002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35005
35006
35007 fi
35008
35009 fi
35010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35012
35013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35014 for ac_func in _isinf
35015 do :
35016 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35017 if test "x$ac_cv_func__isinf" = x""yes; then :
35018 cat >>confdefs.h <<_ACEOF
35019 #define HAVE__ISINF 1
35020 _ACEOF
35021
35022 fi
35023 done
35024
35025 fi
35026 fi
35027
35028
35029
35030
35031
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35033 $as_echo_n "checking for isnan declaration... " >&6; }
35034 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35035 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35036 $as_echo_n "(cached) " >&6
35037 else
35038
35039
35040 ac_ext=cpp
35041 ac_cpp='$CXXCPP $CPPFLAGS'
35042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045
35046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35047 /* end confdefs.h. */
35048 #include <math.h>
35049 #ifdef HAVE_IEEEFP_H
35050 #include <ieeefp.h>
35051 #endif
35052
35053 int
35054 main ()
35055 {
35056 isnan(0);
35057 ;
35058 return 0;
35059 }
35060 _ACEOF
35061 if ac_fn_cxx_try_compile "$LINENO"; then :
35062 glibcxx_cv_func_isnan_use=yes
35063 else
35064 glibcxx_cv_func_isnan_use=no
35065 fi
35066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35067 ac_ext=c
35068 ac_cpp='$CPP $CPPFLAGS'
35069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35072
35073
35074 fi
35075
35076 fi
35077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35079
35080 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35081 for ac_func in isnan
35082 do :
35083 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35084 if test "x$ac_cv_func_isnan" = x""yes; then :
35085 cat >>confdefs.h <<_ACEOF
35086 #define HAVE_ISNAN 1
35087 _ACEOF
35088
35089 fi
35090 done
35091
35092 else
35093
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35095 $as_echo_n "checking for _isnan declaration... " >&6; }
35096 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35097 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35098 $as_echo_n "(cached) " >&6
35099 else
35100
35101
35102 ac_ext=cpp
35103 ac_cpp='$CXXCPP $CPPFLAGS'
35104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35107
35108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35109 /* end confdefs.h. */
35110 #include <math.h>
35111 #ifdef HAVE_IEEEFP_H
35112 #include <ieeefp.h>
35113 #endif
35114
35115 int
35116 main ()
35117 {
35118 _isnan(0);
35119 ;
35120 return 0;
35121 }
35122 _ACEOF
35123 if ac_fn_cxx_try_compile "$LINENO"; then :
35124 glibcxx_cv_func__isnan_use=yes
35125 else
35126 glibcxx_cv_func__isnan_use=no
35127 fi
35128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35129 ac_ext=c
35130 ac_cpp='$CPP $CPPFLAGS'
35131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35134
35135
35136 fi
35137
35138 fi
35139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35141
35142 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35143 for ac_func in _isnan
35144 do :
35145 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35146 if test "x$ac_cv_func__isnan" = x""yes; then :
35147 cat >>confdefs.h <<_ACEOF
35148 #define HAVE__ISNAN 1
35149 _ACEOF
35150
35151 fi
35152 done
35153
35154 fi
35155 fi
35156
35157
35158
35159
35160
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35162 $as_echo_n "checking for finite declaration... " >&6; }
35163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35164 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35165 $as_echo_n "(cached) " >&6
35166 else
35167
35168
35169 ac_ext=cpp
35170 ac_cpp='$CXXCPP $CPPFLAGS'
35171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35174
35175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35176 /* end confdefs.h. */
35177 #include <math.h>
35178 #ifdef HAVE_IEEEFP_H
35179 #include <ieeefp.h>
35180 #endif
35181
35182 int
35183 main ()
35184 {
35185 finite(0);
35186 ;
35187 return 0;
35188 }
35189 _ACEOF
35190 if ac_fn_cxx_try_compile "$LINENO"; then :
35191 glibcxx_cv_func_finite_use=yes
35192 else
35193 glibcxx_cv_func_finite_use=no
35194 fi
35195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35196 ac_ext=c
35197 ac_cpp='$CPP $CPPFLAGS'
35198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35201
35202
35203 fi
35204
35205 fi
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35208
35209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35210 for ac_func in finite
35211 do :
35212 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35213 if test "x$ac_cv_func_finite" = x""yes; then :
35214 cat >>confdefs.h <<_ACEOF
35215 #define HAVE_FINITE 1
35216 _ACEOF
35217
35218 fi
35219 done
35220
35221 else
35222
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35224 $as_echo_n "checking for _finite declaration... " >&6; }
35225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35226 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35227 $as_echo_n "(cached) " >&6
35228 else
35229
35230
35231 ac_ext=cpp
35232 ac_cpp='$CXXCPP $CPPFLAGS'
35233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35236
35237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35238 /* end confdefs.h. */
35239 #include <math.h>
35240 #ifdef HAVE_IEEEFP_H
35241 #include <ieeefp.h>
35242 #endif
35243
35244 int
35245 main ()
35246 {
35247 _finite(0);
35248 ;
35249 return 0;
35250 }
35251 _ACEOF
35252 if ac_fn_cxx_try_compile "$LINENO"; then :
35253 glibcxx_cv_func__finite_use=yes
35254 else
35255 glibcxx_cv_func__finite_use=no
35256 fi
35257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35258 ac_ext=c
35259 ac_cpp='$CPP $CPPFLAGS'
35260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35263
35264
35265 fi
35266
35267 fi
35268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35270
35271 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35272 for ac_func in _finite
35273 do :
35274 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35275 if test "x$ac_cv_func__finite" = x""yes; then :
35276 cat >>confdefs.h <<_ACEOF
35277 #define HAVE__FINITE 1
35278 _ACEOF
35279
35280 fi
35281 done
35282
35283 fi
35284 fi
35285
35286
35287
35288
35289
35290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35291 $as_echo_n "checking for sincos declaration... " >&6; }
35292 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35293 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35294 $as_echo_n "(cached) " >&6
35295 else
35296
35297
35298 ac_ext=cpp
35299 ac_cpp='$CXXCPP $CPPFLAGS'
35300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35303
35304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35305 /* end confdefs.h. */
35306 #include <math.h>
35307 int
35308 main ()
35309 {
35310 sincos(0, 0, 0);
35311 ;
35312 return 0;
35313 }
35314 _ACEOF
35315 if ac_fn_cxx_try_compile "$LINENO"; then :
35316 glibcxx_cv_func_sincos_use=yes
35317 else
35318 glibcxx_cv_func_sincos_use=no
35319 fi
35320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35321 ac_ext=c
35322 ac_cpp='$CPP $CPPFLAGS'
35323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35326
35327
35328 fi
35329
35330 fi
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35333
35334 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35335 for ac_func in sincos
35336 do :
35337 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35338 if test "x$ac_cv_func_sincos" = x""yes; then :
35339 cat >>confdefs.h <<_ACEOF
35340 #define HAVE_SINCOS 1
35341 _ACEOF
35342
35343 fi
35344 done
35345
35346 else
35347
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35349 $as_echo_n "checking for _sincos declaration... " >&6; }
35350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35352 $as_echo_n "(cached) " >&6
35353 else
35354
35355
35356 ac_ext=cpp
35357 ac_cpp='$CXXCPP $CPPFLAGS'
35358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35361
35362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35363 /* end confdefs.h. */
35364 #include <math.h>
35365 int
35366 main ()
35367 {
35368 _sincos(0, 0, 0);
35369 ;
35370 return 0;
35371 }
35372 _ACEOF
35373 if ac_fn_cxx_try_compile "$LINENO"; then :
35374 glibcxx_cv_func__sincos_use=yes
35375 else
35376 glibcxx_cv_func__sincos_use=no
35377 fi
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_ext=c
35380 ac_cpp='$CPP $CPPFLAGS'
35381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35384
35385
35386 fi
35387
35388 fi
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35391
35392 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35393 for ac_func in _sincos
35394 do :
35395 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35396 if test "x$ac_cv_func__sincos" = x""yes; then :
35397 cat >>confdefs.h <<_ACEOF
35398 #define HAVE__SINCOS 1
35399 _ACEOF
35400
35401 fi
35402 done
35403
35404 fi
35405 fi
35406
35407
35408
35409
35410
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35412 $as_echo_n "checking for fpclass declaration... " >&6; }
35413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35415 $as_echo_n "(cached) " >&6
35416 else
35417
35418
35419 ac_ext=cpp
35420 ac_cpp='$CXXCPP $CPPFLAGS'
35421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424
35425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35426 /* end confdefs.h. */
35427 #include <math.h>
35428 #ifdef HAVE_IEEEFP_H
35429 #include <ieeefp.h>
35430 #endif
35431
35432 int
35433 main ()
35434 {
35435 fpclass(0);
35436 ;
35437 return 0;
35438 }
35439 _ACEOF
35440 if ac_fn_cxx_try_compile "$LINENO"; then :
35441 glibcxx_cv_func_fpclass_use=yes
35442 else
35443 glibcxx_cv_func_fpclass_use=no
35444 fi
35445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446 ac_ext=c
35447 ac_cpp='$CPP $CPPFLAGS'
35448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35451
35452
35453 fi
35454
35455 fi
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35458
35459 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35460 for ac_func in fpclass
35461 do :
35462 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35463 if test "x$ac_cv_func_fpclass" = x""yes; then :
35464 cat >>confdefs.h <<_ACEOF
35465 #define HAVE_FPCLASS 1
35466 _ACEOF
35467
35468 fi
35469 done
35470
35471 else
35472
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35474 $as_echo_n "checking for _fpclass declaration... " >&6; }
35475 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35476 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35477 $as_echo_n "(cached) " >&6
35478 else
35479
35480
35481 ac_ext=cpp
35482 ac_cpp='$CXXCPP $CPPFLAGS'
35483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35486
35487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35489 #include <math.h>
35490 #ifdef HAVE_IEEEFP_H
35491 #include <ieeefp.h>
35492 #endif
35493
35494 int
35495 main ()
35496 {
35497 _fpclass(0);
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 if ac_fn_cxx_try_compile "$LINENO"; then :
35503 glibcxx_cv_func__fpclass_use=yes
35504 else
35505 glibcxx_cv_func__fpclass_use=no
35506 fi
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35513
35514
35515 fi
35516
35517 fi
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35520
35521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35522 for ac_func in _fpclass
35523 do :
35524 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35525 if test "x$ac_cv_func__fpclass" = x""yes; then :
35526 cat >>confdefs.h <<_ACEOF
35527 #define HAVE__FPCLASS 1
35528 _ACEOF
35529
35530 fi
35531 done
35532
35533 fi
35534 fi
35535
35536
35537
35538
35539
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35541 $as_echo_n "checking for qfpclass declaration... " >&6; }
35542 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35543 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35544 $as_echo_n "(cached) " >&6
35545 else
35546
35547
35548 ac_ext=cpp
35549 ac_cpp='$CXXCPP $CPPFLAGS'
35550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35553
35554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35555 /* end confdefs.h. */
35556 #include <math.h>
35557 #ifdef HAVE_IEEEFP_H
35558 #include <ieeefp.h>
35559 #endif
35560
35561 int
35562 main ()
35563 {
35564 qfpclass(0);
35565 ;
35566 return 0;
35567 }
35568 _ACEOF
35569 if ac_fn_cxx_try_compile "$LINENO"; then :
35570 glibcxx_cv_func_qfpclass_use=yes
35571 else
35572 glibcxx_cv_func_qfpclass_use=no
35573 fi
35574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35575 ac_ext=c
35576 ac_cpp='$CPP $CPPFLAGS'
35577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35580
35581
35582 fi
35583
35584 fi
35585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35587
35588 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35589 for ac_func in qfpclass
35590 do :
35591 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35593 cat >>confdefs.h <<_ACEOF
35594 #define HAVE_QFPCLASS 1
35595 _ACEOF
35596
35597 fi
35598 done
35599
35600 else
35601
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35604 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35605 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35606 $as_echo_n "(cached) " >&6
35607 else
35608
35609
35610 ac_ext=cpp
35611 ac_cpp='$CXXCPP $CPPFLAGS'
35612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35615
35616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35617 /* end confdefs.h. */
35618 #include <math.h>
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35621 #endif
35622
35623 int
35624 main ()
35625 {
35626 _qfpclass(0);
35627 ;
35628 return 0;
35629 }
35630 _ACEOF
35631 if ac_fn_cxx_try_compile "$LINENO"; then :
35632 glibcxx_cv_func__qfpclass_use=yes
35633 else
35634 glibcxx_cv_func__qfpclass_use=no
35635 fi
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_ext=c
35638 ac_cpp='$CPP $CPPFLAGS'
35639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35642
35643
35644 fi
35645
35646 fi
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35649
35650 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35651 for ac_func in _qfpclass
35652 do :
35653 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35655 cat >>confdefs.h <<_ACEOF
35656 #define HAVE__QFPCLASS 1
35657 _ACEOF
35658
35659 fi
35660 done
35661
35662 fi
35663 fi
35664
35665
35666
35667
35668
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35670 $as_echo_n "checking for hypot declaration... " >&6; }
35671 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35672 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35673 $as_echo_n "(cached) " >&6
35674 else
35675
35676
35677 ac_ext=cpp
35678 ac_cpp='$CXXCPP $CPPFLAGS'
35679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35682
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35685 #include <math.h>
35686 int
35687 main ()
35688 {
35689 hypot(0, 0);
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func_hypot_use=yes
35696 else
35697 glibcxx_cv_func_hypot_use=no
35698 fi
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35705
35706
35707 fi
35708
35709 fi
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35712
35713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35714 for ac_func in hypot
35715 do :
35716 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35717 if test "x$ac_cv_func_hypot" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE_HYPOT 1
35720 _ACEOF
35721
35722 fi
35723 done
35724
35725 else
35726
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35728 $as_echo_n "checking for _hypot declaration... " >&6; }
35729 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35730 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35731 $as_echo_n "(cached) " >&6
35732 else
35733
35734
35735 ac_ext=cpp
35736 ac_cpp='$CXXCPP $CPPFLAGS'
35737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35740
35741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742 /* end confdefs.h. */
35743 #include <math.h>
35744 int
35745 main ()
35746 {
35747 _hypot(0, 0);
35748 ;
35749 return 0;
35750 }
35751 _ACEOF
35752 if ac_fn_cxx_try_compile "$LINENO"; then :
35753 glibcxx_cv_func__hypot_use=yes
35754 else
35755 glibcxx_cv_func__hypot_use=no
35756 fi
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35758 ac_ext=c
35759 ac_cpp='$CPP $CPPFLAGS'
35760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35763
35764
35765 fi
35766
35767 fi
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35770
35771 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35772 for ac_func in _hypot
35773 do :
35774 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35775 if test "x$ac_cv_func__hypot" = x""yes; then :
35776 cat >>confdefs.h <<_ACEOF
35777 #define HAVE__HYPOT 1
35778 _ACEOF
35779
35780 fi
35781 done
35782
35783 fi
35784 fi
35785
35786
35787
35788
35789
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35791 $as_echo_n "checking for float trig functions... " >&6; }
35792 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35793 $as_echo_n "(cached) " >&6
35794 else
35795
35796
35797 ac_ext=cpp
35798 ac_cpp='$CXXCPP $CPPFLAGS'
35799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35802
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35804 /* end confdefs.h. */
35805 #include <math.h>
35806 int
35807 main ()
35808 {
35809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 if ac_fn_cxx_try_compile "$LINENO"; then :
35815 glibcxx_cv_func_float_trig_use=yes
35816 else
35817 glibcxx_cv_func_float_trig_use=no
35818 fi
35819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35820 ac_ext=c
35821 ac_cpp='$CPP $CPPFLAGS'
35822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35825
35826 fi
35827
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35830 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35831 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35832 do :
35833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35835 eval as_val=\$$as_ac_var
35836 if test "x$as_val" = x""yes; then :
35837 cat >>confdefs.h <<_ACEOF
35838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35839 _ACEOF
35840
35841 fi
35842 done
35843
35844 else
35845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35846 $as_echo_n "checking for _float trig functions... " >&6; }
35847 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35848 $as_echo_n "(cached) " >&6
35849 else
35850
35851
35852 ac_ext=cpp
35853 ac_cpp='$CXXCPP $CPPFLAGS'
35854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35857
35858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35859 /* end confdefs.h. */
35860 #include <math.h>
35861 int
35862 main ()
35863 {
35864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35865 ;
35866 return 0;
35867 }
35868 _ACEOF
35869 if ac_fn_cxx_try_compile "$LINENO"; then :
35870 glibcxx_cv_func__float_trig_use=yes
35871 else
35872 glibcxx_cv_func__float_trig_use=no
35873 fi
35874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35875 ac_ext=c
35876 ac_cpp='$CPP $CPPFLAGS'
35877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35880
35881 fi
35882
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35885 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35887 do :
35888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35890 eval as_val=\$$as_ac_var
35891 if test "x$as_val" = x""yes; then :
35892 cat >>confdefs.h <<_ACEOF
35893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35894 _ACEOF
35895
35896 fi
35897 done
35898
35899 fi
35900 fi
35901
35902
35903
35904
35905
35906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35907 $as_echo_n "checking for float round functions... " >&6; }
35908 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35909 $as_echo_n "(cached) " >&6
35910 else
35911
35912
35913 ac_ext=cpp
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35918
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35920 /* end confdefs.h. */
35921 #include <math.h>
35922 int
35923 main ()
35924 {
35925 ceilf (0); floorf (0);
35926 ;
35927 return 0;
35928 }
35929 _ACEOF
35930 if ac_fn_cxx_try_compile "$LINENO"; then :
35931 glibcxx_cv_func_float_round_use=yes
35932 else
35933 glibcxx_cv_func_float_round_use=no
35934 fi
35935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35936 ac_ext=c
35937 ac_cpp='$CPP $CPPFLAGS'
35938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35941
35942 fi
35943
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35946 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35947 for ac_func in ceilf floorf
35948 do :
35949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35951 eval as_val=\$$as_ac_var
35952 if test "x$as_val" = x""yes; then :
35953 cat >>confdefs.h <<_ACEOF
35954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35955 _ACEOF
35956
35957 fi
35958 done
35959
35960 else
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35962 $as_echo_n "checking for _float round functions... " >&6; }
35963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35964 $as_echo_n "(cached) " >&6
35965 else
35966
35967
35968 ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973
35974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35975 /* end confdefs.h. */
35976 #include <math.h>
35977 int
35978 main ()
35979 {
35980 _ceilf (0); _floorf (0);
35981 ;
35982 return 0;
35983 }
35984 _ACEOF
35985 if ac_fn_cxx_try_compile "$LINENO"; then :
35986 glibcxx_cv_func__float_round_use=yes
35987 else
35988 glibcxx_cv_func__float_round_use=no
35989 fi
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991 ac_ext=c
35992 ac_cpp='$CPP $CPPFLAGS'
35993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35996
35997 fi
35998
35999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36001 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36002 for ac_func in _ceilf _floorf
36003 do :
36004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36006 eval as_val=\$$as_ac_var
36007 if test "x$as_val" = x""yes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36010 _ACEOF
36011
36012 fi
36013 done
36014
36015 fi
36016 fi
36017
36018
36019
36020
36021
36022
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36024 $as_echo_n "checking for expf declaration... " >&6; }
36025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36026 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36027 $as_echo_n "(cached) " >&6
36028 else
36029
36030
36031 ac_ext=cpp
36032 ac_cpp='$CXXCPP $CPPFLAGS'
36033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36036
36037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36038 /* end confdefs.h. */
36039 #include <math.h>
36040 #ifdef HAVE_IEEEFP_H
36041 #include <ieeefp.h>
36042 #endif
36043
36044 int
36045 main ()
36046 {
36047 expf(0);
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 if ac_fn_cxx_try_compile "$LINENO"; then :
36053 glibcxx_cv_func_expf_use=yes
36054 else
36055 glibcxx_cv_func_expf_use=no
36056 fi
36057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36058 ac_ext=c
36059 ac_cpp='$CPP $CPPFLAGS'
36060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36063
36064
36065 fi
36066
36067 fi
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36070
36071 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36072 for ac_func in expf
36073 do :
36074 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36075 if test "x$ac_cv_func_expf" = x""yes; then :
36076 cat >>confdefs.h <<_ACEOF
36077 #define HAVE_EXPF 1
36078 _ACEOF
36079
36080 fi
36081 done
36082
36083 else
36084
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36086 $as_echo_n "checking for _expf declaration... " >&6; }
36087 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36088 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36089 $as_echo_n "(cached) " >&6
36090 else
36091
36092
36093 ac_ext=cpp
36094 ac_cpp='$CXXCPP $CPPFLAGS'
36095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098
36099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36100 /* end confdefs.h. */
36101 #include <math.h>
36102 #ifdef HAVE_IEEEFP_H
36103 #include <ieeefp.h>
36104 #endif
36105
36106 int
36107 main ()
36108 {
36109 _expf(0);
36110 ;
36111 return 0;
36112 }
36113 _ACEOF
36114 if ac_fn_cxx_try_compile "$LINENO"; then :
36115 glibcxx_cv_func__expf_use=yes
36116 else
36117 glibcxx_cv_func__expf_use=no
36118 fi
36119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36120 ac_ext=c
36121 ac_cpp='$CPP $CPPFLAGS'
36122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125
36126
36127 fi
36128
36129 fi
36130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36132
36133 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36134 for ac_func in _expf
36135 do :
36136 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36137 if test "x$ac_cv_func__expf" = x""yes; then :
36138 cat >>confdefs.h <<_ACEOF
36139 #define HAVE__EXPF 1
36140 _ACEOF
36141
36142 fi
36143 done
36144
36145 fi
36146 fi
36147
36148
36149
36150
36151
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36153 $as_echo_n "checking for isnanf declaration... " >&6; }
36154 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36155 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36156 $as_echo_n "(cached) " >&6
36157 else
36158
36159
36160 ac_ext=cpp
36161 ac_cpp='$CXXCPP $CPPFLAGS'
36162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36165
36166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36167 /* end confdefs.h. */
36168 #include <math.h>
36169 #ifdef HAVE_IEEEFP_H
36170 #include <ieeefp.h>
36171 #endif
36172
36173 int
36174 main ()
36175 {
36176 isnanf(0);
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 if ac_fn_cxx_try_compile "$LINENO"; then :
36182 glibcxx_cv_func_isnanf_use=yes
36183 else
36184 glibcxx_cv_func_isnanf_use=no
36185 fi
36186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36187 ac_ext=c
36188 ac_cpp='$CPP $CPPFLAGS'
36189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36192
36193
36194 fi
36195
36196 fi
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36199
36200 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36201 for ac_func in isnanf
36202 do :
36203 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36204 if test "x$ac_cv_func_isnanf" = x""yes; then :
36205 cat >>confdefs.h <<_ACEOF
36206 #define HAVE_ISNANF 1
36207 _ACEOF
36208
36209 fi
36210 done
36211
36212 else
36213
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36215 $as_echo_n "checking for _isnanf declaration... " >&6; }
36216 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36217 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36218 $as_echo_n "(cached) " >&6
36219 else
36220
36221
36222 ac_ext=cpp
36223 ac_cpp='$CXXCPP $CPPFLAGS'
36224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36227
36228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36229 /* end confdefs.h. */
36230 #include <math.h>
36231 #ifdef HAVE_IEEEFP_H
36232 #include <ieeefp.h>
36233 #endif
36234
36235 int
36236 main ()
36237 {
36238 _isnanf(0);
36239 ;
36240 return 0;
36241 }
36242 _ACEOF
36243 if ac_fn_cxx_try_compile "$LINENO"; then :
36244 glibcxx_cv_func__isnanf_use=yes
36245 else
36246 glibcxx_cv_func__isnanf_use=no
36247 fi
36248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36249 ac_ext=c
36250 ac_cpp='$CPP $CPPFLAGS'
36251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36254
36255
36256 fi
36257
36258 fi
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36261
36262 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36263 for ac_func in _isnanf
36264 do :
36265 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36266 if test "x$ac_cv_func__isnanf" = x""yes; then :
36267 cat >>confdefs.h <<_ACEOF
36268 #define HAVE__ISNANF 1
36269 _ACEOF
36270
36271 fi
36272 done
36273
36274 fi
36275 fi
36276
36277
36278
36279
36280
36281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36282 $as_echo_n "checking for isinff declaration... " >&6; }
36283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36285 $as_echo_n "(cached) " >&6
36286 else
36287
36288
36289 ac_ext=cpp
36290 ac_cpp='$CXXCPP $CPPFLAGS'
36291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36294
36295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36296 /* end confdefs.h. */
36297 #include <math.h>
36298 #ifdef HAVE_IEEEFP_H
36299 #include <ieeefp.h>
36300 #endif
36301
36302 int
36303 main ()
36304 {
36305 isinff(0);
36306 ;
36307 return 0;
36308 }
36309 _ACEOF
36310 if ac_fn_cxx_try_compile "$LINENO"; then :
36311 glibcxx_cv_func_isinff_use=yes
36312 else
36313 glibcxx_cv_func_isinff_use=no
36314 fi
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36316 ac_ext=c
36317 ac_cpp='$CPP $CPPFLAGS'
36318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36321
36322
36323 fi
36324
36325 fi
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36328
36329 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36330 for ac_func in isinff
36331 do :
36332 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36333 if test "x$ac_cv_func_isinff" = x""yes; then :
36334 cat >>confdefs.h <<_ACEOF
36335 #define HAVE_ISINFF 1
36336 _ACEOF
36337
36338 fi
36339 done
36340
36341 else
36342
36343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36344 $as_echo_n "checking for _isinff declaration... " >&6; }
36345 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36346 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36347 $as_echo_n "(cached) " >&6
36348 else
36349
36350
36351 ac_ext=cpp
36352 ac_cpp='$CXXCPP $CPPFLAGS'
36353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36356
36357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36358 /* end confdefs.h. */
36359 #include <math.h>
36360 #ifdef HAVE_IEEEFP_H
36361 #include <ieeefp.h>
36362 #endif
36363
36364 int
36365 main ()
36366 {
36367 _isinff(0);
36368 ;
36369 return 0;
36370 }
36371 _ACEOF
36372 if ac_fn_cxx_try_compile "$LINENO"; then :
36373 glibcxx_cv_func__isinff_use=yes
36374 else
36375 glibcxx_cv_func__isinff_use=no
36376 fi
36377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36378 ac_ext=c
36379 ac_cpp='$CPP $CPPFLAGS'
36380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36383
36384
36385 fi
36386
36387 fi
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36390
36391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36392 for ac_func in _isinff
36393 do :
36394 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36395 if test "x$ac_cv_func__isinff" = x""yes; then :
36396 cat >>confdefs.h <<_ACEOF
36397 #define HAVE__ISINFF 1
36398 _ACEOF
36399
36400 fi
36401 done
36402
36403 fi
36404 fi
36405
36406
36407
36408
36409
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36411 $as_echo_n "checking for atan2f declaration... " >&6; }
36412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36414 $as_echo_n "(cached) " >&6
36415 else
36416
36417
36418 ac_ext=cpp
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36423
36424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36425 /* end confdefs.h. */
36426 #include <math.h>
36427 int
36428 main ()
36429 {
36430 atan2f(0, 0);
36431 ;
36432 return 0;
36433 }
36434 _ACEOF
36435 if ac_fn_cxx_try_compile "$LINENO"; then :
36436 glibcxx_cv_func_atan2f_use=yes
36437 else
36438 glibcxx_cv_func_atan2f_use=no
36439 fi
36440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36441 ac_ext=c
36442 ac_cpp='$CPP $CPPFLAGS'
36443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446
36447
36448 fi
36449
36450 fi
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36453
36454 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36455 for ac_func in atan2f
36456 do :
36457 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36458 if test "x$ac_cv_func_atan2f" = x""yes; then :
36459 cat >>confdefs.h <<_ACEOF
36460 #define HAVE_ATAN2F 1
36461 _ACEOF
36462
36463 fi
36464 done
36465
36466 else
36467
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36469 $as_echo_n "checking for _atan2f declaration... " >&6; }
36470 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36471 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36474
36475
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36481
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36485 int
36486 main ()
36487 {
36488 _atan2f(0, 0);
36489 ;
36490 return 0;
36491 }
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__atan2f_use=yes
36495 else
36496 glibcxx_cv_func__atan2f_use=no
36497 fi
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36504
36505
36506 fi
36507
36508 fi
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36511
36512 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36513 for ac_func in _atan2f
36514 do :
36515 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36516 if test "x$ac_cv_func__atan2f" = x""yes; then :
36517 cat >>confdefs.h <<_ACEOF
36518 #define HAVE__ATAN2F 1
36519 _ACEOF
36520
36521 fi
36522 done
36523
36524 fi
36525 fi
36526
36527
36528
36529
36530
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36532 $as_echo_n "checking for fabsf declaration... " >&6; }
36533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36535 $as_echo_n "(cached) " >&6
36536 else
36537
36538
36539 ac_ext=cpp
36540 ac_cpp='$CXXCPP $CPPFLAGS'
36541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36544
36545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36546 /* end confdefs.h. */
36547 #include <math.h>
36548 #ifdef HAVE_IEEEFP_H
36549 #include <ieeefp.h>
36550 #endif
36551
36552 int
36553 main ()
36554 {
36555 fabsf(0);
36556 ;
36557 return 0;
36558 }
36559 _ACEOF
36560 if ac_fn_cxx_try_compile "$LINENO"; then :
36561 glibcxx_cv_func_fabsf_use=yes
36562 else
36563 glibcxx_cv_func_fabsf_use=no
36564 fi
36565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 ac_ext=c
36567 ac_cpp='$CPP $CPPFLAGS'
36568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571
36572
36573 fi
36574
36575 fi
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36578
36579 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36580 for ac_func in fabsf
36581 do :
36582 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36583 if test "x$ac_cv_func_fabsf" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define HAVE_FABSF 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591 else
36592
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36594 $as_echo_n "checking for _fabsf declaration... " >&6; }
36595 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36596 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36597 $as_echo_n "(cached) " >&6
36598 else
36599
36600
36601 ac_ext=cpp
36602 ac_cpp='$CXXCPP $CPPFLAGS'
36603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36606
36607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36608 /* end confdefs.h. */
36609 #include <math.h>
36610 #ifdef HAVE_IEEEFP_H
36611 #include <ieeefp.h>
36612 #endif
36613
36614 int
36615 main ()
36616 {
36617 _fabsf(0);
36618 ;
36619 return 0;
36620 }
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func__fabsf_use=yes
36624 else
36625 glibcxx_cv_func__fabsf_use=no
36626 fi
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36633
36634
36635 fi
36636
36637 fi
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36640
36641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36642 for ac_func in _fabsf
36643 do :
36644 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36645 if test "x$ac_cv_func__fabsf" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE__FABSF 1
36648 _ACEOF
36649
36650 fi
36651 done
36652
36653 fi
36654 fi
36655
36656
36657
36658
36659
36660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36661 $as_echo_n "checking for fmodf declaration... " >&6; }
36662 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36663 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36664 $as_echo_n "(cached) " >&6
36665 else
36666
36667
36668 ac_ext=cpp
36669 ac_cpp='$CXXCPP $CPPFLAGS'
36670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36673
36674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36675 /* end confdefs.h. */
36676 #include <math.h>
36677 int
36678 main ()
36679 {
36680 fmodf(0, 0);
36681 ;
36682 return 0;
36683 }
36684 _ACEOF
36685 if ac_fn_cxx_try_compile "$LINENO"; then :
36686 glibcxx_cv_func_fmodf_use=yes
36687 else
36688 glibcxx_cv_func_fmodf_use=no
36689 fi
36690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36691 ac_ext=c
36692 ac_cpp='$CPP $CPPFLAGS'
36693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36696
36697
36698 fi
36699
36700 fi
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36703
36704 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36705 for ac_func in fmodf
36706 do :
36707 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36708 if test "x$ac_cv_func_fmodf" = x""yes; then :
36709 cat >>confdefs.h <<_ACEOF
36710 #define HAVE_FMODF 1
36711 _ACEOF
36712
36713 fi
36714 done
36715
36716 else
36717
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36719 $as_echo_n "checking for _fmodf declaration... " >&6; }
36720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36722 $as_echo_n "(cached) " >&6
36723 else
36724
36725
36726 ac_ext=cpp
36727 ac_cpp='$CXXCPP $CPPFLAGS'
36728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36731
36732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 /* end confdefs.h. */
36734 #include <math.h>
36735 int
36736 main ()
36737 {
36738 _fmodf(0, 0);
36739 ;
36740 return 0;
36741 }
36742 _ACEOF
36743 if ac_fn_cxx_try_compile "$LINENO"; then :
36744 glibcxx_cv_func__fmodf_use=yes
36745 else
36746 glibcxx_cv_func__fmodf_use=no
36747 fi
36748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749 ac_ext=c
36750 ac_cpp='$CPP $CPPFLAGS'
36751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36754
36755
36756 fi
36757
36758 fi
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36761
36762 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36763 for ac_func in _fmodf
36764 do :
36765 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36766 if test "x$ac_cv_func__fmodf" = x""yes; then :
36767 cat >>confdefs.h <<_ACEOF
36768 #define HAVE__FMODF 1
36769 _ACEOF
36770
36771 fi
36772 done
36773
36774 fi
36775 fi
36776
36777
36778
36779
36780
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36782 $as_echo_n "checking for frexpf declaration... " >&6; }
36783 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36784 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36785 $as_echo_n "(cached) " >&6
36786 else
36787
36788
36789 ac_ext=cpp
36790 ac_cpp='$CXXCPP $CPPFLAGS'
36791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36794
36795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36796 /* end confdefs.h. */
36797 #include <math.h>
36798 int
36799 main ()
36800 {
36801 frexpf(0, 0);
36802 ;
36803 return 0;
36804 }
36805 _ACEOF
36806 if ac_fn_cxx_try_compile "$LINENO"; then :
36807 glibcxx_cv_func_frexpf_use=yes
36808 else
36809 glibcxx_cv_func_frexpf_use=no
36810 fi
36811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36812 ac_ext=c
36813 ac_cpp='$CPP $CPPFLAGS'
36814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36817
36818
36819 fi
36820
36821 fi
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36824
36825 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36826 for ac_func in frexpf
36827 do :
36828 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36829 if test "x$ac_cv_func_frexpf" = x""yes; then :
36830 cat >>confdefs.h <<_ACEOF
36831 #define HAVE_FREXPF 1
36832 _ACEOF
36833
36834 fi
36835 done
36836
36837 else
36838
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36840 $as_echo_n "checking for _frexpf declaration... " >&6; }
36841 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36842 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36843 $as_echo_n "(cached) " >&6
36844 else
36845
36846
36847 ac_ext=cpp
36848 ac_cpp='$CXXCPP $CPPFLAGS'
36849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36852
36853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36854 /* end confdefs.h. */
36855 #include <math.h>
36856 int
36857 main ()
36858 {
36859 _frexpf(0, 0);
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 if ac_fn_cxx_try_compile "$LINENO"; then :
36865 glibcxx_cv_func__frexpf_use=yes
36866 else
36867 glibcxx_cv_func__frexpf_use=no
36868 fi
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36875
36876
36877 fi
36878
36879 fi
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36882
36883 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36884 for ac_func in _frexpf
36885 do :
36886 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36887 if test "x$ac_cv_func__frexpf" = x""yes; then :
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE__FREXPF 1
36890 _ACEOF
36891
36892 fi
36893 done
36894
36895 fi
36896 fi
36897
36898
36899
36900
36901
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36903 $as_echo_n "checking for hypotf declaration... " >&6; }
36904 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36905 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36906 $as_echo_n "(cached) " >&6
36907 else
36908
36909
36910 ac_ext=cpp
36911 ac_cpp='$CXXCPP $CPPFLAGS'
36912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36915
36916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36917 /* end confdefs.h. */
36918 #include <math.h>
36919 int
36920 main ()
36921 {
36922 hypotf(0, 0);
36923 ;
36924 return 0;
36925 }
36926 _ACEOF
36927 if ac_fn_cxx_try_compile "$LINENO"; then :
36928 glibcxx_cv_func_hypotf_use=yes
36929 else
36930 glibcxx_cv_func_hypotf_use=no
36931 fi
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 ac_ext=c
36934 ac_cpp='$CPP $CPPFLAGS'
36935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36938
36939
36940 fi
36941
36942 fi
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36945
36946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36947 for ac_func in hypotf
36948 do :
36949 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36950 if test "x$ac_cv_func_hypotf" = x""yes; then :
36951 cat >>confdefs.h <<_ACEOF
36952 #define HAVE_HYPOTF 1
36953 _ACEOF
36954
36955 fi
36956 done
36957
36958 else
36959
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36961 $as_echo_n "checking for _hypotf declaration... " >&6; }
36962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36964 $as_echo_n "(cached) " >&6
36965 else
36966
36967
36968 ac_ext=cpp
36969 ac_cpp='$CXXCPP $CPPFLAGS'
36970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973
36974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36975 /* end confdefs.h. */
36976 #include <math.h>
36977 int
36978 main ()
36979 {
36980 _hypotf(0, 0);
36981 ;
36982 return 0;
36983 }
36984 _ACEOF
36985 if ac_fn_cxx_try_compile "$LINENO"; then :
36986 glibcxx_cv_func__hypotf_use=yes
36987 else
36988 glibcxx_cv_func__hypotf_use=no
36989 fi
36990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36991 ac_ext=c
36992 ac_cpp='$CPP $CPPFLAGS'
36993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36996
36997
36998 fi
36999
37000 fi
37001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37003
37004 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37005 for ac_func in _hypotf
37006 do :
37007 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37008 if test "x$ac_cv_func__hypotf" = x""yes; then :
37009 cat >>confdefs.h <<_ACEOF
37010 #define HAVE__HYPOTF 1
37011 _ACEOF
37012
37013 fi
37014 done
37015
37016 fi
37017 fi
37018
37019
37020
37021
37022
37023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37024 $as_echo_n "checking for ldexpf declaration... " >&6; }
37025 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37026 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37027 $as_echo_n "(cached) " >&6
37028 else
37029
37030
37031 ac_ext=cpp
37032 ac_cpp='$CXXCPP $CPPFLAGS'
37033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036
37037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37038 /* end confdefs.h. */
37039 #include <math.h>
37040 int
37041 main ()
37042 {
37043 ldexpf(0, 0);
37044 ;
37045 return 0;
37046 }
37047 _ACEOF
37048 if ac_fn_cxx_try_compile "$LINENO"; then :
37049 glibcxx_cv_func_ldexpf_use=yes
37050 else
37051 glibcxx_cv_func_ldexpf_use=no
37052 fi
37053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37054 ac_ext=c
37055 ac_cpp='$CPP $CPPFLAGS'
37056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37059
37060
37061 fi
37062
37063 fi
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37066
37067 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37068 for ac_func in ldexpf
37069 do :
37070 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37072 cat >>confdefs.h <<_ACEOF
37073 #define HAVE_LDEXPF 1
37074 _ACEOF
37075
37076 fi
37077 done
37078
37079 else
37080
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37083 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37084 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37085 $as_echo_n "(cached) " >&6
37086 else
37087
37088
37089 ac_ext=cpp
37090 ac_cpp='$CXXCPP $CPPFLAGS'
37091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37094
37095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37096 /* end confdefs.h. */
37097 #include <math.h>
37098 int
37099 main ()
37100 {
37101 _ldexpf(0, 0);
37102 ;
37103 return 0;
37104 }
37105 _ACEOF
37106 if ac_fn_cxx_try_compile "$LINENO"; then :
37107 glibcxx_cv_func__ldexpf_use=yes
37108 else
37109 glibcxx_cv_func__ldexpf_use=no
37110 fi
37111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37112 ac_ext=c
37113 ac_cpp='$CPP $CPPFLAGS'
37114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37117
37118
37119 fi
37120
37121 fi
37122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37124
37125 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37126 for ac_func in _ldexpf
37127 do :
37128 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37130 cat >>confdefs.h <<_ACEOF
37131 #define HAVE__LDEXPF 1
37132 _ACEOF
37133
37134 fi
37135 done
37136
37137 fi
37138 fi
37139
37140
37141
37142
37143
37144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37145 $as_echo_n "checking for logf declaration... " >&6; }
37146 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37147 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37148 $as_echo_n "(cached) " >&6
37149 else
37150
37151
37152 ac_ext=cpp
37153 ac_cpp='$CXXCPP $CPPFLAGS'
37154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37157
37158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37159 /* end confdefs.h. */
37160 #include <math.h>
37161 #ifdef HAVE_IEEEFP_H
37162 #include <ieeefp.h>
37163 #endif
37164
37165 int
37166 main ()
37167 {
37168 logf(0);
37169 ;
37170 return 0;
37171 }
37172 _ACEOF
37173 if ac_fn_cxx_try_compile "$LINENO"; then :
37174 glibcxx_cv_func_logf_use=yes
37175 else
37176 glibcxx_cv_func_logf_use=no
37177 fi
37178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37179 ac_ext=c
37180 ac_cpp='$CPP $CPPFLAGS'
37181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37184
37185
37186 fi
37187
37188 fi
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37191
37192 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37193 for ac_func in logf
37194 do :
37195 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37196 if test "x$ac_cv_func_logf" = x""yes; then :
37197 cat >>confdefs.h <<_ACEOF
37198 #define HAVE_LOGF 1
37199 _ACEOF
37200
37201 fi
37202 done
37203
37204 else
37205
37206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37207 $as_echo_n "checking for _logf declaration... " >&6; }
37208 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37209 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37210 $as_echo_n "(cached) " >&6
37211 else
37212
37213
37214 ac_ext=cpp
37215 ac_cpp='$CXXCPP $CPPFLAGS'
37216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37219
37220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37221 /* end confdefs.h. */
37222 #include <math.h>
37223 #ifdef HAVE_IEEEFP_H
37224 #include <ieeefp.h>
37225 #endif
37226
37227 int
37228 main ()
37229 {
37230 _logf(0);
37231 ;
37232 return 0;
37233 }
37234 _ACEOF
37235 if ac_fn_cxx_try_compile "$LINENO"; then :
37236 glibcxx_cv_func__logf_use=yes
37237 else
37238 glibcxx_cv_func__logf_use=no
37239 fi
37240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37241 ac_ext=c
37242 ac_cpp='$CPP $CPPFLAGS'
37243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37246
37247
37248 fi
37249
37250 fi
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37253
37254 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37255 for ac_func in _logf
37256 do :
37257 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37258 if test "x$ac_cv_func__logf" = x""yes; then :
37259 cat >>confdefs.h <<_ACEOF
37260 #define HAVE__LOGF 1
37261 _ACEOF
37262
37263 fi
37264 done
37265
37266 fi
37267 fi
37268
37269
37270
37271
37272
37273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37274 $as_echo_n "checking for log10f declaration... " >&6; }
37275 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37276 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37277 $as_echo_n "(cached) " >&6
37278 else
37279
37280
37281 ac_ext=cpp
37282 ac_cpp='$CXXCPP $CPPFLAGS'
37283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37286
37287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37288 /* end confdefs.h. */
37289 #include <math.h>
37290 #ifdef HAVE_IEEEFP_H
37291 #include <ieeefp.h>
37292 #endif
37293
37294 int
37295 main ()
37296 {
37297 log10f(0);
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 if ac_fn_cxx_try_compile "$LINENO"; then :
37303 glibcxx_cv_func_log10f_use=yes
37304 else
37305 glibcxx_cv_func_log10f_use=no
37306 fi
37307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37308 ac_ext=c
37309 ac_cpp='$CPP $CPPFLAGS'
37310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37313
37314
37315 fi
37316
37317 fi
37318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37320
37321 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37322 for ac_func in log10f
37323 do :
37324 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37325 if test "x$ac_cv_func_log10f" = x""yes; then :
37326 cat >>confdefs.h <<_ACEOF
37327 #define HAVE_LOG10F 1
37328 _ACEOF
37329
37330 fi
37331 done
37332
37333 else
37334
37335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37336 $as_echo_n "checking for _log10f declaration... " >&6; }
37337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37339 $as_echo_n "(cached) " >&6
37340 else
37341
37342
37343 ac_ext=cpp
37344 ac_cpp='$CXXCPP $CPPFLAGS'
37345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37348
37349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37350 /* end confdefs.h. */
37351 #include <math.h>
37352 #ifdef HAVE_IEEEFP_H
37353 #include <ieeefp.h>
37354 #endif
37355
37356 int
37357 main ()
37358 {
37359 _log10f(0);
37360 ;
37361 return 0;
37362 }
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func__log10f_use=yes
37366 else
37367 glibcxx_cv_func__log10f_use=no
37368 fi
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37375
37376
37377 fi
37378
37379 fi
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37382
37383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37384 for ac_func in _log10f
37385 do :
37386 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37387 if test "x$ac_cv_func__log10f" = x""yes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE__LOG10F 1
37390 _ACEOF
37391
37392 fi
37393 done
37394
37395 fi
37396 fi
37397
37398
37399
37400
37401
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37403 $as_echo_n "checking for modff declaration... " >&6; }
37404 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37405 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37406 $as_echo_n "(cached) " >&6
37407 else
37408
37409
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415
37416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37417 /* end confdefs.h. */
37418 #include <math.h>
37419 int
37420 main ()
37421 {
37422 modff(0, 0);
37423 ;
37424 return 0;
37425 }
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_modff_use=yes
37429 else
37430 glibcxx_cv_func_modff_use=no
37431 fi
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37438
37439
37440 fi
37441
37442 fi
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37445
37446 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37447 for ac_func in modff
37448 do :
37449 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37450 if test "x$ac_cv_func_modff" = x""yes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_MODFF 1
37453 _ACEOF
37454
37455 fi
37456 done
37457
37458 else
37459
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37461 $as_echo_n "checking for _modff declaration... " >&6; }
37462 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37463 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37466
37467
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 int
37478 main ()
37479 {
37480 _modff(0, 0);
37481 ;
37482 return 0;
37483 }
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func__modff_use=yes
37487 else
37488 glibcxx_cv_func__modff_use=no
37489 fi
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37496
37497
37498 fi
37499
37500 fi
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37503
37504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37505 for ac_func in _modff
37506 do :
37507 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37508 if test "x$ac_cv_func__modff" = x""yes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE__MODFF 1
37511 _ACEOF
37512
37513 fi
37514 done
37515
37516 fi
37517 fi
37518
37519
37520
37521
37522
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37524 $as_echo_n "checking for modf declaration... " >&6; }
37525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37526 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37529
37530
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37540 int
37541 main ()
37542 {
37543 modf(0, 0);
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func_modf_use=yes
37550 else
37551 glibcxx_cv_func_modf_use=no
37552 fi
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559
37560
37561 fi
37562
37563 fi
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37566
37567 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37568 for ac_func in modf
37569 do :
37570 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37571 if test "x$ac_cv_func_modf" = x""yes; then :
37572 cat >>confdefs.h <<_ACEOF
37573 #define HAVE_MODF 1
37574 _ACEOF
37575
37576 fi
37577 done
37578
37579 else
37580
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37582 $as_echo_n "checking for _modf declaration... " >&6; }
37583 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37584 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37587
37588
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37598 int
37599 main ()
37600 {
37601 _modf(0, 0);
37602 ;
37603 return 0;
37604 }
37605 _ACEOF
37606 if ac_fn_cxx_try_compile "$LINENO"; then :
37607 glibcxx_cv_func__modf_use=yes
37608 else
37609 glibcxx_cv_func__modf_use=no
37610 fi
37611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 ac_ext=c
37613 ac_cpp='$CPP $CPPFLAGS'
37614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617
37618
37619 fi
37620
37621 fi
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37624
37625 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37626 for ac_func in _modf
37627 do :
37628 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37629 if test "x$ac_cv_func__modf" = x""yes; then :
37630 cat >>confdefs.h <<_ACEOF
37631 #define HAVE__MODF 1
37632 _ACEOF
37633
37634 fi
37635 done
37636
37637 fi
37638 fi
37639
37640
37641
37642
37643
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37645 $as_echo_n "checking for powf declaration... " >&6; }
37646 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37647 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37648 $as_echo_n "(cached) " >&6
37649 else
37650
37651
37652 ac_ext=cpp
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37657
37658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37659 /* end confdefs.h. */
37660 #include <math.h>
37661 int
37662 main ()
37663 {
37664 powf(0, 0);
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func_powf_use=yes
37671 else
37672 glibcxx_cv_func_powf_use=no
37673 fi
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680
37681
37682 fi
37683
37684 fi
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37687
37688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37689 for ac_func in powf
37690 do :
37691 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37692 if test "x$ac_cv_func_powf" = x""yes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE_POWF 1
37695 _ACEOF
37696
37697 fi
37698 done
37699
37700 else
37701
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37703 $as_echo_n "checking for _powf declaration... " >&6; }
37704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37705 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37706 $as_echo_n "(cached) " >&6
37707 else
37708
37709
37710 ac_ext=cpp
37711 ac_cpp='$CXXCPP $CPPFLAGS'
37712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715
37716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717 /* end confdefs.h. */
37718 #include <math.h>
37719 int
37720 main ()
37721 {
37722 _powf(0, 0);
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 if ac_fn_cxx_try_compile "$LINENO"; then :
37728 glibcxx_cv_func__powf_use=yes
37729 else
37730 glibcxx_cv_func__powf_use=no
37731 fi
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_ext=c
37734 ac_cpp='$CPP $CPPFLAGS'
37735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37738
37739
37740 fi
37741
37742 fi
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37745
37746 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37747 for ac_func in _powf
37748 do :
37749 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37750 if test "x$ac_cv_func__powf" = x""yes; then :
37751 cat >>confdefs.h <<_ACEOF
37752 #define HAVE__POWF 1
37753 _ACEOF
37754
37755 fi
37756 done
37757
37758 fi
37759 fi
37760
37761
37762
37763
37764
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37766 $as_echo_n "checking for sqrtf declaration... " >&6; }
37767 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37768 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37771
37772
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37778
37779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37780 /* end confdefs.h. */
37781 #include <math.h>
37782 #ifdef HAVE_IEEEFP_H
37783 #include <ieeefp.h>
37784 #endif
37785
37786 int
37787 main ()
37788 {
37789 sqrtf(0);
37790 ;
37791 return 0;
37792 }
37793 _ACEOF
37794 if ac_fn_cxx_try_compile "$LINENO"; then :
37795 glibcxx_cv_func_sqrtf_use=yes
37796 else
37797 glibcxx_cv_func_sqrtf_use=no
37798 fi
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 ac_ext=c
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37805
37806
37807 fi
37808
37809 fi
37810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37812
37813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37814 for ac_func in sqrtf
37815 do :
37816 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37818 cat >>confdefs.h <<_ACEOF
37819 #define HAVE_SQRTF 1
37820 _ACEOF
37821
37822 fi
37823 done
37824
37825 else
37826
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37829 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37830 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37831 $as_echo_n "(cached) " >&6
37832 else
37833
37834
37835 ac_ext=cpp
37836 ac_cpp='$CXXCPP $CPPFLAGS'
37837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37840
37841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37842 /* end confdefs.h. */
37843 #include <math.h>
37844 #ifdef HAVE_IEEEFP_H
37845 #include <ieeefp.h>
37846 #endif
37847
37848 int
37849 main ()
37850 {
37851 _sqrtf(0);
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 if ac_fn_cxx_try_compile "$LINENO"; then :
37857 glibcxx_cv_func__sqrtf_use=yes
37858 else
37859 glibcxx_cv_func__sqrtf_use=no
37860 fi
37861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37862 ac_ext=c
37863 ac_cpp='$CPP $CPPFLAGS'
37864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37867
37868
37869 fi
37870
37871 fi
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37874
37875 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37876 for ac_func in _sqrtf
37877 do :
37878 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37880 cat >>confdefs.h <<_ACEOF
37881 #define HAVE__SQRTF 1
37882 _ACEOF
37883
37884 fi
37885 done
37886
37887 fi
37888 fi
37889
37890
37891
37892
37893
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37895 $as_echo_n "checking for sincosf declaration... " >&6; }
37896 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37897 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37898 $as_echo_n "(cached) " >&6
37899 else
37900
37901
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37907
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37909 /* end confdefs.h. */
37910 #include <math.h>
37911 int
37912 main ()
37913 {
37914 sincosf(0, 0, 0);
37915 ;
37916 return 0;
37917 }
37918 _ACEOF
37919 if ac_fn_cxx_try_compile "$LINENO"; then :
37920 glibcxx_cv_func_sincosf_use=yes
37921 else
37922 glibcxx_cv_func_sincosf_use=no
37923 fi
37924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37925 ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930
37931
37932 fi
37933
37934 fi
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37937
37938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37939 for ac_func in sincosf
37940 do :
37941 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37942 if test "x$ac_cv_func_sincosf" = x""yes; then :
37943 cat >>confdefs.h <<_ACEOF
37944 #define HAVE_SINCOSF 1
37945 _ACEOF
37946
37947 fi
37948 done
37949
37950 else
37951
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37953 $as_echo_n "checking for _sincosf declaration... " >&6; }
37954 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37955 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37956 $as_echo_n "(cached) " >&6
37957 else
37958
37959
37960 ac_ext=cpp
37961 ac_cpp='$CXXCPP $CPPFLAGS'
37962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37965
37966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37967 /* end confdefs.h. */
37968 #include <math.h>
37969 int
37970 main ()
37971 {
37972 _sincosf(0, 0, 0);
37973 ;
37974 return 0;
37975 }
37976 _ACEOF
37977 if ac_fn_cxx_try_compile "$LINENO"; then :
37978 glibcxx_cv_func__sincosf_use=yes
37979 else
37980 glibcxx_cv_func__sincosf_use=no
37981 fi
37982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37983 ac_ext=c
37984 ac_cpp='$CPP $CPPFLAGS'
37985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37988
37989
37990 fi
37991
37992 fi
37993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37995
37996 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37997 for ac_func in _sincosf
37998 do :
37999 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38000 if test "x$ac_cv_func__sincosf" = x""yes; then :
38001 cat >>confdefs.h <<_ACEOF
38002 #define HAVE__SINCOSF 1
38003 _ACEOF
38004
38005 fi
38006 done
38007
38008 fi
38009 fi
38010
38011
38012
38013
38014
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38016 $as_echo_n "checking for finitef declaration... " >&6; }
38017 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38018 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38019 $as_echo_n "(cached) " >&6
38020 else
38021
38022
38023 ac_ext=cpp
38024 ac_cpp='$CXXCPP $CPPFLAGS'
38025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38028
38029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38030 /* end confdefs.h. */
38031 #include <math.h>
38032 #ifdef HAVE_IEEEFP_H
38033 #include <ieeefp.h>
38034 #endif
38035
38036 int
38037 main ()
38038 {
38039 finitef(0);
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 if ac_fn_cxx_try_compile "$LINENO"; then :
38045 glibcxx_cv_func_finitef_use=yes
38046 else
38047 glibcxx_cv_func_finitef_use=no
38048 fi
38049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38050 ac_ext=c
38051 ac_cpp='$CPP $CPPFLAGS'
38052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38055
38056
38057 fi
38058
38059 fi
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38062
38063 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38064 for ac_func in finitef
38065 do :
38066 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38067 if test "x$ac_cv_func_finitef" = x""yes; then :
38068 cat >>confdefs.h <<_ACEOF
38069 #define HAVE_FINITEF 1
38070 _ACEOF
38071
38072 fi
38073 done
38074
38075 else
38076
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38078 $as_echo_n "checking for _finitef declaration... " >&6; }
38079 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38080 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38081 $as_echo_n "(cached) " >&6
38082 else
38083
38084
38085 ac_ext=cpp
38086 ac_cpp='$CXXCPP $CPPFLAGS'
38087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38090
38091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38092 /* end confdefs.h. */
38093 #include <math.h>
38094 #ifdef HAVE_IEEEFP_H
38095 #include <ieeefp.h>
38096 #endif
38097
38098 int
38099 main ()
38100 {
38101 _finitef(0);
38102 ;
38103 return 0;
38104 }
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func__finitef_use=yes
38108 else
38109 glibcxx_cv_func__finitef_use=no
38110 fi
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38117
38118
38119 fi
38120
38121 fi
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38124
38125 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38126 for ac_func in _finitef
38127 do :
38128 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38129 if test "x$ac_cv_func__finitef" = x""yes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE__FINITEF 1
38132 _ACEOF
38133
38134 fi
38135 done
38136
38137 fi
38138 fi
38139
38140
38141
38142
38143
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38145 $as_echo_n "checking for long double trig functions... " >&6; }
38146 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38147 $as_echo_n "(cached) " >&6
38148 else
38149
38150
38151 ac_ext=cpp
38152 ac_cpp='$CXXCPP $CPPFLAGS'
38153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156
38157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38158 /* end confdefs.h. */
38159 #include <math.h>
38160 int
38161 main ()
38162 {
38163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38164 ;
38165 return 0;
38166 }
38167 _ACEOF
38168 if ac_fn_cxx_try_compile "$LINENO"; then :
38169 glibcxx_cv_func_long_double_trig_use=yes
38170 else
38171 glibcxx_cv_func_long_double_trig_use=no
38172 fi
38173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38174 ac_ext=c
38175 ac_cpp='$CPP $CPPFLAGS'
38176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38179
38180 fi
38181
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38184 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38185 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38186 do :
38187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38189 eval as_val=\$$as_ac_var
38190 if test "x$as_val" = x""yes; then :
38191 cat >>confdefs.h <<_ACEOF
38192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38193 _ACEOF
38194
38195 fi
38196 done
38197
38198 else
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38200 $as_echo_n "checking for _long double trig functions... " >&6; }
38201 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38202 $as_echo_n "(cached) " >&6
38203 else
38204
38205
38206 ac_ext=cpp
38207 ac_cpp='$CXXCPP $CPPFLAGS'
38208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38211
38212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213 /* end confdefs.h. */
38214 #include <math.h>
38215 int
38216 main ()
38217 {
38218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38219 ;
38220 return 0;
38221 }
38222 _ACEOF
38223 if ac_fn_cxx_try_compile "$LINENO"; then :
38224 glibcxx_cv_func__long_double_trig_use=yes
38225 else
38226 glibcxx_cv_func__long_double_trig_use=no
38227 fi
38228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 ac_ext=c
38230 ac_cpp='$CPP $CPPFLAGS'
38231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38234
38235 fi
38236
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38239 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38240 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38241 do :
38242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38244 eval as_val=\$$as_ac_var
38245 if test "x$as_val" = x""yes; then :
38246 cat >>confdefs.h <<_ACEOF
38247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38248 _ACEOF
38249
38250 fi
38251 done
38252
38253 fi
38254 fi
38255
38256
38257
38258
38259
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38261 $as_echo_n "checking for long double round functions... " >&6; }
38262 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38263 $as_echo_n "(cached) " >&6
38264 else
38265
38266
38267 ac_ext=cpp
38268 ac_cpp='$CXXCPP $CPPFLAGS'
38269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38272
38273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38274 /* end confdefs.h. */
38275 #include <math.h>
38276 int
38277 main ()
38278 {
38279 ceill (0); floorl (0);
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 if ac_fn_cxx_try_compile "$LINENO"; then :
38285 glibcxx_cv_func_long_double_round_use=yes
38286 else
38287 glibcxx_cv_func_long_double_round_use=no
38288 fi
38289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290 ac_ext=c
38291 ac_cpp='$CPP $CPPFLAGS'
38292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38295
38296 fi
38297
38298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38301 for ac_func in ceill floorl
38302 do :
38303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38305 eval as_val=\$$as_ac_var
38306 if test "x$as_val" = x""yes; then :
38307 cat >>confdefs.h <<_ACEOF
38308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38309 _ACEOF
38310
38311 fi
38312 done
38313
38314 else
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38316 $as_echo_n "checking for _long double round functions... " >&6; }
38317 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38318 $as_echo_n "(cached) " >&6
38319 else
38320
38321
38322 ac_ext=cpp
38323 ac_cpp='$CXXCPP $CPPFLAGS'
38324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327
38328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38329 /* end confdefs.h. */
38330 #include <math.h>
38331 int
38332 main ()
38333 {
38334 _ceill (0); _floorl (0);
38335 ;
38336 return 0;
38337 }
38338 _ACEOF
38339 if ac_fn_cxx_try_compile "$LINENO"; then :
38340 glibcxx_cv_func__long_double_round_use=yes
38341 else
38342 glibcxx_cv_func__long_double_round_use=no
38343 fi
38344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38345 ac_ext=c
38346 ac_cpp='$CPP $CPPFLAGS'
38347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38350
38351 fi
38352
38353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38355 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38356 for ac_func in _ceill _floorl
38357 do :
38358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38360 eval as_val=\$$as_ac_var
38361 if test "x$as_val" = x""yes; then :
38362 cat >>confdefs.h <<_ACEOF
38363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38364 _ACEOF
38365
38366 fi
38367 done
38368
38369 fi
38370 fi
38371
38372
38373
38374
38375
38376
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38378 $as_echo_n "checking for isnanl declaration... " >&6; }
38379 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38380 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38381 $as_echo_n "(cached) " >&6
38382 else
38383
38384
38385 ac_ext=cpp
38386 ac_cpp='$CXXCPP $CPPFLAGS'
38387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38390
38391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38392 /* end confdefs.h. */
38393 #include <math.h>
38394 #ifdef HAVE_IEEEFP_H
38395 #include <ieeefp.h>
38396 #endif
38397
38398 int
38399 main ()
38400 {
38401 isnanl(0);
38402 ;
38403 return 0;
38404 }
38405 _ACEOF
38406 if ac_fn_cxx_try_compile "$LINENO"; then :
38407 glibcxx_cv_func_isnanl_use=yes
38408 else
38409 glibcxx_cv_func_isnanl_use=no
38410 fi
38411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38412 ac_ext=c
38413 ac_cpp='$CPP $CPPFLAGS'
38414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417
38418
38419 fi
38420
38421 fi
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38424
38425 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38426 for ac_func in isnanl
38427 do :
38428 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38429 if test "x$ac_cv_func_isnanl" = x""yes; then :
38430 cat >>confdefs.h <<_ACEOF
38431 #define HAVE_ISNANL 1
38432 _ACEOF
38433
38434 fi
38435 done
38436
38437 else
38438
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38440 $as_echo_n "checking for _isnanl declaration... " >&6; }
38441 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38442 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38443 $as_echo_n "(cached) " >&6
38444 else
38445
38446
38447 ac_ext=cpp
38448 ac_cpp='$CXXCPP $CPPFLAGS'
38449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38452
38453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38454 /* end confdefs.h. */
38455 #include <math.h>
38456 #ifdef HAVE_IEEEFP_H
38457 #include <ieeefp.h>
38458 #endif
38459
38460 int
38461 main ()
38462 {
38463 _isnanl(0);
38464 ;
38465 return 0;
38466 }
38467 _ACEOF
38468 if ac_fn_cxx_try_compile "$LINENO"; then :
38469 glibcxx_cv_func__isnanl_use=yes
38470 else
38471 glibcxx_cv_func__isnanl_use=no
38472 fi
38473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38474 ac_ext=c
38475 ac_cpp='$CPP $CPPFLAGS'
38476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38479
38480
38481 fi
38482
38483 fi
38484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38486
38487 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38488 for ac_func in _isnanl
38489 do :
38490 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38491 if test "x$ac_cv_func__isnanl" = x""yes; then :
38492 cat >>confdefs.h <<_ACEOF
38493 #define HAVE__ISNANL 1
38494 _ACEOF
38495
38496 fi
38497 done
38498
38499 fi
38500 fi
38501
38502
38503
38504
38505
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38507 $as_echo_n "checking for isinfl declaration... " >&6; }
38508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38510 $as_echo_n "(cached) " >&6
38511 else
38512
38513
38514 ac_ext=cpp
38515 ac_cpp='$CXXCPP $CPPFLAGS'
38516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38519
38520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38521 /* end confdefs.h. */
38522 #include <math.h>
38523 #ifdef HAVE_IEEEFP_H
38524 #include <ieeefp.h>
38525 #endif
38526
38527 int
38528 main ()
38529 {
38530 isinfl(0);
38531 ;
38532 return 0;
38533 }
38534 _ACEOF
38535 if ac_fn_cxx_try_compile "$LINENO"; then :
38536 glibcxx_cv_func_isinfl_use=yes
38537 else
38538 glibcxx_cv_func_isinfl_use=no
38539 fi
38540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38541 ac_ext=c
38542 ac_cpp='$CPP $CPPFLAGS'
38543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546
38547
38548 fi
38549
38550 fi
38551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38553
38554 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38555 for ac_func in isinfl
38556 do :
38557 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38558 if test "x$ac_cv_func_isinfl" = x""yes; then :
38559 cat >>confdefs.h <<_ACEOF
38560 #define HAVE_ISINFL 1
38561 _ACEOF
38562
38563 fi
38564 done
38565
38566 else
38567
38568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38569 $as_echo_n "checking for _isinfl declaration... " >&6; }
38570 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38571 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38572 $as_echo_n "(cached) " >&6
38573 else
38574
38575
38576 ac_ext=cpp
38577 ac_cpp='$CXXCPP $CPPFLAGS'
38578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38581
38582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38583 /* end confdefs.h. */
38584 #include <math.h>
38585 #ifdef HAVE_IEEEFP_H
38586 #include <ieeefp.h>
38587 #endif
38588
38589 int
38590 main ()
38591 {
38592 _isinfl(0);
38593 ;
38594 return 0;
38595 }
38596 _ACEOF
38597 if ac_fn_cxx_try_compile "$LINENO"; then :
38598 glibcxx_cv_func__isinfl_use=yes
38599 else
38600 glibcxx_cv_func__isinfl_use=no
38601 fi
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603 ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608
38609
38610 fi
38611
38612 fi
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38615
38616 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38617 for ac_func in _isinfl
38618 do :
38619 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38620 if test "x$ac_cv_func__isinfl" = x""yes; then :
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE__ISINFL 1
38623 _ACEOF
38624
38625 fi
38626 done
38627
38628 fi
38629 fi
38630
38631
38632
38633
38634
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38636 $as_echo_n "checking for atan2l declaration... " >&6; }
38637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38639 $as_echo_n "(cached) " >&6
38640 else
38641
38642
38643 ac_ext=cpp
38644 ac_cpp='$CXXCPP $CPPFLAGS'
38645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38648
38649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38650 /* end confdefs.h. */
38651 #include <math.h>
38652 int
38653 main ()
38654 {
38655 atan2l(0, 0);
38656 ;
38657 return 0;
38658 }
38659 _ACEOF
38660 if ac_fn_cxx_try_compile "$LINENO"; then :
38661 glibcxx_cv_func_atan2l_use=yes
38662 else
38663 glibcxx_cv_func_atan2l_use=no
38664 fi
38665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38666 ac_ext=c
38667 ac_cpp='$CPP $CPPFLAGS'
38668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671
38672
38673 fi
38674
38675 fi
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38678
38679 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38680 for ac_func in atan2l
38681 do :
38682 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38683 if test "x$ac_cv_func_atan2l" = x""yes; then :
38684 cat >>confdefs.h <<_ACEOF
38685 #define HAVE_ATAN2L 1
38686 _ACEOF
38687
38688 fi
38689 done
38690
38691 else
38692
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38694 $as_echo_n "checking for _atan2l declaration... " >&6; }
38695 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38696 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38699
38700
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38710 int
38711 main ()
38712 {
38713 _atan2l(0, 0);
38714 ;
38715 return 0;
38716 }
38717 _ACEOF
38718 if ac_fn_cxx_try_compile "$LINENO"; then :
38719 glibcxx_cv_func__atan2l_use=yes
38720 else
38721 glibcxx_cv_func__atan2l_use=no
38722 fi
38723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38724 ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38729
38730
38731 fi
38732
38733 fi
38734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38736
38737 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38738 for ac_func in _atan2l
38739 do :
38740 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38741 if test "x$ac_cv_func__atan2l" = x""yes; then :
38742 cat >>confdefs.h <<_ACEOF
38743 #define HAVE__ATAN2L 1
38744 _ACEOF
38745
38746 fi
38747 done
38748
38749 fi
38750 fi
38751
38752
38753
38754
38755
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38757 $as_echo_n "checking for expl declaration... " >&6; }
38758 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38759 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38760 $as_echo_n "(cached) " >&6
38761 else
38762
38763
38764 ac_ext=cpp
38765 ac_cpp='$CXXCPP $CPPFLAGS'
38766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769
38770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38771 /* end confdefs.h. */
38772 #include <math.h>
38773 #ifdef HAVE_IEEEFP_H
38774 #include <ieeefp.h>
38775 #endif
38776
38777 int
38778 main ()
38779 {
38780 expl(0);
38781 ;
38782 return 0;
38783 }
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786 glibcxx_cv_func_expl_use=yes
38787 else
38788 glibcxx_cv_func_expl_use=no
38789 fi
38790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38791 ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796
38797
38798 fi
38799
38800 fi
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38803
38804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38805 for ac_func in expl
38806 do :
38807 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38808 if test "x$ac_cv_func_expl" = x""yes; then :
38809 cat >>confdefs.h <<_ACEOF
38810 #define HAVE_EXPL 1
38811 _ACEOF
38812
38813 fi
38814 done
38815
38816 else
38817
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38819 $as_echo_n "checking for _expl declaration... " >&6; }
38820 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38821 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38822 $as_echo_n "(cached) " >&6
38823 else
38824
38825
38826 ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38831
38832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h. */
38834 #include <math.h>
38835 #ifdef HAVE_IEEEFP_H
38836 #include <ieeefp.h>
38837 #endif
38838
38839 int
38840 main ()
38841 {
38842 _expl(0);
38843 ;
38844 return 0;
38845 }
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func__expl_use=yes
38849 else
38850 glibcxx_cv_func__expl_use=no
38851 fi
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38858
38859
38860 fi
38861
38862 fi
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38865
38866 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38867 for ac_func in _expl
38868 do :
38869 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38870 if test "x$ac_cv_func__expl" = x""yes; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define HAVE__EXPL 1
38873 _ACEOF
38874
38875 fi
38876 done
38877
38878 fi
38879 fi
38880
38881
38882
38883
38884
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38886 $as_echo_n "checking for fabsl declaration... " >&6; }
38887 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38888 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38889 $as_echo_n "(cached) " >&6
38890 else
38891
38892
38893 ac_ext=cpp
38894 ac_cpp='$CXXCPP $CPPFLAGS'
38895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38898
38899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38900 /* end confdefs.h. */
38901 #include <math.h>
38902 #ifdef HAVE_IEEEFP_H
38903 #include <ieeefp.h>
38904 #endif
38905
38906 int
38907 main ()
38908 {
38909 fabsl(0);
38910 ;
38911 return 0;
38912 }
38913 _ACEOF
38914 if ac_fn_cxx_try_compile "$LINENO"; then :
38915 glibcxx_cv_func_fabsl_use=yes
38916 else
38917 glibcxx_cv_func_fabsl_use=no
38918 fi
38919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 ac_ext=c
38921 ac_cpp='$CPP $CPPFLAGS'
38922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38925
38926
38927 fi
38928
38929 fi
38930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38932
38933 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38934 for ac_func in fabsl
38935 do :
38936 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38937 if test "x$ac_cv_func_fabsl" = x""yes; then :
38938 cat >>confdefs.h <<_ACEOF
38939 #define HAVE_FABSL 1
38940 _ACEOF
38941
38942 fi
38943 done
38944
38945 else
38946
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38948 $as_echo_n "checking for _fabsl declaration... " >&6; }
38949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38951 $as_echo_n "(cached) " >&6
38952 else
38953
38954
38955 ac_ext=cpp
38956 ac_cpp='$CXXCPP $CPPFLAGS'
38957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38960
38961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38962 /* end confdefs.h. */
38963 #include <math.h>
38964 #ifdef HAVE_IEEEFP_H
38965 #include <ieeefp.h>
38966 #endif
38967
38968 int
38969 main ()
38970 {
38971 _fabsl(0);
38972 ;
38973 return 0;
38974 }
38975 _ACEOF
38976 if ac_fn_cxx_try_compile "$LINENO"; then :
38977 glibcxx_cv_func__fabsl_use=yes
38978 else
38979 glibcxx_cv_func__fabsl_use=no
38980 fi
38981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38982 ac_ext=c
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38987
38988
38989 fi
38990
38991 fi
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38994
38995 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38996 for ac_func in _fabsl
38997 do :
38998 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38999 if test "x$ac_cv_func__fabsl" = x""yes; then :
39000 cat >>confdefs.h <<_ACEOF
39001 #define HAVE__FABSL 1
39002 _ACEOF
39003
39004 fi
39005 done
39006
39007 fi
39008 fi
39009
39010
39011
39012
39013
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39015 $as_echo_n "checking for fmodl declaration... " >&6; }
39016 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39017 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39018 $as_echo_n "(cached) " >&6
39019 else
39020
39021
39022 ac_ext=cpp
39023 ac_cpp='$CXXCPP $CPPFLAGS'
39024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39027
39028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39029 /* end confdefs.h. */
39030 #include <math.h>
39031 int
39032 main ()
39033 {
39034 fmodl(0, 0);
39035 ;
39036 return 0;
39037 }
39038 _ACEOF
39039 if ac_fn_cxx_try_compile "$LINENO"; then :
39040 glibcxx_cv_func_fmodl_use=yes
39041 else
39042 glibcxx_cv_func_fmodl_use=no
39043 fi
39044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39050
39051
39052 fi
39053
39054 fi
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39057
39058 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39059 for ac_func in fmodl
39060 do :
39061 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39062 if test "x$ac_cv_func_fmodl" = x""yes; then :
39063 cat >>confdefs.h <<_ACEOF
39064 #define HAVE_FMODL 1
39065 _ACEOF
39066
39067 fi
39068 done
39069
39070 else
39071
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39073 $as_echo_n "checking for _fmodl declaration... " >&6; }
39074 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39075 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39078
39079
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39085
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39089 int
39090 main ()
39091 {
39092 _fmodl(0, 0);
39093 ;
39094 return 0;
39095 }
39096 _ACEOF
39097 if ac_fn_cxx_try_compile "$LINENO"; then :
39098 glibcxx_cv_func__fmodl_use=yes
39099 else
39100 glibcxx_cv_func__fmodl_use=no
39101 fi
39102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39103 ac_ext=c
39104 ac_cpp='$CPP $CPPFLAGS'
39105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39108
39109
39110 fi
39111
39112 fi
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39115
39116 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39117 for ac_func in _fmodl
39118 do :
39119 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39120 if test "x$ac_cv_func__fmodl" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE__FMODL 1
39123 _ACEOF
39124
39125 fi
39126 done
39127
39128 fi
39129 fi
39130
39131
39132
39133
39134
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39136 $as_echo_n "checking for frexpl declaration... " >&6; }
39137 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39138 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39139 $as_echo_n "(cached) " >&6
39140 else
39141
39142
39143 ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148
39149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h. */
39151 #include <math.h>
39152 int
39153 main ()
39154 {
39155 frexpl(0, 0);
39156 ;
39157 return 0;
39158 }
39159 _ACEOF
39160 if ac_fn_cxx_try_compile "$LINENO"; then :
39161 glibcxx_cv_func_frexpl_use=yes
39162 else
39163 glibcxx_cv_func_frexpl_use=no
39164 fi
39165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39166 ac_ext=c
39167 ac_cpp='$CPP $CPPFLAGS'
39168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171
39172
39173 fi
39174
39175 fi
39176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39178
39179 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39180 for ac_func in frexpl
39181 do :
39182 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39183 if test "x$ac_cv_func_frexpl" = x""yes; then :
39184 cat >>confdefs.h <<_ACEOF
39185 #define HAVE_FREXPL 1
39186 _ACEOF
39187
39188 fi
39189 done
39190
39191 else
39192
39193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39194 $as_echo_n "checking for _frexpl declaration... " >&6; }
39195 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39196 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39197 $as_echo_n "(cached) " >&6
39198 else
39199
39200
39201 ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39206
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39209 #include <math.h>
39210 int
39211 main ()
39212 {
39213 _frexpl(0, 0);
39214 ;
39215 return 0;
39216 }
39217 _ACEOF
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func__frexpl_use=yes
39220 else
39221 glibcxx_cv_func__frexpl_use=no
39222 fi
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39224 ac_ext=c
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39229
39230
39231 fi
39232
39233 fi
39234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39236
39237 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39238 for ac_func in _frexpl
39239 do :
39240 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39241 if test "x$ac_cv_func__frexpl" = x""yes; then :
39242 cat >>confdefs.h <<_ACEOF
39243 #define HAVE__FREXPL 1
39244 _ACEOF
39245
39246 fi
39247 done
39248
39249 fi
39250 fi
39251
39252
39253
39254
39255
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39257 $as_echo_n "checking for hypotl declaration... " >&6; }
39258 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39259 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39260 $as_echo_n "(cached) " >&6
39261 else
39262
39263
39264 ac_ext=cpp
39265 ac_cpp='$CXXCPP $CPPFLAGS'
39266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39269
39270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39271 /* end confdefs.h. */
39272 #include <math.h>
39273 int
39274 main ()
39275 {
39276 hypotl(0, 0);
39277 ;
39278 return 0;
39279 }
39280 _ACEOF
39281 if ac_fn_cxx_try_compile "$LINENO"; then :
39282 glibcxx_cv_func_hypotl_use=yes
39283 else
39284 glibcxx_cv_func_hypotl_use=no
39285 fi
39286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39287 ac_ext=c
39288 ac_cpp='$CPP $CPPFLAGS'
39289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39292
39293
39294 fi
39295
39296 fi
39297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39299
39300 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39301 for ac_func in hypotl
39302 do :
39303 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39304 if test "x$ac_cv_func_hypotl" = x""yes; then :
39305 cat >>confdefs.h <<_ACEOF
39306 #define HAVE_HYPOTL 1
39307 _ACEOF
39308
39309 fi
39310 done
39311
39312 else
39313
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39315 $as_echo_n "checking for _hypotl declaration... " >&6; }
39316 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39317 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39318 $as_echo_n "(cached) " >&6
39319 else
39320
39321
39322 ac_ext=cpp
39323 ac_cpp='$CXXCPP $CPPFLAGS'
39324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39327
39328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39329 /* end confdefs.h. */
39330 #include <math.h>
39331 int
39332 main ()
39333 {
39334 _hypotl(0, 0);
39335 ;
39336 return 0;
39337 }
39338 _ACEOF
39339 if ac_fn_cxx_try_compile "$LINENO"; then :
39340 glibcxx_cv_func__hypotl_use=yes
39341 else
39342 glibcxx_cv_func__hypotl_use=no
39343 fi
39344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39345 ac_ext=c
39346 ac_cpp='$CPP $CPPFLAGS'
39347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39350
39351
39352 fi
39353
39354 fi
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39357
39358 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39359 for ac_func in _hypotl
39360 do :
39361 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39362 if test "x$ac_cv_func__hypotl" = x""yes; then :
39363 cat >>confdefs.h <<_ACEOF
39364 #define HAVE__HYPOTL 1
39365 _ACEOF
39366
39367 fi
39368 done
39369
39370 fi
39371 fi
39372
39373
39374
39375
39376
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39378 $as_echo_n "checking for ldexpl declaration... " >&6; }
39379 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39380 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39381 $as_echo_n "(cached) " >&6
39382 else
39383
39384
39385 ac_ext=cpp
39386 ac_cpp='$CXXCPP $CPPFLAGS'
39387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39390
39391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39392 /* end confdefs.h. */
39393 #include <math.h>
39394 int
39395 main ()
39396 {
39397 ldexpl(0, 0);
39398 ;
39399 return 0;
39400 }
39401 _ACEOF
39402 if ac_fn_cxx_try_compile "$LINENO"; then :
39403 glibcxx_cv_func_ldexpl_use=yes
39404 else
39405 glibcxx_cv_func_ldexpl_use=no
39406 fi
39407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39408 ac_ext=c
39409 ac_cpp='$CPP $CPPFLAGS'
39410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39413
39414
39415 fi
39416
39417 fi
39418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39420
39421 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39422 for ac_func in ldexpl
39423 do :
39424 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39426 cat >>confdefs.h <<_ACEOF
39427 #define HAVE_LDEXPL 1
39428 _ACEOF
39429
39430 fi
39431 done
39432
39433 else
39434
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39437 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39438 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39439 $as_echo_n "(cached) " >&6
39440 else
39441
39442
39443 ac_ext=cpp
39444 ac_cpp='$CXXCPP $CPPFLAGS'
39445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39448
39449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39450 /* end confdefs.h. */
39451 #include <math.h>
39452 int
39453 main ()
39454 {
39455 _ldexpl(0, 0);
39456 ;
39457 return 0;
39458 }
39459 _ACEOF
39460 if ac_fn_cxx_try_compile "$LINENO"; then :
39461 glibcxx_cv_func__ldexpl_use=yes
39462 else
39463 glibcxx_cv_func__ldexpl_use=no
39464 fi
39465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39466 ac_ext=c
39467 ac_cpp='$CPP $CPPFLAGS'
39468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39471
39472
39473 fi
39474
39475 fi
39476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39478
39479 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39480 for ac_func in _ldexpl
39481 do :
39482 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39484 cat >>confdefs.h <<_ACEOF
39485 #define HAVE__LDEXPL 1
39486 _ACEOF
39487
39488 fi
39489 done
39490
39491 fi
39492 fi
39493
39494
39495
39496
39497
39498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39499 $as_echo_n "checking for logl declaration... " >&6; }
39500 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39501 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39502 $as_echo_n "(cached) " >&6
39503 else
39504
39505
39506 ac_ext=cpp
39507 ac_cpp='$CXXCPP $CPPFLAGS'
39508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39511
39512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39513 /* end confdefs.h. */
39514 #include <math.h>
39515 #ifdef HAVE_IEEEFP_H
39516 #include <ieeefp.h>
39517 #endif
39518
39519 int
39520 main ()
39521 {
39522 logl(0);
39523 ;
39524 return 0;
39525 }
39526 _ACEOF
39527 if ac_fn_cxx_try_compile "$LINENO"; then :
39528 glibcxx_cv_func_logl_use=yes
39529 else
39530 glibcxx_cv_func_logl_use=no
39531 fi
39532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39533 ac_ext=c
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39538
39539
39540 fi
39541
39542 fi
39543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39545
39546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39547 for ac_func in logl
39548 do :
39549 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39550 if test "x$ac_cv_func_logl" = x""yes; then :
39551 cat >>confdefs.h <<_ACEOF
39552 #define HAVE_LOGL 1
39553 _ACEOF
39554
39555 fi
39556 done
39557
39558 else
39559
39560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39561 $as_echo_n "checking for _logl declaration... " >&6; }
39562 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39563 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39564 $as_echo_n "(cached) " >&6
39565 else
39566
39567
39568 ac_ext=cpp
39569 ac_cpp='$CXXCPP $CPPFLAGS'
39570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39573
39574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39575 /* end confdefs.h. */
39576 #include <math.h>
39577 #ifdef HAVE_IEEEFP_H
39578 #include <ieeefp.h>
39579 #endif
39580
39581 int
39582 main ()
39583 {
39584 _logl(0);
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func__logl_use=yes
39591 else
39592 glibcxx_cv_func__logl_use=no
39593 fi
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39600
39601
39602 fi
39603
39604 fi
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39607
39608 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39609 for ac_func in _logl
39610 do :
39611 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39612 if test "x$ac_cv_func__logl" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE__LOGL 1
39615 _ACEOF
39616
39617 fi
39618 done
39619
39620 fi
39621 fi
39622
39623
39624
39625
39626
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39628 $as_echo_n "checking for log10l declaration... " >&6; }
39629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39631 $as_echo_n "(cached) " >&6
39632 else
39633
39634
39635 ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39640
39641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h. */
39643 #include <math.h>
39644 #ifdef HAVE_IEEEFP_H
39645 #include <ieeefp.h>
39646 #endif
39647
39648 int
39649 main ()
39650 {
39651 log10l(0);
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_log10l_use=yes
39658 else
39659 glibcxx_cv_func_log10l_use=no
39660 fi
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39667
39668
39669 fi
39670
39671 fi
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39674
39675 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39676 for ac_func in log10l
39677 do :
39678 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39679 if test "x$ac_cv_func_log10l" = x""yes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_LOG10L 1
39682 _ACEOF
39683
39684 fi
39685 done
39686
39687 else
39688
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39690 $as_echo_n "checking for _log10l declaration... " >&6; }
39691 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39692 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39695
39696
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39702
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 #ifdef HAVE_IEEEFP_H
39707 #include <ieeefp.h>
39708 #endif
39709
39710 int
39711 main ()
39712 {
39713 _log10l(0);
39714 ;
39715 return 0;
39716 }
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__log10l_use=yes
39720 else
39721 glibcxx_cv_func__log10l_use=no
39722 fi
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39729
39730
39731 fi
39732
39733 fi
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39736
39737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39738 for ac_func in _log10l
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39741 if test "x$ac_cv_func__log10l" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__LOG10L 1
39744 _ACEOF
39745
39746 fi
39747 done
39748
39749 fi
39750 fi
39751
39752
39753
39754
39755
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39757 $as_echo_n "checking for modfl declaration... " >&6; }
39758 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39759 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39762
39763
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39769
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39773 int
39774 main ()
39775 {
39776 modfl(0, 0);
39777 ;
39778 return 0;
39779 }
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782 glibcxx_cv_func_modfl_use=yes
39783 else
39784 glibcxx_cv_func_modfl_use=no
39785 fi
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792
39793
39794 fi
39795
39796 fi
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39799
39800 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39801 for ac_func in modfl
39802 do :
39803 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39804 if test "x$ac_cv_func_modfl" = x""yes; then :
39805 cat >>confdefs.h <<_ACEOF
39806 #define HAVE_MODFL 1
39807 _ACEOF
39808
39809 fi
39810 done
39811
39812 else
39813
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39815 $as_echo_n "checking for _modfl declaration... " >&6; }
39816 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39817 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39820
39821
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39831 int
39832 main ()
39833 {
39834 _modfl(0, 0);
39835 ;
39836 return 0;
39837 }
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func__modfl_use=yes
39841 else
39842 glibcxx_cv_func__modfl_use=no
39843 fi
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850
39851
39852 fi
39853
39854 fi
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39857
39858 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39859 for ac_func in _modfl
39860 do :
39861 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39862 if test "x$ac_cv_func__modfl" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE__MODFL 1
39865 _ACEOF
39866
39867 fi
39868 done
39869
39870 fi
39871 fi
39872
39873
39874
39875
39876
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39878 $as_echo_n "checking for powl declaration... " >&6; }
39879 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39880 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39881 $as_echo_n "(cached) " >&6
39882 else
39883
39884
39885 ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39890
39891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39893 #include <math.h>
39894 int
39895 main ()
39896 {
39897 powl(0, 0);
39898 ;
39899 return 0;
39900 }
39901 _ACEOF
39902 if ac_fn_cxx_try_compile "$LINENO"; then :
39903 glibcxx_cv_func_powl_use=yes
39904 else
39905 glibcxx_cv_func_powl_use=no
39906 fi
39907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39908 ac_ext=c
39909 ac_cpp='$CPP $CPPFLAGS'
39910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39913
39914
39915 fi
39916
39917 fi
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39920
39921 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39922 for ac_func in powl
39923 do :
39924 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39925 if test "x$ac_cv_func_powl" = x""yes; then :
39926 cat >>confdefs.h <<_ACEOF
39927 #define HAVE_POWL 1
39928 _ACEOF
39929
39930 fi
39931 done
39932
39933 else
39934
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39936 $as_echo_n "checking for _powl declaration... " >&6; }
39937 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39938 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39939 $as_echo_n "(cached) " >&6
39940 else
39941
39942
39943 ac_ext=cpp
39944 ac_cpp='$CXXCPP $CPPFLAGS'
39945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39948
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39951 #include <math.h>
39952 int
39953 main ()
39954 {
39955 _powl(0, 0);
39956 ;
39957 return 0;
39958 }
39959 _ACEOF
39960 if ac_fn_cxx_try_compile "$LINENO"; then :
39961 glibcxx_cv_func__powl_use=yes
39962 else
39963 glibcxx_cv_func__powl_use=no
39964 fi
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971
39972
39973 fi
39974
39975 fi
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39978
39979 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39980 for ac_func in _powl
39981 do :
39982 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39983 if test "x$ac_cv_func__powl" = x""yes; then :
39984 cat >>confdefs.h <<_ACEOF
39985 #define HAVE__POWL 1
39986 _ACEOF
39987
39988 fi
39989 done
39990
39991 fi
39992 fi
39993
39994
39995
39996
39997
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39999 $as_echo_n "checking for sqrtl declaration... " >&6; }
40000 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40001 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40002 $as_echo_n "(cached) " >&6
40003 else
40004
40005
40006 ac_ext=cpp
40007 ac_cpp='$CXXCPP $CPPFLAGS'
40008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40011
40012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40013 /* end confdefs.h. */
40014 #include <math.h>
40015 #ifdef HAVE_IEEEFP_H
40016 #include <ieeefp.h>
40017 #endif
40018
40019 int
40020 main ()
40021 {
40022 sqrtl(0);
40023 ;
40024 return 0;
40025 }
40026 _ACEOF
40027 if ac_fn_cxx_try_compile "$LINENO"; then :
40028 glibcxx_cv_func_sqrtl_use=yes
40029 else
40030 glibcxx_cv_func_sqrtl_use=no
40031 fi
40032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40033 ac_ext=c
40034 ac_cpp='$CPP $CPPFLAGS'
40035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40038
40039
40040 fi
40041
40042 fi
40043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40045
40046 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40047 for ac_func in sqrtl
40048 do :
40049 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40051 cat >>confdefs.h <<_ACEOF
40052 #define HAVE_SQRTL 1
40053 _ACEOF
40054
40055 fi
40056 done
40057
40058 else
40059
40060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40064 $as_echo_n "(cached) " >&6
40065 else
40066
40067
40068 ac_ext=cpp
40069 ac_cpp='$CXXCPP $CPPFLAGS'
40070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40073
40074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40075 /* end confdefs.h. */
40076 #include <math.h>
40077 #ifdef HAVE_IEEEFP_H
40078 #include <ieeefp.h>
40079 #endif
40080
40081 int
40082 main ()
40083 {
40084 _sqrtl(0);
40085 ;
40086 return 0;
40087 }
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func__sqrtl_use=yes
40091 else
40092 glibcxx_cv_func__sqrtl_use=no
40093 fi
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095 ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40100
40101
40102 fi
40103
40104 fi
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40107
40108 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40109 for ac_func in _sqrtl
40110 do :
40111 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE__SQRTL 1
40115 _ACEOF
40116
40117 fi
40118 done
40119
40120 fi
40121 fi
40122
40123
40124
40125
40126
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40128 $as_echo_n "checking for sincosl declaration... " >&6; }
40129 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40130 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40131 $as_echo_n "(cached) " >&6
40132 else
40133
40134
40135 ac_ext=cpp
40136 ac_cpp='$CXXCPP $CPPFLAGS'
40137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40140
40141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40142 /* end confdefs.h. */
40143 #include <math.h>
40144 int
40145 main ()
40146 {
40147 sincosl(0, 0, 0);
40148 ;
40149 return 0;
40150 }
40151 _ACEOF
40152 if ac_fn_cxx_try_compile "$LINENO"; then :
40153 glibcxx_cv_func_sincosl_use=yes
40154 else
40155 glibcxx_cv_func_sincosl_use=no
40156 fi
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158 ac_ext=c
40159 ac_cpp='$CPP $CPPFLAGS'
40160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40163
40164
40165 fi
40166
40167 fi
40168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40170
40171 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40172 for ac_func in sincosl
40173 do :
40174 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40175 if test "x$ac_cv_func_sincosl" = x""yes; then :
40176 cat >>confdefs.h <<_ACEOF
40177 #define HAVE_SINCOSL 1
40178 _ACEOF
40179
40180 fi
40181 done
40182
40183 else
40184
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40186 $as_echo_n "checking for _sincosl declaration... " >&6; }
40187 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40188 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40191
40192
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40198
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40202 int
40203 main ()
40204 {
40205 _sincosl(0, 0, 0);
40206 ;
40207 return 0;
40208 }
40209 _ACEOF
40210 if ac_fn_cxx_try_compile "$LINENO"; then :
40211 glibcxx_cv_func__sincosl_use=yes
40212 else
40213 glibcxx_cv_func__sincosl_use=no
40214 fi
40215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40216 ac_ext=c
40217 ac_cpp='$CPP $CPPFLAGS'
40218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40221
40222
40223 fi
40224
40225 fi
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40228
40229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40230 for ac_func in _sincosl
40231 do :
40232 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40233 if test "x$ac_cv_func__sincosl" = x""yes; then :
40234 cat >>confdefs.h <<_ACEOF
40235 #define HAVE__SINCOSL 1
40236 _ACEOF
40237
40238 fi
40239 done
40240
40241 fi
40242 fi
40243
40244
40245
40246
40247
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40249 $as_echo_n "checking for finitel declaration... " >&6; }
40250 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40251 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40252 $as_echo_n "(cached) " >&6
40253 else
40254
40255
40256 ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40261
40262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h. */
40264 #include <math.h>
40265 #ifdef HAVE_IEEEFP_H
40266 #include <ieeefp.h>
40267 #endif
40268
40269 int
40270 main ()
40271 {
40272 finitel(0);
40273 ;
40274 return 0;
40275 }
40276 _ACEOF
40277 if ac_fn_cxx_try_compile "$LINENO"; then :
40278 glibcxx_cv_func_finitel_use=yes
40279 else
40280 glibcxx_cv_func_finitel_use=no
40281 fi
40282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40283 ac_ext=c
40284 ac_cpp='$CPP $CPPFLAGS'
40285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40288
40289
40290 fi
40291
40292 fi
40293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40295
40296 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40297 for ac_func in finitel
40298 do :
40299 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40300 if test "x$ac_cv_func_finitel" = x""yes; then :
40301 cat >>confdefs.h <<_ACEOF
40302 #define HAVE_FINITEL 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308 else
40309
40310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40311 $as_echo_n "checking for _finitel declaration... " >&6; }
40312 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40313 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40314 $as_echo_n "(cached) " >&6
40315 else
40316
40317
40318 ac_ext=cpp
40319 ac_cpp='$CXXCPP $CPPFLAGS'
40320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323
40324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40325 /* end confdefs.h. */
40326 #include <math.h>
40327 #ifdef HAVE_IEEEFP_H
40328 #include <ieeefp.h>
40329 #endif
40330
40331 int
40332 main ()
40333 {
40334 _finitel(0);
40335 ;
40336 return 0;
40337 }
40338 _ACEOF
40339 if ac_fn_cxx_try_compile "$LINENO"; then :
40340 glibcxx_cv_func__finitel_use=yes
40341 else
40342 glibcxx_cv_func__finitel_use=no
40343 fi
40344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40345 ac_ext=c
40346 ac_cpp='$CPP $CPPFLAGS'
40347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40350
40351
40352 fi
40353
40354 fi
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40357
40358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40359 for ac_func in _finitel
40360 do :
40361 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40362 if test "x$ac_cv_func__finitel" = x""yes; then :
40363 cat >>confdefs.h <<_ACEOF
40364 #define HAVE__FINITEL 1
40365 _ACEOF
40366
40367 fi
40368 done
40369
40370 fi
40371 fi
40372
40373
40374
40375
40376 LIBS="$ac_save_LIBS"
40377 CXXFLAGS="$ac_save_CXXFLAGS"
40378
40379
40380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40381 ac_save_CXXFLAGS="$CXXFLAGS"
40382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40383
40384
40385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40386 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40387 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40388 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40389 $as_echo_n "(cached) " >&6
40390 else
40391
40392
40393 ac_ext=cpp
40394 ac_cpp='$CXXCPP $CPPFLAGS'
40395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40398
40399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40400 /* end confdefs.h. */
40401 #include <stdlib.h>
40402 int
40403 main ()
40404 {
40405 at_quick_exit(0);
40406 ;
40407 return 0;
40408 }
40409 _ACEOF
40410 if ac_fn_cxx_try_compile "$LINENO"; then :
40411 glibcxx_cv_func_at_quick_exit_use=yes
40412 else
40413 glibcxx_cv_func_at_quick_exit_use=no
40414 fi
40415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40416 ac_ext=c
40417 ac_cpp='$CPP $CPPFLAGS'
40418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421
40422
40423 fi
40424
40425 fi
40426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40427 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40428 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40429 for ac_func in at_quick_exit
40430 do :
40431 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40432 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40433 cat >>confdefs.h <<_ACEOF
40434 #define HAVE_AT_QUICK_EXIT 1
40435 _ACEOF
40436
40437 fi
40438 done
40439
40440 fi
40441
40442
40443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40444 $as_echo_n "checking for quick_exit declaration... " >&6; }
40445 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40446 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40447 $as_echo_n "(cached) " >&6
40448 else
40449
40450
40451 ac_ext=cpp
40452 ac_cpp='$CXXCPP $CPPFLAGS'
40453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40456
40457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40458 /* end confdefs.h. */
40459 #include <stdlib.h>
40460 int
40461 main ()
40462 {
40463 quick_exit(0);
40464 ;
40465 return 0;
40466 }
40467 _ACEOF
40468 if ac_fn_cxx_try_compile "$LINENO"; then :
40469 glibcxx_cv_func_quick_exit_use=yes
40470 else
40471 glibcxx_cv_func_quick_exit_use=no
40472 fi
40473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40474 ac_ext=c
40475 ac_cpp='$CPP $CPPFLAGS'
40476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40479
40480
40481 fi
40482
40483 fi
40484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40485 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40486 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40487 for ac_func in quick_exit
40488 do :
40489 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40490 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE_QUICK_EXIT 1
40493 _ACEOF
40494
40495 fi
40496 done
40497
40498 fi
40499
40500
40501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40502 $as_echo_n "checking for strtold declaration... " >&6; }
40503 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40504 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40505 $as_echo_n "(cached) " >&6
40506 else
40507
40508
40509 ac_ext=cpp
40510 ac_cpp='$CXXCPP $CPPFLAGS'
40511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40514
40515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40516 /* end confdefs.h. */
40517 #include <stdlib.h>
40518 int
40519 main ()
40520 {
40521 strtold(0, 0);
40522 ;
40523 return 0;
40524 }
40525 _ACEOF
40526 if ac_fn_cxx_try_compile "$LINENO"; then :
40527 glibcxx_cv_func_strtold_use=yes
40528 else
40529 glibcxx_cv_func_strtold_use=no
40530 fi
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532 ac_ext=c
40533 ac_cpp='$CPP $CPPFLAGS'
40534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40537
40538
40539 fi
40540
40541 fi
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40543 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40544 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40545 for ac_func in strtold
40546 do :
40547 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40548 if test "x$ac_cv_func_strtold" = x""yes; then :
40549 cat >>confdefs.h <<_ACEOF
40550 #define HAVE_STRTOLD 1
40551 _ACEOF
40552
40553 fi
40554 done
40555
40556 fi
40557
40558
40559
40560
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40562 $as_echo_n "checking for strtof declaration... " >&6; }
40563 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40564 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40565 $as_echo_n "(cached) " >&6
40566 else
40567
40568
40569 ac_ext=cpp
40570 ac_cpp='$CXXCPP $CPPFLAGS'
40571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40574
40575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40576 /* end confdefs.h. */
40577 #include <stdlib.h>
40578 int
40579 main ()
40580 {
40581 strtof(0, 0);
40582 ;
40583 return 0;
40584 }
40585 _ACEOF
40586 if ac_fn_cxx_try_compile "$LINENO"; then :
40587 glibcxx_cv_func_strtof_use=yes
40588 else
40589 glibcxx_cv_func_strtof_use=no
40590 fi
40591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40592 ac_ext=c
40593 ac_cpp='$CPP $CPPFLAGS'
40594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40597
40598
40599 fi
40600
40601 fi
40602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40603 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40604 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40605 for ac_func in strtof
40606 do :
40607 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40608 if test "x$ac_cv_func_strtof" = x""yes; then :
40609 cat >>confdefs.h <<_ACEOF
40610 #define HAVE_STRTOF 1
40611 _ACEOF
40612
40613 fi
40614 done
40615
40616 fi
40617
40618
40619
40620
40621 CXXFLAGS="$ac_save_CXXFLAGS"
40622
40623
40624
40625
40626
40627
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40629 $as_echo_n "checking for iconv... " >&6; }
40630 if test "${am_cv_func_iconv+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40633
40634 am_cv_func_iconv="no, consider installing GNU libiconv"
40635 am_cv_lib_iconv=no
40636 am_save_CPPFLAGS="$CPPFLAGS"
40637 CPPFLAGS="$CPPFLAGS $INCICONV"
40638 if test x$gcc_no_link = xyes; then
40639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40640 fi
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <stdlib.h>
40644 #include <iconv.h>
40645 int
40646 main ()
40647 {
40648 iconv_t cd = iconv_open("","");
40649 iconv(cd,NULL,NULL,NULL,NULL);
40650 iconv_close(cd);
40651 ;
40652 return 0;
40653 }
40654 _ACEOF
40655 if ac_fn_c_try_link "$LINENO"; then :
40656 am_cv_func_iconv=yes
40657 fi
40658 rm -f core conftest.err conftest.$ac_objext \
40659 conftest$ac_exeext conftest.$ac_ext
40660 CPPFLAGS="$am_save_CPPFLAGS"
40661
40662 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40663 for _libs in .libs _libs; do
40664 am_save_CPPFLAGS="$CPPFLAGS"
40665 am_save_LIBS="$LIBS"
40666 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40667 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40668 if test x$gcc_no_link = xyes; then
40669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40670 fi
40671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40672 /* end confdefs.h. */
40673 #include <stdlib.h>
40674 #include <iconv.h>
40675 int
40676 main ()
40677 {
40678 iconv_t cd = iconv_open("","");
40679 iconv(cd,NULL,NULL,NULL,NULL);
40680 iconv_close(cd);
40681 ;
40682 return 0;
40683 }
40684 _ACEOF
40685 if ac_fn_c_try_link "$LINENO"; then :
40686 INCICONV="-I../libiconv/include"
40687 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40688 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40689 am_cv_lib_iconv=yes
40690 am_cv_func_iconv=yes
40691 fi
40692 rm -f core conftest.err conftest.$ac_objext \
40693 conftest$ac_exeext conftest.$ac_ext
40694 CPPFLAGS="$am_save_CPPFLAGS"
40695 LIBS="$am_save_LIBS"
40696 if test "$am_cv_func_iconv" = "yes"; then
40697 break
40698 fi
40699 done
40700 fi
40701
40702 if test "$am_cv_func_iconv" != yes; then
40703 am_save_CPPFLAGS="$CPPFLAGS"
40704 am_save_LIBS="$LIBS"
40705 CPPFLAGS="$LIBS $INCICONV"
40706 LIBS="$LIBS $LIBICONV"
40707 if test x$gcc_no_link = xyes; then
40708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40709 fi
40710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40711 /* end confdefs.h. */
40712 #include <stdlib.h>
40713 #include <iconv.h>
40714 int
40715 main ()
40716 {
40717 iconv_t cd = iconv_open("","");
40718 iconv(cd,NULL,NULL,NULL,NULL);
40719 iconv_close(cd);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_c_try_link "$LINENO"; then :
40725 am_cv_lib_iconv=yes
40726 am_cv_func_iconv=yes
40727 fi
40728 rm -f core conftest.err conftest.$ac_objext \
40729 conftest$ac_exeext conftest.$ac_ext
40730 CPPFLAGS="$am_save_CPPFLAGS"
40731 LIBS="$am_save_LIBS"
40732 fi
40733
40734 fi
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40736 $as_echo "$am_cv_func_iconv" >&6; }
40737 if test "$am_cv_func_iconv" = yes; then
40738
40739 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40740
40741 fi
40742 if test "$am_cv_lib_iconv" = yes; then
40743
40744 for element in $INCICONV; do
40745 haveit=
40746 for x in $CPPFLAGS; do
40747
40748 acl_save_prefix="$prefix"
40749 prefix="$acl_final_prefix"
40750 acl_save_exec_prefix="$exec_prefix"
40751 exec_prefix="$acl_final_exec_prefix"
40752 eval x=\"$x\"
40753 exec_prefix="$acl_save_exec_prefix"
40754 prefix="$acl_save_prefix"
40755
40756 if test "X$x" = "X$element"; then
40757 haveit=yes
40758 break
40759 fi
40760 done
40761 if test -z "$haveit"; then
40762 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40763 fi
40764 done
40765
40766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40767 $as_echo_n "checking how to link with libiconv... " >&6; }
40768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40769 $as_echo "$LIBICONV" >&6; }
40770 else
40771 LIBICONV=
40772 LTLIBICONV=
40773 fi
40774
40775
40776
40777 if test "$am_cv_func_iconv" = yes; then
40778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40779 $as_echo_n "checking for iconv declaration... " >&6; }
40780 if test "${am_cv_proto_iconv+set}" = set; then :
40781 $as_echo_n "(cached) " >&6
40782 else
40783
40784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40785 /* end confdefs.h. */
40786
40787 #include <stdlib.h>
40788 #include <iconv.h>
40789 extern
40790 #ifdef __cplusplus
40791 "C"
40792 #endif
40793 #if defined(__STDC__) || defined(__cplusplus)
40794 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40795 #else
40796 size_t iconv();
40797 #endif
40798
40799 int
40800 main ()
40801 {
40802
40803 ;
40804 return 0;
40805 }
40806 _ACEOF
40807 if ac_fn_c_try_compile "$LINENO"; then :
40808 am_cv_proto_iconv_arg1=""
40809 else
40810 am_cv_proto_iconv_arg1="const"
40811 fi
40812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40813 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);"
40814 fi
40815
40816 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40818 }$am_cv_proto_iconv" >&5
40819 $as_echo "${ac_t:-
40820 }$am_cv_proto_iconv" >&6; }
40821
40822 cat >>confdefs.h <<_ACEOF
40823 #define ICONV_CONST $am_cv_proto_iconv_arg1
40824 _ACEOF
40825
40826 fi
40827
40828 ;;
40829
40830 *-aix*)
40831
40832 # If we're not using GNU ld, then there's no point in even trying these
40833 # tests. Check for that first. We should have already tested for gld
40834 # by now (in libtool), but require it now just to be safe...
40835 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40836 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40837
40838
40839
40840 # The name set by libtool depends on the version of libtool. Shame on us
40841 # for depending on an impl detail, but c'est la vie. Older versions used
40842 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40843 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40844 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40845 # set (hence we're using an older libtool), then set it.
40846 if test x${with_gnu_ld+set} != xset; then
40847 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40848 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40849 with_gnu_ld=no
40850 else
40851 with_gnu_ld=$ac_cv_prog_gnu_ld
40852 fi
40853 fi
40854
40855 # Start by getting the version number. I think the libtool test already
40856 # does some of this, but throws away the result.
40857 glibcxx_ld_is_gold=no
40858 if test x"$with_gnu_ld" = x"yes"; then
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40860 $as_echo_n "checking for ld version... " >&6; }
40861
40862 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40863 glibcxx_ld_is_gold=yes
40864 fi
40865 ldver=`$LD --version 2>/dev/null |
40866 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'`
40867
40868 glibcxx_gnu_ld_version=`echo $ldver | \
40869 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40871 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40872 fi
40873
40874 # Set --gc-sections.
40875 glibcxx_have_gc_sections=no
40876 if test "$glibcxx_ld_is_gold" = "yes"; then
40877 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40878 glibcxx_have_gc_sections=yes
40879 fi
40880 else
40881 glibcxx_gcsections_min_ld=21602
40882 if test x"$with_gnu_ld" = x"yes" &&
40883 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40884 glibcxx_have_gc_sections=yes
40885 fi
40886 fi
40887 if test "$glibcxx_have_gc_sections" = "yes"; then
40888 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40889 # NB: This flag only works reliably after 2.16.1. Configure tests
40890 # for this are difficult, so hard wire a value that should work.
40891
40892 ac_test_CFLAGS="${CFLAGS+set}"
40893 ac_save_CFLAGS="$CFLAGS"
40894 CFLAGS='-Wl,--gc-sections'
40895
40896 # Check for -Wl,--gc-sections
40897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40898 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40899 if test x$gcc_no_link = xyes; then
40900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40901 fi
40902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40903 /* end confdefs.h. */
40904 int one(void) { return 1; }
40905 int two(void) { return 2; }
40906
40907 int
40908 main ()
40909 {
40910 two();
40911 ;
40912 return 0;
40913 }
40914 _ACEOF
40915 if ac_fn_c_try_link "$LINENO"; then :
40916 ac_gcsections=yes
40917 else
40918 ac_gcsections=no
40919 fi
40920 rm -f core conftest.err conftest.$ac_objext \
40921 conftest$ac_exeext conftest.$ac_ext
40922 if test "$ac_gcsections" = "yes"; then
40923 rm -f conftest.c
40924 touch conftest.c
40925 if $CC -c conftest.c; then
40926 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40927 grep "Warning: gc-sections option ignored" > /dev/null; then
40928 ac_gcsections=no
40929 fi
40930 fi
40931 rm -f conftest.c conftest.o conftest
40932 fi
40933 if test "$ac_gcsections" = "yes"; then
40934 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40935 fi
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40937 $as_echo "$ac_gcsections" >&6; }
40938
40939 if test "$ac_test_CFLAGS" = set; then
40940 CFLAGS="$ac_save_CFLAGS"
40941 else
40942 # this is the suspicious part
40943 CFLAGS=''
40944 fi
40945 fi
40946
40947 # Set -z,relro.
40948 # Note this is only for shared objects.
40949 ac_ld_relro=no
40950 if test x"$with_gnu_ld" = x"yes"; then
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40952 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40953 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40954 if test -n "$cxx_z_relo"; then
40955 OPT_LDFLAGS="-Wl,-z,relro"
40956 ac_ld_relro=yes
40957 fi
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40959 $as_echo "$ac_ld_relro" >&6; }
40960 fi
40961
40962 # Set linker optimization flags.
40963 if test x"$with_gnu_ld" = x"yes"; then
40964 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40965 fi
40966
40967
40968
40969
40970
40971 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40972 ac_save_CXXFLAGS="$CXXFLAGS"
40973 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40974
40975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40976 $as_echo_n "checking for sin in -lm... " >&6; }
40977 if test "${ac_cv_lib_m_sin+set}" = set; then :
40978 $as_echo_n "(cached) " >&6
40979 else
40980 ac_check_lib_save_LIBS=$LIBS
40981 LIBS="-lm $LIBS"
40982 if test x$gcc_no_link = xyes; then
40983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40984 fi
40985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 /* end confdefs.h. */
40987
40988 /* Override any GCC internal prototype to avoid an error.
40989 Use char because int might match the return type of a GCC
40990 builtin and then its argument prototype would still apply. */
40991 #ifdef __cplusplus
40992 extern "C"
40993 #endif
40994 char sin ();
40995 int
40996 main ()
40997 {
40998 return sin ();
40999 ;
41000 return 0;
41001 }
41002 _ACEOF
41003 if ac_fn_c_try_link "$LINENO"; then :
41004 ac_cv_lib_m_sin=yes
41005 else
41006 ac_cv_lib_m_sin=no
41007 fi
41008 rm -f core conftest.err conftest.$ac_objext \
41009 conftest$ac_exeext conftest.$ac_ext
41010 LIBS=$ac_check_lib_save_LIBS
41011 fi
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41013 $as_echo "$ac_cv_lib_m_sin" >&6; }
41014 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41015 libm="-lm"
41016 fi
41017
41018 ac_save_LIBS="$LIBS"
41019 LIBS="$LIBS $libm"
41020
41021
41022
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41024 $as_echo_n "checking for isinf declaration... " >&6; }
41025 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41026 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41027 $as_echo_n "(cached) " >&6
41028 else
41029
41030
41031 ac_ext=cpp
41032 ac_cpp='$CXXCPP $CPPFLAGS'
41033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41036
41037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41038 /* end confdefs.h. */
41039 #include <math.h>
41040 #ifdef HAVE_IEEEFP_H
41041 #include <ieeefp.h>
41042 #endif
41043
41044 int
41045 main ()
41046 {
41047 isinf(0);
41048 ;
41049 return 0;
41050 }
41051 _ACEOF
41052 if ac_fn_cxx_try_compile "$LINENO"; then :
41053 glibcxx_cv_func_isinf_use=yes
41054 else
41055 glibcxx_cv_func_isinf_use=no
41056 fi
41057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41058 ac_ext=c
41059 ac_cpp='$CPP $CPPFLAGS'
41060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41063
41064
41065 fi
41066
41067 fi
41068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41069 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41070
41071 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41072 for ac_func in isinf
41073 do :
41074 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41075 if test "x$ac_cv_func_isinf" = x""yes; then :
41076 cat >>confdefs.h <<_ACEOF
41077 #define HAVE_ISINF 1
41078 _ACEOF
41079
41080 fi
41081 done
41082
41083 else
41084
41085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41086 $as_echo_n "checking for _isinf declaration... " >&6; }
41087 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41088 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41089 $as_echo_n "(cached) " >&6
41090 else
41091
41092
41093 ac_ext=cpp
41094 ac_cpp='$CXXCPP $CPPFLAGS'
41095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41098
41099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41100 /* end confdefs.h. */
41101 #include <math.h>
41102 #ifdef HAVE_IEEEFP_H
41103 #include <ieeefp.h>
41104 #endif
41105
41106 int
41107 main ()
41108 {
41109 _isinf(0);
41110 ;
41111 return 0;
41112 }
41113 _ACEOF
41114 if ac_fn_cxx_try_compile "$LINENO"; then :
41115 glibcxx_cv_func__isinf_use=yes
41116 else
41117 glibcxx_cv_func__isinf_use=no
41118 fi
41119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41120 ac_ext=c
41121 ac_cpp='$CPP $CPPFLAGS'
41122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41125
41126
41127 fi
41128
41129 fi
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41131 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41132
41133 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41134 for ac_func in _isinf
41135 do :
41136 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41137 if test "x$ac_cv_func__isinf" = x""yes; then :
41138 cat >>confdefs.h <<_ACEOF
41139 #define HAVE__ISINF 1
41140 _ACEOF
41141
41142 fi
41143 done
41144
41145 fi
41146 fi
41147
41148
41149
41150
41151
41152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41153 $as_echo_n "checking for isnan declaration... " >&6; }
41154 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41155 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41156 $as_echo_n "(cached) " >&6
41157 else
41158
41159
41160 ac_ext=cpp
41161 ac_cpp='$CXXCPP $CPPFLAGS'
41162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41165
41166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41167 /* end confdefs.h. */
41168 #include <math.h>
41169 #ifdef HAVE_IEEEFP_H
41170 #include <ieeefp.h>
41171 #endif
41172
41173 int
41174 main ()
41175 {
41176 isnan(0);
41177 ;
41178 return 0;
41179 }
41180 _ACEOF
41181 if ac_fn_cxx_try_compile "$LINENO"; then :
41182 glibcxx_cv_func_isnan_use=yes
41183 else
41184 glibcxx_cv_func_isnan_use=no
41185 fi
41186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41187 ac_ext=c
41188 ac_cpp='$CPP $CPPFLAGS'
41189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41192
41193
41194 fi
41195
41196 fi
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41198 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41199
41200 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41201 for ac_func in isnan
41202 do :
41203 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41204 if test "x$ac_cv_func_isnan" = x""yes; then :
41205 cat >>confdefs.h <<_ACEOF
41206 #define HAVE_ISNAN 1
41207 _ACEOF
41208
41209 fi
41210 done
41211
41212 else
41213
41214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41215 $as_echo_n "checking for _isnan declaration... " >&6; }
41216 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41217 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41218 $as_echo_n "(cached) " >&6
41219 else
41220
41221
41222 ac_ext=cpp
41223 ac_cpp='$CXXCPP $CPPFLAGS'
41224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41227
41228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41229 /* end confdefs.h. */
41230 #include <math.h>
41231 #ifdef HAVE_IEEEFP_H
41232 #include <ieeefp.h>
41233 #endif
41234
41235 int
41236 main ()
41237 {
41238 _isnan(0);
41239 ;
41240 return 0;
41241 }
41242 _ACEOF
41243 if ac_fn_cxx_try_compile "$LINENO"; then :
41244 glibcxx_cv_func__isnan_use=yes
41245 else
41246 glibcxx_cv_func__isnan_use=no
41247 fi
41248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41249 ac_ext=c
41250 ac_cpp='$CPP $CPPFLAGS'
41251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41254
41255
41256 fi
41257
41258 fi
41259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41260 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41261
41262 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41263 for ac_func in _isnan
41264 do :
41265 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41266 if test "x$ac_cv_func__isnan" = x""yes; then :
41267 cat >>confdefs.h <<_ACEOF
41268 #define HAVE__ISNAN 1
41269 _ACEOF
41270
41271 fi
41272 done
41273
41274 fi
41275 fi
41276
41277
41278
41279
41280
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41282 $as_echo_n "checking for finite declaration... " >&6; }
41283 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41284 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41285 $as_echo_n "(cached) " >&6
41286 else
41287
41288
41289 ac_ext=cpp
41290 ac_cpp='$CXXCPP $CPPFLAGS'
41291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41294
41295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41296 /* end confdefs.h. */
41297 #include <math.h>
41298 #ifdef HAVE_IEEEFP_H
41299 #include <ieeefp.h>
41300 #endif
41301
41302 int
41303 main ()
41304 {
41305 finite(0);
41306 ;
41307 return 0;
41308 }
41309 _ACEOF
41310 if ac_fn_cxx_try_compile "$LINENO"; then :
41311 glibcxx_cv_func_finite_use=yes
41312 else
41313 glibcxx_cv_func_finite_use=no
41314 fi
41315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41316 ac_ext=c
41317 ac_cpp='$CPP $CPPFLAGS'
41318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41321
41322
41323 fi
41324
41325 fi
41326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41327 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41328
41329 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41330 for ac_func in finite
41331 do :
41332 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41333 if test "x$ac_cv_func_finite" = x""yes; then :
41334 cat >>confdefs.h <<_ACEOF
41335 #define HAVE_FINITE 1
41336 _ACEOF
41337
41338 fi
41339 done
41340
41341 else
41342
41343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41344 $as_echo_n "checking for _finite declaration... " >&6; }
41345 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41346 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41347 $as_echo_n "(cached) " >&6
41348 else
41349
41350
41351 ac_ext=cpp
41352 ac_cpp='$CXXCPP $CPPFLAGS'
41353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41356
41357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41358 /* end confdefs.h. */
41359 #include <math.h>
41360 #ifdef HAVE_IEEEFP_H
41361 #include <ieeefp.h>
41362 #endif
41363
41364 int
41365 main ()
41366 {
41367 _finite(0);
41368 ;
41369 return 0;
41370 }
41371 _ACEOF
41372 if ac_fn_cxx_try_compile "$LINENO"; then :
41373 glibcxx_cv_func__finite_use=yes
41374 else
41375 glibcxx_cv_func__finite_use=no
41376 fi
41377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41378 ac_ext=c
41379 ac_cpp='$CPP $CPPFLAGS'
41380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41383
41384
41385 fi
41386
41387 fi
41388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41389 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41390
41391 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41392 for ac_func in _finite
41393 do :
41394 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41395 if test "x$ac_cv_func__finite" = x""yes; then :
41396 cat >>confdefs.h <<_ACEOF
41397 #define HAVE__FINITE 1
41398 _ACEOF
41399
41400 fi
41401 done
41402
41403 fi
41404 fi
41405
41406
41407
41408
41409
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41411 $as_echo_n "checking for sincos declaration... " >&6; }
41412 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41413 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41414 $as_echo_n "(cached) " >&6
41415 else
41416
41417
41418 ac_ext=cpp
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41423
41424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41425 /* end confdefs.h. */
41426 #include <math.h>
41427 int
41428 main ()
41429 {
41430 sincos(0, 0, 0);
41431 ;
41432 return 0;
41433 }
41434 _ACEOF
41435 if ac_fn_cxx_try_compile "$LINENO"; then :
41436 glibcxx_cv_func_sincos_use=yes
41437 else
41438 glibcxx_cv_func_sincos_use=no
41439 fi
41440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41441 ac_ext=c
41442 ac_cpp='$CPP $CPPFLAGS'
41443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446
41447
41448 fi
41449
41450 fi
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41452 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41453
41454 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41455 for ac_func in sincos
41456 do :
41457 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41458 if test "x$ac_cv_func_sincos" = x""yes; then :
41459 cat >>confdefs.h <<_ACEOF
41460 #define HAVE_SINCOS 1
41461 _ACEOF
41462
41463 fi
41464 done
41465
41466 else
41467
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41469 $as_echo_n "checking for _sincos declaration... " >&6; }
41470 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41471 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41472 $as_echo_n "(cached) " >&6
41473 else
41474
41475
41476 ac_ext=cpp
41477 ac_cpp='$CXXCPP $CPPFLAGS'
41478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41481
41482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41483 /* end confdefs.h. */
41484 #include <math.h>
41485 int
41486 main ()
41487 {
41488 _sincos(0, 0, 0);
41489 ;
41490 return 0;
41491 }
41492 _ACEOF
41493 if ac_fn_cxx_try_compile "$LINENO"; then :
41494 glibcxx_cv_func__sincos_use=yes
41495 else
41496 glibcxx_cv_func__sincos_use=no
41497 fi
41498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41499 ac_ext=c
41500 ac_cpp='$CPP $CPPFLAGS'
41501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41504
41505
41506 fi
41507
41508 fi
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41510 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41511
41512 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41513 for ac_func in _sincos
41514 do :
41515 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41516 if test "x$ac_cv_func__sincos" = x""yes; then :
41517 cat >>confdefs.h <<_ACEOF
41518 #define HAVE__SINCOS 1
41519 _ACEOF
41520
41521 fi
41522 done
41523
41524 fi
41525 fi
41526
41527
41528
41529
41530
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41532 $as_echo_n "checking for fpclass declaration... " >&6; }
41533 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41534 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41535 $as_echo_n "(cached) " >&6
41536 else
41537
41538
41539 ac_ext=cpp
41540 ac_cpp='$CXXCPP $CPPFLAGS'
41541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41544
41545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41546 /* end confdefs.h. */
41547 #include <math.h>
41548 #ifdef HAVE_IEEEFP_H
41549 #include <ieeefp.h>
41550 #endif
41551
41552 int
41553 main ()
41554 {
41555 fpclass(0);
41556 ;
41557 return 0;
41558 }
41559 _ACEOF
41560 if ac_fn_cxx_try_compile "$LINENO"; then :
41561 glibcxx_cv_func_fpclass_use=yes
41562 else
41563 glibcxx_cv_func_fpclass_use=no
41564 fi
41565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41566 ac_ext=c
41567 ac_cpp='$CPP $CPPFLAGS'
41568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41571
41572
41573 fi
41574
41575 fi
41576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41577 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41578
41579 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41580 for ac_func in fpclass
41581 do :
41582 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41583 if test "x$ac_cv_func_fpclass" = x""yes; then :
41584 cat >>confdefs.h <<_ACEOF
41585 #define HAVE_FPCLASS 1
41586 _ACEOF
41587
41588 fi
41589 done
41590
41591 else
41592
41593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41594 $as_echo_n "checking for _fpclass declaration... " >&6; }
41595 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41596 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41597 $as_echo_n "(cached) " >&6
41598 else
41599
41600
41601 ac_ext=cpp
41602 ac_cpp='$CXXCPP $CPPFLAGS'
41603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41606
41607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41608 /* end confdefs.h. */
41609 #include <math.h>
41610 #ifdef HAVE_IEEEFP_H
41611 #include <ieeefp.h>
41612 #endif
41613
41614 int
41615 main ()
41616 {
41617 _fpclass(0);
41618 ;
41619 return 0;
41620 }
41621 _ACEOF
41622 if ac_fn_cxx_try_compile "$LINENO"; then :
41623 glibcxx_cv_func__fpclass_use=yes
41624 else
41625 glibcxx_cv_func__fpclass_use=no
41626 fi
41627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41628 ac_ext=c
41629 ac_cpp='$CPP $CPPFLAGS'
41630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41633
41634
41635 fi
41636
41637 fi
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41639 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41640
41641 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41642 for ac_func in _fpclass
41643 do :
41644 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41645 if test "x$ac_cv_func__fpclass" = x""yes; then :
41646 cat >>confdefs.h <<_ACEOF
41647 #define HAVE__FPCLASS 1
41648 _ACEOF
41649
41650 fi
41651 done
41652
41653 fi
41654 fi
41655
41656
41657
41658
41659
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41661 $as_echo_n "checking for qfpclass declaration... " >&6; }
41662 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41663 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41664 $as_echo_n "(cached) " >&6
41665 else
41666
41667
41668 ac_ext=cpp
41669 ac_cpp='$CXXCPP $CPPFLAGS'
41670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41673
41674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h. */
41676 #include <math.h>
41677 #ifdef HAVE_IEEEFP_H
41678 #include <ieeefp.h>
41679 #endif
41680
41681 int
41682 main ()
41683 {
41684 qfpclass(0);
41685 ;
41686 return 0;
41687 }
41688 _ACEOF
41689 if ac_fn_cxx_try_compile "$LINENO"; then :
41690 glibcxx_cv_func_qfpclass_use=yes
41691 else
41692 glibcxx_cv_func_qfpclass_use=no
41693 fi
41694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41695 ac_ext=c
41696 ac_cpp='$CPP $CPPFLAGS'
41697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41700
41701
41702 fi
41703
41704 fi
41705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41706 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41707
41708 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41709 for ac_func in qfpclass
41710 do :
41711 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41712 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41713 cat >>confdefs.h <<_ACEOF
41714 #define HAVE_QFPCLASS 1
41715 _ACEOF
41716
41717 fi
41718 done
41719
41720 else
41721
41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41723 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41724 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41725 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41726 $as_echo_n "(cached) " >&6
41727 else
41728
41729
41730 ac_ext=cpp
41731 ac_cpp='$CXXCPP $CPPFLAGS'
41732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41735
41736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41737 /* end confdefs.h. */
41738 #include <math.h>
41739 #ifdef HAVE_IEEEFP_H
41740 #include <ieeefp.h>
41741 #endif
41742
41743 int
41744 main ()
41745 {
41746 _qfpclass(0);
41747 ;
41748 return 0;
41749 }
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752 glibcxx_cv_func__qfpclass_use=yes
41753 else
41754 glibcxx_cv_func__qfpclass_use=no
41755 fi
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757 ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762
41763
41764 fi
41765
41766 fi
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41768 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41769
41770 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41771 for ac_func in _qfpclass
41772 do :
41773 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41774 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41775 cat >>confdefs.h <<_ACEOF
41776 #define HAVE__QFPCLASS 1
41777 _ACEOF
41778
41779 fi
41780 done
41781
41782 fi
41783 fi
41784
41785
41786
41787
41788
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41790 $as_echo_n "checking for hypot declaration... " >&6; }
41791 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41792 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41793 $as_echo_n "(cached) " >&6
41794 else
41795
41796
41797 ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41802
41803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h. */
41805 #include <math.h>
41806 int
41807 main ()
41808 {
41809 hypot(0, 0);
41810 ;
41811 return 0;
41812 }
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func_hypot_use=yes
41816 else
41817 glibcxx_cv_func_hypot_use=no
41818 fi
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825
41826
41827 fi
41828
41829 fi
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41831 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41832
41833 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41834 for ac_func in hypot
41835 do :
41836 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41837 if test "x$ac_cv_func_hypot" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE_HYPOT 1
41840 _ACEOF
41841
41842 fi
41843 done
41844
41845 else
41846
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41848 $as_echo_n "checking for _hypot declaration... " >&6; }
41849 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41850 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41851 $as_echo_n "(cached) " >&6
41852 else
41853
41854
41855 ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41860
41861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h. */
41863 #include <math.h>
41864 int
41865 main ()
41866 {
41867 _hypot(0, 0);
41868 ;
41869 return 0;
41870 }
41871 _ACEOF
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873 glibcxx_cv_func__hypot_use=yes
41874 else
41875 glibcxx_cv_func__hypot_use=no
41876 fi
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41878 ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883
41884
41885 fi
41886
41887 fi
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41889 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41890
41891 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41892 for ac_func in _hypot
41893 do :
41894 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41895 if test "x$ac_cv_func__hypot" = x""yes; then :
41896 cat >>confdefs.h <<_ACEOF
41897 #define HAVE__HYPOT 1
41898 _ACEOF
41899
41900 fi
41901 done
41902
41903 fi
41904 fi
41905
41906
41907
41908
41909
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41911 $as_echo_n "checking for float trig functions... " >&6; }
41912 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41913 $as_echo_n "(cached) " >&6
41914 else
41915
41916
41917 ac_ext=cpp
41918 ac_cpp='$CXXCPP $CPPFLAGS'
41919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41922
41923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41924 /* end confdefs.h. */
41925 #include <math.h>
41926 int
41927 main ()
41928 {
41929 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41930 ;
41931 return 0;
41932 }
41933 _ACEOF
41934 if ac_fn_cxx_try_compile "$LINENO"; then :
41935 glibcxx_cv_func_float_trig_use=yes
41936 else
41937 glibcxx_cv_func_float_trig_use=no
41938 fi
41939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41940 ac_ext=c
41941 ac_cpp='$CPP $CPPFLAGS'
41942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41945
41946 fi
41947
41948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41949 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41950 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41951 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41952 do :
41953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41955 eval as_val=\$$as_ac_var
41956 if test "x$as_val" = x""yes; then :
41957 cat >>confdefs.h <<_ACEOF
41958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41959 _ACEOF
41960
41961 fi
41962 done
41963
41964 else
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41966 $as_echo_n "checking for _float trig functions... " >&6; }
41967 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41968 $as_echo_n "(cached) " >&6
41969 else
41970
41971
41972 ac_ext=cpp
41973 ac_cpp='$CXXCPP $CPPFLAGS'
41974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41977
41978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41979 /* end confdefs.h. */
41980 #include <math.h>
41981 int
41982 main ()
41983 {
41984 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41985 ;
41986 return 0;
41987 }
41988 _ACEOF
41989 if ac_fn_cxx_try_compile "$LINENO"; then :
41990 glibcxx_cv_func__float_trig_use=yes
41991 else
41992 glibcxx_cv_func__float_trig_use=no
41993 fi
41994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41995 ac_ext=c
41996 ac_cpp='$CPP $CPPFLAGS'
41997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42000
42001 fi
42002
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42004 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42005 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42006 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42007 do :
42008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42010 eval as_val=\$$as_ac_var
42011 if test "x$as_val" = x""yes; then :
42012 cat >>confdefs.h <<_ACEOF
42013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42014 _ACEOF
42015
42016 fi
42017 done
42018
42019 fi
42020 fi
42021
42022
42023
42024
42025
42026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42027 $as_echo_n "checking for float round functions... " >&6; }
42028 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42029 $as_echo_n "(cached) " >&6
42030 else
42031
42032
42033 ac_ext=cpp
42034 ac_cpp='$CXXCPP $CPPFLAGS'
42035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42038
42039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42040 /* end confdefs.h. */
42041 #include <math.h>
42042 int
42043 main ()
42044 {
42045 ceilf (0); floorf (0);
42046 ;
42047 return 0;
42048 }
42049 _ACEOF
42050 if ac_fn_cxx_try_compile "$LINENO"; then :
42051 glibcxx_cv_func_float_round_use=yes
42052 else
42053 glibcxx_cv_func_float_round_use=no
42054 fi
42055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42056 ac_ext=c
42057 ac_cpp='$CPP $CPPFLAGS'
42058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42061
42062 fi
42063
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42065 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42066 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42067 for ac_func in ceilf floorf
42068 do :
42069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42071 eval as_val=\$$as_ac_var
42072 if test "x$as_val" = x""yes; then :
42073 cat >>confdefs.h <<_ACEOF
42074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42075 _ACEOF
42076
42077 fi
42078 done
42079
42080 else
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42082 $as_echo_n "checking for _float round functions... " >&6; }
42083 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42084 $as_echo_n "(cached) " >&6
42085 else
42086
42087
42088 ac_ext=cpp
42089 ac_cpp='$CXXCPP $CPPFLAGS'
42090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42093
42094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42095 /* end confdefs.h. */
42096 #include <math.h>
42097 int
42098 main ()
42099 {
42100 _ceilf (0); _floorf (0);
42101 ;
42102 return 0;
42103 }
42104 _ACEOF
42105 if ac_fn_cxx_try_compile "$LINENO"; then :
42106 glibcxx_cv_func__float_round_use=yes
42107 else
42108 glibcxx_cv_func__float_round_use=no
42109 fi
42110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42111 ac_ext=c
42112 ac_cpp='$CPP $CPPFLAGS'
42113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42116
42117 fi
42118
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42120 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42121 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42122 for ac_func in _ceilf _floorf
42123 do :
42124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42126 eval as_val=\$$as_ac_var
42127 if test "x$as_val" = x""yes; then :
42128 cat >>confdefs.h <<_ACEOF
42129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42130 _ACEOF
42131
42132 fi
42133 done
42134
42135 fi
42136 fi
42137
42138
42139
42140
42141
42142
42143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42144 $as_echo_n "checking for expf declaration... " >&6; }
42145 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42146 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42147 $as_echo_n "(cached) " >&6
42148 else
42149
42150
42151 ac_ext=cpp
42152 ac_cpp='$CXXCPP $CPPFLAGS'
42153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156
42157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42158 /* end confdefs.h. */
42159 #include <math.h>
42160 #ifdef HAVE_IEEEFP_H
42161 #include <ieeefp.h>
42162 #endif
42163
42164 int
42165 main ()
42166 {
42167 expf(0);
42168 ;
42169 return 0;
42170 }
42171 _ACEOF
42172 if ac_fn_cxx_try_compile "$LINENO"; then :
42173 glibcxx_cv_func_expf_use=yes
42174 else
42175 glibcxx_cv_func_expf_use=no
42176 fi
42177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42178 ac_ext=c
42179 ac_cpp='$CPP $CPPFLAGS'
42180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42183
42184
42185 fi
42186
42187 fi
42188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42189 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42190
42191 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42192 for ac_func in expf
42193 do :
42194 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42195 if test "x$ac_cv_func_expf" = x""yes; then :
42196 cat >>confdefs.h <<_ACEOF
42197 #define HAVE_EXPF 1
42198 _ACEOF
42199
42200 fi
42201 done
42202
42203 else
42204
42205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42206 $as_echo_n "checking for _expf declaration... " >&6; }
42207 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42208 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42209 $as_echo_n "(cached) " >&6
42210 else
42211
42212
42213 ac_ext=cpp
42214 ac_cpp='$CXXCPP $CPPFLAGS'
42215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218
42219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42220 /* end confdefs.h. */
42221 #include <math.h>
42222 #ifdef HAVE_IEEEFP_H
42223 #include <ieeefp.h>
42224 #endif
42225
42226 int
42227 main ()
42228 {
42229 _expf(0);
42230 ;
42231 return 0;
42232 }
42233 _ACEOF
42234 if ac_fn_cxx_try_compile "$LINENO"; then :
42235 glibcxx_cv_func__expf_use=yes
42236 else
42237 glibcxx_cv_func__expf_use=no
42238 fi
42239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42240 ac_ext=c
42241 ac_cpp='$CPP $CPPFLAGS'
42242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245
42246
42247 fi
42248
42249 fi
42250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42251 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42252
42253 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42254 for ac_func in _expf
42255 do :
42256 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42257 if test "x$ac_cv_func__expf" = x""yes; then :
42258 cat >>confdefs.h <<_ACEOF
42259 #define HAVE__EXPF 1
42260 _ACEOF
42261
42262 fi
42263 done
42264
42265 fi
42266 fi
42267
42268
42269
42270
42271
42272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42273 $as_echo_n "checking for isnanf declaration... " >&6; }
42274 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42275 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42276 $as_echo_n "(cached) " >&6
42277 else
42278
42279
42280 ac_ext=cpp
42281 ac_cpp='$CXXCPP $CPPFLAGS'
42282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42285
42286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42287 /* end confdefs.h. */
42288 #include <math.h>
42289 #ifdef HAVE_IEEEFP_H
42290 #include <ieeefp.h>
42291 #endif
42292
42293 int
42294 main ()
42295 {
42296 isnanf(0);
42297 ;
42298 return 0;
42299 }
42300 _ACEOF
42301 if ac_fn_cxx_try_compile "$LINENO"; then :
42302 glibcxx_cv_func_isnanf_use=yes
42303 else
42304 glibcxx_cv_func_isnanf_use=no
42305 fi
42306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42307 ac_ext=c
42308 ac_cpp='$CPP $CPPFLAGS'
42309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312
42313
42314 fi
42315
42316 fi
42317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42318 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42319
42320 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42321 for ac_func in isnanf
42322 do :
42323 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42324 if test "x$ac_cv_func_isnanf" = x""yes; then :
42325 cat >>confdefs.h <<_ACEOF
42326 #define HAVE_ISNANF 1
42327 _ACEOF
42328
42329 fi
42330 done
42331
42332 else
42333
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42335 $as_echo_n "checking for _isnanf declaration... " >&6; }
42336 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42337 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42338 $as_echo_n "(cached) " >&6
42339 else
42340
42341
42342 ac_ext=cpp
42343 ac_cpp='$CXXCPP $CPPFLAGS'
42344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42347
42348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42349 /* end confdefs.h. */
42350 #include <math.h>
42351 #ifdef HAVE_IEEEFP_H
42352 #include <ieeefp.h>
42353 #endif
42354
42355 int
42356 main ()
42357 {
42358 _isnanf(0);
42359 ;
42360 return 0;
42361 }
42362 _ACEOF
42363 if ac_fn_cxx_try_compile "$LINENO"; then :
42364 glibcxx_cv_func__isnanf_use=yes
42365 else
42366 glibcxx_cv_func__isnanf_use=no
42367 fi
42368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42369 ac_ext=c
42370 ac_cpp='$CPP $CPPFLAGS'
42371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42374
42375
42376 fi
42377
42378 fi
42379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42380 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42381
42382 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42383 for ac_func in _isnanf
42384 do :
42385 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42386 if test "x$ac_cv_func__isnanf" = x""yes; then :
42387 cat >>confdefs.h <<_ACEOF
42388 #define HAVE__ISNANF 1
42389 _ACEOF
42390
42391 fi
42392 done
42393
42394 fi
42395 fi
42396
42397
42398
42399
42400
42401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42402 $as_echo_n "checking for isinff declaration... " >&6; }
42403 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42404 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42405 $as_echo_n "(cached) " >&6
42406 else
42407
42408
42409 ac_ext=cpp
42410 ac_cpp='$CXXCPP $CPPFLAGS'
42411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42414
42415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42416 /* end confdefs.h. */
42417 #include <math.h>
42418 #ifdef HAVE_IEEEFP_H
42419 #include <ieeefp.h>
42420 #endif
42421
42422 int
42423 main ()
42424 {
42425 isinff(0);
42426 ;
42427 return 0;
42428 }
42429 _ACEOF
42430 if ac_fn_cxx_try_compile "$LINENO"; then :
42431 glibcxx_cv_func_isinff_use=yes
42432 else
42433 glibcxx_cv_func_isinff_use=no
42434 fi
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436 ac_ext=c
42437 ac_cpp='$CPP $CPPFLAGS'
42438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441
42442
42443 fi
42444
42445 fi
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42447 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42448
42449 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42450 for ac_func in isinff
42451 do :
42452 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42453 if test "x$ac_cv_func_isinff" = x""yes; then :
42454 cat >>confdefs.h <<_ACEOF
42455 #define HAVE_ISINFF 1
42456 _ACEOF
42457
42458 fi
42459 done
42460
42461 else
42462
42463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42464 $as_echo_n "checking for _isinff declaration... " >&6; }
42465 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42466 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42467 $as_echo_n "(cached) " >&6
42468 else
42469
42470
42471 ac_ext=cpp
42472 ac_cpp='$CXXCPP $CPPFLAGS'
42473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42476
42477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42478 /* end confdefs.h. */
42479 #include <math.h>
42480 #ifdef HAVE_IEEEFP_H
42481 #include <ieeefp.h>
42482 #endif
42483
42484 int
42485 main ()
42486 {
42487 _isinff(0);
42488 ;
42489 return 0;
42490 }
42491 _ACEOF
42492 if ac_fn_cxx_try_compile "$LINENO"; then :
42493 glibcxx_cv_func__isinff_use=yes
42494 else
42495 glibcxx_cv_func__isinff_use=no
42496 fi
42497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42498 ac_ext=c
42499 ac_cpp='$CPP $CPPFLAGS'
42500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42503
42504
42505 fi
42506
42507 fi
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42509 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42510
42511 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42512 for ac_func in _isinff
42513 do :
42514 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42515 if test "x$ac_cv_func__isinff" = x""yes; then :
42516 cat >>confdefs.h <<_ACEOF
42517 #define HAVE__ISINFF 1
42518 _ACEOF
42519
42520 fi
42521 done
42522
42523 fi
42524 fi
42525
42526
42527
42528
42529
42530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42531 $as_echo_n "checking for atan2f declaration... " >&6; }
42532 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42533 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42534 $as_echo_n "(cached) " >&6
42535 else
42536
42537
42538 ac_ext=cpp
42539 ac_cpp='$CXXCPP $CPPFLAGS'
42540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42543
42544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42545 /* end confdefs.h. */
42546 #include <math.h>
42547 int
42548 main ()
42549 {
42550 atan2f(0, 0);
42551 ;
42552 return 0;
42553 }
42554 _ACEOF
42555 if ac_fn_cxx_try_compile "$LINENO"; then :
42556 glibcxx_cv_func_atan2f_use=yes
42557 else
42558 glibcxx_cv_func_atan2f_use=no
42559 fi
42560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42561 ac_ext=c
42562 ac_cpp='$CPP $CPPFLAGS'
42563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566
42567
42568 fi
42569
42570 fi
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42572 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42573
42574 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42575 for ac_func in atan2f
42576 do :
42577 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42578 if test "x$ac_cv_func_atan2f" = x""yes; then :
42579 cat >>confdefs.h <<_ACEOF
42580 #define HAVE_ATAN2F 1
42581 _ACEOF
42582
42583 fi
42584 done
42585
42586 else
42587
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42589 $as_echo_n "checking for _atan2f declaration... " >&6; }
42590 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42591 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42592 $as_echo_n "(cached) " >&6
42593 else
42594
42595
42596 ac_ext=cpp
42597 ac_cpp='$CXXCPP $CPPFLAGS'
42598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42601
42602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42603 /* end confdefs.h. */
42604 #include <math.h>
42605 int
42606 main ()
42607 {
42608 _atan2f(0, 0);
42609 ;
42610 return 0;
42611 }
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func__atan2f_use=yes
42615 else
42616 glibcxx_cv_func__atan2f_use=no
42617 fi
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42624
42625
42626 fi
42627
42628 fi
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42630 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42631
42632 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42633 for ac_func in _atan2f
42634 do :
42635 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42636 if test "x$ac_cv_func__atan2f" = x""yes; then :
42637 cat >>confdefs.h <<_ACEOF
42638 #define HAVE__ATAN2F 1
42639 _ACEOF
42640
42641 fi
42642 done
42643
42644 fi
42645 fi
42646
42647
42648
42649
42650
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42652 $as_echo_n "checking for fabsf declaration... " >&6; }
42653 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42654 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42655 $as_echo_n "(cached) " >&6
42656 else
42657
42658
42659 ac_ext=cpp
42660 ac_cpp='$CXXCPP $CPPFLAGS'
42661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42664
42665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42666 /* end confdefs.h. */
42667 #include <math.h>
42668 #ifdef HAVE_IEEEFP_H
42669 #include <ieeefp.h>
42670 #endif
42671
42672 int
42673 main ()
42674 {
42675 fabsf(0);
42676 ;
42677 return 0;
42678 }
42679 _ACEOF
42680 if ac_fn_cxx_try_compile "$LINENO"; then :
42681 glibcxx_cv_func_fabsf_use=yes
42682 else
42683 glibcxx_cv_func_fabsf_use=no
42684 fi
42685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42686 ac_ext=c
42687 ac_cpp='$CPP $CPPFLAGS'
42688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42691
42692
42693 fi
42694
42695 fi
42696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42697 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42698
42699 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42700 for ac_func in fabsf
42701 do :
42702 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42703 if test "x$ac_cv_func_fabsf" = x""yes; then :
42704 cat >>confdefs.h <<_ACEOF
42705 #define HAVE_FABSF 1
42706 _ACEOF
42707
42708 fi
42709 done
42710
42711 else
42712
42713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42714 $as_echo_n "checking for _fabsf declaration... " >&6; }
42715 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42716 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42717 $as_echo_n "(cached) " >&6
42718 else
42719
42720
42721 ac_ext=cpp
42722 ac_cpp='$CXXCPP $CPPFLAGS'
42723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42726
42727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42728 /* end confdefs.h. */
42729 #include <math.h>
42730 #ifdef HAVE_IEEEFP_H
42731 #include <ieeefp.h>
42732 #endif
42733
42734 int
42735 main ()
42736 {
42737 _fabsf(0);
42738 ;
42739 return 0;
42740 }
42741 _ACEOF
42742 if ac_fn_cxx_try_compile "$LINENO"; then :
42743 glibcxx_cv_func__fabsf_use=yes
42744 else
42745 glibcxx_cv_func__fabsf_use=no
42746 fi
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42748 ac_ext=c
42749 ac_cpp='$CPP $CPPFLAGS'
42750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42753
42754
42755 fi
42756
42757 fi
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42759 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42760
42761 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42762 for ac_func in _fabsf
42763 do :
42764 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42765 if test "x$ac_cv_func__fabsf" = x""yes; then :
42766 cat >>confdefs.h <<_ACEOF
42767 #define HAVE__FABSF 1
42768 _ACEOF
42769
42770 fi
42771 done
42772
42773 fi
42774 fi
42775
42776
42777
42778
42779
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42781 $as_echo_n "checking for fmodf declaration... " >&6; }
42782 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42783 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42784 $as_echo_n "(cached) " >&6
42785 else
42786
42787
42788 ac_ext=cpp
42789 ac_cpp='$CXXCPP $CPPFLAGS'
42790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42793
42794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42795 /* end confdefs.h. */
42796 #include <math.h>
42797 int
42798 main ()
42799 {
42800 fmodf(0, 0);
42801 ;
42802 return 0;
42803 }
42804 _ACEOF
42805 if ac_fn_cxx_try_compile "$LINENO"; then :
42806 glibcxx_cv_func_fmodf_use=yes
42807 else
42808 glibcxx_cv_func_fmodf_use=no
42809 fi
42810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42811 ac_ext=c
42812 ac_cpp='$CPP $CPPFLAGS'
42813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42816
42817
42818 fi
42819
42820 fi
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42822 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42823
42824 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42825 for ac_func in fmodf
42826 do :
42827 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42828 if test "x$ac_cv_func_fmodf" = x""yes; then :
42829 cat >>confdefs.h <<_ACEOF
42830 #define HAVE_FMODF 1
42831 _ACEOF
42832
42833 fi
42834 done
42835
42836 else
42837
42838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42839 $as_echo_n "checking for _fmodf declaration... " >&6; }
42840 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42841 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42842 $as_echo_n "(cached) " >&6
42843 else
42844
42845
42846 ac_ext=cpp
42847 ac_cpp='$CXXCPP $CPPFLAGS'
42848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42851
42852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42853 /* end confdefs.h. */
42854 #include <math.h>
42855 int
42856 main ()
42857 {
42858 _fmodf(0, 0);
42859 ;
42860 return 0;
42861 }
42862 _ACEOF
42863 if ac_fn_cxx_try_compile "$LINENO"; then :
42864 glibcxx_cv_func__fmodf_use=yes
42865 else
42866 glibcxx_cv_func__fmodf_use=no
42867 fi
42868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869 ac_ext=c
42870 ac_cpp='$CPP $CPPFLAGS'
42871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42874
42875
42876 fi
42877
42878 fi
42879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42880 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42881
42882 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42883 for ac_func in _fmodf
42884 do :
42885 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42886 if test "x$ac_cv_func__fmodf" = x""yes; then :
42887 cat >>confdefs.h <<_ACEOF
42888 #define HAVE__FMODF 1
42889 _ACEOF
42890
42891 fi
42892 done
42893
42894 fi
42895 fi
42896
42897
42898
42899
42900
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42902 $as_echo_n "checking for frexpf declaration... " >&6; }
42903 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42904 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42905 $as_echo_n "(cached) " >&6
42906 else
42907
42908
42909 ac_ext=cpp
42910 ac_cpp='$CXXCPP $CPPFLAGS'
42911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42914
42915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42916 /* end confdefs.h. */
42917 #include <math.h>
42918 int
42919 main ()
42920 {
42921 frexpf(0, 0);
42922 ;
42923 return 0;
42924 }
42925 _ACEOF
42926 if ac_fn_cxx_try_compile "$LINENO"; then :
42927 glibcxx_cv_func_frexpf_use=yes
42928 else
42929 glibcxx_cv_func_frexpf_use=no
42930 fi
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42932 ac_ext=c
42933 ac_cpp='$CPP $CPPFLAGS'
42934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42937
42938
42939 fi
42940
42941 fi
42942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42943 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42944
42945 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42946 for ac_func in frexpf
42947 do :
42948 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42949 if test "x$ac_cv_func_frexpf" = x""yes; then :
42950 cat >>confdefs.h <<_ACEOF
42951 #define HAVE_FREXPF 1
42952 _ACEOF
42953
42954 fi
42955 done
42956
42957 else
42958
42959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42960 $as_echo_n "checking for _frexpf declaration... " >&6; }
42961 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42962 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42963 $as_echo_n "(cached) " >&6
42964 else
42965
42966
42967 ac_ext=cpp
42968 ac_cpp='$CXXCPP $CPPFLAGS'
42969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42972
42973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42974 /* end confdefs.h. */
42975 #include <math.h>
42976 int
42977 main ()
42978 {
42979 _frexpf(0, 0);
42980 ;
42981 return 0;
42982 }
42983 _ACEOF
42984 if ac_fn_cxx_try_compile "$LINENO"; then :
42985 glibcxx_cv_func__frexpf_use=yes
42986 else
42987 glibcxx_cv_func__frexpf_use=no
42988 fi
42989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42990 ac_ext=c
42991 ac_cpp='$CPP $CPPFLAGS'
42992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42995
42996
42997 fi
42998
42999 fi
43000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43001 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43002
43003 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43004 for ac_func in _frexpf
43005 do :
43006 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43007 if test "x$ac_cv_func__frexpf" = x""yes; then :
43008 cat >>confdefs.h <<_ACEOF
43009 #define HAVE__FREXPF 1
43010 _ACEOF
43011
43012 fi
43013 done
43014
43015 fi
43016 fi
43017
43018
43019
43020
43021
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43023 $as_echo_n "checking for hypotf declaration... " >&6; }
43024 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43025 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43026 $as_echo_n "(cached) " >&6
43027 else
43028
43029
43030 ac_ext=cpp
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035
43036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43037 /* end confdefs.h. */
43038 #include <math.h>
43039 int
43040 main ()
43041 {
43042 hypotf(0, 0);
43043 ;
43044 return 0;
43045 }
43046 _ACEOF
43047 if ac_fn_cxx_try_compile "$LINENO"; then :
43048 glibcxx_cv_func_hypotf_use=yes
43049 else
43050 glibcxx_cv_func_hypotf_use=no
43051 fi
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053 ac_ext=c
43054 ac_cpp='$CPP $CPPFLAGS'
43055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43058
43059
43060 fi
43061
43062 fi
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43064 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43065
43066 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43067 for ac_func in hypotf
43068 do :
43069 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43070 if test "x$ac_cv_func_hypotf" = x""yes; then :
43071 cat >>confdefs.h <<_ACEOF
43072 #define HAVE_HYPOTF 1
43073 _ACEOF
43074
43075 fi
43076 done
43077
43078 else
43079
43080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43081 $as_echo_n "checking for _hypotf declaration... " >&6; }
43082 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43083 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43084 $as_echo_n "(cached) " >&6
43085 else
43086
43087
43088 ac_ext=cpp
43089 ac_cpp='$CXXCPP $CPPFLAGS'
43090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43093
43094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43095 /* end confdefs.h. */
43096 #include <math.h>
43097 int
43098 main ()
43099 {
43100 _hypotf(0, 0);
43101 ;
43102 return 0;
43103 }
43104 _ACEOF
43105 if ac_fn_cxx_try_compile "$LINENO"; then :
43106 glibcxx_cv_func__hypotf_use=yes
43107 else
43108 glibcxx_cv_func__hypotf_use=no
43109 fi
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111 ac_ext=c
43112 ac_cpp='$CPP $CPPFLAGS'
43113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43116
43117
43118 fi
43119
43120 fi
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43122 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43123
43124 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43125 for ac_func in _hypotf
43126 do :
43127 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43128 if test "x$ac_cv_func__hypotf" = x""yes; then :
43129 cat >>confdefs.h <<_ACEOF
43130 #define HAVE__HYPOTF 1
43131 _ACEOF
43132
43133 fi
43134 done
43135
43136 fi
43137 fi
43138
43139
43140
43141
43142
43143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43144 $as_echo_n "checking for ldexpf declaration... " >&6; }
43145 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43146 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43147 $as_echo_n "(cached) " >&6
43148 else
43149
43150
43151 ac_ext=cpp
43152 ac_cpp='$CXXCPP $CPPFLAGS'
43153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43156
43157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43158 /* end confdefs.h. */
43159 #include <math.h>
43160 int
43161 main ()
43162 {
43163 ldexpf(0, 0);
43164 ;
43165 return 0;
43166 }
43167 _ACEOF
43168 if ac_fn_cxx_try_compile "$LINENO"; then :
43169 glibcxx_cv_func_ldexpf_use=yes
43170 else
43171 glibcxx_cv_func_ldexpf_use=no
43172 fi
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43174 ac_ext=c
43175 ac_cpp='$CPP $CPPFLAGS'
43176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43179
43180
43181 fi
43182
43183 fi
43184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43185 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43186
43187 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43188 for ac_func in ldexpf
43189 do :
43190 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43191 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43192 cat >>confdefs.h <<_ACEOF
43193 #define HAVE_LDEXPF 1
43194 _ACEOF
43195
43196 fi
43197 done
43198
43199 else
43200
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43202 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43203 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43204 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43205 $as_echo_n "(cached) " >&6
43206 else
43207
43208
43209 ac_ext=cpp
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43214
43215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43216 /* end confdefs.h. */
43217 #include <math.h>
43218 int
43219 main ()
43220 {
43221 _ldexpf(0, 0);
43222 ;
43223 return 0;
43224 }
43225 _ACEOF
43226 if ac_fn_cxx_try_compile "$LINENO"; then :
43227 glibcxx_cv_func__ldexpf_use=yes
43228 else
43229 glibcxx_cv_func__ldexpf_use=no
43230 fi
43231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43232 ac_ext=c
43233 ac_cpp='$CPP $CPPFLAGS'
43234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43237
43238
43239 fi
43240
43241 fi
43242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43243 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43244
43245 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43246 for ac_func in _ldexpf
43247 do :
43248 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43249 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43250 cat >>confdefs.h <<_ACEOF
43251 #define HAVE__LDEXPF 1
43252 _ACEOF
43253
43254 fi
43255 done
43256
43257 fi
43258 fi
43259
43260
43261
43262
43263
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43265 $as_echo_n "checking for logf declaration... " >&6; }
43266 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43267 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43268 $as_echo_n "(cached) " >&6
43269 else
43270
43271
43272 ac_ext=cpp
43273 ac_cpp='$CXXCPP $CPPFLAGS'
43274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43277
43278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43279 /* end confdefs.h. */
43280 #include <math.h>
43281 #ifdef HAVE_IEEEFP_H
43282 #include <ieeefp.h>
43283 #endif
43284
43285 int
43286 main ()
43287 {
43288 logf(0);
43289 ;
43290 return 0;
43291 }
43292 _ACEOF
43293 if ac_fn_cxx_try_compile "$LINENO"; then :
43294 glibcxx_cv_func_logf_use=yes
43295 else
43296 glibcxx_cv_func_logf_use=no
43297 fi
43298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43299 ac_ext=c
43300 ac_cpp='$CPP $CPPFLAGS'
43301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43304
43305
43306 fi
43307
43308 fi
43309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43310 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43311
43312 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43313 for ac_func in logf
43314 do :
43315 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43316 if test "x$ac_cv_func_logf" = x""yes; then :
43317 cat >>confdefs.h <<_ACEOF
43318 #define HAVE_LOGF 1
43319 _ACEOF
43320
43321 fi
43322 done
43323
43324 else
43325
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43327 $as_echo_n "checking for _logf declaration... " >&6; }
43328 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43329 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43330 $as_echo_n "(cached) " >&6
43331 else
43332
43333
43334 ac_ext=cpp
43335 ac_cpp='$CXXCPP $CPPFLAGS'
43336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339
43340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43341 /* end confdefs.h. */
43342 #include <math.h>
43343 #ifdef HAVE_IEEEFP_H
43344 #include <ieeefp.h>
43345 #endif
43346
43347 int
43348 main ()
43349 {
43350 _logf(0);
43351 ;
43352 return 0;
43353 }
43354 _ACEOF
43355 if ac_fn_cxx_try_compile "$LINENO"; then :
43356 glibcxx_cv_func__logf_use=yes
43357 else
43358 glibcxx_cv_func__logf_use=no
43359 fi
43360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 ac_ext=c
43362 ac_cpp='$CPP $CPPFLAGS'
43363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43366
43367
43368 fi
43369
43370 fi
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43372 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43373
43374 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43375 for ac_func in _logf
43376 do :
43377 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43378 if test "x$ac_cv_func__logf" = x""yes; then :
43379 cat >>confdefs.h <<_ACEOF
43380 #define HAVE__LOGF 1
43381 _ACEOF
43382
43383 fi
43384 done
43385
43386 fi
43387 fi
43388
43389
43390
43391
43392
43393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43394 $as_echo_n "checking for log10f declaration... " >&6; }
43395 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43396 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43397 $as_echo_n "(cached) " >&6
43398 else
43399
43400
43401 ac_ext=cpp
43402 ac_cpp='$CXXCPP $CPPFLAGS'
43403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43406
43407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43408 /* end confdefs.h. */
43409 #include <math.h>
43410 #ifdef HAVE_IEEEFP_H
43411 #include <ieeefp.h>
43412 #endif
43413
43414 int
43415 main ()
43416 {
43417 log10f(0);
43418 ;
43419 return 0;
43420 }
43421 _ACEOF
43422 if ac_fn_cxx_try_compile "$LINENO"; then :
43423 glibcxx_cv_func_log10f_use=yes
43424 else
43425 glibcxx_cv_func_log10f_use=no
43426 fi
43427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43428 ac_ext=c
43429 ac_cpp='$CPP $CPPFLAGS'
43430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43433
43434
43435 fi
43436
43437 fi
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43439 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43440
43441 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43442 for ac_func in log10f
43443 do :
43444 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43445 if test "x$ac_cv_func_log10f" = x""yes; then :
43446 cat >>confdefs.h <<_ACEOF
43447 #define HAVE_LOG10F 1
43448 _ACEOF
43449
43450 fi
43451 done
43452
43453 else
43454
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43456 $as_echo_n "checking for _log10f declaration... " >&6; }
43457 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43458 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43459 $as_echo_n "(cached) " >&6
43460 else
43461
43462
43463 ac_ext=cpp
43464 ac_cpp='$CXXCPP $CPPFLAGS'
43465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43468
43469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43470 /* end confdefs.h. */
43471 #include <math.h>
43472 #ifdef HAVE_IEEEFP_H
43473 #include <ieeefp.h>
43474 #endif
43475
43476 int
43477 main ()
43478 {
43479 _log10f(0);
43480 ;
43481 return 0;
43482 }
43483 _ACEOF
43484 if ac_fn_cxx_try_compile "$LINENO"; then :
43485 glibcxx_cv_func__log10f_use=yes
43486 else
43487 glibcxx_cv_func__log10f_use=no
43488 fi
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490 ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43495
43496
43497 fi
43498
43499 fi
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43501 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43502
43503 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43504 for ac_func in _log10f
43505 do :
43506 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43507 if test "x$ac_cv_func__log10f" = x""yes; then :
43508 cat >>confdefs.h <<_ACEOF
43509 #define HAVE__LOG10F 1
43510 _ACEOF
43511
43512 fi
43513 done
43514
43515 fi
43516 fi
43517
43518
43519
43520
43521
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43523 $as_echo_n "checking for modff declaration... " >&6; }
43524 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43525 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43528
43529
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43539 int
43540 main ()
43541 {
43542 modff(0, 0);
43543 ;
43544 return 0;
43545 }
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func_modff_use=yes
43549 else
43550 glibcxx_cv_func_modff_use=no
43551 fi
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43558
43559
43560 fi
43561
43562 fi
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43564 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43565
43566 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43567 for ac_func in modff
43568 do :
43569 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43570 if test "x$ac_cv_func_modff" = x""yes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE_MODFF 1
43573 _ACEOF
43574
43575 fi
43576 done
43577
43578 else
43579
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43581 $as_echo_n "checking for _modff declaration... " >&6; }
43582 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43583 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43584 $as_echo_n "(cached) " >&6
43585 else
43586
43587
43588 ac_ext=cpp
43589 ac_cpp='$CXXCPP $CPPFLAGS'
43590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43593
43594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43595 /* end confdefs.h. */
43596 #include <math.h>
43597 int
43598 main ()
43599 {
43600 _modff(0, 0);
43601 ;
43602 return 0;
43603 }
43604 _ACEOF
43605 if ac_fn_cxx_try_compile "$LINENO"; then :
43606 glibcxx_cv_func__modff_use=yes
43607 else
43608 glibcxx_cv_func__modff_use=no
43609 fi
43610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43611 ac_ext=c
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43616
43617
43618 fi
43619
43620 fi
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43622 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43623
43624 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43625 for ac_func in _modff
43626 do :
43627 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43628 if test "x$ac_cv_func__modff" = x""yes; then :
43629 cat >>confdefs.h <<_ACEOF
43630 #define HAVE__MODFF 1
43631 _ACEOF
43632
43633 fi
43634 done
43635
43636 fi
43637 fi
43638
43639
43640
43641
43642
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43644 $as_echo_n "checking for modf declaration... " >&6; }
43645 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43646 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43649
43650
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43660 int
43661 main ()
43662 {
43663 modf(0, 0);
43664 ;
43665 return 0;
43666 }
43667 _ACEOF
43668 if ac_fn_cxx_try_compile "$LINENO"; then :
43669 glibcxx_cv_func_modf_use=yes
43670 else
43671 glibcxx_cv_func_modf_use=no
43672 fi
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674 ac_ext=c
43675 ac_cpp='$CPP $CPPFLAGS'
43676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679
43680
43681 fi
43682
43683 fi
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43685 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43686
43687 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43688 for ac_func in modf
43689 do :
43690 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43691 if test "x$ac_cv_func_modf" = x""yes; then :
43692 cat >>confdefs.h <<_ACEOF
43693 #define HAVE_MODF 1
43694 _ACEOF
43695
43696 fi
43697 done
43698
43699 else
43700
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43702 $as_echo_n "checking for _modf declaration... " >&6; }
43703 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43704 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43705 $as_echo_n "(cached) " >&6
43706 else
43707
43708
43709 ac_ext=cpp
43710 ac_cpp='$CXXCPP $CPPFLAGS'
43711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43714
43715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43716 /* end confdefs.h. */
43717 #include <math.h>
43718 int
43719 main ()
43720 {
43721 _modf(0, 0);
43722 ;
43723 return 0;
43724 }
43725 _ACEOF
43726 if ac_fn_cxx_try_compile "$LINENO"; then :
43727 glibcxx_cv_func__modf_use=yes
43728 else
43729 glibcxx_cv_func__modf_use=no
43730 fi
43731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43732 ac_ext=c
43733 ac_cpp='$CPP $CPPFLAGS'
43734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43737
43738
43739 fi
43740
43741 fi
43742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43743 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43744
43745 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43746 for ac_func in _modf
43747 do :
43748 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43749 if test "x$ac_cv_func__modf" = x""yes; then :
43750 cat >>confdefs.h <<_ACEOF
43751 #define HAVE__MODF 1
43752 _ACEOF
43753
43754 fi
43755 done
43756
43757 fi
43758 fi
43759
43760
43761
43762
43763
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43765 $as_echo_n "checking for powf declaration... " >&6; }
43766 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43767 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43768 $as_echo_n "(cached) " >&6
43769 else
43770
43771
43772 ac_ext=cpp
43773 ac_cpp='$CXXCPP $CPPFLAGS'
43774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43777
43778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43779 /* end confdefs.h. */
43780 #include <math.h>
43781 int
43782 main ()
43783 {
43784 powf(0, 0);
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 if ac_fn_cxx_try_compile "$LINENO"; then :
43790 glibcxx_cv_func_powf_use=yes
43791 else
43792 glibcxx_cv_func_powf_use=no
43793 fi
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43795 ac_ext=c
43796 ac_cpp='$CPP $CPPFLAGS'
43797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43800
43801
43802 fi
43803
43804 fi
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43806 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43807
43808 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43809 for ac_func in powf
43810 do :
43811 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43812 if test "x$ac_cv_func_powf" = x""yes; then :
43813 cat >>confdefs.h <<_ACEOF
43814 #define HAVE_POWF 1
43815 _ACEOF
43816
43817 fi
43818 done
43819
43820 else
43821
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43823 $as_echo_n "checking for _powf declaration... " >&6; }
43824 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43825 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43826 $as_echo_n "(cached) " >&6
43827 else
43828
43829
43830 ac_ext=cpp
43831 ac_cpp='$CXXCPP $CPPFLAGS'
43832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835
43836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43837 /* end confdefs.h. */
43838 #include <math.h>
43839 int
43840 main ()
43841 {
43842 _powf(0, 0);
43843 ;
43844 return 0;
43845 }
43846 _ACEOF
43847 if ac_fn_cxx_try_compile "$LINENO"; then :
43848 glibcxx_cv_func__powf_use=yes
43849 else
43850 glibcxx_cv_func__powf_use=no
43851 fi
43852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43853 ac_ext=c
43854 ac_cpp='$CPP $CPPFLAGS'
43855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43858
43859
43860 fi
43861
43862 fi
43863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43864 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43865
43866 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43867 for ac_func in _powf
43868 do :
43869 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43870 if test "x$ac_cv_func__powf" = x""yes; then :
43871 cat >>confdefs.h <<_ACEOF
43872 #define HAVE__POWF 1
43873 _ACEOF
43874
43875 fi
43876 done
43877
43878 fi
43879 fi
43880
43881
43882
43883
43884
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43886 $as_echo_n "checking for sqrtf declaration... " >&6; }
43887 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43888 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43889 $as_echo_n "(cached) " >&6
43890 else
43891
43892
43893 ac_ext=cpp
43894 ac_cpp='$CXXCPP $CPPFLAGS'
43895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43898
43899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43900 /* end confdefs.h. */
43901 #include <math.h>
43902 #ifdef HAVE_IEEEFP_H
43903 #include <ieeefp.h>
43904 #endif
43905
43906 int
43907 main ()
43908 {
43909 sqrtf(0);
43910 ;
43911 return 0;
43912 }
43913 _ACEOF
43914 if ac_fn_cxx_try_compile "$LINENO"; then :
43915 glibcxx_cv_func_sqrtf_use=yes
43916 else
43917 glibcxx_cv_func_sqrtf_use=no
43918 fi
43919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43920 ac_ext=c
43921 ac_cpp='$CPP $CPPFLAGS'
43922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43925
43926
43927 fi
43928
43929 fi
43930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43931 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43932
43933 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43934 for ac_func in sqrtf
43935 do :
43936 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43937 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43938 cat >>confdefs.h <<_ACEOF
43939 #define HAVE_SQRTF 1
43940 _ACEOF
43941
43942 fi
43943 done
43944
43945 else
43946
43947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43948 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43949 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43950 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43951 $as_echo_n "(cached) " >&6
43952 else
43953
43954
43955 ac_ext=cpp
43956 ac_cpp='$CXXCPP $CPPFLAGS'
43957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43960
43961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43962 /* end confdefs.h. */
43963 #include <math.h>
43964 #ifdef HAVE_IEEEFP_H
43965 #include <ieeefp.h>
43966 #endif
43967
43968 int
43969 main ()
43970 {
43971 _sqrtf(0);
43972 ;
43973 return 0;
43974 }
43975 _ACEOF
43976 if ac_fn_cxx_try_compile "$LINENO"; then :
43977 glibcxx_cv_func__sqrtf_use=yes
43978 else
43979 glibcxx_cv_func__sqrtf_use=no
43980 fi
43981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43982 ac_ext=c
43983 ac_cpp='$CPP $CPPFLAGS'
43984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43987
43988
43989 fi
43990
43991 fi
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43993 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43994
43995 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43996 for ac_func in _sqrtf
43997 do :
43998 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43999 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44000 cat >>confdefs.h <<_ACEOF
44001 #define HAVE__SQRTF 1
44002 _ACEOF
44003
44004 fi
44005 done
44006
44007 fi
44008 fi
44009
44010
44011
44012
44013
44014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44015 $as_echo_n "checking for sincosf declaration... " >&6; }
44016 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44017 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44018 $as_echo_n "(cached) " >&6
44019 else
44020
44021
44022 ac_ext=cpp
44023 ac_cpp='$CXXCPP $CPPFLAGS'
44024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44027
44028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44029 /* end confdefs.h. */
44030 #include <math.h>
44031 int
44032 main ()
44033 {
44034 sincosf(0, 0, 0);
44035 ;
44036 return 0;
44037 }
44038 _ACEOF
44039 if ac_fn_cxx_try_compile "$LINENO"; then :
44040 glibcxx_cv_func_sincosf_use=yes
44041 else
44042 glibcxx_cv_func_sincosf_use=no
44043 fi
44044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44045 ac_ext=c
44046 ac_cpp='$CPP $CPPFLAGS'
44047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050
44051
44052 fi
44053
44054 fi
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44056 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44057
44058 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44059 for ac_func in sincosf
44060 do :
44061 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44062 if test "x$ac_cv_func_sincosf" = x""yes; then :
44063 cat >>confdefs.h <<_ACEOF
44064 #define HAVE_SINCOSF 1
44065 _ACEOF
44066
44067 fi
44068 done
44069
44070 else
44071
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44073 $as_echo_n "checking for _sincosf declaration... " >&6; }
44074 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44075 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44076 $as_echo_n "(cached) " >&6
44077 else
44078
44079
44080 ac_ext=cpp
44081 ac_cpp='$CXXCPP $CPPFLAGS'
44082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44085
44086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44087 /* end confdefs.h. */
44088 #include <math.h>
44089 int
44090 main ()
44091 {
44092 _sincosf(0, 0, 0);
44093 ;
44094 return 0;
44095 }
44096 _ACEOF
44097 if ac_fn_cxx_try_compile "$LINENO"; then :
44098 glibcxx_cv_func__sincosf_use=yes
44099 else
44100 glibcxx_cv_func__sincosf_use=no
44101 fi
44102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44103 ac_ext=c
44104 ac_cpp='$CPP $CPPFLAGS'
44105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44108
44109
44110 fi
44111
44112 fi
44113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44114 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44115
44116 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44117 for ac_func in _sincosf
44118 do :
44119 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44120 if test "x$ac_cv_func__sincosf" = x""yes; then :
44121 cat >>confdefs.h <<_ACEOF
44122 #define HAVE__SINCOSF 1
44123 _ACEOF
44124
44125 fi
44126 done
44127
44128 fi
44129 fi
44130
44131
44132
44133
44134
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44136 $as_echo_n "checking for finitef declaration... " >&6; }
44137 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44138 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44139 $as_echo_n "(cached) " >&6
44140 else
44141
44142
44143 ac_ext=cpp
44144 ac_cpp='$CXXCPP $CPPFLAGS'
44145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44148
44149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44150 /* end confdefs.h. */
44151 #include <math.h>
44152 #ifdef HAVE_IEEEFP_H
44153 #include <ieeefp.h>
44154 #endif
44155
44156 int
44157 main ()
44158 {
44159 finitef(0);
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 if ac_fn_cxx_try_compile "$LINENO"; then :
44165 glibcxx_cv_func_finitef_use=yes
44166 else
44167 glibcxx_cv_func_finitef_use=no
44168 fi
44169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44170 ac_ext=c
44171 ac_cpp='$CPP $CPPFLAGS'
44172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44175
44176
44177 fi
44178
44179 fi
44180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44181 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44182
44183 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44184 for ac_func in finitef
44185 do :
44186 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44187 if test "x$ac_cv_func_finitef" = x""yes; then :
44188 cat >>confdefs.h <<_ACEOF
44189 #define HAVE_FINITEF 1
44190 _ACEOF
44191
44192 fi
44193 done
44194
44195 else
44196
44197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44198 $as_echo_n "checking for _finitef declaration... " >&6; }
44199 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44200 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44201 $as_echo_n "(cached) " >&6
44202 else
44203
44204
44205 ac_ext=cpp
44206 ac_cpp='$CXXCPP $CPPFLAGS'
44207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44210
44211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44212 /* end confdefs.h. */
44213 #include <math.h>
44214 #ifdef HAVE_IEEEFP_H
44215 #include <ieeefp.h>
44216 #endif
44217
44218 int
44219 main ()
44220 {
44221 _finitef(0);
44222 ;
44223 return 0;
44224 }
44225 _ACEOF
44226 if ac_fn_cxx_try_compile "$LINENO"; then :
44227 glibcxx_cv_func__finitef_use=yes
44228 else
44229 glibcxx_cv_func__finitef_use=no
44230 fi
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237
44238
44239 fi
44240
44241 fi
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44243 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44244
44245 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44246 for ac_func in _finitef
44247 do :
44248 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44249 if test "x$ac_cv_func__finitef" = x""yes; then :
44250 cat >>confdefs.h <<_ACEOF
44251 #define HAVE__FINITEF 1
44252 _ACEOF
44253
44254 fi
44255 done
44256
44257 fi
44258 fi
44259
44260
44261
44262
44263
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44265 $as_echo_n "checking for long double trig functions... " >&6; }
44266 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44267 $as_echo_n "(cached) " >&6
44268 else
44269
44270
44271 ac_ext=cpp
44272 ac_cpp='$CXXCPP $CPPFLAGS'
44273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44276
44277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44278 /* end confdefs.h. */
44279 #include <math.h>
44280 int
44281 main ()
44282 {
44283 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44284 ;
44285 return 0;
44286 }
44287 _ACEOF
44288 if ac_fn_cxx_try_compile "$LINENO"; then :
44289 glibcxx_cv_func_long_double_trig_use=yes
44290 else
44291 glibcxx_cv_func_long_double_trig_use=no
44292 fi
44293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44294 ac_ext=c
44295 ac_cpp='$CPP $CPPFLAGS'
44296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44299
44300 fi
44301
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44303 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44304 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44305 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44306 do :
44307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44309 eval as_val=\$$as_ac_var
44310 if test "x$as_val" = x""yes; then :
44311 cat >>confdefs.h <<_ACEOF
44312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44313 _ACEOF
44314
44315 fi
44316 done
44317
44318 else
44319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44320 $as_echo_n "checking for _long double trig functions... " >&6; }
44321 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44322 $as_echo_n "(cached) " >&6
44323 else
44324
44325
44326 ac_ext=cpp
44327 ac_cpp='$CXXCPP $CPPFLAGS'
44328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44331
44332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44333 /* end confdefs.h. */
44334 #include <math.h>
44335 int
44336 main ()
44337 {
44338 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44339 ;
44340 return 0;
44341 }
44342 _ACEOF
44343 if ac_fn_cxx_try_compile "$LINENO"; then :
44344 glibcxx_cv_func__long_double_trig_use=yes
44345 else
44346 glibcxx_cv_func__long_double_trig_use=no
44347 fi
44348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44349 ac_ext=c
44350 ac_cpp='$CPP $CPPFLAGS'
44351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44354
44355 fi
44356
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44358 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44359 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44360 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44361 do :
44362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44364 eval as_val=\$$as_ac_var
44365 if test "x$as_val" = x""yes; then :
44366 cat >>confdefs.h <<_ACEOF
44367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44368 _ACEOF
44369
44370 fi
44371 done
44372
44373 fi
44374 fi
44375
44376
44377
44378
44379
44380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44381 $as_echo_n "checking for long double round functions... " >&6; }
44382 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44383 $as_echo_n "(cached) " >&6
44384 else
44385
44386
44387 ac_ext=cpp
44388 ac_cpp='$CXXCPP $CPPFLAGS'
44389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44392
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 #include <math.h>
44396 int
44397 main ()
44398 {
44399 ceill (0); floorl (0);
44400 ;
44401 return 0;
44402 }
44403 _ACEOF
44404 if ac_fn_cxx_try_compile "$LINENO"; then :
44405 glibcxx_cv_func_long_double_round_use=yes
44406 else
44407 glibcxx_cv_func_long_double_round_use=no
44408 fi
44409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44410 ac_ext=c
44411 ac_cpp='$CPP $CPPFLAGS'
44412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44415
44416 fi
44417
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44419 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44420 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44421 for ac_func in ceill floorl
44422 do :
44423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44425 eval as_val=\$$as_ac_var
44426 if test "x$as_val" = x""yes; then :
44427 cat >>confdefs.h <<_ACEOF
44428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44429 _ACEOF
44430
44431 fi
44432 done
44433
44434 else
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44436 $as_echo_n "checking for _long double round functions... " >&6; }
44437 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44438 $as_echo_n "(cached) " >&6
44439 else
44440
44441
44442 ac_ext=cpp
44443 ac_cpp='$CXXCPP $CPPFLAGS'
44444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44447
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h. */
44450 #include <math.h>
44451 int
44452 main ()
44453 {
44454 _ceill (0); _floorl (0);
44455 ;
44456 return 0;
44457 }
44458 _ACEOF
44459 if ac_fn_cxx_try_compile "$LINENO"; then :
44460 glibcxx_cv_func__long_double_round_use=yes
44461 else
44462 glibcxx_cv_func__long_double_round_use=no
44463 fi
44464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44465 ac_ext=c
44466 ac_cpp='$CPP $CPPFLAGS'
44467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44470
44471 fi
44472
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44474 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44475 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44476 for ac_func in _ceill _floorl
44477 do :
44478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44480 eval as_val=\$$as_ac_var
44481 if test "x$as_val" = x""yes; then :
44482 cat >>confdefs.h <<_ACEOF
44483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44484 _ACEOF
44485
44486 fi
44487 done
44488
44489 fi
44490 fi
44491
44492
44493
44494
44495
44496
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44498 $as_echo_n "checking for isnanl declaration... " >&6; }
44499 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44500 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44501 $as_echo_n "(cached) " >&6
44502 else
44503
44504
44505 ac_ext=cpp
44506 ac_cpp='$CXXCPP $CPPFLAGS'
44507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44510
44511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44512 /* end confdefs.h. */
44513 #include <math.h>
44514 #ifdef HAVE_IEEEFP_H
44515 #include <ieeefp.h>
44516 #endif
44517
44518 int
44519 main ()
44520 {
44521 isnanl(0);
44522 ;
44523 return 0;
44524 }
44525 _ACEOF
44526 if ac_fn_cxx_try_compile "$LINENO"; then :
44527 glibcxx_cv_func_isnanl_use=yes
44528 else
44529 glibcxx_cv_func_isnanl_use=no
44530 fi
44531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44532 ac_ext=c
44533 ac_cpp='$CPP $CPPFLAGS'
44534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537
44538
44539 fi
44540
44541 fi
44542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44543 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44544
44545 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44546 for ac_func in isnanl
44547 do :
44548 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44549 if test "x$ac_cv_func_isnanl" = x""yes; then :
44550 cat >>confdefs.h <<_ACEOF
44551 #define HAVE_ISNANL 1
44552 _ACEOF
44553
44554 fi
44555 done
44556
44557 else
44558
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44560 $as_echo_n "checking for _isnanl declaration... " >&6; }
44561 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44562 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44563 $as_echo_n "(cached) " >&6
44564 else
44565
44566
44567 ac_ext=cpp
44568 ac_cpp='$CXXCPP $CPPFLAGS'
44569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44572
44573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574 /* end confdefs.h. */
44575 #include <math.h>
44576 #ifdef HAVE_IEEEFP_H
44577 #include <ieeefp.h>
44578 #endif
44579
44580 int
44581 main ()
44582 {
44583 _isnanl(0);
44584 ;
44585 return 0;
44586 }
44587 _ACEOF
44588 if ac_fn_cxx_try_compile "$LINENO"; then :
44589 glibcxx_cv_func__isnanl_use=yes
44590 else
44591 glibcxx_cv_func__isnanl_use=no
44592 fi
44593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44594 ac_ext=c
44595 ac_cpp='$CPP $CPPFLAGS'
44596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44599
44600
44601 fi
44602
44603 fi
44604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44605 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44606
44607 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44608 for ac_func in _isnanl
44609 do :
44610 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44611 if test "x$ac_cv_func__isnanl" = x""yes; then :
44612 cat >>confdefs.h <<_ACEOF
44613 #define HAVE__ISNANL 1
44614 _ACEOF
44615
44616 fi
44617 done
44618
44619 fi
44620 fi
44621
44622
44623
44624
44625
44626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44627 $as_echo_n "checking for isinfl declaration... " >&6; }
44628 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44629 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44630 $as_echo_n "(cached) " >&6
44631 else
44632
44633
44634 ac_ext=cpp
44635 ac_cpp='$CXXCPP $CPPFLAGS'
44636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44639
44640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44641 /* end confdefs.h. */
44642 #include <math.h>
44643 #ifdef HAVE_IEEEFP_H
44644 #include <ieeefp.h>
44645 #endif
44646
44647 int
44648 main ()
44649 {
44650 isinfl(0);
44651 ;
44652 return 0;
44653 }
44654 _ACEOF
44655 if ac_fn_cxx_try_compile "$LINENO"; then :
44656 glibcxx_cv_func_isinfl_use=yes
44657 else
44658 glibcxx_cv_func_isinfl_use=no
44659 fi
44660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44661 ac_ext=c
44662 ac_cpp='$CPP $CPPFLAGS'
44663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666
44667
44668 fi
44669
44670 fi
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44672 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44673
44674 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44675 for ac_func in isinfl
44676 do :
44677 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44678 if test "x$ac_cv_func_isinfl" = x""yes; then :
44679 cat >>confdefs.h <<_ACEOF
44680 #define HAVE_ISINFL 1
44681 _ACEOF
44682
44683 fi
44684 done
44685
44686 else
44687
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44689 $as_echo_n "checking for _isinfl declaration... " >&6; }
44690 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44691 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44692 $as_echo_n "(cached) " >&6
44693 else
44694
44695
44696 ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44701
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 #include <math.h>
44705 #ifdef HAVE_IEEEFP_H
44706 #include <ieeefp.h>
44707 #endif
44708
44709 int
44710 main ()
44711 {
44712 _isinfl(0);
44713 ;
44714 return 0;
44715 }
44716 _ACEOF
44717 if ac_fn_cxx_try_compile "$LINENO"; then :
44718 glibcxx_cv_func__isinfl_use=yes
44719 else
44720 glibcxx_cv_func__isinfl_use=no
44721 fi
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723 ac_ext=c
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44728
44729
44730 fi
44731
44732 fi
44733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44734 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44735
44736 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44737 for ac_func in _isinfl
44738 do :
44739 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44740 if test "x$ac_cv_func__isinfl" = x""yes; then :
44741 cat >>confdefs.h <<_ACEOF
44742 #define HAVE__ISINFL 1
44743 _ACEOF
44744
44745 fi
44746 done
44747
44748 fi
44749 fi
44750
44751
44752
44753
44754
44755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44756 $as_echo_n "checking for atan2l declaration... " >&6; }
44757 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44758 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44759 $as_echo_n "(cached) " >&6
44760 else
44761
44762
44763 ac_ext=cpp
44764 ac_cpp='$CXXCPP $CPPFLAGS'
44765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44768
44769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44770 /* end confdefs.h. */
44771 #include <math.h>
44772 int
44773 main ()
44774 {
44775 atan2l(0, 0);
44776 ;
44777 return 0;
44778 }
44779 _ACEOF
44780 if ac_fn_cxx_try_compile "$LINENO"; then :
44781 glibcxx_cv_func_atan2l_use=yes
44782 else
44783 glibcxx_cv_func_atan2l_use=no
44784 fi
44785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44786 ac_ext=c
44787 ac_cpp='$CPP $CPPFLAGS'
44788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44791
44792
44793 fi
44794
44795 fi
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44797 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44798
44799 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44800 for ac_func in atan2l
44801 do :
44802 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44803 if test "x$ac_cv_func_atan2l" = x""yes; then :
44804 cat >>confdefs.h <<_ACEOF
44805 #define HAVE_ATAN2L 1
44806 _ACEOF
44807
44808 fi
44809 done
44810
44811 else
44812
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44814 $as_echo_n "checking for _atan2l declaration... " >&6; }
44815 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44816 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44817 $as_echo_n "(cached) " >&6
44818 else
44819
44820
44821 ac_ext=cpp
44822 ac_cpp='$CXXCPP $CPPFLAGS'
44823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44826
44827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44828 /* end confdefs.h. */
44829 #include <math.h>
44830 int
44831 main ()
44832 {
44833 _atan2l(0, 0);
44834 ;
44835 return 0;
44836 }
44837 _ACEOF
44838 if ac_fn_cxx_try_compile "$LINENO"; then :
44839 glibcxx_cv_func__atan2l_use=yes
44840 else
44841 glibcxx_cv_func__atan2l_use=no
44842 fi
44843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44844 ac_ext=c
44845 ac_cpp='$CPP $CPPFLAGS'
44846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44849
44850
44851 fi
44852
44853 fi
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44855 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44856
44857 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44858 for ac_func in _atan2l
44859 do :
44860 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44861 if test "x$ac_cv_func__atan2l" = x""yes; then :
44862 cat >>confdefs.h <<_ACEOF
44863 #define HAVE__ATAN2L 1
44864 _ACEOF
44865
44866 fi
44867 done
44868
44869 fi
44870 fi
44871
44872
44873
44874
44875
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44877 $as_echo_n "checking for expl declaration... " >&6; }
44878 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44879 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44880 $as_echo_n "(cached) " >&6
44881 else
44882
44883
44884 ac_ext=cpp
44885 ac_cpp='$CXXCPP $CPPFLAGS'
44886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44889
44890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44891 /* end confdefs.h. */
44892 #include <math.h>
44893 #ifdef HAVE_IEEEFP_H
44894 #include <ieeefp.h>
44895 #endif
44896
44897 int
44898 main ()
44899 {
44900 expl(0);
44901 ;
44902 return 0;
44903 }
44904 _ACEOF
44905 if ac_fn_cxx_try_compile "$LINENO"; then :
44906 glibcxx_cv_func_expl_use=yes
44907 else
44908 glibcxx_cv_func_expl_use=no
44909 fi
44910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44911 ac_ext=c
44912 ac_cpp='$CPP $CPPFLAGS'
44913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44916
44917
44918 fi
44919
44920 fi
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44922 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44923
44924 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44925 for ac_func in expl
44926 do :
44927 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44928 if test "x$ac_cv_func_expl" = x""yes; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define HAVE_EXPL 1
44931 _ACEOF
44932
44933 fi
44934 done
44935
44936 else
44937
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44939 $as_echo_n "checking for _expl declaration... " >&6; }
44940 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44941 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44942 $as_echo_n "(cached) " >&6
44943 else
44944
44945
44946 ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44951
44952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h. */
44954 #include <math.h>
44955 #ifdef HAVE_IEEEFP_H
44956 #include <ieeefp.h>
44957 #endif
44958
44959 int
44960 main ()
44961 {
44962 _expl(0);
44963 ;
44964 return 0;
44965 }
44966 _ACEOF
44967 if ac_fn_cxx_try_compile "$LINENO"; then :
44968 glibcxx_cv_func__expl_use=yes
44969 else
44970 glibcxx_cv_func__expl_use=no
44971 fi
44972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44978
44979
44980 fi
44981
44982 fi
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44984 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44985
44986 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44987 for ac_func in _expl
44988 do :
44989 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44990 if test "x$ac_cv_func__expl" = x""yes; then :
44991 cat >>confdefs.h <<_ACEOF
44992 #define HAVE__EXPL 1
44993 _ACEOF
44994
44995 fi
44996 done
44997
44998 fi
44999 fi
45000
45001
45002
45003
45004
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45006 $as_echo_n "checking for fabsl declaration... " >&6; }
45007 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45008 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45009 $as_echo_n "(cached) " >&6
45010 else
45011
45012
45013 ac_ext=cpp
45014 ac_cpp='$CXXCPP $CPPFLAGS'
45015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45018
45019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45020 /* end confdefs.h. */
45021 #include <math.h>
45022 #ifdef HAVE_IEEEFP_H
45023 #include <ieeefp.h>
45024 #endif
45025
45026 int
45027 main ()
45028 {
45029 fabsl(0);
45030 ;
45031 return 0;
45032 }
45033 _ACEOF
45034 if ac_fn_cxx_try_compile "$LINENO"; then :
45035 glibcxx_cv_func_fabsl_use=yes
45036 else
45037 glibcxx_cv_func_fabsl_use=no
45038 fi
45039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45040 ac_ext=c
45041 ac_cpp='$CPP $CPPFLAGS'
45042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45045
45046
45047 fi
45048
45049 fi
45050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45051 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45052
45053 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45054 for ac_func in fabsl
45055 do :
45056 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45057 if test "x$ac_cv_func_fabsl" = x""yes; then :
45058 cat >>confdefs.h <<_ACEOF
45059 #define HAVE_FABSL 1
45060 _ACEOF
45061
45062 fi
45063 done
45064
45065 else
45066
45067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45068 $as_echo_n "checking for _fabsl declaration... " >&6; }
45069 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45070 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45071 $as_echo_n "(cached) " >&6
45072 else
45073
45074
45075 ac_ext=cpp
45076 ac_cpp='$CXXCPP $CPPFLAGS'
45077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45080
45081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45082 /* end confdefs.h. */
45083 #include <math.h>
45084 #ifdef HAVE_IEEEFP_H
45085 #include <ieeefp.h>
45086 #endif
45087
45088 int
45089 main ()
45090 {
45091 _fabsl(0);
45092 ;
45093 return 0;
45094 }
45095 _ACEOF
45096 if ac_fn_cxx_try_compile "$LINENO"; then :
45097 glibcxx_cv_func__fabsl_use=yes
45098 else
45099 glibcxx_cv_func__fabsl_use=no
45100 fi
45101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45102 ac_ext=c
45103 ac_cpp='$CPP $CPPFLAGS'
45104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45107
45108
45109 fi
45110
45111 fi
45112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45113 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45114
45115 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45116 for ac_func in _fabsl
45117 do :
45118 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45119 if test "x$ac_cv_func__fabsl" = x""yes; then :
45120 cat >>confdefs.h <<_ACEOF
45121 #define HAVE__FABSL 1
45122 _ACEOF
45123
45124 fi
45125 done
45126
45127 fi
45128 fi
45129
45130
45131
45132
45133
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45135 $as_echo_n "checking for fmodl declaration... " >&6; }
45136 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45137 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45138 $as_echo_n "(cached) " >&6
45139 else
45140
45141
45142 ac_ext=cpp
45143 ac_cpp='$CXXCPP $CPPFLAGS'
45144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45147
45148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45149 /* end confdefs.h. */
45150 #include <math.h>
45151 int
45152 main ()
45153 {
45154 fmodl(0, 0);
45155 ;
45156 return 0;
45157 }
45158 _ACEOF
45159 if ac_fn_cxx_try_compile "$LINENO"; then :
45160 glibcxx_cv_func_fmodl_use=yes
45161 else
45162 glibcxx_cv_func_fmodl_use=no
45163 fi
45164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45165 ac_ext=c
45166 ac_cpp='$CPP $CPPFLAGS'
45167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45170
45171
45172 fi
45173
45174 fi
45175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45176 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45177
45178 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45179 for ac_func in fmodl
45180 do :
45181 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45182 if test "x$ac_cv_func_fmodl" = x""yes; then :
45183 cat >>confdefs.h <<_ACEOF
45184 #define HAVE_FMODL 1
45185 _ACEOF
45186
45187 fi
45188 done
45189
45190 else
45191
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45193 $as_echo_n "checking for _fmodl declaration... " >&6; }
45194 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45195 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45196 $as_echo_n "(cached) " >&6
45197 else
45198
45199
45200 ac_ext=cpp
45201 ac_cpp='$CXXCPP $CPPFLAGS'
45202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45205
45206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45207 /* end confdefs.h. */
45208 #include <math.h>
45209 int
45210 main ()
45211 {
45212 _fmodl(0, 0);
45213 ;
45214 return 0;
45215 }
45216 _ACEOF
45217 if ac_fn_cxx_try_compile "$LINENO"; then :
45218 glibcxx_cv_func__fmodl_use=yes
45219 else
45220 glibcxx_cv_func__fmodl_use=no
45221 fi
45222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 ac_ext=c
45224 ac_cpp='$CPP $CPPFLAGS'
45225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45228
45229
45230 fi
45231
45232 fi
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45234 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45235
45236 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45237 for ac_func in _fmodl
45238 do :
45239 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45240 if test "x$ac_cv_func__fmodl" = x""yes; then :
45241 cat >>confdefs.h <<_ACEOF
45242 #define HAVE__FMODL 1
45243 _ACEOF
45244
45245 fi
45246 done
45247
45248 fi
45249 fi
45250
45251
45252
45253
45254
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45256 $as_echo_n "checking for frexpl declaration... " >&6; }
45257 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45258 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45259 $as_echo_n "(cached) " >&6
45260 else
45261
45262
45263 ac_ext=cpp
45264 ac_cpp='$CXXCPP $CPPFLAGS'
45265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268
45269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45270 /* end confdefs.h. */
45271 #include <math.h>
45272 int
45273 main ()
45274 {
45275 frexpl(0, 0);
45276 ;
45277 return 0;
45278 }
45279 _ACEOF
45280 if ac_fn_cxx_try_compile "$LINENO"; then :
45281 glibcxx_cv_func_frexpl_use=yes
45282 else
45283 glibcxx_cv_func_frexpl_use=no
45284 fi
45285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45286 ac_ext=c
45287 ac_cpp='$CPP $CPPFLAGS'
45288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45291
45292
45293 fi
45294
45295 fi
45296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45297 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45298
45299 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45300 for ac_func in frexpl
45301 do :
45302 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45303 if test "x$ac_cv_func_frexpl" = x""yes; then :
45304 cat >>confdefs.h <<_ACEOF
45305 #define HAVE_FREXPL 1
45306 _ACEOF
45307
45308 fi
45309 done
45310
45311 else
45312
45313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45314 $as_echo_n "checking for _frexpl declaration... " >&6; }
45315 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45316 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45317 $as_echo_n "(cached) " >&6
45318 else
45319
45320
45321 ac_ext=cpp
45322 ac_cpp='$CXXCPP $CPPFLAGS'
45323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45326
45327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45328 /* end confdefs.h. */
45329 #include <math.h>
45330 int
45331 main ()
45332 {
45333 _frexpl(0, 0);
45334 ;
45335 return 0;
45336 }
45337 _ACEOF
45338 if ac_fn_cxx_try_compile "$LINENO"; then :
45339 glibcxx_cv_func__frexpl_use=yes
45340 else
45341 glibcxx_cv_func__frexpl_use=no
45342 fi
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45344 ac_ext=c
45345 ac_cpp='$CPP $CPPFLAGS'
45346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45349
45350
45351 fi
45352
45353 fi
45354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45355 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45356
45357 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45358 for ac_func in _frexpl
45359 do :
45360 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45361 if test "x$ac_cv_func__frexpl" = x""yes; then :
45362 cat >>confdefs.h <<_ACEOF
45363 #define HAVE__FREXPL 1
45364 _ACEOF
45365
45366 fi
45367 done
45368
45369 fi
45370 fi
45371
45372
45373
45374
45375
45376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45377 $as_echo_n "checking for hypotl declaration... " >&6; }
45378 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45379 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45380 $as_echo_n "(cached) " >&6
45381 else
45382
45383
45384 ac_ext=cpp
45385 ac_cpp='$CXXCPP $CPPFLAGS'
45386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45389
45390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45391 /* end confdefs.h. */
45392 #include <math.h>
45393 int
45394 main ()
45395 {
45396 hypotl(0, 0);
45397 ;
45398 return 0;
45399 }
45400 _ACEOF
45401 if ac_fn_cxx_try_compile "$LINENO"; then :
45402 glibcxx_cv_func_hypotl_use=yes
45403 else
45404 glibcxx_cv_func_hypotl_use=no
45405 fi
45406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45407 ac_ext=c
45408 ac_cpp='$CPP $CPPFLAGS'
45409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45412
45413
45414 fi
45415
45416 fi
45417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45418 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45419
45420 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45421 for ac_func in hypotl
45422 do :
45423 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45424 if test "x$ac_cv_func_hypotl" = x""yes; then :
45425 cat >>confdefs.h <<_ACEOF
45426 #define HAVE_HYPOTL 1
45427 _ACEOF
45428
45429 fi
45430 done
45431
45432 else
45433
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45435 $as_echo_n "checking for _hypotl declaration... " >&6; }
45436 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45437 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45438 $as_echo_n "(cached) " >&6
45439 else
45440
45441
45442 ac_ext=cpp
45443 ac_cpp='$CXXCPP $CPPFLAGS'
45444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45447
45448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45449 /* end confdefs.h. */
45450 #include <math.h>
45451 int
45452 main ()
45453 {
45454 _hypotl(0, 0);
45455 ;
45456 return 0;
45457 }
45458 _ACEOF
45459 if ac_fn_cxx_try_compile "$LINENO"; then :
45460 glibcxx_cv_func__hypotl_use=yes
45461 else
45462 glibcxx_cv_func__hypotl_use=no
45463 fi
45464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45465 ac_ext=c
45466 ac_cpp='$CPP $CPPFLAGS'
45467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45470
45471
45472 fi
45473
45474 fi
45475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45476 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45477
45478 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45479 for ac_func in _hypotl
45480 do :
45481 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45482 if test "x$ac_cv_func__hypotl" = x""yes; then :
45483 cat >>confdefs.h <<_ACEOF
45484 #define HAVE__HYPOTL 1
45485 _ACEOF
45486
45487 fi
45488 done
45489
45490 fi
45491 fi
45492
45493
45494
45495
45496
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45498 $as_echo_n "checking for ldexpl declaration... " >&6; }
45499 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45500 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45501 $as_echo_n "(cached) " >&6
45502 else
45503
45504
45505 ac_ext=cpp
45506 ac_cpp='$CXXCPP $CPPFLAGS'
45507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45510
45511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45512 /* end confdefs.h. */
45513 #include <math.h>
45514 int
45515 main ()
45516 {
45517 ldexpl(0, 0);
45518 ;
45519 return 0;
45520 }
45521 _ACEOF
45522 if ac_fn_cxx_try_compile "$LINENO"; then :
45523 glibcxx_cv_func_ldexpl_use=yes
45524 else
45525 glibcxx_cv_func_ldexpl_use=no
45526 fi
45527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45528 ac_ext=c
45529 ac_cpp='$CPP $CPPFLAGS'
45530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45533
45534
45535 fi
45536
45537 fi
45538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45539 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45540
45541 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45542 for ac_func in ldexpl
45543 do :
45544 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45545 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45546 cat >>confdefs.h <<_ACEOF
45547 #define HAVE_LDEXPL 1
45548 _ACEOF
45549
45550 fi
45551 done
45552
45553 else
45554
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45556 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45557 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45558 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45559 $as_echo_n "(cached) " >&6
45560 else
45561
45562
45563 ac_ext=cpp
45564 ac_cpp='$CXXCPP $CPPFLAGS'
45565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45568
45569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45570 /* end confdefs.h. */
45571 #include <math.h>
45572 int
45573 main ()
45574 {
45575 _ldexpl(0, 0);
45576 ;
45577 return 0;
45578 }
45579 _ACEOF
45580 if ac_fn_cxx_try_compile "$LINENO"; then :
45581 glibcxx_cv_func__ldexpl_use=yes
45582 else
45583 glibcxx_cv_func__ldexpl_use=no
45584 fi
45585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45586 ac_ext=c
45587 ac_cpp='$CPP $CPPFLAGS'
45588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45591
45592
45593 fi
45594
45595 fi
45596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45597 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45598
45599 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45600 for ac_func in _ldexpl
45601 do :
45602 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45603 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45604 cat >>confdefs.h <<_ACEOF
45605 #define HAVE__LDEXPL 1
45606 _ACEOF
45607
45608 fi
45609 done
45610
45611 fi
45612 fi
45613
45614
45615
45616
45617
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45619 $as_echo_n "checking for logl declaration... " >&6; }
45620 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45621 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45622 $as_echo_n "(cached) " >&6
45623 else
45624
45625
45626 ac_ext=cpp
45627 ac_cpp='$CXXCPP $CPPFLAGS'
45628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631
45632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45633 /* end confdefs.h. */
45634 #include <math.h>
45635 #ifdef HAVE_IEEEFP_H
45636 #include <ieeefp.h>
45637 #endif
45638
45639 int
45640 main ()
45641 {
45642 logl(0);
45643 ;
45644 return 0;
45645 }
45646 _ACEOF
45647 if ac_fn_cxx_try_compile "$LINENO"; then :
45648 glibcxx_cv_func_logl_use=yes
45649 else
45650 glibcxx_cv_func_logl_use=no
45651 fi
45652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45653 ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45658
45659
45660 fi
45661
45662 fi
45663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45664 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45665
45666 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45667 for ac_func in logl
45668 do :
45669 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45670 if test "x$ac_cv_func_logl" = x""yes; then :
45671 cat >>confdefs.h <<_ACEOF
45672 #define HAVE_LOGL 1
45673 _ACEOF
45674
45675 fi
45676 done
45677
45678 else
45679
45680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45681 $as_echo_n "checking for _logl declaration... " >&6; }
45682 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45683 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45684 $as_echo_n "(cached) " >&6
45685 else
45686
45687
45688 ac_ext=cpp
45689 ac_cpp='$CXXCPP $CPPFLAGS'
45690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45693
45694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45695 /* end confdefs.h. */
45696 #include <math.h>
45697 #ifdef HAVE_IEEEFP_H
45698 #include <ieeefp.h>
45699 #endif
45700
45701 int
45702 main ()
45703 {
45704 _logl(0);
45705 ;
45706 return 0;
45707 }
45708 _ACEOF
45709 if ac_fn_cxx_try_compile "$LINENO"; then :
45710 glibcxx_cv_func__logl_use=yes
45711 else
45712 glibcxx_cv_func__logl_use=no
45713 fi
45714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45715 ac_ext=c
45716 ac_cpp='$CPP $CPPFLAGS'
45717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45720
45721
45722 fi
45723
45724 fi
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45726 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45727
45728 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45729 for ac_func in _logl
45730 do :
45731 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45732 if test "x$ac_cv_func__logl" = x""yes; then :
45733 cat >>confdefs.h <<_ACEOF
45734 #define HAVE__LOGL 1
45735 _ACEOF
45736
45737 fi
45738 done
45739
45740 fi
45741 fi
45742
45743
45744
45745
45746
45747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45748 $as_echo_n "checking for log10l declaration... " >&6; }
45749 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45750 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45751 $as_echo_n "(cached) " >&6
45752 else
45753
45754
45755 ac_ext=cpp
45756 ac_cpp='$CXXCPP $CPPFLAGS'
45757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45760
45761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45762 /* end confdefs.h. */
45763 #include <math.h>
45764 #ifdef HAVE_IEEEFP_H
45765 #include <ieeefp.h>
45766 #endif
45767
45768 int
45769 main ()
45770 {
45771 log10l(0);
45772 ;
45773 return 0;
45774 }
45775 _ACEOF
45776 if ac_fn_cxx_try_compile "$LINENO"; then :
45777 glibcxx_cv_func_log10l_use=yes
45778 else
45779 glibcxx_cv_func_log10l_use=no
45780 fi
45781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45782 ac_ext=c
45783 ac_cpp='$CPP $CPPFLAGS'
45784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787
45788
45789 fi
45790
45791 fi
45792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45793 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45794
45795 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45796 for ac_func in log10l
45797 do :
45798 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45799 if test "x$ac_cv_func_log10l" = x""yes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define HAVE_LOG10L 1
45802 _ACEOF
45803
45804 fi
45805 done
45806
45807 else
45808
45809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45810 $as_echo_n "checking for _log10l declaration... " >&6; }
45811 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45812 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45813 $as_echo_n "(cached) " >&6
45814 else
45815
45816
45817 ac_ext=cpp
45818 ac_cpp='$CXXCPP $CPPFLAGS'
45819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45822
45823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45824 /* end confdefs.h. */
45825 #include <math.h>
45826 #ifdef HAVE_IEEEFP_H
45827 #include <ieeefp.h>
45828 #endif
45829
45830 int
45831 main ()
45832 {
45833 _log10l(0);
45834 ;
45835 return 0;
45836 }
45837 _ACEOF
45838 if ac_fn_cxx_try_compile "$LINENO"; then :
45839 glibcxx_cv_func__log10l_use=yes
45840 else
45841 glibcxx_cv_func__log10l_use=no
45842 fi
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45849
45850
45851 fi
45852
45853 fi
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45855 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45856
45857 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45858 for ac_func in _log10l
45859 do :
45860 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45861 if test "x$ac_cv_func__log10l" = x""yes; then :
45862 cat >>confdefs.h <<_ACEOF
45863 #define HAVE__LOG10L 1
45864 _ACEOF
45865
45866 fi
45867 done
45868
45869 fi
45870 fi
45871
45872
45873
45874
45875
45876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45877 $as_echo_n "checking for modfl declaration... " >&6; }
45878 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45879 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45880 $as_echo_n "(cached) " >&6
45881 else
45882
45883
45884 ac_ext=cpp
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45889
45890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45891 /* end confdefs.h. */
45892 #include <math.h>
45893 int
45894 main ()
45895 {
45896 modfl(0, 0);
45897 ;
45898 return 0;
45899 }
45900 _ACEOF
45901 if ac_fn_cxx_try_compile "$LINENO"; then :
45902 glibcxx_cv_func_modfl_use=yes
45903 else
45904 glibcxx_cv_func_modfl_use=no
45905 fi
45906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 ac_ext=c
45908 ac_cpp='$CPP $CPPFLAGS'
45909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45912
45913
45914 fi
45915
45916 fi
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45918 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45919
45920 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45921 for ac_func in modfl
45922 do :
45923 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45924 if test "x$ac_cv_func_modfl" = x""yes; then :
45925 cat >>confdefs.h <<_ACEOF
45926 #define HAVE_MODFL 1
45927 _ACEOF
45928
45929 fi
45930 done
45931
45932 else
45933
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45935 $as_echo_n "checking for _modfl declaration... " >&6; }
45936 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45937 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45938 $as_echo_n "(cached) " >&6
45939 else
45940
45941
45942 ac_ext=cpp
45943 ac_cpp='$CXXCPP $CPPFLAGS'
45944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45947
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h. */
45950 #include <math.h>
45951 int
45952 main ()
45953 {
45954 _modfl(0, 0);
45955 ;
45956 return 0;
45957 }
45958 _ACEOF
45959 if ac_fn_cxx_try_compile "$LINENO"; then :
45960 glibcxx_cv_func__modfl_use=yes
45961 else
45962 glibcxx_cv_func__modfl_use=no
45963 fi
45964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45965 ac_ext=c
45966 ac_cpp='$CPP $CPPFLAGS'
45967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45970
45971
45972 fi
45973
45974 fi
45975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45976 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45977
45978 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45979 for ac_func in _modfl
45980 do :
45981 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45982 if test "x$ac_cv_func__modfl" = x""yes; then :
45983 cat >>confdefs.h <<_ACEOF
45984 #define HAVE__MODFL 1
45985 _ACEOF
45986
45987 fi
45988 done
45989
45990 fi
45991 fi
45992
45993
45994
45995
45996
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45998 $as_echo_n "checking for powl declaration... " >&6; }
45999 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46000 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46001 $as_echo_n "(cached) " >&6
46002 else
46003
46004
46005 ac_ext=cpp
46006 ac_cpp='$CXXCPP $CPPFLAGS'
46007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46010
46011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46012 /* end confdefs.h. */
46013 #include <math.h>
46014 int
46015 main ()
46016 {
46017 powl(0, 0);
46018 ;
46019 return 0;
46020 }
46021 _ACEOF
46022 if ac_fn_cxx_try_compile "$LINENO"; then :
46023 glibcxx_cv_func_powl_use=yes
46024 else
46025 glibcxx_cv_func_powl_use=no
46026 fi
46027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46028 ac_ext=c
46029 ac_cpp='$CPP $CPPFLAGS'
46030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46033
46034
46035 fi
46036
46037 fi
46038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46039 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46040
46041 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46042 for ac_func in powl
46043 do :
46044 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46045 if test "x$ac_cv_func_powl" = x""yes; then :
46046 cat >>confdefs.h <<_ACEOF
46047 #define HAVE_POWL 1
46048 _ACEOF
46049
46050 fi
46051 done
46052
46053 else
46054
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46056 $as_echo_n "checking for _powl declaration... " >&6; }
46057 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46058 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46059 $as_echo_n "(cached) " >&6
46060 else
46061
46062
46063 ac_ext=cpp
46064 ac_cpp='$CXXCPP $CPPFLAGS'
46065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46068
46069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46070 /* end confdefs.h. */
46071 #include <math.h>
46072 int
46073 main ()
46074 {
46075 _powl(0, 0);
46076 ;
46077 return 0;
46078 }
46079 _ACEOF
46080 if ac_fn_cxx_try_compile "$LINENO"; then :
46081 glibcxx_cv_func__powl_use=yes
46082 else
46083 glibcxx_cv_func__powl_use=no
46084 fi
46085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46086 ac_ext=c
46087 ac_cpp='$CPP $CPPFLAGS'
46088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46091
46092
46093 fi
46094
46095 fi
46096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46097 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46098
46099 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46100 for ac_func in _powl
46101 do :
46102 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46103 if test "x$ac_cv_func__powl" = x""yes; then :
46104 cat >>confdefs.h <<_ACEOF
46105 #define HAVE__POWL 1
46106 _ACEOF
46107
46108 fi
46109 done
46110
46111 fi
46112 fi
46113
46114
46115
46116
46117
46118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46119 $as_echo_n "checking for sqrtl declaration... " >&6; }
46120 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46121 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46122 $as_echo_n "(cached) " >&6
46123 else
46124
46125
46126 ac_ext=cpp
46127 ac_cpp='$CXXCPP $CPPFLAGS'
46128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46131
46132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46133 /* end confdefs.h. */
46134 #include <math.h>
46135 #ifdef HAVE_IEEEFP_H
46136 #include <ieeefp.h>
46137 #endif
46138
46139 int
46140 main ()
46141 {
46142 sqrtl(0);
46143 ;
46144 return 0;
46145 }
46146 _ACEOF
46147 if ac_fn_cxx_try_compile "$LINENO"; then :
46148 glibcxx_cv_func_sqrtl_use=yes
46149 else
46150 glibcxx_cv_func_sqrtl_use=no
46151 fi
46152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46153 ac_ext=c
46154 ac_cpp='$CPP $CPPFLAGS'
46155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46158
46159
46160 fi
46161
46162 fi
46163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46164 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46165
46166 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46167 for ac_func in sqrtl
46168 do :
46169 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46170 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46171 cat >>confdefs.h <<_ACEOF
46172 #define HAVE_SQRTL 1
46173 _ACEOF
46174
46175 fi
46176 done
46177
46178 else
46179
46180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46181 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46182 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46183 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46184 $as_echo_n "(cached) " >&6
46185 else
46186
46187
46188 ac_ext=cpp
46189 ac_cpp='$CXXCPP $CPPFLAGS'
46190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46193
46194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46195 /* end confdefs.h. */
46196 #include <math.h>
46197 #ifdef HAVE_IEEEFP_H
46198 #include <ieeefp.h>
46199 #endif
46200
46201 int
46202 main ()
46203 {
46204 _sqrtl(0);
46205 ;
46206 return 0;
46207 }
46208 _ACEOF
46209 if ac_fn_cxx_try_compile "$LINENO"; then :
46210 glibcxx_cv_func__sqrtl_use=yes
46211 else
46212 glibcxx_cv_func__sqrtl_use=no
46213 fi
46214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46215 ac_ext=c
46216 ac_cpp='$CPP $CPPFLAGS'
46217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46220
46221
46222 fi
46223
46224 fi
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46226 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46227
46228 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46229 for ac_func in _sqrtl
46230 do :
46231 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46232 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46233 cat >>confdefs.h <<_ACEOF
46234 #define HAVE__SQRTL 1
46235 _ACEOF
46236
46237 fi
46238 done
46239
46240 fi
46241 fi
46242
46243
46244
46245
46246
46247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46248 $as_echo_n "checking for sincosl declaration... " >&6; }
46249 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46250 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46251 $as_echo_n "(cached) " >&6
46252 else
46253
46254
46255 ac_ext=cpp
46256 ac_cpp='$CXXCPP $CPPFLAGS'
46257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46260
46261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46262 /* end confdefs.h. */
46263 #include <math.h>
46264 int
46265 main ()
46266 {
46267 sincosl(0, 0, 0);
46268 ;
46269 return 0;
46270 }
46271 _ACEOF
46272 if ac_fn_cxx_try_compile "$LINENO"; then :
46273 glibcxx_cv_func_sincosl_use=yes
46274 else
46275 glibcxx_cv_func_sincosl_use=no
46276 fi
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278 ac_ext=c
46279 ac_cpp='$CPP $CPPFLAGS'
46280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46283
46284
46285 fi
46286
46287 fi
46288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46289 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46290
46291 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46292 for ac_func in sincosl
46293 do :
46294 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46295 if test "x$ac_cv_func_sincosl" = x""yes; then :
46296 cat >>confdefs.h <<_ACEOF
46297 #define HAVE_SINCOSL 1
46298 _ACEOF
46299
46300 fi
46301 done
46302
46303 else
46304
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46306 $as_echo_n "checking for _sincosl declaration... " >&6; }
46307 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46308 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46309 $as_echo_n "(cached) " >&6
46310 else
46311
46312
46313 ac_ext=cpp
46314 ac_cpp='$CXXCPP $CPPFLAGS'
46315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46318
46319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46320 /* end confdefs.h. */
46321 #include <math.h>
46322 int
46323 main ()
46324 {
46325 _sincosl(0, 0, 0);
46326 ;
46327 return 0;
46328 }
46329 _ACEOF
46330 if ac_fn_cxx_try_compile "$LINENO"; then :
46331 glibcxx_cv_func__sincosl_use=yes
46332 else
46333 glibcxx_cv_func__sincosl_use=no
46334 fi
46335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46336 ac_ext=c
46337 ac_cpp='$CPP $CPPFLAGS'
46338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46341
46342
46343 fi
46344
46345 fi
46346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46347 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46348
46349 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46350 for ac_func in _sincosl
46351 do :
46352 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46353 if test "x$ac_cv_func__sincosl" = x""yes; then :
46354 cat >>confdefs.h <<_ACEOF
46355 #define HAVE__SINCOSL 1
46356 _ACEOF
46357
46358 fi
46359 done
46360
46361 fi
46362 fi
46363
46364
46365
46366
46367
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46369 $as_echo_n "checking for finitel declaration... " >&6; }
46370 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46371 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46372 $as_echo_n "(cached) " >&6
46373 else
46374
46375
46376 ac_ext=cpp
46377 ac_cpp='$CXXCPP $CPPFLAGS'
46378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46381
46382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46383 /* end confdefs.h. */
46384 #include <math.h>
46385 #ifdef HAVE_IEEEFP_H
46386 #include <ieeefp.h>
46387 #endif
46388
46389 int
46390 main ()
46391 {
46392 finitel(0);
46393 ;
46394 return 0;
46395 }
46396 _ACEOF
46397 if ac_fn_cxx_try_compile "$LINENO"; then :
46398 glibcxx_cv_func_finitel_use=yes
46399 else
46400 glibcxx_cv_func_finitel_use=no
46401 fi
46402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46403 ac_ext=c
46404 ac_cpp='$CPP $CPPFLAGS'
46405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46408
46409
46410 fi
46411
46412 fi
46413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46414 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46415
46416 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46417 for ac_func in finitel
46418 do :
46419 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46420 if test "x$ac_cv_func_finitel" = x""yes; then :
46421 cat >>confdefs.h <<_ACEOF
46422 #define HAVE_FINITEL 1
46423 _ACEOF
46424
46425 fi
46426 done
46427
46428 else
46429
46430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46431 $as_echo_n "checking for _finitel declaration... " >&6; }
46432 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46433 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46434 $as_echo_n "(cached) " >&6
46435 else
46436
46437
46438 ac_ext=cpp
46439 ac_cpp='$CXXCPP $CPPFLAGS'
46440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46443
46444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46445 /* end confdefs.h. */
46446 #include <math.h>
46447 #ifdef HAVE_IEEEFP_H
46448 #include <ieeefp.h>
46449 #endif
46450
46451 int
46452 main ()
46453 {
46454 _finitel(0);
46455 ;
46456 return 0;
46457 }
46458 _ACEOF
46459 if ac_fn_cxx_try_compile "$LINENO"; then :
46460 glibcxx_cv_func__finitel_use=yes
46461 else
46462 glibcxx_cv_func__finitel_use=no
46463 fi
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46470
46471
46472 fi
46473
46474 fi
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46476 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46477
46478 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46479 for ac_func in _finitel
46480 do :
46481 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46482 if test "x$ac_cv_func__finitel" = x""yes; then :
46483 cat >>confdefs.h <<_ACEOF
46484 #define HAVE__FINITEL 1
46485 _ACEOF
46486
46487 fi
46488 done
46489
46490 fi
46491 fi
46492
46493
46494
46495
46496 LIBS="$ac_save_LIBS"
46497 CXXFLAGS="$ac_save_CXXFLAGS"
46498
46499
46500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46501 ac_save_CXXFLAGS="$CXXFLAGS"
46502 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46503
46504
46505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46506 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46507 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46508 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46509 $as_echo_n "(cached) " >&6
46510 else
46511
46512
46513 ac_ext=cpp
46514 ac_cpp='$CXXCPP $CPPFLAGS'
46515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46518
46519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46520 /* end confdefs.h. */
46521 #include <stdlib.h>
46522 int
46523 main ()
46524 {
46525 at_quick_exit(0);
46526 ;
46527 return 0;
46528 }
46529 _ACEOF
46530 if ac_fn_cxx_try_compile "$LINENO"; then :
46531 glibcxx_cv_func_at_quick_exit_use=yes
46532 else
46533 glibcxx_cv_func_at_quick_exit_use=no
46534 fi
46535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46536 ac_ext=c
46537 ac_cpp='$CPP $CPPFLAGS'
46538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46541
46542
46543 fi
46544
46545 fi
46546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46547 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46548 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46549 for ac_func in at_quick_exit
46550 do :
46551 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46552 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46553 cat >>confdefs.h <<_ACEOF
46554 #define HAVE_AT_QUICK_EXIT 1
46555 _ACEOF
46556
46557 fi
46558 done
46559
46560 fi
46561
46562
46563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46564 $as_echo_n "checking for quick_exit declaration... " >&6; }
46565 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46566 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46567 $as_echo_n "(cached) " >&6
46568 else
46569
46570
46571 ac_ext=cpp
46572 ac_cpp='$CXXCPP $CPPFLAGS'
46573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46576
46577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46578 /* end confdefs.h. */
46579 #include <stdlib.h>
46580 int
46581 main ()
46582 {
46583 quick_exit(0);
46584 ;
46585 return 0;
46586 }
46587 _ACEOF
46588 if ac_fn_cxx_try_compile "$LINENO"; then :
46589 glibcxx_cv_func_quick_exit_use=yes
46590 else
46591 glibcxx_cv_func_quick_exit_use=no
46592 fi
46593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46594 ac_ext=c
46595 ac_cpp='$CPP $CPPFLAGS'
46596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46599
46600
46601 fi
46602
46603 fi
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46605 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46606 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46607 for ac_func in quick_exit
46608 do :
46609 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46610 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46611 cat >>confdefs.h <<_ACEOF
46612 #define HAVE_QUICK_EXIT 1
46613 _ACEOF
46614
46615 fi
46616 done
46617
46618 fi
46619
46620
46621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46622 $as_echo_n "checking for strtold declaration... " >&6; }
46623 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46624 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46625 $as_echo_n "(cached) " >&6
46626 else
46627
46628
46629 ac_ext=cpp
46630 ac_cpp='$CXXCPP $CPPFLAGS'
46631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46634
46635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46636 /* end confdefs.h. */
46637 #include <stdlib.h>
46638 int
46639 main ()
46640 {
46641 strtold(0, 0);
46642 ;
46643 return 0;
46644 }
46645 _ACEOF
46646 if ac_fn_cxx_try_compile "$LINENO"; then :
46647 glibcxx_cv_func_strtold_use=yes
46648 else
46649 glibcxx_cv_func_strtold_use=no
46650 fi
46651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_ext=c
46653 ac_cpp='$CPP $CPPFLAGS'
46654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46657
46658
46659 fi
46660
46661 fi
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46663 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46664 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46665 for ac_func in strtold
46666 do :
46667 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46668 if test "x$ac_cv_func_strtold" = x""yes; then :
46669 cat >>confdefs.h <<_ACEOF
46670 #define HAVE_STRTOLD 1
46671 _ACEOF
46672
46673 fi
46674 done
46675
46676 fi
46677
46678
46679
46680
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46682 $as_echo_n "checking for strtof declaration... " >&6; }
46683 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46684 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46687
46688
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <stdlib.h>
46698 int
46699 main ()
46700 {
46701 strtof(0, 0);
46702 ;
46703 return 0;
46704 }
46705 _ACEOF
46706 if ac_fn_cxx_try_compile "$LINENO"; then :
46707 glibcxx_cv_func_strtof_use=yes
46708 else
46709 glibcxx_cv_func_strtof_use=no
46710 fi
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712 ac_ext=c
46713 ac_cpp='$CPP $CPPFLAGS'
46714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46717
46718
46719 fi
46720
46721 fi
46722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46723 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46724 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46725 for ac_func in strtof
46726 do :
46727 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46728 if test "x$ac_cv_func_strtof" = x""yes; then :
46729 cat >>confdefs.h <<_ACEOF
46730 #define HAVE_STRTOF 1
46731 _ACEOF
46732
46733 fi
46734 done
46735
46736 fi
46737
46738
46739
46740
46741 CXXFLAGS="$ac_save_CXXFLAGS"
46742
46743 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46744
46745 # We don't yet support AIX's TLS ABI.
46746 #GCC_CHECK_TLS
46747
46748
46749
46750
46751
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46753 $as_echo_n "checking for iconv... " >&6; }
46754 if test "${am_cv_func_iconv+set}" = set; then :
46755 $as_echo_n "(cached) " >&6
46756 else
46757
46758 am_cv_func_iconv="no, consider installing GNU libiconv"
46759 am_cv_lib_iconv=no
46760 am_save_CPPFLAGS="$CPPFLAGS"
46761 CPPFLAGS="$CPPFLAGS $INCICONV"
46762 if test x$gcc_no_link = xyes; then
46763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46764 fi
46765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46766 /* end confdefs.h. */
46767 #include <stdlib.h>
46768 #include <iconv.h>
46769 int
46770 main ()
46771 {
46772 iconv_t cd = iconv_open("","");
46773 iconv(cd,NULL,NULL,NULL,NULL);
46774 iconv_close(cd);
46775 ;
46776 return 0;
46777 }
46778 _ACEOF
46779 if ac_fn_c_try_link "$LINENO"; then :
46780 am_cv_func_iconv=yes
46781 fi
46782 rm -f core conftest.err conftest.$ac_objext \
46783 conftest$ac_exeext conftest.$ac_ext
46784 CPPFLAGS="$am_save_CPPFLAGS"
46785
46786 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46787 for _libs in .libs _libs; do
46788 am_save_CPPFLAGS="$CPPFLAGS"
46789 am_save_LIBS="$LIBS"
46790 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46791 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46792 if test x$gcc_no_link = xyes; then
46793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46794 fi
46795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h. */
46797 #include <stdlib.h>
46798 #include <iconv.h>
46799 int
46800 main ()
46801 {
46802 iconv_t cd = iconv_open("","");
46803 iconv(cd,NULL,NULL,NULL,NULL);
46804 iconv_close(cd);
46805 ;
46806 return 0;
46807 }
46808 _ACEOF
46809 if ac_fn_c_try_link "$LINENO"; then :
46810 INCICONV="-I../libiconv/include"
46811 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46812 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46813 am_cv_lib_iconv=yes
46814 am_cv_func_iconv=yes
46815 fi
46816 rm -f core conftest.err conftest.$ac_objext \
46817 conftest$ac_exeext conftest.$ac_ext
46818 CPPFLAGS="$am_save_CPPFLAGS"
46819 LIBS="$am_save_LIBS"
46820 if test "$am_cv_func_iconv" = "yes"; then
46821 break
46822 fi
46823 done
46824 fi
46825
46826 if test "$am_cv_func_iconv" != yes; then
46827 am_save_CPPFLAGS="$CPPFLAGS"
46828 am_save_LIBS="$LIBS"
46829 CPPFLAGS="$LIBS $INCICONV"
46830 LIBS="$LIBS $LIBICONV"
46831 if test x$gcc_no_link = xyes; then
46832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46833 fi
46834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46835 /* end confdefs.h. */
46836 #include <stdlib.h>
46837 #include <iconv.h>
46838 int
46839 main ()
46840 {
46841 iconv_t cd = iconv_open("","");
46842 iconv(cd,NULL,NULL,NULL,NULL);
46843 iconv_close(cd);
46844 ;
46845 return 0;
46846 }
46847 _ACEOF
46848 if ac_fn_c_try_link "$LINENO"; then :
46849 am_cv_lib_iconv=yes
46850 am_cv_func_iconv=yes
46851 fi
46852 rm -f core conftest.err conftest.$ac_objext \
46853 conftest$ac_exeext conftest.$ac_ext
46854 CPPFLAGS="$am_save_CPPFLAGS"
46855 LIBS="$am_save_LIBS"
46856 fi
46857
46858 fi
46859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46860 $as_echo "$am_cv_func_iconv" >&6; }
46861 if test "$am_cv_func_iconv" = yes; then
46862
46863 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46864
46865 fi
46866 if test "$am_cv_lib_iconv" = yes; then
46867
46868 for element in $INCICONV; do
46869 haveit=
46870 for x in $CPPFLAGS; do
46871
46872 acl_save_prefix="$prefix"
46873 prefix="$acl_final_prefix"
46874 acl_save_exec_prefix="$exec_prefix"
46875 exec_prefix="$acl_final_exec_prefix"
46876 eval x=\"$x\"
46877 exec_prefix="$acl_save_exec_prefix"
46878 prefix="$acl_save_prefix"
46879
46880 if test "X$x" = "X$element"; then
46881 haveit=yes
46882 break
46883 fi
46884 done
46885 if test -z "$haveit"; then
46886 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46887 fi
46888 done
46889
46890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46891 $as_echo_n "checking how to link with libiconv... " >&6; }
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46893 $as_echo "$LIBICONV" >&6; }
46894 else
46895 LIBICONV=
46896 LTLIBICONV=
46897 fi
46898
46899
46900
46901 if test "$am_cv_func_iconv" = yes; then
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46903 $as_echo_n "checking for iconv declaration... " >&6; }
46904 if test "${am_cv_proto_iconv+set}" = set; then :
46905 $as_echo_n "(cached) " >&6
46906 else
46907
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910
46911 #include <stdlib.h>
46912 #include <iconv.h>
46913 extern
46914 #ifdef __cplusplus
46915 "C"
46916 #endif
46917 #if defined(__STDC__) || defined(__cplusplus)
46918 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46919 #else
46920 size_t iconv();
46921 #endif
46922
46923 int
46924 main ()
46925 {
46926
46927 ;
46928 return 0;
46929 }
46930 _ACEOF
46931 if ac_fn_c_try_compile "$LINENO"; then :
46932 am_cv_proto_iconv_arg1=""
46933 else
46934 am_cv_proto_iconv_arg1="const"
46935 fi
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 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);"
46938 fi
46939
46940 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46942 }$am_cv_proto_iconv" >&5
46943 $as_echo "${ac_t:-
46944 }$am_cv_proto_iconv" >&6; }
46945
46946 cat >>confdefs.h <<_ACEOF
46947 #define ICONV_CONST $am_cv_proto_iconv_arg1
46948 _ACEOF
46949
46950 fi
46951
46952 ;;
46953
46954 *-darwin*)
46955 # Darwin versions vary, but the linker should work in a cross environment,
46956 # so we just check for all the features here.
46957 # Check for available headers.
46958
46959 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46960
46961 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46962 ac_save_CXXFLAGS="$CXXFLAGS"
46963 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46964
46965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46966 $as_echo_n "checking for sin in -lm... " >&6; }
46967 if test "${ac_cv_lib_m_sin+set}" = set; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46970 ac_check_lib_save_LIBS=$LIBS
46971 LIBS="-lm $LIBS"
46972 if test x$gcc_no_link = xyes; then
46973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46974 fi
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977
46978 /* Override any GCC internal prototype to avoid an error.
46979 Use char because int might match the return type of a GCC
46980 builtin and then its argument prototype would still apply. */
46981 #ifdef __cplusplus
46982 extern "C"
46983 #endif
46984 char sin ();
46985 int
46986 main ()
46987 {
46988 return sin ();
46989 ;
46990 return 0;
46991 }
46992 _ACEOF
46993 if ac_fn_c_try_link "$LINENO"; then :
46994 ac_cv_lib_m_sin=yes
46995 else
46996 ac_cv_lib_m_sin=no
46997 fi
46998 rm -f core conftest.err conftest.$ac_objext \
46999 conftest$ac_exeext conftest.$ac_ext
47000 LIBS=$ac_check_lib_save_LIBS
47001 fi
47002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47003 $as_echo "$ac_cv_lib_m_sin" >&6; }
47004 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47005 libm="-lm"
47006 fi
47007
47008 ac_save_LIBS="$LIBS"
47009 LIBS="$LIBS $libm"
47010
47011
47012
47013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47014 $as_echo_n "checking for isinf declaration... " >&6; }
47015 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47016 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47017 $as_echo_n "(cached) " >&6
47018 else
47019
47020
47021 ac_ext=cpp
47022 ac_cpp='$CXXCPP $CPPFLAGS'
47023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47026
47027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47028 /* end confdefs.h. */
47029 #include <math.h>
47030 #ifdef HAVE_IEEEFP_H
47031 #include <ieeefp.h>
47032 #endif
47033
47034 int
47035 main ()
47036 {
47037 isinf(0);
47038 ;
47039 return 0;
47040 }
47041 _ACEOF
47042 if ac_fn_cxx_try_compile "$LINENO"; then :
47043 glibcxx_cv_func_isinf_use=yes
47044 else
47045 glibcxx_cv_func_isinf_use=no
47046 fi
47047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47048 ac_ext=c
47049 ac_cpp='$CPP $CPPFLAGS'
47050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47053
47054
47055 fi
47056
47057 fi
47058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47059 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47060
47061 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47062 for ac_func in isinf
47063 do :
47064 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47065 if test "x$ac_cv_func_isinf" = x""yes; then :
47066 cat >>confdefs.h <<_ACEOF
47067 #define HAVE_ISINF 1
47068 _ACEOF
47069
47070 fi
47071 done
47072
47073 else
47074
47075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47076 $as_echo_n "checking for _isinf declaration... " >&6; }
47077 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47078 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47079 $as_echo_n "(cached) " >&6
47080 else
47081
47082
47083 ac_ext=cpp
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47088
47089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h. */
47091 #include <math.h>
47092 #ifdef HAVE_IEEEFP_H
47093 #include <ieeefp.h>
47094 #endif
47095
47096 int
47097 main ()
47098 {
47099 _isinf(0);
47100 ;
47101 return 0;
47102 }
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105 glibcxx_cv_func__isinf_use=yes
47106 else
47107 glibcxx_cv_func__isinf_use=no
47108 fi
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115
47116
47117 fi
47118
47119 fi
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47121 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47122
47123 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47124 for ac_func in _isinf
47125 do :
47126 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47127 if test "x$ac_cv_func__isinf" = x""yes; then :
47128 cat >>confdefs.h <<_ACEOF
47129 #define HAVE__ISINF 1
47130 _ACEOF
47131
47132 fi
47133 done
47134
47135 fi
47136 fi
47137
47138
47139
47140
47141
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47143 $as_echo_n "checking for isnan declaration... " >&6; }
47144 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47145 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47148
47149
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47155
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47159 #ifdef HAVE_IEEEFP_H
47160 #include <ieeefp.h>
47161 #endif
47162
47163 int
47164 main ()
47165 {
47166 isnan(0);
47167 ;
47168 return 0;
47169 }
47170 _ACEOF
47171 if ac_fn_cxx_try_compile "$LINENO"; then :
47172 glibcxx_cv_func_isnan_use=yes
47173 else
47174 glibcxx_cv_func_isnan_use=no
47175 fi
47176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47177 ac_ext=c
47178 ac_cpp='$CPP $CPPFLAGS'
47179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47182
47183
47184 fi
47185
47186 fi
47187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47188 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47189
47190 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47191 for ac_func in isnan
47192 do :
47193 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47194 if test "x$ac_cv_func_isnan" = x""yes; then :
47195 cat >>confdefs.h <<_ACEOF
47196 #define HAVE_ISNAN 1
47197 _ACEOF
47198
47199 fi
47200 done
47201
47202 else
47203
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47205 $as_echo_n "checking for _isnan declaration... " >&6; }
47206 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47207 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47208 $as_echo_n "(cached) " >&6
47209 else
47210
47211
47212 ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217
47218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47219 /* end confdefs.h. */
47220 #include <math.h>
47221 #ifdef HAVE_IEEEFP_H
47222 #include <ieeefp.h>
47223 #endif
47224
47225 int
47226 main ()
47227 {
47228 _isnan(0);
47229 ;
47230 return 0;
47231 }
47232 _ACEOF
47233 if ac_fn_cxx_try_compile "$LINENO"; then :
47234 glibcxx_cv_func__isnan_use=yes
47235 else
47236 glibcxx_cv_func__isnan_use=no
47237 fi
47238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47239 ac_ext=c
47240 ac_cpp='$CPP $CPPFLAGS'
47241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47244
47245
47246 fi
47247
47248 fi
47249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47250 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47251
47252 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47253 for ac_func in _isnan
47254 do :
47255 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47256 if test "x$ac_cv_func__isnan" = x""yes; then :
47257 cat >>confdefs.h <<_ACEOF
47258 #define HAVE__ISNAN 1
47259 _ACEOF
47260
47261 fi
47262 done
47263
47264 fi
47265 fi
47266
47267
47268
47269
47270
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47272 $as_echo_n "checking for finite declaration... " >&6; }
47273 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47274 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47277
47278
47279 ac_ext=cpp
47280 ac_cpp='$CXXCPP $CPPFLAGS'
47281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47284
47285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47286 /* end confdefs.h. */
47287 #include <math.h>
47288 #ifdef HAVE_IEEEFP_H
47289 #include <ieeefp.h>
47290 #endif
47291
47292 int
47293 main ()
47294 {
47295 finite(0);
47296 ;
47297 return 0;
47298 }
47299 _ACEOF
47300 if ac_fn_cxx_try_compile "$LINENO"; then :
47301 glibcxx_cv_func_finite_use=yes
47302 else
47303 glibcxx_cv_func_finite_use=no
47304 fi
47305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47306 ac_ext=c
47307 ac_cpp='$CPP $CPPFLAGS'
47308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47311
47312
47313 fi
47314
47315 fi
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47317 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47318
47319 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47320 for ac_func in finite
47321 do :
47322 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47323 if test "x$ac_cv_func_finite" = x""yes; then :
47324 cat >>confdefs.h <<_ACEOF
47325 #define HAVE_FINITE 1
47326 _ACEOF
47327
47328 fi
47329 done
47330
47331 else
47332
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47334 $as_echo_n "checking for _finite declaration... " >&6; }
47335 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47336 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47337 $as_echo_n "(cached) " >&6
47338 else
47339
47340
47341 ac_ext=cpp
47342 ac_cpp='$CXXCPP $CPPFLAGS'
47343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346
47347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47348 /* end confdefs.h. */
47349 #include <math.h>
47350 #ifdef HAVE_IEEEFP_H
47351 #include <ieeefp.h>
47352 #endif
47353
47354 int
47355 main ()
47356 {
47357 _finite(0);
47358 ;
47359 return 0;
47360 }
47361 _ACEOF
47362 if ac_fn_cxx_try_compile "$LINENO"; then :
47363 glibcxx_cv_func__finite_use=yes
47364 else
47365 glibcxx_cv_func__finite_use=no
47366 fi
47367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47368 ac_ext=c
47369 ac_cpp='$CPP $CPPFLAGS'
47370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47373
47374
47375 fi
47376
47377 fi
47378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47379 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47380
47381 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47382 for ac_func in _finite
47383 do :
47384 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47385 if test "x$ac_cv_func__finite" = x""yes; then :
47386 cat >>confdefs.h <<_ACEOF
47387 #define HAVE__FINITE 1
47388 _ACEOF
47389
47390 fi
47391 done
47392
47393 fi
47394 fi
47395
47396
47397
47398
47399
47400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47401 $as_echo_n "checking for sincos declaration... " >&6; }
47402 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47403 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47404 $as_echo_n "(cached) " >&6
47405 else
47406
47407
47408 ac_ext=cpp
47409 ac_cpp='$CXXCPP $CPPFLAGS'
47410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47413
47414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47415 /* end confdefs.h. */
47416 #include <math.h>
47417 int
47418 main ()
47419 {
47420 sincos(0, 0, 0);
47421 ;
47422 return 0;
47423 }
47424 _ACEOF
47425 if ac_fn_cxx_try_compile "$LINENO"; then :
47426 glibcxx_cv_func_sincos_use=yes
47427 else
47428 glibcxx_cv_func_sincos_use=no
47429 fi
47430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47431 ac_ext=c
47432 ac_cpp='$CPP $CPPFLAGS'
47433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47436
47437
47438 fi
47439
47440 fi
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47442 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47443
47444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47445 for ac_func in sincos
47446 do :
47447 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47448 if test "x$ac_cv_func_sincos" = x""yes; then :
47449 cat >>confdefs.h <<_ACEOF
47450 #define HAVE_SINCOS 1
47451 _ACEOF
47452
47453 fi
47454 done
47455
47456 else
47457
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47459 $as_echo_n "checking for _sincos declaration... " >&6; }
47460 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47461 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47462 $as_echo_n "(cached) " >&6
47463 else
47464
47465
47466 ac_ext=cpp
47467 ac_cpp='$CXXCPP $CPPFLAGS'
47468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47471
47472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47473 /* end confdefs.h. */
47474 #include <math.h>
47475 int
47476 main ()
47477 {
47478 _sincos(0, 0, 0);
47479 ;
47480 return 0;
47481 }
47482 _ACEOF
47483 if ac_fn_cxx_try_compile "$LINENO"; then :
47484 glibcxx_cv_func__sincos_use=yes
47485 else
47486 glibcxx_cv_func__sincos_use=no
47487 fi
47488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47489 ac_ext=c
47490 ac_cpp='$CPP $CPPFLAGS'
47491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47494
47495
47496 fi
47497
47498 fi
47499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47500 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47501
47502 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47503 for ac_func in _sincos
47504 do :
47505 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47506 if test "x$ac_cv_func__sincos" = x""yes; then :
47507 cat >>confdefs.h <<_ACEOF
47508 #define HAVE__SINCOS 1
47509 _ACEOF
47510
47511 fi
47512 done
47513
47514 fi
47515 fi
47516
47517
47518
47519
47520
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47522 $as_echo_n "checking for fpclass declaration... " >&6; }
47523 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47524 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47525 $as_echo_n "(cached) " >&6
47526 else
47527
47528
47529 ac_ext=cpp
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534
47535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47536 /* end confdefs.h. */
47537 #include <math.h>
47538 #ifdef HAVE_IEEEFP_H
47539 #include <ieeefp.h>
47540 #endif
47541
47542 int
47543 main ()
47544 {
47545 fpclass(0);
47546 ;
47547 return 0;
47548 }
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func_fpclass_use=yes
47552 else
47553 glibcxx_cv_func_fpclass_use=no
47554 fi
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556 ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47561
47562
47563 fi
47564
47565 fi
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47567 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47568
47569 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47570 for ac_func in fpclass
47571 do :
47572 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47573 if test "x$ac_cv_func_fpclass" = x""yes; then :
47574 cat >>confdefs.h <<_ACEOF
47575 #define HAVE_FPCLASS 1
47576 _ACEOF
47577
47578 fi
47579 done
47580
47581 else
47582
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47584 $as_echo_n "checking for _fpclass declaration... " >&6; }
47585 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47586 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47587 $as_echo_n "(cached) " >&6
47588 else
47589
47590
47591 ac_ext=cpp
47592 ac_cpp='$CXXCPP $CPPFLAGS'
47593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47596
47597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47598 /* end confdefs.h. */
47599 #include <math.h>
47600 #ifdef HAVE_IEEEFP_H
47601 #include <ieeefp.h>
47602 #endif
47603
47604 int
47605 main ()
47606 {
47607 _fpclass(0);
47608 ;
47609 return 0;
47610 }
47611 _ACEOF
47612 if ac_fn_cxx_try_compile "$LINENO"; then :
47613 glibcxx_cv_func__fpclass_use=yes
47614 else
47615 glibcxx_cv_func__fpclass_use=no
47616 fi
47617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47618 ac_ext=c
47619 ac_cpp='$CPP $CPPFLAGS'
47620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47623
47624
47625 fi
47626
47627 fi
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47629 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47630
47631 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47632 for ac_func in _fpclass
47633 do :
47634 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47635 if test "x$ac_cv_func__fpclass" = x""yes; then :
47636 cat >>confdefs.h <<_ACEOF
47637 #define HAVE__FPCLASS 1
47638 _ACEOF
47639
47640 fi
47641 done
47642
47643 fi
47644 fi
47645
47646
47647
47648
47649
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47651 $as_echo_n "checking for qfpclass declaration... " >&6; }
47652 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47653 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47654 $as_echo_n "(cached) " >&6
47655 else
47656
47657
47658 ac_ext=cpp
47659 ac_cpp='$CXXCPP $CPPFLAGS'
47660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47663
47664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665 /* end confdefs.h. */
47666 #include <math.h>
47667 #ifdef HAVE_IEEEFP_H
47668 #include <ieeefp.h>
47669 #endif
47670
47671 int
47672 main ()
47673 {
47674 qfpclass(0);
47675 ;
47676 return 0;
47677 }
47678 _ACEOF
47679 if ac_fn_cxx_try_compile "$LINENO"; then :
47680 glibcxx_cv_func_qfpclass_use=yes
47681 else
47682 glibcxx_cv_func_qfpclass_use=no
47683 fi
47684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47685 ac_ext=c
47686 ac_cpp='$CPP $CPPFLAGS'
47687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47690
47691
47692 fi
47693
47694 fi
47695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47696 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47697
47698 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47699 for ac_func in qfpclass
47700 do :
47701 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47702 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47703 cat >>confdefs.h <<_ACEOF
47704 #define HAVE_QFPCLASS 1
47705 _ACEOF
47706
47707 fi
47708 done
47709
47710 else
47711
47712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47713 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47714 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47715 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47716 $as_echo_n "(cached) " >&6
47717 else
47718
47719
47720 ac_ext=cpp
47721 ac_cpp='$CXXCPP $CPPFLAGS'
47722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725
47726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47727 /* end confdefs.h. */
47728 #include <math.h>
47729 #ifdef HAVE_IEEEFP_H
47730 #include <ieeefp.h>
47731 #endif
47732
47733 int
47734 main ()
47735 {
47736 _qfpclass(0);
47737 ;
47738 return 0;
47739 }
47740 _ACEOF
47741 if ac_fn_cxx_try_compile "$LINENO"; then :
47742 glibcxx_cv_func__qfpclass_use=yes
47743 else
47744 glibcxx_cv_func__qfpclass_use=no
47745 fi
47746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47747 ac_ext=c
47748 ac_cpp='$CPP $CPPFLAGS'
47749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47752
47753
47754 fi
47755
47756 fi
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47758 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47759
47760 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47761 for ac_func in _qfpclass
47762 do :
47763 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47764 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47765 cat >>confdefs.h <<_ACEOF
47766 #define HAVE__QFPCLASS 1
47767 _ACEOF
47768
47769 fi
47770 done
47771
47772 fi
47773 fi
47774
47775
47776
47777
47778
47779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47780 $as_echo_n "checking for hypot declaration... " >&6; }
47781 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47782 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47783 $as_echo_n "(cached) " >&6
47784 else
47785
47786
47787 ac_ext=cpp
47788 ac_cpp='$CXXCPP $CPPFLAGS'
47789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47792
47793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47794 /* end confdefs.h. */
47795 #include <math.h>
47796 int
47797 main ()
47798 {
47799 hypot(0, 0);
47800 ;
47801 return 0;
47802 }
47803 _ACEOF
47804 if ac_fn_cxx_try_compile "$LINENO"; then :
47805 glibcxx_cv_func_hypot_use=yes
47806 else
47807 glibcxx_cv_func_hypot_use=no
47808 fi
47809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47810 ac_ext=c
47811 ac_cpp='$CPP $CPPFLAGS'
47812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47815
47816
47817 fi
47818
47819 fi
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47821 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47822
47823 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47824 for ac_func in hypot
47825 do :
47826 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47827 if test "x$ac_cv_func_hypot" = x""yes; then :
47828 cat >>confdefs.h <<_ACEOF
47829 #define HAVE_HYPOT 1
47830 _ACEOF
47831
47832 fi
47833 done
47834
47835 else
47836
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47838 $as_echo_n "checking for _hypot declaration... " >&6; }
47839 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47840 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47843
47844
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47850
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47854 int
47855 main ()
47856 {
47857 _hypot(0, 0);
47858 ;
47859 return 0;
47860 }
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863 glibcxx_cv_func__hypot_use=yes
47864 else
47865 glibcxx_cv_func__hypot_use=no
47866 fi
47867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47868 ac_ext=c
47869 ac_cpp='$CPP $CPPFLAGS'
47870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47873
47874
47875 fi
47876
47877 fi
47878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47879 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47880
47881 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47882 for ac_func in _hypot
47883 do :
47884 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47885 if test "x$ac_cv_func__hypot" = x""yes; then :
47886 cat >>confdefs.h <<_ACEOF
47887 #define HAVE__HYPOT 1
47888 _ACEOF
47889
47890 fi
47891 done
47892
47893 fi
47894 fi
47895
47896
47897
47898
47899
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47901 $as_echo_n "checking for float trig functions... " >&6; }
47902 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47903 $as_echo_n "(cached) " >&6
47904 else
47905
47906
47907 ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912
47913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h. */
47915 #include <math.h>
47916 int
47917 main ()
47918 {
47919 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47920 ;
47921 return 0;
47922 }
47923 _ACEOF
47924 if ac_fn_cxx_try_compile "$LINENO"; then :
47925 glibcxx_cv_func_float_trig_use=yes
47926 else
47927 glibcxx_cv_func_float_trig_use=no
47928 fi
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47930 ac_ext=c
47931 ac_cpp='$CPP $CPPFLAGS'
47932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935
47936 fi
47937
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47939 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47940 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47941 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47942 do :
47943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47945 eval as_val=\$$as_ac_var
47946 if test "x$as_val" = x""yes; then :
47947 cat >>confdefs.h <<_ACEOF
47948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47949 _ACEOF
47950
47951 fi
47952 done
47953
47954 else
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47956 $as_echo_n "checking for _float trig functions... " >&6; }
47957 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47958 $as_echo_n "(cached) " >&6
47959 else
47960
47961
47962 ac_ext=cpp
47963 ac_cpp='$CXXCPP $CPPFLAGS'
47964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47967
47968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47969 /* end confdefs.h. */
47970 #include <math.h>
47971 int
47972 main ()
47973 {
47974 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47975 ;
47976 return 0;
47977 }
47978 _ACEOF
47979 if ac_fn_cxx_try_compile "$LINENO"; then :
47980 glibcxx_cv_func__float_trig_use=yes
47981 else
47982 glibcxx_cv_func__float_trig_use=no
47983 fi
47984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47985 ac_ext=c
47986 ac_cpp='$CPP $CPPFLAGS'
47987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990
47991 fi
47992
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47994 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47995 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47996 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47997 do :
47998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48000 eval as_val=\$$as_ac_var
48001 if test "x$as_val" = x""yes; then :
48002 cat >>confdefs.h <<_ACEOF
48003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48004 _ACEOF
48005
48006 fi
48007 done
48008
48009 fi
48010 fi
48011
48012
48013
48014
48015
48016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48017 $as_echo_n "checking for float round functions... " >&6; }
48018 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48021
48022
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 int
48033 main ()
48034 {
48035 ceilf (0); floorf (0);
48036 ;
48037 return 0;
48038 }
48039 _ACEOF
48040 if ac_fn_cxx_try_compile "$LINENO"; then :
48041 glibcxx_cv_func_float_round_use=yes
48042 else
48043 glibcxx_cv_func_float_round_use=no
48044 fi
48045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48046 ac_ext=c
48047 ac_cpp='$CPP $CPPFLAGS'
48048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48051
48052 fi
48053
48054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48055 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48056 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48057 for ac_func in ceilf floorf
48058 do :
48059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48061 eval as_val=\$$as_ac_var
48062 if test "x$as_val" = x""yes; then :
48063 cat >>confdefs.h <<_ACEOF
48064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48065 _ACEOF
48066
48067 fi
48068 done
48069
48070 else
48071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48072 $as_echo_n "checking for _float round functions... " >&6; }
48073 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48074 $as_echo_n "(cached) " >&6
48075 else
48076
48077
48078 ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48086 #include <math.h>
48087 int
48088 main ()
48089 {
48090 _ceilf (0); _floorf (0);
48091 ;
48092 return 0;
48093 }
48094 _ACEOF
48095 if ac_fn_cxx_try_compile "$LINENO"; then :
48096 glibcxx_cv_func__float_round_use=yes
48097 else
48098 glibcxx_cv_func__float_round_use=no
48099 fi
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101 ac_ext=c
48102 ac_cpp='$CPP $CPPFLAGS'
48103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106
48107 fi
48108
48109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48110 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48111 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48112 for ac_func in _ceilf _floorf
48113 do :
48114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48116 eval as_val=\$$as_ac_var
48117 if test "x$as_val" = x""yes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48120 _ACEOF
48121
48122 fi
48123 done
48124
48125 fi
48126 fi
48127
48128
48129
48130
48131
48132
48133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48134 $as_echo_n "checking for expf declaration... " >&6; }
48135 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48136 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48137 $as_echo_n "(cached) " >&6
48138 else
48139
48140
48141 ac_ext=cpp
48142 ac_cpp='$CXXCPP $CPPFLAGS'
48143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48146
48147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48148 /* end confdefs.h. */
48149 #include <math.h>
48150 #ifdef HAVE_IEEEFP_H
48151 #include <ieeefp.h>
48152 #endif
48153
48154 int
48155 main ()
48156 {
48157 expf(0);
48158 ;
48159 return 0;
48160 }
48161 _ACEOF
48162 if ac_fn_cxx_try_compile "$LINENO"; then :
48163 glibcxx_cv_func_expf_use=yes
48164 else
48165 glibcxx_cv_func_expf_use=no
48166 fi
48167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48168 ac_ext=c
48169 ac_cpp='$CPP $CPPFLAGS'
48170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48173
48174
48175 fi
48176
48177 fi
48178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48179 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48180
48181 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48182 for ac_func in expf
48183 do :
48184 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48185 if test "x$ac_cv_func_expf" = x""yes; then :
48186 cat >>confdefs.h <<_ACEOF
48187 #define HAVE_EXPF 1
48188 _ACEOF
48189
48190 fi
48191 done
48192
48193 else
48194
48195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48196 $as_echo_n "checking for _expf declaration... " >&6; }
48197 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48198 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48199 $as_echo_n "(cached) " >&6
48200 else
48201
48202
48203 ac_ext=cpp
48204 ac_cpp='$CXXCPP $CPPFLAGS'
48205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208
48209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48210 /* end confdefs.h. */
48211 #include <math.h>
48212 #ifdef HAVE_IEEEFP_H
48213 #include <ieeefp.h>
48214 #endif
48215
48216 int
48217 main ()
48218 {
48219 _expf(0);
48220 ;
48221 return 0;
48222 }
48223 _ACEOF
48224 if ac_fn_cxx_try_compile "$LINENO"; then :
48225 glibcxx_cv_func__expf_use=yes
48226 else
48227 glibcxx_cv_func__expf_use=no
48228 fi
48229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230 ac_ext=c
48231 ac_cpp='$CPP $CPPFLAGS'
48232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235
48236
48237 fi
48238
48239 fi
48240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48241 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48242
48243 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48244 for ac_func in _expf
48245 do :
48246 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48247 if test "x$ac_cv_func__expf" = x""yes; then :
48248 cat >>confdefs.h <<_ACEOF
48249 #define HAVE__EXPF 1
48250 _ACEOF
48251
48252 fi
48253 done
48254
48255 fi
48256 fi
48257
48258
48259
48260
48261
48262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48263 $as_echo_n "checking for isnanf declaration... " >&6; }
48264 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48265 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48266 $as_echo_n "(cached) " >&6
48267 else
48268
48269
48270 ac_ext=cpp
48271 ac_cpp='$CXXCPP $CPPFLAGS'
48272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48275
48276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48277 /* end confdefs.h. */
48278 #include <math.h>
48279 #ifdef HAVE_IEEEFP_H
48280 #include <ieeefp.h>
48281 #endif
48282
48283 int
48284 main ()
48285 {
48286 isnanf(0);
48287 ;
48288 return 0;
48289 }
48290 _ACEOF
48291 if ac_fn_cxx_try_compile "$LINENO"; then :
48292 glibcxx_cv_func_isnanf_use=yes
48293 else
48294 glibcxx_cv_func_isnanf_use=no
48295 fi
48296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48297 ac_ext=c
48298 ac_cpp='$CPP $CPPFLAGS'
48299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48302
48303
48304 fi
48305
48306 fi
48307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48308 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48309
48310 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48311 for ac_func in isnanf
48312 do :
48313 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48314 if test "x$ac_cv_func_isnanf" = x""yes; then :
48315 cat >>confdefs.h <<_ACEOF
48316 #define HAVE_ISNANF 1
48317 _ACEOF
48318
48319 fi
48320 done
48321
48322 else
48323
48324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48325 $as_echo_n "checking for _isnanf declaration... " >&6; }
48326 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48327 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48328 $as_echo_n "(cached) " >&6
48329 else
48330
48331
48332 ac_ext=cpp
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48337
48338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48339 /* end confdefs.h. */
48340 #include <math.h>
48341 #ifdef HAVE_IEEEFP_H
48342 #include <ieeefp.h>
48343 #endif
48344
48345 int
48346 main ()
48347 {
48348 _isnanf(0);
48349 ;
48350 return 0;
48351 }
48352 _ACEOF
48353 if ac_fn_cxx_try_compile "$LINENO"; then :
48354 glibcxx_cv_func__isnanf_use=yes
48355 else
48356 glibcxx_cv_func__isnanf_use=no
48357 fi
48358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48359 ac_ext=c
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364
48365
48366 fi
48367
48368 fi
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48370 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48371
48372 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48373 for ac_func in _isnanf
48374 do :
48375 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48376 if test "x$ac_cv_func__isnanf" = x""yes; then :
48377 cat >>confdefs.h <<_ACEOF
48378 #define HAVE__ISNANF 1
48379 _ACEOF
48380
48381 fi
48382 done
48383
48384 fi
48385 fi
48386
48387
48388
48389
48390
48391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48392 $as_echo_n "checking for isinff declaration... " >&6; }
48393 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48394 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48395 $as_echo_n "(cached) " >&6
48396 else
48397
48398
48399 ac_ext=cpp
48400 ac_cpp='$CXXCPP $CPPFLAGS'
48401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404
48405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48406 /* end confdefs.h. */
48407 #include <math.h>
48408 #ifdef HAVE_IEEEFP_H
48409 #include <ieeefp.h>
48410 #endif
48411
48412 int
48413 main ()
48414 {
48415 isinff(0);
48416 ;
48417 return 0;
48418 }
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_isinff_use=yes
48422 else
48423 glibcxx_cv_func_isinff_use=no
48424 fi
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431
48432
48433 fi
48434
48435 fi
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48437 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48438
48439 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48440 for ac_func in isinff
48441 do :
48442 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48443 if test "x$ac_cv_func_isinff" = x""yes; then :
48444 cat >>confdefs.h <<_ACEOF
48445 #define HAVE_ISINFF 1
48446 _ACEOF
48447
48448 fi
48449 done
48450
48451 else
48452
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48454 $as_echo_n "checking for _isinff declaration... " >&6; }
48455 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48456 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48457 $as_echo_n "(cached) " >&6
48458 else
48459
48460
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466
48467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48468 /* end confdefs.h. */
48469 #include <math.h>
48470 #ifdef HAVE_IEEEFP_H
48471 #include <ieeefp.h>
48472 #endif
48473
48474 int
48475 main ()
48476 {
48477 _isinff(0);
48478 ;
48479 return 0;
48480 }
48481 _ACEOF
48482 if ac_fn_cxx_try_compile "$LINENO"; then :
48483 glibcxx_cv_func__isinff_use=yes
48484 else
48485 glibcxx_cv_func__isinff_use=no
48486 fi
48487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48488 ac_ext=c
48489 ac_cpp='$CPP $CPPFLAGS'
48490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48493
48494
48495 fi
48496
48497 fi
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48499 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48500
48501 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48502 for ac_func in _isinff
48503 do :
48504 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48505 if test "x$ac_cv_func__isinff" = x""yes; then :
48506 cat >>confdefs.h <<_ACEOF
48507 #define HAVE__ISINFF 1
48508 _ACEOF
48509
48510 fi
48511 done
48512
48513 fi
48514 fi
48515
48516
48517
48518
48519
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48521 $as_echo_n "checking for atan2f declaration... " >&6; }
48522 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48523 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48524 $as_echo_n "(cached) " >&6
48525 else
48526
48527
48528 ac_ext=cpp
48529 ac_cpp='$CXXCPP $CPPFLAGS'
48530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533
48534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48535 /* end confdefs.h. */
48536 #include <math.h>
48537 int
48538 main ()
48539 {
48540 atan2f(0, 0);
48541 ;
48542 return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func_atan2f_use=yes
48547 else
48548 glibcxx_cv_func_atan2f_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560 fi
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48562 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48563
48564 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48565 for ac_func in atan2f
48566 do :
48567 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48568 if test "x$ac_cv_func_atan2f" = x""yes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE_ATAN2F 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576 else
48577
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48579 $as_echo_n "checking for _atan2f declaration... " >&6; }
48580 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48581 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48582 $as_echo_n "(cached) " >&6
48583 else
48584
48585
48586 ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48591
48592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h. */
48594 #include <math.h>
48595 int
48596 main ()
48597 {
48598 _atan2f(0, 0);
48599 ;
48600 return 0;
48601 }
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604 glibcxx_cv_func__atan2f_use=yes
48605 else
48606 glibcxx_cv_func__atan2f_use=no
48607 fi
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609 ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48614
48615
48616 fi
48617
48618 fi
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48620 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48621
48622 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48623 for ac_func in _atan2f
48624 do :
48625 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48626 if test "x$ac_cv_func__atan2f" = x""yes; then :
48627 cat >>confdefs.h <<_ACEOF
48628 #define HAVE__ATAN2F 1
48629 _ACEOF
48630
48631 fi
48632 done
48633
48634 fi
48635 fi
48636
48637
48638
48639
48640
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48642 $as_echo_n "checking for fabsf declaration... " >&6; }
48643 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48644 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48645 $as_echo_n "(cached) " >&6
48646 else
48647
48648
48649 ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654
48655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h. */
48657 #include <math.h>
48658 #ifdef HAVE_IEEEFP_H
48659 #include <ieeefp.h>
48660 #endif
48661
48662 int
48663 main ()
48664 {
48665 fabsf(0);
48666 ;
48667 return 0;
48668 }
48669 _ACEOF
48670 if ac_fn_cxx_try_compile "$LINENO"; then :
48671 glibcxx_cv_func_fabsf_use=yes
48672 else
48673 glibcxx_cv_func_fabsf_use=no
48674 fi
48675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48676 ac_ext=c
48677 ac_cpp='$CPP $CPPFLAGS'
48678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48681
48682
48683 fi
48684
48685 fi
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48687 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48688
48689 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48690 for ac_func in fabsf
48691 do :
48692 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48693 if test "x$ac_cv_func_fabsf" = x""yes; then :
48694 cat >>confdefs.h <<_ACEOF
48695 #define HAVE_FABSF 1
48696 _ACEOF
48697
48698 fi
48699 done
48700
48701 else
48702
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48704 $as_echo_n "checking for _fabsf declaration... " >&6; }
48705 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48706 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48707 $as_echo_n "(cached) " >&6
48708 else
48709
48710
48711 ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716
48717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h. */
48719 #include <math.h>
48720 #ifdef HAVE_IEEEFP_H
48721 #include <ieeefp.h>
48722 #endif
48723
48724 int
48725 main ()
48726 {
48727 _fabsf(0);
48728 ;
48729 return 0;
48730 }
48731 _ACEOF
48732 if ac_fn_cxx_try_compile "$LINENO"; then :
48733 glibcxx_cv_func__fabsf_use=yes
48734 else
48735 glibcxx_cv_func__fabsf_use=no
48736 fi
48737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738 ac_ext=c
48739 ac_cpp='$CPP $CPPFLAGS'
48740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48743
48744
48745 fi
48746
48747 fi
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48749 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48750
48751 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48752 for ac_func in _fabsf
48753 do :
48754 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48755 if test "x$ac_cv_func__fabsf" = x""yes; then :
48756 cat >>confdefs.h <<_ACEOF
48757 #define HAVE__FABSF 1
48758 _ACEOF
48759
48760 fi
48761 done
48762
48763 fi
48764 fi
48765
48766
48767
48768
48769
48770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48771 $as_echo_n "checking for fmodf declaration... " >&6; }
48772 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48773 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48774 $as_echo_n "(cached) " >&6
48775 else
48776
48777
48778 ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48783
48784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h. */
48786 #include <math.h>
48787 int
48788 main ()
48789 {
48790 fmodf(0, 0);
48791 ;
48792 return 0;
48793 }
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796 glibcxx_cv_func_fmodf_use=yes
48797 else
48798 glibcxx_cv_func_fmodf_use=no
48799 fi
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801 ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806
48807
48808 fi
48809
48810 fi
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48812 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48813
48814 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48815 for ac_func in fmodf
48816 do :
48817 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48818 if test "x$ac_cv_func_fmodf" = x""yes; then :
48819 cat >>confdefs.h <<_ACEOF
48820 #define HAVE_FMODF 1
48821 _ACEOF
48822
48823 fi
48824 done
48825
48826 else
48827
48828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48829 $as_echo_n "checking for _fmodf declaration... " >&6; }
48830 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48831 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48832 $as_echo_n "(cached) " >&6
48833 else
48834
48835
48836 ac_ext=cpp
48837 ac_cpp='$CXXCPP $CPPFLAGS'
48838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48841
48842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48843 /* end confdefs.h. */
48844 #include <math.h>
48845 int
48846 main ()
48847 {
48848 _fmodf(0, 0);
48849 ;
48850 return 0;
48851 }
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854 glibcxx_cv_func__fmodf_use=yes
48855 else
48856 glibcxx_cv_func__fmodf_use=no
48857 fi
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864
48865
48866 fi
48867
48868 fi
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48870 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48871
48872 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48873 for ac_func in _fmodf
48874 do :
48875 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48876 if test "x$ac_cv_func__fmodf" = x""yes; then :
48877 cat >>confdefs.h <<_ACEOF
48878 #define HAVE__FMODF 1
48879 _ACEOF
48880
48881 fi
48882 done
48883
48884 fi
48885 fi
48886
48887
48888
48889
48890
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48892 $as_echo_n "checking for frexpf declaration... " >&6; }
48893 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48894 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48895 $as_echo_n "(cached) " >&6
48896 else
48897
48898
48899 ac_ext=cpp
48900 ac_cpp='$CXXCPP $CPPFLAGS'
48901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904
48905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48906 /* end confdefs.h. */
48907 #include <math.h>
48908 int
48909 main ()
48910 {
48911 frexpf(0, 0);
48912 ;
48913 return 0;
48914 }
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917 glibcxx_cv_func_frexpf_use=yes
48918 else
48919 glibcxx_cv_func_frexpf_use=no
48920 fi
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922 ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48927
48928
48929 fi
48930
48931 fi
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48933 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48934
48935 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48936 for ac_func in frexpf
48937 do :
48938 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48939 if test "x$ac_cv_func_frexpf" = x""yes; then :
48940 cat >>confdefs.h <<_ACEOF
48941 #define HAVE_FREXPF 1
48942 _ACEOF
48943
48944 fi
48945 done
48946
48947 else
48948
48949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48950 $as_echo_n "checking for _frexpf declaration... " >&6; }
48951 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48952 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48953 $as_echo_n "(cached) " >&6
48954 else
48955
48956
48957 ac_ext=cpp
48958 ac_cpp='$CXXCPP $CPPFLAGS'
48959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48962
48963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48964 /* end confdefs.h. */
48965 #include <math.h>
48966 int
48967 main ()
48968 {
48969 _frexpf(0, 0);
48970 ;
48971 return 0;
48972 }
48973 _ACEOF
48974 if ac_fn_cxx_try_compile "$LINENO"; then :
48975 glibcxx_cv_func__frexpf_use=yes
48976 else
48977 glibcxx_cv_func__frexpf_use=no
48978 fi
48979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48980 ac_ext=c
48981 ac_cpp='$CPP $CPPFLAGS'
48982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48985
48986
48987 fi
48988
48989 fi
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48991 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48992
48993 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48994 for ac_func in _frexpf
48995 do :
48996 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48997 if test "x$ac_cv_func__frexpf" = x""yes; then :
48998 cat >>confdefs.h <<_ACEOF
48999 #define HAVE__FREXPF 1
49000 _ACEOF
49001
49002 fi
49003 done
49004
49005 fi
49006 fi
49007
49008
49009
49010
49011
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49013 $as_echo_n "checking for hypotf declaration... " >&6; }
49014 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49015 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49016 $as_echo_n "(cached) " >&6
49017 else
49018
49019
49020 ac_ext=cpp
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025
49026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h. */
49028 #include <math.h>
49029 int
49030 main ()
49031 {
49032 hypotf(0, 0);
49033 ;
49034 return 0;
49035 }
49036 _ACEOF
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038 glibcxx_cv_func_hypotf_use=yes
49039 else
49040 glibcxx_cv_func_hypotf_use=no
49041 fi
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043 ac_ext=c
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49048
49049
49050 fi
49051
49052 fi
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49054 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49055
49056 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49057 for ac_func in hypotf
49058 do :
49059 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49060 if test "x$ac_cv_func_hypotf" = x""yes; then :
49061 cat >>confdefs.h <<_ACEOF
49062 #define HAVE_HYPOTF 1
49063 _ACEOF
49064
49065 fi
49066 done
49067
49068 else
49069
49070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49071 $as_echo_n "checking for _hypotf declaration... " >&6; }
49072 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49073 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49074 $as_echo_n "(cached) " >&6
49075 else
49076
49077
49078 ac_ext=cpp
49079 ac_cpp='$CXXCPP $CPPFLAGS'
49080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49083
49084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49085 /* end confdefs.h. */
49086 #include <math.h>
49087 int
49088 main ()
49089 {
49090 _hypotf(0, 0);
49091 ;
49092 return 0;
49093 }
49094 _ACEOF
49095 if ac_fn_cxx_try_compile "$LINENO"; then :
49096 glibcxx_cv_func__hypotf_use=yes
49097 else
49098 glibcxx_cv_func__hypotf_use=no
49099 fi
49100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49101 ac_ext=c
49102 ac_cpp='$CPP $CPPFLAGS'
49103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49106
49107
49108 fi
49109
49110 fi
49111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49112 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49113
49114 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49115 for ac_func in _hypotf
49116 do :
49117 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49118 if test "x$ac_cv_func__hypotf" = x""yes; then :
49119 cat >>confdefs.h <<_ACEOF
49120 #define HAVE__HYPOTF 1
49121 _ACEOF
49122
49123 fi
49124 done
49125
49126 fi
49127 fi
49128
49129
49130
49131
49132
49133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49134 $as_echo_n "checking for ldexpf declaration... " >&6; }
49135 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49136 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49137 $as_echo_n "(cached) " >&6
49138 else
49139
49140
49141 ac_ext=cpp
49142 ac_cpp='$CXXCPP $CPPFLAGS'
49143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49146
49147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49148 /* end confdefs.h. */
49149 #include <math.h>
49150 int
49151 main ()
49152 {
49153 ldexpf(0, 0);
49154 ;
49155 return 0;
49156 }
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func_ldexpf_use=yes
49160 else
49161 glibcxx_cv_func_ldexpf_use=no
49162 fi
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164 ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49169
49170
49171 fi
49172
49173 fi
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49175 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49176
49177 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49178 for ac_func in ldexpf
49179 do :
49180 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49181 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49182 cat >>confdefs.h <<_ACEOF
49183 #define HAVE_LDEXPF 1
49184 _ACEOF
49185
49186 fi
49187 done
49188
49189 else
49190
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49192 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49193 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49194 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49195 $as_echo_n "(cached) " >&6
49196 else
49197
49198
49199 ac_ext=cpp
49200 ac_cpp='$CXXCPP $CPPFLAGS'
49201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49204
49205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49206 /* end confdefs.h. */
49207 #include <math.h>
49208 int
49209 main ()
49210 {
49211 _ldexpf(0, 0);
49212 ;
49213 return 0;
49214 }
49215 _ACEOF
49216 if ac_fn_cxx_try_compile "$LINENO"; then :
49217 glibcxx_cv_func__ldexpf_use=yes
49218 else
49219 glibcxx_cv_func__ldexpf_use=no
49220 fi
49221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49222 ac_ext=c
49223 ac_cpp='$CPP $CPPFLAGS'
49224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49227
49228
49229 fi
49230
49231 fi
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49233 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49234
49235 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49236 for ac_func in _ldexpf
49237 do :
49238 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49239 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49240 cat >>confdefs.h <<_ACEOF
49241 #define HAVE__LDEXPF 1
49242 _ACEOF
49243
49244 fi
49245 done
49246
49247 fi
49248 fi
49249
49250
49251
49252
49253
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49255 $as_echo_n "checking for logf declaration... " >&6; }
49256 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49257 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49258 $as_echo_n "(cached) " >&6
49259 else
49260
49261
49262 ac_ext=cpp
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49267
49268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h. */
49270 #include <math.h>
49271 #ifdef HAVE_IEEEFP_H
49272 #include <ieeefp.h>
49273 #endif
49274
49275 int
49276 main ()
49277 {
49278 logf(0);
49279 ;
49280 return 0;
49281 }
49282 _ACEOF
49283 if ac_fn_cxx_try_compile "$LINENO"; then :
49284 glibcxx_cv_func_logf_use=yes
49285 else
49286 glibcxx_cv_func_logf_use=no
49287 fi
49288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49289 ac_ext=c
49290 ac_cpp='$CPP $CPPFLAGS'
49291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49294
49295
49296 fi
49297
49298 fi
49299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49300 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49301
49302 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49303 for ac_func in logf
49304 do :
49305 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49306 if test "x$ac_cv_func_logf" = x""yes; then :
49307 cat >>confdefs.h <<_ACEOF
49308 #define HAVE_LOGF 1
49309 _ACEOF
49310
49311 fi
49312 done
49313
49314 else
49315
49316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49317 $as_echo_n "checking for _logf declaration... " >&6; }
49318 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49319 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49320 $as_echo_n "(cached) " >&6
49321 else
49322
49323
49324 ac_ext=cpp
49325 ac_cpp='$CXXCPP $CPPFLAGS'
49326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329
49330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49331 /* end confdefs.h. */
49332 #include <math.h>
49333 #ifdef HAVE_IEEEFP_H
49334 #include <ieeefp.h>
49335 #endif
49336
49337 int
49338 main ()
49339 {
49340 _logf(0);
49341 ;
49342 return 0;
49343 }
49344 _ACEOF
49345 if ac_fn_cxx_try_compile "$LINENO"; then :
49346 glibcxx_cv_func__logf_use=yes
49347 else
49348 glibcxx_cv_func__logf_use=no
49349 fi
49350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49351 ac_ext=c
49352 ac_cpp='$CPP $CPPFLAGS'
49353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49356
49357
49358 fi
49359
49360 fi
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49362 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49363
49364 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49365 for ac_func in _logf
49366 do :
49367 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49368 if test "x$ac_cv_func__logf" = x""yes; then :
49369 cat >>confdefs.h <<_ACEOF
49370 #define HAVE__LOGF 1
49371 _ACEOF
49372
49373 fi
49374 done
49375
49376 fi
49377 fi
49378
49379
49380
49381
49382
49383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49384 $as_echo_n "checking for log10f declaration... " >&6; }
49385 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49386 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49387 $as_echo_n "(cached) " >&6
49388 else
49389
49390
49391 ac_ext=cpp
49392 ac_cpp='$CXXCPP $CPPFLAGS'
49393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49396
49397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49398 /* end confdefs.h. */
49399 #include <math.h>
49400 #ifdef HAVE_IEEEFP_H
49401 #include <ieeefp.h>
49402 #endif
49403
49404 int
49405 main ()
49406 {
49407 log10f(0);
49408 ;
49409 return 0;
49410 }
49411 _ACEOF
49412 if ac_fn_cxx_try_compile "$LINENO"; then :
49413 glibcxx_cv_func_log10f_use=yes
49414 else
49415 glibcxx_cv_func_log10f_use=no
49416 fi
49417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49418 ac_ext=c
49419 ac_cpp='$CPP $CPPFLAGS'
49420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49423
49424
49425 fi
49426
49427 fi
49428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49429 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49430
49431 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49432 for ac_func in log10f
49433 do :
49434 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49435 if test "x$ac_cv_func_log10f" = x""yes; then :
49436 cat >>confdefs.h <<_ACEOF
49437 #define HAVE_LOG10F 1
49438 _ACEOF
49439
49440 fi
49441 done
49442
49443 else
49444
49445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49446 $as_echo_n "checking for _log10f declaration... " >&6; }
49447 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49448 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49449 $as_echo_n "(cached) " >&6
49450 else
49451
49452
49453 ac_ext=cpp
49454 ac_cpp='$CXXCPP $CPPFLAGS'
49455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49458
49459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49460 /* end confdefs.h. */
49461 #include <math.h>
49462 #ifdef HAVE_IEEEFP_H
49463 #include <ieeefp.h>
49464 #endif
49465
49466 int
49467 main ()
49468 {
49469 _log10f(0);
49470 ;
49471 return 0;
49472 }
49473 _ACEOF
49474 if ac_fn_cxx_try_compile "$LINENO"; then :
49475 glibcxx_cv_func__log10f_use=yes
49476 else
49477 glibcxx_cv_func__log10f_use=no
49478 fi
49479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49480 ac_ext=c
49481 ac_cpp='$CPP $CPPFLAGS'
49482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49485
49486
49487 fi
49488
49489 fi
49490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49491 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49492
49493 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49494 for ac_func in _log10f
49495 do :
49496 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49497 if test "x$ac_cv_func__log10f" = x""yes; then :
49498 cat >>confdefs.h <<_ACEOF
49499 #define HAVE__LOG10F 1
49500 _ACEOF
49501
49502 fi
49503 done
49504
49505 fi
49506 fi
49507
49508
49509
49510
49511
49512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49513 $as_echo_n "checking for modff declaration... " >&6; }
49514 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49515 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49516 $as_echo_n "(cached) " >&6
49517 else
49518
49519
49520 ac_ext=cpp
49521 ac_cpp='$CXXCPP $CPPFLAGS'
49522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49525
49526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49527 /* end confdefs.h. */
49528 #include <math.h>
49529 int
49530 main ()
49531 {
49532 modff(0, 0);
49533 ;
49534 return 0;
49535 }
49536 _ACEOF
49537 if ac_fn_cxx_try_compile "$LINENO"; then :
49538 glibcxx_cv_func_modff_use=yes
49539 else
49540 glibcxx_cv_func_modff_use=no
49541 fi
49542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49543 ac_ext=c
49544 ac_cpp='$CPP $CPPFLAGS'
49545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49548
49549
49550 fi
49551
49552 fi
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49554 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49555
49556 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49557 for ac_func in modff
49558 do :
49559 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49560 if test "x$ac_cv_func_modff" = x""yes; then :
49561 cat >>confdefs.h <<_ACEOF
49562 #define HAVE_MODFF 1
49563 _ACEOF
49564
49565 fi
49566 done
49567
49568 else
49569
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49571 $as_echo_n "checking for _modff declaration... " >&6; }
49572 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49573 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__modff_use=yes
49597 else
49598 glibcxx_cv_func__modff_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
49608 fi
49609
49610 fi
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49612 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49613
49614 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49615 for ac_func in _modff
49616 do :
49617 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49618 if test "x$ac_cv_func__modff" = x""yes; then :
49619 cat >>confdefs.h <<_ACEOF
49620 #define HAVE__MODFF 1
49621 _ACEOF
49622
49623 fi
49624 done
49625
49626 fi
49627 fi
49628
49629
49630
49631
49632
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49634 $as_echo_n "checking for modf declaration... " >&6; }
49635 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49636 if test "${glibcxx_cv_func_modf_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 int
49651 main ()
49652 {
49653 modf(0, 0);
49654 ;
49655 return 0;
49656 }
49657 _ACEOF
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659 glibcxx_cv_func_modf_use=yes
49660 else
49661 glibcxx_cv_func_modf_use=no
49662 fi
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49664 ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669
49670
49671 fi
49672
49673 fi
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49675 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49676
49677 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49678 for ac_func in modf
49679 do :
49680 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49681 if test "x$ac_cv_func_modf" = x""yes; then :
49682 cat >>confdefs.h <<_ACEOF
49683 #define HAVE_MODF 1
49684 _ACEOF
49685
49686 fi
49687 done
49688
49689 else
49690
49691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49692 $as_echo_n "checking for _modf declaration... " >&6; }
49693 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49694 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49695 $as_echo_n "(cached) " >&6
49696 else
49697
49698
49699 ac_ext=cpp
49700 ac_cpp='$CXXCPP $CPPFLAGS'
49701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49704
49705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49706 /* end confdefs.h. */
49707 #include <math.h>
49708 int
49709 main ()
49710 {
49711 _modf(0, 0);
49712 ;
49713 return 0;
49714 }
49715 _ACEOF
49716 if ac_fn_cxx_try_compile "$LINENO"; then :
49717 glibcxx_cv_func__modf_use=yes
49718 else
49719 glibcxx_cv_func__modf_use=no
49720 fi
49721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49722 ac_ext=c
49723 ac_cpp='$CPP $CPPFLAGS'
49724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49727
49728
49729 fi
49730
49731 fi
49732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49733 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49734
49735 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49736 for ac_func in _modf
49737 do :
49738 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49739 if test "x$ac_cv_func__modf" = x""yes; then :
49740 cat >>confdefs.h <<_ACEOF
49741 #define HAVE__MODF 1
49742 _ACEOF
49743
49744 fi
49745 done
49746
49747 fi
49748 fi
49749
49750
49751
49752
49753
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49755 $as_echo_n "checking for powf declaration... " >&6; }
49756 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49757 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49758 $as_echo_n "(cached) " >&6
49759 else
49760
49761
49762 ac_ext=cpp
49763 ac_cpp='$CXXCPP $CPPFLAGS'
49764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49767
49768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49769 /* end confdefs.h. */
49770 #include <math.h>
49771 int
49772 main ()
49773 {
49774 powf(0, 0);
49775 ;
49776 return 0;
49777 }
49778 _ACEOF
49779 if ac_fn_cxx_try_compile "$LINENO"; then :
49780 glibcxx_cv_func_powf_use=yes
49781 else
49782 glibcxx_cv_func_powf_use=no
49783 fi
49784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49785 ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49790
49791
49792 fi
49793
49794 fi
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49796 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49797
49798 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49799 for ac_func in powf
49800 do :
49801 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49802 if test "x$ac_cv_func_powf" = x""yes; then :
49803 cat >>confdefs.h <<_ACEOF
49804 #define HAVE_POWF 1
49805 _ACEOF
49806
49807 fi
49808 done
49809
49810 else
49811
49812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49813 $as_echo_n "checking for _powf declaration... " >&6; }
49814 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49815 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49816 $as_echo_n "(cached) " >&6
49817 else
49818
49819
49820 ac_ext=cpp
49821 ac_cpp='$CXXCPP $CPPFLAGS'
49822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49825
49826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49827 /* end confdefs.h. */
49828 #include <math.h>
49829 int
49830 main ()
49831 {
49832 _powf(0, 0);
49833 ;
49834 return 0;
49835 }
49836 _ACEOF
49837 if ac_fn_cxx_try_compile "$LINENO"; then :
49838 glibcxx_cv_func__powf_use=yes
49839 else
49840 glibcxx_cv_func__powf_use=no
49841 fi
49842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49843 ac_ext=c
49844 ac_cpp='$CPP $CPPFLAGS'
49845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49848
49849
49850 fi
49851
49852 fi
49853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49854 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49855
49856 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49857 for ac_func in _powf
49858 do :
49859 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49860 if test "x$ac_cv_func__powf" = x""yes; then :
49861 cat >>confdefs.h <<_ACEOF
49862 #define HAVE__POWF 1
49863 _ACEOF
49864
49865 fi
49866 done
49867
49868 fi
49869 fi
49870
49871
49872
49873
49874
49875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49876 $as_echo_n "checking for sqrtf declaration... " >&6; }
49877 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49878 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49879 $as_echo_n "(cached) " >&6
49880 else
49881
49882
49883 ac_ext=cpp
49884 ac_cpp='$CXXCPP $CPPFLAGS'
49885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49888
49889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49890 /* end confdefs.h. */
49891 #include <math.h>
49892 #ifdef HAVE_IEEEFP_H
49893 #include <ieeefp.h>
49894 #endif
49895
49896 int
49897 main ()
49898 {
49899 sqrtf(0);
49900 ;
49901 return 0;
49902 }
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905 glibcxx_cv_func_sqrtf_use=yes
49906 else
49907 glibcxx_cv_func_sqrtf_use=no
49908 fi
49909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49910 ac_ext=c
49911 ac_cpp='$CPP $CPPFLAGS'
49912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49915
49916
49917 fi
49918
49919 fi
49920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49921 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49922
49923 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49924 for ac_func in sqrtf
49925 do :
49926 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49927 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49928 cat >>confdefs.h <<_ACEOF
49929 #define HAVE_SQRTF 1
49930 _ACEOF
49931
49932 fi
49933 done
49934
49935 else
49936
49937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49938 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49939 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49940 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49941 $as_echo_n "(cached) " >&6
49942 else
49943
49944
49945 ac_ext=cpp
49946 ac_cpp='$CXXCPP $CPPFLAGS'
49947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49950
49951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49952 /* end confdefs.h. */
49953 #include <math.h>
49954 #ifdef HAVE_IEEEFP_H
49955 #include <ieeefp.h>
49956 #endif
49957
49958 int
49959 main ()
49960 {
49961 _sqrtf(0);
49962 ;
49963 return 0;
49964 }
49965 _ACEOF
49966 if ac_fn_cxx_try_compile "$LINENO"; then :
49967 glibcxx_cv_func__sqrtf_use=yes
49968 else
49969 glibcxx_cv_func__sqrtf_use=no
49970 fi
49971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49972 ac_ext=c
49973 ac_cpp='$CPP $CPPFLAGS'
49974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49977
49978
49979 fi
49980
49981 fi
49982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49983 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49984
49985 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49986 for ac_func in _sqrtf
49987 do :
49988 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49989 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49990 cat >>confdefs.h <<_ACEOF
49991 #define HAVE__SQRTF 1
49992 _ACEOF
49993
49994 fi
49995 done
49996
49997 fi
49998 fi
49999
50000
50001
50002
50003
50004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50005 $as_echo_n "checking for sincosf declaration... " >&6; }
50006 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50007 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50008 $as_echo_n "(cached) " >&6
50009 else
50010
50011
50012 ac_ext=cpp
50013 ac_cpp='$CXXCPP $CPPFLAGS'
50014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50017
50018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50019 /* end confdefs.h. */
50020 #include <math.h>
50021 int
50022 main ()
50023 {
50024 sincosf(0, 0, 0);
50025 ;
50026 return 0;
50027 }
50028 _ACEOF
50029 if ac_fn_cxx_try_compile "$LINENO"; then :
50030 glibcxx_cv_func_sincosf_use=yes
50031 else
50032 glibcxx_cv_func_sincosf_use=no
50033 fi
50034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50035 ac_ext=c
50036 ac_cpp='$CPP $CPPFLAGS'
50037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50040
50041
50042 fi
50043
50044 fi
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50046 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50047
50048 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50049 for ac_func in sincosf
50050 do :
50051 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50052 if test "x$ac_cv_func_sincosf" = x""yes; then :
50053 cat >>confdefs.h <<_ACEOF
50054 #define HAVE_SINCOSF 1
50055 _ACEOF
50056
50057 fi
50058 done
50059
50060 else
50061
50062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50063 $as_echo_n "checking for _sincosf declaration... " >&6; }
50064 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50065 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50066 $as_echo_n "(cached) " >&6
50067 else
50068
50069
50070 ac_ext=cpp
50071 ac_cpp='$CXXCPP $CPPFLAGS'
50072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50075
50076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50077 /* end confdefs.h. */
50078 #include <math.h>
50079 int
50080 main ()
50081 {
50082 _sincosf(0, 0, 0);
50083 ;
50084 return 0;
50085 }
50086 _ACEOF
50087 if ac_fn_cxx_try_compile "$LINENO"; then :
50088 glibcxx_cv_func__sincosf_use=yes
50089 else
50090 glibcxx_cv_func__sincosf_use=no
50091 fi
50092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50093 ac_ext=c
50094 ac_cpp='$CPP $CPPFLAGS'
50095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50098
50099
50100 fi
50101
50102 fi
50103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50104 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50105
50106 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50107 for ac_func in _sincosf
50108 do :
50109 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50110 if test "x$ac_cv_func__sincosf" = x""yes; then :
50111 cat >>confdefs.h <<_ACEOF
50112 #define HAVE__SINCOSF 1
50113 _ACEOF
50114
50115 fi
50116 done
50117
50118 fi
50119 fi
50120
50121
50122
50123
50124
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50126 $as_echo_n "checking for finitef declaration... " >&6; }
50127 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50128 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50129 $as_echo_n "(cached) " >&6
50130 else
50131
50132
50133 ac_ext=cpp
50134 ac_cpp='$CXXCPP $CPPFLAGS'
50135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50138
50139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50140 /* end confdefs.h. */
50141 #include <math.h>
50142 #ifdef HAVE_IEEEFP_H
50143 #include <ieeefp.h>
50144 #endif
50145
50146 int
50147 main ()
50148 {
50149 finitef(0);
50150 ;
50151 return 0;
50152 }
50153 _ACEOF
50154 if ac_fn_cxx_try_compile "$LINENO"; then :
50155 glibcxx_cv_func_finitef_use=yes
50156 else
50157 glibcxx_cv_func_finitef_use=no
50158 fi
50159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50160 ac_ext=c
50161 ac_cpp='$CPP $CPPFLAGS'
50162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165
50166
50167 fi
50168
50169 fi
50170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50171 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50172
50173 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50174 for ac_func in finitef
50175 do :
50176 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50177 if test "x$ac_cv_func_finitef" = x""yes; then :
50178 cat >>confdefs.h <<_ACEOF
50179 #define HAVE_FINITEF 1
50180 _ACEOF
50181
50182 fi
50183 done
50184
50185 else
50186
50187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50188 $as_echo_n "checking for _finitef declaration... " >&6; }
50189 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50190 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50191 $as_echo_n "(cached) " >&6
50192 else
50193
50194
50195 ac_ext=cpp
50196 ac_cpp='$CXXCPP $CPPFLAGS'
50197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50200
50201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50202 /* end confdefs.h. */
50203 #include <math.h>
50204 #ifdef HAVE_IEEEFP_H
50205 #include <ieeefp.h>
50206 #endif
50207
50208 int
50209 main ()
50210 {
50211 _finitef(0);
50212 ;
50213 return 0;
50214 }
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func__finitef_use=yes
50218 else
50219 glibcxx_cv_func__finitef_use=no
50220 fi
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50227
50228
50229 fi
50230
50231 fi
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50233 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50234
50235 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50236 for ac_func in _finitef
50237 do :
50238 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50239 if test "x$ac_cv_func__finitef" = x""yes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE__FINITEF 1
50242 _ACEOF
50243
50244 fi
50245 done
50246
50247 fi
50248 fi
50249
50250
50251
50252
50253
50254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50255 $as_echo_n "checking for long double trig functions... " >&6; }
50256 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50257 $as_echo_n "(cached) " >&6
50258 else
50259
50260
50261 ac_ext=cpp
50262 ac_cpp='$CXXCPP $CPPFLAGS'
50263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50266
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 #include <math.h>
50270 int
50271 main ()
50272 {
50273 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50274 ;
50275 return 0;
50276 }
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279 glibcxx_cv_func_long_double_trig_use=yes
50280 else
50281 glibcxx_cv_func_long_double_trig_use=no
50282 fi
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289
50290 fi
50291
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50293 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50294 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50295 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50296 do :
50297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50299 eval as_val=\$$as_ac_var
50300 if test "x$as_val" = x""yes; then :
50301 cat >>confdefs.h <<_ACEOF
50302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50303 _ACEOF
50304
50305 fi
50306 done
50307
50308 else
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50310 $as_echo_n "checking for _long double trig functions... " >&6; }
50311 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50312 $as_echo_n "(cached) " >&6
50313 else
50314
50315
50316 ac_ext=cpp
50317 ac_cpp='$CXXCPP $CPPFLAGS'
50318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50321
50322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50323 /* end confdefs.h. */
50324 #include <math.h>
50325 int
50326 main ()
50327 {
50328 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50329 ;
50330 return 0;
50331 }
50332 _ACEOF
50333 if ac_fn_cxx_try_compile "$LINENO"; then :
50334 glibcxx_cv_func__long_double_trig_use=yes
50335 else
50336 glibcxx_cv_func__long_double_trig_use=no
50337 fi
50338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50339 ac_ext=c
50340 ac_cpp='$CPP $CPPFLAGS'
50341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50344
50345 fi
50346
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50348 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50349 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50350 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50351 do :
50352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50354 eval as_val=\$$as_ac_var
50355 if test "x$as_val" = x""yes; then :
50356 cat >>confdefs.h <<_ACEOF
50357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50358 _ACEOF
50359
50360 fi
50361 done
50362
50363 fi
50364 fi
50365
50366
50367
50368
50369
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50371 $as_echo_n "checking for long double round functions... " >&6; }
50372 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50375
50376
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 int
50387 main ()
50388 {
50389 ceill (0); floorl (0);
50390 ;
50391 return 0;
50392 }
50393 _ACEOF
50394 if ac_fn_cxx_try_compile "$LINENO"; then :
50395 glibcxx_cv_func_long_double_round_use=yes
50396 else
50397 glibcxx_cv_func_long_double_round_use=no
50398 fi
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50400 ac_ext=c
50401 ac_cpp='$CPP $CPPFLAGS'
50402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50405
50406 fi
50407
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50409 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50410 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50411 for ac_func in ceill floorl
50412 do :
50413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50415 eval as_val=\$$as_ac_var
50416 if test "x$as_val" = x""yes; then :
50417 cat >>confdefs.h <<_ACEOF
50418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50419 _ACEOF
50420
50421 fi
50422 done
50423
50424 else
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50426 $as_echo_n "checking for _long double round functions... " >&6; }
50427 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50428 $as_echo_n "(cached) " >&6
50429 else
50430
50431
50432 ac_ext=cpp
50433 ac_cpp='$CXXCPP $CPPFLAGS'
50434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50437
50438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50439 /* end confdefs.h. */
50440 #include <math.h>
50441 int
50442 main ()
50443 {
50444 _ceill (0); _floorl (0);
50445 ;
50446 return 0;
50447 }
50448 _ACEOF
50449 if ac_fn_cxx_try_compile "$LINENO"; then :
50450 glibcxx_cv_func__long_double_round_use=yes
50451 else
50452 glibcxx_cv_func__long_double_round_use=no
50453 fi
50454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460
50461 fi
50462
50463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50464 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50465 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50466 for ac_func in _ceill _floorl
50467 do :
50468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50470 eval as_val=\$$as_ac_var
50471 if test "x$as_val" = x""yes; then :
50472 cat >>confdefs.h <<_ACEOF
50473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50474 _ACEOF
50475
50476 fi
50477 done
50478
50479 fi
50480 fi
50481
50482
50483
50484
50485
50486
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50488 $as_echo_n "checking for isnanl declaration... " >&6; }
50489 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50490 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50491 $as_echo_n "(cached) " >&6
50492 else
50493
50494
50495 ac_ext=cpp
50496 ac_cpp='$CXXCPP $CPPFLAGS'
50497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50500
50501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50502 /* end confdefs.h. */
50503 #include <math.h>
50504 #ifdef HAVE_IEEEFP_H
50505 #include <ieeefp.h>
50506 #endif
50507
50508 int
50509 main ()
50510 {
50511 isnanl(0);
50512 ;
50513 return 0;
50514 }
50515 _ACEOF
50516 if ac_fn_cxx_try_compile "$LINENO"; then :
50517 glibcxx_cv_func_isnanl_use=yes
50518 else
50519 glibcxx_cv_func_isnanl_use=no
50520 fi
50521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50522 ac_ext=c
50523 ac_cpp='$CPP $CPPFLAGS'
50524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50527
50528
50529 fi
50530
50531 fi
50532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50533 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50534
50535 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50536 for ac_func in isnanl
50537 do :
50538 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50539 if test "x$ac_cv_func_isnanl" = x""yes; then :
50540 cat >>confdefs.h <<_ACEOF
50541 #define HAVE_ISNANL 1
50542 _ACEOF
50543
50544 fi
50545 done
50546
50547 else
50548
50549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50550 $as_echo_n "checking for _isnanl declaration... " >&6; }
50551 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50552 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50553 $as_echo_n "(cached) " >&6
50554 else
50555
50556
50557 ac_ext=cpp
50558 ac_cpp='$CXXCPP $CPPFLAGS'
50559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562
50563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50564 /* end confdefs.h. */
50565 #include <math.h>
50566 #ifdef HAVE_IEEEFP_H
50567 #include <ieeefp.h>
50568 #endif
50569
50570 int
50571 main ()
50572 {
50573 _isnanl(0);
50574 ;
50575 return 0;
50576 }
50577 _ACEOF
50578 if ac_fn_cxx_try_compile "$LINENO"; then :
50579 glibcxx_cv_func__isnanl_use=yes
50580 else
50581 glibcxx_cv_func__isnanl_use=no
50582 fi
50583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50584 ac_ext=c
50585 ac_cpp='$CPP $CPPFLAGS'
50586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589
50590
50591 fi
50592
50593 fi
50594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50595 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50596
50597 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50598 for ac_func in _isnanl
50599 do :
50600 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50601 if test "x$ac_cv_func__isnanl" = x""yes; then :
50602 cat >>confdefs.h <<_ACEOF
50603 #define HAVE__ISNANL 1
50604 _ACEOF
50605
50606 fi
50607 done
50608
50609 fi
50610 fi
50611
50612
50613
50614
50615
50616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50617 $as_echo_n "checking for isinfl declaration... " >&6; }
50618 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50619 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50620 $as_echo_n "(cached) " >&6
50621 else
50622
50623
50624 ac_ext=cpp
50625 ac_cpp='$CXXCPP $CPPFLAGS'
50626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50629
50630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50631 /* end confdefs.h. */
50632 #include <math.h>
50633 #ifdef HAVE_IEEEFP_H
50634 #include <ieeefp.h>
50635 #endif
50636
50637 int
50638 main ()
50639 {
50640 isinfl(0);
50641 ;
50642 return 0;
50643 }
50644 _ACEOF
50645 if ac_fn_cxx_try_compile "$LINENO"; then :
50646 glibcxx_cv_func_isinfl_use=yes
50647 else
50648 glibcxx_cv_func_isinfl_use=no
50649 fi
50650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50651 ac_ext=c
50652 ac_cpp='$CPP $CPPFLAGS'
50653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50656
50657
50658 fi
50659
50660 fi
50661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50662 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50663
50664 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50665 for ac_func in isinfl
50666 do :
50667 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50668 if test "x$ac_cv_func_isinfl" = x""yes; then :
50669 cat >>confdefs.h <<_ACEOF
50670 #define HAVE_ISINFL 1
50671 _ACEOF
50672
50673 fi
50674 done
50675
50676 else
50677
50678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50679 $as_echo_n "checking for _isinfl declaration... " >&6; }
50680 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50681 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50682 $as_echo_n "(cached) " >&6
50683 else
50684
50685
50686 ac_ext=cpp
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50691
50692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50693 /* end confdefs.h. */
50694 #include <math.h>
50695 #ifdef HAVE_IEEEFP_H
50696 #include <ieeefp.h>
50697 #endif
50698
50699 int
50700 main ()
50701 {
50702 _isinfl(0);
50703 ;
50704 return 0;
50705 }
50706 _ACEOF
50707 if ac_fn_cxx_try_compile "$LINENO"; then :
50708 glibcxx_cv_func__isinfl_use=yes
50709 else
50710 glibcxx_cv_func__isinfl_use=no
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713 ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718
50719
50720 fi
50721
50722 fi
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50724 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50725
50726 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50727 for ac_func in _isinfl
50728 do :
50729 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50730 if test "x$ac_cv_func__isinfl" = x""yes; then :
50731 cat >>confdefs.h <<_ACEOF
50732 #define HAVE__ISINFL 1
50733 _ACEOF
50734
50735 fi
50736 done
50737
50738 fi
50739 fi
50740
50741
50742
50743
50744
50745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50746 $as_echo_n "checking for atan2l declaration... " >&6; }
50747 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50748 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50749 $as_echo_n "(cached) " >&6
50750 else
50751
50752
50753 ac_ext=cpp
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758
50759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h. */
50761 #include <math.h>
50762 int
50763 main ()
50764 {
50765 atan2l(0, 0);
50766 ;
50767 return 0;
50768 }
50769 _ACEOF
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771 glibcxx_cv_func_atan2l_use=yes
50772 else
50773 glibcxx_cv_func_atan2l_use=no
50774 fi
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50776 ac_ext=c
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781
50782
50783 fi
50784
50785 fi
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50787 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50788
50789 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50790 for ac_func in atan2l
50791 do :
50792 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50793 if test "x$ac_cv_func_atan2l" = x""yes; then :
50794 cat >>confdefs.h <<_ACEOF
50795 #define HAVE_ATAN2L 1
50796 _ACEOF
50797
50798 fi
50799 done
50800
50801 else
50802
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50804 $as_echo_n "checking for _atan2l declaration... " >&6; }
50805 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50806 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50809
50810
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50820 int
50821 main ()
50822 {
50823 _atan2l(0, 0);
50824 ;
50825 return 0;
50826 }
50827 _ACEOF
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829 glibcxx_cv_func__atan2l_use=yes
50830 else
50831 glibcxx_cv_func__atan2l_use=no
50832 fi
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834 ac_ext=c
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50839
50840
50841 fi
50842
50843 fi
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50845 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50846
50847 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50848 for ac_func in _atan2l
50849 do :
50850 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50851 if test "x$ac_cv_func__atan2l" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define HAVE__ATAN2L 1
50854 _ACEOF
50855
50856 fi
50857 done
50858
50859 fi
50860 fi
50861
50862
50863
50864
50865
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50867 $as_echo_n "checking for expl declaration... " >&6; }
50868 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50869 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50870 $as_echo_n "(cached) " >&6
50871 else
50872
50873
50874 ac_ext=cpp
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879
50880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h. */
50882 #include <math.h>
50883 #ifdef HAVE_IEEEFP_H
50884 #include <ieeefp.h>
50885 #endif
50886
50887 int
50888 main ()
50889 {
50890 expl(0);
50891 ;
50892 return 0;
50893 }
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func_expl_use=yes
50897 else
50898 glibcxx_cv_func_expl_use=no
50899 fi
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906
50907
50908 fi
50909
50910 fi
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50912 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50913
50914 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50915 for ac_func in expl
50916 do :
50917 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50918 if test "x$ac_cv_func_expl" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE_EXPL 1
50921 _ACEOF
50922
50923 fi
50924 done
50925
50926 else
50927
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50929 $as_echo_n "checking for _expl declaration... " >&6; }
50930 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50931 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50933 else
50934
50935
50936 ac_ext=cpp
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50941
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50944 #include <math.h>
50945 #ifdef HAVE_IEEEFP_H
50946 #include <ieeefp.h>
50947 #endif
50948
50949 int
50950 main ()
50951 {
50952 _expl(0);
50953 ;
50954 return 0;
50955 }
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func__expl_use=yes
50959 else
50960 glibcxx_cv_func__expl_use=no
50961 fi
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968
50969
50970 fi
50971
50972 fi
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50974 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50975
50976 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50977 for ac_func in _expl
50978 do :
50979 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50980 if test "x$ac_cv_func__expl" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE__EXPL 1
50983 _ACEOF
50984
50985 fi
50986 done
50987
50988 fi
50989 fi
50990
50991
50992
50993
50994
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50996 $as_echo_n "checking for fabsl declaration... " >&6; }
50997 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50998 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50999 $as_echo_n "(cached) " >&6
51000 else
51001
51002
51003 ac_ext=cpp
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51008
51009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h. */
51011 #include <math.h>
51012 #ifdef HAVE_IEEEFP_H
51013 #include <ieeefp.h>
51014 #endif
51015
51016 int
51017 main ()
51018 {
51019 fabsl(0);
51020 ;
51021 return 0;
51022 }
51023 _ACEOF
51024 if ac_fn_cxx_try_compile "$LINENO"; then :
51025 glibcxx_cv_func_fabsl_use=yes
51026 else
51027 glibcxx_cv_func_fabsl_use=no
51028 fi
51029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51030 ac_ext=c
51031 ac_cpp='$CPP $CPPFLAGS'
51032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51035
51036
51037 fi
51038
51039 fi
51040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51041 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51042
51043 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51044 for ac_func in fabsl
51045 do :
51046 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51047 if test "x$ac_cv_func_fabsl" = x""yes; then :
51048 cat >>confdefs.h <<_ACEOF
51049 #define HAVE_FABSL 1
51050 _ACEOF
51051
51052 fi
51053 done
51054
51055 else
51056
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51058 $as_echo_n "checking for _fabsl declaration... " >&6; }
51059 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51060 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51061 $as_echo_n "(cached) " >&6
51062 else
51063
51064
51065 ac_ext=cpp
51066 ac_cpp='$CXXCPP $CPPFLAGS'
51067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51070
51071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51072 /* end confdefs.h. */
51073 #include <math.h>
51074 #ifdef HAVE_IEEEFP_H
51075 #include <ieeefp.h>
51076 #endif
51077
51078 int
51079 main ()
51080 {
51081 _fabsl(0);
51082 ;
51083 return 0;
51084 }
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func__fabsl_use=yes
51088 else
51089 glibcxx_cv_func__fabsl_use=no
51090 fi
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51097
51098
51099 fi
51100
51101 fi
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51103 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51104
51105 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51106 for ac_func in _fabsl
51107 do :
51108 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51109 if test "x$ac_cv_func__fabsl" = x""yes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE__FABSL 1
51112 _ACEOF
51113
51114 fi
51115 done
51116
51117 fi
51118 fi
51119
51120
51121
51122
51123
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51125 $as_echo_n "checking for fmodl declaration... " >&6; }
51126 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51127 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51128 $as_echo_n "(cached) " >&6
51129 else
51130
51131
51132 ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51137
51138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h. */
51140 #include <math.h>
51141 int
51142 main ()
51143 {
51144 fmodl(0, 0);
51145 ;
51146 return 0;
51147 }
51148 _ACEOF
51149 if ac_fn_cxx_try_compile "$LINENO"; then :
51150 glibcxx_cv_func_fmodl_use=yes
51151 else
51152 glibcxx_cv_func_fmodl_use=no
51153 fi
51154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51155 ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51160
51161
51162 fi
51163
51164 fi
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51166 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51167
51168 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51169 for ac_func in fmodl
51170 do :
51171 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51172 if test "x$ac_cv_func_fmodl" = x""yes; then :
51173 cat >>confdefs.h <<_ACEOF
51174 #define HAVE_FMODL 1
51175 _ACEOF
51176
51177 fi
51178 done
51179
51180 else
51181
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51183 $as_echo_n "checking for _fmodl declaration... " >&6; }
51184 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51185 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51186 $as_echo_n "(cached) " >&6
51187 else
51188
51189
51190 ac_ext=cpp
51191 ac_cpp='$CXXCPP $CPPFLAGS'
51192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51195
51196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51197 /* end confdefs.h. */
51198 #include <math.h>
51199 int
51200 main ()
51201 {
51202 _fmodl(0, 0);
51203 ;
51204 return 0;
51205 }
51206 _ACEOF
51207 if ac_fn_cxx_try_compile "$LINENO"; then :
51208 glibcxx_cv_func__fmodl_use=yes
51209 else
51210 glibcxx_cv_func__fmodl_use=no
51211 fi
51212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51213 ac_ext=c
51214 ac_cpp='$CPP $CPPFLAGS'
51215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51218
51219
51220 fi
51221
51222 fi
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51224 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51225
51226 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51227 for ac_func in _fmodl
51228 do :
51229 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51230 if test "x$ac_cv_func__fmodl" = x""yes; then :
51231 cat >>confdefs.h <<_ACEOF
51232 #define HAVE__FMODL 1
51233 _ACEOF
51234
51235 fi
51236 done
51237
51238 fi
51239 fi
51240
51241
51242
51243
51244
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51246 $as_echo_n "checking for frexpl declaration... " >&6; }
51247 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51248 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51249 $as_echo_n "(cached) " >&6
51250 else
51251
51252
51253 ac_ext=cpp
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51258
51259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h. */
51261 #include <math.h>
51262 int
51263 main ()
51264 {
51265 frexpl(0, 0);
51266 ;
51267 return 0;
51268 }
51269 _ACEOF
51270 if ac_fn_cxx_try_compile "$LINENO"; then :
51271 glibcxx_cv_func_frexpl_use=yes
51272 else
51273 glibcxx_cv_func_frexpl_use=no
51274 fi
51275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51276 ac_ext=c
51277 ac_cpp='$CPP $CPPFLAGS'
51278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51281
51282
51283 fi
51284
51285 fi
51286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51287 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51288
51289 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51290 for ac_func in frexpl
51291 do :
51292 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51293 if test "x$ac_cv_func_frexpl" = x""yes; then :
51294 cat >>confdefs.h <<_ACEOF
51295 #define HAVE_FREXPL 1
51296 _ACEOF
51297
51298 fi
51299 done
51300
51301 else
51302
51303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51304 $as_echo_n "checking for _frexpl declaration... " >&6; }
51305 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51306 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51307 $as_echo_n "(cached) " >&6
51308 else
51309
51310
51311 ac_ext=cpp
51312 ac_cpp='$CXXCPP $CPPFLAGS'
51313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51316
51317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51318 /* end confdefs.h. */
51319 #include <math.h>
51320 int
51321 main ()
51322 {
51323 _frexpl(0, 0);
51324 ;
51325 return 0;
51326 }
51327 _ACEOF
51328 if ac_fn_cxx_try_compile "$LINENO"; then :
51329 glibcxx_cv_func__frexpl_use=yes
51330 else
51331 glibcxx_cv_func__frexpl_use=no
51332 fi
51333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51334 ac_ext=c
51335 ac_cpp='$CPP $CPPFLAGS'
51336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51339
51340
51341 fi
51342
51343 fi
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51345 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51346
51347 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51348 for ac_func in _frexpl
51349 do :
51350 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51351 if test "x$ac_cv_func__frexpl" = x""yes; then :
51352 cat >>confdefs.h <<_ACEOF
51353 #define HAVE__FREXPL 1
51354 _ACEOF
51355
51356 fi
51357 done
51358
51359 fi
51360 fi
51361
51362
51363
51364
51365
51366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51367 $as_echo_n "checking for hypotl declaration... " >&6; }
51368 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51369 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51370 $as_echo_n "(cached) " >&6
51371 else
51372
51373
51374 ac_ext=cpp
51375 ac_cpp='$CXXCPP $CPPFLAGS'
51376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51379
51380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51381 /* end confdefs.h. */
51382 #include <math.h>
51383 int
51384 main ()
51385 {
51386 hypotl(0, 0);
51387 ;
51388 return 0;
51389 }
51390 _ACEOF
51391 if ac_fn_cxx_try_compile "$LINENO"; then :
51392 glibcxx_cv_func_hypotl_use=yes
51393 else
51394 glibcxx_cv_func_hypotl_use=no
51395 fi
51396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51397 ac_ext=c
51398 ac_cpp='$CPP $CPPFLAGS'
51399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51402
51403
51404 fi
51405
51406 fi
51407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51408 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51409
51410 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51411 for ac_func in hypotl
51412 do :
51413 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51414 if test "x$ac_cv_func_hypotl" = x""yes; then :
51415 cat >>confdefs.h <<_ACEOF
51416 #define HAVE_HYPOTL 1
51417 _ACEOF
51418
51419 fi
51420 done
51421
51422 else
51423
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51425 $as_echo_n "checking for _hypotl declaration... " >&6; }
51426 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51427 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51428 $as_echo_n "(cached) " >&6
51429 else
51430
51431
51432 ac_ext=cpp
51433 ac_cpp='$CXXCPP $CPPFLAGS'
51434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51437
51438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51439 /* end confdefs.h. */
51440 #include <math.h>
51441 int
51442 main ()
51443 {
51444 _hypotl(0, 0);
51445 ;
51446 return 0;
51447 }
51448 _ACEOF
51449 if ac_fn_cxx_try_compile "$LINENO"; then :
51450 glibcxx_cv_func__hypotl_use=yes
51451 else
51452 glibcxx_cv_func__hypotl_use=no
51453 fi
51454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51455 ac_ext=c
51456 ac_cpp='$CPP $CPPFLAGS'
51457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51460
51461
51462 fi
51463
51464 fi
51465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51466 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51467
51468 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51469 for ac_func in _hypotl
51470 do :
51471 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51472 if test "x$ac_cv_func__hypotl" = x""yes; then :
51473 cat >>confdefs.h <<_ACEOF
51474 #define HAVE__HYPOTL 1
51475 _ACEOF
51476
51477 fi
51478 done
51479
51480 fi
51481 fi
51482
51483
51484
51485
51486
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51488 $as_echo_n "checking for ldexpl declaration... " >&6; }
51489 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51490 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51491 $as_echo_n "(cached) " >&6
51492 else
51493
51494
51495 ac_ext=cpp
51496 ac_cpp='$CXXCPP $CPPFLAGS'
51497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51500
51501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51502 /* end confdefs.h. */
51503 #include <math.h>
51504 int
51505 main ()
51506 {
51507 ldexpl(0, 0);
51508 ;
51509 return 0;
51510 }
51511 _ACEOF
51512 if ac_fn_cxx_try_compile "$LINENO"; then :
51513 glibcxx_cv_func_ldexpl_use=yes
51514 else
51515 glibcxx_cv_func_ldexpl_use=no
51516 fi
51517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51518 ac_ext=c
51519 ac_cpp='$CPP $CPPFLAGS'
51520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51523
51524
51525 fi
51526
51527 fi
51528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51529 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51530
51531 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51532 for ac_func in ldexpl
51533 do :
51534 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51535 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51536 cat >>confdefs.h <<_ACEOF
51537 #define HAVE_LDEXPL 1
51538 _ACEOF
51539
51540 fi
51541 done
51542
51543 else
51544
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51546 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51547 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51548 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51549 $as_echo_n "(cached) " >&6
51550 else
51551
51552
51553 ac_ext=cpp
51554 ac_cpp='$CXXCPP $CPPFLAGS'
51555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51558
51559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51560 /* end confdefs.h. */
51561 #include <math.h>
51562 int
51563 main ()
51564 {
51565 _ldexpl(0, 0);
51566 ;
51567 return 0;
51568 }
51569 _ACEOF
51570 if ac_fn_cxx_try_compile "$LINENO"; then :
51571 glibcxx_cv_func__ldexpl_use=yes
51572 else
51573 glibcxx_cv_func__ldexpl_use=no
51574 fi
51575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51576 ac_ext=c
51577 ac_cpp='$CPP $CPPFLAGS'
51578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51581
51582
51583 fi
51584
51585 fi
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51587 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51588
51589 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51590 for ac_func in _ldexpl
51591 do :
51592 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51593 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51594 cat >>confdefs.h <<_ACEOF
51595 #define HAVE__LDEXPL 1
51596 _ACEOF
51597
51598 fi
51599 done
51600
51601 fi
51602 fi
51603
51604
51605
51606
51607
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51609 $as_echo_n "checking for logl declaration... " >&6; }
51610 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51611 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51612 $as_echo_n "(cached) " >&6
51613 else
51614
51615
51616 ac_ext=cpp
51617 ac_cpp='$CXXCPP $CPPFLAGS'
51618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51621
51622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51623 /* end confdefs.h. */
51624 #include <math.h>
51625 #ifdef HAVE_IEEEFP_H
51626 #include <ieeefp.h>
51627 #endif
51628
51629 int
51630 main ()
51631 {
51632 logl(0);
51633 ;
51634 return 0;
51635 }
51636 _ACEOF
51637 if ac_fn_cxx_try_compile "$LINENO"; then :
51638 glibcxx_cv_func_logl_use=yes
51639 else
51640 glibcxx_cv_func_logl_use=no
51641 fi
51642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51643 ac_ext=c
51644 ac_cpp='$CPP $CPPFLAGS'
51645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51648
51649
51650 fi
51651
51652 fi
51653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51654 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51655
51656 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51657 for ac_func in logl
51658 do :
51659 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51660 if test "x$ac_cv_func_logl" = x""yes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE_LOGL 1
51663 _ACEOF
51664
51665 fi
51666 done
51667
51668 else
51669
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51671 $as_echo_n "checking for _logl declaration... " >&6; }
51672 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51673 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51674 $as_echo_n "(cached) " >&6
51675 else
51676
51677
51678 ac_ext=cpp
51679 ac_cpp='$CXXCPP $CPPFLAGS'
51680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51683
51684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51685 /* end confdefs.h. */
51686 #include <math.h>
51687 #ifdef HAVE_IEEEFP_H
51688 #include <ieeefp.h>
51689 #endif
51690
51691 int
51692 main ()
51693 {
51694 _logl(0);
51695 ;
51696 return 0;
51697 }
51698 _ACEOF
51699 if ac_fn_cxx_try_compile "$LINENO"; then :
51700 glibcxx_cv_func__logl_use=yes
51701 else
51702 glibcxx_cv_func__logl_use=no
51703 fi
51704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51705 ac_ext=c
51706 ac_cpp='$CPP $CPPFLAGS'
51707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51710
51711
51712 fi
51713
51714 fi
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51716 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51717
51718 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51719 for ac_func in _logl
51720 do :
51721 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51722 if test "x$ac_cv_func__logl" = x""yes; then :
51723 cat >>confdefs.h <<_ACEOF
51724 #define HAVE__LOGL 1
51725 _ACEOF
51726
51727 fi
51728 done
51729
51730 fi
51731 fi
51732
51733
51734
51735
51736
51737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51738 $as_echo_n "checking for log10l declaration... " >&6; }
51739 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51740 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51741 $as_echo_n "(cached) " >&6
51742 else
51743
51744
51745 ac_ext=cpp
51746 ac_cpp='$CXXCPP $CPPFLAGS'
51747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51750
51751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51752 /* end confdefs.h. */
51753 #include <math.h>
51754 #ifdef HAVE_IEEEFP_H
51755 #include <ieeefp.h>
51756 #endif
51757
51758 int
51759 main ()
51760 {
51761 log10l(0);
51762 ;
51763 return 0;
51764 }
51765 _ACEOF
51766 if ac_fn_cxx_try_compile "$LINENO"; then :
51767 glibcxx_cv_func_log10l_use=yes
51768 else
51769 glibcxx_cv_func_log10l_use=no
51770 fi
51771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51772 ac_ext=c
51773 ac_cpp='$CPP $CPPFLAGS'
51774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51777
51778
51779 fi
51780
51781 fi
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51783 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51784
51785 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51786 for ac_func in log10l
51787 do :
51788 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51789 if test "x$ac_cv_func_log10l" = x""yes; then :
51790 cat >>confdefs.h <<_ACEOF
51791 #define HAVE_LOG10L 1
51792 _ACEOF
51793
51794 fi
51795 done
51796
51797 else
51798
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51800 $as_echo_n "checking for _log10l declaration... " >&6; }
51801 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51802 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51803 $as_echo_n "(cached) " >&6
51804 else
51805
51806
51807 ac_ext=cpp
51808 ac_cpp='$CXXCPP $CPPFLAGS'
51809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51812
51813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51814 /* end confdefs.h. */
51815 #include <math.h>
51816 #ifdef HAVE_IEEEFP_H
51817 #include <ieeefp.h>
51818 #endif
51819
51820 int
51821 main ()
51822 {
51823 _log10l(0);
51824 ;
51825 return 0;
51826 }
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func__log10l_use=yes
51830 else
51831 glibcxx_cv_func__log10l_use=no
51832 fi
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51839
51840
51841 fi
51842
51843 fi
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51845 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51846
51847 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51848 for ac_func in _log10l
51849 do :
51850 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51851 if test "x$ac_cv_func__log10l" = x""yes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE__LOG10L 1
51854 _ACEOF
51855
51856 fi
51857 done
51858
51859 fi
51860 fi
51861
51862
51863
51864
51865
51866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51867 $as_echo_n "checking for modfl declaration... " >&6; }
51868 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51869 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51871 else
51872
51873
51874 ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51879
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51882 #include <math.h>
51883 int
51884 main ()
51885 {
51886 modfl(0, 0);
51887 ;
51888 return 0;
51889 }
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_modfl_use=yes
51893 else
51894 glibcxx_cv_func_modfl_use=no
51895 fi
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902
51903
51904 fi
51905
51906 fi
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51908 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51909
51910 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51911 for ac_func in modfl
51912 do :
51913 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51914 if test "x$ac_cv_func_modfl" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE_MODFL 1
51917 _ACEOF
51918
51919 fi
51920 done
51921
51922 else
51923
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51925 $as_echo_n "checking for _modfl declaration... " >&6; }
51926 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51927 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51930
51931
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51941 int
51942 main ()
51943 {
51944 _modfl(0, 0);
51945 ;
51946 return 0;
51947 }
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func__modfl_use=yes
51951 else
51952 glibcxx_cv_func__modfl_use=no
51953 fi
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960
51961
51962 fi
51963
51964 fi
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51966 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51967
51968 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51969 for ac_func in _modfl
51970 do :
51971 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51972 if test "x$ac_cv_func__modfl" = x""yes; then :
51973 cat >>confdefs.h <<_ACEOF
51974 #define HAVE__MODFL 1
51975 _ACEOF
51976
51977 fi
51978 done
51979
51980 fi
51981 fi
51982
51983
51984
51985
51986
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51988 $as_echo_n "checking for powl declaration... " >&6; }
51989 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51990 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51993
51994
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52000
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 int
52005 main ()
52006 {
52007 powl(0, 0);
52008 ;
52009 return 0;
52010 }
52011 _ACEOF
52012 if ac_fn_cxx_try_compile "$LINENO"; then :
52013 glibcxx_cv_func_powl_use=yes
52014 else
52015 glibcxx_cv_func_powl_use=no
52016 fi
52017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52018 ac_ext=c
52019 ac_cpp='$CPP $CPPFLAGS'
52020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52023
52024
52025 fi
52026
52027 fi
52028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52029 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52030
52031 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52032 for ac_func in powl
52033 do :
52034 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52035 if test "x$ac_cv_func_powl" = x""yes; then :
52036 cat >>confdefs.h <<_ACEOF
52037 #define HAVE_POWL 1
52038 _ACEOF
52039
52040 fi
52041 done
52042
52043 else
52044
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52046 $as_echo_n "checking for _powl declaration... " >&6; }
52047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52048 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52049 $as_echo_n "(cached) " >&6
52050 else
52051
52052
52053 ac_ext=cpp
52054 ac_cpp='$CXXCPP $CPPFLAGS'
52055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52058
52059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52060 /* end confdefs.h. */
52061 #include <math.h>
52062 int
52063 main ()
52064 {
52065 _powl(0, 0);
52066 ;
52067 return 0;
52068 }
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func__powl_use=yes
52072 else
52073 glibcxx_cv_func__powl_use=no
52074 fi
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52081
52082
52083 fi
52084
52085 fi
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52087 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52088
52089 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52090 for ac_func in _powl
52091 do :
52092 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52093 if test "x$ac_cv_func__powl" = x""yes; then :
52094 cat >>confdefs.h <<_ACEOF
52095 #define HAVE__POWL 1
52096 _ACEOF
52097
52098 fi
52099 done
52100
52101 fi
52102 fi
52103
52104
52105
52106
52107
52108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52109 $as_echo_n "checking for sqrtl declaration... " >&6; }
52110 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52111 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52112 $as_echo_n "(cached) " >&6
52113 else
52114
52115
52116 ac_ext=cpp
52117 ac_cpp='$CXXCPP $CPPFLAGS'
52118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52121
52122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52123 /* end confdefs.h. */
52124 #include <math.h>
52125 #ifdef HAVE_IEEEFP_H
52126 #include <ieeefp.h>
52127 #endif
52128
52129 int
52130 main ()
52131 {
52132 sqrtl(0);
52133 ;
52134 return 0;
52135 }
52136 _ACEOF
52137 if ac_fn_cxx_try_compile "$LINENO"; then :
52138 glibcxx_cv_func_sqrtl_use=yes
52139 else
52140 glibcxx_cv_func_sqrtl_use=no
52141 fi
52142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52143 ac_ext=c
52144 ac_cpp='$CPP $CPPFLAGS'
52145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52148
52149
52150 fi
52151
52152 fi
52153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52154 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52155
52156 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52157 for ac_func in sqrtl
52158 do :
52159 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52160 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52161 cat >>confdefs.h <<_ACEOF
52162 #define HAVE_SQRTL 1
52163 _ACEOF
52164
52165 fi
52166 done
52167
52168 else
52169
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52171 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52172 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52173 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52174 $as_echo_n "(cached) " >&6
52175 else
52176
52177
52178 ac_ext=cpp
52179 ac_cpp='$CXXCPP $CPPFLAGS'
52180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52183
52184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52185 /* end confdefs.h. */
52186 #include <math.h>
52187 #ifdef HAVE_IEEEFP_H
52188 #include <ieeefp.h>
52189 #endif
52190
52191 int
52192 main ()
52193 {
52194 _sqrtl(0);
52195 ;
52196 return 0;
52197 }
52198 _ACEOF
52199 if ac_fn_cxx_try_compile "$LINENO"; then :
52200 glibcxx_cv_func__sqrtl_use=yes
52201 else
52202 glibcxx_cv_func__sqrtl_use=no
52203 fi
52204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52205 ac_ext=c
52206 ac_cpp='$CPP $CPPFLAGS'
52207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52210
52211
52212 fi
52213
52214 fi
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52216 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52217
52218 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52219 for ac_func in _sqrtl
52220 do :
52221 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52222 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52223 cat >>confdefs.h <<_ACEOF
52224 #define HAVE__SQRTL 1
52225 _ACEOF
52226
52227 fi
52228 done
52229
52230 fi
52231 fi
52232
52233
52234
52235
52236
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52238 $as_echo_n "checking for sincosl declaration... " >&6; }
52239 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52240 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52241 $as_echo_n "(cached) " >&6
52242 else
52243
52244
52245 ac_ext=cpp
52246 ac_cpp='$CXXCPP $CPPFLAGS'
52247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52250
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 #include <math.h>
52254 int
52255 main ()
52256 {
52257 sincosl(0, 0, 0);
52258 ;
52259 return 0;
52260 }
52261 _ACEOF
52262 if ac_fn_cxx_try_compile "$LINENO"; then :
52263 glibcxx_cv_func_sincosl_use=yes
52264 else
52265 glibcxx_cv_func_sincosl_use=no
52266 fi
52267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52268 ac_ext=c
52269 ac_cpp='$CPP $CPPFLAGS'
52270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52273
52274
52275 fi
52276
52277 fi
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52279 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52280
52281 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52282 for ac_func in sincosl
52283 do :
52284 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52285 if test "x$ac_cv_func_sincosl" = x""yes; then :
52286 cat >>confdefs.h <<_ACEOF
52287 #define HAVE_SINCOSL 1
52288 _ACEOF
52289
52290 fi
52291 done
52292
52293 else
52294
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52296 $as_echo_n "checking for _sincosl declaration... " >&6; }
52297 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52298 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52301
52302
52303 ac_ext=cpp
52304 ac_cpp='$CXXCPP $CPPFLAGS'
52305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52308
52309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52310 /* end confdefs.h. */
52311 #include <math.h>
52312 int
52313 main ()
52314 {
52315 _sincosl(0, 0, 0);
52316 ;
52317 return 0;
52318 }
52319 _ACEOF
52320 if ac_fn_cxx_try_compile "$LINENO"; then :
52321 glibcxx_cv_func__sincosl_use=yes
52322 else
52323 glibcxx_cv_func__sincosl_use=no
52324 fi
52325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52326 ac_ext=c
52327 ac_cpp='$CPP $CPPFLAGS'
52328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331
52332
52333 fi
52334
52335 fi
52336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52337 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52338
52339 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52340 for ac_func in _sincosl
52341 do :
52342 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52343 if test "x$ac_cv_func__sincosl" = x""yes; then :
52344 cat >>confdefs.h <<_ACEOF
52345 #define HAVE__SINCOSL 1
52346 _ACEOF
52347
52348 fi
52349 done
52350
52351 fi
52352 fi
52353
52354
52355
52356
52357
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52359 $as_echo_n "checking for finitel declaration... " >&6; }
52360 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52361 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52362 $as_echo_n "(cached) " >&6
52363 else
52364
52365
52366 ac_ext=cpp
52367 ac_cpp='$CXXCPP $CPPFLAGS'
52368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371
52372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52373 /* end confdefs.h. */
52374 #include <math.h>
52375 #ifdef HAVE_IEEEFP_H
52376 #include <ieeefp.h>
52377 #endif
52378
52379 int
52380 main ()
52381 {
52382 finitel(0);
52383 ;
52384 return 0;
52385 }
52386 _ACEOF
52387 if ac_fn_cxx_try_compile "$LINENO"; then :
52388 glibcxx_cv_func_finitel_use=yes
52389 else
52390 glibcxx_cv_func_finitel_use=no
52391 fi
52392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52393 ac_ext=c
52394 ac_cpp='$CPP $CPPFLAGS'
52395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52398
52399
52400 fi
52401
52402 fi
52403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52404 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52405
52406 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52407 for ac_func in finitel
52408 do :
52409 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52410 if test "x$ac_cv_func_finitel" = x""yes; then :
52411 cat >>confdefs.h <<_ACEOF
52412 #define HAVE_FINITEL 1
52413 _ACEOF
52414
52415 fi
52416 done
52417
52418 else
52419
52420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52421 $as_echo_n "checking for _finitel declaration... " >&6; }
52422 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52423 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52424 $as_echo_n "(cached) " >&6
52425 else
52426
52427
52428 ac_ext=cpp
52429 ac_cpp='$CXXCPP $CPPFLAGS'
52430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52433
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <math.h>
52437 #ifdef HAVE_IEEEFP_H
52438 #include <ieeefp.h>
52439 #endif
52440
52441 int
52442 main ()
52443 {
52444 _finitel(0);
52445 ;
52446 return 0;
52447 }
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func__finitel_use=yes
52451 else
52452 glibcxx_cv_func__finitel_use=no
52453 fi
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52460
52461
52462 fi
52463
52464 fi
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52466 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52467
52468 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52469 for ac_func in _finitel
52470 do :
52471 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52472 if test "x$ac_cv_func__finitel" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE__FINITEL 1
52475 _ACEOF
52476
52477 fi
52478 done
52479
52480 fi
52481 fi
52482
52483
52484
52485
52486 LIBS="$ac_save_LIBS"
52487 CXXFLAGS="$ac_save_CXXFLAGS"
52488
52489
52490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52491 ac_save_CXXFLAGS="$CXXFLAGS"
52492 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52493
52494
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52496 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52497 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52498 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52499 $as_echo_n "(cached) " >&6
52500 else
52501
52502
52503 ac_ext=cpp
52504 ac_cpp='$CXXCPP $CPPFLAGS'
52505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52508
52509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52510 /* end confdefs.h. */
52511 #include <stdlib.h>
52512 int
52513 main ()
52514 {
52515 at_quick_exit(0);
52516 ;
52517 return 0;
52518 }
52519 _ACEOF
52520 if ac_fn_cxx_try_compile "$LINENO"; then :
52521 glibcxx_cv_func_at_quick_exit_use=yes
52522 else
52523 glibcxx_cv_func_at_quick_exit_use=no
52524 fi
52525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52526 ac_ext=c
52527 ac_cpp='$CPP $CPPFLAGS'
52528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531
52532
52533 fi
52534
52535 fi
52536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52537 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52538 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52539 for ac_func in at_quick_exit
52540 do :
52541 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52542 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52543 cat >>confdefs.h <<_ACEOF
52544 #define HAVE_AT_QUICK_EXIT 1
52545 _ACEOF
52546
52547 fi
52548 done
52549
52550 fi
52551
52552
52553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52554 $as_echo_n "checking for quick_exit declaration... " >&6; }
52555 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52556 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52557 $as_echo_n "(cached) " >&6
52558 else
52559
52560
52561 ac_ext=cpp
52562 ac_cpp='$CXXCPP $CPPFLAGS'
52563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52566
52567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52568 /* end confdefs.h. */
52569 #include <stdlib.h>
52570 int
52571 main ()
52572 {
52573 quick_exit(0);
52574 ;
52575 return 0;
52576 }
52577 _ACEOF
52578 if ac_fn_cxx_try_compile "$LINENO"; then :
52579 glibcxx_cv_func_quick_exit_use=yes
52580 else
52581 glibcxx_cv_func_quick_exit_use=no
52582 fi
52583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52584 ac_ext=c
52585 ac_cpp='$CPP $CPPFLAGS'
52586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52589
52590
52591 fi
52592
52593 fi
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52595 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52596 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52597 for ac_func in quick_exit
52598 do :
52599 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52600 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52601 cat >>confdefs.h <<_ACEOF
52602 #define HAVE_QUICK_EXIT 1
52603 _ACEOF
52604
52605 fi
52606 done
52607
52608 fi
52609
52610
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52612 $as_echo_n "checking for strtold declaration... " >&6; }
52613 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52614 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52615 $as_echo_n "(cached) " >&6
52616 else
52617
52618
52619 ac_ext=cpp
52620 ac_cpp='$CXXCPP $CPPFLAGS'
52621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52624
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52627 #include <stdlib.h>
52628 int
52629 main ()
52630 {
52631 strtold(0, 0);
52632 ;
52633 return 0;
52634 }
52635 _ACEOF
52636 if ac_fn_cxx_try_compile "$LINENO"; then :
52637 glibcxx_cv_func_strtold_use=yes
52638 else
52639 glibcxx_cv_func_strtold_use=no
52640 fi
52641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52642 ac_ext=c
52643 ac_cpp='$CPP $CPPFLAGS'
52644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52647
52648
52649 fi
52650
52651 fi
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52653 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52654 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52655 for ac_func in strtold
52656 do :
52657 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52658 if test "x$ac_cv_func_strtold" = x""yes; then :
52659 cat >>confdefs.h <<_ACEOF
52660 #define HAVE_STRTOLD 1
52661 _ACEOF
52662
52663 fi
52664 done
52665
52666 fi
52667
52668
52669
52670
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52672 $as_echo_n "checking for strtof declaration... " >&6; }
52673 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52674 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52675 $as_echo_n "(cached) " >&6
52676 else
52677
52678
52679 ac_ext=cpp
52680 ac_cpp='$CXXCPP $CPPFLAGS'
52681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52684
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52687 #include <stdlib.h>
52688 int
52689 main ()
52690 {
52691 strtof(0, 0);
52692 ;
52693 return 0;
52694 }
52695 _ACEOF
52696 if ac_fn_cxx_try_compile "$LINENO"; then :
52697 glibcxx_cv_func_strtof_use=yes
52698 else
52699 glibcxx_cv_func_strtof_use=no
52700 fi
52701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52707
52708
52709 fi
52710
52711 fi
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52713 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52714 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52715 for ac_func in strtof
52716 do :
52717 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52718 if test "x$ac_cv_func_strtof" = x""yes; then :
52719 cat >>confdefs.h <<_ACEOF
52720 #define HAVE_STRTOF 1
52721 _ACEOF
52722
52723 fi
52724 done
52725
52726 fi
52727
52728
52729
52730
52731 CXXFLAGS="$ac_save_CXXFLAGS"
52732
52733 ;;
52734
52735 *djgpp)
52736 # GLIBCXX_CHECK_MATH_SUPPORT
52737 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52738
52739 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52740
52741 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52742
52743 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52744
52745 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52746
52747 ;;
52748
52749 *-freebsd*)
52750 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52751
52752
52753 # If we're not using GNU ld, then there's no point in even trying these
52754 # tests. Check for that first. We should have already tested for gld
52755 # by now (in libtool), but require it now just to be safe...
52756 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52757 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52758
52759
52760
52761 # The name set by libtool depends on the version of libtool. Shame on us
52762 # for depending on an impl detail, but c'est la vie. Older versions used
52763 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52764 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52765 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52766 # set (hence we're using an older libtool), then set it.
52767 if test x${with_gnu_ld+set} != xset; then
52768 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52769 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52770 with_gnu_ld=no
52771 else
52772 with_gnu_ld=$ac_cv_prog_gnu_ld
52773 fi
52774 fi
52775
52776 # Start by getting the version number. I think the libtool test already
52777 # does some of this, but throws away the result.
52778 glibcxx_ld_is_gold=no
52779 if test x"$with_gnu_ld" = x"yes"; then
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52781 $as_echo_n "checking for ld version... " >&6; }
52782
52783 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52784 glibcxx_ld_is_gold=yes
52785 fi
52786 ldver=`$LD --version 2>/dev/null |
52787 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'`
52788
52789 glibcxx_gnu_ld_version=`echo $ldver | \
52790 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52792 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52793 fi
52794
52795 # Set --gc-sections.
52796 glibcxx_have_gc_sections=no
52797 if test "$glibcxx_ld_is_gold" = "yes"; then
52798 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52799 glibcxx_have_gc_sections=yes
52800 fi
52801 else
52802 glibcxx_gcsections_min_ld=21602
52803 if test x"$with_gnu_ld" = x"yes" &&
52804 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52805 glibcxx_have_gc_sections=yes
52806 fi
52807 fi
52808 if test "$glibcxx_have_gc_sections" = "yes"; then
52809 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52810 # NB: This flag only works reliably after 2.16.1. Configure tests
52811 # for this are difficult, so hard wire a value that should work.
52812
52813 ac_test_CFLAGS="${CFLAGS+set}"
52814 ac_save_CFLAGS="$CFLAGS"
52815 CFLAGS='-Wl,--gc-sections'
52816
52817 # Check for -Wl,--gc-sections
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52819 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52820 if test x$gcc_no_link = xyes; then
52821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52822 fi
52823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52824 /* end confdefs.h. */
52825 int one(void) { return 1; }
52826 int two(void) { return 2; }
52827
52828 int
52829 main ()
52830 {
52831 two();
52832 ;
52833 return 0;
52834 }
52835 _ACEOF
52836 if ac_fn_c_try_link "$LINENO"; then :
52837 ac_gcsections=yes
52838 else
52839 ac_gcsections=no
52840 fi
52841 rm -f core conftest.err conftest.$ac_objext \
52842 conftest$ac_exeext conftest.$ac_ext
52843 if test "$ac_gcsections" = "yes"; then
52844 rm -f conftest.c
52845 touch conftest.c
52846 if $CC -c conftest.c; then
52847 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52848 grep "Warning: gc-sections option ignored" > /dev/null; then
52849 ac_gcsections=no
52850 fi
52851 fi
52852 rm -f conftest.c conftest.o conftest
52853 fi
52854 if test "$ac_gcsections" = "yes"; then
52855 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52856 fi
52857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52858 $as_echo "$ac_gcsections" >&6; }
52859
52860 if test "$ac_test_CFLAGS" = set; then
52861 CFLAGS="$ac_save_CFLAGS"
52862 else
52863 # this is the suspicious part
52864 CFLAGS=''
52865 fi
52866 fi
52867
52868 # Set -z,relro.
52869 # Note this is only for shared objects.
52870 ac_ld_relro=no
52871 if test x"$with_gnu_ld" = x"yes"; then
52872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52873 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52874 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52875 if test -n "$cxx_z_relo"; then
52876 OPT_LDFLAGS="-Wl,-z,relro"
52877 ac_ld_relro=yes
52878 fi
52879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52880 $as_echo "$ac_ld_relro" >&6; }
52881 fi
52882
52883 # Set linker optimization flags.
52884 if test x"$with_gnu_ld" = x"yes"; then
52885 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52886 fi
52887
52888
52889
52890
52891 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52892
52893 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52894
52895 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52896
52897 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52898
52899 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52900
52901 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52902
52903 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52904
52905 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52906
52907 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52908
52909
52910 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52911
52912 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52913
52914 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52915
52916 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52917
52918 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52919
52920 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52921
52922 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52923
52924 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52925
52926 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52927
52928 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52929
52930 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52931
52932 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52933
52934 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52935
52936 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52937
52938 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52939
52940 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52941
52942 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52943
52944 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52945
52946 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52947
52948 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52949
52950 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52951
52952 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52953
52954 if test x"long_double_math_on_this_cpu" = x"yes"; then
52955 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52956
52957 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52958
52959 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52960
52961 fi
52962 ;;
52963 *-hpux*)
52964 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52965
52966
52967 # If we're not using GNU ld, then there's no point in even trying these
52968 # tests. Check for that first. We should have already tested for gld
52969 # by now (in libtool), but require it now just to be safe...
52970 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52971 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52972
52973
52974
52975 # The name set by libtool depends on the version of libtool. Shame on us
52976 # for depending on an impl detail, but c'est la vie. Older versions used
52977 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52978 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52979 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52980 # set (hence we're using an older libtool), then set it.
52981 if test x${with_gnu_ld+set} != xset; then
52982 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52983 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52984 with_gnu_ld=no
52985 else
52986 with_gnu_ld=$ac_cv_prog_gnu_ld
52987 fi
52988 fi
52989
52990 # Start by getting the version number. I think the libtool test already
52991 # does some of this, but throws away the result.
52992 glibcxx_ld_is_gold=no
52993 if test x"$with_gnu_ld" = x"yes"; then
52994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52995 $as_echo_n "checking for ld version... " >&6; }
52996
52997 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52998 glibcxx_ld_is_gold=yes
52999 fi
53000 ldver=`$LD --version 2>/dev/null |
53001 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'`
53002
53003 glibcxx_gnu_ld_version=`echo $ldver | \
53004 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53006 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53007 fi
53008
53009 # Set --gc-sections.
53010 glibcxx_have_gc_sections=no
53011 if test "$glibcxx_ld_is_gold" = "yes"; then
53012 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53013 glibcxx_have_gc_sections=yes
53014 fi
53015 else
53016 glibcxx_gcsections_min_ld=21602
53017 if test x"$with_gnu_ld" = x"yes" &&
53018 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53019 glibcxx_have_gc_sections=yes
53020 fi
53021 fi
53022 if test "$glibcxx_have_gc_sections" = "yes"; then
53023 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53024 # NB: This flag only works reliably after 2.16.1. Configure tests
53025 # for this are difficult, so hard wire a value that should work.
53026
53027 ac_test_CFLAGS="${CFLAGS+set}"
53028 ac_save_CFLAGS="$CFLAGS"
53029 CFLAGS='-Wl,--gc-sections'
53030
53031 # Check for -Wl,--gc-sections
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53033 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53034 if test x$gcc_no_link = xyes; then
53035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53036 fi
53037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53038 /* end confdefs.h. */
53039 int one(void) { return 1; }
53040 int two(void) { return 2; }
53041
53042 int
53043 main ()
53044 {
53045 two();
53046 ;
53047 return 0;
53048 }
53049 _ACEOF
53050 if ac_fn_c_try_link "$LINENO"; then :
53051 ac_gcsections=yes
53052 else
53053 ac_gcsections=no
53054 fi
53055 rm -f core conftest.err conftest.$ac_objext \
53056 conftest$ac_exeext conftest.$ac_ext
53057 if test "$ac_gcsections" = "yes"; then
53058 rm -f conftest.c
53059 touch conftest.c
53060 if $CC -c conftest.c; then
53061 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53062 grep "Warning: gc-sections option ignored" > /dev/null; then
53063 ac_gcsections=no
53064 fi
53065 fi
53066 rm -f conftest.c conftest.o conftest
53067 fi
53068 if test "$ac_gcsections" = "yes"; then
53069 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53070 fi
53071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53072 $as_echo "$ac_gcsections" >&6; }
53073
53074 if test "$ac_test_CFLAGS" = set; then
53075 CFLAGS="$ac_save_CFLAGS"
53076 else
53077 # this is the suspicious part
53078 CFLAGS=''
53079 fi
53080 fi
53081
53082 # Set -z,relro.
53083 # Note this is only for shared objects.
53084 ac_ld_relro=no
53085 if test x"$with_gnu_ld" = x"yes"; then
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53087 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53088 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53089 if test -n "$cxx_z_relo"; then
53090 OPT_LDFLAGS="-Wl,-z,relro"
53091 ac_ld_relro=yes
53092 fi
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53094 $as_echo "$ac_ld_relro" >&6; }
53095 fi
53096
53097 # Set linker optimization flags.
53098 if test x"$with_gnu_ld" = x"yes"; then
53099 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53100 fi
53101
53102
53103
53104
53105
53106 # GLIBCXX_CHECK_MATH_SUPPORT
53107 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53108
53109 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53110
53111 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53112
53113 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53114
53115 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53116
53117 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53118
53119 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53120
53121 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53122
53123 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53124
53125 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53126
53127 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53128
53129 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53130
53131 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53132
53133 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53134
53135 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53136
53137 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53138
53139 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53140
53141 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53142
53143 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53144
53145 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53146
53147 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53148
53149
53150 # GLIBCXX_CHECK_STDLIB_SUPPORT
53151 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53152
53153
53154
53155
53156 # Check whether --enable-tls was given.
53157 if test "${enable_tls+set}" = set; then :
53158 enableval=$enable_tls;
53159 case "$enableval" in
53160 yes|no) ;;
53161 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53162 esac
53163
53164 else
53165 enable_tls=yes
53166 fi
53167
53168
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53170 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53171 if test "${gcc_cv_have_tls+set}" = set; then :
53172 $as_echo_n "(cached) " >&6
53173 else
53174
53175 if test "$cross_compiling" = yes; then :
53176 if test x$gcc_no_link = xyes; then
53177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53178 fi
53179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53180 /* end confdefs.h. */
53181 __thread int a; int b; int main() { return a = b; }
53182 _ACEOF
53183 if ac_fn_c_try_link "$LINENO"; then :
53184 chktls_save_LDFLAGS="$LDFLAGS"
53185 case $host in
53186 *-*-linux*)
53187 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53188 ;;
53189 esac
53190 chktls_save_CFLAGS="$CFLAGS"
53191 CFLAGS="-fPIC $CFLAGS"
53192 if test x$gcc_no_link = xyes; then
53193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53194 fi
53195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196 /* end confdefs.h. */
53197 int f() { return 0; }
53198 _ACEOF
53199 if ac_fn_c_try_link "$LINENO"; then :
53200 if test x$gcc_no_link = xyes; then
53201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53202 fi
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53205 __thread int a; int b; int f() { return a = b; }
53206 _ACEOF
53207 if ac_fn_c_try_link "$LINENO"; then :
53208 gcc_cv_have_tls=yes
53209 else
53210 gcc_cv_have_tls=no
53211 fi
53212 rm -f core conftest.err conftest.$ac_objext \
53213 conftest$ac_exeext conftest.$ac_ext
53214 else
53215 gcc_cv_have_tls=yes
53216 fi
53217 rm -f core conftest.err conftest.$ac_objext \
53218 conftest$ac_exeext conftest.$ac_ext
53219 CFLAGS="$chktls_save_CFLAGS"
53220 LDFLAGS="$chktls_save_LDFLAGS"
53221 else
53222 gcc_cv_have_tls=no
53223 fi
53224 rm -f core conftest.err conftest.$ac_objext \
53225 conftest$ac_exeext conftest.$ac_ext
53226
53227
53228 else
53229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53230 /* end confdefs.h. */
53231 __thread int a; int b; int main() { return a = b; }
53232 _ACEOF
53233 if ac_fn_c_try_run "$LINENO"; then :
53234 chktls_save_LDFLAGS="$LDFLAGS"
53235 LDFLAGS="-static $LDFLAGS"
53236 if test x$gcc_no_link = xyes; then
53237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53238 fi
53239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53240 /* end confdefs.h. */
53241 int main() { return 0; }
53242 _ACEOF
53243 if ac_fn_c_try_link "$LINENO"; then :
53244 if test "$cross_compiling" = yes; then :
53245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53247 as_fn_error "cannot run test program while cross compiling
53248 See \`config.log' for more details." "$LINENO" 5; }
53249 else
53250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53251 /* end confdefs.h. */
53252 __thread int a; int b; int main() { return a = b; }
53253 _ACEOF
53254 if ac_fn_c_try_run "$LINENO"; then :
53255 gcc_cv_have_tls=yes
53256 else
53257 gcc_cv_have_tls=no
53258 fi
53259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53260 conftest.$ac_objext conftest.beam conftest.$ac_ext
53261 fi
53262
53263 else
53264 gcc_cv_have_tls=yes
53265 fi
53266 rm -f core conftest.err conftest.$ac_objext \
53267 conftest$ac_exeext conftest.$ac_ext
53268 LDFLAGS="$chktls_save_LDFLAGS"
53269 if test $gcc_cv_have_tls = yes; then
53270 chktls_save_CFLAGS="$CFLAGS"
53271 thread_CFLAGS=failed
53272 for flag in '' '-pthread' '-lpthread'; do
53273 CFLAGS="$flag $chktls_save_CFLAGS"
53274 if test x$gcc_no_link = xyes; then
53275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53276 fi
53277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53278 /* end confdefs.h. */
53279 #include <pthread.h>
53280 void *g(void *d) { return NULL; }
53281 int
53282 main ()
53283 {
53284 pthread_t t; pthread_create(&t,NULL,g,NULL);
53285 ;
53286 return 0;
53287 }
53288 _ACEOF
53289 if ac_fn_c_try_link "$LINENO"; then :
53290 thread_CFLAGS="$flag"
53291 fi
53292 rm -f core conftest.err conftest.$ac_objext \
53293 conftest$ac_exeext conftest.$ac_ext
53294 if test "X$thread_CFLAGS" != Xfailed; then
53295 break
53296 fi
53297 done
53298 CFLAGS="$chktls_save_CFLAGS"
53299 if test "X$thread_CFLAGS" != Xfailed; then
53300 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53301 if test "$cross_compiling" = yes; then :
53302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53304 as_fn_error "cannot run test program while cross compiling
53305 See \`config.log' for more details." "$LINENO" 5; }
53306 else
53307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53308 /* end confdefs.h. */
53309 #include <pthread.h>
53310 __thread int a;
53311 static int *volatile a_in_other_thread;
53312 static void *
53313 thread_func (void *arg)
53314 {
53315 a_in_other_thread = &a;
53316 return (void *)0;
53317 }
53318 int
53319 main ()
53320 {
53321 pthread_t thread;
53322 void *thread_retval;
53323 int *volatile a_in_main_thread;
53324 a_in_main_thread = &a;
53325 if (pthread_create (&thread, (pthread_attr_t *)0,
53326 thread_func, (void *)0))
53327 return 0;
53328 if (pthread_join (thread, &thread_retval))
53329 return 0;
53330 return (a_in_other_thread == a_in_main_thread);
53331 ;
53332 return 0;
53333 }
53334 _ACEOF
53335 if ac_fn_c_try_run "$LINENO"; then :
53336 gcc_cv_have_tls=yes
53337 else
53338 gcc_cv_have_tls=no
53339 fi
53340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53341 conftest.$ac_objext conftest.beam conftest.$ac_ext
53342 fi
53343
53344 CFLAGS="$chktls_save_CFLAGS"
53345 fi
53346 fi
53347 else
53348 gcc_cv_have_tls=no
53349 fi
53350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53351 conftest.$ac_objext conftest.beam conftest.$ac_ext
53352 fi
53353
53354 fi
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53356 $as_echo "$gcc_cv_have_tls" >&6; }
53357 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53358
53359 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53360
53361 fi
53362 case "$target" in
53363 *-hpux10*)
53364 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53365
53366 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53367
53368 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53369
53370 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53371
53372 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53373
53374 ;;
53375 esac
53376 ;;
53377 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53378
53379 # All these tests are for C++; save the language and the compiler flags.
53380 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53381 # found in GLIBCXX_CONFIGURE.
53382
53383 ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53388
53389 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53390 ac_save_CXXFLAGS="$CXXFLAGS"
53391
53392 # Check for maintainer-mode bits.
53393 if test x"$USE_MAINTAINER_MODE" = xno; then
53394 WERROR=''
53395 else
53396 WERROR='-Werror'
53397 fi
53398
53399 # Check for -ffunction-sections -fdata-sections
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53401 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53402 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53404 /* end confdefs.h. */
53405 int foo; void bar() { };
53406 int
53407 main ()
53408 {
53409
53410 ;
53411 return 0;
53412 }
53413 _ACEOF
53414 if ac_fn_cxx_try_compile "$LINENO"; then :
53415 ac_fdsections=yes
53416 else
53417 ac_fdsections=no
53418 fi
53419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53420 if test "$ac_test_CXXFLAGS" = set; then
53421 CXXFLAGS="$ac_save_CXXFLAGS"
53422 else
53423 # this is the suspicious part
53424 CXXFLAGS=''
53425 fi
53426 if test x"$ac_fdsections" = x"yes"; then
53427 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53428 fi
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53430 $as_echo "$ac_fdsections" >&6; }
53431
53432 ac_ext=c
53433 ac_cpp='$CPP $CPPFLAGS'
53434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53437
53438
53439
53440
53441
53442 # If we're not using GNU ld, then there's no point in even trying these
53443 # tests. Check for that first. We should have already tested for gld
53444 # by now (in libtool), but require it now just to be safe...
53445 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53446 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53447
53448
53449
53450 # The name set by libtool depends on the version of libtool. Shame on us
53451 # for depending on an impl detail, but c'est la vie. Older versions used
53452 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53453 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53454 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53455 # set (hence we're using an older libtool), then set it.
53456 if test x${with_gnu_ld+set} != xset; then
53457 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53458 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53459 with_gnu_ld=no
53460 else
53461 with_gnu_ld=$ac_cv_prog_gnu_ld
53462 fi
53463 fi
53464
53465 # Start by getting the version number. I think the libtool test already
53466 # does some of this, but throws away the result.
53467 glibcxx_ld_is_gold=no
53468 if test x"$with_gnu_ld" = x"yes"; then
53469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53470 $as_echo_n "checking for ld version... " >&6; }
53471
53472 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53473 glibcxx_ld_is_gold=yes
53474 fi
53475 ldver=`$LD --version 2>/dev/null |
53476 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'`
53477
53478 glibcxx_gnu_ld_version=`echo $ldver | \
53479 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53481 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53482 fi
53483
53484 # Set --gc-sections.
53485 glibcxx_have_gc_sections=no
53486 if test "$glibcxx_ld_is_gold" = "yes"; then
53487 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53488 glibcxx_have_gc_sections=yes
53489 fi
53490 else
53491 glibcxx_gcsections_min_ld=21602
53492 if test x"$with_gnu_ld" = x"yes" &&
53493 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53494 glibcxx_have_gc_sections=yes
53495 fi
53496 fi
53497 if test "$glibcxx_have_gc_sections" = "yes"; then
53498 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53499 # NB: This flag only works reliably after 2.16.1. Configure tests
53500 # for this are difficult, so hard wire a value that should work.
53501
53502 ac_test_CFLAGS="${CFLAGS+set}"
53503 ac_save_CFLAGS="$CFLAGS"
53504 CFLAGS='-Wl,--gc-sections'
53505
53506 # Check for -Wl,--gc-sections
53507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53508 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53509 if test x$gcc_no_link = xyes; then
53510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53511 fi
53512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53513 /* end confdefs.h. */
53514 int one(void) { return 1; }
53515 int two(void) { return 2; }
53516
53517 int
53518 main ()
53519 {
53520 two();
53521 ;
53522 return 0;
53523 }
53524 _ACEOF
53525 if ac_fn_c_try_link "$LINENO"; then :
53526 ac_gcsections=yes
53527 else
53528 ac_gcsections=no
53529 fi
53530 rm -f core conftest.err conftest.$ac_objext \
53531 conftest$ac_exeext conftest.$ac_ext
53532 if test "$ac_gcsections" = "yes"; then
53533 rm -f conftest.c
53534 touch conftest.c
53535 if $CC -c conftest.c; then
53536 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53537 grep "Warning: gc-sections option ignored" > /dev/null; then
53538 ac_gcsections=no
53539 fi
53540 fi
53541 rm -f conftest.c conftest.o conftest
53542 fi
53543 if test "$ac_gcsections" = "yes"; then
53544 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53545 fi
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53547 $as_echo "$ac_gcsections" >&6; }
53548
53549 if test "$ac_test_CFLAGS" = set; then
53550 CFLAGS="$ac_save_CFLAGS"
53551 else
53552 # this is the suspicious part
53553 CFLAGS=''
53554 fi
53555 fi
53556
53557 # Set -z,relro.
53558 # Note this is only for shared objects.
53559 ac_ld_relro=no
53560 if test x"$with_gnu_ld" = x"yes"; then
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53562 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53563 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53564 if test -n "$cxx_z_relo"; then
53565 OPT_LDFLAGS="-Wl,-z,relro"
53566 ac_ld_relro=yes
53567 fi
53568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53569 $as_echo "$ac_ld_relro" >&6; }
53570 fi
53571
53572 # Set linker optimization flags.
53573 if test x"$with_gnu_ld" = x"yes"; then
53574 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53575 fi
53576
53577
53578
53579
53580
53581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53582 ac_save_CXXFLAGS="$CXXFLAGS"
53583 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53584
53585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53586 $as_echo_n "checking for sin in -lm... " >&6; }
53587 if test "${ac_cv_lib_m_sin+set}" = set; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53590 ac_check_lib_save_LIBS=$LIBS
53591 LIBS="-lm $LIBS"
53592 if test x$gcc_no_link = xyes; then
53593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53594 fi
53595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53596 /* end confdefs.h. */
53597
53598 /* Override any GCC internal prototype to avoid an error.
53599 Use char because int might match the return type of a GCC
53600 builtin and then its argument prototype would still apply. */
53601 #ifdef __cplusplus
53602 extern "C"
53603 #endif
53604 char sin ();
53605 int
53606 main ()
53607 {
53608 return sin ();
53609 ;
53610 return 0;
53611 }
53612 _ACEOF
53613 if ac_fn_c_try_link "$LINENO"; then :
53614 ac_cv_lib_m_sin=yes
53615 else
53616 ac_cv_lib_m_sin=no
53617 fi
53618 rm -f core conftest.err conftest.$ac_objext \
53619 conftest$ac_exeext conftest.$ac_ext
53620 LIBS=$ac_check_lib_save_LIBS
53621 fi
53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53623 $as_echo "$ac_cv_lib_m_sin" >&6; }
53624 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53625 libm="-lm"
53626 fi
53627
53628 ac_save_LIBS="$LIBS"
53629 LIBS="$LIBS $libm"
53630
53631
53632
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53634 $as_echo_n "checking for isinf declaration... " >&6; }
53635 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53636 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53637 $as_echo_n "(cached) " >&6
53638 else
53639
53640
53641 ac_ext=cpp
53642 ac_cpp='$CXXCPP $CPPFLAGS'
53643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53646
53647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53648 /* end confdefs.h. */
53649 #include <math.h>
53650 #ifdef HAVE_IEEEFP_H
53651 #include <ieeefp.h>
53652 #endif
53653
53654 int
53655 main ()
53656 {
53657 isinf(0);
53658 ;
53659 return 0;
53660 }
53661 _ACEOF
53662 if ac_fn_cxx_try_compile "$LINENO"; then :
53663 glibcxx_cv_func_isinf_use=yes
53664 else
53665 glibcxx_cv_func_isinf_use=no
53666 fi
53667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53668 ac_ext=c
53669 ac_cpp='$CPP $CPPFLAGS'
53670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53673
53674
53675 fi
53676
53677 fi
53678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53679 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53680
53681 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53682 for ac_func in isinf
53683 do :
53684 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53685 if test "x$ac_cv_func_isinf" = x""yes; then :
53686 cat >>confdefs.h <<_ACEOF
53687 #define HAVE_ISINF 1
53688 _ACEOF
53689
53690 fi
53691 done
53692
53693 else
53694
53695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53696 $as_echo_n "checking for _isinf declaration... " >&6; }
53697 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53698 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53699 $as_echo_n "(cached) " >&6
53700 else
53701
53702
53703 ac_ext=cpp
53704 ac_cpp='$CXXCPP $CPPFLAGS'
53705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53708
53709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53710 /* end confdefs.h. */
53711 #include <math.h>
53712 #ifdef HAVE_IEEEFP_H
53713 #include <ieeefp.h>
53714 #endif
53715
53716 int
53717 main ()
53718 {
53719 _isinf(0);
53720 ;
53721 return 0;
53722 }
53723 _ACEOF
53724 if ac_fn_cxx_try_compile "$LINENO"; then :
53725 glibcxx_cv_func__isinf_use=yes
53726 else
53727 glibcxx_cv_func__isinf_use=no
53728 fi
53729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53730 ac_ext=c
53731 ac_cpp='$CPP $CPPFLAGS'
53732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53735
53736
53737 fi
53738
53739 fi
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53741 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53742
53743 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53744 for ac_func in _isinf
53745 do :
53746 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53747 if test "x$ac_cv_func__isinf" = x""yes; then :
53748 cat >>confdefs.h <<_ACEOF
53749 #define HAVE__ISINF 1
53750 _ACEOF
53751
53752 fi
53753 done
53754
53755 fi
53756 fi
53757
53758
53759
53760
53761
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53763 $as_echo_n "checking for isnan declaration... " >&6; }
53764 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53765 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53766 $as_echo_n "(cached) " >&6
53767 else
53768
53769
53770 ac_ext=cpp
53771 ac_cpp='$CXXCPP $CPPFLAGS'
53772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53775
53776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53777 /* end confdefs.h. */
53778 #include <math.h>
53779 #ifdef HAVE_IEEEFP_H
53780 #include <ieeefp.h>
53781 #endif
53782
53783 int
53784 main ()
53785 {
53786 isnan(0);
53787 ;
53788 return 0;
53789 }
53790 _ACEOF
53791 if ac_fn_cxx_try_compile "$LINENO"; then :
53792 glibcxx_cv_func_isnan_use=yes
53793 else
53794 glibcxx_cv_func_isnan_use=no
53795 fi
53796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53797 ac_ext=c
53798 ac_cpp='$CPP $CPPFLAGS'
53799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53802
53803
53804 fi
53805
53806 fi
53807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53808 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53809
53810 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53811 for ac_func in isnan
53812 do :
53813 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53814 if test "x$ac_cv_func_isnan" = x""yes; then :
53815 cat >>confdefs.h <<_ACEOF
53816 #define HAVE_ISNAN 1
53817 _ACEOF
53818
53819 fi
53820 done
53821
53822 else
53823
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53825 $as_echo_n "checking for _isnan declaration... " >&6; }
53826 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53827 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53828 $as_echo_n "(cached) " >&6
53829 else
53830
53831
53832 ac_ext=cpp
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53837
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53840 #include <math.h>
53841 #ifdef HAVE_IEEEFP_H
53842 #include <ieeefp.h>
53843 #endif
53844
53845 int
53846 main ()
53847 {
53848 _isnan(0);
53849 ;
53850 return 0;
53851 }
53852 _ACEOF
53853 if ac_fn_cxx_try_compile "$LINENO"; then :
53854 glibcxx_cv_func__isnan_use=yes
53855 else
53856 glibcxx_cv_func__isnan_use=no
53857 fi
53858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53859 ac_ext=c
53860 ac_cpp='$CPP $CPPFLAGS'
53861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53864
53865
53866 fi
53867
53868 fi
53869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53870 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53871
53872 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53873 for ac_func in _isnan
53874 do :
53875 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53876 if test "x$ac_cv_func__isnan" = x""yes; then :
53877 cat >>confdefs.h <<_ACEOF
53878 #define HAVE__ISNAN 1
53879 _ACEOF
53880
53881 fi
53882 done
53883
53884 fi
53885 fi
53886
53887
53888
53889
53890
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53892 $as_echo_n "checking for finite declaration... " >&6; }
53893 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53894 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53895 $as_echo_n "(cached) " >&6
53896 else
53897
53898
53899 ac_ext=cpp
53900 ac_cpp='$CXXCPP $CPPFLAGS'
53901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53904
53905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53906 /* end confdefs.h. */
53907 #include <math.h>
53908 #ifdef HAVE_IEEEFP_H
53909 #include <ieeefp.h>
53910 #endif
53911
53912 int
53913 main ()
53914 {
53915 finite(0);
53916 ;
53917 return 0;
53918 }
53919 _ACEOF
53920 if ac_fn_cxx_try_compile "$LINENO"; then :
53921 glibcxx_cv_func_finite_use=yes
53922 else
53923 glibcxx_cv_func_finite_use=no
53924 fi
53925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53926 ac_ext=c
53927 ac_cpp='$CPP $CPPFLAGS'
53928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53931
53932
53933 fi
53934
53935 fi
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53937 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53938
53939 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53940 for ac_func in finite
53941 do :
53942 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53943 if test "x$ac_cv_func_finite" = x""yes; then :
53944 cat >>confdefs.h <<_ACEOF
53945 #define HAVE_FINITE 1
53946 _ACEOF
53947
53948 fi
53949 done
53950
53951 else
53952
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53954 $as_echo_n "checking for _finite declaration... " >&6; }
53955 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53956 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53957 $as_echo_n "(cached) " >&6
53958 else
53959
53960
53961 ac_ext=cpp
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53966
53967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53968 /* end confdefs.h. */
53969 #include <math.h>
53970 #ifdef HAVE_IEEEFP_H
53971 #include <ieeefp.h>
53972 #endif
53973
53974 int
53975 main ()
53976 {
53977 _finite(0);
53978 ;
53979 return 0;
53980 }
53981 _ACEOF
53982 if ac_fn_cxx_try_compile "$LINENO"; then :
53983 glibcxx_cv_func__finite_use=yes
53984 else
53985 glibcxx_cv_func__finite_use=no
53986 fi
53987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53988 ac_ext=c
53989 ac_cpp='$CPP $CPPFLAGS'
53990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53993
53994
53995 fi
53996
53997 fi
53998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53999 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54000
54001 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54002 for ac_func in _finite
54003 do :
54004 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54005 if test "x$ac_cv_func__finite" = x""yes; then :
54006 cat >>confdefs.h <<_ACEOF
54007 #define HAVE__FINITE 1
54008 _ACEOF
54009
54010 fi
54011 done
54012
54013 fi
54014 fi
54015
54016
54017
54018
54019
54020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54021 $as_echo_n "checking for sincos declaration... " >&6; }
54022 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54023 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54024 $as_echo_n "(cached) " >&6
54025 else
54026
54027
54028 ac_ext=cpp
54029 ac_cpp='$CXXCPP $CPPFLAGS'
54030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54033
54034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54035 /* end confdefs.h. */
54036 #include <math.h>
54037 int
54038 main ()
54039 {
54040 sincos(0, 0, 0);
54041 ;
54042 return 0;
54043 }
54044 _ACEOF
54045 if ac_fn_cxx_try_compile "$LINENO"; then :
54046 glibcxx_cv_func_sincos_use=yes
54047 else
54048 glibcxx_cv_func_sincos_use=no
54049 fi
54050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54051 ac_ext=c
54052 ac_cpp='$CPP $CPPFLAGS'
54053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056
54057
54058 fi
54059
54060 fi
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54062 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54063
54064 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54065 for ac_func in sincos
54066 do :
54067 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54068 if test "x$ac_cv_func_sincos" = x""yes; then :
54069 cat >>confdefs.h <<_ACEOF
54070 #define HAVE_SINCOS 1
54071 _ACEOF
54072
54073 fi
54074 done
54075
54076 else
54077
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54079 $as_echo_n "checking for _sincos declaration... " >&6; }
54080 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54081 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54082 $as_echo_n "(cached) " >&6
54083 else
54084
54085
54086 ac_ext=cpp
54087 ac_cpp='$CXXCPP $CPPFLAGS'
54088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54091
54092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54093 /* end confdefs.h. */
54094 #include <math.h>
54095 int
54096 main ()
54097 {
54098 _sincos(0, 0, 0);
54099 ;
54100 return 0;
54101 }
54102 _ACEOF
54103 if ac_fn_cxx_try_compile "$LINENO"; then :
54104 glibcxx_cv_func__sincos_use=yes
54105 else
54106 glibcxx_cv_func__sincos_use=no
54107 fi
54108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54109 ac_ext=c
54110 ac_cpp='$CPP $CPPFLAGS'
54111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54114
54115
54116 fi
54117
54118 fi
54119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54120 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54121
54122 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54123 for ac_func in _sincos
54124 do :
54125 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54126 if test "x$ac_cv_func__sincos" = x""yes; then :
54127 cat >>confdefs.h <<_ACEOF
54128 #define HAVE__SINCOS 1
54129 _ACEOF
54130
54131 fi
54132 done
54133
54134 fi
54135 fi
54136
54137
54138
54139
54140
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54142 $as_echo_n "checking for fpclass declaration... " >&6; }
54143 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54144 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54145 $as_echo_n "(cached) " >&6
54146 else
54147
54148
54149 ac_ext=cpp
54150 ac_cpp='$CXXCPP $CPPFLAGS'
54151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54154
54155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54156 /* end confdefs.h. */
54157 #include <math.h>
54158 #ifdef HAVE_IEEEFP_H
54159 #include <ieeefp.h>
54160 #endif
54161
54162 int
54163 main ()
54164 {
54165 fpclass(0);
54166 ;
54167 return 0;
54168 }
54169 _ACEOF
54170 if ac_fn_cxx_try_compile "$LINENO"; then :
54171 glibcxx_cv_func_fpclass_use=yes
54172 else
54173 glibcxx_cv_func_fpclass_use=no
54174 fi
54175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54176 ac_ext=c
54177 ac_cpp='$CPP $CPPFLAGS'
54178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54181
54182
54183 fi
54184
54185 fi
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54187 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54188
54189 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54190 for ac_func in fpclass
54191 do :
54192 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54193 if test "x$ac_cv_func_fpclass" = x""yes; then :
54194 cat >>confdefs.h <<_ACEOF
54195 #define HAVE_FPCLASS 1
54196 _ACEOF
54197
54198 fi
54199 done
54200
54201 else
54202
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54204 $as_echo_n "checking for _fpclass declaration... " >&6; }
54205 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54206 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54207 $as_echo_n "(cached) " >&6
54208 else
54209
54210
54211 ac_ext=cpp
54212 ac_cpp='$CXXCPP $CPPFLAGS'
54213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54216
54217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54218 /* end confdefs.h. */
54219 #include <math.h>
54220 #ifdef HAVE_IEEEFP_H
54221 #include <ieeefp.h>
54222 #endif
54223
54224 int
54225 main ()
54226 {
54227 _fpclass(0);
54228 ;
54229 return 0;
54230 }
54231 _ACEOF
54232 if ac_fn_cxx_try_compile "$LINENO"; then :
54233 glibcxx_cv_func__fpclass_use=yes
54234 else
54235 glibcxx_cv_func__fpclass_use=no
54236 fi
54237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54238 ac_ext=c
54239 ac_cpp='$CPP $CPPFLAGS'
54240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54243
54244
54245 fi
54246
54247 fi
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54249 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54250
54251 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54252 for ac_func in _fpclass
54253 do :
54254 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54255 if test "x$ac_cv_func__fpclass" = x""yes; then :
54256 cat >>confdefs.h <<_ACEOF
54257 #define HAVE__FPCLASS 1
54258 _ACEOF
54259
54260 fi
54261 done
54262
54263 fi
54264 fi
54265
54266
54267
54268
54269
54270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54271 $as_echo_n "checking for qfpclass declaration... " >&6; }
54272 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54273 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54274 $as_echo_n "(cached) " >&6
54275 else
54276
54277
54278 ac_ext=cpp
54279 ac_cpp='$CXXCPP $CPPFLAGS'
54280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54283
54284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54285 /* end confdefs.h. */
54286 #include <math.h>
54287 #ifdef HAVE_IEEEFP_H
54288 #include <ieeefp.h>
54289 #endif
54290
54291 int
54292 main ()
54293 {
54294 qfpclass(0);
54295 ;
54296 return 0;
54297 }
54298 _ACEOF
54299 if ac_fn_cxx_try_compile "$LINENO"; then :
54300 glibcxx_cv_func_qfpclass_use=yes
54301 else
54302 glibcxx_cv_func_qfpclass_use=no
54303 fi
54304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54305 ac_ext=c
54306 ac_cpp='$CPP $CPPFLAGS'
54307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54310
54311
54312 fi
54313
54314 fi
54315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54316 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54317
54318 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54319 for ac_func in qfpclass
54320 do :
54321 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54322 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define HAVE_QFPCLASS 1
54325 _ACEOF
54326
54327 fi
54328 done
54329
54330 else
54331
54332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54333 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54334 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54335 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54336 $as_echo_n "(cached) " >&6
54337 else
54338
54339
54340 ac_ext=cpp
54341 ac_cpp='$CXXCPP $CPPFLAGS'
54342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54345
54346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54347 /* end confdefs.h. */
54348 #include <math.h>
54349 #ifdef HAVE_IEEEFP_H
54350 #include <ieeefp.h>
54351 #endif
54352
54353 int
54354 main ()
54355 {
54356 _qfpclass(0);
54357 ;
54358 return 0;
54359 }
54360 _ACEOF
54361 if ac_fn_cxx_try_compile "$LINENO"; then :
54362 glibcxx_cv_func__qfpclass_use=yes
54363 else
54364 glibcxx_cv_func__qfpclass_use=no
54365 fi
54366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54367 ac_ext=c
54368 ac_cpp='$CPP $CPPFLAGS'
54369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54372
54373
54374 fi
54375
54376 fi
54377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54378 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54379
54380 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54381 for ac_func in _qfpclass
54382 do :
54383 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54384 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54385 cat >>confdefs.h <<_ACEOF
54386 #define HAVE__QFPCLASS 1
54387 _ACEOF
54388
54389 fi
54390 done
54391
54392 fi
54393 fi
54394
54395
54396
54397
54398
54399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54400 $as_echo_n "checking for hypot declaration... " >&6; }
54401 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54402 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54403 $as_echo_n "(cached) " >&6
54404 else
54405
54406
54407 ac_ext=cpp
54408 ac_cpp='$CXXCPP $CPPFLAGS'
54409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412
54413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54414 /* end confdefs.h. */
54415 #include <math.h>
54416 int
54417 main ()
54418 {
54419 hypot(0, 0);
54420 ;
54421 return 0;
54422 }
54423 _ACEOF
54424 if ac_fn_cxx_try_compile "$LINENO"; then :
54425 glibcxx_cv_func_hypot_use=yes
54426 else
54427 glibcxx_cv_func_hypot_use=no
54428 fi
54429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54430 ac_ext=c
54431 ac_cpp='$CPP $CPPFLAGS'
54432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435
54436
54437 fi
54438
54439 fi
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54441 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54442
54443 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54444 for ac_func in hypot
54445 do :
54446 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54447 if test "x$ac_cv_func_hypot" = x""yes; then :
54448 cat >>confdefs.h <<_ACEOF
54449 #define HAVE_HYPOT 1
54450 _ACEOF
54451
54452 fi
54453 done
54454
54455 else
54456
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54458 $as_echo_n "checking for _hypot declaration... " >&6; }
54459 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54460 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54461 $as_echo_n "(cached) " >&6
54462 else
54463
54464
54465 ac_ext=cpp
54466 ac_cpp='$CXXCPP $CPPFLAGS'
54467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54470
54471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54472 /* end confdefs.h. */
54473 #include <math.h>
54474 int
54475 main ()
54476 {
54477 _hypot(0, 0);
54478 ;
54479 return 0;
54480 }
54481 _ACEOF
54482 if ac_fn_cxx_try_compile "$LINENO"; then :
54483 glibcxx_cv_func__hypot_use=yes
54484 else
54485 glibcxx_cv_func__hypot_use=no
54486 fi
54487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54488 ac_ext=c
54489 ac_cpp='$CPP $CPPFLAGS'
54490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54493
54494
54495 fi
54496
54497 fi
54498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54499 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54500
54501 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54502 for ac_func in _hypot
54503 do :
54504 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54505 if test "x$ac_cv_func__hypot" = x""yes; then :
54506 cat >>confdefs.h <<_ACEOF
54507 #define HAVE__HYPOT 1
54508 _ACEOF
54509
54510 fi
54511 done
54512
54513 fi
54514 fi
54515
54516
54517
54518
54519
54520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54521 $as_echo_n "checking for float trig functions... " >&6; }
54522 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54523 $as_echo_n "(cached) " >&6
54524 else
54525
54526
54527 ac_ext=cpp
54528 ac_cpp='$CXXCPP $CPPFLAGS'
54529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54532
54533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54534 /* end confdefs.h. */
54535 #include <math.h>
54536 int
54537 main ()
54538 {
54539 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54540 ;
54541 return 0;
54542 }
54543 _ACEOF
54544 if ac_fn_cxx_try_compile "$LINENO"; then :
54545 glibcxx_cv_func_float_trig_use=yes
54546 else
54547 glibcxx_cv_func_float_trig_use=no
54548 fi
54549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54550 ac_ext=c
54551 ac_cpp='$CPP $CPPFLAGS'
54552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54555
54556 fi
54557
54558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54559 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54560 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54561 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54562 do :
54563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54565 eval as_val=\$$as_ac_var
54566 if test "x$as_val" = x""yes; then :
54567 cat >>confdefs.h <<_ACEOF
54568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54569 _ACEOF
54570
54571 fi
54572 done
54573
54574 else
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54576 $as_echo_n "checking for _float trig functions... " >&6; }
54577 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54578 $as_echo_n "(cached) " >&6
54579 else
54580
54581
54582 ac_ext=cpp
54583 ac_cpp='$CXXCPP $CPPFLAGS'
54584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54587
54588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54589 /* end confdefs.h. */
54590 #include <math.h>
54591 int
54592 main ()
54593 {
54594 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54595 ;
54596 return 0;
54597 }
54598 _ACEOF
54599 if ac_fn_cxx_try_compile "$LINENO"; then :
54600 glibcxx_cv_func__float_trig_use=yes
54601 else
54602 glibcxx_cv_func__float_trig_use=no
54603 fi
54604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54605 ac_ext=c
54606 ac_cpp='$CPP $CPPFLAGS'
54607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54610
54611 fi
54612
54613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54614 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54615 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54616 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54617 do :
54618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54620 eval as_val=\$$as_ac_var
54621 if test "x$as_val" = x""yes; then :
54622 cat >>confdefs.h <<_ACEOF
54623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54624 _ACEOF
54625
54626 fi
54627 done
54628
54629 fi
54630 fi
54631
54632
54633
54634
54635
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54637 $as_echo_n "checking for float round functions... " >&6; }
54638 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54639 $as_echo_n "(cached) " >&6
54640 else
54641
54642
54643 ac_ext=cpp
54644 ac_cpp='$CXXCPP $CPPFLAGS'
54645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54648
54649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54650 /* end confdefs.h. */
54651 #include <math.h>
54652 int
54653 main ()
54654 {
54655 ceilf (0); floorf (0);
54656 ;
54657 return 0;
54658 }
54659 _ACEOF
54660 if ac_fn_cxx_try_compile "$LINENO"; then :
54661 glibcxx_cv_func_float_round_use=yes
54662 else
54663 glibcxx_cv_func_float_round_use=no
54664 fi
54665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54666 ac_ext=c
54667 ac_cpp='$CPP $CPPFLAGS'
54668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54671
54672 fi
54673
54674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54675 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54676 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54677 for ac_func in ceilf floorf
54678 do :
54679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54681 eval as_val=\$$as_ac_var
54682 if test "x$as_val" = x""yes; then :
54683 cat >>confdefs.h <<_ACEOF
54684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54685 _ACEOF
54686
54687 fi
54688 done
54689
54690 else
54691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54692 $as_echo_n "checking for _float round functions... " >&6; }
54693 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54694 $as_echo_n "(cached) " >&6
54695 else
54696
54697
54698 ac_ext=cpp
54699 ac_cpp='$CXXCPP $CPPFLAGS'
54700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54703
54704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54705 /* end confdefs.h. */
54706 #include <math.h>
54707 int
54708 main ()
54709 {
54710 _ceilf (0); _floorf (0);
54711 ;
54712 return 0;
54713 }
54714 _ACEOF
54715 if ac_fn_cxx_try_compile "$LINENO"; then :
54716 glibcxx_cv_func__float_round_use=yes
54717 else
54718 glibcxx_cv_func__float_round_use=no
54719 fi
54720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54721 ac_ext=c
54722 ac_cpp='$CPP $CPPFLAGS'
54723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54726
54727 fi
54728
54729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54730 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54731 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54732 for ac_func in _ceilf _floorf
54733 do :
54734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54736 eval as_val=\$$as_ac_var
54737 if test "x$as_val" = x""yes; then :
54738 cat >>confdefs.h <<_ACEOF
54739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54740 _ACEOF
54741
54742 fi
54743 done
54744
54745 fi
54746 fi
54747
54748
54749
54750
54751
54752
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54754 $as_echo_n "checking for expf declaration... " >&6; }
54755 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54756 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54757 $as_echo_n "(cached) " >&6
54758 else
54759
54760
54761 ac_ext=cpp
54762 ac_cpp='$CXXCPP $CPPFLAGS'
54763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54766
54767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54768 /* end confdefs.h. */
54769 #include <math.h>
54770 #ifdef HAVE_IEEEFP_H
54771 #include <ieeefp.h>
54772 #endif
54773
54774 int
54775 main ()
54776 {
54777 expf(0);
54778 ;
54779 return 0;
54780 }
54781 _ACEOF
54782 if ac_fn_cxx_try_compile "$LINENO"; then :
54783 glibcxx_cv_func_expf_use=yes
54784 else
54785 glibcxx_cv_func_expf_use=no
54786 fi
54787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54788 ac_ext=c
54789 ac_cpp='$CPP $CPPFLAGS'
54790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54793
54794
54795 fi
54796
54797 fi
54798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54799 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54800
54801 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54802 for ac_func in expf
54803 do :
54804 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54805 if test "x$ac_cv_func_expf" = x""yes; then :
54806 cat >>confdefs.h <<_ACEOF
54807 #define HAVE_EXPF 1
54808 _ACEOF
54809
54810 fi
54811 done
54812
54813 else
54814
54815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54816 $as_echo_n "checking for _expf declaration... " >&6; }
54817 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54818 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54819 $as_echo_n "(cached) " >&6
54820 else
54821
54822
54823 ac_ext=cpp
54824 ac_cpp='$CXXCPP $CPPFLAGS'
54825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54828
54829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54830 /* end confdefs.h. */
54831 #include <math.h>
54832 #ifdef HAVE_IEEEFP_H
54833 #include <ieeefp.h>
54834 #endif
54835
54836 int
54837 main ()
54838 {
54839 _expf(0);
54840 ;
54841 return 0;
54842 }
54843 _ACEOF
54844 if ac_fn_cxx_try_compile "$LINENO"; then :
54845 glibcxx_cv_func__expf_use=yes
54846 else
54847 glibcxx_cv_func__expf_use=no
54848 fi
54849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54850 ac_ext=c
54851 ac_cpp='$CPP $CPPFLAGS'
54852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54855
54856
54857 fi
54858
54859 fi
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54861 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54862
54863 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54864 for ac_func in _expf
54865 do :
54866 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54867 if test "x$ac_cv_func__expf" = x""yes; then :
54868 cat >>confdefs.h <<_ACEOF
54869 #define HAVE__EXPF 1
54870 _ACEOF
54871
54872 fi
54873 done
54874
54875 fi
54876 fi
54877
54878
54879
54880
54881
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54883 $as_echo_n "checking for isnanf declaration... " >&6; }
54884 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54885 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54886 $as_echo_n "(cached) " >&6
54887 else
54888
54889
54890 ac_ext=cpp
54891 ac_cpp='$CXXCPP $CPPFLAGS'
54892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54895
54896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54897 /* end confdefs.h. */
54898 #include <math.h>
54899 #ifdef HAVE_IEEEFP_H
54900 #include <ieeefp.h>
54901 #endif
54902
54903 int
54904 main ()
54905 {
54906 isnanf(0);
54907 ;
54908 return 0;
54909 }
54910 _ACEOF
54911 if ac_fn_cxx_try_compile "$LINENO"; then :
54912 glibcxx_cv_func_isnanf_use=yes
54913 else
54914 glibcxx_cv_func_isnanf_use=no
54915 fi
54916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54917 ac_ext=c
54918 ac_cpp='$CPP $CPPFLAGS'
54919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54922
54923
54924 fi
54925
54926 fi
54927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54928 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54929
54930 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54931 for ac_func in isnanf
54932 do :
54933 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54934 if test "x$ac_cv_func_isnanf" = x""yes; then :
54935 cat >>confdefs.h <<_ACEOF
54936 #define HAVE_ISNANF 1
54937 _ACEOF
54938
54939 fi
54940 done
54941
54942 else
54943
54944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54945 $as_echo_n "checking for _isnanf declaration... " >&6; }
54946 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54947 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54948 $as_echo_n "(cached) " >&6
54949 else
54950
54951
54952 ac_ext=cpp
54953 ac_cpp='$CXXCPP $CPPFLAGS'
54954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54957
54958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54959 /* end confdefs.h. */
54960 #include <math.h>
54961 #ifdef HAVE_IEEEFP_H
54962 #include <ieeefp.h>
54963 #endif
54964
54965 int
54966 main ()
54967 {
54968 _isnanf(0);
54969 ;
54970 return 0;
54971 }
54972 _ACEOF
54973 if ac_fn_cxx_try_compile "$LINENO"; then :
54974 glibcxx_cv_func__isnanf_use=yes
54975 else
54976 glibcxx_cv_func__isnanf_use=no
54977 fi
54978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54979 ac_ext=c
54980 ac_cpp='$CPP $CPPFLAGS'
54981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54984
54985
54986 fi
54987
54988 fi
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54990 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54991
54992 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54993 for ac_func in _isnanf
54994 do :
54995 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54996 if test "x$ac_cv_func__isnanf" = x""yes; then :
54997 cat >>confdefs.h <<_ACEOF
54998 #define HAVE__ISNANF 1
54999 _ACEOF
55000
55001 fi
55002 done
55003
55004 fi
55005 fi
55006
55007
55008
55009
55010
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55012 $as_echo_n "checking for isinff declaration... " >&6; }
55013 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55014 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55015 $as_echo_n "(cached) " >&6
55016 else
55017
55018
55019 ac_ext=cpp
55020 ac_cpp='$CXXCPP $CPPFLAGS'
55021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55024
55025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55026 /* end confdefs.h. */
55027 #include <math.h>
55028 #ifdef HAVE_IEEEFP_H
55029 #include <ieeefp.h>
55030 #endif
55031
55032 int
55033 main ()
55034 {
55035 isinff(0);
55036 ;
55037 return 0;
55038 }
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func_isinff_use=yes
55042 else
55043 glibcxx_cv_func_isinff_use=no
55044 fi
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55051
55052
55053 fi
55054
55055 fi
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55057 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55058
55059 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55060 for ac_func in isinff
55061 do :
55062 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55063 if test "x$ac_cv_func_isinff" = x""yes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE_ISINFF 1
55066 _ACEOF
55067
55068 fi
55069 done
55070
55071 else
55072
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55074 $as_echo_n "checking for _isinff declaration... " >&6; }
55075 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55076 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55077 $as_echo_n "(cached) " >&6
55078 else
55079
55080
55081 ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55086
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55089 #include <math.h>
55090 #ifdef HAVE_IEEEFP_H
55091 #include <ieeefp.h>
55092 #endif
55093
55094 int
55095 main ()
55096 {
55097 _isinff(0);
55098 ;
55099 return 0;
55100 }
55101 _ACEOF
55102 if ac_fn_cxx_try_compile "$LINENO"; then :
55103 glibcxx_cv_func__isinff_use=yes
55104 else
55105 glibcxx_cv_func__isinff_use=no
55106 fi
55107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55108 ac_ext=c
55109 ac_cpp='$CPP $CPPFLAGS'
55110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55113
55114
55115 fi
55116
55117 fi
55118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55119 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55120
55121 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55122 for ac_func in _isinff
55123 do :
55124 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55125 if test "x$ac_cv_func__isinff" = x""yes; then :
55126 cat >>confdefs.h <<_ACEOF
55127 #define HAVE__ISINFF 1
55128 _ACEOF
55129
55130 fi
55131 done
55132
55133 fi
55134 fi
55135
55136
55137
55138
55139
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55141 $as_echo_n "checking for atan2f declaration... " >&6; }
55142 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55143 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55144 $as_echo_n "(cached) " >&6
55145 else
55146
55147
55148 ac_ext=cpp
55149 ac_cpp='$CXXCPP $CPPFLAGS'
55150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55153
55154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55155 /* end confdefs.h. */
55156 #include <math.h>
55157 int
55158 main ()
55159 {
55160 atan2f(0, 0);
55161 ;
55162 return 0;
55163 }
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func_atan2f_use=yes
55167 else
55168 glibcxx_cv_func_atan2f_use=no
55169 fi
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176
55177
55178 fi
55179
55180 fi
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55182 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55183
55184 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55185 for ac_func in atan2f
55186 do :
55187 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55188 if test "x$ac_cv_func_atan2f" = x""yes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE_ATAN2F 1
55191 _ACEOF
55192
55193 fi
55194 done
55195
55196 else
55197
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55199 $as_echo_n "checking for _atan2f declaration... " >&6; }
55200 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55201 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55204
55205
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 int
55216 main ()
55217 {
55218 _atan2f(0, 0);
55219 ;
55220 return 0;
55221 }
55222 _ACEOF
55223 if ac_fn_cxx_try_compile "$LINENO"; then :
55224 glibcxx_cv_func__atan2f_use=yes
55225 else
55226 glibcxx_cv_func__atan2f_use=no
55227 fi
55228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55229 ac_ext=c
55230 ac_cpp='$CPP $CPPFLAGS'
55231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55234
55235
55236 fi
55237
55238 fi
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55240 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55241
55242 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55243 for ac_func in _atan2f
55244 do :
55245 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55246 if test "x$ac_cv_func__atan2f" = x""yes; then :
55247 cat >>confdefs.h <<_ACEOF
55248 #define HAVE__ATAN2F 1
55249 _ACEOF
55250
55251 fi
55252 done
55253
55254 fi
55255 fi
55256
55257
55258
55259
55260
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55262 $as_echo_n "checking for fabsf declaration... " >&6; }
55263 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55264 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55265 $as_echo_n "(cached) " >&6
55266 else
55267
55268
55269 ac_ext=cpp
55270 ac_cpp='$CXXCPP $CPPFLAGS'
55271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55274
55275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55276 /* end confdefs.h. */
55277 #include <math.h>
55278 #ifdef HAVE_IEEEFP_H
55279 #include <ieeefp.h>
55280 #endif
55281
55282 int
55283 main ()
55284 {
55285 fabsf(0);
55286 ;
55287 return 0;
55288 }
55289 _ACEOF
55290 if ac_fn_cxx_try_compile "$LINENO"; then :
55291 glibcxx_cv_func_fabsf_use=yes
55292 else
55293 glibcxx_cv_func_fabsf_use=no
55294 fi
55295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55296 ac_ext=c
55297 ac_cpp='$CPP $CPPFLAGS'
55298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55301
55302
55303 fi
55304
55305 fi
55306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55307 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55308
55309 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55310 for ac_func in fabsf
55311 do :
55312 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55313 if test "x$ac_cv_func_fabsf" = x""yes; then :
55314 cat >>confdefs.h <<_ACEOF
55315 #define HAVE_FABSF 1
55316 _ACEOF
55317
55318 fi
55319 done
55320
55321 else
55322
55323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55324 $as_echo_n "checking for _fabsf declaration... " >&6; }
55325 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55326 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55327 $as_echo_n "(cached) " >&6
55328 else
55329
55330
55331 ac_ext=cpp
55332 ac_cpp='$CXXCPP $CPPFLAGS'
55333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55336
55337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55338 /* end confdefs.h. */
55339 #include <math.h>
55340 #ifdef HAVE_IEEEFP_H
55341 #include <ieeefp.h>
55342 #endif
55343
55344 int
55345 main ()
55346 {
55347 _fabsf(0);
55348 ;
55349 return 0;
55350 }
55351 _ACEOF
55352 if ac_fn_cxx_try_compile "$LINENO"; then :
55353 glibcxx_cv_func__fabsf_use=yes
55354 else
55355 glibcxx_cv_func__fabsf_use=no
55356 fi
55357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55358 ac_ext=c
55359 ac_cpp='$CPP $CPPFLAGS'
55360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55363
55364
55365 fi
55366
55367 fi
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55369 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55370
55371 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55372 for ac_func in _fabsf
55373 do :
55374 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55375 if test "x$ac_cv_func__fabsf" = x""yes; then :
55376 cat >>confdefs.h <<_ACEOF
55377 #define HAVE__FABSF 1
55378 _ACEOF
55379
55380 fi
55381 done
55382
55383 fi
55384 fi
55385
55386
55387
55388
55389
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55391 $as_echo_n "checking for fmodf declaration... " >&6; }
55392 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55393 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55394 $as_echo_n "(cached) " >&6
55395 else
55396
55397
55398 ac_ext=cpp
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55403
55404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55405 /* end confdefs.h. */
55406 #include <math.h>
55407 int
55408 main ()
55409 {
55410 fmodf(0, 0);
55411 ;
55412 return 0;
55413 }
55414 _ACEOF
55415 if ac_fn_cxx_try_compile "$LINENO"; then :
55416 glibcxx_cv_func_fmodf_use=yes
55417 else
55418 glibcxx_cv_func_fmodf_use=no
55419 fi
55420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55421 ac_ext=c
55422 ac_cpp='$CPP $CPPFLAGS'
55423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55426
55427
55428 fi
55429
55430 fi
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55432 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55433
55434 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55435 for ac_func in fmodf
55436 do :
55437 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55438 if test "x$ac_cv_func_fmodf" = x""yes; then :
55439 cat >>confdefs.h <<_ACEOF
55440 #define HAVE_FMODF 1
55441 _ACEOF
55442
55443 fi
55444 done
55445
55446 else
55447
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55449 $as_echo_n "checking for _fmodf declaration... " >&6; }
55450 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55451 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55452 $as_echo_n "(cached) " >&6
55453 else
55454
55455
55456 ac_ext=cpp
55457 ac_cpp='$CXXCPP $CPPFLAGS'
55458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55461
55462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55463 /* end confdefs.h. */
55464 #include <math.h>
55465 int
55466 main ()
55467 {
55468 _fmodf(0, 0);
55469 ;
55470 return 0;
55471 }
55472 _ACEOF
55473 if ac_fn_cxx_try_compile "$LINENO"; then :
55474 glibcxx_cv_func__fmodf_use=yes
55475 else
55476 glibcxx_cv_func__fmodf_use=no
55477 fi
55478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55479 ac_ext=c
55480 ac_cpp='$CPP $CPPFLAGS'
55481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55484
55485
55486 fi
55487
55488 fi
55489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55490 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55491
55492 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55493 for ac_func in _fmodf
55494 do :
55495 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55496 if test "x$ac_cv_func__fmodf" = x""yes; then :
55497 cat >>confdefs.h <<_ACEOF
55498 #define HAVE__FMODF 1
55499 _ACEOF
55500
55501 fi
55502 done
55503
55504 fi
55505 fi
55506
55507
55508
55509
55510
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55512 $as_echo_n "checking for frexpf declaration... " >&6; }
55513 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55514 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55515 $as_echo_n "(cached) " >&6
55516 else
55517
55518
55519 ac_ext=cpp
55520 ac_cpp='$CXXCPP $CPPFLAGS'
55521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55524
55525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55526 /* end confdefs.h. */
55527 #include <math.h>
55528 int
55529 main ()
55530 {
55531 frexpf(0, 0);
55532 ;
55533 return 0;
55534 }
55535 _ACEOF
55536 if ac_fn_cxx_try_compile "$LINENO"; then :
55537 glibcxx_cv_func_frexpf_use=yes
55538 else
55539 glibcxx_cv_func_frexpf_use=no
55540 fi
55541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55542 ac_ext=c
55543 ac_cpp='$CPP $CPPFLAGS'
55544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55547
55548
55549 fi
55550
55551 fi
55552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55553 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55554
55555 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55556 for ac_func in frexpf
55557 do :
55558 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55559 if test "x$ac_cv_func_frexpf" = x""yes; then :
55560 cat >>confdefs.h <<_ACEOF
55561 #define HAVE_FREXPF 1
55562 _ACEOF
55563
55564 fi
55565 done
55566
55567 else
55568
55569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55570 $as_echo_n "checking for _frexpf declaration... " >&6; }
55571 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55572 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55573 $as_echo_n "(cached) " >&6
55574 else
55575
55576
55577 ac_ext=cpp
55578 ac_cpp='$CXXCPP $CPPFLAGS'
55579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55582
55583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55584 /* end confdefs.h. */
55585 #include <math.h>
55586 int
55587 main ()
55588 {
55589 _frexpf(0, 0);
55590 ;
55591 return 0;
55592 }
55593 _ACEOF
55594 if ac_fn_cxx_try_compile "$LINENO"; then :
55595 glibcxx_cv_func__frexpf_use=yes
55596 else
55597 glibcxx_cv_func__frexpf_use=no
55598 fi
55599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55600 ac_ext=c
55601 ac_cpp='$CPP $CPPFLAGS'
55602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55605
55606
55607 fi
55608
55609 fi
55610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55611 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55612
55613 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55614 for ac_func in _frexpf
55615 do :
55616 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55617 if test "x$ac_cv_func__frexpf" = x""yes; then :
55618 cat >>confdefs.h <<_ACEOF
55619 #define HAVE__FREXPF 1
55620 _ACEOF
55621
55622 fi
55623 done
55624
55625 fi
55626 fi
55627
55628
55629
55630
55631
55632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55633 $as_echo_n "checking for hypotf declaration... " >&6; }
55634 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55635 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55636 $as_echo_n "(cached) " >&6
55637 else
55638
55639
55640 ac_ext=cpp
55641 ac_cpp='$CXXCPP $CPPFLAGS'
55642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55645
55646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55647 /* end confdefs.h. */
55648 #include <math.h>
55649 int
55650 main ()
55651 {
55652 hypotf(0, 0);
55653 ;
55654 return 0;
55655 }
55656 _ACEOF
55657 if ac_fn_cxx_try_compile "$LINENO"; then :
55658 glibcxx_cv_func_hypotf_use=yes
55659 else
55660 glibcxx_cv_func_hypotf_use=no
55661 fi
55662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55663 ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668
55669
55670 fi
55671
55672 fi
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55674 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55675
55676 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55677 for ac_func in hypotf
55678 do :
55679 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55680 if test "x$ac_cv_func_hypotf" = x""yes; then :
55681 cat >>confdefs.h <<_ACEOF
55682 #define HAVE_HYPOTF 1
55683 _ACEOF
55684
55685 fi
55686 done
55687
55688 else
55689
55690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55691 $as_echo_n "checking for _hypotf declaration... " >&6; }
55692 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55693 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55694 $as_echo_n "(cached) " >&6
55695 else
55696
55697
55698 ac_ext=cpp
55699 ac_cpp='$CXXCPP $CPPFLAGS'
55700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55703
55704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55705 /* end confdefs.h. */
55706 #include <math.h>
55707 int
55708 main ()
55709 {
55710 _hypotf(0, 0);
55711 ;
55712 return 0;
55713 }
55714 _ACEOF
55715 if ac_fn_cxx_try_compile "$LINENO"; then :
55716 glibcxx_cv_func__hypotf_use=yes
55717 else
55718 glibcxx_cv_func__hypotf_use=no
55719 fi
55720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55721 ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55726
55727
55728 fi
55729
55730 fi
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55732 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55733
55734 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55735 for ac_func in _hypotf
55736 do :
55737 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55738 if test "x$ac_cv_func__hypotf" = x""yes; then :
55739 cat >>confdefs.h <<_ACEOF
55740 #define HAVE__HYPOTF 1
55741 _ACEOF
55742
55743 fi
55744 done
55745
55746 fi
55747 fi
55748
55749
55750
55751
55752
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55754 $as_echo_n "checking for ldexpf declaration... " >&6; }
55755 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55756 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55757 $as_echo_n "(cached) " >&6
55758 else
55759
55760
55761 ac_ext=cpp
55762 ac_cpp='$CXXCPP $CPPFLAGS'
55763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55766
55767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55768 /* end confdefs.h. */
55769 #include <math.h>
55770 int
55771 main ()
55772 {
55773 ldexpf(0, 0);
55774 ;
55775 return 0;
55776 }
55777 _ACEOF
55778 if ac_fn_cxx_try_compile "$LINENO"; then :
55779 glibcxx_cv_func_ldexpf_use=yes
55780 else
55781 glibcxx_cv_func_ldexpf_use=no
55782 fi
55783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55784 ac_ext=c
55785 ac_cpp='$CPP $CPPFLAGS'
55786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55789
55790
55791 fi
55792
55793 fi
55794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55795 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55796
55797 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55798 for ac_func in ldexpf
55799 do :
55800 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55801 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55802 cat >>confdefs.h <<_ACEOF
55803 #define HAVE_LDEXPF 1
55804 _ACEOF
55805
55806 fi
55807 done
55808
55809 else
55810
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55812 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55813 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55814 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55815 $as_echo_n "(cached) " >&6
55816 else
55817
55818
55819 ac_ext=cpp
55820 ac_cpp='$CXXCPP $CPPFLAGS'
55821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55824
55825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55826 /* end confdefs.h. */
55827 #include <math.h>
55828 int
55829 main ()
55830 {
55831 _ldexpf(0, 0);
55832 ;
55833 return 0;
55834 }
55835 _ACEOF
55836 if ac_fn_cxx_try_compile "$LINENO"; then :
55837 glibcxx_cv_func__ldexpf_use=yes
55838 else
55839 glibcxx_cv_func__ldexpf_use=no
55840 fi
55841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55842 ac_ext=c
55843 ac_cpp='$CPP $CPPFLAGS'
55844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55847
55848
55849 fi
55850
55851 fi
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55853 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55854
55855 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55856 for ac_func in _ldexpf
55857 do :
55858 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55859 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55860 cat >>confdefs.h <<_ACEOF
55861 #define HAVE__LDEXPF 1
55862 _ACEOF
55863
55864 fi
55865 done
55866
55867 fi
55868 fi
55869
55870
55871
55872
55873
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55875 $as_echo_n "checking for logf declaration... " >&6; }
55876 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55877 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55878 $as_echo_n "(cached) " >&6
55879 else
55880
55881
55882 ac_ext=cpp
55883 ac_cpp='$CXXCPP $CPPFLAGS'
55884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55887
55888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55889 /* end confdefs.h. */
55890 #include <math.h>
55891 #ifdef HAVE_IEEEFP_H
55892 #include <ieeefp.h>
55893 #endif
55894
55895 int
55896 main ()
55897 {
55898 logf(0);
55899 ;
55900 return 0;
55901 }
55902 _ACEOF
55903 if ac_fn_cxx_try_compile "$LINENO"; then :
55904 glibcxx_cv_func_logf_use=yes
55905 else
55906 glibcxx_cv_func_logf_use=no
55907 fi
55908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55909 ac_ext=c
55910 ac_cpp='$CPP $CPPFLAGS'
55911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55914
55915
55916 fi
55917
55918 fi
55919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55920 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55921
55922 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55923 for ac_func in logf
55924 do :
55925 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55926 if test "x$ac_cv_func_logf" = x""yes; then :
55927 cat >>confdefs.h <<_ACEOF
55928 #define HAVE_LOGF 1
55929 _ACEOF
55930
55931 fi
55932 done
55933
55934 else
55935
55936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55937 $as_echo_n "checking for _logf declaration... " >&6; }
55938 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55939 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55940 $as_echo_n "(cached) " >&6
55941 else
55942
55943
55944 ac_ext=cpp
55945 ac_cpp='$CXXCPP $CPPFLAGS'
55946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55949
55950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55951 /* end confdefs.h. */
55952 #include <math.h>
55953 #ifdef HAVE_IEEEFP_H
55954 #include <ieeefp.h>
55955 #endif
55956
55957 int
55958 main ()
55959 {
55960 _logf(0);
55961 ;
55962 return 0;
55963 }
55964 _ACEOF
55965 if ac_fn_cxx_try_compile "$LINENO"; then :
55966 glibcxx_cv_func__logf_use=yes
55967 else
55968 glibcxx_cv_func__logf_use=no
55969 fi
55970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55971 ac_ext=c
55972 ac_cpp='$CPP $CPPFLAGS'
55973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55976
55977
55978 fi
55979
55980 fi
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55982 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55983
55984 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55985 for ac_func in _logf
55986 do :
55987 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55988 if test "x$ac_cv_func__logf" = x""yes; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define HAVE__LOGF 1
55991 _ACEOF
55992
55993 fi
55994 done
55995
55996 fi
55997 fi
55998
55999
56000
56001
56002
56003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56004 $as_echo_n "checking for log10f declaration... " >&6; }
56005 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56006 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56007 $as_echo_n "(cached) " >&6
56008 else
56009
56010
56011 ac_ext=cpp
56012 ac_cpp='$CXXCPP $CPPFLAGS'
56013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56016
56017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56018 /* end confdefs.h. */
56019 #include <math.h>
56020 #ifdef HAVE_IEEEFP_H
56021 #include <ieeefp.h>
56022 #endif
56023
56024 int
56025 main ()
56026 {
56027 log10f(0);
56028 ;
56029 return 0;
56030 }
56031 _ACEOF
56032 if ac_fn_cxx_try_compile "$LINENO"; then :
56033 glibcxx_cv_func_log10f_use=yes
56034 else
56035 glibcxx_cv_func_log10f_use=no
56036 fi
56037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56038 ac_ext=c
56039 ac_cpp='$CPP $CPPFLAGS'
56040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56043
56044
56045 fi
56046
56047 fi
56048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56049 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56050
56051 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56052 for ac_func in log10f
56053 do :
56054 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56055 if test "x$ac_cv_func_log10f" = x""yes; then :
56056 cat >>confdefs.h <<_ACEOF
56057 #define HAVE_LOG10F 1
56058 _ACEOF
56059
56060 fi
56061 done
56062
56063 else
56064
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56066 $as_echo_n "checking for _log10f declaration... " >&6; }
56067 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56068 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56069 $as_echo_n "(cached) " >&6
56070 else
56071
56072
56073 ac_ext=cpp
56074 ac_cpp='$CXXCPP $CPPFLAGS'
56075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56078
56079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56080 /* end confdefs.h. */
56081 #include <math.h>
56082 #ifdef HAVE_IEEEFP_H
56083 #include <ieeefp.h>
56084 #endif
56085
56086 int
56087 main ()
56088 {
56089 _log10f(0);
56090 ;
56091 return 0;
56092 }
56093 _ACEOF
56094 if ac_fn_cxx_try_compile "$LINENO"; then :
56095 glibcxx_cv_func__log10f_use=yes
56096 else
56097 glibcxx_cv_func__log10f_use=no
56098 fi
56099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56100 ac_ext=c
56101 ac_cpp='$CPP $CPPFLAGS'
56102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56105
56106
56107 fi
56108
56109 fi
56110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56111 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56112
56113 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56114 for ac_func in _log10f
56115 do :
56116 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56117 if test "x$ac_cv_func__log10f" = x""yes; then :
56118 cat >>confdefs.h <<_ACEOF
56119 #define HAVE__LOG10F 1
56120 _ACEOF
56121
56122 fi
56123 done
56124
56125 fi
56126 fi
56127
56128
56129
56130
56131
56132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56133 $as_echo_n "checking for modff declaration... " >&6; }
56134 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56135 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56136 $as_echo_n "(cached) " >&6
56137 else
56138
56139
56140 ac_ext=cpp
56141 ac_cpp='$CXXCPP $CPPFLAGS'
56142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56145
56146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56147 /* end confdefs.h. */
56148 #include <math.h>
56149 int
56150 main ()
56151 {
56152 modff(0, 0);
56153 ;
56154 return 0;
56155 }
56156 _ACEOF
56157 if ac_fn_cxx_try_compile "$LINENO"; then :
56158 glibcxx_cv_func_modff_use=yes
56159 else
56160 glibcxx_cv_func_modff_use=no
56161 fi
56162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56163 ac_ext=c
56164 ac_cpp='$CPP $CPPFLAGS'
56165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168
56169
56170 fi
56171
56172 fi
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56174 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56175
56176 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56177 for ac_func in modff
56178 do :
56179 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56180 if test "x$ac_cv_func_modff" = x""yes; then :
56181 cat >>confdefs.h <<_ACEOF
56182 #define HAVE_MODFF 1
56183 _ACEOF
56184
56185 fi
56186 done
56187
56188 else
56189
56190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56191 $as_echo_n "checking for _modff declaration... " >&6; }
56192 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56193 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
56211 ;
56212 return 0;
56213 }
56214 _ACEOF
56215 if ac_fn_cxx_try_compile "$LINENO"; then :
56216 glibcxx_cv_func__modff_use=yes
56217 else
56218 glibcxx_cv_func__modff_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
56228 fi
56229
56230 fi
56231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56232 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56233
56234 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56235 for ac_func in _modff
56236 do :
56237 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56238 if test "x$ac_cv_func__modff" = x""yes; then :
56239 cat >>confdefs.h <<_ACEOF
56240 #define HAVE__MODFF 1
56241 _ACEOF
56242
56243 fi
56244 done
56245
56246 fi
56247 fi
56248
56249
56250
56251
56252
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56254 $as_echo_n "checking for modf declaration... " >&6; }
56255 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56256 if test "${glibcxx_cv_func_modf_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 int
56271 main ()
56272 {
56273 modf(0, 0);
56274 ;
56275 return 0;
56276 }
56277 _ACEOF
56278 if ac_fn_cxx_try_compile "$LINENO"; then :
56279 glibcxx_cv_func_modf_use=yes
56280 else
56281 glibcxx_cv_func_modf_use=no
56282 fi
56283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56284 ac_ext=c
56285 ac_cpp='$CPP $CPPFLAGS'
56286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56289
56290
56291 fi
56292
56293 fi
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56295 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56296
56297 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56298 for ac_func in modf
56299 do :
56300 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56301 if test "x$ac_cv_func_modf" = x""yes; then :
56302 cat >>confdefs.h <<_ACEOF
56303 #define HAVE_MODF 1
56304 _ACEOF
56305
56306 fi
56307 done
56308
56309 else
56310
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56312 $as_echo_n "checking for _modf declaration... " >&6; }
56313 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56314 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56315 $as_echo_n "(cached) " >&6
56316 else
56317
56318
56319 ac_ext=cpp
56320 ac_cpp='$CXXCPP $CPPFLAGS'
56321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56324
56325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56326 /* end confdefs.h. */
56327 #include <math.h>
56328 int
56329 main ()
56330 {
56331 _modf(0, 0);
56332 ;
56333 return 0;
56334 }
56335 _ACEOF
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337 glibcxx_cv_func__modf_use=yes
56338 else
56339 glibcxx_cv_func__modf_use=no
56340 fi
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342 ac_ext=c
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56347
56348
56349 fi
56350
56351 fi
56352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56353 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56354
56355 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56356 for ac_func in _modf
56357 do :
56358 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56359 if test "x$ac_cv_func__modf" = x""yes; then :
56360 cat >>confdefs.h <<_ACEOF
56361 #define HAVE__MODF 1
56362 _ACEOF
56363
56364 fi
56365 done
56366
56367 fi
56368 fi
56369
56370
56371
56372
56373
56374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56375 $as_echo_n "checking for powf declaration... " >&6; }
56376 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56377 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56378 $as_echo_n "(cached) " >&6
56379 else
56380
56381
56382 ac_ext=cpp
56383 ac_cpp='$CXXCPP $CPPFLAGS'
56384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56387
56388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56389 /* end confdefs.h. */
56390 #include <math.h>
56391 int
56392 main ()
56393 {
56394 powf(0, 0);
56395 ;
56396 return 0;
56397 }
56398 _ACEOF
56399 if ac_fn_cxx_try_compile "$LINENO"; then :
56400 glibcxx_cv_func_powf_use=yes
56401 else
56402 glibcxx_cv_func_powf_use=no
56403 fi
56404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56405 ac_ext=c
56406 ac_cpp='$CPP $CPPFLAGS'
56407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56410
56411
56412 fi
56413
56414 fi
56415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56416 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56417
56418 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56419 for ac_func in powf
56420 do :
56421 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56422 if test "x$ac_cv_func_powf" = x""yes; then :
56423 cat >>confdefs.h <<_ACEOF
56424 #define HAVE_POWF 1
56425 _ACEOF
56426
56427 fi
56428 done
56429
56430 else
56431
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56433 $as_echo_n "checking for _powf declaration... " >&6; }
56434 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56435 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56436 $as_echo_n "(cached) " >&6
56437 else
56438
56439
56440 ac_ext=cpp
56441 ac_cpp='$CXXCPP $CPPFLAGS'
56442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56445
56446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56447 /* end confdefs.h. */
56448 #include <math.h>
56449 int
56450 main ()
56451 {
56452 _powf(0, 0);
56453 ;
56454 return 0;
56455 }
56456 _ACEOF
56457 if ac_fn_cxx_try_compile "$LINENO"; then :
56458 glibcxx_cv_func__powf_use=yes
56459 else
56460 glibcxx_cv_func__powf_use=no
56461 fi
56462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56463 ac_ext=c
56464 ac_cpp='$CPP $CPPFLAGS'
56465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56468
56469
56470 fi
56471
56472 fi
56473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56474 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56475
56476 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56477 for ac_func in _powf
56478 do :
56479 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56480 if test "x$ac_cv_func__powf" = x""yes; then :
56481 cat >>confdefs.h <<_ACEOF
56482 #define HAVE__POWF 1
56483 _ACEOF
56484
56485 fi
56486 done
56487
56488 fi
56489 fi
56490
56491
56492
56493
56494
56495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56496 $as_echo_n "checking for sqrtf declaration... " >&6; }
56497 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56498 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56499 $as_echo_n "(cached) " >&6
56500 else
56501
56502
56503 ac_ext=cpp
56504 ac_cpp='$CXXCPP $CPPFLAGS'
56505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56508
56509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56510 /* end confdefs.h. */
56511 #include <math.h>
56512 #ifdef HAVE_IEEEFP_H
56513 #include <ieeefp.h>
56514 #endif
56515
56516 int
56517 main ()
56518 {
56519 sqrtf(0);
56520 ;
56521 return 0;
56522 }
56523 _ACEOF
56524 if ac_fn_cxx_try_compile "$LINENO"; then :
56525 glibcxx_cv_func_sqrtf_use=yes
56526 else
56527 glibcxx_cv_func_sqrtf_use=no
56528 fi
56529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56530 ac_ext=c
56531 ac_cpp='$CPP $CPPFLAGS'
56532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56535
56536
56537 fi
56538
56539 fi
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56541 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56542
56543 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56544 for ac_func in sqrtf
56545 do :
56546 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56547 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56548 cat >>confdefs.h <<_ACEOF
56549 #define HAVE_SQRTF 1
56550 _ACEOF
56551
56552 fi
56553 done
56554
56555 else
56556
56557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56558 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56559 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56560 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56561 $as_echo_n "(cached) " >&6
56562 else
56563
56564
56565 ac_ext=cpp
56566 ac_cpp='$CXXCPP $CPPFLAGS'
56567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56570
56571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56572 /* end confdefs.h. */
56573 #include <math.h>
56574 #ifdef HAVE_IEEEFP_H
56575 #include <ieeefp.h>
56576 #endif
56577
56578 int
56579 main ()
56580 {
56581 _sqrtf(0);
56582 ;
56583 return 0;
56584 }
56585 _ACEOF
56586 if ac_fn_cxx_try_compile "$LINENO"; then :
56587 glibcxx_cv_func__sqrtf_use=yes
56588 else
56589 glibcxx_cv_func__sqrtf_use=no
56590 fi
56591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56592 ac_ext=c
56593 ac_cpp='$CPP $CPPFLAGS'
56594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56597
56598
56599 fi
56600
56601 fi
56602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56603 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56604
56605 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56606 for ac_func in _sqrtf
56607 do :
56608 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56609 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56610 cat >>confdefs.h <<_ACEOF
56611 #define HAVE__SQRTF 1
56612 _ACEOF
56613
56614 fi
56615 done
56616
56617 fi
56618 fi
56619
56620
56621
56622
56623
56624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56625 $as_echo_n "checking for sincosf declaration... " >&6; }
56626 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56627 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56628 $as_echo_n "(cached) " >&6
56629 else
56630
56631
56632 ac_ext=cpp
56633 ac_cpp='$CXXCPP $CPPFLAGS'
56634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56637
56638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56639 /* end confdefs.h. */
56640 #include <math.h>
56641 int
56642 main ()
56643 {
56644 sincosf(0, 0, 0);
56645 ;
56646 return 0;
56647 }
56648 _ACEOF
56649 if ac_fn_cxx_try_compile "$LINENO"; then :
56650 glibcxx_cv_func_sincosf_use=yes
56651 else
56652 glibcxx_cv_func_sincosf_use=no
56653 fi
56654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56655 ac_ext=c
56656 ac_cpp='$CPP $CPPFLAGS'
56657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56660
56661
56662 fi
56663
56664 fi
56665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56666 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56667
56668 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56669 for ac_func in sincosf
56670 do :
56671 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56672 if test "x$ac_cv_func_sincosf" = x""yes; then :
56673 cat >>confdefs.h <<_ACEOF
56674 #define HAVE_SINCOSF 1
56675 _ACEOF
56676
56677 fi
56678 done
56679
56680 else
56681
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56683 $as_echo_n "checking for _sincosf declaration... " >&6; }
56684 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56685 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56686 $as_echo_n "(cached) " >&6
56687 else
56688
56689
56690 ac_ext=cpp
56691 ac_cpp='$CXXCPP $CPPFLAGS'
56692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56695
56696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56697 /* end confdefs.h. */
56698 #include <math.h>
56699 int
56700 main ()
56701 {
56702 _sincosf(0, 0, 0);
56703 ;
56704 return 0;
56705 }
56706 _ACEOF
56707 if ac_fn_cxx_try_compile "$LINENO"; then :
56708 glibcxx_cv_func__sincosf_use=yes
56709 else
56710 glibcxx_cv_func__sincosf_use=no
56711 fi
56712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56713 ac_ext=c
56714 ac_cpp='$CPP $CPPFLAGS'
56715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56718
56719
56720 fi
56721
56722 fi
56723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56724 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56725
56726 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56727 for ac_func in _sincosf
56728 do :
56729 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56730 if test "x$ac_cv_func__sincosf" = x""yes; then :
56731 cat >>confdefs.h <<_ACEOF
56732 #define HAVE__SINCOSF 1
56733 _ACEOF
56734
56735 fi
56736 done
56737
56738 fi
56739 fi
56740
56741
56742
56743
56744
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56746 $as_echo_n "checking for finitef declaration... " >&6; }
56747 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56748 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56749 $as_echo_n "(cached) " >&6
56750 else
56751
56752
56753 ac_ext=cpp
56754 ac_cpp='$CXXCPP $CPPFLAGS'
56755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56758
56759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56760 /* end confdefs.h. */
56761 #include <math.h>
56762 #ifdef HAVE_IEEEFP_H
56763 #include <ieeefp.h>
56764 #endif
56765
56766 int
56767 main ()
56768 {
56769 finitef(0);
56770 ;
56771 return 0;
56772 }
56773 _ACEOF
56774 if ac_fn_cxx_try_compile "$LINENO"; then :
56775 glibcxx_cv_func_finitef_use=yes
56776 else
56777 glibcxx_cv_func_finitef_use=no
56778 fi
56779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56780 ac_ext=c
56781 ac_cpp='$CPP $CPPFLAGS'
56782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56785
56786
56787 fi
56788
56789 fi
56790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56791 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56792
56793 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56794 for ac_func in finitef
56795 do :
56796 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56797 if test "x$ac_cv_func_finitef" = x""yes; then :
56798 cat >>confdefs.h <<_ACEOF
56799 #define HAVE_FINITEF 1
56800 _ACEOF
56801
56802 fi
56803 done
56804
56805 else
56806
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56808 $as_echo_n "checking for _finitef declaration... " >&6; }
56809 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56810 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56811 $as_echo_n "(cached) " >&6
56812 else
56813
56814
56815 ac_ext=cpp
56816 ac_cpp='$CXXCPP $CPPFLAGS'
56817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56820
56821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56822 /* end confdefs.h. */
56823 #include <math.h>
56824 #ifdef HAVE_IEEEFP_H
56825 #include <ieeefp.h>
56826 #endif
56827
56828 int
56829 main ()
56830 {
56831 _finitef(0);
56832 ;
56833 return 0;
56834 }
56835 _ACEOF
56836 if ac_fn_cxx_try_compile "$LINENO"; then :
56837 glibcxx_cv_func__finitef_use=yes
56838 else
56839 glibcxx_cv_func__finitef_use=no
56840 fi
56841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56842 ac_ext=c
56843 ac_cpp='$CPP $CPPFLAGS'
56844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56847
56848
56849 fi
56850
56851 fi
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56853 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56854
56855 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56856 for ac_func in _finitef
56857 do :
56858 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56859 if test "x$ac_cv_func__finitef" = x""yes; then :
56860 cat >>confdefs.h <<_ACEOF
56861 #define HAVE__FINITEF 1
56862 _ACEOF
56863
56864 fi
56865 done
56866
56867 fi
56868 fi
56869
56870
56871
56872
56873
56874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56875 $as_echo_n "checking for long double trig functions... " >&6; }
56876 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56877 $as_echo_n "(cached) " >&6
56878 else
56879
56880
56881 ac_ext=cpp
56882 ac_cpp='$CXXCPP $CPPFLAGS'
56883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56886
56887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56888 /* end confdefs.h. */
56889 #include <math.h>
56890 int
56891 main ()
56892 {
56893 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56894 ;
56895 return 0;
56896 }
56897 _ACEOF
56898 if ac_fn_cxx_try_compile "$LINENO"; then :
56899 glibcxx_cv_func_long_double_trig_use=yes
56900 else
56901 glibcxx_cv_func_long_double_trig_use=no
56902 fi
56903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56904 ac_ext=c
56905 ac_cpp='$CPP $CPPFLAGS'
56906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56909
56910 fi
56911
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56913 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56914 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56915 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56916 do :
56917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56919 eval as_val=\$$as_ac_var
56920 if test "x$as_val" = x""yes; then :
56921 cat >>confdefs.h <<_ACEOF
56922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56923 _ACEOF
56924
56925 fi
56926 done
56927
56928 else
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56930 $as_echo_n "checking for _long double trig functions... " >&6; }
56931 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56932 $as_echo_n "(cached) " >&6
56933 else
56934
56935
56936 ac_ext=cpp
56937 ac_cpp='$CXXCPP $CPPFLAGS'
56938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56941
56942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56943 /* end confdefs.h. */
56944 #include <math.h>
56945 int
56946 main ()
56947 {
56948 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56949 ;
56950 return 0;
56951 }
56952 _ACEOF
56953 if ac_fn_cxx_try_compile "$LINENO"; then :
56954 glibcxx_cv_func__long_double_trig_use=yes
56955 else
56956 glibcxx_cv_func__long_double_trig_use=no
56957 fi
56958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56959 ac_ext=c
56960 ac_cpp='$CPP $CPPFLAGS'
56961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56964
56965 fi
56966
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56968 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56969 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56970 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56971 do :
56972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56974 eval as_val=\$$as_ac_var
56975 if test "x$as_val" = x""yes; then :
56976 cat >>confdefs.h <<_ACEOF
56977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56978 _ACEOF
56979
56980 fi
56981 done
56982
56983 fi
56984 fi
56985
56986
56987
56988
56989
56990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56991 $as_echo_n "checking for long double round functions... " >&6; }
56992 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56993 $as_echo_n "(cached) " >&6
56994 else
56995
56996
56997 ac_ext=cpp
56998 ac_cpp='$CXXCPP $CPPFLAGS'
56999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57002
57003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57004 /* end confdefs.h. */
57005 #include <math.h>
57006 int
57007 main ()
57008 {
57009 ceill (0); floorl (0);
57010 ;
57011 return 0;
57012 }
57013 _ACEOF
57014 if ac_fn_cxx_try_compile "$LINENO"; then :
57015 glibcxx_cv_func_long_double_round_use=yes
57016 else
57017 glibcxx_cv_func_long_double_round_use=no
57018 fi
57019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57020 ac_ext=c
57021 ac_cpp='$CPP $CPPFLAGS'
57022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57025
57026 fi
57027
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57029 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57030 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57031 for ac_func in ceill floorl
57032 do :
57033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57035 eval as_val=\$$as_ac_var
57036 if test "x$as_val" = x""yes; then :
57037 cat >>confdefs.h <<_ACEOF
57038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57039 _ACEOF
57040
57041 fi
57042 done
57043
57044 else
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57046 $as_echo_n "checking for _long double round functions... " >&6; }
57047 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57048 $as_echo_n "(cached) " >&6
57049 else
57050
57051
57052 ac_ext=cpp
57053 ac_cpp='$CXXCPP $CPPFLAGS'
57054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57057
57058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57059 /* end confdefs.h. */
57060 #include <math.h>
57061 int
57062 main ()
57063 {
57064 _ceill (0); _floorl (0);
57065 ;
57066 return 0;
57067 }
57068 _ACEOF
57069 if ac_fn_cxx_try_compile "$LINENO"; then :
57070 glibcxx_cv_func__long_double_round_use=yes
57071 else
57072 glibcxx_cv_func__long_double_round_use=no
57073 fi
57074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57075 ac_ext=c
57076 ac_cpp='$CPP $CPPFLAGS'
57077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57080
57081 fi
57082
57083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57084 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57085 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57086 for ac_func in _ceill _floorl
57087 do :
57088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57090 eval as_val=\$$as_ac_var
57091 if test "x$as_val" = x""yes; then :
57092 cat >>confdefs.h <<_ACEOF
57093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57094 _ACEOF
57095
57096 fi
57097 done
57098
57099 fi
57100 fi
57101
57102
57103
57104
57105
57106
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57108 $as_echo_n "checking for isnanl declaration... " >&6; }
57109 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57110 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57111 $as_echo_n "(cached) " >&6
57112 else
57113
57114
57115 ac_ext=cpp
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57120
57121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57122 /* end confdefs.h. */
57123 #include <math.h>
57124 #ifdef HAVE_IEEEFP_H
57125 #include <ieeefp.h>
57126 #endif
57127
57128 int
57129 main ()
57130 {
57131 isnanl(0);
57132 ;
57133 return 0;
57134 }
57135 _ACEOF
57136 if ac_fn_cxx_try_compile "$LINENO"; then :
57137 glibcxx_cv_func_isnanl_use=yes
57138 else
57139 glibcxx_cv_func_isnanl_use=no
57140 fi
57141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57142 ac_ext=c
57143 ac_cpp='$CPP $CPPFLAGS'
57144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57147
57148
57149 fi
57150
57151 fi
57152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57153 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57154
57155 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57156 for ac_func in isnanl
57157 do :
57158 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57159 if test "x$ac_cv_func_isnanl" = x""yes; then :
57160 cat >>confdefs.h <<_ACEOF
57161 #define HAVE_ISNANL 1
57162 _ACEOF
57163
57164 fi
57165 done
57166
57167 else
57168
57169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57170 $as_echo_n "checking for _isnanl declaration... " >&6; }
57171 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57172 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57173 $as_echo_n "(cached) " >&6
57174 else
57175
57176
57177 ac_ext=cpp
57178 ac_cpp='$CXXCPP $CPPFLAGS'
57179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57182
57183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57184 /* end confdefs.h. */
57185 #include <math.h>
57186 #ifdef HAVE_IEEEFP_H
57187 #include <ieeefp.h>
57188 #endif
57189
57190 int
57191 main ()
57192 {
57193 _isnanl(0);
57194 ;
57195 return 0;
57196 }
57197 _ACEOF
57198 if ac_fn_cxx_try_compile "$LINENO"; then :
57199 glibcxx_cv_func__isnanl_use=yes
57200 else
57201 glibcxx_cv_func__isnanl_use=no
57202 fi
57203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57204 ac_ext=c
57205 ac_cpp='$CPP $CPPFLAGS'
57206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57209
57210
57211 fi
57212
57213 fi
57214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57215 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57216
57217 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57218 for ac_func in _isnanl
57219 do :
57220 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57221 if test "x$ac_cv_func__isnanl" = x""yes; then :
57222 cat >>confdefs.h <<_ACEOF
57223 #define HAVE__ISNANL 1
57224 _ACEOF
57225
57226 fi
57227 done
57228
57229 fi
57230 fi
57231
57232
57233
57234
57235
57236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57237 $as_echo_n "checking for isinfl declaration... " >&6; }
57238 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57239 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57240 $as_echo_n "(cached) " >&6
57241 else
57242
57243
57244 ac_ext=cpp
57245 ac_cpp='$CXXCPP $CPPFLAGS'
57246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57249
57250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57251 /* end confdefs.h. */
57252 #include <math.h>
57253 #ifdef HAVE_IEEEFP_H
57254 #include <ieeefp.h>
57255 #endif
57256
57257 int
57258 main ()
57259 {
57260 isinfl(0);
57261 ;
57262 return 0;
57263 }
57264 _ACEOF
57265 if ac_fn_cxx_try_compile "$LINENO"; then :
57266 glibcxx_cv_func_isinfl_use=yes
57267 else
57268 glibcxx_cv_func_isinfl_use=no
57269 fi
57270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57271 ac_ext=c
57272 ac_cpp='$CPP $CPPFLAGS'
57273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57276
57277
57278 fi
57279
57280 fi
57281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57282 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57283
57284 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57285 for ac_func in isinfl
57286 do :
57287 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57288 if test "x$ac_cv_func_isinfl" = x""yes; then :
57289 cat >>confdefs.h <<_ACEOF
57290 #define HAVE_ISINFL 1
57291 _ACEOF
57292
57293 fi
57294 done
57295
57296 else
57297
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57299 $as_echo_n "checking for _isinfl declaration... " >&6; }
57300 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57301 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57302 $as_echo_n "(cached) " >&6
57303 else
57304
57305
57306 ac_ext=cpp
57307 ac_cpp='$CXXCPP $CPPFLAGS'
57308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57311
57312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57313 /* end confdefs.h. */
57314 #include <math.h>
57315 #ifdef HAVE_IEEEFP_H
57316 #include <ieeefp.h>
57317 #endif
57318
57319 int
57320 main ()
57321 {
57322 _isinfl(0);
57323 ;
57324 return 0;
57325 }
57326 _ACEOF
57327 if ac_fn_cxx_try_compile "$LINENO"; then :
57328 glibcxx_cv_func__isinfl_use=yes
57329 else
57330 glibcxx_cv_func__isinfl_use=no
57331 fi
57332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57333 ac_ext=c
57334 ac_cpp='$CPP $CPPFLAGS'
57335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57338
57339
57340 fi
57341
57342 fi
57343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57344 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57345
57346 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57347 for ac_func in _isinfl
57348 do :
57349 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57350 if test "x$ac_cv_func__isinfl" = x""yes; then :
57351 cat >>confdefs.h <<_ACEOF
57352 #define HAVE__ISINFL 1
57353 _ACEOF
57354
57355 fi
57356 done
57357
57358 fi
57359 fi
57360
57361
57362
57363
57364
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57366 $as_echo_n "checking for atan2l declaration... " >&6; }
57367 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57368 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57369 $as_echo_n "(cached) " >&6
57370 else
57371
57372
57373 ac_ext=cpp
57374 ac_cpp='$CXXCPP $CPPFLAGS'
57375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57378
57379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57380 /* end confdefs.h. */
57381 #include <math.h>
57382 int
57383 main ()
57384 {
57385 atan2l(0, 0);
57386 ;
57387 return 0;
57388 }
57389 _ACEOF
57390 if ac_fn_cxx_try_compile "$LINENO"; then :
57391 glibcxx_cv_func_atan2l_use=yes
57392 else
57393 glibcxx_cv_func_atan2l_use=no
57394 fi
57395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57396 ac_ext=c
57397 ac_cpp='$CPP $CPPFLAGS'
57398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57401
57402
57403 fi
57404
57405 fi
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57407 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57408
57409 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57410 for ac_func in atan2l
57411 do :
57412 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57413 if test "x$ac_cv_func_atan2l" = x""yes; then :
57414 cat >>confdefs.h <<_ACEOF
57415 #define HAVE_ATAN2L 1
57416 _ACEOF
57417
57418 fi
57419 done
57420
57421 else
57422
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57424 $as_echo_n "checking for _atan2l declaration... " >&6; }
57425 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57426 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57427 $as_echo_n "(cached) " >&6
57428 else
57429
57430
57431 ac_ext=cpp
57432 ac_cpp='$CXXCPP $CPPFLAGS'
57433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57436
57437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57438 /* end confdefs.h. */
57439 #include <math.h>
57440 int
57441 main ()
57442 {
57443 _atan2l(0, 0);
57444 ;
57445 return 0;
57446 }
57447 _ACEOF
57448 if ac_fn_cxx_try_compile "$LINENO"; then :
57449 glibcxx_cv_func__atan2l_use=yes
57450 else
57451 glibcxx_cv_func__atan2l_use=no
57452 fi
57453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57454 ac_ext=c
57455 ac_cpp='$CPP $CPPFLAGS'
57456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57459
57460
57461 fi
57462
57463 fi
57464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57465 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57466
57467 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57468 for ac_func in _atan2l
57469 do :
57470 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57471 if test "x$ac_cv_func__atan2l" = x""yes; then :
57472 cat >>confdefs.h <<_ACEOF
57473 #define HAVE__ATAN2L 1
57474 _ACEOF
57475
57476 fi
57477 done
57478
57479 fi
57480 fi
57481
57482
57483
57484
57485
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57487 $as_echo_n "checking for expl declaration... " >&6; }
57488 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57489 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57490 $as_echo_n "(cached) " >&6
57491 else
57492
57493
57494 ac_ext=cpp
57495 ac_cpp='$CXXCPP $CPPFLAGS'
57496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57499
57500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57501 /* end confdefs.h. */
57502 #include <math.h>
57503 #ifdef HAVE_IEEEFP_H
57504 #include <ieeefp.h>
57505 #endif
57506
57507 int
57508 main ()
57509 {
57510 expl(0);
57511 ;
57512 return 0;
57513 }
57514 _ACEOF
57515 if ac_fn_cxx_try_compile "$LINENO"; then :
57516 glibcxx_cv_func_expl_use=yes
57517 else
57518 glibcxx_cv_func_expl_use=no
57519 fi
57520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57521 ac_ext=c
57522 ac_cpp='$CPP $CPPFLAGS'
57523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57526
57527
57528 fi
57529
57530 fi
57531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57532 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57533
57534 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57535 for ac_func in expl
57536 do :
57537 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57538 if test "x$ac_cv_func_expl" = x""yes; then :
57539 cat >>confdefs.h <<_ACEOF
57540 #define HAVE_EXPL 1
57541 _ACEOF
57542
57543 fi
57544 done
57545
57546 else
57547
57548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57549 $as_echo_n "checking for _expl declaration... " >&6; }
57550 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57551 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57552 $as_echo_n "(cached) " >&6
57553 else
57554
57555
57556 ac_ext=cpp
57557 ac_cpp='$CXXCPP $CPPFLAGS'
57558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57561
57562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57563 /* end confdefs.h. */
57564 #include <math.h>
57565 #ifdef HAVE_IEEEFP_H
57566 #include <ieeefp.h>
57567 #endif
57568
57569 int
57570 main ()
57571 {
57572 _expl(0);
57573 ;
57574 return 0;
57575 }
57576 _ACEOF
57577 if ac_fn_cxx_try_compile "$LINENO"; then :
57578 glibcxx_cv_func__expl_use=yes
57579 else
57580 glibcxx_cv_func__expl_use=no
57581 fi
57582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57583 ac_ext=c
57584 ac_cpp='$CPP $CPPFLAGS'
57585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57588
57589
57590 fi
57591
57592 fi
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57594 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57595
57596 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57597 for ac_func in _expl
57598 do :
57599 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57600 if test "x$ac_cv_func__expl" = x""yes; then :
57601 cat >>confdefs.h <<_ACEOF
57602 #define HAVE__EXPL 1
57603 _ACEOF
57604
57605 fi
57606 done
57607
57608 fi
57609 fi
57610
57611
57612
57613
57614
57615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57616 $as_echo_n "checking for fabsl declaration... " >&6; }
57617 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57618 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57619 $as_echo_n "(cached) " >&6
57620 else
57621
57622
57623 ac_ext=cpp
57624 ac_cpp='$CXXCPP $CPPFLAGS'
57625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57628
57629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57630 /* end confdefs.h. */
57631 #include <math.h>
57632 #ifdef HAVE_IEEEFP_H
57633 #include <ieeefp.h>
57634 #endif
57635
57636 int
57637 main ()
57638 {
57639 fabsl(0);
57640 ;
57641 return 0;
57642 }
57643 _ACEOF
57644 if ac_fn_cxx_try_compile "$LINENO"; then :
57645 glibcxx_cv_func_fabsl_use=yes
57646 else
57647 glibcxx_cv_func_fabsl_use=no
57648 fi
57649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57650 ac_ext=c
57651 ac_cpp='$CPP $CPPFLAGS'
57652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57655
57656
57657 fi
57658
57659 fi
57660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57661 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57662
57663 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57664 for ac_func in fabsl
57665 do :
57666 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57667 if test "x$ac_cv_func_fabsl" = x""yes; then :
57668 cat >>confdefs.h <<_ACEOF
57669 #define HAVE_FABSL 1
57670 _ACEOF
57671
57672 fi
57673 done
57674
57675 else
57676
57677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57678 $as_echo_n "checking for _fabsl declaration... " >&6; }
57679 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57680 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57681 $as_echo_n "(cached) " >&6
57682 else
57683
57684
57685 ac_ext=cpp
57686 ac_cpp='$CXXCPP $CPPFLAGS'
57687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57690
57691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57692 /* end confdefs.h. */
57693 #include <math.h>
57694 #ifdef HAVE_IEEEFP_H
57695 #include <ieeefp.h>
57696 #endif
57697
57698 int
57699 main ()
57700 {
57701 _fabsl(0);
57702 ;
57703 return 0;
57704 }
57705 _ACEOF
57706 if ac_fn_cxx_try_compile "$LINENO"; then :
57707 glibcxx_cv_func__fabsl_use=yes
57708 else
57709 glibcxx_cv_func__fabsl_use=no
57710 fi
57711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57712 ac_ext=c
57713 ac_cpp='$CPP $CPPFLAGS'
57714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57717
57718
57719 fi
57720
57721 fi
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57723 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57724
57725 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57726 for ac_func in _fabsl
57727 do :
57728 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57729 if test "x$ac_cv_func__fabsl" = x""yes; then :
57730 cat >>confdefs.h <<_ACEOF
57731 #define HAVE__FABSL 1
57732 _ACEOF
57733
57734 fi
57735 done
57736
57737 fi
57738 fi
57739
57740
57741
57742
57743
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57745 $as_echo_n "checking for fmodl declaration... " >&6; }
57746 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57747 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57748 $as_echo_n "(cached) " >&6
57749 else
57750
57751
57752 ac_ext=cpp
57753 ac_cpp='$CXXCPP $CPPFLAGS'
57754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57757
57758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759 /* end confdefs.h. */
57760 #include <math.h>
57761 int
57762 main ()
57763 {
57764 fmodl(0, 0);
57765 ;
57766 return 0;
57767 }
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770 glibcxx_cv_func_fmodl_use=yes
57771 else
57772 glibcxx_cv_func_fmodl_use=no
57773 fi
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775 ac_ext=c
57776 ac_cpp='$CPP $CPPFLAGS'
57777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780
57781
57782 fi
57783
57784 fi
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57786 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57787
57788 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57789 for ac_func in fmodl
57790 do :
57791 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57792 if test "x$ac_cv_func_fmodl" = x""yes; then :
57793 cat >>confdefs.h <<_ACEOF
57794 #define HAVE_FMODL 1
57795 _ACEOF
57796
57797 fi
57798 done
57799
57800 else
57801
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57803 $as_echo_n "checking for _fmodl declaration... " >&6; }
57804 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57805 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57806 $as_echo_n "(cached) " >&6
57807 else
57808
57809
57810 ac_ext=cpp
57811 ac_cpp='$CXXCPP $CPPFLAGS'
57812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815
57816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57817 /* end confdefs.h. */
57818 #include <math.h>
57819 int
57820 main ()
57821 {
57822 _fmodl(0, 0);
57823 ;
57824 return 0;
57825 }
57826 _ACEOF
57827 if ac_fn_cxx_try_compile "$LINENO"; then :
57828 glibcxx_cv_func__fmodl_use=yes
57829 else
57830 glibcxx_cv_func__fmodl_use=no
57831 fi
57832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57833 ac_ext=c
57834 ac_cpp='$CPP $CPPFLAGS'
57835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57838
57839
57840 fi
57841
57842 fi
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57844 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57845
57846 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57847 for ac_func in _fmodl
57848 do :
57849 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57850 if test "x$ac_cv_func__fmodl" = x""yes; then :
57851 cat >>confdefs.h <<_ACEOF
57852 #define HAVE__FMODL 1
57853 _ACEOF
57854
57855 fi
57856 done
57857
57858 fi
57859 fi
57860
57861
57862
57863
57864
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57866 $as_echo_n "checking for frexpl declaration... " >&6; }
57867 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57868 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57869 $as_echo_n "(cached) " >&6
57870 else
57871
57872
57873 ac_ext=cpp
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878
57879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h. */
57881 #include <math.h>
57882 int
57883 main ()
57884 {
57885 frexpl(0, 0);
57886 ;
57887 return 0;
57888 }
57889 _ACEOF
57890 if ac_fn_cxx_try_compile "$LINENO"; then :
57891 glibcxx_cv_func_frexpl_use=yes
57892 else
57893 glibcxx_cv_func_frexpl_use=no
57894 fi
57895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896 ac_ext=c
57897 ac_cpp='$CPP $CPPFLAGS'
57898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57901
57902
57903 fi
57904
57905 fi
57906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57907 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57908
57909 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57910 for ac_func in frexpl
57911 do :
57912 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57913 if test "x$ac_cv_func_frexpl" = x""yes; then :
57914 cat >>confdefs.h <<_ACEOF
57915 #define HAVE_FREXPL 1
57916 _ACEOF
57917
57918 fi
57919 done
57920
57921 else
57922
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57924 $as_echo_n "checking for _frexpl declaration... " >&6; }
57925 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57926 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57927 $as_echo_n "(cached) " >&6
57928 else
57929
57930
57931 ac_ext=cpp
57932 ac_cpp='$CXXCPP $CPPFLAGS'
57933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57936
57937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57938 /* end confdefs.h. */
57939 #include <math.h>
57940 int
57941 main ()
57942 {
57943 _frexpl(0, 0);
57944 ;
57945 return 0;
57946 }
57947 _ACEOF
57948 if ac_fn_cxx_try_compile "$LINENO"; then :
57949 glibcxx_cv_func__frexpl_use=yes
57950 else
57951 glibcxx_cv_func__frexpl_use=no
57952 fi
57953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57954 ac_ext=c
57955 ac_cpp='$CPP $CPPFLAGS'
57956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57959
57960
57961 fi
57962
57963 fi
57964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57965 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57966
57967 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57968 for ac_func in _frexpl
57969 do :
57970 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57971 if test "x$ac_cv_func__frexpl" = x""yes; then :
57972 cat >>confdefs.h <<_ACEOF
57973 #define HAVE__FREXPL 1
57974 _ACEOF
57975
57976 fi
57977 done
57978
57979 fi
57980 fi
57981
57982
57983
57984
57985
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57987 $as_echo_n "checking for hypotl declaration... " >&6; }
57988 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57989 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57990 $as_echo_n "(cached) " >&6
57991 else
57992
57993
57994 ac_ext=cpp
57995 ac_cpp='$CXXCPP $CPPFLAGS'
57996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57999
58000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h. */
58002 #include <math.h>
58003 int
58004 main ()
58005 {
58006 hypotl(0, 0);
58007 ;
58008 return 0;
58009 }
58010 _ACEOF
58011 if ac_fn_cxx_try_compile "$LINENO"; then :
58012 glibcxx_cv_func_hypotl_use=yes
58013 else
58014 glibcxx_cv_func_hypotl_use=no
58015 fi
58016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58017 ac_ext=c
58018 ac_cpp='$CPP $CPPFLAGS'
58019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58022
58023
58024 fi
58025
58026 fi
58027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58028 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58029
58030 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58031 for ac_func in hypotl
58032 do :
58033 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58034 if test "x$ac_cv_func_hypotl" = x""yes; then :
58035 cat >>confdefs.h <<_ACEOF
58036 #define HAVE_HYPOTL 1
58037 _ACEOF
58038
58039 fi
58040 done
58041
58042 else
58043
58044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58045 $as_echo_n "checking for _hypotl declaration... " >&6; }
58046 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58047 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58048 $as_echo_n "(cached) " >&6
58049 else
58050
58051
58052 ac_ext=cpp
58053 ac_cpp='$CXXCPP $CPPFLAGS'
58054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58057
58058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58059 /* end confdefs.h. */
58060 #include <math.h>
58061 int
58062 main ()
58063 {
58064 _hypotl(0, 0);
58065 ;
58066 return 0;
58067 }
58068 _ACEOF
58069 if ac_fn_cxx_try_compile "$LINENO"; then :
58070 glibcxx_cv_func__hypotl_use=yes
58071 else
58072 glibcxx_cv_func__hypotl_use=no
58073 fi
58074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58075 ac_ext=c
58076 ac_cpp='$CPP $CPPFLAGS'
58077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58080
58081
58082 fi
58083
58084 fi
58085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58086 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58087
58088 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58089 for ac_func in _hypotl
58090 do :
58091 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58092 if test "x$ac_cv_func__hypotl" = x""yes; then :
58093 cat >>confdefs.h <<_ACEOF
58094 #define HAVE__HYPOTL 1
58095 _ACEOF
58096
58097 fi
58098 done
58099
58100 fi
58101 fi
58102
58103
58104
58105
58106
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58108 $as_echo_n "checking for ldexpl declaration... " >&6; }
58109 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58110 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58111 $as_echo_n "(cached) " >&6
58112 else
58113
58114
58115 ac_ext=cpp
58116 ac_cpp='$CXXCPP $CPPFLAGS'
58117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58120
58121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58122 /* end confdefs.h. */
58123 #include <math.h>
58124 int
58125 main ()
58126 {
58127 ldexpl(0, 0);
58128 ;
58129 return 0;
58130 }
58131 _ACEOF
58132 if ac_fn_cxx_try_compile "$LINENO"; then :
58133 glibcxx_cv_func_ldexpl_use=yes
58134 else
58135 glibcxx_cv_func_ldexpl_use=no
58136 fi
58137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58138 ac_ext=c
58139 ac_cpp='$CPP $CPPFLAGS'
58140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58143
58144
58145 fi
58146
58147 fi
58148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58149 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58150
58151 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58152 for ac_func in ldexpl
58153 do :
58154 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58155 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58156 cat >>confdefs.h <<_ACEOF
58157 #define HAVE_LDEXPL 1
58158 _ACEOF
58159
58160 fi
58161 done
58162
58163 else
58164
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58166 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58167 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58168 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58169 $as_echo_n "(cached) " >&6
58170 else
58171
58172
58173 ac_ext=cpp
58174 ac_cpp='$CXXCPP $CPPFLAGS'
58175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58178
58179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58180 /* end confdefs.h. */
58181 #include <math.h>
58182 int
58183 main ()
58184 {
58185 _ldexpl(0, 0);
58186 ;
58187 return 0;
58188 }
58189 _ACEOF
58190 if ac_fn_cxx_try_compile "$LINENO"; then :
58191 glibcxx_cv_func__ldexpl_use=yes
58192 else
58193 glibcxx_cv_func__ldexpl_use=no
58194 fi
58195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_ext=c
58197 ac_cpp='$CPP $CPPFLAGS'
58198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58201
58202
58203 fi
58204
58205 fi
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58207 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58208
58209 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58210 for ac_func in _ldexpl
58211 do :
58212 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58213 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58214 cat >>confdefs.h <<_ACEOF
58215 #define HAVE__LDEXPL 1
58216 _ACEOF
58217
58218 fi
58219 done
58220
58221 fi
58222 fi
58223
58224
58225
58226
58227
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58229 $as_echo_n "checking for logl declaration... " >&6; }
58230 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58231 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58232 $as_echo_n "(cached) " >&6
58233 else
58234
58235
58236 ac_ext=cpp
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58241
58242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58243 /* end confdefs.h. */
58244 #include <math.h>
58245 #ifdef HAVE_IEEEFP_H
58246 #include <ieeefp.h>
58247 #endif
58248
58249 int
58250 main ()
58251 {
58252 logl(0);
58253 ;
58254 return 0;
58255 }
58256 _ACEOF
58257 if ac_fn_cxx_try_compile "$LINENO"; then :
58258 glibcxx_cv_func_logl_use=yes
58259 else
58260 glibcxx_cv_func_logl_use=no
58261 fi
58262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58263 ac_ext=c
58264 ac_cpp='$CPP $CPPFLAGS'
58265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58268
58269
58270 fi
58271
58272 fi
58273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58274 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58275
58276 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58277 for ac_func in logl
58278 do :
58279 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58280 if test "x$ac_cv_func_logl" = x""yes; then :
58281 cat >>confdefs.h <<_ACEOF
58282 #define HAVE_LOGL 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288 else
58289
58290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58291 $as_echo_n "checking for _logl declaration... " >&6; }
58292 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58293 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58294 $as_echo_n "(cached) " >&6
58295 else
58296
58297
58298 ac_ext=cpp
58299 ac_cpp='$CXXCPP $CPPFLAGS'
58300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58303
58304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58305 /* end confdefs.h. */
58306 #include <math.h>
58307 #ifdef HAVE_IEEEFP_H
58308 #include <ieeefp.h>
58309 #endif
58310
58311 int
58312 main ()
58313 {
58314 _logl(0);
58315 ;
58316 return 0;
58317 }
58318 _ACEOF
58319 if ac_fn_cxx_try_compile "$LINENO"; then :
58320 glibcxx_cv_func__logl_use=yes
58321 else
58322 glibcxx_cv_func__logl_use=no
58323 fi
58324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58325 ac_ext=c
58326 ac_cpp='$CPP $CPPFLAGS'
58327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58330
58331
58332 fi
58333
58334 fi
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58336 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58337
58338 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58339 for ac_func in _logl
58340 do :
58341 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58342 if test "x$ac_cv_func__logl" = x""yes; then :
58343 cat >>confdefs.h <<_ACEOF
58344 #define HAVE__LOGL 1
58345 _ACEOF
58346
58347 fi
58348 done
58349
58350 fi
58351 fi
58352
58353
58354
58355
58356
58357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58358 $as_echo_n "checking for log10l declaration... " >&6; }
58359 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58360 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58361 $as_echo_n "(cached) " >&6
58362 else
58363
58364
58365 ac_ext=cpp
58366 ac_cpp='$CXXCPP $CPPFLAGS'
58367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58370
58371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h. */
58373 #include <math.h>
58374 #ifdef HAVE_IEEEFP_H
58375 #include <ieeefp.h>
58376 #endif
58377
58378 int
58379 main ()
58380 {
58381 log10l(0);
58382 ;
58383 return 0;
58384 }
58385 _ACEOF
58386 if ac_fn_cxx_try_compile "$LINENO"; then :
58387 glibcxx_cv_func_log10l_use=yes
58388 else
58389 glibcxx_cv_func_log10l_use=no
58390 fi
58391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58392 ac_ext=c
58393 ac_cpp='$CPP $CPPFLAGS'
58394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58397
58398
58399 fi
58400
58401 fi
58402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58403 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58404
58405 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58406 for ac_func in log10l
58407 do :
58408 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58409 if test "x$ac_cv_func_log10l" = x""yes; then :
58410 cat >>confdefs.h <<_ACEOF
58411 #define HAVE_LOG10L 1
58412 _ACEOF
58413
58414 fi
58415 done
58416
58417 else
58418
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58420 $as_echo_n "checking for _log10l declaration... " >&6; }
58421 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58422 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58423 $as_echo_n "(cached) " >&6
58424 else
58425
58426
58427 ac_ext=cpp
58428 ac_cpp='$CXXCPP $CPPFLAGS'
58429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432
58433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58434 /* end confdefs.h. */
58435 #include <math.h>
58436 #ifdef HAVE_IEEEFP_H
58437 #include <ieeefp.h>
58438 #endif
58439
58440 int
58441 main ()
58442 {
58443 _log10l(0);
58444 ;
58445 return 0;
58446 }
58447 _ACEOF
58448 if ac_fn_cxx_try_compile "$LINENO"; then :
58449 glibcxx_cv_func__log10l_use=yes
58450 else
58451 glibcxx_cv_func__log10l_use=no
58452 fi
58453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58454 ac_ext=c
58455 ac_cpp='$CPP $CPPFLAGS'
58456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58459
58460
58461 fi
58462
58463 fi
58464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58465 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58466
58467 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58468 for ac_func in _log10l
58469 do :
58470 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58471 if test "x$ac_cv_func__log10l" = x""yes; then :
58472 cat >>confdefs.h <<_ACEOF
58473 #define HAVE__LOG10L 1
58474 _ACEOF
58475
58476 fi
58477 done
58478
58479 fi
58480 fi
58481
58482
58483
58484
58485
58486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58487 $as_echo_n "checking for modfl declaration... " >&6; }
58488 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58489 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58490 $as_echo_n "(cached) " >&6
58491 else
58492
58493
58494 ac_ext=cpp
58495 ac_cpp='$CXXCPP $CPPFLAGS'
58496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58499
58500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58501 /* end confdefs.h. */
58502 #include <math.h>
58503 int
58504 main ()
58505 {
58506 modfl(0, 0);
58507 ;
58508 return 0;
58509 }
58510 _ACEOF
58511 if ac_fn_cxx_try_compile "$LINENO"; then :
58512 glibcxx_cv_func_modfl_use=yes
58513 else
58514 glibcxx_cv_func_modfl_use=no
58515 fi
58516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58517 ac_ext=c
58518 ac_cpp='$CPP $CPPFLAGS'
58519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58522
58523
58524 fi
58525
58526 fi
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58528 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58529
58530 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58531 for ac_func in modfl
58532 do :
58533 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58534 if test "x$ac_cv_func_modfl" = x""yes; then :
58535 cat >>confdefs.h <<_ACEOF
58536 #define HAVE_MODFL 1
58537 _ACEOF
58538
58539 fi
58540 done
58541
58542 else
58543
58544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58545 $as_echo_n "checking for _modfl declaration... " >&6; }
58546 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58547 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58548 $as_echo_n "(cached) " >&6
58549 else
58550
58551
58552 ac_ext=cpp
58553 ac_cpp='$CXXCPP $CPPFLAGS'
58554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58557
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 #include <math.h>
58561 int
58562 main ()
58563 {
58564 _modfl(0, 0);
58565 ;
58566 return 0;
58567 }
58568 _ACEOF
58569 if ac_fn_cxx_try_compile "$LINENO"; then :
58570 glibcxx_cv_func__modfl_use=yes
58571 else
58572 glibcxx_cv_func__modfl_use=no
58573 fi
58574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58575 ac_ext=c
58576 ac_cpp='$CPP $CPPFLAGS'
58577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58580
58581
58582 fi
58583
58584 fi
58585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58586 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58587
58588 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58589 for ac_func in _modfl
58590 do :
58591 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58592 if test "x$ac_cv_func__modfl" = x""yes; then :
58593 cat >>confdefs.h <<_ACEOF
58594 #define HAVE__MODFL 1
58595 _ACEOF
58596
58597 fi
58598 done
58599
58600 fi
58601 fi
58602
58603
58604
58605
58606
58607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58608 $as_echo_n "checking for powl declaration... " >&6; }
58609 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58610 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58611 $as_echo_n "(cached) " >&6
58612 else
58613
58614
58615 ac_ext=cpp
58616 ac_cpp='$CXXCPP $CPPFLAGS'
58617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620
58621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h. */
58623 #include <math.h>
58624 int
58625 main ()
58626 {
58627 powl(0, 0);
58628 ;
58629 return 0;
58630 }
58631 _ACEOF
58632 if ac_fn_cxx_try_compile "$LINENO"; then :
58633 glibcxx_cv_func_powl_use=yes
58634 else
58635 glibcxx_cv_func_powl_use=no
58636 fi
58637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58638 ac_ext=c
58639 ac_cpp='$CPP $CPPFLAGS'
58640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643
58644
58645 fi
58646
58647 fi
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58649 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58650
58651 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58652 for ac_func in powl
58653 do :
58654 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58655 if test "x$ac_cv_func_powl" = x""yes; then :
58656 cat >>confdefs.h <<_ACEOF
58657 #define HAVE_POWL 1
58658 _ACEOF
58659
58660 fi
58661 done
58662
58663 else
58664
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58666 $as_echo_n "checking for _powl declaration... " >&6; }
58667 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58668 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58669 $as_echo_n "(cached) " >&6
58670 else
58671
58672
58673 ac_ext=cpp
58674 ac_cpp='$CXXCPP $CPPFLAGS'
58675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58678
58679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58680 /* end confdefs.h. */
58681 #include <math.h>
58682 int
58683 main ()
58684 {
58685 _powl(0, 0);
58686 ;
58687 return 0;
58688 }
58689 _ACEOF
58690 if ac_fn_cxx_try_compile "$LINENO"; then :
58691 glibcxx_cv_func__powl_use=yes
58692 else
58693 glibcxx_cv_func__powl_use=no
58694 fi
58695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58696 ac_ext=c
58697 ac_cpp='$CPP $CPPFLAGS'
58698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58701
58702
58703 fi
58704
58705 fi
58706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58707 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58708
58709 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58710 for ac_func in _powl
58711 do :
58712 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58713 if test "x$ac_cv_func__powl" = x""yes; then :
58714 cat >>confdefs.h <<_ACEOF
58715 #define HAVE__POWL 1
58716 _ACEOF
58717
58718 fi
58719 done
58720
58721 fi
58722 fi
58723
58724
58725
58726
58727
58728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58729 $as_echo_n "checking for sqrtl declaration... " >&6; }
58730 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58731 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58732 $as_echo_n "(cached) " >&6
58733 else
58734
58735
58736 ac_ext=cpp
58737 ac_cpp='$CXXCPP $CPPFLAGS'
58738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58741
58742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58743 /* end confdefs.h. */
58744 #include <math.h>
58745 #ifdef HAVE_IEEEFP_H
58746 #include <ieeefp.h>
58747 #endif
58748
58749 int
58750 main ()
58751 {
58752 sqrtl(0);
58753 ;
58754 return 0;
58755 }
58756 _ACEOF
58757 if ac_fn_cxx_try_compile "$LINENO"; then :
58758 glibcxx_cv_func_sqrtl_use=yes
58759 else
58760 glibcxx_cv_func_sqrtl_use=no
58761 fi
58762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58763 ac_ext=c
58764 ac_cpp='$CPP $CPPFLAGS'
58765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58768
58769
58770 fi
58771
58772 fi
58773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58774 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58775
58776 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58777 for ac_func in sqrtl
58778 do :
58779 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58780 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58781 cat >>confdefs.h <<_ACEOF
58782 #define HAVE_SQRTL 1
58783 _ACEOF
58784
58785 fi
58786 done
58787
58788 else
58789
58790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58791 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58792 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58793 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58794 $as_echo_n "(cached) " >&6
58795 else
58796
58797
58798 ac_ext=cpp
58799 ac_cpp='$CXXCPP $CPPFLAGS'
58800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58803
58804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58805 /* end confdefs.h. */
58806 #include <math.h>
58807 #ifdef HAVE_IEEEFP_H
58808 #include <ieeefp.h>
58809 #endif
58810
58811 int
58812 main ()
58813 {
58814 _sqrtl(0);
58815 ;
58816 return 0;
58817 }
58818 _ACEOF
58819 if ac_fn_cxx_try_compile "$LINENO"; then :
58820 glibcxx_cv_func__sqrtl_use=yes
58821 else
58822 glibcxx_cv_func__sqrtl_use=no
58823 fi
58824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58825 ac_ext=c
58826 ac_cpp='$CPP $CPPFLAGS'
58827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58830
58831
58832 fi
58833
58834 fi
58835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58836 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58837
58838 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58839 for ac_func in _sqrtl
58840 do :
58841 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58842 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58843 cat >>confdefs.h <<_ACEOF
58844 #define HAVE__SQRTL 1
58845 _ACEOF
58846
58847 fi
58848 done
58849
58850 fi
58851 fi
58852
58853
58854
58855
58856
58857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58858 $as_echo_n "checking for sincosl declaration... " >&6; }
58859 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58860 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58861 $as_echo_n "(cached) " >&6
58862 else
58863
58864
58865 ac_ext=cpp
58866 ac_cpp='$CXXCPP $CPPFLAGS'
58867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58870
58871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58872 /* end confdefs.h. */
58873 #include <math.h>
58874 int
58875 main ()
58876 {
58877 sincosl(0, 0, 0);
58878 ;
58879 return 0;
58880 }
58881 _ACEOF
58882 if ac_fn_cxx_try_compile "$LINENO"; then :
58883 glibcxx_cv_func_sincosl_use=yes
58884 else
58885 glibcxx_cv_func_sincosl_use=no
58886 fi
58887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58888 ac_ext=c
58889 ac_cpp='$CPP $CPPFLAGS'
58890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58893
58894
58895 fi
58896
58897 fi
58898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58899 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58900
58901 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58902 for ac_func in sincosl
58903 do :
58904 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58905 if test "x$ac_cv_func_sincosl" = x""yes; then :
58906 cat >>confdefs.h <<_ACEOF
58907 #define HAVE_SINCOSL 1
58908 _ACEOF
58909
58910 fi
58911 done
58912
58913 else
58914
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58916 $as_echo_n "checking for _sincosl declaration... " >&6; }
58917 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58918 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58919 $as_echo_n "(cached) " >&6
58920 else
58921
58922
58923 ac_ext=cpp
58924 ac_cpp='$CXXCPP $CPPFLAGS'
58925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58928
58929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58930 /* end confdefs.h. */
58931 #include <math.h>
58932 int
58933 main ()
58934 {
58935 _sincosl(0, 0, 0);
58936 ;
58937 return 0;
58938 }
58939 _ACEOF
58940 if ac_fn_cxx_try_compile "$LINENO"; then :
58941 glibcxx_cv_func__sincosl_use=yes
58942 else
58943 glibcxx_cv_func__sincosl_use=no
58944 fi
58945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58946 ac_ext=c
58947 ac_cpp='$CPP $CPPFLAGS'
58948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58951
58952
58953 fi
58954
58955 fi
58956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58957 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58958
58959 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58960 for ac_func in _sincosl
58961 do :
58962 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58963 if test "x$ac_cv_func__sincosl" = x""yes; then :
58964 cat >>confdefs.h <<_ACEOF
58965 #define HAVE__SINCOSL 1
58966 _ACEOF
58967
58968 fi
58969 done
58970
58971 fi
58972 fi
58973
58974
58975
58976
58977
58978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58979 $as_echo_n "checking for finitel declaration... " >&6; }
58980 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58981 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58982 $as_echo_n "(cached) " >&6
58983 else
58984
58985
58986 ac_ext=cpp
58987 ac_cpp='$CXXCPP $CPPFLAGS'
58988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991
58992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58993 /* end confdefs.h. */
58994 #include <math.h>
58995 #ifdef HAVE_IEEEFP_H
58996 #include <ieeefp.h>
58997 #endif
58998
58999 int
59000 main ()
59001 {
59002 finitel(0);
59003 ;
59004 return 0;
59005 }
59006 _ACEOF
59007 if ac_fn_cxx_try_compile "$LINENO"; then :
59008 glibcxx_cv_func_finitel_use=yes
59009 else
59010 glibcxx_cv_func_finitel_use=no
59011 fi
59012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59013 ac_ext=c
59014 ac_cpp='$CPP $CPPFLAGS'
59015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59018
59019
59020 fi
59021
59022 fi
59023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59024 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59025
59026 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59027 for ac_func in finitel
59028 do :
59029 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59030 if test "x$ac_cv_func_finitel" = x""yes; then :
59031 cat >>confdefs.h <<_ACEOF
59032 #define HAVE_FINITEL 1
59033 _ACEOF
59034
59035 fi
59036 done
59037
59038 else
59039
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59041 $as_echo_n "checking for _finitel declaration... " >&6; }
59042 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59043 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59044 $as_echo_n "(cached) " >&6
59045 else
59046
59047
59048 ac_ext=cpp
59049 ac_cpp='$CXXCPP $CPPFLAGS'
59050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59053
59054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59055 /* end confdefs.h. */
59056 #include <math.h>
59057 #ifdef HAVE_IEEEFP_H
59058 #include <ieeefp.h>
59059 #endif
59060
59061 int
59062 main ()
59063 {
59064 _finitel(0);
59065 ;
59066 return 0;
59067 }
59068 _ACEOF
59069 if ac_fn_cxx_try_compile "$LINENO"; then :
59070 glibcxx_cv_func__finitel_use=yes
59071 else
59072 glibcxx_cv_func__finitel_use=no
59073 fi
59074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59075 ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59080
59081
59082 fi
59083
59084 fi
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59086 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59087
59088 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59089 for ac_func in _finitel
59090 do :
59091 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59092 if test "x$ac_cv_func__finitel" = x""yes; then :
59093 cat >>confdefs.h <<_ACEOF
59094 #define HAVE__FINITEL 1
59095 _ACEOF
59096
59097 fi
59098 done
59099
59100 fi
59101 fi
59102
59103
59104
59105
59106 LIBS="$ac_save_LIBS"
59107 CXXFLAGS="$ac_save_CXXFLAGS"
59108
59109
59110 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59111 ac_save_CXXFLAGS="$CXXFLAGS"
59112 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59113
59114
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59116 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59117 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59118 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59121
59122
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <stdlib.h>
59132 int
59133 main ()
59134 {
59135 at_quick_exit(0);
59136 ;
59137 return 0;
59138 }
59139 _ACEOF
59140 if ac_fn_cxx_try_compile "$LINENO"; then :
59141 glibcxx_cv_func_at_quick_exit_use=yes
59142 else
59143 glibcxx_cv_func_at_quick_exit_use=no
59144 fi
59145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59146 ac_ext=c
59147 ac_cpp='$CPP $CPPFLAGS'
59148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59151
59152
59153 fi
59154
59155 fi
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59157 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59158 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59159 for ac_func in at_quick_exit
59160 do :
59161 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59162 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59163 cat >>confdefs.h <<_ACEOF
59164 #define HAVE_AT_QUICK_EXIT 1
59165 _ACEOF
59166
59167 fi
59168 done
59169
59170 fi
59171
59172
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59174 $as_echo_n "checking for quick_exit declaration... " >&6; }
59175 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59176 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59177 $as_echo_n "(cached) " >&6
59178 else
59179
59180
59181 ac_ext=cpp
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59186
59187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59188 /* end confdefs.h. */
59189 #include <stdlib.h>
59190 int
59191 main ()
59192 {
59193 quick_exit(0);
59194 ;
59195 return 0;
59196 }
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func_quick_exit_use=yes
59200 else
59201 glibcxx_cv_func_quick_exit_use=no
59202 fi
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204 ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59209
59210
59211 fi
59212
59213 fi
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59215 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59216 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59217 for ac_func in quick_exit
59218 do :
59219 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59220 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59221 cat >>confdefs.h <<_ACEOF
59222 #define HAVE_QUICK_EXIT 1
59223 _ACEOF
59224
59225 fi
59226 done
59227
59228 fi
59229
59230
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59232 $as_echo_n "checking for strtold declaration... " >&6; }
59233 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59234 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59235 $as_echo_n "(cached) " >&6
59236 else
59237
59238
59239 ac_ext=cpp
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59244
59245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h. */
59247 #include <stdlib.h>
59248 int
59249 main ()
59250 {
59251 strtold(0, 0);
59252 ;
59253 return 0;
59254 }
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func_strtold_use=yes
59258 else
59259 glibcxx_cv_func_strtold_use=no
59260 fi
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267
59268
59269 fi
59270
59271 fi
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59273 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59274 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59275 for ac_func in strtold
59276 do :
59277 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59278 if test "x$ac_cv_func_strtold" = x""yes; then :
59279 cat >>confdefs.h <<_ACEOF
59280 #define HAVE_STRTOLD 1
59281 _ACEOF
59282
59283 fi
59284 done
59285
59286 fi
59287
59288
59289
59290
59291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59292 $as_echo_n "checking for strtof declaration... " >&6; }
59293 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59294 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59295 $as_echo_n "(cached) " >&6
59296 else
59297
59298
59299 ac_ext=cpp
59300 ac_cpp='$CXXCPP $CPPFLAGS'
59301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59304
59305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59306 /* end confdefs.h. */
59307 #include <stdlib.h>
59308 int
59309 main ()
59310 {
59311 strtof(0, 0);
59312 ;
59313 return 0;
59314 }
59315 _ACEOF
59316 if ac_fn_cxx_try_compile "$LINENO"; then :
59317 glibcxx_cv_func_strtof_use=yes
59318 else
59319 glibcxx_cv_func_strtof_use=no
59320 fi
59321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59322 ac_ext=c
59323 ac_cpp='$CPP $CPPFLAGS'
59324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59327
59328
59329 fi
59330
59331 fi
59332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59333 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59334 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59335 for ac_func in strtof
59336 do :
59337 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59338 if test "x$ac_cv_func_strtof" = x""yes; then :
59339 cat >>confdefs.h <<_ACEOF
59340 #define HAVE_STRTOF 1
59341 _ACEOF
59342
59343 fi
59344 done
59345
59346 fi
59347
59348
59349
59350
59351 CXXFLAGS="$ac_save_CXXFLAGS"
59352
59353 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59354
59355
59356
59357 # Check whether --enable-tls was given.
59358 if test "${enable_tls+set}" = set; then :
59359 enableval=$enable_tls;
59360 case "$enableval" in
59361 yes|no) ;;
59362 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59363 esac
59364
59365 else
59366 enable_tls=yes
59367 fi
59368
59369
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59371 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59372 if test "${gcc_cv_have_tls+set}" = set; then :
59373 $as_echo_n "(cached) " >&6
59374 else
59375
59376 if test "$cross_compiling" = yes; then :
59377 if test x$gcc_no_link = xyes; then
59378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59379 fi
59380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59381 /* end confdefs.h. */
59382 __thread int a; int b; int main() { return a = b; }
59383 _ACEOF
59384 if ac_fn_c_try_link "$LINENO"; then :
59385 chktls_save_LDFLAGS="$LDFLAGS"
59386 case $host in
59387 *-*-linux*)
59388 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59389 ;;
59390 esac
59391 chktls_save_CFLAGS="$CFLAGS"
59392 CFLAGS="-fPIC $CFLAGS"
59393 if test x$gcc_no_link = xyes; then
59394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59395 fi
59396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59397 /* end confdefs.h. */
59398 int f() { return 0; }
59399 _ACEOF
59400 if ac_fn_c_try_link "$LINENO"; then :
59401 if test x$gcc_no_link = xyes; then
59402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59403 fi
59404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59405 /* end confdefs.h. */
59406 __thread int a; int b; int f() { return a = b; }
59407 _ACEOF
59408 if ac_fn_c_try_link "$LINENO"; then :
59409 gcc_cv_have_tls=yes
59410 else
59411 gcc_cv_have_tls=no
59412 fi
59413 rm -f core conftest.err conftest.$ac_objext \
59414 conftest$ac_exeext conftest.$ac_ext
59415 else
59416 gcc_cv_have_tls=yes
59417 fi
59418 rm -f core conftest.err conftest.$ac_objext \
59419 conftest$ac_exeext conftest.$ac_ext
59420 CFLAGS="$chktls_save_CFLAGS"
59421 LDFLAGS="$chktls_save_LDFLAGS"
59422 else
59423 gcc_cv_have_tls=no
59424 fi
59425 rm -f core conftest.err conftest.$ac_objext \
59426 conftest$ac_exeext conftest.$ac_ext
59427
59428
59429 else
59430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59431 /* end confdefs.h. */
59432 __thread int a; int b; int main() { return a = b; }
59433 _ACEOF
59434 if ac_fn_c_try_run "$LINENO"; then :
59435 chktls_save_LDFLAGS="$LDFLAGS"
59436 LDFLAGS="-static $LDFLAGS"
59437 if test x$gcc_no_link = xyes; then
59438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59439 fi
59440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59441 /* end confdefs.h. */
59442 int main() { return 0; }
59443 _ACEOF
59444 if ac_fn_c_try_link "$LINENO"; then :
59445 if test "$cross_compiling" = yes; then :
59446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59448 as_fn_error "cannot run test program while cross compiling
59449 See \`config.log' for more details." "$LINENO" 5; }
59450 else
59451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h. */
59453 __thread int a; int b; int main() { return a = b; }
59454 _ACEOF
59455 if ac_fn_c_try_run "$LINENO"; then :
59456 gcc_cv_have_tls=yes
59457 else
59458 gcc_cv_have_tls=no
59459 fi
59460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59461 conftest.$ac_objext conftest.beam conftest.$ac_ext
59462 fi
59463
59464 else
59465 gcc_cv_have_tls=yes
59466 fi
59467 rm -f core conftest.err conftest.$ac_objext \
59468 conftest$ac_exeext conftest.$ac_ext
59469 LDFLAGS="$chktls_save_LDFLAGS"
59470 if test $gcc_cv_have_tls = yes; then
59471 chktls_save_CFLAGS="$CFLAGS"
59472 thread_CFLAGS=failed
59473 for flag in '' '-pthread' '-lpthread'; do
59474 CFLAGS="$flag $chktls_save_CFLAGS"
59475 if test x$gcc_no_link = xyes; then
59476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59477 fi
59478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59479 /* end confdefs.h. */
59480 #include <pthread.h>
59481 void *g(void *d) { return NULL; }
59482 int
59483 main ()
59484 {
59485 pthread_t t; pthread_create(&t,NULL,g,NULL);
59486 ;
59487 return 0;
59488 }
59489 _ACEOF
59490 if ac_fn_c_try_link "$LINENO"; then :
59491 thread_CFLAGS="$flag"
59492 fi
59493 rm -f core conftest.err conftest.$ac_objext \
59494 conftest$ac_exeext conftest.$ac_ext
59495 if test "X$thread_CFLAGS" != Xfailed; then
59496 break
59497 fi
59498 done
59499 CFLAGS="$chktls_save_CFLAGS"
59500 if test "X$thread_CFLAGS" != Xfailed; then
59501 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59502 if test "$cross_compiling" = yes; then :
59503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59505 as_fn_error "cannot run test program while cross compiling
59506 See \`config.log' for more details." "$LINENO" 5; }
59507 else
59508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59509 /* end confdefs.h. */
59510 #include <pthread.h>
59511 __thread int a;
59512 static int *volatile a_in_other_thread;
59513 static void *
59514 thread_func (void *arg)
59515 {
59516 a_in_other_thread = &a;
59517 return (void *)0;
59518 }
59519 int
59520 main ()
59521 {
59522 pthread_t thread;
59523 void *thread_retval;
59524 int *volatile a_in_main_thread;
59525 a_in_main_thread = &a;
59526 if (pthread_create (&thread, (pthread_attr_t *)0,
59527 thread_func, (void *)0))
59528 return 0;
59529 if (pthread_join (thread, &thread_retval))
59530 return 0;
59531 return (a_in_other_thread == a_in_main_thread);
59532 ;
59533 return 0;
59534 }
59535 _ACEOF
59536 if ac_fn_c_try_run "$LINENO"; then :
59537 gcc_cv_have_tls=yes
59538 else
59539 gcc_cv_have_tls=no
59540 fi
59541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59542 conftest.$ac_objext conftest.beam conftest.$ac_ext
59543 fi
59544
59545 CFLAGS="$chktls_save_CFLAGS"
59546 fi
59547 fi
59548 else
59549 gcc_cv_have_tls=no
59550 fi
59551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59552 conftest.$ac_objext conftest.beam conftest.$ac_ext
59553 fi
59554
59555 fi
59556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59557 $as_echo "$gcc_cv_have_tls" >&6; }
59558 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59559
59560 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59561
59562 fi
59563 for ac_func in __cxa_thread_atexit_impl
59564 do :
59565 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59566 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59567 cat >>confdefs.h <<_ACEOF
59568 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59569 _ACEOF
59570
59571 fi
59572 done
59573
59574
59575
59576
59577
59578
59579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59580 $as_echo_n "checking for iconv... " >&6; }
59581 if test "${am_cv_func_iconv+set}" = set; then :
59582 $as_echo_n "(cached) " >&6
59583 else
59584
59585 am_cv_func_iconv="no, consider installing GNU libiconv"
59586 am_cv_lib_iconv=no
59587 am_save_CPPFLAGS="$CPPFLAGS"
59588 CPPFLAGS="$CPPFLAGS $INCICONV"
59589 if test x$gcc_no_link = xyes; then
59590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59591 fi
59592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59593 /* end confdefs.h. */
59594 #include <stdlib.h>
59595 #include <iconv.h>
59596 int
59597 main ()
59598 {
59599 iconv_t cd = iconv_open("","");
59600 iconv(cd,NULL,NULL,NULL,NULL);
59601 iconv_close(cd);
59602 ;
59603 return 0;
59604 }
59605 _ACEOF
59606 if ac_fn_c_try_link "$LINENO"; then :
59607 am_cv_func_iconv=yes
59608 fi
59609 rm -f core conftest.err conftest.$ac_objext \
59610 conftest$ac_exeext conftest.$ac_ext
59611 CPPFLAGS="$am_save_CPPFLAGS"
59612
59613 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59614 for _libs in .libs _libs; do
59615 am_save_CPPFLAGS="$CPPFLAGS"
59616 am_save_LIBS="$LIBS"
59617 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59618 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59619 if test x$gcc_no_link = xyes; then
59620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59621 fi
59622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59623 /* end confdefs.h. */
59624 #include <stdlib.h>
59625 #include <iconv.h>
59626 int
59627 main ()
59628 {
59629 iconv_t cd = iconv_open("","");
59630 iconv(cd,NULL,NULL,NULL,NULL);
59631 iconv_close(cd);
59632 ;
59633 return 0;
59634 }
59635 _ACEOF
59636 if ac_fn_c_try_link "$LINENO"; then :
59637 INCICONV="-I../libiconv/include"
59638 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59639 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59640 am_cv_lib_iconv=yes
59641 am_cv_func_iconv=yes
59642 fi
59643 rm -f core conftest.err conftest.$ac_objext \
59644 conftest$ac_exeext conftest.$ac_ext
59645 CPPFLAGS="$am_save_CPPFLAGS"
59646 LIBS="$am_save_LIBS"
59647 if test "$am_cv_func_iconv" = "yes"; then
59648 break
59649 fi
59650 done
59651 fi
59652
59653 if test "$am_cv_func_iconv" != yes; then
59654 am_save_CPPFLAGS="$CPPFLAGS"
59655 am_save_LIBS="$LIBS"
59656 CPPFLAGS="$LIBS $INCICONV"
59657 LIBS="$LIBS $LIBICONV"
59658 if test x$gcc_no_link = xyes; then
59659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59660 fi
59661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59662 /* end confdefs.h. */
59663 #include <stdlib.h>
59664 #include <iconv.h>
59665 int
59666 main ()
59667 {
59668 iconv_t cd = iconv_open("","");
59669 iconv(cd,NULL,NULL,NULL,NULL);
59670 iconv_close(cd);
59671 ;
59672 return 0;
59673 }
59674 _ACEOF
59675 if ac_fn_c_try_link "$LINENO"; then :
59676 am_cv_lib_iconv=yes
59677 am_cv_func_iconv=yes
59678 fi
59679 rm -f core conftest.err conftest.$ac_objext \
59680 conftest$ac_exeext conftest.$ac_ext
59681 CPPFLAGS="$am_save_CPPFLAGS"
59682 LIBS="$am_save_LIBS"
59683 fi
59684
59685 fi
59686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59687 $as_echo "$am_cv_func_iconv" >&6; }
59688 if test "$am_cv_func_iconv" = yes; then
59689
59690 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59691
59692 fi
59693 if test "$am_cv_lib_iconv" = yes; then
59694
59695 for element in $INCICONV; do
59696 haveit=
59697 for x in $CPPFLAGS; do
59698
59699 acl_save_prefix="$prefix"
59700 prefix="$acl_final_prefix"
59701 acl_save_exec_prefix="$exec_prefix"
59702 exec_prefix="$acl_final_exec_prefix"
59703 eval x=\"$x\"
59704 exec_prefix="$acl_save_exec_prefix"
59705 prefix="$acl_save_prefix"
59706
59707 if test "X$x" = "X$element"; then
59708 haveit=yes
59709 break
59710 fi
59711 done
59712 if test -z "$haveit"; then
59713 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59714 fi
59715 done
59716
59717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59718 $as_echo_n "checking how to link with libiconv... " >&6; }
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59720 $as_echo "$LIBICONV" >&6; }
59721 else
59722 LIBICONV=
59723 LTLIBICONV=
59724 fi
59725
59726
59727
59728 if test "$am_cv_func_iconv" = yes; then
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59730 $as_echo_n "checking for iconv declaration... " >&6; }
59731 if test "${am_cv_proto_iconv+set}" = set; then :
59732 $as_echo_n "(cached) " >&6
59733 else
59734
59735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59736 /* end confdefs.h. */
59737
59738 #include <stdlib.h>
59739 #include <iconv.h>
59740 extern
59741 #ifdef __cplusplus
59742 "C"
59743 #endif
59744 #if defined(__STDC__) || defined(__cplusplus)
59745 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59746 #else
59747 size_t iconv();
59748 #endif
59749
59750 int
59751 main ()
59752 {
59753
59754 ;
59755 return 0;
59756 }
59757 _ACEOF
59758 if ac_fn_c_try_compile "$LINENO"; then :
59759 am_cv_proto_iconv_arg1=""
59760 else
59761 am_cv_proto_iconv_arg1="const"
59762 fi
59763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59764 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);"
59765 fi
59766
59767 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59769 }$am_cv_proto_iconv" >&5
59770 $as_echo "${ac_t:-
59771 }$am_cv_proto_iconv" >&6; }
59772
59773 cat >>confdefs.h <<_ACEOF
59774 #define ICONV_CONST $am_cv_proto_iconv_arg1
59775 _ACEOF
59776
59777 fi
59778
59779 ;;
59780 *-mingw32*)
59781
59782 # If we're not using GNU ld, then there's no point in even trying these
59783 # tests. Check for that first. We should have already tested for gld
59784 # by now (in libtool), but require it now just to be safe...
59785 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59786 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59787
59788
59789
59790 # The name set by libtool depends on the version of libtool. Shame on us
59791 # for depending on an impl detail, but c'est la vie. Older versions used
59792 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59793 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59794 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59795 # set (hence we're using an older libtool), then set it.
59796 if test x${with_gnu_ld+set} != xset; then
59797 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59798 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59799 with_gnu_ld=no
59800 else
59801 with_gnu_ld=$ac_cv_prog_gnu_ld
59802 fi
59803 fi
59804
59805 # Start by getting the version number. I think the libtool test already
59806 # does some of this, but throws away the result.
59807 glibcxx_ld_is_gold=no
59808 if test x"$with_gnu_ld" = x"yes"; then
59809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59810 $as_echo_n "checking for ld version... " >&6; }
59811
59812 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59813 glibcxx_ld_is_gold=yes
59814 fi
59815 ldver=`$LD --version 2>/dev/null |
59816 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'`
59817
59818 glibcxx_gnu_ld_version=`echo $ldver | \
59819 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59821 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59822 fi
59823
59824 # Set --gc-sections.
59825 glibcxx_have_gc_sections=no
59826 if test "$glibcxx_ld_is_gold" = "yes"; then
59827 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59828 glibcxx_have_gc_sections=yes
59829 fi
59830 else
59831 glibcxx_gcsections_min_ld=21602
59832 if test x"$with_gnu_ld" = x"yes" &&
59833 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59834 glibcxx_have_gc_sections=yes
59835 fi
59836 fi
59837 if test "$glibcxx_have_gc_sections" = "yes"; then
59838 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59839 # NB: This flag only works reliably after 2.16.1. Configure tests
59840 # for this are difficult, so hard wire a value that should work.
59841
59842 ac_test_CFLAGS="${CFLAGS+set}"
59843 ac_save_CFLAGS="$CFLAGS"
59844 CFLAGS='-Wl,--gc-sections'
59845
59846 # Check for -Wl,--gc-sections
59847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59848 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59849 if test x$gcc_no_link = xyes; then
59850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59851 fi
59852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59853 /* end confdefs.h. */
59854 int one(void) { return 1; }
59855 int two(void) { return 2; }
59856
59857 int
59858 main ()
59859 {
59860 two();
59861 ;
59862 return 0;
59863 }
59864 _ACEOF
59865 if ac_fn_c_try_link "$LINENO"; then :
59866 ac_gcsections=yes
59867 else
59868 ac_gcsections=no
59869 fi
59870 rm -f core conftest.err conftest.$ac_objext \
59871 conftest$ac_exeext conftest.$ac_ext
59872 if test "$ac_gcsections" = "yes"; then
59873 rm -f conftest.c
59874 touch conftest.c
59875 if $CC -c conftest.c; then
59876 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59877 grep "Warning: gc-sections option ignored" > /dev/null; then
59878 ac_gcsections=no
59879 fi
59880 fi
59881 rm -f conftest.c conftest.o conftest
59882 fi
59883 if test "$ac_gcsections" = "yes"; then
59884 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59885 fi
59886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59887 $as_echo "$ac_gcsections" >&6; }
59888
59889 if test "$ac_test_CFLAGS" = set; then
59890 CFLAGS="$ac_save_CFLAGS"
59891 else
59892 # this is the suspicious part
59893 CFLAGS=''
59894 fi
59895 fi
59896
59897 # Set -z,relro.
59898 # Note this is only for shared objects.
59899 ac_ld_relro=no
59900 if test x"$with_gnu_ld" = x"yes"; then
59901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59902 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59903 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59904 if test -n "$cxx_z_relo"; then
59905 OPT_LDFLAGS="-Wl,-z,relro"
59906 ac_ld_relro=yes
59907 fi
59908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59909 $as_echo "$ac_ld_relro" >&6; }
59910 fi
59911
59912 # Set linker optimization flags.
59913 if test x"$with_gnu_ld" = x"yes"; then
59914 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59915 fi
59916
59917
59918
59919
59920
59921 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59922 ac_save_CXXFLAGS="$CXXFLAGS"
59923 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59924
59925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59926 $as_echo_n "checking for sin in -lm... " >&6; }
59927 if test "${ac_cv_lib_m_sin+set}" = set; then :
59928 $as_echo_n "(cached) " >&6
59929 else
59930 ac_check_lib_save_LIBS=$LIBS
59931 LIBS="-lm $LIBS"
59932 if test x$gcc_no_link = xyes; then
59933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59934 fi
59935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59936 /* end confdefs.h. */
59937
59938 /* Override any GCC internal prototype to avoid an error.
59939 Use char because int might match the return type of a GCC
59940 builtin and then its argument prototype would still apply. */
59941 #ifdef __cplusplus
59942 extern "C"
59943 #endif
59944 char sin ();
59945 int
59946 main ()
59947 {
59948 return sin ();
59949 ;
59950 return 0;
59951 }
59952 _ACEOF
59953 if ac_fn_c_try_link "$LINENO"; then :
59954 ac_cv_lib_m_sin=yes
59955 else
59956 ac_cv_lib_m_sin=no
59957 fi
59958 rm -f core conftest.err conftest.$ac_objext \
59959 conftest$ac_exeext conftest.$ac_ext
59960 LIBS=$ac_check_lib_save_LIBS
59961 fi
59962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59963 $as_echo "$ac_cv_lib_m_sin" >&6; }
59964 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59965 libm="-lm"
59966 fi
59967
59968 ac_save_LIBS="$LIBS"
59969 LIBS="$LIBS $libm"
59970
59971
59972
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59974 $as_echo_n "checking for isinf declaration... " >&6; }
59975 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59976 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59977 $as_echo_n "(cached) " >&6
59978 else
59979
59980
59981 ac_ext=cpp
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986
59987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59988 /* end confdefs.h. */
59989 #include <math.h>
59990 #ifdef HAVE_IEEEFP_H
59991 #include <ieeefp.h>
59992 #endif
59993
59994 int
59995 main ()
59996 {
59997 isinf(0);
59998 ;
59999 return 0;
60000 }
60001 _ACEOF
60002 if ac_fn_cxx_try_compile "$LINENO"; then :
60003 glibcxx_cv_func_isinf_use=yes
60004 else
60005 glibcxx_cv_func_isinf_use=no
60006 fi
60007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60008 ac_ext=c
60009 ac_cpp='$CPP $CPPFLAGS'
60010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60013
60014
60015 fi
60016
60017 fi
60018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60019 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60020
60021 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60022 for ac_func in isinf
60023 do :
60024 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60025 if test "x$ac_cv_func_isinf" = x""yes; then :
60026 cat >>confdefs.h <<_ACEOF
60027 #define HAVE_ISINF 1
60028 _ACEOF
60029
60030 fi
60031 done
60032
60033 else
60034
60035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60036 $as_echo_n "checking for _isinf declaration... " >&6; }
60037 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60038 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60039 $as_echo_n "(cached) " >&6
60040 else
60041
60042
60043 ac_ext=cpp
60044 ac_cpp='$CXXCPP $CPPFLAGS'
60045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60048
60049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60050 /* end confdefs.h. */
60051 #include <math.h>
60052 #ifdef HAVE_IEEEFP_H
60053 #include <ieeefp.h>
60054 #endif
60055
60056 int
60057 main ()
60058 {
60059 _isinf(0);
60060 ;
60061 return 0;
60062 }
60063 _ACEOF
60064 if ac_fn_cxx_try_compile "$LINENO"; then :
60065 glibcxx_cv_func__isinf_use=yes
60066 else
60067 glibcxx_cv_func__isinf_use=no
60068 fi
60069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60070 ac_ext=c
60071 ac_cpp='$CPP $CPPFLAGS'
60072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60075
60076
60077 fi
60078
60079 fi
60080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60081 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60082
60083 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60084 for ac_func in _isinf
60085 do :
60086 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60087 if test "x$ac_cv_func__isinf" = x""yes; then :
60088 cat >>confdefs.h <<_ACEOF
60089 #define HAVE__ISINF 1
60090 _ACEOF
60091
60092 fi
60093 done
60094
60095 fi
60096 fi
60097
60098
60099
60100
60101
60102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60103 $as_echo_n "checking for isnan declaration... " >&6; }
60104 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60105 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60106 $as_echo_n "(cached) " >&6
60107 else
60108
60109
60110 ac_ext=cpp
60111 ac_cpp='$CXXCPP $CPPFLAGS'
60112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60115
60116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60117 /* end confdefs.h. */
60118 #include <math.h>
60119 #ifdef HAVE_IEEEFP_H
60120 #include <ieeefp.h>
60121 #endif
60122
60123 int
60124 main ()
60125 {
60126 isnan(0);
60127 ;
60128 return 0;
60129 }
60130 _ACEOF
60131 if ac_fn_cxx_try_compile "$LINENO"; then :
60132 glibcxx_cv_func_isnan_use=yes
60133 else
60134 glibcxx_cv_func_isnan_use=no
60135 fi
60136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60137 ac_ext=c
60138 ac_cpp='$CPP $CPPFLAGS'
60139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60142
60143
60144 fi
60145
60146 fi
60147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60148 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60149
60150 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60151 for ac_func in isnan
60152 do :
60153 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60154 if test "x$ac_cv_func_isnan" = x""yes; then :
60155 cat >>confdefs.h <<_ACEOF
60156 #define HAVE_ISNAN 1
60157 _ACEOF
60158
60159 fi
60160 done
60161
60162 else
60163
60164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60165 $as_echo_n "checking for _isnan declaration... " >&6; }
60166 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60167 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60168 $as_echo_n "(cached) " >&6
60169 else
60170
60171
60172 ac_ext=cpp
60173 ac_cpp='$CXXCPP $CPPFLAGS'
60174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60177
60178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60179 /* end confdefs.h. */
60180 #include <math.h>
60181 #ifdef HAVE_IEEEFP_H
60182 #include <ieeefp.h>
60183 #endif
60184
60185 int
60186 main ()
60187 {
60188 _isnan(0);
60189 ;
60190 return 0;
60191 }
60192 _ACEOF
60193 if ac_fn_cxx_try_compile "$LINENO"; then :
60194 glibcxx_cv_func__isnan_use=yes
60195 else
60196 glibcxx_cv_func__isnan_use=no
60197 fi
60198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60199 ac_ext=c
60200 ac_cpp='$CPP $CPPFLAGS'
60201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60204
60205
60206 fi
60207
60208 fi
60209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60210 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60211
60212 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60213 for ac_func in _isnan
60214 do :
60215 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60216 if test "x$ac_cv_func__isnan" = x""yes; then :
60217 cat >>confdefs.h <<_ACEOF
60218 #define HAVE__ISNAN 1
60219 _ACEOF
60220
60221 fi
60222 done
60223
60224 fi
60225 fi
60226
60227
60228
60229
60230
60231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60232 $as_echo_n "checking for finite declaration... " >&6; }
60233 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60234 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60235 $as_echo_n "(cached) " >&6
60236 else
60237
60238
60239 ac_ext=cpp
60240 ac_cpp='$CXXCPP $CPPFLAGS'
60241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60244
60245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60246 /* end confdefs.h. */
60247 #include <math.h>
60248 #ifdef HAVE_IEEEFP_H
60249 #include <ieeefp.h>
60250 #endif
60251
60252 int
60253 main ()
60254 {
60255 finite(0);
60256 ;
60257 return 0;
60258 }
60259 _ACEOF
60260 if ac_fn_cxx_try_compile "$LINENO"; then :
60261 glibcxx_cv_func_finite_use=yes
60262 else
60263 glibcxx_cv_func_finite_use=no
60264 fi
60265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60266 ac_ext=c
60267 ac_cpp='$CPP $CPPFLAGS'
60268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60271
60272
60273 fi
60274
60275 fi
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60277 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60278
60279 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60280 for ac_func in finite
60281 do :
60282 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60283 if test "x$ac_cv_func_finite" = x""yes; then :
60284 cat >>confdefs.h <<_ACEOF
60285 #define HAVE_FINITE 1
60286 _ACEOF
60287
60288 fi
60289 done
60290
60291 else
60292
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60294 $as_echo_n "checking for _finite declaration... " >&6; }
60295 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60296 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60297 $as_echo_n "(cached) " >&6
60298 else
60299
60300
60301 ac_ext=cpp
60302 ac_cpp='$CXXCPP $CPPFLAGS'
60303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60306
60307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60308 /* end confdefs.h. */
60309 #include <math.h>
60310 #ifdef HAVE_IEEEFP_H
60311 #include <ieeefp.h>
60312 #endif
60313
60314 int
60315 main ()
60316 {
60317 _finite(0);
60318 ;
60319 return 0;
60320 }
60321 _ACEOF
60322 if ac_fn_cxx_try_compile "$LINENO"; then :
60323 glibcxx_cv_func__finite_use=yes
60324 else
60325 glibcxx_cv_func__finite_use=no
60326 fi
60327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60328 ac_ext=c
60329 ac_cpp='$CPP $CPPFLAGS'
60330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60333
60334
60335 fi
60336
60337 fi
60338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60339 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60340
60341 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60342 for ac_func in _finite
60343 do :
60344 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60345 if test "x$ac_cv_func__finite" = x""yes; then :
60346 cat >>confdefs.h <<_ACEOF
60347 #define HAVE__FINITE 1
60348 _ACEOF
60349
60350 fi
60351 done
60352
60353 fi
60354 fi
60355
60356
60357
60358
60359
60360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60361 $as_echo_n "checking for sincos declaration... " >&6; }
60362 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60363 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60364 $as_echo_n "(cached) " >&6
60365 else
60366
60367
60368 ac_ext=cpp
60369 ac_cpp='$CXXCPP $CPPFLAGS'
60370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60373
60374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60375 /* end confdefs.h. */
60376 #include <math.h>
60377 int
60378 main ()
60379 {
60380 sincos(0, 0, 0);
60381 ;
60382 return 0;
60383 }
60384 _ACEOF
60385 if ac_fn_cxx_try_compile "$LINENO"; then :
60386 glibcxx_cv_func_sincos_use=yes
60387 else
60388 glibcxx_cv_func_sincos_use=no
60389 fi
60390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60391 ac_ext=c
60392 ac_cpp='$CPP $CPPFLAGS'
60393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60396
60397
60398 fi
60399
60400 fi
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60402 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60403
60404 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60405 for ac_func in sincos
60406 do :
60407 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60408 if test "x$ac_cv_func_sincos" = x""yes; then :
60409 cat >>confdefs.h <<_ACEOF
60410 #define HAVE_SINCOS 1
60411 _ACEOF
60412
60413 fi
60414 done
60415
60416 else
60417
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60419 $as_echo_n "checking for _sincos declaration... " >&6; }
60420 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60421 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60422 $as_echo_n "(cached) " >&6
60423 else
60424
60425
60426 ac_ext=cpp
60427 ac_cpp='$CXXCPP $CPPFLAGS'
60428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60431
60432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60433 /* end confdefs.h. */
60434 #include <math.h>
60435 int
60436 main ()
60437 {
60438 _sincos(0, 0, 0);
60439 ;
60440 return 0;
60441 }
60442 _ACEOF
60443 if ac_fn_cxx_try_compile "$LINENO"; then :
60444 glibcxx_cv_func__sincos_use=yes
60445 else
60446 glibcxx_cv_func__sincos_use=no
60447 fi
60448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60449 ac_ext=c
60450 ac_cpp='$CPP $CPPFLAGS'
60451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60454
60455
60456 fi
60457
60458 fi
60459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60460 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60461
60462 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60463 for ac_func in _sincos
60464 do :
60465 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60466 if test "x$ac_cv_func__sincos" = x""yes; then :
60467 cat >>confdefs.h <<_ACEOF
60468 #define HAVE__SINCOS 1
60469 _ACEOF
60470
60471 fi
60472 done
60473
60474 fi
60475 fi
60476
60477
60478
60479
60480
60481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60482 $as_echo_n "checking for fpclass declaration... " >&6; }
60483 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60484 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60485 $as_echo_n "(cached) " >&6
60486 else
60487
60488
60489 ac_ext=cpp
60490 ac_cpp='$CXXCPP $CPPFLAGS'
60491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60494
60495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60496 /* end confdefs.h. */
60497 #include <math.h>
60498 #ifdef HAVE_IEEEFP_H
60499 #include <ieeefp.h>
60500 #endif
60501
60502 int
60503 main ()
60504 {
60505 fpclass(0);
60506 ;
60507 return 0;
60508 }
60509 _ACEOF
60510 if ac_fn_cxx_try_compile "$LINENO"; then :
60511 glibcxx_cv_func_fpclass_use=yes
60512 else
60513 glibcxx_cv_func_fpclass_use=no
60514 fi
60515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60516 ac_ext=c
60517 ac_cpp='$CPP $CPPFLAGS'
60518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60521
60522
60523 fi
60524
60525 fi
60526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60527 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60528
60529 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60530 for ac_func in fpclass
60531 do :
60532 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60533 if test "x$ac_cv_func_fpclass" = x""yes; then :
60534 cat >>confdefs.h <<_ACEOF
60535 #define HAVE_FPCLASS 1
60536 _ACEOF
60537
60538 fi
60539 done
60540
60541 else
60542
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60544 $as_echo_n "checking for _fpclass declaration... " >&6; }
60545 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60546 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60547 $as_echo_n "(cached) " >&6
60548 else
60549
60550
60551 ac_ext=cpp
60552 ac_cpp='$CXXCPP $CPPFLAGS'
60553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60556
60557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60558 /* end confdefs.h. */
60559 #include <math.h>
60560 #ifdef HAVE_IEEEFP_H
60561 #include <ieeefp.h>
60562 #endif
60563
60564 int
60565 main ()
60566 {
60567 _fpclass(0);
60568 ;
60569 return 0;
60570 }
60571 _ACEOF
60572 if ac_fn_cxx_try_compile "$LINENO"; then :
60573 glibcxx_cv_func__fpclass_use=yes
60574 else
60575 glibcxx_cv_func__fpclass_use=no
60576 fi
60577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60578 ac_ext=c
60579 ac_cpp='$CPP $CPPFLAGS'
60580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60583
60584
60585 fi
60586
60587 fi
60588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60589 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60590
60591 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60592 for ac_func in _fpclass
60593 do :
60594 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60595 if test "x$ac_cv_func__fpclass" = x""yes; then :
60596 cat >>confdefs.h <<_ACEOF
60597 #define HAVE__FPCLASS 1
60598 _ACEOF
60599
60600 fi
60601 done
60602
60603 fi
60604 fi
60605
60606
60607
60608
60609
60610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60611 $as_echo_n "checking for qfpclass declaration... " >&6; }
60612 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60613 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60614 $as_echo_n "(cached) " >&6
60615 else
60616
60617
60618 ac_ext=cpp
60619 ac_cpp='$CXXCPP $CPPFLAGS'
60620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60623
60624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60625 /* end confdefs.h. */
60626 #include <math.h>
60627 #ifdef HAVE_IEEEFP_H
60628 #include <ieeefp.h>
60629 #endif
60630
60631 int
60632 main ()
60633 {
60634 qfpclass(0);
60635 ;
60636 return 0;
60637 }
60638 _ACEOF
60639 if ac_fn_cxx_try_compile "$LINENO"; then :
60640 glibcxx_cv_func_qfpclass_use=yes
60641 else
60642 glibcxx_cv_func_qfpclass_use=no
60643 fi
60644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60650
60651
60652 fi
60653
60654 fi
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60656 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60657
60658 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60659 for ac_func in qfpclass
60660 do :
60661 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60662 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE_QFPCLASS 1
60665 _ACEOF
60666
60667 fi
60668 done
60669
60670 else
60671
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60673 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60674 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60675 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60676 $as_echo_n "(cached) " >&6
60677 else
60678
60679
60680 ac_ext=cpp
60681 ac_cpp='$CXXCPP $CPPFLAGS'
60682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60685
60686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60687 /* end confdefs.h. */
60688 #include <math.h>
60689 #ifdef HAVE_IEEEFP_H
60690 #include <ieeefp.h>
60691 #endif
60692
60693 int
60694 main ()
60695 {
60696 _qfpclass(0);
60697 ;
60698 return 0;
60699 }
60700 _ACEOF
60701 if ac_fn_cxx_try_compile "$LINENO"; then :
60702 glibcxx_cv_func__qfpclass_use=yes
60703 else
60704 glibcxx_cv_func__qfpclass_use=no
60705 fi
60706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60707 ac_ext=c
60708 ac_cpp='$CPP $CPPFLAGS'
60709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60712
60713
60714 fi
60715
60716 fi
60717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60718 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60719
60720 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60721 for ac_func in _qfpclass
60722 do :
60723 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60724 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60725 cat >>confdefs.h <<_ACEOF
60726 #define HAVE__QFPCLASS 1
60727 _ACEOF
60728
60729 fi
60730 done
60731
60732 fi
60733 fi
60734
60735
60736
60737
60738
60739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60740 $as_echo_n "checking for hypot declaration... " >&6; }
60741 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60742 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60743 $as_echo_n "(cached) " >&6
60744 else
60745
60746
60747 ac_ext=cpp
60748 ac_cpp='$CXXCPP $CPPFLAGS'
60749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60752
60753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60754 /* end confdefs.h. */
60755 #include <math.h>
60756 int
60757 main ()
60758 {
60759 hypot(0, 0);
60760 ;
60761 return 0;
60762 }
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func_hypot_use=yes
60766 else
60767 glibcxx_cv_func_hypot_use=no
60768 fi
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775
60776
60777 fi
60778
60779 fi
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60781 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60782
60783 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60784 for ac_func in hypot
60785 do :
60786 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60787 if test "x$ac_cv_func_hypot" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE_HYPOT 1
60790 _ACEOF
60791
60792 fi
60793 done
60794
60795 else
60796
60797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60798 $as_echo_n "checking for _hypot declaration... " >&6; }
60799 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60800 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60801 $as_echo_n "(cached) " >&6
60802 else
60803
60804
60805 ac_ext=cpp
60806 ac_cpp='$CXXCPP $CPPFLAGS'
60807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60810
60811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60812 /* end confdefs.h. */
60813 #include <math.h>
60814 int
60815 main ()
60816 {
60817 _hypot(0, 0);
60818 ;
60819 return 0;
60820 }
60821 _ACEOF
60822 if ac_fn_cxx_try_compile "$LINENO"; then :
60823 glibcxx_cv_func__hypot_use=yes
60824 else
60825 glibcxx_cv_func__hypot_use=no
60826 fi
60827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60828 ac_ext=c
60829 ac_cpp='$CPP $CPPFLAGS'
60830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60833
60834
60835 fi
60836
60837 fi
60838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60839 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60840
60841 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60842 for ac_func in _hypot
60843 do :
60844 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60845 if test "x$ac_cv_func__hypot" = x""yes; then :
60846 cat >>confdefs.h <<_ACEOF
60847 #define HAVE__HYPOT 1
60848 _ACEOF
60849
60850 fi
60851 done
60852
60853 fi
60854 fi
60855
60856
60857
60858
60859
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60861 $as_echo_n "checking for float trig functions... " >&6; }
60862 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60863 $as_echo_n "(cached) " >&6
60864 else
60865
60866
60867 ac_ext=cpp
60868 ac_cpp='$CXXCPP $CPPFLAGS'
60869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60872
60873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60874 /* end confdefs.h. */
60875 #include <math.h>
60876 int
60877 main ()
60878 {
60879 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60880 ;
60881 return 0;
60882 }
60883 _ACEOF
60884 if ac_fn_cxx_try_compile "$LINENO"; then :
60885 glibcxx_cv_func_float_trig_use=yes
60886 else
60887 glibcxx_cv_func_float_trig_use=no
60888 fi
60889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60890 ac_ext=c
60891 ac_cpp='$CPP $CPPFLAGS'
60892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60895
60896 fi
60897
60898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60899 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60900 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60901 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60902 do :
60903 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60904 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60905 eval as_val=\$$as_ac_var
60906 if test "x$as_val" = x""yes; then :
60907 cat >>confdefs.h <<_ACEOF
60908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60909 _ACEOF
60910
60911 fi
60912 done
60913
60914 else
60915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60916 $as_echo_n "checking for _float trig functions... " >&6; }
60917 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60918 $as_echo_n "(cached) " >&6
60919 else
60920
60921
60922 ac_ext=cpp
60923 ac_cpp='$CXXCPP $CPPFLAGS'
60924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60927
60928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60929 /* end confdefs.h. */
60930 #include <math.h>
60931 int
60932 main ()
60933 {
60934 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60935 ;
60936 return 0;
60937 }
60938 _ACEOF
60939 if ac_fn_cxx_try_compile "$LINENO"; then :
60940 glibcxx_cv_func__float_trig_use=yes
60941 else
60942 glibcxx_cv_func__float_trig_use=no
60943 fi
60944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60945 ac_ext=c
60946 ac_cpp='$CPP $CPPFLAGS'
60947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950
60951 fi
60952
60953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60954 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60955 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60956 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60957 do :
60958 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60959 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60960 eval as_val=\$$as_ac_var
60961 if test "x$as_val" = x""yes; then :
60962 cat >>confdefs.h <<_ACEOF
60963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60964 _ACEOF
60965
60966 fi
60967 done
60968
60969 fi
60970 fi
60971
60972
60973
60974
60975
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60977 $as_echo_n "checking for float round functions... " >&6; }
60978 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60979 $as_echo_n "(cached) " >&6
60980 else
60981
60982
60983 ac_ext=cpp
60984 ac_cpp='$CXXCPP $CPPFLAGS'
60985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60988
60989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60990 /* end confdefs.h. */
60991 #include <math.h>
60992 int
60993 main ()
60994 {
60995 ceilf (0); floorf (0);
60996 ;
60997 return 0;
60998 }
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001 glibcxx_cv_func_float_round_use=yes
61002 else
61003 glibcxx_cv_func_float_round_use=no
61004 fi
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61011
61012 fi
61013
61014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61015 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61016 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61017 for ac_func in ceilf floorf
61018 do :
61019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61021 eval as_val=\$$as_ac_var
61022 if test "x$as_val" = x""yes; then :
61023 cat >>confdefs.h <<_ACEOF
61024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61025 _ACEOF
61026
61027 fi
61028 done
61029
61030 else
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61032 $as_echo_n "checking for _float round functions... " >&6; }
61033 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61034 $as_echo_n "(cached) " >&6
61035 else
61036
61037
61038 ac_ext=cpp
61039 ac_cpp='$CXXCPP $CPPFLAGS'
61040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043
61044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61045 /* end confdefs.h. */
61046 #include <math.h>
61047 int
61048 main ()
61049 {
61050 _ceilf (0); _floorf (0);
61051 ;
61052 return 0;
61053 }
61054 _ACEOF
61055 if ac_fn_cxx_try_compile "$LINENO"; then :
61056 glibcxx_cv_func__float_round_use=yes
61057 else
61058 glibcxx_cv_func__float_round_use=no
61059 fi
61060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61061 ac_ext=c
61062 ac_cpp='$CPP $CPPFLAGS'
61063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61066
61067 fi
61068
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61070 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61071 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61072 for ac_func in _ceilf _floorf
61073 do :
61074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61076 eval as_val=\$$as_ac_var
61077 if test "x$as_val" = x""yes; then :
61078 cat >>confdefs.h <<_ACEOF
61079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61080 _ACEOF
61081
61082 fi
61083 done
61084
61085 fi
61086 fi
61087
61088
61089
61090
61091
61092
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61094 $as_echo_n "checking for expf declaration... " >&6; }
61095 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61096 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61097 $as_echo_n "(cached) " >&6
61098 else
61099
61100
61101 ac_ext=cpp
61102 ac_cpp='$CXXCPP $CPPFLAGS'
61103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61106
61107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61108 /* end confdefs.h. */
61109 #include <math.h>
61110 #ifdef HAVE_IEEEFP_H
61111 #include <ieeefp.h>
61112 #endif
61113
61114 int
61115 main ()
61116 {
61117 expf(0);
61118 ;
61119 return 0;
61120 }
61121 _ACEOF
61122 if ac_fn_cxx_try_compile "$LINENO"; then :
61123 glibcxx_cv_func_expf_use=yes
61124 else
61125 glibcxx_cv_func_expf_use=no
61126 fi
61127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61128 ac_ext=c
61129 ac_cpp='$CPP $CPPFLAGS'
61130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61133
61134
61135 fi
61136
61137 fi
61138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61139 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61140
61141 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61142 for ac_func in expf
61143 do :
61144 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61145 if test "x$ac_cv_func_expf" = x""yes; then :
61146 cat >>confdefs.h <<_ACEOF
61147 #define HAVE_EXPF 1
61148 _ACEOF
61149
61150 fi
61151 done
61152
61153 else
61154
61155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61156 $as_echo_n "checking for _expf declaration... " >&6; }
61157 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61158 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61159 $as_echo_n "(cached) " >&6
61160 else
61161
61162
61163 ac_ext=cpp
61164 ac_cpp='$CXXCPP $CPPFLAGS'
61165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61168
61169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61170 /* end confdefs.h. */
61171 #include <math.h>
61172 #ifdef HAVE_IEEEFP_H
61173 #include <ieeefp.h>
61174 #endif
61175
61176 int
61177 main ()
61178 {
61179 _expf(0);
61180 ;
61181 return 0;
61182 }
61183 _ACEOF
61184 if ac_fn_cxx_try_compile "$LINENO"; then :
61185 glibcxx_cv_func__expf_use=yes
61186 else
61187 glibcxx_cv_func__expf_use=no
61188 fi
61189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61190 ac_ext=c
61191 ac_cpp='$CPP $CPPFLAGS'
61192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61195
61196
61197 fi
61198
61199 fi
61200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61201 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61202
61203 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61204 for ac_func in _expf
61205 do :
61206 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61207 if test "x$ac_cv_func__expf" = x""yes; then :
61208 cat >>confdefs.h <<_ACEOF
61209 #define HAVE__EXPF 1
61210 _ACEOF
61211
61212 fi
61213 done
61214
61215 fi
61216 fi
61217
61218
61219
61220
61221
61222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61223 $as_echo_n "checking for isnanf declaration... " >&6; }
61224 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61225 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61226 $as_echo_n "(cached) " >&6
61227 else
61228
61229
61230 ac_ext=cpp
61231 ac_cpp='$CXXCPP $CPPFLAGS'
61232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61235
61236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61237 /* end confdefs.h. */
61238 #include <math.h>
61239 #ifdef HAVE_IEEEFP_H
61240 #include <ieeefp.h>
61241 #endif
61242
61243 int
61244 main ()
61245 {
61246 isnanf(0);
61247 ;
61248 return 0;
61249 }
61250 _ACEOF
61251 if ac_fn_cxx_try_compile "$LINENO"; then :
61252 glibcxx_cv_func_isnanf_use=yes
61253 else
61254 glibcxx_cv_func_isnanf_use=no
61255 fi
61256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61257 ac_ext=c
61258 ac_cpp='$CPP $CPPFLAGS'
61259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61262
61263
61264 fi
61265
61266 fi
61267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61268 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61269
61270 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61271 for ac_func in isnanf
61272 do :
61273 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61274 if test "x$ac_cv_func_isnanf" = x""yes; then :
61275 cat >>confdefs.h <<_ACEOF
61276 #define HAVE_ISNANF 1
61277 _ACEOF
61278
61279 fi
61280 done
61281
61282 else
61283
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61285 $as_echo_n "checking for _isnanf declaration... " >&6; }
61286 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61287 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61288 $as_echo_n "(cached) " >&6
61289 else
61290
61291
61292 ac_ext=cpp
61293 ac_cpp='$CXXCPP $CPPFLAGS'
61294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61297
61298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61299 /* end confdefs.h. */
61300 #include <math.h>
61301 #ifdef HAVE_IEEEFP_H
61302 #include <ieeefp.h>
61303 #endif
61304
61305 int
61306 main ()
61307 {
61308 _isnanf(0);
61309 ;
61310 return 0;
61311 }
61312 _ACEOF
61313 if ac_fn_cxx_try_compile "$LINENO"; then :
61314 glibcxx_cv_func__isnanf_use=yes
61315 else
61316 glibcxx_cv_func__isnanf_use=no
61317 fi
61318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61319 ac_ext=c
61320 ac_cpp='$CPP $CPPFLAGS'
61321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61324
61325
61326 fi
61327
61328 fi
61329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61330 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61331
61332 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61333 for ac_func in _isnanf
61334 do :
61335 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61336 if test "x$ac_cv_func__isnanf" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define HAVE__ISNANF 1
61339 _ACEOF
61340
61341 fi
61342 done
61343
61344 fi
61345 fi
61346
61347
61348
61349
61350
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61352 $as_echo_n "checking for isinff declaration... " >&6; }
61353 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61354 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61355 $as_echo_n "(cached) " >&6
61356 else
61357
61358
61359 ac_ext=cpp
61360 ac_cpp='$CXXCPP $CPPFLAGS'
61361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61364
61365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61366 /* end confdefs.h. */
61367 #include <math.h>
61368 #ifdef HAVE_IEEEFP_H
61369 #include <ieeefp.h>
61370 #endif
61371
61372 int
61373 main ()
61374 {
61375 isinff(0);
61376 ;
61377 return 0;
61378 }
61379 _ACEOF
61380 if ac_fn_cxx_try_compile "$LINENO"; then :
61381 glibcxx_cv_func_isinff_use=yes
61382 else
61383 glibcxx_cv_func_isinff_use=no
61384 fi
61385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61386 ac_ext=c
61387 ac_cpp='$CPP $CPPFLAGS'
61388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391
61392
61393 fi
61394
61395 fi
61396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61397 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61398
61399 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61400 for ac_func in isinff
61401 do :
61402 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61403 if test "x$ac_cv_func_isinff" = x""yes; then :
61404 cat >>confdefs.h <<_ACEOF
61405 #define HAVE_ISINFF 1
61406 _ACEOF
61407
61408 fi
61409 done
61410
61411 else
61412
61413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61414 $as_echo_n "checking for _isinff declaration... " >&6; }
61415 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61416 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61417 $as_echo_n "(cached) " >&6
61418 else
61419
61420
61421 ac_ext=cpp
61422 ac_cpp='$CXXCPP $CPPFLAGS'
61423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61426
61427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61428 /* end confdefs.h. */
61429 #include <math.h>
61430 #ifdef HAVE_IEEEFP_H
61431 #include <ieeefp.h>
61432 #endif
61433
61434 int
61435 main ()
61436 {
61437 _isinff(0);
61438 ;
61439 return 0;
61440 }
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func__isinff_use=yes
61444 else
61445 glibcxx_cv_func__isinff_use=no
61446 fi
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453
61454
61455 fi
61456
61457 fi
61458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61459 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61460
61461 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61462 for ac_func in _isinff
61463 do :
61464 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61465 if test "x$ac_cv_func__isinff" = x""yes; then :
61466 cat >>confdefs.h <<_ACEOF
61467 #define HAVE__ISINFF 1
61468 _ACEOF
61469
61470 fi
61471 done
61472
61473 fi
61474 fi
61475
61476
61477
61478
61479
61480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61481 $as_echo_n "checking for atan2f declaration... " >&6; }
61482 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61483 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61484 $as_echo_n "(cached) " >&6
61485 else
61486
61487
61488 ac_ext=cpp
61489 ac_cpp='$CXXCPP $CPPFLAGS'
61490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61493
61494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61495 /* end confdefs.h. */
61496 #include <math.h>
61497 int
61498 main ()
61499 {
61500 atan2f(0, 0);
61501 ;
61502 return 0;
61503 }
61504 _ACEOF
61505 if ac_fn_cxx_try_compile "$LINENO"; then :
61506 glibcxx_cv_func_atan2f_use=yes
61507 else
61508 glibcxx_cv_func_atan2f_use=no
61509 fi
61510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61511 ac_ext=c
61512 ac_cpp='$CPP $CPPFLAGS'
61513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61516
61517
61518 fi
61519
61520 fi
61521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61522 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61523
61524 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61525 for ac_func in atan2f
61526 do :
61527 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61528 if test "x$ac_cv_func_atan2f" = x""yes; then :
61529 cat >>confdefs.h <<_ACEOF
61530 #define HAVE_ATAN2F 1
61531 _ACEOF
61532
61533 fi
61534 done
61535
61536 else
61537
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61539 $as_echo_n "checking for _atan2f declaration... " >&6; }
61540 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61541 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61544
61545
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61551
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61555 int
61556 main ()
61557 {
61558 _atan2f(0, 0);
61559 ;
61560 return 0;
61561 }
61562 _ACEOF
61563 if ac_fn_cxx_try_compile "$LINENO"; then :
61564 glibcxx_cv_func__atan2f_use=yes
61565 else
61566 glibcxx_cv_func__atan2f_use=no
61567 fi
61568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61569 ac_ext=c
61570 ac_cpp='$CPP $CPPFLAGS'
61571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61574
61575
61576 fi
61577
61578 fi
61579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61580 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61581
61582 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61583 for ac_func in _atan2f
61584 do :
61585 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61586 if test "x$ac_cv_func__atan2f" = x""yes; then :
61587 cat >>confdefs.h <<_ACEOF
61588 #define HAVE__ATAN2F 1
61589 _ACEOF
61590
61591 fi
61592 done
61593
61594 fi
61595 fi
61596
61597
61598
61599
61600
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61602 $as_echo_n "checking for fabsf declaration... " >&6; }
61603 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61604 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61605 $as_echo_n "(cached) " >&6
61606 else
61607
61608
61609 ac_ext=cpp
61610 ac_cpp='$CXXCPP $CPPFLAGS'
61611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61614
61615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61616 /* end confdefs.h. */
61617 #include <math.h>
61618 #ifdef HAVE_IEEEFP_H
61619 #include <ieeefp.h>
61620 #endif
61621
61622 int
61623 main ()
61624 {
61625 fabsf(0);
61626 ;
61627 return 0;
61628 }
61629 _ACEOF
61630 if ac_fn_cxx_try_compile "$LINENO"; then :
61631 glibcxx_cv_func_fabsf_use=yes
61632 else
61633 glibcxx_cv_func_fabsf_use=no
61634 fi
61635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61636 ac_ext=c
61637 ac_cpp='$CPP $CPPFLAGS'
61638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61641
61642
61643 fi
61644
61645 fi
61646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61647 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61648
61649 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61650 for ac_func in fabsf
61651 do :
61652 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61653 if test "x$ac_cv_func_fabsf" = x""yes; then :
61654 cat >>confdefs.h <<_ACEOF
61655 #define HAVE_FABSF 1
61656 _ACEOF
61657
61658 fi
61659 done
61660
61661 else
61662
61663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61664 $as_echo_n "checking for _fabsf declaration... " >&6; }
61665 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61666 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61667 $as_echo_n "(cached) " >&6
61668 else
61669
61670
61671 ac_ext=cpp
61672 ac_cpp='$CXXCPP $CPPFLAGS'
61673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61676
61677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61678 /* end confdefs.h. */
61679 #include <math.h>
61680 #ifdef HAVE_IEEEFP_H
61681 #include <ieeefp.h>
61682 #endif
61683
61684 int
61685 main ()
61686 {
61687 _fabsf(0);
61688 ;
61689 return 0;
61690 }
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func__fabsf_use=yes
61694 else
61695 glibcxx_cv_func__fabsf_use=no
61696 fi
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61703
61704
61705 fi
61706
61707 fi
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61709 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61710
61711 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61712 for ac_func in _fabsf
61713 do :
61714 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61715 if test "x$ac_cv_func__fabsf" = x""yes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE__FABSF 1
61718 _ACEOF
61719
61720 fi
61721 done
61722
61723 fi
61724 fi
61725
61726
61727
61728
61729
61730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61731 $as_echo_n "checking for fmodf declaration... " >&6; }
61732 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61733 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61734 $as_echo_n "(cached) " >&6
61735 else
61736
61737
61738 ac_ext=cpp
61739 ac_cpp='$CXXCPP $CPPFLAGS'
61740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61743
61744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61745 /* end confdefs.h. */
61746 #include <math.h>
61747 int
61748 main ()
61749 {
61750 fmodf(0, 0);
61751 ;
61752 return 0;
61753 }
61754 _ACEOF
61755 if ac_fn_cxx_try_compile "$LINENO"; then :
61756 glibcxx_cv_func_fmodf_use=yes
61757 else
61758 glibcxx_cv_func_fmodf_use=no
61759 fi
61760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61761 ac_ext=c
61762 ac_cpp='$CPP $CPPFLAGS'
61763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766
61767
61768 fi
61769
61770 fi
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61772 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61773
61774 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61775 for ac_func in fmodf
61776 do :
61777 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61778 if test "x$ac_cv_func_fmodf" = x""yes; then :
61779 cat >>confdefs.h <<_ACEOF
61780 #define HAVE_FMODF 1
61781 _ACEOF
61782
61783 fi
61784 done
61785
61786 else
61787
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61789 $as_echo_n "checking for _fmodf declaration... " >&6; }
61790 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61791 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61792 $as_echo_n "(cached) " >&6
61793 else
61794
61795
61796 ac_ext=cpp
61797 ac_cpp='$CXXCPP $CPPFLAGS'
61798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61801
61802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61803 /* end confdefs.h. */
61804 #include <math.h>
61805 int
61806 main ()
61807 {
61808 _fmodf(0, 0);
61809 ;
61810 return 0;
61811 }
61812 _ACEOF
61813 if ac_fn_cxx_try_compile "$LINENO"; then :
61814 glibcxx_cv_func__fmodf_use=yes
61815 else
61816 glibcxx_cv_func__fmodf_use=no
61817 fi
61818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61819 ac_ext=c
61820 ac_cpp='$CPP $CPPFLAGS'
61821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61824
61825
61826 fi
61827
61828 fi
61829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61830 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61831
61832 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61833 for ac_func in _fmodf
61834 do :
61835 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61836 if test "x$ac_cv_func__fmodf" = x""yes; then :
61837 cat >>confdefs.h <<_ACEOF
61838 #define HAVE__FMODF 1
61839 _ACEOF
61840
61841 fi
61842 done
61843
61844 fi
61845 fi
61846
61847
61848
61849
61850
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61852 $as_echo_n "checking for frexpf declaration... " >&6; }
61853 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61854 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61855 $as_echo_n "(cached) " >&6
61856 else
61857
61858
61859 ac_ext=cpp
61860 ac_cpp='$CXXCPP $CPPFLAGS'
61861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864
61865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61866 /* end confdefs.h. */
61867 #include <math.h>
61868 int
61869 main ()
61870 {
61871 frexpf(0, 0);
61872 ;
61873 return 0;
61874 }
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877 glibcxx_cv_func_frexpf_use=yes
61878 else
61879 glibcxx_cv_func_frexpf_use=no
61880 fi
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882 ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887
61888
61889 fi
61890
61891 fi
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61893 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61894
61895 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61896 for ac_func in frexpf
61897 do :
61898 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61899 if test "x$ac_cv_func_frexpf" = x""yes; then :
61900 cat >>confdefs.h <<_ACEOF
61901 #define HAVE_FREXPF 1
61902 _ACEOF
61903
61904 fi
61905 done
61906
61907 else
61908
61909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61910 $as_echo_n "checking for _frexpf declaration... " >&6; }
61911 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61912 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61913 $as_echo_n "(cached) " >&6
61914 else
61915
61916
61917 ac_ext=cpp
61918 ac_cpp='$CXXCPP $CPPFLAGS'
61919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61922
61923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61924 /* end confdefs.h. */
61925 #include <math.h>
61926 int
61927 main ()
61928 {
61929 _frexpf(0, 0);
61930 ;
61931 return 0;
61932 }
61933 _ACEOF
61934 if ac_fn_cxx_try_compile "$LINENO"; then :
61935 glibcxx_cv_func__frexpf_use=yes
61936 else
61937 glibcxx_cv_func__frexpf_use=no
61938 fi
61939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61940 ac_ext=c
61941 ac_cpp='$CPP $CPPFLAGS'
61942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61945
61946
61947 fi
61948
61949 fi
61950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61951 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61952
61953 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61954 for ac_func in _frexpf
61955 do :
61956 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61957 if test "x$ac_cv_func__frexpf" = x""yes; then :
61958 cat >>confdefs.h <<_ACEOF
61959 #define HAVE__FREXPF 1
61960 _ACEOF
61961
61962 fi
61963 done
61964
61965 fi
61966 fi
61967
61968
61969
61970
61971
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61973 $as_echo_n "checking for hypotf declaration... " >&6; }
61974 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61975 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61976 $as_echo_n "(cached) " >&6
61977 else
61978
61979
61980 ac_ext=cpp
61981 ac_cpp='$CXXCPP $CPPFLAGS'
61982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61985
61986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61987 /* end confdefs.h. */
61988 #include <math.h>
61989 int
61990 main ()
61991 {
61992 hypotf(0, 0);
61993 ;
61994 return 0;
61995 }
61996 _ACEOF
61997 if ac_fn_cxx_try_compile "$LINENO"; then :
61998 glibcxx_cv_func_hypotf_use=yes
61999 else
62000 glibcxx_cv_func_hypotf_use=no
62001 fi
62002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62003 ac_ext=c
62004 ac_cpp='$CPP $CPPFLAGS'
62005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62008
62009
62010 fi
62011
62012 fi
62013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62014 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62015
62016 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62017 for ac_func in hypotf
62018 do :
62019 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62020 if test "x$ac_cv_func_hypotf" = x""yes; then :
62021 cat >>confdefs.h <<_ACEOF
62022 #define HAVE_HYPOTF 1
62023 _ACEOF
62024
62025 fi
62026 done
62027
62028 else
62029
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62031 $as_echo_n "checking for _hypotf declaration... " >&6; }
62032 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62033 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62034 $as_echo_n "(cached) " >&6
62035 else
62036
62037
62038 ac_ext=cpp
62039 ac_cpp='$CXXCPP $CPPFLAGS'
62040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62043
62044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62045 /* end confdefs.h. */
62046 #include <math.h>
62047 int
62048 main ()
62049 {
62050 _hypotf(0, 0);
62051 ;
62052 return 0;
62053 }
62054 _ACEOF
62055 if ac_fn_cxx_try_compile "$LINENO"; then :
62056 glibcxx_cv_func__hypotf_use=yes
62057 else
62058 glibcxx_cv_func__hypotf_use=no
62059 fi
62060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62066
62067
62068 fi
62069
62070 fi
62071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62072 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62073
62074 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62075 for ac_func in _hypotf
62076 do :
62077 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62078 if test "x$ac_cv_func__hypotf" = x""yes; then :
62079 cat >>confdefs.h <<_ACEOF
62080 #define HAVE__HYPOTF 1
62081 _ACEOF
62082
62083 fi
62084 done
62085
62086 fi
62087 fi
62088
62089
62090
62091
62092
62093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62094 $as_echo_n "checking for ldexpf declaration... " >&6; }
62095 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62096 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62097 $as_echo_n "(cached) " >&6
62098 else
62099
62100
62101 ac_ext=cpp
62102 ac_cpp='$CXXCPP $CPPFLAGS'
62103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62106
62107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62108 /* end confdefs.h. */
62109 #include <math.h>
62110 int
62111 main ()
62112 {
62113 ldexpf(0, 0);
62114 ;
62115 return 0;
62116 }
62117 _ACEOF
62118 if ac_fn_cxx_try_compile "$LINENO"; then :
62119 glibcxx_cv_func_ldexpf_use=yes
62120 else
62121 glibcxx_cv_func_ldexpf_use=no
62122 fi
62123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62124 ac_ext=c
62125 ac_cpp='$CPP $CPPFLAGS'
62126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62129
62130
62131 fi
62132
62133 fi
62134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62135 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62136
62137 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62138 for ac_func in ldexpf
62139 do :
62140 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62141 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62142 cat >>confdefs.h <<_ACEOF
62143 #define HAVE_LDEXPF 1
62144 _ACEOF
62145
62146 fi
62147 done
62148
62149 else
62150
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62152 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62153 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62154 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62155 $as_echo_n "(cached) " >&6
62156 else
62157
62158
62159 ac_ext=cpp
62160 ac_cpp='$CXXCPP $CPPFLAGS'
62161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62164
62165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62166 /* end confdefs.h. */
62167 #include <math.h>
62168 int
62169 main ()
62170 {
62171 _ldexpf(0, 0);
62172 ;
62173 return 0;
62174 }
62175 _ACEOF
62176 if ac_fn_cxx_try_compile "$LINENO"; then :
62177 glibcxx_cv_func__ldexpf_use=yes
62178 else
62179 glibcxx_cv_func__ldexpf_use=no
62180 fi
62181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62182 ac_ext=c
62183 ac_cpp='$CPP $CPPFLAGS'
62184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62187
62188
62189 fi
62190
62191 fi
62192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62193 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62194
62195 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62196 for ac_func in _ldexpf
62197 do :
62198 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62199 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62200 cat >>confdefs.h <<_ACEOF
62201 #define HAVE__LDEXPF 1
62202 _ACEOF
62203
62204 fi
62205 done
62206
62207 fi
62208 fi
62209
62210
62211
62212
62213
62214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62215 $as_echo_n "checking for logf declaration... " >&6; }
62216 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62217 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62218 $as_echo_n "(cached) " >&6
62219 else
62220
62221
62222 ac_ext=cpp
62223 ac_cpp='$CXXCPP $CPPFLAGS'
62224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62227
62228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62229 /* end confdefs.h. */
62230 #include <math.h>
62231 #ifdef HAVE_IEEEFP_H
62232 #include <ieeefp.h>
62233 #endif
62234
62235 int
62236 main ()
62237 {
62238 logf(0);
62239 ;
62240 return 0;
62241 }
62242 _ACEOF
62243 if ac_fn_cxx_try_compile "$LINENO"; then :
62244 glibcxx_cv_func_logf_use=yes
62245 else
62246 glibcxx_cv_func_logf_use=no
62247 fi
62248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62249 ac_ext=c
62250 ac_cpp='$CPP $CPPFLAGS'
62251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62254
62255
62256 fi
62257
62258 fi
62259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62260 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62261
62262 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62263 for ac_func in logf
62264 do :
62265 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62266 if test "x$ac_cv_func_logf" = x""yes; then :
62267 cat >>confdefs.h <<_ACEOF
62268 #define HAVE_LOGF 1
62269 _ACEOF
62270
62271 fi
62272 done
62273
62274 else
62275
62276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62277 $as_echo_n "checking for _logf declaration... " >&6; }
62278 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62279 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62280 $as_echo_n "(cached) " >&6
62281 else
62282
62283
62284 ac_ext=cpp
62285 ac_cpp='$CXXCPP $CPPFLAGS'
62286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62289
62290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62291 /* end confdefs.h. */
62292 #include <math.h>
62293 #ifdef HAVE_IEEEFP_H
62294 #include <ieeefp.h>
62295 #endif
62296
62297 int
62298 main ()
62299 {
62300 _logf(0);
62301 ;
62302 return 0;
62303 }
62304 _ACEOF
62305 if ac_fn_cxx_try_compile "$LINENO"; then :
62306 glibcxx_cv_func__logf_use=yes
62307 else
62308 glibcxx_cv_func__logf_use=no
62309 fi
62310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62311 ac_ext=c
62312 ac_cpp='$CPP $CPPFLAGS'
62313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62316
62317
62318 fi
62319
62320 fi
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62322 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62323
62324 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62325 for ac_func in _logf
62326 do :
62327 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62328 if test "x$ac_cv_func__logf" = x""yes; then :
62329 cat >>confdefs.h <<_ACEOF
62330 #define HAVE__LOGF 1
62331 _ACEOF
62332
62333 fi
62334 done
62335
62336 fi
62337 fi
62338
62339
62340
62341
62342
62343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62344 $as_echo_n "checking for log10f declaration... " >&6; }
62345 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62346 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62347 $as_echo_n "(cached) " >&6
62348 else
62349
62350
62351 ac_ext=cpp
62352 ac_cpp='$CXXCPP $CPPFLAGS'
62353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62356
62357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62358 /* end confdefs.h. */
62359 #include <math.h>
62360 #ifdef HAVE_IEEEFP_H
62361 #include <ieeefp.h>
62362 #endif
62363
62364 int
62365 main ()
62366 {
62367 log10f(0);
62368 ;
62369 return 0;
62370 }
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func_log10f_use=yes
62374 else
62375 glibcxx_cv_func_log10f_use=no
62376 fi
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383
62384
62385 fi
62386
62387 fi
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62389 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62390
62391 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62392 for ac_func in log10f
62393 do :
62394 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62395 if test "x$ac_cv_func_log10f" = x""yes; then :
62396 cat >>confdefs.h <<_ACEOF
62397 #define HAVE_LOG10F 1
62398 _ACEOF
62399
62400 fi
62401 done
62402
62403 else
62404
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62406 $as_echo_n "checking for _log10f declaration... " >&6; }
62407 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62408 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62409 $as_echo_n "(cached) " >&6
62410 else
62411
62412
62413 ac_ext=cpp
62414 ac_cpp='$CXXCPP $CPPFLAGS'
62415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62418
62419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62420 /* end confdefs.h. */
62421 #include <math.h>
62422 #ifdef HAVE_IEEEFP_H
62423 #include <ieeefp.h>
62424 #endif
62425
62426 int
62427 main ()
62428 {
62429 _log10f(0);
62430 ;
62431 return 0;
62432 }
62433 _ACEOF
62434 if ac_fn_cxx_try_compile "$LINENO"; then :
62435 glibcxx_cv_func__log10f_use=yes
62436 else
62437 glibcxx_cv_func__log10f_use=no
62438 fi
62439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62440 ac_ext=c
62441 ac_cpp='$CPP $CPPFLAGS'
62442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62445
62446
62447 fi
62448
62449 fi
62450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62451 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62452
62453 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62454 for ac_func in _log10f
62455 do :
62456 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62457 if test "x$ac_cv_func__log10f" = x""yes; then :
62458 cat >>confdefs.h <<_ACEOF
62459 #define HAVE__LOG10F 1
62460 _ACEOF
62461
62462 fi
62463 done
62464
62465 fi
62466 fi
62467
62468
62469
62470
62471
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62473 $as_echo_n "checking for modff declaration... " >&6; }
62474 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62475 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62476 $as_echo_n "(cached) " >&6
62477 else
62478
62479
62480 ac_ext=cpp
62481 ac_cpp='$CXXCPP $CPPFLAGS'
62482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62485
62486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62487 /* end confdefs.h. */
62488 #include <math.h>
62489 int
62490 main ()
62491 {
62492 modff(0, 0);
62493 ;
62494 return 0;
62495 }
62496 _ACEOF
62497 if ac_fn_cxx_try_compile "$LINENO"; then :
62498 glibcxx_cv_func_modff_use=yes
62499 else
62500 glibcxx_cv_func_modff_use=no
62501 fi
62502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62503 ac_ext=c
62504 ac_cpp='$CPP $CPPFLAGS'
62505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62508
62509
62510 fi
62511
62512 fi
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62514 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62515
62516 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62517 for ac_func in modff
62518 do :
62519 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62520 if test "x$ac_cv_func_modff" = x""yes; then :
62521 cat >>confdefs.h <<_ACEOF
62522 #define HAVE_MODFF 1
62523 _ACEOF
62524
62525 fi
62526 done
62527
62528 else
62529
62530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62531 $as_echo_n "checking for _modff declaration... " >&6; }
62532 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62533 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62534 $as_echo_n "(cached) " >&6
62535 else
62536
62537
62538 ac_ext=cpp
62539 ac_cpp='$CXXCPP $CPPFLAGS'
62540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62543
62544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62545 /* end confdefs.h. */
62546 #include <math.h>
62547 int
62548 main ()
62549 {
62550 _modff(0, 0);
62551 ;
62552 return 0;
62553 }
62554 _ACEOF
62555 if ac_fn_cxx_try_compile "$LINENO"; then :
62556 glibcxx_cv_func__modff_use=yes
62557 else
62558 glibcxx_cv_func__modff_use=no
62559 fi
62560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62561 ac_ext=c
62562 ac_cpp='$CPP $CPPFLAGS'
62563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62566
62567
62568 fi
62569
62570 fi
62571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62572 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62573
62574 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62575 for ac_func in _modff
62576 do :
62577 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62578 if test "x$ac_cv_func__modff" = x""yes; then :
62579 cat >>confdefs.h <<_ACEOF
62580 #define HAVE__MODFF 1
62581 _ACEOF
62582
62583 fi
62584 done
62585
62586 fi
62587 fi
62588
62589
62590
62591
62592
62593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62594 $as_echo_n "checking for modf declaration... " >&6; }
62595 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62596 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62597 $as_echo_n "(cached) " >&6
62598 else
62599
62600
62601 ac_ext=cpp
62602 ac_cpp='$CXXCPP $CPPFLAGS'
62603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62606
62607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62608 /* end confdefs.h. */
62609 #include <math.h>
62610 int
62611 main ()
62612 {
62613 modf(0, 0);
62614 ;
62615 return 0;
62616 }
62617 _ACEOF
62618 if ac_fn_cxx_try_compile "$LINENO"; then :
62619 glibcxx_cv_func_modf_use=yes
62620 else
62621 glibcxx_cv_func_modf_use=no
62622 fi
62623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62624 ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629
62630
62631 fi
62632
62633 fi
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62635 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62636
62637 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62638 for ac_func in modf
62639 do :
62640 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62641 if test "x$ac_cv_func_modf" = x""yes; then :
62642 cat >>confdefs.h <<_ACEOF
62643 #define HAVE_MODF 1
62644 _ACEOF
62645
62646 fi
62647 done
62648
62649 else
62650
62651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62652 $as_echo_n "checking for _modf declaration... " >&6; }
62653 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62654 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62655 $as_echo_n "(cached) " >&6
62656 else
62657
62658
62659 ac_ext=cpp
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62664
62665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62666 /* end confdefs.h. */
62667 #include <math.h>
62668 int
62669 main ()
62670 {
62671 _modf(0, 0);
62672 ;
62673 return 0;
62674 }
62675 _ACEOF
62676 if ac_fn_cxx_try_compile "$LINENO"; then :
62677 glibcxx_cv_func__modf_use=yes
62678 else
62679 glibcxx_cv_func__modf_use=no
62680 fi
62681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62682 ac_ext=c
62683 ac_cpp='$CPP $CPPFLAGS'
62684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62687
62688
62689 fi
62690
62691 fi
62692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62693 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62694
62695 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62696 for ac_func in _modf
62697 do :
62698 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62699 if test "x$ac_cv_func__modf" = x""yes; then :
62700 cat >>confdefs.h <<_ACEOF
62701 #define HAVE__MODF 1
62702 _ACEOF
62703
62704 fi
62705 done
62706
62707 fi
62708 fi
62709
62710
62711
62712
62713
62714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62715 $as_echo_n "checking for powf declaration... " >&6; }
62716 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62717 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62718 $as_echo_n "(cached) " >&6
62719 else
62720
62721
62722 ac_ext=cpp
62723 ac_cpp='$CXXCPP $CPPFLAGS'
62724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62727
62728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62729 /* end confdefs.h. */
62730 #include <math.h>
62731 int
62732 main ()
62733 {
62734 powf(0, 0);
62735 ;
62736 return 0;
62737 }
62738 _ACEOF
62739 if ac_fn_cxx_try_compile "$LINENO"; then :
62740 glibcxx_cv_func_powf_use=yes
62741 else
62742 glibcxx_cv_func_powf_use=no
62743 fi
62744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62745 ac_ext=c
62746 ac_cpp='$CPP $CPPFLAGS'
62747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62750
62751
62752 fi
62753
62754 fi
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62756 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62757
62758 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62759 for ac_func in powf
62760 do :
62761 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62762 if test "x$ac_cv_func_powf" = x""yes; then :
62763 cat >>confdefs.h <<_ACEOF
62764 #define HAVE_POWF 1
62765 _ACEOF
62766
62767 fi
62768 done
62769
62770 else
62771
62772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62773 $as_echo_n "checking for _powf declaration... " >&6; }
62774 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62775 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62776 $as_echo_n "(cached) " >&6
62777 else
62778
62779
62780 ac_ext=cpp
62781 ac_cpp='$CXXCPP $CPPFLAGS'
62782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62785
62786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62787 /* end confdefs.h. */
62788 #include <math.h>
62789 int
62790 main ()
62791 {
62792 _powf(0, 0);
62793 ;
62794 return 0;
62795 }
62796 _ACEOF
62797 if ac_fn_cxx_try_compile "$LINENO"; then :
62798 glibcxx_cv_func__powf_use=yes
62799 else
62800 glibcxx_cv_func__powf_use=no
62801 fi
62802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62803 ac_ext=c
62804 ac_cpp='$CPP $CPPFLAGS'
62805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62808
62809
62810 fi
62811
62812 fi
62813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62814 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62815
62816 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62817 for ac_func in _powf
62818 do :
62819 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62820 if test "x$ac_cv_func__powf" = x""yes; then :
62821 cat >>confdefs.h <<_ACEOF
62822 #define HAVE__POWF 1
62823 _ACEOF
62824
62825 fi
62826 done
62827
62828 fi
62829 fi
62830
62831
62832
62833
62834
62835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62836 $as_echo_n "checking for sqrtf declaration... " >&6; }
62837 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62838 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62839 $as_echo_n "(cached) " >&6
62840 else
62841
62842
62843 ac_ext=cpp
62844 ac_cpp='$CXXCPP $CPPFLAGS'
62845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62848
62849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62850 /* end confdefs.h. */
62851 #include <math.h>
62852 #ifdef HAVE_IEEEFP_H
62853 #include <ieeefp.h>
62854 #endif
62855
62856 int
62857 main ()
62858 {
62859 sqrtf(0);
62860 ;
62861 return 0;
62862 }
62863 _ACEOF
62864 if ac_fn_cxx_try_compile "$LINENO"; then :
62865 glibcxx_cv_func_sqrtf_use=yes
62866 else
62867 glibcxx_cv_func_sqrtf_use=no
62868 fi
62869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62870 ac_ext=c
62871 ac_cpp='$CPP $CPPFLAGS'
62872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62875
62876
62877 fi
62878
62879 fi
62880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62881 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62882
62883 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62884 for ac_func in sqrtf
62885 do :
62886 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62887 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62888 cat >>confdefs.h <<_ACEOF
62889 #define HAVE_SQRTF 1
62890 _ACEOF
62891
62892 fi
62893 done
62894
62895 else
62896
62897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62898 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62899 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62900 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62901 $as_echo_n "(cached) " >&6
62902 else
62903
62904
62905 ac_ext=cpp
62906 ac_cpp='$CXXCPP $CPPFLAGS'
62907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62910
62911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62912 /* end confdefs.h. */
62913 #include <math.h>
62914 #ifdef HAVE_IEEEFP_H
62915 #include <ieeefp.h>
62916 #endif
62917
62918 int
62919 main ()
62920 {
62921 _sqrtf(0);
62922 ;
62923 return 0;
62924 }
62925 _ACEOF
62926 if ac_fn_cxx_try_compile "$LINENO"; then :
62927 glibcxx_cv_func__sqrtf_use=yes
62928 else
62929 glibcxx_cv_func__sqrtf_use=no
62930 fi
62931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62932 ac_ext=c
62933 ac_cpp='$CPP $CPPFLAGS'
62934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62937
62938
62939 fi
62940
62941 fi
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62943 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62944
62945 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62946 for ac_func in _sqrtf
62947 do :
62948 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62949 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62950 cat >>confdefs.h <<_ACEOF
62951 #define HAVE__SQRTF 1
62952 _ACEOF
62953
62954 fi
62955 done
62956
62957 fi
62958 fi
62959
62960
62961
62962
62963
62964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62965 $as_echo_n "checking for sincosf declaration... " >&6; }
62966 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62967 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62968 $as_echo_n "(cached) " >&6
62969 else
62970
62971
62972 ac_ext=cpp
62973 ac_cpp='$CXXCPP $CPPFLAGS'
62974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62977
62978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62979 /* end confdefs.h. */
62980 #include <math.h>
62981 int
62982 main ()
62983 {
62984 sincosf(0, 0, 0);
62985 ;
62986 return 0;
62987 }
62988 _ACEOF
62989 if ac_fn_cxx_try_compile "$LINENO"; then :
62990 glibcxx_cv_func_sincosf_use=yes
62991 else
62992 glibcxx_cv_func_sincosf_use=no
62993 fi
62994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62995 ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63000
63001
63002 fi
63003
63004 fi
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63006 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63007
63008 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63009 for ac_func in sincosf
63010 do :
63011 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63012 if test "x$ac_cv_func_sincosf" = x""yes; then :
63013 cat >>confdefs.h <<_ACEOF
63014 #define HAVE_SINCOSF 1
63015 _ACEOF
63016
63017 fi
63018 done
63019
63020 else
63021
63022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63023 $as_echo_n "checking for _sincosf declaration... " >&6; }
63024 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63025 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63026 $as_echo_n "(cached) " >&6
63027 else
63028
63029
63030 ac_ext=cpp
63031 ac_cpp='$CXXCPP $CPPFLAGS'
63032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63035
63036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63037 /* end confdefs.h. */
63038 #include <math.h>
63039 int
63040 main ()
63041 {
63042 _sincosf(0, 0, 0);
63043 ;
63044 return 0;
63045 }
63046 _ACEOF
63047 if ac_fn_cxx_try_compile "$LINENO"; then :
63048 glibcxx_cv_func__sincosf_use=yes
63049 else
63050 glibcxx_cv_func__sincosf_use=no
63051 fi
63052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63053 ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058
63059
63060 fi
63061
63062 fi
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63064 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63065
63066 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63067 for ac_func in _sincosf
63068 do :
63069 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63070 if test "x$ac_cv_func__sincosf" = x""yes; then :
63071 cat >>confdefs.h <<_ACEOF
63072 #define HAVE__SINCOSF 1
63073 _ACEOF
63074
63075 fi
63076 done
63077
63078 fi
63079 fi
63080
63081
63082
63083
63084
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63086 $as_echo_n "checking for finitef declaration... " >&6; }
63087 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63088 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63089 $as_echo_n "(cached) " >&6
63090 else
63091
63092
63093 ac_ext=cpp
63094 ac_cpp='$CXXCPP $CPPFLAGS'
63095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63098
63099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63100 /* end confdefs.h. */
63101 #include <math.h>
63102 #ifdef HAVE_IEEEFP_H
63103 #include <ieeefp.h>
63104 #endif
63105
63106 int
63107 main ()
63108 {
63109 finitef(0);
63110 ;
63111 return 0;
63112 }
63113 _ACEOF
63114 if ac_fn_cxx_try_compile "$LINENO"; then :
63115 glibcxx_cv_func_finitef_use=yes
63116 else
63117 glibcxx_cv_func_finitef_use=no
63118 fi
63119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63120 ac_ext=c
63121 ac_cpp='$CPP $CPPFLAGS'
63122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63125
63126
63127 fi
63128
63129 fi
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63131 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63132
63133 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63134 for ac_func in finitef
63135 do :
63136 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63137 if test "x$ac_cv_func_finitef" = x""yes; then :
63138 cat >>confdefs.h <<_ACEOF
63139 #define HAVE_FINITEF 1
63140 _ACEOF
63141
63142 fi
63143 done
63144
63145 else
63146
63147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63148 $as_echo_n "checking for _finitef declaration... " >&6; }
63149 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63150 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63151 $as_echo_n "(cached) " >&6
63152 else
63153
63154
63155 ac_ext=cpp
63156 ac_cpp='$CXXCPP $CPPFLAGS'
63157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63160
63161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63162 /* end confdefs.h. */
63163 #include <math.h>
63164 #ifdef HAVE_IEEEFP_H
63165 #include <ieeefp.h>
63166 #endif
63167
63168 int
63169 main ()
63170 {
63171 _finitef(0);
63172 ;
63173 return 0;
63174 }
63175 _ACEOF
63176 if ac_fn_cxx_try_compile "$LINENO"; then :
63177 glibcxx_cv_func__finitef_use=yes
63178 else
63179 glibcxx_cv_func__finitef_use=no
63180 fi
63181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63182 ac_ext=c
63183 ac_cpp='$CPP $CPPFLAGS'
63184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63187
63188
63189 fi
63190
63191 fi
63192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63193 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63194
63195 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63196 for ac_func in _finitef
63197 do :
63198 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63199 if test "x$ac_cv_func__finitef" = x""yes; then :
63200 cat >>confdefs.h <<_ACEOF
63201 #define HAVE__FINITEF 1
63202 _ACEOF
63203
63204 fi
63205 done
63206
63207 fi
63208 fi
63209
63210
63211
63212
63213
63214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63215 $as_echo_n "checking for long double trig functions... " >&6; }
63216 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63217 $as_echo_n "(cached) " >&6
63218 else
63219
63220
63221 ac_ext=cpp
63222 ac_cpp='$CXXCPP $CPPFLAGS'
63223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63226
63227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63228 /* end confdefs.h. */
63229 #include <math.h>
63230 int
63231 main ()
63232 {
63233 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63234 ;
63235 return 0;
63236 }
63237 _ACEOF
63238 if ac_fn_cxx_try_compile "$LINENO"; then :
63239 glibcxx_cv_func_long_double_trig_use=yes
63240 else
63241 glibcxx_cv_func_long_double_trig_use=no
63242 fi
63243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63244 ac_ext=c
63245 ac_cpp='$CPP $CPPFLAGS'
63246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63249
63250 fi
63251
63252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63253 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63254 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63255 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63256 do :
63257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63258 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63259 eval as_val=\$$as_ac_var
63260 if test "x$as_val" = x""yes; then :
63261 cat >>confdefs.h <<_ACEOF
63262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63263 _ACEOF
63264
63265 fi
63266 done
63267
63268 else
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63270 $as_echo_n "checking for _long double trig functions... " >&6; }
63271 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63272 $as_echo_n "(cached) " >&6
63273 else
63274
63275
63276 ac_ext=cpp
63277 ac_cpp='$CXXCPP $CPPFLAGS'
63278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63281
63282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63283 /* end confdefs.h. */
63284 #include <math.h>
63285 int
63286 main ()
63287 {
63288 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63289 ;
63290 return 0;
63291 }
63292 _ACEOF
63293 if ac_fn_cxx_try_compile "$LINENO"; then :
63294 glibcxx_cv_func__long_double_trig_use=yes
63295 else
63296 glibcxx_cv_func__long_double_trig_use=no
63297 fi
63298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63299 ac_ext=c
63300 ac_cpp='$CPP $CPPFLAGS'
63301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63304
63305 fi
63306
63307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63308 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63309 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63310 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63311 do :
63312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63314 eval as_val=\$$as_ac_var
63315 if test "x$as_val" = x""yes; then :
63316 cat >>confdefs.h <<_ACEOF
63317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63318 _ACEOF
63319
63320 fi
63321 done
63322
63323 fi
63324 fi
63325
63326
63327
63328
63329
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63331 $as_echo_n "checking for long double round functions... " >&6; }
63332 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63333 $as_echo_n "(cached) " >&6
63334 else
63335
63336
63337 ac_ext=cpp
63338 ac_cpp='$CXXCPP $CPPFLAGS'
63339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63342
63343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63344 /* end confdefs.h. */
63345 #include <math.h>
63346 int
63347 main ()
63348 {
63349 ceill (0); floorl (0);
63350 ;
63351 return 0;
63352 }
63353 _ACEOF
63354 if ac_fn_cxx_try_compile "$LINENO"; then :
63355 glibcxx_cv_func_long_double_round_use=yes
63356 else
63357 glibcxx_cv_func_long_double_round_use=no
63358 fi
63359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63360 ac_ext=c
63361 ac_cpp='$CPP $CPPFLAGS'
63362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63365
63366 fi
63367
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63369 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63370 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63371 for ac_func in ceill floorl
63372 do :
63373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63375 eval as_val=\$$as_ac_var
63376 if test "x$as_val" = x""yes; then :
63377 cat >>confdefs.h <<_ACEOF
63378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63379 _ACEOF
63380
63381 fi
63382 done
63383
63384 else
63385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63386 $as_echo_n "checking for _long double round functions... " >&6; }
63387 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63388 $as_echo_n "(cached) " >&6
63389 else
63390
63391
63392 ac_ext=cpp
63393 ac_cpp='$CXXCPP $CPPFLAGS'
63394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63397
63398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63399 /* end confdefs.h. */
63400 #include <math.h>
63401 int
63402 main ()
63403 {
63404 _ceill (0); _floorl (0);
63405 ;
63406 return 0;
63407 }
63408 _ACEOF
63409 if ac_fn_cxx_try_compile "$LINENO"; then :
63410 glibcxx_cv_func__long_double_round_use=yes
63411 else
63412 glibcxx_cv_func__long_double_round_use=no
63413 fi
63414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63415 ac_ext=c
63416 ac_cpp='$CPP $CPPFLAGS'
63417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63420
63421 fi
63422
63423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63424 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63425 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63426 for ac_func in _ceill _floorl
63427 do :
63428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63430 eval as_val=\$$as_ac_var
63431 if test "x$as_val" = x""yes; then :
63432 cat >>confdefs.h <<_ACEOF
63433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63434 _ACEOF
63435
63436 fi
63437 done
63438
63439 fi
63440 fi
63441
63442
63443
63444
63445
63446
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63448 $as_echo_n "checking for isnanl declaration... " >&6; }
63449 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63450 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63451 $as_echo_n "(cached) " >&6
63452 else
63453
63454
63455 ac_ext=cpp
63456 ac_cpp='$CXXCPP $CPPFLAGS'
63457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63460
63461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63462 /* end confdefs.h. */
63463 #include <math.h>
63464 #ifdef HAVE_IEEEFP_H
63465 #include <ieeefp.h>
63466 #endif
63467
63468 int
63469 main ()
63470 {
63471 isnanl(0);
63472 ;
63473 return 0;
63474 }
63475 _ACEOF
63476 if ac_fn_cxx_try_compile "$LINENO"; then :
63477 glibcxx_cv_func_isnanl_use=yes
63478 else
63479 glibcxx_cv_func_isnanl_use=no
63480 fi
63481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63482 ac_ext=c
63483 ac_cpp='$CPP $CPPFLAGS'
63484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63487
63488
63489 fi
63490
63491 fi
63492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63493 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63494
63495 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63496 for ac_func in isnanl
63497 do :
63498 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63499 if test "x$ac_cv_func_isnanl" = x""yes; then :
63500 cat >>confdefs.h <<_ACEOF
63501 #define HAVE_ISNANL 1
63502 _ACEOF
63503
63504 fi
63505 done
63506
63507 else
63508
63509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63510 $as_echo_n "checking for _isnanl declaration... " >&6; }
63511 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63512 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63513 $as_echo_n "(cached) " >&6
63514 else
63515
63516
63517 ac_ext=cpp
63518 ac_cpp='$CXXCPP $CPPFLAGS'
63519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63522
63523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63524 /* end confdefs.h. */
63525 #include <math.h>
63526 #ifdef HAVE_IEEEFP_H
63527 #include <ieeefp.h>
63528 #endif
63529
63530 int
63531 main ()
63532 {
63533 _isnanl(0);
63534 ;
63535 return 0;
63536 }
63537 _ACEOF
63538 if ac_fn_cxx_try_compile "$LINENO"; then :
63539 glibcxx_cv_func__isnanl_use=yes
63540 else
63541 glibcxx_cv_func__isnanl_use=no
63542 fi
63543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63544 ac_ext=c
63545 ac_cpp='$CPP $CPPFLAGS'
63546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63549
63550
63551 fi
63552
63553 fi
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63555 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63556
63557 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63558 for ac_func in _isnanl
63559 do :
63560 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63561 if test "x$ac_cv_func__isnanl" = x""yes; then :
63562 cat >>confdefs.h <<_ACEOF
63563 #define HAVE__ISNANL 1
63564 _ACEOF
63565
63566 fi
63567 done
63568
63569 fi
63570 fi
63571
63572
63573
63574
63575
63576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63577 $as_echo_n "checking for isinfl declaration... " >&6; }
63578 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63579 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63580 $as_echo_n "(cached) " >&6
63581 else
63582
63583
63584 ac_ext=cpp
63585 ac_cpp='$CXXCPP $CPPFLAGS'
63586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63589
63590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63591 /* end confdefs.h. */
63592 #include <math.h>
63593 #ifdef HAVE_IEEEFP_H
63594 #include <ieeefp.h>
63595 #endif
63596
63597 int
63598 main ()
63599 {
63600 isinfl(0);
63601 ;
63602 return 0;
63603 }
63604 _ACEOF
63605 if ac_fn_cxx_try_compile "$LINENO"; then :
63606 glibcxx_cv_func_isinfl_use=yes
63607 else
63608 glibcxx_cv_func_isinfl_use=no
63609 fi
63610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63611 ac_ext=c
63612 ac_cpp='$CPP $CPPFLAGS'
63613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63616
63617
63618 fi
63619
63620 fi
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63622 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63623
63624 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63625 for ac_func in isinfl
63626 do :
63627 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63628 if test "x$ac_cv_func_isinfl" = x""yes; then :
63629 cat >>confdefs.h <<_ACEOF
63630 #define HAVE_ISINFL 1
63631 _ACEOF
63632
63633 fi
63634 done
63635
63636 else
63637
63638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63639 $as_echo_n "checking for _isinfl declaration... " >&6; }
63640 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63641 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63642 $as_echo_n "(cached) " >&6
63643 else
63644
63645
63646 ac_ext=cpp
63647 ac_cpp='$CXXCPP $CPPFLAGS'
63648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63651
63652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63653 /* end confdefs.h. */
63654 #include <math.h>
63655 #ifdef HAVE_IEEEFP_H
63656 #include <ieeefp.h>
63657 #endif
63658
63659 int
63660 main ()
63661 {
63662 _isinfl(0);
63663 ;
63664 return 0;
63665 }
63666 _ACEOF
63667 if ac_fn_cxx_try_compile "$LINENO"; then :
63668 glibcxx_cv_func__isinfl_use=yes
63669 else
63670 glibcxx_cv_func__isinfl_use=no
63671 fi
63672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63673 ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678
63679
63680 fi
63681
63682 fi
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63684 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63685
63686 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63687 for ac_func in _isinfl
63688 do :
63689 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63690 if test "x$ac_cv_func__isinfl" = x""yes; then :
63691 cat >>confdefs.h <<_ACEOF
63692 #define HAVE__ISINFL 1
63693 _ACEOF
63694
63695 fi
63696 done
63697
63698 fi
63699 fi
63700
63701
63702
63703
63704
63705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63706 $as_echo_n "checking for atan2l declaration... " >&6; }
63707 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63708 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63709 $as_echo_n "(cached) " >&6
63710 else
63711
63712
63713 ac_ext=cpp
63714 ac_cpp='$CXXCPP $CPPFLAGS'
63715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63718
63719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63720 /* end confdefs.h. */
63721 #include <math.h>
63722 int
63723 main ()
63724 {
63725 atan2l(0, 0);
63726 ;
63727 return 0;
63728 }
63729 _ACEOF
63730 if ac_fn_cxx_try_compile "$LINENO"; then :
63731 glibcxx_cv_func_atan2l_use=yes
63732 else
63733 glibcxx_cv_func_atan2l_use=no
63734 fi
63735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63736 ac_ext=c
63737 ac_cpp='$CPP $CPPFLAGS'
63738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63741
63742
63743 fi
63744
63745 fi
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63747 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63748
63749 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63750 for ac_func in atan2l
63751 do :
63752 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63753 if test "x$ac_cv_func_atan2l" = x""yes; then :
63754 cat >>confdefs.h <<_ACEOF
63755 #define HAVE_ATAN2L 1
63756 _ACEOF
63757
63758 fi
63759 done
63760
63761 else
63762
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63764 $as_echo_n "checking for _atan2l declaration... " >&6; }
63765 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63766 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63767 $as_echo_n "(cached) " >&6
63768 else
63769
63770
63771 ac_ext=cpp
63772 ac_cpp='$CXXCPP $CPPFLAGS'
63773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 #include <math.h>
63780 int
63781 main ()
63782 {
63783 _atan2l(0, 0);
63784 ;
63785 return 0;
63786 }
63787 _ACEOF
63788 if ac_fn_cxx_try_compile "$LINENO"; then :
63789 glibcxx_cv_func__atan2l_use=yes
63790 else
63791 glibcxx_cv_func__atan2l_use=no
63792 fi
63793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63794 ac_ext=c
63795 ac_cpp='$CPP $CPPFLAGS'
63796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63799
63800
63801 fi
63802
63803 fi
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63805 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63806
63807 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63808 for ac_func in _atan2l
63809 do :
63810 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63811 if test "x$ac_cv_func__atan2l" = x""yes; then :
63812 cat >>confdefs.h <<_ACEOF
63813 #define HAVE__ATAN2L 1
63814 _ACEOF
63815
63816 fi
63817 done
63818
63819 fi
63820 fi
63821
63822
63823
63824
63825
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63827 $as_echo_n "checking for expl declaration... " >&6; }
63828 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63829 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63830 $as_echo_n "(cached) " >&6
63831 else
63832
63833
63834 ac_ext=cpp
63835 ac_cpp='$CXXCPP $CPPFLAGS'
63836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63839
63840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63841 /* end confdefs.h. */
63842 #include <math.h>
63843 #ifdef HAVE_IEEEFP_H
63844 #include <ieeefp.h>
63845 #endif
63846
63847 int
63848 main ()
63849 {
63850 expl(0);
63851 ;
63852 return 0;
63853 }
63854 _ACEOF
63855 if ac_fn_cxx_try_compile "$LINENO"; then :
63856 glibcxx_cv_func_expl_use=yes
63857 else
63858 glibcxx_cv_func_expl_use=no
63859 fi
63860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63861 ac_ext=c
63862 ac_cpp='$CPP $CPPFLAGS'
63863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63866
63867
63868 fi
63869
63870 fi
63871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63872 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63873
63874 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63875 for ac_func in expl
63876 do :
63877 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63878 if test "x$ac_cv_func_expl" = x""yes; then :
63879 cat >>confdefs.h <<_ACEOF
63880 #define HAVE_EXPL 1
63881 _ACEOF
63882
63883 fi
63884 done
63885
63886 else
63887
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63889 $as_echo_n "checking for _expl declaration... " >&6; }
63890 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63891 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63892 $as_echo_n "(cached) " >&6
63893 else
63894
63895
63896 ac_ext=cpp
63897 ac_cpp='$CXXCPP $CPPFLAGS'
63898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63901
63902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63903 /* end confdefs.h. */
63904 #include <math.h>
63905 #ifdef HAVE_IEEEFP_H
63906 #include <ieeefp.h>
63907 #endif
63908
63909 int
63910 main ()
63911 {
63912 _expl(0);
63913 ;
63914 return 0;
63915 }
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func__expl_use=yes
63919 else
63920 glibcxx_cv_func__expl_use=no
63921 fi
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63928
63929
63930 fi
63931
63932 fi
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63934 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63935
63936 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63937 for ac_func in _expl
63938 do :
63939 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63940 if test "x$ac_cv_func__expl" = x""yes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE__EXPL 1
63943 _ACEOF
63944
63945 fi
63946 done
63947
63948 fi
63949 fi
63950
63951
63952
63953
63954
63955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63956 $as_echo_n "checking for fabsl declaration... " >&6; }
63957 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63958 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63959 $as_echo_n "(cached) " >&6
63960 else
63961
63962
63963 ac_ext=cpp
63964 ac_cpp='$CXXCPP $CPPFLAGS'
63965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63968
63969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63970 /* end confdefs.h. */
63971 #include <math.h>
63972 #ifdef HAVE_IEEEFP_H
63973 #include <ieeefp.h>
63974 #endif
63975
63976 int
63977 main ()
63978 {
63979 fabsl(0);
63980 ;
63981 return 0;
63982 }
63983 _ACEOF
63984 if ac_fn_cxx_try_compile "$LINENO"; then :
63985 glibcxx_cv_func_fabsl_use=yes
63986 else
63987 glibcxx_cv_func_fabsl_use=no
63988 fi
63989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63990 ac_ext=c
63991 ac_cpp='$CPP $CPPFLAGS'
63992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63995
63996
63997 fi
63998
63999 fi
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64001 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64002
64003 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64004 for ac_func in fabsl
64005 do :
64006 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64007 if test "x$ac_cv_func_fabsl" = x""yes; then :
64008 cat >>confdefs.h <<_ACEOF
64009 #define HAVE_FABSL 1
64010 _ACEOF
64011
64012 fi
64013 done
64014
64015 else
64016
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64018 $as_echo_n "checking for _fabsl declaration... " >&6; }
64019 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64020 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64021 $as_echo_n "(cached) " >&6
64022 else
64023
64024
64025 ac_ext=cpp
64026 ac_cpp='$CXXCPP $CPPFLAGS'
64027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64030
64031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64032 /* end confdefs.h. */
64033 #include <math.h>
64034 #ifdef HAVE_IEEEFP_H
64035 #include <ieeefp.h>
64036 #endif
64037
64038 int
64039 main ()
64040 {
64041 _fabsl(0);
64042 ;
64043 return 0;
64044 }
64045 _ACEOF
64046 if ac_fn_cxx_try_compile "$LINENO"; then :
64047 glibcxx_cv_func__fabsl_use=yes
64048 else
64049 glibcxx_cv_func__fabsl_use=no
64050 fi
64051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64052 ac_ext=c
64053 ac_cpp='$CPP $CPPFLAGS'
64054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64057
64058
64059 fi
64060
64061 fi
64062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64063 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64064
64065 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64066 for ac_func in _fabsl
64067 do :
64068 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64069 if test "x$ac_cv_func__fabsl" = x""yes; then :
64070 cat >>confdefs.h <<_ACEOF
64071 #define HAVE__FABSL 1
64072 _ACEOF
64073
64074 fi
64075 done
64076
64077 fi
64078 fi
64079
64080
64081
64082
64083
64084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64085 $as_echo_n "checking for fmodl declaration... " >&6; }
64086 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64087 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64088 $as_echo_n "(cached) " >&6
64089 else
64090
64091
64092 ac_ext=cpp
64093 ac_cpp='$CXXCPP $CPPFLAGS'
64094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64097
64098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64099 /* end confdefs.h. */
64100 #include <math.h>
64101 int
64102 main ()
64103 {
64104 fmodl(0, 0);
64105 ;
64106 return 0;
64107 }
64108 _ACEOF
64109 if ac_fn_cxx_try_compile "$LINENO"; then :
64110 glibcxx_cv_func_fmodl_use=yes
64111 else
64112 glibcxx_cv_func_fmodl_use=no
64113 fi
64114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64115 ac_ext=c
64116 ac_cpp='$CPP $CPPFLAGS'
64117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64120
64121
64122 fi
64123
64124 fi
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64126 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64127
64128 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64129 for ac_func in fmodl
64130 do :
64131 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64132 if test "x$ac_cv_func_fmodl" = x""yes; then :
64133 cat >>confdefs.h <<_ACEOF
64134 #define HAVE_FMODL 1
64135 _ACEOF
64136
64137 fi
64138 done
64139
64140 else
64141
64142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64143 $as_echo_n "checking for _fmodl declaration... " >&6; }
64144 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64145 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64146 $as_echo_n "(cached) " >&6
64147 else
64148
64149
64150 ac_ext=cpp
64151 ac_cpp='$CXXCPP $CPPFLAGS'
64152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64155
64156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64157 /* end confdefs.h. */
64158 #include <math.h>
64159 int
64160 main ()
64161 {
64162 _fmodl(0, 0);
64163 ;
64164 return 0;
64165 }
64166 _ACEOF
64167 if ac_fn_cxx_try_compile "$LINENO"; then :
64168 glibcxx_cv_func__fmodl_use=yes
64169 else
64170 glibcxx_cv_func__fmodl_use=no
64171 fi
64172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64173 ac_ext=c
64174 ac_cpp='$CPP $CPPFLAGS'
64175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64178
64179
64180 fi
64181
64182 fi
64183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64184 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64185
64186 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64187 for ac_func in _fmodl
64188 do :
64189 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64190 if test "x$ac_cv_func__fmodl" = x""yes; then :
64191 cat >>confdefs.h <<_ACEOF
64192 #define HAVE__FMODL 1
64193 _ACEOF
64194
64195 fi
64196 done
64197
64198 fi
64199 fi
64200
64201
64202
64203
64204
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64206 $as_echo_n "checking for frexpl declaration... " >&6; }
64207 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64208 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64209 $as_echo_n "(cached) " >&6
64210 else
64211
64212
64213 ac_ext=cpp
64214 ac_cpp='$CXXCPP $CPPFLAGS'
64215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64218
64219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64220 /* end confdefs.h. */
64221 #include <math.h>
64222 int
64223 main ()
64224 {
64225 frexpl(0, 0);
64226 ;
64227 return 0;
64228 }
64229 _ACEOF
64230 if ac_fn_cxx_try_compile "$LINENO"; then :
64231 glibcxx_cv_func_frexpl_use=yes
64232 else
64233 glibcxx_cv_func_frexpl_use=no
64234 fi
64235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64236 ac_ext=c
64237 ac_cpp='$CPP $CPPFLAGS'
64238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64241
64242
64243 fi
64244
64245 fi
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64247 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64248
64249 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64250 for ac_func in frexpl
64251 do :
64252 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64253 if test "x$ac_cv_func_frexpl" = x""yes; then :
64254 cat >>confdefs.h <<_ACEOF
64255 #define HAVE_FREXPL 1
64256 _ACEOF
64257
64258 fi
64259 done
64260
64261 else
64262
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64264 $as_echo_n "checking for _frexpl declaration... " >&6; }
64265 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64266 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64267 $as_echo_n "(cached) " >&6
64268 else
64269
64270
64271 ac_ext=cpp
64272 ac_cpp='$CXXCPP $CPPFLAGS'
64273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64276
64277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64278 /* end confdefs.h. */
64279 #include <math.h>
64280 int
64281 main ()
64282 {
64283 _frexpl(0, 0);
64284 ;
64285 return 0;
64286 }
64287 _ACEOF
64288 if ac_fn_cxx_try_compile "$LINENO"; then :
64289 glibcxx_cv_func__frexpl_use=yes
64290 else
64291 glibcxx_cv_func__frexpl_use=no
64292 fi
64293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64294 ac_ext=c
64295 ac_cpp='$CPP $CPPFLAGS'
64296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64299
64300
64301 fi
64302
64303 fi
64304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64305 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64306
64307 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64308 for ac_func in _frexpl
64309 do :
64310 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64311 if test "x$ac_cv_func__frexpl" = x""yes; then :
64312 cat >>confdefs.h <<_ACEOF
64313 #define HAVE__FREXPL 1
64314 _ACEOF
64315
64316 fi
64317 done
64318
64319 fi
64320 fi
64321
64322
64323
64324
64325
64326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64327 $as_echo_n "checking for hypotl declaration... " >&6; }
64328 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64329 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64330 $as_echo_n "(cached) " >&6
64331 else
64332
64333
64334 ac_ext=cpp
64335 ac_cpp='$CXXCPP $CPPFLAGS'
64336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64339
64340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64341 /* end confdefs.h. */
64342 #include <math.h>
64343 int
64344 main ()
64345 {
64346 hypotl(0, 0);
64347 ;
64348 return 0;
64349 }
64350 _ACEOF
64351 if ac_fn_cxx_try_compile "$LINENO"; then :
64352 glibcxx_cv_func_hypotl_use=yes
64353 else
64354 glibcxx_cv_func_hypotl_use=no
64355 fi
64356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64357 ac_ext=c
64358 ac_cpp='$CPP $CPPFLAGS'
64359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64362
64363
64364 fi
64365
64366 fi
64367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64368 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64369
64370 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64371 for ac_func in hypotl
64372 do :
64373 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64374 if test "x$ac_cv_func_hypotl" = x""yes; then :
64375 cat >>confdefs.h <<_ACEOF
64376 #define HAVE_HYPOTL 1
64377 _ACEOF
64378
64379 fi
64380 done
64381
64382 else
64383
64384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64385 $as_echo_n "checking for _hypotl declaration... " >&6; }
64386 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64387 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64388 $as_echo_n "(cached) " >&6
64389 else
64390
64391
64392 ac_ext=cpp
64393 ac_cpp='$CXXCPP $CPPFLAGS'
64394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64397
64398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64399 /* end confdefs.h. */
64400 #include <math.h>
64401 int
64402 main ()
64403 {
64404 _hypotl(0, 0);
64405 ;
64406 return 0;
64407 }
64408 _ACEOF
64409 if ac_fn_cxx_try_compile "$LINENO"; then :
64410 glibcxx_cv_func__hypotl_use=yes
64411 else
64412 glibcxx_cv_func__hypotl_use=no
64413 fi
64414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64415 ac_ext=c
64416 ac_cpp='$CPP $CPPFLAGS'
64417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64420
64421
64422 fi
64423
64424 fi
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64426 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64427
64428 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64429 for ac_func in _hypotl
64430 do :
64431 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64432 if test "x$ac_cv_func__hypotl" = x""yes; then :
64433 cat >>confdefs.h <<_ACEOF
64434 #define HAVE__HYPOTL 1
64435 _ACEOF
64436
64437 fi
64438 done
64439
64440 fi
64441 fi
64442
64443
64444
64445
64446
64447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64448 $as_echo_n "checking for ldexpl declaration... " >&6; }
64449 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64450 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64451 $as_echo_n "(cached) " >&6
64452 else
64453
64454
64455 ac_ext=cpp
64456 ac_cpp='$CXXCPP $CPPFLAGS'
64457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64460
64461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64462 /* end confdefs.h. */
64463 #include <math.h>
64464 int
64465 main ()
64466 {
64467 ldexpl(0, 0);
64468 ;
64469 return 0;
64470 }
64471 _ACEOF
64472 if ac_fn_cxx_try_compile "$LINENO"; then :
64473 glibcxx_cv_func_ldexpl_use=yes
64474 else
64475 glibcxx_cv_func_ldexpl_use=no
64476 fi
64477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64478 ac_ext=c
64479 ac_cpp='$CPP $CPPFLAGS'
64480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64483
64484
64485 fi
64486
64487 fi
64488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64489 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64490
64491 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64492 for ac_func in ldexpl
64493 do :
64494 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64495 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64496 cat >>confdefs.h <<_ACEOF
64497 #define HAVE_LDEXPL 1
64498 _ACEOF
64499
64500 fi
64501 done
64502
64503 else
64504
64505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64506 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64507 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64508 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64509 $as_echo_n "(cached) " >&6
64510 else
64511
64512
64513 ac_ext=cpp
64514 ac_cpp='$CXXCPP $CPPFLAGS'
64515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64518
64519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64520 /* end confdefs.h. */
64521 #include <math.h>
64522 int
64523 main ()
64524 {
64525 _ldexpl(0, 0);
64526 ;
64527 return 0;
64528 }
64529 _ACEOF
64530 if ac_fn_cxx_try_compile "$LINENO"; then :
64531 glibcxx_cv_func__ldexpl_use=yes
64532 else
64533 glibcxx_cv_func__ldexpl_use=no
64534 fi
64535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64536 ac_ext=c
64537 ac_cpp='$CPP $CPPFLAGS'
64538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64541
64542
64543 fi
64544
64545 fi
64546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64547 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64548
64549 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64550 for ac_func in _ldexpl
64551 do :
64552 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64553 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64554 cat >>confdefs.h <<_ACEOF
64555 #define HAVE__LDEXPL 1
64556 _ACEOF
64557
64558 fi
64559 done
64560
64561 fi
64562 fi
64563
64564
64565
64566
64567
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64569 $as_echo_n "checking for logl declaration... " >&6; }
64570 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64571 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64572 $as_echo_n "(cached) " >&6
64573 else
64574
64575
64576 ac_ext=cpp
64577 ac_cpp='$CXXCPP $CPPFLAGS'
64578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64581
64582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64583 /* end confdefs.h. */
64584 #include <math.h>
64585 #ifdef HAVE_IEEEFP_H
64586 #include <ieeefp.h>
64587 #endif
64588
64589 int
64590 main ()
64591 {
64592 logl(0);
64593 ;
64594 return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598 glibcxx_cv_func_logl_use=yes
64599 else
64600 glibcxx_cv_func_logl_use=no
64601 fi
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603 ac_ext=c
64604 ac_cpp='$CPP $CPPFLAGS'
64605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64608
64609
64610 fi
64611
64612 fi
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64614 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64615
64616 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64617 for ac_func in logl
64618 do :
64619 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64620 if test "x$ac_cv_func_logl" = x""yes; then :
64621 cat >>confdefs.h <<_ACEOF
64622 #define HAVE_LOGL 1
64623 _ACEOF
64624
64625 fi
64626 done
64627
64628 else
64629
64630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64631 $as_echo_n "checking for _logl declaration... " >&6; }
64632 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64633 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64634 $as_echo_n "(cached) " >&6
64635 else
64636
64637
64638 ac_ext=cpp
64639 ac_cpp='$CXXCPP $CPPFLAGS'
64640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64643
64644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64645 /* end confdefs.h. */
64646 #include <math.h>
64647 #ifdef HAVE_IEEEFP_H
64648 #include <ieeefp.h>
64649 #endif
64650
64651 int
64652 main ()
64653 {
64654 _logl(0);
64655 ;
64656 return 0;
64657 }
64658 _ACEOF
64659 if ac_fn_cxx_try_compile "$LINENO"; then :
64660 glibcxx_cv_func__logl_use=yes
64661 else
64662 glibcxx_cv_func__logl_use=no
64663 fi
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64665 ac_ext=c
64666 ac_cpp='$CPP $CPPFLAGS'
64667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64670
64671
64672 fi
64673
64674 fi
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64676 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64677
64678 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64679 for ac_func in _logl
64680 do :
64681 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64682 if test "x$ac_cv_func__logl" = x""yes; then :
64683 cat >>confdefs.h <<_ACEOF
64684 #define HAVE__LOGL 1
64685 _ACEOF
64686
64687 fi
64688 done
64689
64690 fi
64691 fi
64692
64693
64694
64695
64696
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64698 $as_echo_n "checking for log10l declaration... " >&6; }
64699 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64700 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64701 $as_echo_n "(cached) " >&6
64702 else
64703
64704
64705 ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64710
64711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h. */
64713 #include <math.h>
64714 #ifdef HAVE_IEEEFP_H
64715 #include <ieeefp.h>
64716 #endif
64717
64718 int
64719 main ()
64720 {
64721 log10l(0);
64722 ;
64723 return 0;
64724 }
64725 _ACEOF
64726 if ac_fn_cxx_try_compile "$LINENO"; then :
64727 glibcxx_cv_func_log10l_use=yes
64728 else
64729 glibcxx_cv_func_log10l_use=no
64730 fi
64731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64732 ac_ext=c
64733 ac_cpp='$CPP $CPPFLAGS'
64734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64737
64738
64739 fi
64740
64741 fi
64742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64743 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64744
64745 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64746 for ac_func in log10l
64747 do :
64748 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64749 if test "x$ac_cv_func_log10l" = x""yes; then :
64750 cat >>confdefs.h <<_ACEOF
64751 #define HAVE_LOG10L 1
64752 _ACEOF
64753
64754 fi
64755 done
64756
64757 else
64758
64759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64760 $as_echo_n "checking for _log10l declaration... " >&6; }
64761 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64762 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64763 $as_echo_n "(cached) " >&6
64764 else
64765
64766
64767 ac_ext=cpp
64768 ac_cpp='$CXXCPP $CPPFLAGS'
64769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64772
64773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64774 /* end confdefs.h. */
64775 #include <math.h>
64776 #ifdef HAVE_IEEEFP_H
64777 #include <ieeefp.h>
64778 #endif
64779
64780 int
64781 main ()
64782 {
64783 _log10l(0);
64784 ;
64785 return 0;
64786 }
64787 _ACEOF
64788 if ac_fn_cxx_try_compile "$LINENO"; then :
64789 glibcxx_cv_func__log10l_use=yes
64790 else
64791 glibcxx_cv_func__log10l_use=no
64792 fi
64793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64794 ac_ext=c
64795 ac_cpp='$CPP $CPPFLAGS'
64796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64799
64800
64801 fi
64802
64803 fi
64804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64805 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64806
64807 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64808 for ac_func in _log10l
64809 do :
64810 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64811 if test "x$ac_cv_func__log10l" = x""yes; then :
64812 cat >>confdefs.h <<_ACEOF
64813 #define HAVE__LOG10L 1
64814 _ACEOF
64815
64816 fi
64817 done
64818
64819 fi
64820 fi
64821
64822
64823
64824
64825
64826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64827 $as_echo_n "checking for modfl declaration... " >&6; }
64828 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64829 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64830 $as_echo_n "(cached) " >&6
64831 else
64832
64833
64834 ac_ext=cpp
64835 ac_cpp='$CXXCPP $CPPFLAGS'
64836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64839
64840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64841 /* end confdefs.h. */
64842 #include <math.h>
64843 int
64844 main ()
64845 {
64846 modfl(0, 0);
64847 ;
64848 return 0;
64849 }
64850 _ACEOF
64851 if ac_fn_cxx_try_compile "$LINENO"; then :
64852 glibcxx_cv_func_modfl_use=yes
64853 else
64854 glibcxx_cv_func_modfl_use=no
64855 fi
64856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64857 ac_ext=c
64858 ac_cpp='$CPP $CPPFLAGS'
64859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64862
64863
64864 fi
64865
64866 fi
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64868 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64869
64870 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64871 for ac_func in modfl
64872 do :
64873 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64874 if test "x$ac_cv_func_modfl" = x""yes; then :
64875 cat >>confdefs.h <<_ACEOF
64876 #define HAVE_MODFL 1
64877 _ACEOF
64878
64879 fi
64880 done
64881
64882 else
64883
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64885 $as_echo_n "checking for _modfl declaration... " >&6; }
64886 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64887 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64888 $as_echo_n "(cached) " >&6
64889 else
64890
64891
64892 ac_ext=cpp
64893 ac_cpp='$CXXCPP $CPPFLAGS'
64894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64897
64898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64899 /* end confdefs.h. */
64900 #include <math.h>
64901 int
64902 main ()
64903 {
64904 _modfl(0, 0);
64905 ;
64906 return 0;
64907 }
64908 _ACEOF
64909 if ac_fn_cxx_try_compile "$LINENO"; then :
64910 glibcxx_cv_func__modfl_use=yes
64911 else
64912 glibcxx_cv_func__modfl_use=no
64913 fi
64914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64915 ac_ext=c
64916 ac_cpp='$CPP $CPPFLAGS'
64917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64920
64921
64922 fi
64923
64924 fi
64925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64926 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64927
64928 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64929 for ac_func in _modfl
64930 do :
64931 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64932 if test "x$ac_cv_func__modfl" = x""yes; then :
64933 cat >>confdefs.h <<_ACEOF
64934 #define HAVE__MODFL 1
64935 _ACEOF
64936
64937 fi
64938 done
64939
64940 fi
64941 fi
64942
64943
64944
64945
64946
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64948 $as_echo_n "checking for powl declaration... " >&6; }
64949 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64950 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64951 $as_echo_n "(cached) " >&6
64952 else
64953
64954
64955 ac_ext=cpp
64956 ac_cpp='$CXXCPP $CPPFLAGS'
64957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64960
64961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64962 /* end confdefs.h. */
64963 #include <math.h>
64964 int
64965 main ()
64966 {
64967 powl(0, 0);
64968 ;
64969 return 0;
64970 }
64971 _ACEOF
64972 if ac_fn_cxx_try_compile "$LINENO"; then :
64973 glibcxx_cv_func_powl_use=yes
64974 else
64975 glibcxx_cv_func_powl_use=no
64976 fi
64977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64978 ac_ext=c
64979 ac_cpp='$CPP $CPPFLAGS'
64980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64983
64984
64985 fi
64986
64987 fi
64988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64989 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64990
64991 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64992 for ac_func in powl
64993 do :
64994 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64995 if test "x$ac_cv_func_powl" = x""yes; then :
64996 cat >>confdefs.h <<_ACEOF
64997 #define HAVE_POWL 1
64998 _ACEOF
64999
65000 fi
65001 done
65002
65003 else
65004
65005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65006 $as_echo_n "checking for _powl declaration... " >&6; }
65007 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65008 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65009 $as_echo_n "(cached) " >&6
65010 else
65011
65012
65013 ac_ext=cpp
65014 ac_cpp='$CXXCPP $CPPFLAGS'
65015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65018
65019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65020 /* end confdefs.h. */
65021 #include <math.h>
65022 int
65023 main ()
65024 {
65025 _powl(0, 0);
65026 ;
65027 return 0;
65028 }
65029 _ACEOF
65030 if ac_fn_cxx_try_compile "$LINENO"; then :
65031 glibcxx_cv_func__powl_use=yes
65032 else
65033 glibcxx_cv_func__powl_use=no
65034 fi
65035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65036 ac_ext=c
65037 ac_cpp='$CPP $CPPFLAGS'
65038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65041
65042
65043 fi
65044
65045 fi
65046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65047 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65048
65049 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65050 for ac_func in _powl
65051 do :
65052 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65053 if test "x$ac_cv_func__powl" = x""yes; then :
65054 cat >>confdefs.h <<_ACEOF
65055 #define HAVE__POWL 1
65056 _ACEOF
65057
65058 fi
65059 done
65060
65061 fi
65062 fi
65063
65064
65065
65066
65067
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65069 $as_echo_n "checking for sqrtl declaration... " >&6; }
65070 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65071 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65072 $as_echo_n "(cached) " >&6
65073 else
65074
65075
65076 ac_ext=cpp
65077 ac_cpp='$CXXCPP $CPPFLAGS'
65078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65081
65082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65083 /* end confdefs.h. */
65084 #include <math.h>
65085 #ifdef HAVE_IEEEFP_H
65086 #include <ieeefp.h>
65087 #endif
65088
65089 int
65090 main ()
65091 {
65092 sqrtl(0);
65093 ;
65094 return 0;
65095 }
65096 _ACEOF
65097 if ac_fn_cxx_try_compile "$LINENO"; then :
65098 glibcxx_cv_func_sqrtl_use=yes
65099 else
65100 glibcxx_cv_func_sqrtl_use=no
65101 fi
65102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65103 ac_ext=c
65104 ac_cpp='$CPP $CPPFLAGS'
65105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65108
65109
65110 fi
65111
65112 fi
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65114 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65115
65116 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65117 for ac_func in sqrtl
65118 do :
65119 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65120 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65121 cat >>confdefs.h <<_ACEOF
65122 #define HAVE_SQRTL 1
65123 _ACEOF
65124
65125 fi
65126 done
65127
65128 else
65129
65130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65131 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65132 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65133 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65134 $as_echo_n "(cached) " >&6
65135 else
65136
65137
65138 ac_ext=cpp
65139 ac_cpp='$CXXCPP $CPPFLAGS'
65140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65143
65144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65145 /* end confdefs.h. */
65146 #include <math.h>
65147 #ifdef HAVE_IEEEFP_H
65148 #include <ieeefp.h>
65149 #endif
65150
65151 int
65152 main ()
65153 {
65154 _sqrtl(0);
65155 ;
65156 return 0;
65157 }
65158 _ACEOF
65159 if ac_fn_cxx_try_compile "$LINENO"; then :
65160 glibcxx_cv_func__sqrtl_use=yes
65161 else
65162 glibcxx_cv_func__sqrtl_use=no
65163 fi
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65165 ac_ext=c
65166 ac_cpp='$CPP $CPPFLAGS'
65167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65170
65171
65172 fi
65173
65174 fi
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65176 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65177
65178 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65179 for ac_func in _sqrtl
65180 do :
65181 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65182 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65183 cat >>confdefs.h <<_ACEOF
65184 #define HAVE__SQRTL 1
65185 _ACEOF
65186
65187 fi
65188 done
65189
65190 fi
65191 fi
65192
65193
65194
65195
65196
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65198 $as_echo_n "checking for sincosl declaration... " >&6; }
65199 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65200 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65201 $as_echo_n "(cached) " >&6
65202 else
65203
65204
65205 ac_ext=cpp
65206 ac_cpp='$CXXCPP $CPPFLAGS'
65207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65210
65211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65212 /* end confdefs.h. */
65213 #include <math.h>
65214 int
65215 main ()
65216 {
65217 sincosl(0, 0, 0);
65218 ;
65219 return 0;
65220 }
65221 _ACEOF
65222 if ac_fn_cxx_try_compile "$LINENO"; then :
65223 glibcxx_cv_func_sincosl_use=yes
65224 else
65225 glibcxx_cv_func_sincosl_use=no
65226 fi
65227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65228 ac_ext=c
65229 ac_cpp='$CPP $CPPFLAGS'
65230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65233
65234
65235 fi
65236
65237 fi
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65239 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65240
65241 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65242 for ac_func in sincosl
65243 do :
65244 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65245 if test "x$ac_cv_func_sincosl" = x""yes; then :
65246 cat >>confdefs.h <<_ACEOF
65247 #define HAVE_SINCOSL 1
65248 _ACEOF
65249
65250 fi
65251 done
65252
65253 else
65254
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65256 $as_echo_n "checking for _sincosl declaration... " >&6; }
65257 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65258 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65259 $as_echo_n "(cached) " >&6
65260 else
65261
65262
65263 ac_ext=cpp
65264 ac_cpp='$CXXCPP $CPPFLAGS'
65265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65268
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <math.h>
65272 int
65273 main ()
65274 {
65275 _sincosl(0, 0, 0);
65276 ;
65277 return 0;
65278 }
65279 _ACEOF
65280 if ac_fn_cxx_try_compile "$LINENO"; then :
65281 glibcxx_cv_func__sincosl_use=yes
65282 else
65283 glibcxx_cv_func__sincosl_use=no
65284 fi
65285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65286 ac_ext=c
65287 ac_cpp='$CPP $CPPFLAGS'
65288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65291
65292
65293 fi
65294
65295 fi
65296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65297 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65298
65299 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65300 for ac_func in _sincosl
65301 do :
65302 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65303 if test "x$ac_cv_func__sincosl" = x""yes; then :
65304 cat >>confdefs.h <<_ACEOF
65305 #define HAVE__SINCOSL 1
65306 _ACEOF
65307
65308 fi
65309 done
65310
65311 fi
65312 fi
65313
65314
65315
65316
65317
65318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65319 $as_echo_n "checking for finitel declaration... " >&6; }
65320 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65321 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65322 $as_echo_n "(cached) " >&6
65323 else
65324
65325
65326 ac_ext=cpp
65327 ac_cpp='$CXXCPP $CPPFLAGS'
65328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65331
65332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65333 /* end confdefs.h. */
65334 #include <math.h>
65335 #ifdef HAVE_IEEEFP_H
65336 #include <ieeefp.h>
65337 #endif
65338
65339 int
65340 main ()
65341 {
65342 finitel(0);
65343 ;
65344 return 0;
65345 }
65346 _ACEOF
65347 if ac_fn_cxx_try_compile "$LINENO"; then :
65348 glibcxx_cv_func_finitel_use=yes
65349 else
65350 glibcxx_cv_func_finitel_use=no
65351 fi
65352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65353 ac_ext=c
65354 ac_cpp='$CPP $CPPFLAGS'
65355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65358
65359
65360 fi
65361
65362 fi
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65364 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65365
65366 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65367 for ac_func in finitel
65368 do :
65369 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65370 if test "x$ac_cv_func_finitel" = x""yes; then :
65371 cat >>confdefs.h <<_ACEOF
65372 #define HAVE_FINITEL 1
65373 _ACEOF
65374
65375 fi
65376 done
65377
65378 else
65379
65380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65381 $as_echo_n "checking for _finitel declaration... " >&6; }
65382 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65383 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65384 $as_echo_n "(cached) " >&6
65385 else
65386
65387
65388 ac_ext=cpp
65389 ac_cpp='$CXXCPP $CPPFLAGS'
65390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65393
65394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65395 /* end confdefs.h. */
65396 #include <math.h>
65397 #ifdef HAVE_IEEEFP_H
65398 #include <ieeefp.h>
65399 #endif
65400
65401 int
65402 main ()
65403 {
65404 _finitel(0);
65405 ;
65406 return 0;
65407 }
65408 _ACEOF
65409 if ac_fn_cxx_try_compile "$LINENO"; then :
65410 glibcxx_cv_func__finitel_use=yes
65411 else
65412 glibcxx_cv_func__finitel_use=no
65413 fi
65414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65415 ac_ext=c
65416 ac_cpp='$CPP $CPPFLAGS'
65417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65420
65421
65422 fi
65423
65424 fi
65425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65426 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65427
65428 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65429 for ac_func in _finitel
65430 do :
65431 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65432 if test "x$ac_cv_func__finitel" = x""yes; then :
65433 cat >>confdefs.h <<_ACEOF
65434 #define HAVE__FINITEL 1
65435 _ACEOF
65436
65437 fi
65438 done
65439
65440 fi
65441 fi
65442
65443
65444
65445
65446 LIBS="$ac_save_LIBS"
65447 CXXFLAGS="$ac_save_CXXFLAGS"
65448
65449
65450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65451 ac_save_CXXFLAGS="$CXXFLAGS"
65452 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65453
65454
65455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65456 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65457 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65458 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65459 $as_echo_n "(cached) " >&6
65460 else
65461
65462
65463 ac_ext=cpp
65464 ac_cpp='$CXXCPP $CPPFLAGS'
65465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65468
65469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65470 /* end confdefs.h. */
65471 #include <stdlib.h>
65472 int
65473 main ()
65474 {
65475 at_quick_exit(0);
65476 ;
65477 return 0;
65478 }
65479 _ACEOF
65480 if ac_fn_cxx_try_compile "$LINENO"; then :
65481 glibcxx_cv_func_at_quick_exit_use=yes
65482 else
65483 glibcxx_cv_func_at_quick_exit_use=no
65484 fi
65485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65486 ac_ext=c
65487 ac_cpp='$CPP $CPPFLAGS'
65488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65491
65492
65493 fi
65494
65495 fi
65496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65497 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65498 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65499 for ac_func in at_quick_exit
65500 do :
65501 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65502 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65503 cat >>confdefs.h <<_ACEOF
65504 #define HAVE_AT_QUICK_EXIT 1
65505 _ACEOF
65506
65507 fi
65508 done
65509
65510 fi
65511
65512
65513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65514 $as_echo_n "checking for quick_exit declaration... " >&6; }
65515 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65516 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65517 $as_echo_n "(cached) " >&6
65518 else
65519
65520
65521 ac_ext=cpp
65522 ac_cpp='$CXXCPP $CPPFLAGS'
65523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65526
65527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65528 /* end confdefs.h. */
65529 #include <stdlib.h>
65530 int
65531 main ()
65532 {
65533 quick_exit(0);
65534 ;
65535 return 0;
65536 }
65537 _ACEOF
65538 if ac_fn_cxx_try_compile "$LINENO"; then :
65539 glibcxx_cv_func_quick_exit_use=yes
65540 else
65541 glibcxx_cv_func_quick_exit_use=no
65542 fi
65543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65544 ac_ext=c
65545 ac_cpp='$CPP $CPPFLAGS'
65546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65549
65550
65551 fi
65552
65553 fi
65554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65555 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65556 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65557 for ac_func in quick_exit
65558 do :
65559 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65560 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65561 cat >>confdefs.h <<_ACEOF
65562 #define HAVE_QUICK_EXIT 1
65563 _ACEOF
65564
65565 fi
65566 done
65567
65568 fi
65569
65570
65571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65572 $as_echo_n "checking for strtold declaration... " >&6; }
65573 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65574 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65575 $as_echo_n "(cached) " >&6
65576 else
65577
65578
65579 ac_ext=cpp
65580 ac_cpp='$CXXCPP $CPPFLAGS'
65581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65584
65585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65586 /* end confdefs.h. */
65587 #include <stdlib.h>
65588 int
65589 main ()
65590 {
65591 strtold(0, 0);
65592 ;
65593 return 0;
65594 }
65595 _ACEOF
65596 if ac_fn_cxx_try_compile "$LINENO"; then :
65597 glibcxx_cv_func_strtold_use=yes
65598 else
65599 glibcxx_cv_func_strtold_use=no
65600 fi
65601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65602 ac_ext=c
65603 ac_cpp='$CPP $CPPFLAGS'
65604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65607
65608
65609 fi
65610
65611 fi
65612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65613 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65614 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65615 for ac_func in strtold
65616 do :
65617 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65618 if test "x$ac_cv_func_strtold" = x""yes; then :
65619 cat >>confdefs.h <<_ACEOF
65620 #define HAVE_STRTOLD 1
65621 _ACEOF
65622
65623 fi
65624 done
65625
65626 fi
65627
65628
65629
65630
65631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65632 $as_echo_n "checking for strtof declaration... " >&6; }
65633 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65634 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65635 $as_echo_n "(cached) " >&6
65636 else
65637
65638
65639 ac_ext=cpp
65640 ac_cpp='$CXXCPP $CPPFLAGS'
65641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65644
65645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65646 /* end confdefs.h. */
65647 #include <stdlib.h>
65648 int
65649 main ()
65650 {
65651 strtof(0, 0);
65652 ;
65653 return 0;
65654 }
65655 _ACEOF
65656 if ac_fn_cxx_try_compile "$LINENO"; then :
65657 glibcxx_cv_func_strtof_use=yes
65658 else
65659 glibcxx_cv_func_strtof_use=no
65660 fi
65661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65662 ac_ext=c
65663 ac_cpp='$CPP $CPPFLAGS'
65664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65667
65668
65669 fi
65670
65671 fi
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65673 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65674 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65675 for ac_func in strtof
65676 do :
65677 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65678 if test "x$ac_cv_func_strtof" = x""yes; then :
65679 cat >>confdefs.h <<_ACEOF
65680 #define HAVE_STRTOF 1
65681 _ACEOF
65682
65683 fi
65684 done
65685
65686 fi
65687
65688
65689
65690
65691 CXXFLAGS="$ac_save_CXXFLAGS"
65692
65693 ;;
65694 *-netbsd*)
65695 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65696
65697
65698 # If we're not using GNU ld, then there's no point in even trying these
65699 # tests. Check for that first. We should have already tested for gld
65700 # by now (in libtool), but require it now just to be safe...
65701 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65702 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65703
65704
65705
65706 # The name set by libtool depends on the version of libtool. Shame on us
65707 # for depending on an impl detail, but c'est la vie. Older versions used
65708 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65709 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65710 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65711 # set (hence we're using an older libtool), then set it.
65712 if test x${with_gnu_ld+set} != xset; then
65713 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65714 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65715 with_gnu_ld=no
65716 else
65717 with_gnu_ld=$ac_cv_prog_gnu_ld
65718 fi
65719 fi
65720
65721 # Start by getting the version number. I think the libtool test already
65722 # does some of this, but throws away the result.
65723 glibcxx_ld_is_gold=no
65724 if test x"$with_gnu_ld" = x"yes"; then
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65726 $as_echo_n "checking for ld version... " >&6; }
65727
65728 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65729 glibcxx_ld_is_gold=yes
65730 fi
65731 ldver=`$LD --version 2>/dev/null |
65732 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'`
65733
65734 glibcxx_gnu_ld_version=`echo $ldver | \
65735 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65737 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65738 fi
65739
65740 # Set --gc-sections.
65741 glibcxx_have_gc_sections=no
65742 if test "$glibcxx_ld_is_gold" = "yes"; then
65743 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65744 glibcxx_have_gc_sections=yes
65745 fi
65746 else
65747 glibcxx_gcsections_min_ld=21602
65748 if test x"$with_gnu_ld" = x"yes" &&
65749 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65750 glibcxx_have_gc_sections=yes
65751 fi
65752 fi
65753 if test "$glibcxx_have_gc_sections" = "yes"; then
65754 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65755 # NB: This flag only works reliably after 2.16.1. Configure tests
65756 # for this are difficult, so hard wire a value that should work.
65757
65758 ac_test_CFLAGS="${CFLAGS+set}"
65759 ac_save_CFLAGS="$CFLAGS"
65760 CFLAGS='-Wl,--gc-sections'
65761
65762 # Check for -Wl,--gc-sections
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65764 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65765 if test x$gcc_no_link = xyes; then
65766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65767 fi
65768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65769 /* end confdefs.h. */
65770 int one(void) { return 1; }
65771 int two(void) { return 2; }
65772
65773 int
65774 main ()
65775 {
65776 two();
65777 ;
65778 return 0;
65779 }
65780 _ACEOF
65781 if ac_fn_c_try_link "$LINENO"; then :
65782 ac_gcsections=yes
65783 else
65784 ac_gcsections=no
65785 fi
65786 rm -f core conftest.err conftest.$ac_objext \
65787 conftest$ac_exeext conftest.$ac_ext
65788 if test "$ac_gcsections" = "yes"; then
65789 rm -f conftest.c
65790 touch conftest.c
65791 if $CC -c conftest.c; then
65792 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65793 grep "Warning: gc-sections option ignored" > /dev/null; then
65794 ac_gcsections=no
65795 fi
65796 fi
65797 rm -f conftest.c conftest.o conftest
65798 fi
65799 if test "$ac_gcsections" = "yes"; then
65800 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65801 fi
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65803 $as_echo "$ac_gcsections" >&6; }
65804
65805 if test "$ac_test_CFLAGS" = set; then
65806 CFLAGS="$ac_save_CFLAGS"
65807 else
65808 # this is the suspicious part
65809 CFLAGS=''
65810 fi
65811 fi
65812
65813 # Set -z,relro.
65814 # Note this is only for shared objects.
65815 ac_ld_relro=no
65816 if test x"$with_gnu_ld" = x"yes"; then
65817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65818 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65819 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65820 if test -n "$cxx_z_relo"; then
65821 OPT_LDFLAGS="-Wl,-z,relro"
65822 ac_ld_relro=yes
65823 fi
65824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65825 $as_echo "$ac_ld_relro" >&6; }
65826 fi
65827
65828 # Set linker optimization flags.
65829 if test x"$with_gnu_ld" = x"yes"; then
65830 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65831 fi
65832
65833
65834
65835
65836 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65837
65838 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65839
65840 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65841
65842 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65843
65844 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65845
65846 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65847
65848 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65849
65850 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65851
65852 if test x"long_double_math_on_this_cpu" = x"yes"; then
65853 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65854
65855 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65856
65857 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65858
65859 fi
65860 ;;
65861 *-qnx6.1* | *-qnx6.2*)
65862 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65863
65864
65865 # If we're not using GNU ld, then there's no point in even trying these
65866 # tests. Check for that first. We should have already tested for gld
65867 # by now (in libtool), but require it now just to be safe...
65868 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65869 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65870
65871
65872
65873 # The name set by libtool depends on the version of libtool. Shame on us
65874 # for depending on an impl detail, but c'est la vie. Older versions used
65875 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65876 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65877 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65878 # set (hence we're using an older libtool), then set it.
65879 if test x${with_gnu_ld+set} != xset; then
65880 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65881 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65882 with_gnu_ld=no
65883 else
65884 with_gnu_ld=$ac_cv_prog_gnu_ld
65885 fi
65886 fi
65887
65888 # Start by getting the version number. I think the libtool test already
65889 # does some of this, but throws away the result.
65890 glibcxx_ld_is_gold=no
65891 if test x"$with_gnu_ld" = x"yes"; then
65892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65893 $as_echo_n "checking for ld version... " >&6; }
65894
65895 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65896 glibcxx_ld_is_gold=yes
65897 fi
65898 ldver=`$LD --version 2>/dev/null |
65899 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'`
65900
65901 glibcxx_gnu_ld_version=`echo $ldver | \
65902 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65904 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65905 fi
65906
65907 # Set --gc-sections.
65908 glibcxx_have_gc_sections=no
65909 if test "$glibcxx_ld_is_gold" = "yes"; then
65910 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65911 glibcxx_have_gc_sections=yes
65912 fi
65913 else
65914 glibcxx_gcsections_min_ld=21602
65915 if test x"$with_gnu_ld" = x"yes" &&
65916 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65917 glibcxx_have_gc_sections=yes
65918 fi
65919 fi
65920 if test "$glibcxx_have_gc_sections" = "yes"; then
65921 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65922 # NB: This flag only works reliably after 2.16.1. Configure tests
65923 # for this are difficult, so hard wire a value that should work.
65924
65925 ac_test_CFLAGS="${CFLAGS+set}"
65926 ac_save_CFLAGS="$CFLAGS"
65927 CFLAGS='-Wl,--gc-sections'
65928
65929 # Check for -Wl,--gc-sections
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65931 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65932 if test x$gcc_no_link = xyes; then
65933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65934 fi
65935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65936 /* end confdefs.h. */
65937 int one(void) { return 1; }
65938 int two(void) { return 2; }
65939
65940 int
65941 main ()
65942 {
65943 two();
65944 ;
65945 return 0;
65946 }
65947 _ACEOF
65948 if ac_fn_c_try_link "$LINENO"; then :
65949 ac_gcsections=yes
65950 else
65951 ac_gcsections=no
65952 fi
65953 rm -f core conftest.err conftest.$ac_objext \
65954 conftest$ac_exeext conftest.$ac_ext
65955 if test "$ac_gcsections" = "yes"; then
65956 rm -f conftest.c
65957 touch conftest.c
65958 if $CC -c conftest.c; then
65959 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65960 grep "Warning: gc-sections option ignored" > /dev/null; then
65961 ac_gcsections=no
65962 fi
65963 fi
65964 rm -f conftest.c conftest.o conftest
65965 fi
65966 if test "$ac_gcsections" = "yes"; then
65967 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65968 fi
65969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65970 $as_echo "$ac_gcsections" >&6; }
65971
65972 if test "$ac_test_CFLAGS" = set; then
65973 CFLAGS="$ac_save_CFLAGS"
65974 else
65975 # this is the suspicious part
65976 CFLAGS=''
65977 fi
65978 fi
65979
65980 # Set -z,relro.
65981 # Note this is only for shared objects.
65982 ac_ld_relro=no
65983 if test x"$with_gnu_ld" = x"yes"; then
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65985 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65986 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65987 if test -n "$cxx_z_relo"; then
65988 OPT_LDFLAGS="-Wl,-z,relro"
65989 ac_ld_relro=yes
65990 fi
65991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65992 $as_echo "$ac_ld_relro" >&6; }
65993 fi
65994
65995 # Set linker optimization flags.
65996 if test x"$with_gnu_ld" = x"yes"; then
65997 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65998 fi
65999
66000
66001
66002
66003 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66004
66005 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66006
66007 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66008
66009 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66010
66011 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66012
66013 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66014
66015 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66016
66017 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66018
66019 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66020
66021 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66022
66023 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66024
66025 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66026
66027 ;;
66028 *-rtems*)
66029
66030 # All these tests are for C++; save the language and the compiler flags.
66031 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66032 # found in GLIBCXX_CONFIGURE.
66033
66034 ac_ext=cpp
66035 ac_cpp='$CXXCPP $CPPFLAGS'
66036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66039
66040 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66041 ac_save_CXXFLAGS="$CXXFLAGS"
66042
66043 # Check for maintainer-mode bits.
66044 if test x"$USE_MAINTAINER_MODE" = xno; then
66045 WERROR=''
66046 else
66047 WERROR='-Werror'
66048 fi
66049
66050 # Check for -ffunction-sections -fdata-sections
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66052 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66053 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66055 /* end confdefs.h. */
66056 int foo; void bar() { };
66057 int
66058 main ()
66059 {
66060
66061 ;
66062 return 0;
66063 }
66064 _ACEOF
66065 if ac_fn_cxx_try_compile "$LINENO"; then :
66066 ac_fdsections=yes
66067 else
66068 ac_fdsections=no
66069 fi
66070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66071 if test "$ac_test_CXXFLAGS" = set; then
66072 CXXFLAGS="$ac_save_CXXFLAGS"
66073 else
66074 # this is the suspicious part
66075 CXXFLAGS=''
66076 fi
66077 if test x"$ac_fdsections" = x"yes"; then
66078 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66079 fi
66080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66081 $as_echo "$ac_fdsections" >&6; }
66082
66083 ac_ext=c
66084 ac_cpp='$CPP $CPPFLAGS'
66085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66088
66089
66090
66091
66092
66093 # If we're not using GNU ld, then there's no point in even trying these
66094 # tests. Check for that first. We should have already tested for gld
66095 # by now (in libtool), but require it now just to be safe...
66096 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66097 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66098
66099
66100
66101 # The name set by libtool depends on the version of libtool. Shame on us
66102 # for depending on an impl detail, but c'est la vie. Older versions used
66103 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66104 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66105 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66106 # set (hence we're using an older libtool), then set it.
66107 if test x${with_gnu_ld+set} != xset; then
66108 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66109 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66110 with_gnu_ld=no
66111 else
66112 with_gnu_ld=$ac_cv_prog_gnu_ld
66113 fi
66114 fi
66115
66116 # Start by getting the version number. I think the libtool test already
66117 # does some of this, but throws away the result.
66118 glibcxx_ld_is_gold=no
66119 if test x"$with_gnu_ld" = x"yes"; then
66120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66121 $as_echo_n "checking for ld version... " >&6; }
66122
66123 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66124 glibcxx_ld_is_gold=yes
66125 fi
66126 ldver=`$LD --version 2>/dev/null |
66127 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'`
66128
66129 glibcxx_gnu_ld_version=`echo $ldver | \
66130 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66132 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66133 fi
66134
66135 # Set --gc-sections.
66136 glibcxx_have_gc_sections=no
66137 if test "$glibcxx_ld_is_gold" = "yes"; then
66138 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66139 glibcxx_have_gc_sections=yes
66140 fi
66141 else
66142 glibcxx_gcsections_min_ld=21602
66143 if test x"$with_gnu_ld" = x"yes" &&
66144 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66145 glibcxx_have_gc_sections=yes
66146 fi
66147 fi
66148 if test "$glibcxx_have_gc_sections" = "yes"; then
66149 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66150 # NB: This flag only works reliably after 2.16.1. Configure tests
66151 # for this are difficult, so hard wire a value that should work.
66152
66153 ac_test_CFLAGS="${CFLAGS+set}"
66154 ac_save_CFLAGS="$CFLAGS"
66155 CFLAGS='-Wl,--gc-sections'
66156
66157 # Check for -Wl,--gc-sections
66158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66159 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66160 if test x$gcc_no_link = xyes; then
66161 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66162 fi
66163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66164 /* end confdefs.h. */
66165 int one(void) { return 1; }
66166 int two(void) { return 2; }
66167
66168 int
66169 main ()
66170 {
66171 two();
66172 ;
66173 return 0;
66174 }
66175 _ACEOF
66176 if ac_fn_c_try_link "$LINENO"; then :
66177 ac_gcsections=yes
66178 else
66179 ac_gcsections=no
66180 fi
66181 rm -f core conftest.err conftest.$ac_objext \
66182 conftest$ac_exeext conftest.$ac_ext
66183 if test "$ac_gcsections" = "yes"; then
66184 rm -f conftest.c
66185 touch conftest.c
66186 if $CC -c conftest.c; then
66187 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66188 grep "Warning: gc-sections option ignored" > /dev/null; then
66189 ac_gcsections=no
66190 fi
66191 fi
66192 rm -f conftest.c conftest.o conftest
66193 fi
66194 if test "$ac_gcsections" = "yes"; then
66195 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66196 fi
66197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66198 $as_echo "$ac_gcsections" >&6; }
66199
66200 if test "$ac_test_CFLAGS" = set; then
66201 CFLAGS="$ac_save_CFLAGS"
66202 else
66203 # this is the suspicious part
66204 CFLAGS=''
66205 fi
66206 fi
66207
66208 # Set -z,relro.
66209 # Note this is only for shared objects.
66210 ac_ld_relro=no
66211 if test x"$with_gnu_ld" = x"yes"; then
66212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66213 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66214 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66215 if test -n "$cxx_z_relo"; then
66216 OPT_LDFLAGS="-Wl,-z,relro"
66217 ac_ld_relro=yes
66218 fi
66219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66220 $as_echo "$ac_ld_relro" >&6; }
66221 fi
66222
66223 # Set linker optimization flags.
66224 if test x"$with_gnu_ld" = x"yes"; then
66225 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66226 fi
66227
66228
66229
66230
66231
66232 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66233 ac_save_CXXFLAGS="$CXXFLAGS"
66234 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66235
66236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66237 $as_echo_n "checking for sin in -lm... " >&6; }
66238 if test "${ac_cv_lib_m_sin+set}" = set; then :
66239 $as_echo_n "(cached) " >&6
66240 else
66241 ac_check_lib_save_LIBS=$LIBS
66242 LIBS="-lm $LIBS"
66243 if test x$gcc_no_link = xyes; then
66244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66245 fi
66246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66247 /* end confdefs.h. */
66248
66249 /* Override any GCC internal prototype to avoid an error.
66250 Use char because int might match the return type of a GCC
66251 builtin and then its argument prototype would still apply. */
66252 #ifdef __cplusplus
66253 extern "C"
66254 #endif
66255 char sin ();
66256 int
66257 main ()
66258 {
66259 return sin ();
66260 ;
66261 return 0;
66262 }
66263 _ACEOF
66264 if ac_fn_c_try_link "$LINENO"; then :
66265 ac_cv_lib_m_sin=yes
66266 else
66267 ac_cv_lib_m_sin=no
66268 fi
66269 rm -f core conftest.err conftest.$ac_objext \
66270 conftest$ac_exeext conftest.$ac_ext
66271 LIBS=$ac_check_lib_save_LIBS
66272 fi
66273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66274 $as_echo "$ac_cv_lib_m_sin" >&6; }
66275 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66276 libm="-lm"
66277 fi
66278
66279 ac_save_LIBS="$LIBS"
66280 LIBS="$LIBS $libm"
66281
66282
66283
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66285 $as_echo_n "checking for isinf declaration... " >&6; }
66286 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66287 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66288 $as_echo_n "(cached) " >&6
66289 else
66290
66291
66292 ac_ext=cpp
66293 ac_cpp='$CXXCPP $CPPFLAGS'
66294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66297
66298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66299 /* end confdefs.h. */
66300 #include <math.h>
66301 #ifdef HAVE_IEEEFP_H
66302 #include <ieeefp.h>
66303 #endif
66304
66305 int
66306 main ()
66307 {
66308 isinf(0);
66309 ;
66310 return 0;
66311 }
66312 _ACEOF
66313 if ac_fn_cxx_try_compile "$LINENO"; then :
66314 glibcxx_cv_func_isinf_use=yes
66315 else
66316 glibcxx_cv_func_isinf_use=no
66317 fi
66318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319 ac_ext=c
66320 ac_cpp='$CPP $CPPFLAGS'
66321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66324
66325
66326 fi
66327
66328 fi
66329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66330 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66331
66332 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66333 for ac_func in isinf
66334 do :
66335 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66336 if test "x$ac_cv_func_isinf" = x""yes; then :
66337 cat >>confdefs.h <<_ACEOF
66338 #define HAVE_ISINF 1
66339 _ACEOF
66340
66341 fi
66342 done
66343
66344 else
66345
66346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66347 $as_echo_n "checking for _isinf declaration... " >&6; }
66348 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66349 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66350 $as_echo_n "(cached) " >&6
66351 else
66352
66353
66354 ac_ext=cpp
66355 ac_cpp='$CXXCPP $CPPFLAGS'
66356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66359
66360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361 /* end confdefs.h. */
66362 #include <math.h>
66363 #ifdef HAVE_IEEEFP_H
66364 #include <ieeefp.h>
66365 #endif
66366
66367 int
66368 main ()
66369 {
66370 _isinf(0);
66371 ;
66372 return 0;
66373 }
66374 _ACEOF
66375 if ac_fn_cxx_try_compile "$LINENO"; then :
66376 glibcxx_cv_func__isinf_use=yes
66377 else
66378 glibcxx_cv_func__isinf_use=no
66379 fi
66380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66381 ac_ext=c
66382 ac_cpp='$CPP $CPPFLAGS'
66383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66386
66387
66388 fi
66389
66390 fi
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66392 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66393
66394 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66395 for ac_func in _isinf
66396 do :
66397 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66398 if test "x$ac_cv_func__isinf" = x""yes; then :
66399 cat >>confdefs.h <<_ACEOF
66400 #define HAVE__ISINF 1
66401 _ACEOF
66402
66403 fi
66404 done
66405
66406 fi
66407 fi
66408
66409
66410
66411
66412
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66414 $as_echo_n "checking for isnan declaration... " >&6; }
66415 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66416 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66417 $as_echo_n "(cached) " >&6
66418 else
66419
66420
66421 ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66426
66427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66428 /* end confdefs.h. */
66429 #include <math.h>
66430 #ifdef HAVE_IEEEFP_H
66431 #include <ieeefp.h>
66432 #endif
66433
66434 int
66435 main ()
66436 {
66437 isnan(0);
66438 ;
66439 return 0;
66440 }
66441 _ACEOF
66442 if ac_fn_cxx_try_compile "$LINENO"; then :
66443 glibcxx_cv_func_isnan_use=yes
66444 else
66445 glibcxx_cv_func_isnan_use=no
66446 fi
66447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66448 ac_ext=c
66449 ac_cpp='$CPP $CPPFLAGS'
66450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66453
66454
66455 fi
66456
66457 fi
66458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66459 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66460
66461 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66462 for ac_func in isnan
66463 do :
66464 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66465 if test "x$ac_cv_func_isnan" = x""yes; then :
66466 cat >>confdefs.h <<_ACEOF
66467 #define HAVE_ISNAN 1
66468 _ACEOF
66469
66470 fi
66471 done
66472
66473 else
66474
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66476 $as_echo_n "checking for _isnan declaration... " >&6; }
66477 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66478 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66479 $as_echo_n "(cached) " >&6
66480 else
66481
66482
66483 ac_ext=cpp
66484 ac_cpp='$CXXCPP $CPPFLAGS'
66485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66488
66489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h. */
66491 #include <math.h>
66492 #ifdef HAVE_IEEEFP_H
66493 #include <ieeefp.h>
66494 #endif
66495
66496 int
66497 main ()
66498 {
66499 _isnan(0);
66500 ;
66501 return 0;
66502 }
66503 _ACEOF
66504 if ac_fn_cxx_try_compile "$LINENO"; then :
66505 glibcxx_cv_func__isnan_use=yes
66506 else
66507 glibcxx_cv_func__isnan_use=no
66508 fi
66509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66510 ac_ext=c
66511 ac_cpp='$CPP $CPPFLAGS'
66512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66515
66516
66517 fi
66518
66519 fi
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66521 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66522
66523 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66524 for ac_func in _isnan
66525 do :
66526 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66527 if test "x$ac_cv_func__isnan" = x""yes; then :
66528 cat >>confdefs.h <<_ACEOF
66529 #define HAVE__ISNAN 1
66530 _ACEOF
66531
66532 fi
66533 done
66534
66535 fi
66536 fi
66537
66538
66539
66540
66541
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66543 $as_echo_n "checking for finite declaration... " >&6; }
66544 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66545 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66546 $as_echo_n "(cached) " >&6
66547 else
66548
66549
66550 ac_ext=cpp
66551 ac_cpp='$CXXCPP $CPPFLAGS'
66552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66555
66556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66557 /* end confdefs.h. */
66558 #include <math.h>
66559 #ifdef HAVE_IEEEFP_H
66560 #include <ieeefp.h>
66561 #endif
66562
66563 int
66564 main ()
66565 {
66566 finite(0);
66567 ;
66568 return 0;
66569 }
66570 _ACEOF
66571 if ac_fn_cxx_try_compile "$LINENO"; then :
66572 glibcxx_cv_func_finite_use=yes
66573 else
66574 glibcxx_cv_func_finite_use=no
66575 fi
66576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66577 ac_ext=c
66578 ac_cpp='$CPP $CPPFLAGS'
66579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66582
66583
66584 fi
66585
66586 fi
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66588 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66589
66590 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66591 for ac_func in finite
66592 do :
66593 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66594 if test "x$ac_cv_func_finite" = x""yes; then :
66595 cat >>confdefs.h <<_ACEOF
66596 #define HAVE_FINITE 1
66597 _ACEOF
66598
66599 fi
66600 done
66601
66602 else
66603
66604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66605 $as_echo_n "checking for _finite declaration... " >&6; }
66606 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66607 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66608 $as_echo_n "(cached) " >&6
66609 else
66610
66611
66612 ac_ext=cpp
66613 ac_cpp='$CXXCPP $CPPFLAGS'
66614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617
66618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66619 /* end confdefs.h. */
66620 #include <math.h>
66621 #ifdef HAVE_IEEEFP_H
66622 #include <ieeefp.h>
66623 #endif
66624
66625 int
66626 main ()
66627 {
66628 _finite(0);
66629 ;
66630 return 0;
66631 }
66632 _ACEOF
66633 if ac_fn_cxx_try_compile "$LINENO"; then :
66634 glibcxx_cv_func__finite_use=yes
66635 else
66636 glibcxx_cv_func__finite_use=no
66637 fi
66638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66639 ac_ext=c
66640 ac_cpp='$CPP $CPPFLAGS'
66641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644
66645
66646 fi
66647
66648 fi
66649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66650 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66651
66652 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66653 for ac_func in _finite
66654 do :
66655 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66656 if test "x$ac_cv_func__finite" = x""yes; then :
66657 cat >>confdefs.h <<_ACEOF
66658 #define HAVE__FINITE 1
66659 _ACEOF
66660
66661 fi
66662 done
66663
66664 fi
66665 fi
66666
66667
66668
66669
66670
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66672 $as_echo_n "checking for sincos declaration... " >&6; }
66673 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66674 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677
66678
66679 ac_ext=cpp
66680 ac_cpp='$CXXCPP $CPPFLAGS'
66681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66684
66685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66686 /* end confdefs.h. */
66687 #include <math.h>
66688 int
66689 main ()
66690 {
66691 sincos(0, 0, 0);
66692 ;
66693 return 0;
66694 }
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func_sincos_use=yes
66698 else
66699 glibcxx_cv_func_sincos_use=no
66700 fi
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702 ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707
66708
66709 fi
66710
66711 fi
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66713 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66714
66715 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66716 for ac_func in sincos
66717 do :
66718 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66719 if test "x$ac_cv_func_sincos" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE_SINCOS 1
66722 _ACEOF
66723
66724 fi
66725 done
66726
66727 else
66728
66729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66730 $as_echo_n "checking for _sincos declaration... " >&6; }
66731 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66732 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66733 $as_echo_n "(cached) " >&6
66734 else
66735
66736
66737 ac_ext=cpp
66738 ac_cpp='$CXXCPP $CPPFLAGS'
66739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66742
66743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66744 /* end confdefs.h. */
66745 #include <math.h>
66746 int
66747 main ()
66748 {
66749 _sincos(0, 0, 0);
66750 ;
66751 return 0;
66752 }
66753 _ACEOF
66754 if ac_fn_cxx_try_compile "$LINENO"; then :
66755 glibcxx_cv_func__sincos_use=yes
66756 else
66757 glibcxx_cv_func__sincos_use=no
66758 fi
66759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760 ac_ext=c
66761 ac_cpp='$CPP $CPPFLAGS'
66762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765
66766
66767 fi
66768
66769 fi
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66771 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66772
66773 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66774 for ac_func in _sincos
66775 do :
66776 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66777 if test "x$ac_cv_func__sincos" = x""yes; then :
66778 cat >>confdefs.h <<_ACEOF
66779 #define HAVE__SINCOS 1
66780 _ACEOF
66781
66782 fi
66783 done
66784
66785 fi
66786 fi
66787
66788
66789
66790
66791
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66793 $as_echo_n "checking for fpclass declaration... " >&6; }
66794 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66795 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66796 $as_echo_n "(cached) " >&6
66797 else
66798
66799
66800 ac_ext=cpp
66801 ac_cpp='$CXXCPP $CPPFLAGS'
66802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66805
66806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66807 /* end confdefs.h. */
66808 #include <math.h>
66809 #ifdef HAVE_IEEEFP_H
66810 #include <ieeefp.h>
66811 #endif
66812
66813 int
66814 main ()
66815 {
66816 fpclass(0);
66817 ;
66818 return 0;
66819 }
66820 _ACEOF
66821 if ac_fn_cxx_try_compile "$LINENO"; then :
66822 glibcxx_cv_func_fpclass_use=yes
66823 else
66824 glibcxx_cv_func_fpclass_use=no
66825 fi
66826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66827 ac_ext=c
66828 ac_cpp='$CPP $CPPFLAGS'
66829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66832
66833
66834 fi
66835
66836 fi
66837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66838 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66839
66840 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66841 for ac_func in fpclass
66842 do :
66843 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66844 if test "x$ac_cv_func_fpclass" = x""yes; then :
66845 cat >>confdefs.h <<_ACEOF
66846 #define HAVE_FPCLASS 1
66847 _ACEOF
66848
66849 fi
66850 done
66851
66852 else
66853
66854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66855 $as_echo_n "checking for _fpclass declaration... " >&6; }
66856 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66857 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66858 $as_echo_n "(cached) " >&6
66859 else
66860
66861
66862 ac_ext=cpp
66863 ac_cpp='$CXXCPP $CPPFLAGS'
66864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66867
66868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66869 /* end confdefs.h. */
66870 #include <math.h>
66871 #ifdef HAVE_IEEEFP_H
66872 #include <ieeefp.h>
66873 #endif
66874
66875 int
66876 main ()
66877 {
66878 _fpclass(0);
66879 ;
66880 return 0;
66881 }
66882 _ACEOF
66883 if ac_fn_cxx_try_compile "$LINENO"; then :
66884 glibcxx_cv_func__fpclass_use=yes
66885 else
66886 glibcxx_cv_func__fpclass_use=no
66887 fi
66888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66889 ac_ext=c
66890 ac_cpp='$CPP $CPPFLAGS'
66891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894
66895
66896 fi
66897
66898 fi
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66900 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66901
66902 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66903 for ac_func in _fpclass
66904 do :
66905 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66906 if test "x$ac_cv_func__fpclass" = x""yes; then :
66907 cat >>confdefs.h <<_ACEOF
66908 #define HAVE__FPCLASS 1
66909 _ACEOF
66910
66911 fi
66912 done
66913
66914 fi
66915 fi
66916
66917
66918
66919
66920
66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66922 $as_echo_n "checking for qfpclass declaration... " >&6; }
66923 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66924 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66925 $as_echo_n "(cached) " >&6
66926 else
66927
66928
66929 ac_ext=cpp
66930 ac_cpp='$CXXCPP $CPPFLAGS'
66931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66934
66935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66936 /* end confdefs.h. */
66937 #include <math.h>
66938 #ifdef HAVE_IEEEFP_H
66939 #include <ieeefp.h>
66940 #endif
66941
66942 int
66943 main ()
66944 {
66945 qfpclass(0);
66946 ;
66947 return 0;
66948 }
66949 _ACEOF
66950 if ac_fn_cxx_try_compile "$LINENO"; then :
66951 glibcxx_cv_func_qfpclass_use=yes
66952 else
66953 glibcxx_cv_func_qfpclass_use=no
66954 fi
66955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66956 ac_ext=c
66957 ac_cpp='$CPP $CPPFLAGS'
66958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66961
66962
66963 fi
66964
66965 fi
66966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66967 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66968
66969 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66970 for ac_func in qfpclass
66971 do :
66972 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66973 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66974 cat >>confdefs.h <<_ACEOF
66975 #define HAVE_QFPCLASS 1
66976 _ACEOF
66977
66978 fi
66979 done
66980
66981 else
66982
66983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66984 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66985 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66986 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66987 $as_echo_n "(cached) " >&6
66988 else
66989
66990
66991 ac_ext=cpp
66992 ac_cpp='$CXXCPP $CPPFLAGS'
66993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66996
66997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66998 /* end confdefs.h. */
66999 #include <math.h>
67000 #ifdef HAVE_IEEEFP_H
67001 #include <ieeefp.h>
67002 #endif
67003
67004 int
67005 main ()
67006 {
67007 _qfpclass(0);
67008 ;
67009 return 0;
67010 }
67011 _ACEOF
67012 if ac_fn_cxx_try_compile "$LINENO"; then :
67013 glibcxx_cv_func__qfpclass_use=yes
67014 else
67015 glibcxx_cv_func__qfpclass_use=no
67016 fi
67017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67018 ac_ext=c
67019 ac_cpp='$CPP $CPPFLAGS'
67020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67023
67024
67025 fi
67026
67027 fi
67028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67029 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67030
67031 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67032 for ac_func in _qfpclass
67033 do :
67034 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67035 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67036 cat >>confdefs.h <<_ACEOF
67037 #define HAVE__QFPCLASS 1
67038 _ACEOF
67039
67040 fi
67041 done
67042
67043 fi
67044 fi
67045
67046
67047
67048
67049
67050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67051 $as_echo_n "checking for hypot declaration... " >&6; }
67052 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67053 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67054 $as_echo_n "(cached) " >&6
67055 else
67056
67057
67058 ac_ext=cpp
67059 ac_cpp='$CXXCPP $CPPFLAGS'
67060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67063
67064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67065 /* end confdefs.h. */
67066 #include <math.h>
67067 int
67068 main ()
67069 {
67070 hypot(0, 0);
67071 ;
67072 return 0;
67073 }
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func_hypot_use=yes
67077 else
67078 glibcxx_cv_func_hypot_use=no
67079 fi
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67086
67087
67088 fi
67089
67090 fi
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67092 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67093
67094 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67095 for ac_func in hypot
67096 do :
67097 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67098 if test "x$ac_cv_func_hypot" = x""yes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE_HYPOT 1
67101 _ACEOF
67102
67103 fi
67104 done
67105
67106 else
67107
67108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67109 $as_echo_n "checking for _hypot declaration... " >&6; }
67110 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67111 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67112 $as_echo_n "(cached) " >&6
67113 else
67114
67115
67116 ac_ext=cpp
67117 ac_cpp='$CXXCPP $CPPFLAGS'
67118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67121
67122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67123 /* end confdefs.h. */
67124 #include <math.h>
67125 int
67126 main ()
67127 {
67128 _hypot(0, 0);
67129 ;
67130 return 0;
67131 }
67132 _ACEOF
67133 if ac_fn_cxx_try_compile "$LINENO"; then :
67134 glibcxx_cv_func__hypot_use=yes
67135 else
67136 glibcxx_cv_func__hypot_use=no
67137 fi
67138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67139 ac_ext=c
67140 ac_cpp='$CPP $CPPFLAGS'
67141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67144
67145
67146 fi
67147
67148 fi
67149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67150 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67151
67152 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67153 for ac_func in _hypot
67154 do :
67155 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67156 if test "x$ac_cv_func__hypot" = x""yes; then :
67157 cat >>confdefs.h <<_ACEOF
67158 #define HAVE__HYPOT 1
67159 _ACEOF
67160
67161 fi
67162 done
67163
67164 fi
67165 fi
67166
67167
67168
67169
67170
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67172 $as_echo_n "checking for float trig functions... " >&6; }
67173 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67174 $as_echo_n "(cached) " >&6
67175 else
67176
67177
67178 ac_ext=cpp
67179 ac_cpp='$CXXCPP $CPPFLAGS'
67180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67183
67184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67185 /* end confdefs.h. */
67186 #include <math.h>
67187 int
67188 main ()
67189 {
67190 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67191 ;
67192 return 0;
67193 }
67194 _ACEOF
67195 if ac_fn_cxx_try_compile "$LINENO"; then :
67196 glibcxx_cv_func_float_trig_use=yes
67197 else
67198 glibcxx_cv_func_float_trig_use=no
67199 fi
67200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67201 ac_ext=c
67202 ac_cpp='$CPP $CPPFLAGS'
67203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67206
67207 fi
67208
67209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67210 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67211 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67212 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67213 do :
67214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67216 eval as_val=\$$as_ac_var
67217 if test "x$as_val" = x""yes; then :
67218 cat >>confdefs.h <<_ACEOF
67219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67220 _ACEOF
67221
67222 fi
67223 done
67224
67225 else
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67227 $as_echo_n "checking for _float trig functions... " >&6; }
67228 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67229 $as_echo_n "(cached) " >&6
67230 else
67231
67232
67233 ac_ext=cpp
67234 ac_cpp='$CXXCPP $CPPFLAGS'
67235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67238
67239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67240 /* end confdefs.h. */
67241 #include <math.h>
67242 int
67243 main ()
67244 {
67245 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67246 ;
67247 return 0;
67248 }
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func__float_trig_use=yes
67252 else
67253 glibcxx_cv_func__float_trig_use=no
67254 fi
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261
67262 fi
67263
67264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67265 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67266 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67267 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67268 do :
67269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67271 eval as_val=\$$as_ac_var
67272 if test "x$as_val" = x""yes; then :
67273 cat >>confdefs.h <<_ACEOF
67274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67275 _ACEOF
67276
67277 fi
67278 done
67279
67280 fi
67281 fi
67282
67283
67284
67285
67286
67287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67288 $as_echo_n "checking for float round functions... " >&6; }
67289 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67290 $as_echo_n "(cached) " >&6
67291 else
67292
67293
67294 ac_ext=cpp
67295 ac_cpp='$CXXCPP $CPPFLAGS'
67296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67299
67300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67301 /* end confdefs.h. */
67302 #include <math.h>
67303 int
67304 main ()
67305 {
67306 ceilf (0); floorf (0);
67307 ;
67308 return 0;
67309 }
67310 _ACEOF
67311 if ac_fn_cxx_try_compile "$LINENO"; then :
67312 glibcxx_cv_func_float_round_use=yes
67313 else
67314 glibcxx_cv_func_float_round_use=no
67315 fi
67316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67317 ac_ext=c
67318 ac_cpp='$CPP $CPPFLAGS'
67319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67322
67323 fi
67324
67325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67326 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67327 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67328 for ac_func in ceilf floorf
67329 do :
67330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67332 eval as_val=\$$as_ac_var
67333 if test "x$as_val" = x""yes; then :
67334 cat >>confdefs.h <<_ACEOF
67335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67336 _ACEOF
67337
67338 fi
67339 done
67340
67341 else
67342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67343 $as_echo_n "checking for _float round functions... " >&6; }
67344 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67345 $as_echo_n "(cached) " >&6
67346 else
67347
67348
67349 ac_ext=cpp
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67354
67355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67356 /* end confdefs.h. */
67357 #include <math.h>
67358 int
67359 main ()
67360 {
67361 _ceilf (0); _floorf (0);
67362 ;
67363 return 0;
67364 }
67365 _ACEOF
67366 if ac_fn_cxx_try_compile "$LINENO"; then :
67367 glibcxx_cv_func__float_round_use=yes
67368 else
67369 glibcxx_cv_func__float_round_use=no
67370 fi
67371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67372 ac_ext=c
67373 ac_cpp='$CPP $CPPFLAGS'
67374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67377
67378 fi
67379
67380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67381 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67382 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67383 for ac_func in _ceilf _floorf
67384 do :
67385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67387 eval as_val=\$$as_ac_var
67388 if test "x$as_val" = x""yes; then :
67389 cat >>confdefs.h <<_ACEOF
67390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67391 _ACEOF
67392
67393 fi
67394 done
67395
67396 fi
67397 fi
67398
67399
67400
67401
67402
67403
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67405 $as_echo_n "checking for expf declaration... " >&6; }
67406 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67407 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67408 $as_echo_n "(cached) " >&6
67409 else
67410
67411
67412 ac_ext=cpp
67413 ac_cpp='$CXXCPP $CPPFLAGS'
67414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67417
67418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67419 /* end confdefs.h. */
67420 #include <math.h>
67421 #ifdef HAVE_IEEEFP_H
67422 #include <ieeefp.h>
67423 #endif
67424
67425 int
67426 main ()
67427 {
67428 expf(0);
67429 ;
67430 return 0;
67431 }
67432 _ACEOF
67433 if ac_fn_cxx_try_compile "$LINENO"; then :
67434 glibcxx_cv_func_expf_use=yes
67435 else
67436 glibcxx_cv_func_expf_use=no
67437 fi
67438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67439 ac_ext=c
67440 ac_cpp='$CPP $CPPFLAGS'
67441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67444
67445
67446 fi
67447
67448 fi
67449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67450 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67451
67452 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67453 for ac_func in expf
67454 do :
67455 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67456 if test "x$ac_cv_func_expf" = x""yes; then :
67457 cat >>confdefs.h <<_ACEOF
67458 #define HAVE_EXPF 1
67459 _ACEOF
67460
67461 fi
67462 done
67463
67464 else
67465
67466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67467 $as_echo_n "checking for _expf declaration... " >&6; }
67468 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67469 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67470 $as_echo_n "(cached) " >&6
67471 else
67472
67473
67474 ac_ext=cpp
67475 ac_cpp='$CXXCPP $CPPFLAGS'
67476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67479
67480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67481 /* end confdefs.h. */
67482 #include <math.h>
67483 #ifdef HAVE_IEEEFP_H
67484 #include <ieeefp.h>
67485 #endif
67486
67487 int
67488 main ()
67489 {
67490 _expf(0);
67491 ;
67492 return 0;
67493 }
67494 _ACEOF
67495 if ac_fn_cxx_try_compile "$LINENO"; then :
67496 glibcxx_cv_func__expf_use=yes
67497 else
67498 glibcxx_cv_func__expf_use=no
67499 fi
67500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67501 ac_ext=c
67502 ac_cpp='$CPP $CPPFLAGS'
67503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67506
67507
67508 fi
67509
67510 fi
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67512 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67513
67514 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67515 for ac_func in _expf
67516 do :
67517 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67518 if test "x$ac_cv_func__expf" = x""yes; then :
67519 cat >>confdefs.h <<_ACEOF
67520 #define HAVE__EXPF 1
67521 _ACEOF
67522
67523 fi
67524 done
67525
67526 fi
67527 fi
67528
67529
67530
67531
67532
67533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67534 $as_echo_n "checking for isnanf declaration... " >&6; }
67535 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67536 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67537 $as_echo_n "(cached) " >&6
67538 else
67539
67540
67541 ac_ext=cpp
67542 ac_cpp='$CXXCPP $CPPFLAGS'
67543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67546
67547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67548 /* end confdefs.h. */
67549 #include <math.h>
67550 #ifdef HAVE_IEEEFP_H
67551 #include <ieeefp.h>
67552 #endif
67553
67554 int
67555 main ()
67556 {
67557 isnanf(0);
67558 ;
67559 return 0;
67560 }
67561 _ACEOF
67562 if ac_fn_cxx_try_compile "$LINENO"; then :
67563 glibcxx_cv_func_isnanf_use=yes
67564 else
67565 glibcxx_cv_func_isnanf_use=no
67566 fi
67567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67568 ac_ext=c
67569 ac_cpp='$CPP $CPPFLAGS'
67570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67573
67574
67575 fi
67576
67577 fi
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67579 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67580
67581 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67582 for ac_func in isnanf
67583 do :
67584 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67585 if test "x$ac_cv_func_isnanf" = x""yes; then :
67586 cat >>confdefs.h <<_ACEOF
67587 #define HAVE_ISNANF 1
67588 _ACEOF
67589
67590 fi
67591 done
67592
67593 else
67594
67595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67596 $as_echo_n "checking for _isnanf declaration... " >&6; }
67597 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67598 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67599 $as_echo_n "(cached) " >&6
67600 else
67601
67602
67603 ac_ext=cpp
67604 ac_cpp='$CXXCPP $CPPFLAGS'
67605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67608
67609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67610 /* end confdefs.h. */
67611 #include <math.h>
67612 #ifdef HAVE_IEEEFP_H
67613 #include <ieeefp.h>
67614 #endif
67615
67616 int
67617 main ()
67618 {
67619 _isnanf(0);
67620 ;
67621 return 0;
67622 }
67623 _ACEOF
67624 if ac_fn_cxx_try_compile "$LINENO"; then :
67625 glibcxx_cv_func__isnanf_use=yes
67626 else
67627 glibcxx_cv_func__isnanf_use=no
67628 fi
67629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67630 ac_ext=c
67631 ac_cpp='$CPP $CPPFLAGS'
67632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67635
67636
67637 fi
67638
67639 fi
67640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67641 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67642
67643 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67644 for ac_func in _isnanf
67645 do :
67646 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67647 if test "x$ac_cv_func__isnanf" = x""yes; then :
67648 cat >>confdefs.h <<_ACEOF
67649 #define HAVE__ISNANF 1
67650 _ACEOF
67651
67652 fi
67653 done
67654
67655 fi
67656 fi
67657
67658
67659
67660
67661
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67663 $as_echo_n "checking for isinff declaration... " >&6; }
67664 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67665 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67666 $as_echo_n "(cached) " >&6
67667 else
67668
67669
67670 ac_ext=cpp
67671 ac_cpp='$CXXCPP $CPPFLAGS'
67672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67675
67676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67677 /* end confdefs.h. */
67678 #include <math.h>
67679 #ifdef HAVE_IEEEFP_H
67680 #include <ieeefp.h>
67681 #endif
67682
67683 int
67684 main ()
67685 {
67686 isinff(0);
67687 ;
67688 return 0;
67689 }
67690 _ACEOF
67691 if ac_fn_cxx_try_compile "$LINENO"; then :
67692 glibcxx_cv_func_isinff_use=yes
67693 else
67694 glibcxx_cv_func_isinff_use=no
67695 fi
67696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67697 ac_ext=c
67698 ac_cpp='$CPP $CPPFLAGS'
67699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67702
67703
67704 fi
67705
67706 fi
67707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67708 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67709
67710 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67711 for ac_func in isinff
67712 do :
67713 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67714 if test "x$ac_cv_func_isinff" = x""yes; then :
67715 cat >>confdefs.h <<_ACEOF
67716 #define HAVE_ISINFF 1
67717 _ACEOF
67718
67719 fi
67720 done
67721
67722 else
67723
67724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67725 $as_echo_n "checking for _isinff declaration... " >&6; }
67726 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67727 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67728 $as_echo_n "(cached) " >&6
67729 else
67730
67731
67732 ac_ext=cpp
67733 ac_cpp='$CXXCPP $CPPFLAGS'
67734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67737
67738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67739 /* end confdefs.h. */
67740 #include <math.h>
67741 #ifdef HAVE_IEEEFP_H
67742 #include <ieeefp.h>
67743 #endif
67744
67745 int
67746 main ()
67747 {
67748 _isinff(0);
67749 ;
67750 return 0;
67751 }
67752 _ACEOF
67753 if ac_fn_cxx_try_compile "$LINENO"; then :
67754 glibcxx_cv_func__isinff_use=yes
67755 else
67756 glibcxx_cv_func__isinff_use=no
67757 fi
67758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67759 ac_ext=c
67760 ac_cpp='$CPP $CPPFLAGS'
67761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67764
67765
67766 fi
67767
67768 fi
67769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67770 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67771
67772 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67773 for ac_func in _isinff
67774 do :
67775 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67776 if test "x$ac_cv_func__isinff" = x""yes; then :
67777 cat >>confdefs.h <<_ACEOF
67778 #define HAVE__ISINFF 1
67779 _ACEOF
67780
67781 fi
67782 done
67783
67784 fi
67785 fi
67786
67787
67788
67789
67790
67791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67792 $as_echo_n "checking for atan2f declaration... " >&6; }
67793 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67794 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67795 $as_echo_n "(cached) " >&6
67796 else
67797
67798
67799 ac_ext=cpp
67800 ac_cpp='$CXXCPP $CPPFLAGS'
67801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67804
67805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67806 /* end confdefs.h. */
67807 #include <math.h>
67808 int
67809 main ()
67810 {
67811 atan2f(0, 0);
67812 ;
67813 return 0;
67814 }
67815 _ACEOF
67816 if ac_fn_cxx_try_compile "$LINENO"; then :
67817 glibcxx_cv_func_atan2f_use=yes
67818 else
67819 glibcxx_cv_func_atan2f_use=no
67820 fi
67821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67822 ac_ext=c
67823 ac_cpp='$CPP $CPPFLAGS'
67824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67827
67828
67829 fi
67830
67831 fi
67832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67833 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67834
67835 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67836 for ac_func in atan2f
67837 do :
67838 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67839 if test "x$ac_cv_func_atan2f" = x""yes; then :
67840 cat >>confdefs.h <<_ACEOF
67841 #define HAVE_ATAN2F 1
67842 _ACEOF
67843
67844 fi
67845 done
67846
67847 else
67848
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67850 $as_echo_n "checking for _atan2f declaration... " >&6; }
67851 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67852 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67853 $as_echo_n "(cached) " >&6
67854 else
67855
67856
67857 ac_ext=cpp
67858 ac_cpp='$CXXCPP $CPPFLAGS'
67859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67862
67863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67864 /* end confdefs.h. */
67865 #include <math.h>
67866 int
67867 main ()
67868 {
67869 _atan2f(0, 0);
67870 ;
67871 return 0;
67872 }
67873 _ACEOF
67874 if ac_fn_cxx_try_compile "$LINENO"; then :
67875 glibcxx_cv_func__atan2f_use=yes
67876 else
67877 glibcxx_cv_func__atan2f_use=no
67878 fi
67879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67880 ac_ext=c
67881 ac_cpp='$CPP $CPPFLAGS'
67882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885
67886
67887 fi
67888
67889 fi
67890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67891 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67892
67893 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67894 for ac_func in _atan2f
67895 do :
67896 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67897 if test "x$ac_cv_func__atan2f" = x""yes; then :
67898 cat >>confdefs.h <<_ACEOF
67899 #define HAVE__ATAN2F 1
67900 _ACEOF
67901
67902 fi
67903 done
67904
67905 fi
67906 fi
67907
67908
67909
67910
67911
67912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67913 $as_echo_n "checking for fabsf declaration... " >&6; }
67914 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67915 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67916 $as_echo_n "(cached) " >&6
67917 else
67918
67919
67920 ac_ext=cpp
67921 ac_cpp='$CXXCPP $CPPFLAGS'
67922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67925
67926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67927 /* end confdefs.h. */
67928 #include <math.h>
67929 #ifdef HAVE_IEEEFP_H
67930 #include <ieeefp.h>
67931 #endif
67932
67933 int
67934 main ()
67935 {
67936 fabsf(0);
67937 ;
67938 return 0;
67939 }
67940 _ACEOF
67941 if ac_fn_cxx_try_compile "$LINENO"; then :
67942 glibcxx_cv_func_fabsf_use=yes
67943 else
67944 glibcxx_cv_func_fabsf_use=no
67945 fi
67946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67947 ac_ext=c
67948 ac_cpp='$CPP $CPPFLAGS'
67949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67952
67953
67954 fi
67955
67956 fi
67957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67958 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67959
67960 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67961 for ac_func in fabsf
67962 do :
67963 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67964 if test "x$ac_cv_func_fabsf" = x""yes; then :
67965 cat >>confdefs.h <<_ACEOF
67966 #define HAVE_FABSF 1
67967 _ACEOF
67968
67969 fi
67970 done
67971
67972 else
67973
67974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67975 $as_echo_n "checking for _fabsf declaration... " >&6; }
67976 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67977 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67978 $as_echo_n "(cached) " >&6
67979 else
67980
67981
67982 ac_ext=cpp
67983 ac_cpp='$CXXCPP $CPPFLAGS'
67984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67987
67988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67989 /* end confdefs.h. */
67990 #include <math.h>
67991 #ifdef HAVE_IEEEFP_H
67992 #include <ieeefp.h>
67993 #endif
67994
67995 int
67996 main ()
67997 {
67998 _fabsf(0);
67999 ;
68000 return 0;
68001 }
68002 _ACEOF
68003 if ac_fn_cxx_try_compile "$LINENO"; then :
68004 glibcxx_cv_func__fabsf_use=yes
68005 else
68006 glibcxx_cv_func__fabsf_use=no
68007 fi
68008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68009 ac_ext=c
68010 ac_cpp='$CPP $CPPFLAGS'
68011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014
68015
68016 fi
68017
68018 fi
68019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68020 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68021
68022 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68023 for ac_func in _fabsf
68024 do :
68025 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68026 if test "x$ac_cv_func__fabsf" = x""yes; then :
68027 cat >>confdefs.h <<_ACEOF
68028 #define HAVE__FABSF 1
68029 _ACEOF
68030
68031 fi
68032 done
68033
68034 fi
68035 fi
68036
68037
68038
68039
68040
68041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68042 $as_echo_n "checking for fmodf declaration... " >&6; }
68043 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68044 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68045 $as_echo_n "(cached) " >&6
68046 else
68047
68048
68049 ac_ext=cpp
68050 ac_cpp='$CXXCPP $CPPFLAGS'
68051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68054
68055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68056 /* end confdefs.h. */
68057 #include <math.h>
68058 int
68059 main ()
68060 {
68061 fmodf(0, 0);
68062 ;
68063 return 0;
68064 }
68065 _ACEOF
68066 if ac_fn_cxx_try_compile "$LINENO"; then :
68067 glibcxx_cv_func_fmodf_use=yes
68068 else
68069 glibcxx_cv_func_fmodf_use=no
68070 fi
68071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68072 ac_ext=c
68073 ac_cpp='$CPP $CPPFLAGS'
68074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077
68078
68079 fi
68080
68081 fi
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68083 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68084
68085 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68086 for ac_func in fmodf
68087 do :
68088 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68089 if test "x$ac_cv_func_fmodf" = x""yes; then :
68090 cat >>confdefs.h <<_ACEOF
68091 #define HAVE_FMODF 1
68092 _ACEOF
68093
68094 fi
68095 done
68096
68097 else
68098
68099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68100 $as_echo_n "checking for _fmodf declaration... " >&6; }
68101 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68102 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68103 $as_echo_n "(cached) " >&6
68104 else
68105
68106
68107 ac_ext=cpp
68108 ac_cpp='$CXXCPP $CPPFLAGS'
68109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68112
68113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68114 /* end confdefs.h. */
68115 #include <math.h>
68116 int
68117 main ()
68118 {
68119 _fmodf(0, 0);
68120 ;
68121 return 0;
68122 }
68123 _ACEOF
68124 if ac_fn_cxx_try_compile "$LINENO"; then :
68125 glibcxx_cv_func__fmodf_use=yes
68126 else
68127 glibcxx_cv_func__fmodf_use=no
68128 fi
68129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68130 ac_ext=c
68131 ac_cpp='$CPP $CPPFLAGS'
68132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68135
68136
68137 fi
68138
68139 fi
68140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68141 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68142
68143 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68144 for ac_func in _fmodf
68145 do :
68146 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68147 if test "x$ac_cv_func__fmodf" = x""yes; then :
68148 cat >>confdefs.h <<_ACEOF
68149 #define HAVE__FMODF 1
68150 _ACEOF
68151
68152 fi
68153 done
68154
68155 fi
68156 fi
68157
68158
68159
68160
68161
68162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68163 $as_echo_n "checking for frexpf declaration... " >&6; }
68164 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68165 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68166 $as_echo_n "(cached) " >&6
68167 else
68168
68169
68170 ac_ext=cpp
68171 ac_cpp='$CXXCPP $CPPFLAGS'
68172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68175
68176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68177 /* end confdefs.h. */
68178 #include <math.h>
68179 int
68180 main ()
68181 {
68182 frexpf(0, 0);
68183 ;
68184 return 0;
68185 }
68186 _ACEOF
68187 if ac_fn_cxx_try_compile "$LINENO"; then :
68188 glibcxx_cv_func_frexpf_use=yes
68189 else
68190 glibcxx_cv_func_frexpf_use=no
68191 fi
68192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68193 ac_ext=c
68194 ac_cpp='$CPP $CPPFLAGS'
68195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68198
68199
68200 fi
68201
68202 fi
68203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68204 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68205
68206 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68207 for ac_func in frexpf
68208 do :
68209 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68210 if test "x$ac_cv_func_frexpf" = x""yes; then :
68211 cat >>confdefs.h <<_ACEOF
68212 #define HAVE_FREXPF 1
68213 _ACEOF
68214
68215 fi
68216 done
68217
68218 else
68219
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68221 $as_echo_n "checking for _frexpf declaration... " >&6; }
68222 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68223 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68224 $as_echo_n "(cached) " >&6
68225 else
68226
68227
68228 ac_ext=cpp
68229 ac_cpp='$CXXCPP $CPPFLAGS'
68230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68233
68234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68235 /* end confdefs.h. */
68236 #include <math.h>
68237 int
68238 main ()
68239 {
68240 _frexpf(0, 0);
68241 ;
68242 return 0;
68243 }
68244 _ACEOF
68245 if ac_fn_cxx_try_compile "$LINENO"; then :
68246 glibcxx_cv_func__frexpf_use=yes
68247 else
68248 glibcxx_cv_func__frexpf_use=no
68249 fi
68250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68251 ac_ext=c
68252 ac_cpp='$CPP $CPPFLAGS'
68253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68256
68257
68258 fi
68259
68260 fi
68261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68262 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68263
68264 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68265 for ac_func in _frexpf
68266 do :
68267 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68268 if test "x$ac_cv_func__frexpf" = x""yes; then :
68269 cat >>confdefs.h <<_ACEOF
68270 #define HAVE__FREXPF 1
68271 _ACEOF
68272
68273 fi
68274 done
68275
68276 fi
68277 fi
68278
68279
68280
68281
68282
68283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68284 $as_echo_n "checking for hypotf declaration... " >&6; }
68285 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68286 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68287 $as_echo_n "(cached) " >&6
68288 else
68289
68290
68291 ac_ext=cpp
68292 ac_cpp='$CXXCPP $CPPFLAGS'
68293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68296
68297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68298 /* end confdefs.h. */
68299 #include <math.h>
68300 int
68301 main ()
68302 {
68303 hypotf(0, 0);
68304 ;
68305 return 0;
68306 }
68307 _ACEOF
68308 if ac_fn_cxx_try_compile "$LINENO"; then :
68309 glibcxx_cv_func_hypotf_use=yes
68310 else
68311 glibcxx_cv_func_hypotf_use=no
68312 fi
68313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68314 ac_ext=c
68315 ac_cpp='$CPP $CPPFLAGS'
68316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68319
68320
68321 fi
68322
68323 fi
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68325 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68326
68327 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68328 for ac_func in hypotf
68329 do :
68330 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68331 if test "x$ac_cv_func_hypotf" = x""yes; then :
68332 cat >>confdefs.h <<_ACEOF
68333 #define HAVE_HYPOTF 1
68334 _ACEOF
68335
68336 fi
68337 done
68338
68339 else
68340
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68342 $as_echo_n "checking for _hypotf declaration... " >&6; }
68343 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68344 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68345 $as_echo_n "(cached) " >&6
68346 else
68347
68348
68349 ac_ext=cpp
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68354
68355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68356 /* end confdefs.h. */
68357 #include <math.h>
68358 int
68359 main ()
68360 {
68361 _hypotf(0, 0);
68362 ;
68363 return 0;
68364 }
68365 _ACEOF
68366 if ac_fn_cxx_try_compile "$LINENO"; then :
68367 glibcxx_cv_func__hypotf_use=yes
68368 else
68369 glibcxx_cv_func__hypotf_use=no
68370 fi
68371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68372 ac_ext=c
68373 ac_cpp='$CPP $CPPFLAGS'
68374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68377
68378
68379 fi
68380
68381 fi
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68383 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68384
68385 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68386 for ac_func in _hypotf
68387 do :
68388 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68389 if test "x$ac_cv_func__hypotf" = x""yes; then :
68390 cat >>confdefs.h <<_ACEOF
68391 #define HAVE__HYPOTF 1
68392 _ACEOF
68393
68394 fi
68395 done
68396
68397 fi
68398 fi
68399
68400
68401
68402
68403
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68405 $as_echo_n "checking for ldexpf declaration... " >&6; }
68406 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68407 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68408 $as_echo_n "(cached) " >&6
68409 else
68410
68411
68412 ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417
68418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h. */
68420 #include <math.h>
68421 int
68422 main ()
68423 {
68424 ldexpf(0, 0);
68425 ;
68426 return 0;
68427 }
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func_ldexpf_use=yes
68431 else
68432 glibcxx_cv_func_ldexpf_use=no
68433 fi
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68440
68441
68442 fi
68443
68444 fi
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68446 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68447
68448 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68449 for ac_func in ldexpf
68450 do :
68451 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68452 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68453 cat >>confdefs.h <<_ACEOF
68454 #define HAVE_LDEXPF 1
68455 _ACEOF
68456
68457 fi
68458 done
68459
68460 else
68461
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68463 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68464 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68465 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68466 $as_echo_n "(cached) " >&6
68467 else
68468
68469
68470 ac_ext=cpp
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68475
68476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68477 /* end confdefs.h. */
68478 #include <math.h>
68479 int
68480 main ()
68481 {
68482 _ldexpf(0, 0);
68483 ;
68484 return 0;
68485 }
68486 _ACEOF
68487 if ac_fn_cxx_try_compile "$LINENO"; then :
68488 glibcxx_cv_func__ldexpf_use=yes
68489 else
68490 glibcxx_cv_func__ldexpf_use=no
68491 fi
68492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68498
68499
68500 fi
68501
68502 fi
68503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68504 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68505
68506 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68507 for ac_func in _ldexpf
68508 do :
68509 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68510 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68511 cat >>confdefs.h <<_ACEOF
68512 #define HAVE__LDEXPF 1
68513 _ACEOF
68514
68515 fi
68516 done
68517
68518 fi
68519 fi
68520
68521
68522
68523
68524
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68526 $as_echo_n "checking for logf declaration... " >&6; }
68527 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68528 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68531
68532
68533 ac_ext=cpp
68534 ac_cpp='$CXXCPP $CPPFLAGS'
68535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68538
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68541 #include <math.h>
68542 #ifdef HAVE_IEEEFP_H
68543 #include <ieeefp.h>
68544 #endif
68545
68546 int
68547 main ()
68548 {
68549 logf(0);
68550 ;
68551 return 0;
68552 }
68553 _ACEOF
68554 if ac_fn_cxx_try_compile "$LINENO"; then :
68555 glibcxx_cv_func_logf_use=yes
68556 else
68557 glibcxx_cv_func_logf_use=no
68558 fi
68559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68560 ac_ext=c
68561 ac_cpp='$CPP $CPPFLAGS'
68562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68565
68566
68567 fi
68568
68569 fi
68570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68571 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68572
68573 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68574 for ac_func in logf
68575 do :
68576 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68577 if test "x$ac_cv_func_logf" = x""yes; then :
68578 cat >>confdefs.h <<_ACEOF
68579 #define HAVE_LOGF 1
68580 _ACEOF
68581
68582 fi
68583 done
68584
68585 else
68586
68587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68588 $as_echo_n "checking for _logf declaration... " >&6; }
68589 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68590 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68591 $as_echo_n "(cached) " >&6
68592 else
68593
68594
68595 ac_ext=cpp
68596 ac_cpp='$CXXCPP $CPPFLAGS'
68597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68600
68601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68602 /* end confdefs.h. */
68603 #include <math.h>
68604 #ifdef HAVE_IEEEFP_H
68605 #include <ieeefp.h>
68606 #endif
68607
68608 int
68609 main ()
68610 {
68611 _logf(0);
68612 ;
68613 return 0;
68614 }
68615 _ACEOF
68616 if ac_fn_cxx_try_compile "$LINENO"; then :
68617 glibcxx_cv_func__logf_use=yes
68618 else
68619 glibcxx_cv_func__logf_use=no
68620 fi
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68622 ac_ext=c
68623 ac_cpp='$CPP $CPPFLAGS'
68624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68627
68628
68629 fi
68630
68631 fi
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68633 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68634
68635 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68636 for ac_func in _logf
68637 do :
68638 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68639 if test "x$ac_cv_func__logf" = x""yes; then :
68640 cat >>confdefs.h <<_ACEOF
68641 #define HAVE__LOGF 1
68642 _ACEOF
68643
68644 fi
68645 done
68646
68647 fi
68648 fi
68649
68650
68651
68652
68653
68654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68655 $as_echo_n "checking for log10f declaration... " >&6; }
68656 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68657 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68658 $as_echo_n "(cached) " >&6
68659 else
68660
68661
68662 ac_ext=cpp
68663 ac_cpp='$CXXCPP $CPPFLAGS'
68664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68667
68668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68669 /* end confdefs.h. */
68670 #include <math.h>
68671 #ifdef HAVE_IEEEFP_H
68672 #include <ieeefp.h>
68673 #endif
68674
68675 int
68676 main ()
68677 {
68678 log10f(0);
68679 ;
68680 return 0;
68681 }
68682 _ACEOF
68683 if ac_fn_cxx_try_compile "$LINENO"; then :
68684 glibcxx_cv_func_log10f_use=yes
68685 else
68686 glibcxx_cv_func_log10f_use=no
68687 fi
68688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68689 ac_ext=c
68690 ac_cpp='$CPP $CPPFLAGS'
68691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68694
68695
68696 fi
68697
68698 fi
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68700 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68701
68702 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68703 for ac_func in log10f
68704 do :
68705 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68706 if test "x$ac_cv_func_log10f" = x""yes; then :
68707 cat >>confdefs.h <<_ACEOF
68708 #define HAVE_LOG10F 1
68709 _ACEOF
68710
68711 fi
68712 done
68713
68714 else
68715
68716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68717 $as_echo_n "checking for _log10f declaration... " >&6; }
68718 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68719 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68720 $as_echo_n "(cached) " >&6
68721 else
68722
68723
68724 ac_ext=cpp
68725 ac_cpp='$CXXCPP $CPPFLAGS'
68726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68729
68730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68731 /* end confdefs.h. */
68732 #include <math.h>
68733 #ifdef HAVE_IEEEFP_H
68734 #include <ieeefp.h>
68735 #endif
68736
68737 int
68738 main ()
68739 {
68740 _log10f(0);
68741 ;
68742 return 0;
68743 }
68744 _ACEOF
68745 if ac_fn_cxx_try_compile "$LINENO"; then :
68746 glibcxx_cv_func__log10f_use=yes
68747 else
68748 glibcxx_cv_func__log10f_use=no
68749 fi
68750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68751 ac_ext=c
68752 ac_cpp='$CPP $CPPFLAGS'
68753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68756
68757
68758 fi
68759
68760 fi
68761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68762 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68763
68764 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68765 for ac_func in _log10f
68766 do :
68767 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68768 if test "x$ac_cv_func__log10f" = x""yes; then :
68769 cat >>confdefs.h <<_ACEOF
68770 #define HAVE__LOG10F 1
68771 _ACEOF
68772
68773 fi
68774 done
68775
68776 fi
68777 fi
68778
68779
68780
68781
68782
68783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68784 $as_echo_n "checking for modff declaration... " >&6; }
68785 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68786 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68787 $as_echo_n "(cached) " >&6
68788 else
68789
68790
68791 ac_ext=cpp
68792 ac_cpp='$CXXCPP $CPPFLAGS'
68793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68796
68797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68798 /* end confdefs.h. */
68799 #include <math.h>
68800 int
68801 main ()
68802 {
68803 modff(0, 0);
68804 ;
68805 return 0;
68806 }
68807 _ACEOF
68808 if ac_fn_cxx_try_compile "$LINENO"; then :
68809 glibcxx_cv_func_modff_use=yes
68810 else
68811 glibcxx_cv_func_modff_use=no
68812 fi
68813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68814 ac_ext=c
68815 ac_cpp='$CPP $CPPFLAGS'
68816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68819
68820
68821 fi
68822
68823 fi
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68825 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68826
68827 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68828 for ac_func in modff
68829 do :
68830 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68831 if test "x$ac_cv_func_modff" = x""yes; then :
68832 cat >>confdefs.h <<_ACEOF
68833 #define HAVE_MODFF 1
68834 _ACEOF
68835
68836 fi
68837 done
68838
68839 else
68840
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68842 $as_echo_n "checking for _modff declaration... " >&6; }
68843 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68844 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68845 $as_echo_n "(cached) " >&6
68846 else
68847
68848
68849 ac_ext=cpp
68850 ac_cpp='$CXXCPP $CPPFLAGS'
68851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68854
68855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68856 /* end confdefs.h. */
68857 #include <math.h>
68858 int
68859 main ()
68860 {
68861 _modff(0, 0);
68862 ;
68863 return 0;
68864 }
68865 _ACEOF
68866 if ac_fn_cxx_try_compile "$LINENO"; then :
68867 glibcxx_cv_func__modff_use=yes
68868 else
68869 glibcxx_cv_func__modff_use=no
68870 fi
68871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68872 ac_ext=c
68873 ac_cpp='$CPP $CPPFLAGS'
68874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68877
68878
68879 fi
68880
68881 fi
68882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68883 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68884
68885 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68886 for ac_func in _modff
68887 do :
68888 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68889 if test "x$ac_cv_func__modff" = x""yes; then :
68890 cat >>confdefs.h <<_ACEOF
68891 #define HAVE__MODFF 1
68892 _ACEOF
68893
68894 fi
68895 done
68896
68897 fi
68898 fi
68899
68900
68901
68902
68903
68904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68905 $as_echo_n "checking for modf declaration... " >&6; }
68906 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68907 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68908 $as_echo_n "(cached) " >&6
68909 else
68910
68911
68912 ac_ext=cpp
68913 ac_cpp='$CXXCPP $CPPFLAGS'
68914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68917
68918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68919 /* end confdefs.h. */
68920 #include <math.h>
68921 int
68922 main ()
68923 {
68924 modf(0, 0);
68925 ;
68926 return 0;
68927 }
68928 _ACEOF
68929 if ac_fn_cxx_try_compile "$LINENO"; then :
68930 glibcxx_cv_func_modf_use=yes
68931 else
68932 glibcxx_cv_func_modf_use=no
68933 fi
68934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68935 ac_ext=c
68936 ac_cpp='$CPP $CPPFLAGS'
68937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68940
68941
68942 fi
68943
68944 fi
68945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68946 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68947
68948 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68949 for ac_func in modf
68950 do :
68951 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68952 if test "x$ac_cv_func_modf" = x""yes; then :
68953 cat >>confdefs.h <<_ACEOF
68954 #define HAVE_MODF 1
68955 _ACEOF
68956
68957 fi
68958 done
68959
68960 else
68961
68962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68963 $as_echo_n "checking for _modf declaration... " >&6; }
68964 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68965 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68966 $as_echo_n "(cached) " >&6
68967 else
68968
68969
68970 ac_ext=cpp
68971 ac_cpp='$CXXCPP $CPPFLAGS'
68972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68975
68976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68977 /* end confdefs.h. */
68978 #include <math.h>
68979 int
68980 main ()
68981 {
68982 _modf(0, 0);
68983 ;
68984 return 0;
68985 }
68986 _ACEOF
68987 if ac_fn_cxx_try_compile "$LINENO"; then :
68988 glibcxx_cv_func__modf_use=yes
68989 else
68990 glibcxx_cv_func__modf_use=no
68991 fi
68992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68993 ac_ext=c
68994 ac_cpp='$CPP $CPPFLAGS'
68995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68998
68999
69000 fi
69001
69002 fi
69003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69004 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69005
69006 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69007 for ac_func in _modf
69008 do :
69009 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69010 if test "x$ac_cv_func__modf" = x""yes; then :
69011 cat >>confdefs.h <<_ACEOF
69012 #define HAVE__MODF 1
69013 _ACEOF
69014
69015 fi
69016 done
69017
69018 fi
69019 fi
69020
69021
69022
69023
69024
69025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69026 $as_echo_n "checking for powf declaration... " >&6; }
69027 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69028 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69029 $as_echo_n "(cached) " >&6
69030 else
69031
69032
69033 ac_ext=cpp
69034 ac_cpp='$CXXCPP $CPPFLAGS'
69035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69038
69039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69040 /* end confdefs.h. */
69041 #include <math.h>
69042 int
69043 main ()
69044 {
69045 powf(0, 0);
69046 ;
69047 return 0;
69048 }
69049 _ACEOF
69050 if ac_fn_cxx_try_compile "$LINENO"; then :
69051 glibcxx_cv_func_powf_use=yes
69052 else
69053 glibcxx_cv_func_powf_use=no
69054 fi
69055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69061
69062
69063 fi
69064
69065 fi
69066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69067 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69068
69069 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69070 for ac_func in powf
69071 do :
69072 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69073 if test "x$ac_cv_func_powf" = x""yes; then :
69074 cat >>confdefs.h <<_ACEOF
69075 #define HAVE_POWF 1
69076 _ACEOF
69077
69078 fi
69079 done
69080
69081 else
69082
69083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69084 $as_echo_n "checking for _powf declaration... " >&6; }
69085 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69086 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69087 $as_echo_n "(cached) " >&6
69088 else
69089
69090
69091 ac_ext=cpp
69092 ac_cpp='$CXXCPP $CPPFLAGS'
69093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096
69097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69098 /* end confdefs.h. */
69099 #include <math.h>
69100 int
69101 main ()
69102 {
69103 _powf(0, 0);
69104 ;
69105 return 0;
69106 }
69107 _ACEOF
69108 if ac_fn_cxx_try_compile "$LINENO"; then :
69109 glibcxx_cv_func__powf_use=yes
69110 else
69111 glibcxx_cv_func__powf_use=no
69112 fi
69113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69114 ac_ext=c
69115 ac_cpp='$CPP $CPPFLAGS'
69116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69119
69120
69121 fi
69122
69123 fi
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69125 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69126
69127 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69128 for ac_func in _powf
69129 do :
69130 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69131 if test "x$ac_cv_func__powf" = x""yes; then :
69132 cat >>confdefs.h <<_ACEOF
69133 #define HAVE__POWF 1
69134 _ACEOF
69135
69136 fi
69137 done
69138
69139 fi
69140 fi
69141
69142
69143
69144
69145
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69147 $as_echo_n "checking for sqrtf declaration... " >&6; }
69148 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69149 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69152
69153
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69163 #ifdef HAVE_IEEEFP_H
69164 #include <ieeefp.h>
69165 #endif
69166
69167 int
69168 main ()
69169 {
69170 sqrtf(0);
69171 ;
69172 return 0;
69173 }
69174 _ACEOF
69175 if ac_fn_cxx_try_compile "$LINENO"; then :
69176 glibcxx_cv_func_sqrtf_use=yes
69177 else
69178 glibcxx_cv_func_sqrtf_use=no
69179 fi
69180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69181 ac_ext=c
69182 ac_cpp='$CPP $CPPFLAGS'
69183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69186
69187
69188 fi
69189
69190 fi
69191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69192 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69193
69194 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69195 for ac_func in sqrtf
69196 do :
69197 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69198 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69199 cat >>confdefs.h <<_ACEOF
69200 #define HAVE_SQRTF 1
69201 _ACEOF
69202
69203 fi
69204 done
69205
69206 else
69207
69208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69209 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69210 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69211 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69212 $as_echo_n "(cached) " >&6
69213 else
69214
69215
69216 ac_ext=cpp
69217 ac_cpp='$CXXCPP $CPPFLAGS'
69218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69221
69222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69223 /* end confdefs.h. */
69224 #include <math.h>
69225 #ifdef HAVE_IEEEFP_H
69226 #include <ieeefp.h>
69227 #endif
69228
69229 int
69230 main ()
69231 {
69232 _sqrtf(0);
69233 ;
69234 return 0;
69235 }
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238 glibcxx_cv_func__sqrtf_use=yes
69239 else
69240 glibcxx_cv_func__sqrtf_use=no
69241 fi
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69248
69249
69250 fi
69251
69252 fi
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69254 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69255
69256 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69257 for ac_func in _sqrtf
69258 do :
69259 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69260 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69261 cat >>confdefs.h <<_ACEOF
69262 #define HAVE__SQRTF 1
69263 _ACEOF
69264
69265 fi
69266 done
69267
69268 fi
69269 fi
69270
69271
69272
69273
69274
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69276 $as_echo_n "checking for sincosf declaration... " >&6; }
69277 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69278 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69279 $as_echo_n "(cached) " >&6
69280 else
69281
69282
69283 ac_ext=cpp
69284 ac_cpp='$CXXCPP $CPPFLAGS'
69285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69288
69289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69290 /* end confdefs.h. */
69291 #include <math.h>
69292 int
69293 main ()
69294 {
69295 sincosf(0, 0, 0);
69296 ;
69297 return 0;
69298 }
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func_sincosf_use=yes
69302 else
69303 glibcxx_cv_func_sincosf_use=no
69304 fi
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312
69313 fi
69314
69315 fi
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69317 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69318
69319 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69320 for ac_func in sincosf
69321 do :
69322 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69323 if test "x$ac_cv_func_sincosf" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE_SINCOSF 1
69326 _ACEOF
69327
69328 fi
69329 done
69330
69331 else
69332
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69334 $as_echo_n "checking for _sincosf declaration... " >&6; }
69335 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69336 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69337 $as_echo_n "(cached) " >&6
69338 else
69339
69340
69341 ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69346
69347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h. */
69349 #include <math.h>
69350 int
69351 main ()
69352 {
69353 _sincosf(0, 0, 0);
69354 ;
69355 return 0;
69356 }
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func__sincosf_use=yes
69360 else
69361 glibcxx_cv_func__sincosf_use=no
69362 fi
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69369
69370
69371 fi
69372
69373 fi
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69375 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69376
69377 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69378 for ac_func in _sincosf
69379 do :
69380 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69381 if test "x$ac_cv_func__sincosf" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE__SINCOSF 1
69384 _ACEOF
69385
69386 fi
69387 done
69388
69389 fi
69390 fi
69391
69392
69393
69394
69395
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69397 $as_echo_n "checking for finitef declaration... " >&6; }
69398 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69399 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69400 $as_echo_n "(cached) " >&6
69401 else
69402
69403
69404 ac_ext=cpp
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69409
69410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69411 /* end confdefs.h. */
69412 #include <math.h>
69413 #ifdef HAVE_IEEEFP_H
69414 #include <ieeefp.h>
69415 #endif
69416
69417 int
69418 main ()
69419 {
69420 finitef(0);
69421 ;
69422 return 0;
69423 }
69424 _ACEOF
69425 if ac_fn_cxx_try_compile "$LINENO"; then :
69426 glibcxx_cv_func_finitef_use=yes
69427 else
69428 glibcxx_cv_func_finitef_use=no
69429 fi
69430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69431 ac_ext=c
69432 ac_cpp='$CPP $CPPFLAGS'
69433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69436
69437
69438 fi
69439
69440 fi
69441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69442 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69443
69444 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69445 for ac_func in finitef
69446 do :
69447 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69448 if test "x$ac_cv_func_finitef" = x""yes; then :
69449 cat >>confdefs.h <<_ACEOF
69450 #define HAVE_FINITEF 1
69451 _ACEOF
69452
69453 fi
69454 done
69455
69456 else
69457
69458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69459 $as_echo_n "checking for _finitef declaration... " >&6; }
69460 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69461 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69462 $as_echo_n "(cached) " >&6
69463 else
69464
69465
69466 ac_ext=cpp
69467 ac_cpp='$CXXCPP $CPPFLAGS'
69468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69471
69472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69473 /* end confdefs.h. */
69474 #include <math.h>
69475 #ifdef HAVE_IEEEFP_H
69476 #include <ieeefp.h>
69477 #endif
69478
69479 int
69480 main ()
69481 {
69482 _finitef(0);
69483 ;
69484 return 0;
69485 }
69486 _ACEOF
69487 if ac_fn_cxx_try_compile "$LINENO"; then :
69488 glibcxx_cv_func__finitef_use=yes
69489 else
69490 glibcxx_cv_func__finitef_use=no
69491 fi
69492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69493 ac_ext=c
69494 ac_cpp='$CPP $CPPFLAGS'
69495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69498
69499
69500 fi
69501
69502 fi
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69504 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69505
69506 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69507 for ac_func in _finitef
69508 do :
69509 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69510 if test "x$ac_cv_func__finitef" = x""yes; then :
69511 cat >>confdefs.h <<_ACEOF
69512 #define HAVE__FINITEF 1
69513 _ACEOF
69514
69515 fi
69516 done
69517
69518 fi
69519 fi
69520
69521
69522
69523
69524
69525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69526 $as_echo_n "checking for long double trig functions... " >&6; }
69527 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69528 $as_echo_n "(cached) " >&6
69529 else
69530
69531
69532 ac_ext=cpp
69533 ac_cpp='$CXXCPP $CPPFLAGS'
69534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69537
69538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69539 /* end confdefs.h. */
69540 #include <math.h>
69541 int
69542 main ()
69543 {
69544 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69545 ;
69546 return 0;
69547 }
69548 _ACEOF
69549 if ac_fn_cxx_try_compile "$LINENO"; then :
69550 glibcxx_cv_func_long_double_trig_use=yes
69551 else
69552 glibcxx_cv_func_long_double_trig_use=no
69553 fi
69554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69555 ac_ext=c
69556 ac_cpp='$CPP $CPPFLAGS'
69557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69560
69561 fi
69562
69563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69564 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69565 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69566 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69567 do :
69568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69570 eval as_val=\$$as_ac_var
69571 if test "x$as_val" = x""yes; then :
69572 cat >>confdefs.h <<_ACEOF
69573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69574 _ACEOF
69575
69576 fi
69577 done
69578
69579 else
69580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69581 $as_echo_n "checking for _long double trig functions... " >&6; }
69582 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69583 $as_echo_n "(cached) " >&6
69584 else
69585
69586
69587 ac_ext=cpp
69588 ac_cpp='$CXXCPP $CPPFLAGS'
69589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69592
69593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69594 /* end confdefs.h. */
69595 #include <math.h>
69596 int
69597 main ()
69598 {
69599 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69600 ;
69601 return 0;
69602 }
69603 _ACEOF
69604 if ac_fn_cxx_try_compile "$LINENO"; then :
69605 glibcxx_cv_func__long_double_trig_use=yes
69606 else
69607 glibcxx_cv_func__long_double_trig_use=no
69608 fi
69609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69615
69616 fi
69617
69618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69619 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69620 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69621 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69622 do :
69623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69625 eval as_val=\$$as_ac_var
69626 if test "x$as_val" = x""yes; then :
69627 cat >>confdefs.h <<_ACEOF
69628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69629 _ACEOF
69630
69631 fi
69632 done
69633
69634 fi
69635 fi
69636
69637
69638
69639
69640
69641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69642 $as_echo_n "checking for long double round functions... " >&6; }
69643 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69644 $as_echo_n "(cached) " >&6
69645 else
69646
69647
69648 ac_ext=cpp
69649 ac_cpp='$CXXCPP $CPPFLAGS'
69650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69653
69654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69655 /* end confdefs.h. */
69656 #include <math.h>
69657 int
69658 main ()
69659 {
69660 ceill (0); floorl (0);
69661 ;
69662 return 0;
69663 }
69664 _ACEOF
69665 if ac_fn_cxx_try_compile "$LINENO"; then :
69666 glibcxx_cv_func_long_double_round_use=yes
69667 else
69668 glibcxx_cv_func_long_double_round_use=no
69669 fi
69670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69671 ac_ext=c
69672 ac_cpp='$CPP $CPPFLAGS'
69673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69676
69677 fi
69678
69679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69680 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69681 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69682 for ac_func in ceill floorl
69683 do :
69684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69686 eval as_val=\$$as_ac_var
69687 if test "x$as_val" = x""yes; then :
69688 cat >>confdefs.h <<_ACEOF
69689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69690 _ACEOF
69691
69692 fi
69693 done
69694
69695 else
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69697 $as_echo_n "checking for _long double round functions... " >&6; }
69698 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69699 $as_echo_n "(cached) " >&6
69700 else
69701
69702
69703 ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69708
69709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h. */
69711 #include <math.h>
69712 int
69713 main ()
69714 {
69715 _ceill (0); _floorl (0);
69716 ;
69717 return 0;
69718 }
69719 _ACEOF
69720 if ac_fn_cxx_try_compile "$LINENO"; then :
69721 glibcxx_cv_func__long_double_round_use=yes
69722 else
69723 glibcxx_cv_func__long_double_round_use=no
69724 fi
69725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69726 ac_ext=c
69727 ac_cpp='$CPP $CPPFLAGS'
69728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69731
69732 fi
69733
69734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69735 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69736 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69737 for ac_func in _ceill _floorl
69738 do :
69739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69741 eval as_val=\$$as_ac_var
69742 if test "x$as_val" = x""yes; then :
69743 cat >>confdefs.h <<_ACEOF
69744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69745 _ACEOF
69746
69747 fi
69748 done
69749
69750 fi
69751 fi
69752
69753
69754
69755
69756
69757
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69759 $as_echo_n "checking for isnanl declaration... " >&6; }
69760 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69761 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69762 $as_echo_n "(cached) " >&6
69763 else
69764
69765
69766 ac_ext=cpp
69767 ac_cpp='$CXXCPP $CPPFLAGS'
69768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69771
69772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69773 /* end confdefs.h. */
69774 #include <math.h>
69775 #ifdef HAVE_IEEEFP_H
69776 #include <ieeefp.h>
69777 #endif
69778
69779 int
69780 main ()
69781 {
69782 isnanl(0);
69783 ;
69784 return 0;
69785 }
69786 _ACEOF
69787 if ac_fn_cxx_try_compile "$LINENO"; then :
69788 glibcxx_cv_func_isnanl_use=yes
69789 else
69790 glibcxx_cv_func_isnanl_use=no
69791 fi
69792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69793 ac_ext=c
69794 ac_cpp='$CPP $CPPFLAGS'
69795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69798
69799
69800 fi
69801
69802 fi
69803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69804 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69805
69806 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69807 for ac_func in isnanl
69808 do :
69809 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69810 if test "x$ac_cv_func_isnanl" = x""yes; then :
69811 cat >>confdefs.h <<_ACEOF
69812 #define HAVE_ISNANL 1
69813 _ACEOF
69814
69815 fi
69816 done
69817
69818 else
69819
69820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69821 $as_echo_n "checking for _isnanl declaration... " >&6; }
69822 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69823 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69824 $as_echo_n "(cached) " >&6
69825 else
69826
69827
69828 ac_ext=cpp
69829 ac_cpp='$CXXCPP $CPPFLAGS'
69830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69833
69834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69835 /* end confdefs.h. */
69836 #include <math.h>
69837 #ifdef HAVE_IEEEFP_H
69838 #include <ieeefp.h>
69839 #endif
69840
69841 int
69842 main ()
69843 {
69844 _isnanl(0);
69845 ;
69846 return 0;
69847 }
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850 glibcxx_cv_func__isnanl_use=yes
69851 else
69852 glibcxx_cv_func__isnanl_use=no
69853 fi
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69860
69861
69862 fi
69863
69864 fi
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69866 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69867
69868 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69869 for ac_func in _isnanl
69870 do :
69871 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69872 if test "x$ac_cv_func__isnanl" = x""yes; then :
69873 cat >>confdefs.h <<_ACEOF
69874 #define HAVE__ISNANL 1
69875 _ACEOF
69876
69877 fi
69878 done
69879
69880 fi
69881 fi
69882
69883
69884
69885
69886
69887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69888 $as_echo_n "checking for isinfl declaration... " >&6; }
69889 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69890 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69891 $as_echo_n "(cached) " >&6
69892 else
69893
69894
69895 ac_ext=cpp
69896 ac_cpp='$CXXCPP $CPPFLAGS'
69897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69900
69901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69902 /* end confdefs.h. */
69903 #include <math.h>
69904 #ifdef HAVE_IEEEFP_H
69905 #include <ieeefp.h>
69906 #endif
69907
69908 int
69909 main ()
69910 {
69911 isinfl(0);
69912 ;
69913 return 0;
69914 }
69915 _ACEOF
69916 if ac_fn_cxx_try_compile "$LINENO"; then :
69917 glibcxx_cv_func_isinfl_use=yes
69918 else
69919 glibcxx_cv_func_isinfl_use=no
69920 fi
69921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69922 ac_ext=c
69923 ac_cpp='$CPP $CPPFLAGS'
69924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69927
69928
69929 fi
69930
69931 fi
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69933 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69934
69935 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69936 for ac_func in isinfl
69937 do :
69938 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69939 if test "x$ac_cv_func_isinfl" = x""yes; then :
69940 cat >>confdefs.h <<_ACEOF
69941 #define HAVE_ISINFL 1
69942 _ACEOF
69943
69944 fi
69945 done
69946
69947 else
69948
69949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69950 $as_echo_n "checking for _isinfl declaration... " >&6; }
69951 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69952 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69953 $as_echo_n "(cached) " >&6
69954 else
69955
69956
69957 ac_ext=cpp
69958 ac_cpp='$CXXCPP $CPPFLAGS'
69959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69962
69963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69964 /* end confdefs.h. */
69965 #include <math.h>
69966 #ifdef HAVE_IEEEFP_H
69967 #include <ieeefp.h>
69968 #endif
69969
69970 int
69971 main ()
69972 {
69973 _isinfl(0);
69974 ;
69975 return 0;
69976 }
69977 _ACEOF
69978 if ac_fn_cxx_try_compile "$LINENO"; then :
69979 glibcxx_cv_func__isinfl_use=yes
69980 else
69981 glibcxx_cv_func__isinfl_use=no
69982 fi
69983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69984 ac_ext=c
69985 ac_cpp='$CPP $CPPFLAGS'
69986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69989
69990
69991 fi
69992
69993 fi
69994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69995 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69996
69997 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69998 for ac_func in _isinfl
69999 do :
70000 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70001 if test "x$ac_cv_func__isinfl" = x""yes; then :
70002 cat >>confdefs.h <<_ACEOF
70003 #define HAVE__ISINFL 1
70004 _ACEOF
70005
70006 fi
70007 done
70008
70009 fi
70010 fi
70011
70012
70013
70014
70015
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70017 $as_echo_n "checking for atan2l declaration... " >&6; }
70018 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70019 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70020 $as_echo_n "(cached) " >&6
70021 else
70022
70023
70024 ac_ext=cpp
70025 ac_cpp='$CXXCPP $CPPFLAGS'
70026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70029
70030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70031 /* end confdefs.h. */
70032 #include <math.h>
70033 int
70034 main ()
70035 {
70036 atan2l(0, 0);
70037 ;
70038 return 0;
70039 }
70040 _ACEOF
70041 if ac_fn_cxx_try_compile "$LINENO"; then :
70042 glibcxx_cv_func_atan2l_use=yes
70043 else
70044 glibcxx_cv_func_atan2l_use=no
70045 fi
70046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70047 ac_ext=c
70048 ac_cpp='$CPP $CPPFLAGS'
70049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70052
70053
70054 fi
70055
70056 fi
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70058 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70059
70060 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70061 for ac_func in atan2l
70062 do :
70063 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70064 if test "x$ac_cv_func_atan2l" = x""yes; then :
70065 cat >>confdefs.h <<_ACEOF
70066 #define HAVE_ATAN2L 1
70067 _ACEOF
70068
70069 fi
70070 done
70071
70072 else
70073
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70075 $as_echo_n "checking for _atan2l declaration... " >&6; }
70076 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70077 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70078 $as_echo_n "(cached) " >&6
70079 else
70080
70081
70082 ac_ext=cpp
70083 ac_cpp='$CXXCPP $CPPFLAGS'
70084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70087
70088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70089 /* end confdefs.h. */
70090 #include <math.h>
70091 int
70092 main ()
70093 {
70094 _atan2l(0, 0);
70095 ;
70096 return 0;
70097 }
70098 _ACEOF
70099 if ac_fn_cxx_try_compile "$LINENO"; then :
70100 glibcxx_cv_func__atan2l_use=yes
70101 else
70102 glibcxx_cv_func__atan2l_use=no
70103 fi
70104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70105 ac_ext=c
70106 ac_cpp='$CPP $CPPFLAGS'
70107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70110
70111
70112 fi
70113
70114 fi
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70116 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70117
70118 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70119 for ac_func in _atan2l
70120 do :
70121 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70122 if test "x$ac_cv_func__atan2l" = x""yes; then :
70123 cat >>confdefs.h <<_ACEOF
70124 #define HAVE__ATAN2L 1
70125 _ACEOF
70126
70127 fi
70128 done
70129
70130 fi
70131 fi
70132
70133
70134
70135
70136
70137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70138 $as_echo_n "checking for expl declaration... " >&6; }
70139 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70140 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70141 $as_echo_n "(cached) " >&6
70142 else
70143
70144
70145 ac_ext=cpp
70146 ac_cpp='$CXXCPP $CPPFLAGS'
70147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70150
70151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70152 /* end confdefs.h. */
70153 #include <math.h>
70154 #ifdef HAVE_IEEEFP_H
70155 #include <ieeefp.h>
70156 #endif
70157
70158 int
70159 main ()
70160 {
70161 expl(0);
70162 ;
70163 return 0;
70164 }
70165 _ACEOF
70166 if ac_fn_cxx_try_compile "$LINENO"; then :
70167 glibcxx_cv_func_expl_use=yes
70168 else
70169 glibcxx_cv_func_expl_use=no
70170 fi
70171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70172 ac_ext=c
70173 ac_cpp='$CPP $CPPFLAGS'
70174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70177
70178
70179 fi
70180
70181 fi
70182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70183 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70184
70185 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70186 for ac_func in expl
70187 do :
70188 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70189 if test "x$ac_cv_func_expl" = x""yes; then :
70190 cat >>confdefs.h <<_ACEOF
70191 #define HAVE_EXPL 1
70192 _ACEOF
70193
70194 fi
70195 done
70196
70197 else
70198
70199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70200 $as_echo_n "checking for _expl declaration... " >&6; }
70201 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70202 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70203 $as_echo_n "(cached) " >&6
70204 else
70205
70206
70207 ac_ext=cpp
70208 ac_cpp='$CXXCPP $CPPFLAGS'
70209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70212
70213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70214 /* end confdefs.h. */
70215 #include <math.h>
70216 #ifdef HAVE_IEEEFP_H
70217 #include <ieeefp.h>
70218 #endif
70219
70220 int
70221 main ()
70222 {
70223 _expl(0);
70224 ;
70225 return 0;
70226 }
70227 _ACEOF
70228 if ac_fn_cxx_try_compile "$LINENO"; then :
70229 glibcxx_cv_func__expl_use=yes
70230 else
70231 glibcxx_cv_func__expl_use=no
70232 fi
70233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70234 ac_ext=c
70235 ac_cpp='$CPP $CPPFLAGS'
70236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70239
70240
70241 fi
70242
70243 fi
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70245 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70246
70247 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70248 for ac_func in _expl
70249 do :
70250 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70251 if test "x$ac_cv_func__expl" = x""yes; then :
70252 cat >>confdefs.h <<_ACEOF
70253 #define HAVE__EXPL 1
70254 _ACEOF
70255
70256 fi
70257 done
70258
70259 fi
70260 fi
70261
70262
70263
70264
70265
70266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70267 $as_echo_n "checking for fabsl declaration... " >&6; }
70268 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70269 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70270 $as_echo_n "(cached) " >&6
70271 else
70272
70273
70274 ac_ext=cpp
70275 ac_cpp='$CXXCPP $CPPFLAGS'
70276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70279
70280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70281 /* end confdefs.h. */
70282 #include <math.h>
70283 #ifdef HAVE_IEEEFP_H
70284 #include <ieeefp.h>
70285 #endif
70286
70287 int
70288 main ()
70289 {
70290 fabsl(0);
70291 ;
70292 return 0;
70293 }
70294 _ACEOF
70295 if ac_fn_cxx_try_compile "$LINENO"; then :
70296 glibcxx_cv_func_fabsl_use=yes
70297 else
70298 glibcxx_cv_func_fabsl_use=no
70299 fi
70300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70301 ac_ext=c
70302 ac_cpp='$CPP $CPPFLAGS'
70303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70306
70307
70308 fi
70309
70310 fi
70311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70312 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70313
70314 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70315 for ac_func in fabsl
70316 do :
70317 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70318 if test "x$ac_cv_func_fabsl" = x""yes; then :
70319 cat >>confdefs.h <<_ACEOF
70320 #define HAVE_FABSL 1
70321 _ACEOF
70322
70323 fi
70324 done
70325
70326 else
70327
70328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70329 $as_echo_n "checking for _fabsl declaration... " >&6; }
70330 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70331 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70332 $as_echo_n "(cached) " >&6
70333 else
70334
70335
70336 ac_ext=cpp
70337 ac_cpp='$CXXCPP $CPPFLAGS'
70338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70341
70342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70343 /* end confdefs.h. */
70344 #include <math.h>
70345 #ifdef HAVE_IEEEFP_H
70346 #include <ieeefp.h>
70347 #endif
70348
70349 int
70350 main ()
70351 {
70352 _fabsl(0);
70353 ;
70354 return 0;
70355 }
70356 _ACEOF
70357 if ac_fn_cxx_try_compile "$LINENO"; then :
70358 glibcxx_cv_func__fabsl_use=yes
70359 else
70360 glibcxx_cv_func__fabsl_use=no
70361 fi
70362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70363 ac_ext=c
70364 ac_cpp='$CPP $CPPFLAGS'
70365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70368
70369
70370 fi
70371
70372 fi
70373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70374 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70375
70376 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70377 for ac_func in _fabsl
70378 do :
70379 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70380 if test "x$ac_cv_func__fabsl" = x""yes; then :
70381 cat >>confdefs.h <<_ACEOF
70382 #define HAVE__FABSL 1
70383 _ACEOF
70384
70385 fi
70386 done
70387
70388 fi
70389 fi
70390
70391
70392
70393
70394
70395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70396 $as_echo_n "checking for fmodl declaration... " >&6; }
70397 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70398 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70399 $as_echo_n "(cached) " >&6
70400 else
70401
70402
70403 ac_ext=cpp
70404 ac_cpp='$CXXCPP $CPPFLAGS'
70405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70408
70409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70410 /* end confdefs.h. */
70411 #include <math.h>
70412 int
70413 main ()
70414 {
70415 fmodl(0, 0);
70416 ;
70417 return 0;
70418 }
70419 _ACEOF
70420 if ac_fn_cxx_try_compile "$LINENO"; then :
70421 glibcxx_cv_func_fmodl_use=yes
70422 else
70423 glibcxx_cv_func_fmodl_use=no
70424 fi
70425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70426 ac_ext=c
70427 ac_cpp='$CPP $CPPFLAGS'
70428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70431
70432
70433 fi
70434
70435 fi
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70437 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70438
70439 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70440 for ac_func in fmodl
70441 do :
70442 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70443 if test "x$ac_cv_func_fmodl" = x""yes; then :
70444 cat >>confdefs.h <<_ACEOF
70445 #define HAVE_FMODL 1
70446 _ACEOF
70447
70448 fi
70449 done
70450
70451 else
70452
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70454 $as_echo_n "checking for _fmodl declaration... " >&6; }
70455 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70456 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70457 $as_echo_n "(cached) " >&6
70458 else
70459
70460
70461 ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70466
70467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h. */
70469 #include <math.h>
70470 int
70471 main ()
70472 {
70473 _fmodl(0, 0);
70474 ;
70475 return 0;
70476 }
70477 _ACEOF
70478 if ac_fn_cxx_try_compile "$LINENO"; then :
70479 glibcxx_cv_func__fmodl_use=yes
70480 else
70481 glibcxx_cv_func__fmodl_use=no
70482 fi
70483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70484 ac_ext=c
70485 ac_cpp='$CPP $CPPFLAGS'
70486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70489
70490
70491 fi
70492
70493 fi
70494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70495 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70496
70497 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70498 for ac_func in _fmodl
70499 do :
70500 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70501 if test "x$ac_cv_func__fmodl" = x""yes; then :
70502 cat >>confdefs.h <<_ACEOF
70503 #define HAVE__FMODL 1
70504 _ACEOF
70505
70506 fi
70507 done
70508
70509 fi
70510 fi
70511
70512
70513
70514
70515
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70517 $as_echo_n "checking for frexpl declaration... " >&6; }
70518 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70519 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70520 $as_echo_n "(cached) " >&6
70521 else
70522
70523
70524 ac_ext=cpp
70525 ac_cpp='$CXXCPP $CPPFLAGS'
70526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70529
70530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70531 /* end confdefs.h. */
70532 #include <math.h>
70533 int
70534 main ()
70535 {
70536 frexpl(0, 0);
70537 ;
70538 return 0;
70539 }
70540 _ACEOF
70541 if ac_fn_cxx_try_compile "$LINENO"; then :
70542 glibcxx_cv_func_frexpl_use=yes
70543 else
70544 glibcxx_cv_func_frexpl_use=no
70545 fi
70546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70547 ac_ext=c
70548 ac_cpp='$CPP $CPPFLAGS'
70549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70552
70553
70554 fi
70555
70556 fi
70557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70558 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70559
70560 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70561 for ac_func in frexpl
70562 do :
70563 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70564 if test "x$ac_cv_func_frexpl" = x""yes; then :
70565 cat >>confdefs.h <<_ACEOF
70566 #define HAVE_FREXPL 1
70567 _ACEOF
70568
70569 fi
70570 done
70571
70572 else
70573
70574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70575 $as_echo_n "checking for _frexpl declaration... " >&6; }
70576 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70577 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70578 $as_echo_n "(cached) " >&6
70579 else
70580
70581
70582 ac_ext=cpp
70583 ac_cpp='$CXXCPP $CPPFLAGS'
70584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587
70588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70589 /* end confdefs.h. */
70590 #include <math.h>
70591 int
70592 main ()
70593 {
70594 _frexpl(0, 0);
70595 ;
70596 return 0;
70597 }
70598 _ACEOF
70599 if ac_fn_cxx_try_compile "$LINENO"; then :
70600 glibcxx_cv_func__frexpl_use=yes
70601 else
70602 glibcxx_cv_func__frexpl_use=no
70603 fi
70604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70605 ac_ext=c
70606 ac_cpp='$CPP $CPPFLAGS'
70607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70610
70611
70612 fi
70613
70614 fi
70615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70616 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70617
70618 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70619 for ac_func in _frexpl
70620 do :
70621 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70622 if test "x$ac_cv_func__frexpl" = x""yes; then :
70623 cat >>confdefs.h <<_ACEOF
70624 #define HAVE__FREXPL 1
70625 _ACEOF
70626
70627 fi
70628 done
70629
70630 fi
70631 fi
70632
70633
70634
70635
70636
70637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70638 $as_echo_n "checking for hypotl declaration... " >&6; }
70639 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70640 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70641 $as_echo_n "(cached) " >&6
70642 else
70643
70644
70645 ac_ext=cpp
70646 ac_cpp='$CXXCPP $CPPFLAGS'
70647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70650
70651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70652 /* end confdefs.h. */
70653 #include <math.h>
70654 int
70655 main ()
70656 {
70657 hypotl(0, 0);
70658 ;
70659 return 0;
70660 }
70661 _ACEOF
70662 if ac_fn_cxx_try_compile "$LINENO"; then :
70663 glibcxx_cv_func_hypotl_use=yes
70664 else
70665 glibcxx_cv_func_hypotl_use=no
70666 fi
70667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70668 ac_ext=c
70669 ac_cpp='$CPP $CPPFLAGS'
70670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70673
70674
70675 fi
70676
70677 fi
70678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70679 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70680
70681 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70682 for ac_func in hypotl
70683 do :
70684 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70685 if test "x$ac_cv_func_hypotl" = x""yes; then :
70686 cat >>confdefs.h <<_ACEOF
70687 #define HAVE_HYPOTL 1
70688 _ACEOF
70689
70690 fi
70691 done
70692
70693 else
70694
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70696 $as_echo_n "checking for _hypotl declaration... " >&6; }
70697 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70698 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70699 $as_echo_n "(cached) " >&6
70700 else
70701
70702
70703 ac_ext=cpp
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70708
70709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70710 /* end confdefs.h. */
70711 #include <math.h>
70712 int
70713 main ()
70714 {
70715 _hypotl(0, 0);
70716 ;
70717 return 0;
70718 }
70719 _ACEOF
70720 if ac_fn_cxx_try_compile "$LINENO"; then :
70721 glibcxx_cv_func__hypotl_use=yes
70722 else
70723 glibcxx_cv_func__hypotl_use=no
70724 fi
70725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70726 ac_ext=c
70727 ac_cpp='$CPP $CPPFLAGS'
70728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70731
70732
70733 fi
70734
70735 fi
70736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70737 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70738
70739 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70740 for ac_func in _hypotl
70741 do :
70742 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70743 if test "x$ac_cv_func__hypotl" = x""yes; then :
70744 cat >>confdefs.h <<_ACEOF
70745 #define HAVE__HYPOTL 1
70746 _ACEOF
70747
70748 fi
70749 done
70750
70751 fi
70752 fi
70753
70754
70755
70756
70757
70758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70759 $as_echo_n "checking for ldexpl declaration... " >&6; }
70760 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70761 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70762 $as_echo_n "(cached) " >&6
70763 else
70764
70765
70766 ac_ext=cpp
70767 ac_cpp='$CXXCPP $CPPFLAGS'
70768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70771
70772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70773 /* end confdefs.h. */
70774 #include <math.h>
70775 int
70776 main ()
70777 {
70778 ldexpl(0, 0);
70779 ;
70780 return 0;
70781 }
70782 _ACEOF
70783 if ac_fn_cxx_try_compile "$LINENO"; then :
70784 glibcxx_cv_func_ldexpl_use=yes
70785 else
70786 glibcxx_cv_func_ldexpl_use=no
70787 fi
70788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70789 ac_ext=c
70790 ac_cpp='$CPP $CPPFLAGS'
70791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70794
70795
70796 fi
70797
70798 fi
70799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70800 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70801
70802 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70803 for ac_func in ldexpl
70804 do :
70805 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70806 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70807 cat >>confdefs.h <<_ACEOF
70808 #define HAVE_LDEXPL 1
70809 _ACEOF
70810
70811 fi
70812 done
70813
70814 else
70815
70816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70817 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70818 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70819 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70820 $as_echo_n "(cached) " >&6
70821 else
70822
70823
70824 ac_ext=cpp
70825 ac_cpp='$CXXCPP $CPPFLAGS'
70826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70829
70830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70831 /* end confdefs.h. */
70832 #include <math.h>
70833 int
70834 main ()
70835 {
70836 _ldexpl(0, 0);
70837 ;
70838 return 0;
70839 }
70840 _ACEOF
70841 if ac_fn_cxx_try_compile "$LINENO"; then :
70842 glibcxx_cv_func__ldexpl_use=yes
70843 else
70844 glibcxx_cv_func__ldexpl_use=no
70845 fi
70846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70847 ac_ext=c
70848 ac_cpp='$CPP $CPPFLAGS'
70849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70852
70853
70854 fi
70855
70856 fi
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70858 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70859
70860 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70861 for ac_func in _ldexpl
70862 do :
70863 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70864 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70865 cat >>confdefs.h <<_ACEOF
70866 #define HAVE__LDEXPL 1
70867 _ACEOF
70868
70869 fi
70870 done
70871
70872 fi
70873 fi
70874
70875
70876
70877
70878
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70880 $as_echo_n "checking for logl declaration... " >&6; }
70881 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70882 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70883 $as_echo_n "(cached) " >&6
70884 else
70885
70886
70887 ac_ext=cpp
70888 ac_cpp='$CXXCPP $CPPFLAGS'
70889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70892
70893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70894 /* end confdefs.h. */
70895 #include <math.h>
70896 #ifdef HAVE_IEEEFP_H
70897 #include <ieeefp.h>
70898 #endif
70899
70900 int
70901 main ()
70902 {
70903 logl(0);
70904 ;
70905 return 0;
70906 }
70907 _ACEOF
70908 if ac_fn_cxx_try_compile "$LINENO"; then :
70909 glibcxx_cv_func_logl_use=yes
70910 else
70911 glibcxx_cv_func_logl_use=no
70912 fi
70913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70914 ac_ext=c
70915 ac_cpp='$CPP $CPPFLAGS'
70916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70919
70920
70921 fi
70922
70923 fi
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70925 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70926
70927 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70928 for ac_func in logl
70929 do :
70930 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70931 if test "x$ac_cv_func_logl" = x""yes; then :
70932 cat >>confdefs.h <<_ACEOF
70933 #define HAVE_LOGL 1
70934 _ACEOF
70935
70936 fi
70937 done
70938
70939 else
70940
70941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70942 $as_echo_n "checking for _logl declaration... " >&6; }
70943 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70944 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70945 $as_echo_n "(cached) " >&6
70946 else
70947
70948
70949 ac_ext=cpp
70950 ac_cpp='$CXXCPP $CPPFLAGS'
70951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70954
70955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70956 /* end confdefs.h. */
70957 #include <math.h>
70958 #ifdef HAVE_IEEEFP_H
70959 #include <ieeefp.h>
70960 #endif
70961
70962 int
70963 main ()
70964 {
70965 _logl(0);
70966 ;
70967 return 0;
70968 }
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func__logl_use=yes
70972 else
70973 glibcxx_cv_func__logl_use=no
70974 fi
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981
70982
70983 fi
70984
70985 fi
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70987 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70988
70989 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70990 for ac_func in _logl
70991 do :
70992 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70993 if test "x$ac_cv_func__logl" = x""yes; then :
70994 cat >>confdefs.h <<_ACEOF
70995 #define HAVE__LOGL 1
70996 _ACEOF
70997
70998 fi
70999 done
71000
71001 fi
71002 fi
71003
71004
71005
71006
71007
71008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71009 $as_echo_n "checking for log10l declaration... " >&6; }
71010 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71011 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71012 $as_echo_n "(cached) " >&6
71013 else
71014
71015
71016 ac_ext=cpp
71017 ac_cpp='$CXXCPP $CPPFLAGS'
71018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71021
71022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71023 /* end confdefs.h. */
71024 #include <math.h>
71025 #ifdef HAVE_IEEEFP_H
71026 #include <ieeefp.h>
71027 #endif
71028
71029 int
71030 main ()
71031 {
71032 log10l(0);
71033 ;
71034 return 0;
71035 }
71036 _ACEOF
71037 if ac_fn_cxx_try_compile "$LINENO"; then :
71038 glibcxx_cv_func_log10l_use=yes
71039 else
71040 glibcxx_cv_func_log10l_use=no
71041 fi
71042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71043 ac_ext=c
71044 ac_cpp='$CPP $CPPFLAGS'
71045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71048
71049
71050 fi
71051
71052 fi
71053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71054 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71055
71056 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71057 for ac_func in log10l
71058 do :
71059 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71060 if test "x$ac_cv_func_log10l" = x""yes; then :
71061 cat >>confdefs.h <<_ACEOF
71062 #define HAVE_LOG10L 1
71063 _ACEOF
71064
71065 fi
71066 done
71067
71068 else
71069
71070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71071 $as_echo_n "checking for _log10l declaration... " >&6; }
71072 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71073 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71074 $as_echo_n "(cached) " >&6
71075 else
71076
71077
71078 ac_ext=cpp
71079 ac_cpp='$CXXCPP $CPPFLAGS'
71080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71083
71084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71085 /* end confdefs.h. */
71086 #include <math.h>
71087 #ifdef HAVE_IEEEFP_H
71088 #include <ieeefp.h>
71089 #endif
71090
71091 int
71092 main ()
71093 {
71094 _log10l(0);
71095 ;
71096 return 0;
71097 }
71098 _ACEOF
71099 if ac_fn_cxx_try_compile "$LINENO"; then :
71100 glibcxx_cv_func__log10l_use=yes
71101 else
71102 glibcxx_cv_func__log10l_use=no
71103 fi
71104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71105 ac_ext=c
71106 ac_cpp='$CPP $CPPFLAGS'
71107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71110
71111
71112 fi
71113
71114 fi
71115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71116 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71117
71118 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71119 for ac_func in _log10l
71120 do :
71121 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71122 if test "x$ac_cv_func__log10l" = x""yes; then :
71123 cat >>confdefs.h <<_ACEOF
71124 #define HAVE__LOG10L 1
71125 _ACEOF
71126
71127 fi
71128 done
71129
71130 fi
71131 fi
71132
71133
71134
71135
71136
71137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71138 $as_echo_n "checking for modfl declaration... " >&6; }
71139 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71140 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71141 $as_echo_n "(cached) " >&6
71142 else
71143
71144
71145 ac_ext=cpp
71146 ac_cpp='$CXXCPP $CPPFLAGS'
71147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71150
71151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71152 /* end confdefs.h. */
71153 #include <math.h>
71154 int
71155 main ()
71156 {
71157 modfl(0, 0);
71158 ;
71159 return 0;
71160 }
71161 _ACEOF
71162 if ac_fn_cxx_try_compile "$LINENO"; then :
71163 glibcxx_cv_func_modfl_use=yes
71164 else
71165 glibcxx_cv_func_modfl_use=no
71166 fi
71167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71168 ac_ext=c
71169 ac_cpp='$CPP $CPPFLAGS'
71170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71173
71174
71175 fi
71176
71177 fi
71178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71179 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71180
71181 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71182 for ac_func in modfl
71183 do :
71184 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71185 if test "x$ac_cv_func_modfl" = x""yes; then :
71186 cat >>confdefs.h <<_ACEOF
71187 #define HAVE_MODFL 1
71188 _ACEOF
71189
71190 fi
71191 done
71192
71193 else
71194
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71196 $as_echo_n "checking for _modfl declaration... " >&6; }
71197 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71198 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71199 $as_echo_n "(cached) " >&6
71200 else
71201
71202
71203 ac_ext=cpp
71204 ac_cpp='$CXXCPP $CPPFLAGS'
71205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71208
71209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71210 /* end confdefs.h. */
71211 #include <math.h>
71212 int
71213 main ()
71214 {
71215 _modfl(0, 0);
71216 ;
71217 return 0;
71218 }
71219 _ACEOF
71220 if ac_fn_cxx_try_compile "$LINENO"; then :
71221 glibcxx_cv_func__modfl_use=yes
71222 else
71223 glibcxx_cv_func__modfl_use=no
71224 fi
71225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71226 ac_ext=c
71227 ac_cpp='$CPP $CPPFLAGS'
71228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71231
71232
71233 fi
71234
71235 fi
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71237 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71238
71239 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71240 for ac_func in _modfl
71241 do :
71242 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71243 if test "x$ac_cv_func__modfl" = x""yes; then :
71244 cat >>confdefs.h <<_ACEOF
71245 #define HAVE__MODFL 1
71246 _ACEOF
71247
71248 fi
71249 done
71250
71251 fi
71252 fi
71253
71254
71255
71256
71257
71258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71259 $as_echo_n "checking for powl declaration... " >&6; }
71260 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71261 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71262 $as_echo_n "(cached) " >&6
71263 else
71264
71265
71266 ac_ext=cpp
71267 ac_cpp='$CXXCPP $CPPFLAGS'
71268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71271
71272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71273 /* end confdefs.h. */
71274 #include <math.h>
71275 int
71276 main ()
71277 {
71278 powl(0, 0);
71279 ;
71280 return 0;
71281 }
71282 _ACEOF
71283 if ac_fn_cxx_try_compile "$LINENO"; then :
71284 glibcxx_cv_func_powl_use=yes
71285 else
71286 glibcxx_cv_func_powl_use=no
71287 fi
71288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71289 ac_ext=c
71290 ac_cpp='$CPP $CPPFLAGS'
71291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71294
71295
71296 fi
71297
71298 fi
71299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71300 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71301
71302 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71303 for ac_func in powl
71304 do :
71305 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71306 if test "x$ac_cv_func_powl" = x""yes; then :
71307 cat >>confdefs.h <<_ACEOF
71308 #define HAVE_POWL 1
71309 _ACEOF
71310
71311 fi
71312 done
71313
71314 else
71315
71316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71317 $as_echo_n "checking for _powl declaration... " >&6; }
71318 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71319 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71320 $as_echo_n "(cached) " >&6
71321 else
71322
71323
71324 ac_ext=cpp
71325 ac_cpp='$CXXCPP $CPPFLAGS'
71326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71329
71330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71331 /* end confdefs.h. */
71332 #include <math.h>
71333 int
71334 main ()
71335 {
71336 _powl(0, 0);
71337 ;
71338 return 0;
71339 }
71340 _ACEOF
71341 if ac_fn_cxx_try_compile "$LINENO"; then :
71342 glibcxx_cv_func__powl_use=yes
71343 else
71344 glibcxx_cv_func__powl_use=no
71345 fi
71346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71347 ac_ext=c
71348 ac_cpp='$CPP $CPPFLAGS'
71349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71352
71353
71354 fi
71355
71356 fi
71357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71358 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71359
71360 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71361 for ac_func in _powl
71362 do :
71363 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71364 if test "x$ac_cv_func__powl" = x""yes; then :
71365 cat >>confdefs.h <<_ACEOF
71366 #define HAVE__POWL 1
71367 _ACEOF
71368
71369 fi
71370 done
71371
71372 fi
71373 fi
71374
71375
71376
71377
71378
71379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71380 $as_echo_n "checking for sqrtl declaration... " >&6; }
71381 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71382 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71383 $as_echo_n "(cached) " >&6
71384 else
71385
71386
71387 ac_ext=cpp
71388 ac_cpp='$CXXCPP $CPPFLAGS'
71389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71392
71393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71394 /* end confdefs.h. */
71395 #include <math.h>
71396 #ifdef HAVE_IEEEFP_H
71397 #include <ieeefp.h>
71398 #endif
71399
71400 int
71401 main ()
71402 {
71403 sqrtl(0);
71404 ;
71405 return 0;
71406 }
71407 _ACEOF
71408 if ac_fn_cxx_try_compile "$LINENO"; then :
71409 glibcxx_cv_func_sqrtl_use=yes
71410 else
71411 glibcxx_cv_func_sqrtl_use=no
71412 fi
71413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71414 ac_ext=c
71415 ac_cpp='$CPP $CPPFLAGS'
71416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71419
71420
71421 fi
71422
71423 fi
71424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71425 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71426
71427 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71428 for ac_func in sqrtl
71429 do :
71430 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71431 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71432 cat >>confdefs.h <<_ACEOF
71433 #define HAVE_SQRTL 1
71434 _ACEOF
71435
71436 fi
71437 done
71438
71439 else
71440
71441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71442 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71443 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71444 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71445 $as_echo_n "(cached) " >&6
71446 else
71447
71448
71449 ac_ext=cpp
71450 ac_cpp='$CXXCPP $CPPFLAGS'
71451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71454
71455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71456 /* end confdefs.h. */
71457 #include <math.h>
71458 #ifdef HAVE_IEEEFP_H
71459 #include <ieeefp.h>
71460 #endif
71461
71462 int
71463 main ()
71464 {
71465 _sqrtl(0);
71466 ;
71467 return 0;
71468 }
71469 _ACEOF
71470 if ac_fn_cxx_try_compile "$LINENO"; then :
71471 glibcxx_cv_func__sqrtl_use=yes
71472 else
71473 glibcxx_cv_func__sqrtl_use=no
71474 fi
71475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71476 ac_ext=c
71477 ac_cpp='$CPP $CPPFLAGS'
71478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71481
71482
71483 fi
71484
71485 fi
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71487 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71488
71489 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71490 for ac_func in _sqrtl
71491 do :
71492 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71493 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71494 cat >>confdefs.h <<_ACEOF
71495 #define HAVE__SQRTL 1
71496 _ACEOF
71497
71498 fi
71499 done
71500
71501 fi
71502 fi
71503
71504
71505
71506
71507
71508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71509 $as_echo_n "checking for sincosl declaration... " >&6; }
71510 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71511 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71512 $as_echo_n "(cached) " >&6
71513 else
71514
71515
71516 ac_ext=cpp
71517 ac_cpp='$CXXCPP $CPPFLAGS'
71518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71521
71522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71523 /* end confdefs.h. */
71524 #include <math.h>
71525 int
71526 main ()
71527 {
71528 sincosl(0, 0, 0);
71529 ;
71530 return 0;
71531 }
71532 _ACEOF
71533 if ac_fn_cxx_try_compile "$LINENO"; then :
71534 glibcxx_cv_func_sincosl_use=yes
71535 else
71536 glibcxx_cv_func_sincosl_use=no
71537 fi
71538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71539 ac_ext=c
71540 ac_cpp='$CPP $CPPFLAGS'
71541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71544
71545
71546 fi
71547
71548 fi
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71550 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71551
71552 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71553 for ac_func in sincosl
71554 do :
71555 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71556 if test "x$ac_cv_func_sincosl" = x""yes; then :
71557 cat >>confdefs.h <<_ACEOF
71558 #define HAVE_SINCOSL 1
71559 _ACEOF
71560
71561 fi
71562 done
71563
71564 else
71565
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71567 $as_echo_n "checking for _sincosl declaration... " >&6; }
71568 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71569 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71570 $as_echo_n "(cached) " >&6
71571 else
71572
71573
71574 ac_ext=cpp
71575 ac_cpp='$CXXCPP $CPPFLAGS'
71576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71579
71580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581 /* end confdefs.h. */
71582 #include <math.h>
71583 int
71584 main ()
71585 {
71586 _sincosl(0, 0, 0);
71587 ;
71588 return 0;
71589 }
71590 _ACEOF
71591 if ac_fn_cxx_try_compile "$LINENO"; then :
71592 glibcxx_cv_func__sincosl_use=yes
71593 else
71594 glibcxx_cv_func__sincosl_use=no
71595 fi
71596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71597 ac_ext=c
71598 ac_cpp='$CPP $CPPFLAGS'
71599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71602
71603
71604 fi
71605
71606 fi
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71608 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71609
71610 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71611 for ac_func in _sincosl
71612 do :
71613 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71614 if test "x$ac_cv_func__sincosl" = x""yes; then :
71615 cat >>confdefs.h <<_ACEOF
71616 #define HAVE__SINCOSL 1
71617 _ACEOF
71618
71619 fi
71620 done
71621
71622 fi
71623 fi
71624
71625
71626
71627
71628
71629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71630 $as_echo_n "checking for finitel declaration... " >&6; }
71631 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71632 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71633 $as_echo_n "(cached) " >&6
71634 else
71635
71636
71637 ac_ext=cpp
71638 ac_cpp='$CXXCPP $CPPFLAGS'
71639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71642
71643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71644 /* end confdefs.h. */
71645 #include <math.h>
71646 #ifdef HAVE_IEEEFP_H
71647 #include <ieeefp.h>
71648 #endif
71649
71650 int
71651 main ()
71652 {
71653 finitel(0);
71654 ;
71655 return 0;
71656 }
71657 _ACEOF
71658 if ac_fn_cxx_try_compile "$LINENO"; then :
71659 glibcxx_cv_func_finitel_use=yes
71660 else
71661 glibcxx_cv_func_finitel_use=no
71662 fi
71663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71664 ac_ext=c
71665 ac_cpp='$CPP $CPPFLAGS'
71666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71669
71670
71671 fi
71672
71673 fi
71674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71675 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71676
71677 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71678 for ac_func in finitel
71679 do :
71680 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71681 if test "x$ac_cv_func_finitel" = x""yes; then :
71682 cat >>confdefs.h <<_ACEOF
71683 #define HAVE_FINITEL 1
71684 _ACEOF
71685
71686 fi
71687 done
71688
71689 else
71690
71691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71692 $as_echo_n "checking for _finitel declaration... " >&6; }
71693 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71694 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71695 $as_echo_n "(cached) " >&6
71696 else
71697
71698
71699 ac_ext=cpp
71700 ac_cpp='$CXXCPP $CPPFLAGS'
71701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71704
71705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71706 /* end confdefs.h. */
71707 #include <math.h>
71708 #ifdef HAVE_IEEEFP_H
71709 #include <ieeefp.h>
71710 #endif
71711
71712 int
71713 main ()
71714 {
71715 _finitel(0);
71716 ;
71717 return 0;
71718 }
71719 _ACEOF
71720 if ac_fn_cxx_try_compile "$LINENO"; then :
71721 glibcxx_cv_func__finitel_use=yes
71722 else
71723 glibcxx_cv_func__finitel_use=no
71724 fi
71725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71726 ac_ext=c
71727 ac_cpp='$CPP $CPPFLAGS'
71728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71731
71732
71733 fi
71734
71735 fi
71736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71737 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71738
71739 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71740 for ac_func in _finitel
71741 do :
71742 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71743 if test "x$ac_cv_func__finitel" = x""yes; then :
71744 cat >>confdefs.h <<_ACEOF
71745 #define HAVE__FINITEL 1
71746 _ACEOF
71747
71748 fi
71749 done
71750
71751 fi
71752 fi
71753
71754
71755
71756
71757 LIBS="$ac_save_LIBS"
71758 CXXFLAGS="$ac_save_CXXFLAGS"
71759
71760
71761 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71762 ac_save_CXXFLAGS="$CXXFLAGS"
71763 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71764
71765
71766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71767 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71768 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71769 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71770 $as_echo_n "(cached) " >&6
71771 else
71772
71773
71774 ac_ext=cpp
71775 ac_cpp='$CXXCPP $CPPFLAGS'
71776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779
71780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71781 /* end confdefs.h. */
71782 #include <stdlib.h>
71783 int
71784 main ()
71785 {
71786 at_quick_exit(0);
71787 ;
71788 return 0;
71789 }
71790 _ACEOF
71791 if ac_fn_cxx_try_compile "$LINENO"; then :
71792 glibcxx_cv_func_at_quick_exit_use=yes
71793 else
71794 glibcxx_cv_func_at_quick_exit_use=no
71795 fi
71796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71797 ac_ext=c
71798 ac_cpp='$CPP $CPPFLAGS'
71799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71802
71803
71804 fi
71805
71806 fi
71807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71808 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71809 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71810 for ac_func in at_quick_exit
71811 do :
71812 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71813 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71814 cat >>confdefs.h <<_ACEOF
71815 #define HAVE_AT_QUICK_EXIT 1
71816 _ACEOF
71817
71818 fi
71819 done
71820
71821 fi
71822
71823
71824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71825 $as_echo_n "checking for quick_exit declaration... " >&6; }
71826 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71827 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71828 $as_echo_n "(cached) " >&6
71829 else
71830
71831
71832 ac_ext=cpp
71833 ac_cpp='$CXXCPP $CPPFLAGS'
71834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71837
71838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71839 /* end confdefs.h. */
71840 #include <stdlib.h>
71841 int
71842 main ()
71843 {
71844 quick_exit(0);
71845 ;
71846 return 0;
71847 }
71848 _ACEOF
71849 if ac_fn_cxx_try_compile "$LINENO"; then :
71850 glibcxx_cv_func_quick_exit_use=yes
71851 else
71852 glibcxx_cv_func_quick_exit_use=no
71853 fi
71854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71855 ac_ext=c
71856 ac_cpp='$CPP $CPPFLAGS'
71857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71860
71861
71862 fi
71863
71864 fi
71865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71866 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71867 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71868 for ac_func in quick_exit
71869 do :
71870 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71871 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71872 cat >>confdefs.h <<_ACEOF
71873 #define HAVE_QUICK_EXIT 1
71874 _ACEOF
71875
71876 fi
71877 done
71878
71879 fi
71880
71881
71882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71883 $as_echo_n "checking for strtold declaration... " >&6; }
71884 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71885 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71886 $as_echo_n "(cached) " >&6
71887 else
71888
71889
71890 ac_ext=cpp
71891 ac_cpp='$CXXCPP $CPPFLAGS'
71892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71895
71896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71897 /* end confdefs.h. */
71898 #include <stdlib.h>
71899 int
71900 main ()
71901 {
71902 strtold(0, 0);
71903 ;
71904 return 0;
71905 }
71906 _ACEOF
71907 if ac_fn_cxx_try_compile "$LINENO"; then :
71908 glibcxx_cv_func_strtold_use=yes
71909 else
71910 glibcxx_cv_func_strtold_use=no
71911 fi
71912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71913 ac_ext=c
71914 ac_cpp='$CPP $CPPFLAGS'
71915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71918
71919
71920 fi
71921
71922 fi
71923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71924 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71925 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71926 for ac_func in strtold
71927 do :
71928 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71929 if test "x$ac_cv_func_strtold" = x""yes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE_STRTOLD 1
71932 _ACEOF
71933
71934 fi
71935 done
71936
71937 fi
71938
71939
71940
71941
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71943 $as_echo_n "checking for strtof declaration... " >&6; }
71944 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71945 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71946 $as_echo_n "(cached) " >&6
71947 else
71948
71949
71950 ac_ext=cpp
71951 ac_cpp='$CXXCPP $CPPFLAGS'
71952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71955
71956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71957 /* end confdefs.h. */
71958 #include <stdlib.h>
71959 int
71960 main ()
71961 {
71962 strtof(0, 0);
71963 ;
71964 return 0;
71965 }
71966 _ACEOF
71967 if ac_fn_cxx_try_compile "$LINENO"; then :
71968 glibcxx_cv_func_strtof_use=yes
71969 else
71970 glibcxx_cv_func_strtof_use=no
71971 fi
71972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71973 ac_ext=c
71974 ac_cpp='$CPP $CPPFLAGS'
71975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71978
71979
71980 fi
71981
71982 fi
71983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71984 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71985 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71986 for ac_func in strtof
71987 do :
71988 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71989 if test "x$ac_cv_func_strtof" = x""yes; then :
71990 cat >>confdefs.h <<_ACEOF
71991 #define HAVE_STRTOF 1
71992 _ACEOF
71993
71994 fi
71995 done
71996
71997 fi
71998
71999
72000
72001
72002 CXXFLAGS="$ac_save_CXXFLAGS"
72003
72004 ;;
72005 *-solaris*)
72006
72007 # If we're not using GNU ld, then there's no point in even trying these
72008 # tests. Check for that first. We should have already tested for gld
72009 # by now (in libtool), but require it now just to be safe...
72010 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72011 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72012
72013
72014
72015 # The name set by libtool depends on the version of libtool. Shame on us
72016 # for depending on an impl detail, but c'est la vie. Older versions used
72017 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72018 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72019 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72020 # set (hence we're using an older libtool), then set it.
72021 if test x${with_gnu_ld+set} != xset; then
72022 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72023 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72024 with_gnu_ld=no
72025 else
72026 with_gnu_ld=$ac_cv_prog_gnu_ld
72027 fi
72028 fi
72029
72030 # Start by getting the version number. I think the libtool test already
72031 # does some of this, but throws away the result.
72032 glibcxx_ld_is_gold=no
72033 if test x"$with_gnu_ld" = x"yes"; then
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72035 $as_echo_n "checking for ld version... " >&6; }
72036
72037 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72038 glibcxx_ld_is_gold=yes
72039 fi
72040 ldver=`$LD --version 2>/dev/null |
72041 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'`
72042
72043 glibcxx_gnu_ld_version=`echo $ldver | \
72044 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72046 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72047 fi
72048
72049 # Set --gc-sections.
72050 glibcxx_have_gc_sections=no
72051 if test "$glibcxx_ld_is_gold" = "yes"; then
72052 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72053 glibcxx_have_gc_sections=yes
72054 fi
72055 else
72056 glibcxx_gcsections_min_ld=21602
72057 if test x"$with_gnu_ld" = x"yes" &&
72058 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72059 glibcxx_have_gc_sections=yes
72060 fi
72061 fi
72062 if test "$glibcxx_have_gc_sections" = "yes"; then
72063 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72064 # NB: This flag only works reliably after 2.16.1. Configure tests
72065 # for this are difficult, so hard wire a value that should work.
72066
72067 ac_test_CFLAGS="${CFLAGS+set}"
72068 ac_save_CFLAGS="$CFLAGS"
72069 CFLAGS='-Wl,--gc-sections'
72070
72071 # Check for -Wl,--gc-sections
72072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72073 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72074 if test x$gcc_no_link = xyes; then
72075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72076 fi
72077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72078 /* end confdefs.h. */
72079 int one(void) { return 1; }
72080 int two(void) { return 2; }
72081
72082 int
72083 main ()
72084 {
72085 two();
72086 ;
72087 return 0;
72088 }
72089 _ACEOF
72090 if ac_fn_c_try_link "$LINENO"; then :
72091 ac_gcsections=yes
72092 else
72093 ac_gcsections=no
72094 fi
72095 rm -f core conftest.err conftest.$ac_objext \
72096 conftest$ac_exeext conftest.$ac_ext
72097 if test "$ac_gcsections" = "yes"; then
72098 rm -f conftest.c
72099 touch conftest.c
72100 if $CC -c conftest.c; then
72101 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72102 grep "Warning: gc-sections option ignored" > /dev/null; then
72103 ac_gcsections=no
72104 fi
72105 fi
72106 rm -f conftest.c conftest.o conftest
72107 fi
72108 if test "$ac_gcsections" = "yes"; then
72109 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72110 fi
72111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72112 $as_echo "$ac_gcsections" >&6; }
72113
72114 if test "$ac_test_CFLAGS" = set; then
72115 CFLAGS="$ac_save_CFLAGS"
72116 else
72117 # this is the suspicious part
72118 CFLAGS=''
72119 fi
72120 fi
72121
72122 # Set -z,relro.
72123 # Note this is only for shared objects.
72124 ac_ld_relro=no
72125 if test x"$with_gnu_ld" = x"yes"; then
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72127 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72128 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72129 if test -n "$cxx_z_relo"; then
72130 OPT_LDFLAGS="-Wl,-z,relro"
72131 ac_ld_relro=yes
72132 fi
72133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72134 $as_echo "$ac_ld_relro" >&6; }
72135 fi
72136
72137 # Set linker optimization flags.
72138 if test x"$with_gnu_ld" = x"yes"; then
72139 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72140 fi
72141
72142
72143
72144
72145 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72146
72147 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72148
72149 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72150
72151 # All of the dependencies for wide character support are here, so
72152 # turn it on.
72153 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72154
72155 # These two C99 functions are present only in Solaris >= 10
72156 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72157
72158 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72159
72160 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72161
72162 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72163
72164 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72165
72166 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72167
72168 ;;
72169 *-tpf)
72170 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72171 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72172
72173 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72174
72175 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72176
72177 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72178
72179 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72180
72181 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72182
72183 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72184
72185 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72186
72187 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72188
72189 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72190
72191 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72192
72193 if test x"long_double_math_on_this_cpu" = x"yes"; then
72194 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72195
72196 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72197
72198 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72199
72200 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72201
72202 fi
72203 ;;
72204 *-*vms*)
72205 # Check for available headers.
72206 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72207
72208 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72209 ac_save_CXXFLAGS="$CXXFLAGS"
72210 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72211
72212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72213 $as_echo_n "checking for sin in -lm... " >&6; }
72214 if test "${ac_cv_lib_m_sin+set}" = set; then :
72215 $as_echo_n "(cached) " >&6
72216 else
72217 ac_check_lib_save_LIBS=$LIBS
72218 LIBS="-lm $LIBS"
72219 if test x$gcc_no_link = xyes; then
72220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72221 fi
72222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72223 /* end confdefs.h. */
72224
72225 /* Override any GCC internal prototype to avoid an error.
72226 Use char because int might match the return type of a GCC
72227 builtin and then its argument prototype would still apply. */
72228 #ifdef __cplusplus
72229 extern "C"
72230 #endif
72231 char sin ();
72232 int
72233 main ()
72234 {
72235 return sin ();
72236 ;
72237 return 0;
72238 }
72239 _ACEOF
72240 if ac_fn_c_try_link "$LINENO"; then :
72241 ac_cv_lib_m_sin=yes
72242 else
72243 ac_cv_lib_m_sin=no
72244 fi
72245 rm -f core conftest.err conftest.$ac_objext \
72246 conftest$ac_exeext conftest.$ac_ext
72247 LIBS=$ac_check_lib_save_LIBS
72248 fi
72249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72250 $as_echo "$ac_cv_lib_m_sin" >&6; }
72251 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72252 libm="-lm"
72253 fi
72254
72255 ac_save_LIBS="$LIBS"
72256 LIBS="$LIBS $libm"
72257
72258
72259
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72261 $as_echo_n "checking for isinf declaration... " >&6; }
72262 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72263 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72264 $as_echo_n "(cached) " >&6
72265 else
72266
72267
72268 ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273
72274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275 /* end confdefs.h. */
72276 #include <math.h>
72277 #ifdef HAVE_IEEEFP_H
72278 #include <ieeefp.h>
72279 #endif
72280
72281 int
72282 main ()
72283 {
72284 isinf(0);
72285 ;
72286 return 0;
72287 }
72288 _ACEOF
72289 if ac_fn_cxx_try_compile "$LINENO"; then :
72290 glibcxx_cv_func_isinf_use=yes
72291 else
72292 glibcxx_cv_func_isinf_use=no
72293 fi
72294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72295 ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300
72301
72302 fi
72303
72304 fi
72305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72306 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72307
72308 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72309 for ac_func in isinf
72310 do :
72311 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72312 if test "x$ac_cv_func_isinf" = x""yes; then :
72313 cat >>confdefs.h <<_ACEOF
72314 #define HAVE_ISINF 1
72315 _ACEOF
72316
72317 fi
72318 done
72319
72320 else
72321
72322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72323 $as_echo_n "checking for _isinf declaration... " >&6; }
72324 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72325 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72326 $as_echo_n "(cached) " >&6
72327 else
72328
72329
72330 ac_ext=cpp
72331 ac_cpp='$CXXCPP $CPPFLAGS'
72332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72335
72336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72337 /* end confdefs.h. */
72338 #include <math.h>
72339 #ifdef HAVE_IEEEFP_H
72340 #include <ieeefp.h>
72341 #endif
72342
72343 int
72344 main ()
72345 {
72346 _isinf(0);
72347 ;
72348 return 0;
72349 }
72350 _ACEOF
72351 if ac_fn_cxx_try_compile "$LINENO"; then :
72352 glibcxx_cv_func__isinf_use=yes
72353 else
72354 glibcxx_cv_func__isinf_use=no
72355 fi
72356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72357 ac_ext=c
72358 ac_cpp='$CPP $CPPFLAGS'
72359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72362
72363
72364 fi
72365
72366 fi
72367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72368 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72369
72370 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72371 for ac_func in _isinf
72372 do :
72373 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72374 if test "x$ac_cv_func__isinf" = x""yes; then :
72375 cat >>confdefs.h <<_ACEOF
72376 #define HAVE__ISINF 1
72377 _ACEOF
72378
72379 fi
72380 done
72381
72382 fi
72383 fi
72384
72385
72386
72387
72388
72389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72390 $as_echo_n "checking for isnan declaration... " >&6; }
72391 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72392 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72393 $as_echo_n "(cached) " >&6
72394 else
72395
72396
72397 ac_ext=cpp
72398 ac_cpp='$CXXCPP $CPPFLAGS'
72399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72402
72403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72404 /* end confdefs.h. */
72405 #include <math.h>
72406 #ifdef HAVE_IEEEFP_H
72407 #include <ieeefp.h>
72408 #endif
72409
72410 int
72411 main ()
72412 {
72413 isnan(0);
72414 ;
72415 return 0;
72416 }
72417 _ACEOF
72418 if ac_fn_cxx_try_compile "$LINENO"; then :
72419 glibcxx_cv_func_isnan_use=yes
72420 else
72421 glibcxx_cv_func_isnan_use=no
72422 fi
72423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72424 ac_ext=c
72425 ac_cpp='$CPP $CPPFLAGS'
72426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72429
72430
72431 fi
72432
72433 fi
72434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72435 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72436
72437 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72438 for ac_func in isnan
72439 do :
72440 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72441 if test "x$ac_cv_func_isnan" = x""yes; then :
72442 cat >>confdefs.h <<_ACEOF
72443 #define HAVE_ISNAN 1
72444 _ACEOF
72445
72446 fi
72447 done
72448
72449 else
72450
72451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72452 $as_echo_n "checking for _isnan declaration... " >&6; }
72453 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72454 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72455 $as_echo_n "(cached) " >&6
72456 else
72457
72458
72459 ac_ext=cpp
72460 ac_cpp='$CXXCPP $CPPFLAGS'
72461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72464
72465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72466 /* end confdefs.h. */
72467 #include <math.h>
72468 #ifdef HAVE_IEEEFP_H
72469 #include <ieeefp.h>
72470 #endif
72471
72472 int
72473 main ()
72474 {
72475 _isnan(0);
72476 ;
72477 return 0;
72478 }
72479 _ACEOF
72480 if ac_fn_cxx_try_compile "$LINENO"; then :
72481 glibcxx_cv_func__isnan_use=yes
72482 else
72483 glibcxx_cv_func__isnan_use=no
72484 fi
72485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72486 ac_ext=c
72487 ac_cpp='$CPP $CPPFLAGS'
72488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72491
72492
72493 fi
72494
72495 fi
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72497 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72498
72499 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72500 for ac_func in _isnan
72501 do :
72502 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72503 if test "x$ac_cv_func__isnan" = x""yes; then :
72504 cat >>confdefs.h <<_ACEOF
72505 #define HAVE__ISNAN 1
72506 _ACEOF
72507
72508 fi
72509 done
72510
72511 fi
72512 fi
72513
72514
72515
72516
72517
72518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72519 $as_echo_n "checking for finite declaration... " >&6; }
72520 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72521 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72522 $as_echo_n "(cached) " >&6
72523 else
72524
72525
72526 ac_ext=cpp
72527 ac_cpp='$CXXCPP $CPPFLAGS'
72528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72531
72532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72533 /* end confdefs.h. */
72534 #include <math.h>
72535 #ifdef HAVE_IEEEFP_H
72536 #include <ieeefp.h>
72537 #endif
72538
72539 int
72540 main ()
72541 {
72542 finite(0);
72543 ;
72544 return 0;
72545 }
72546 _ACEOF
72547 if ac_fn_cxx_try_compile "$LINENO"; then :
72548 glibcxx_cv_func_finite_use=yes
72549 else
72550 glibcxx_cv_func_finite_use=no
72551 fi
72552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72553 ac_ext=c
72554 ac_cpp='$CPP $CPPFLAGS'
72555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72558
72559
72560 fi
72561
72562 fi
72563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72564 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72565
72566 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72567 for ac_func in finite
72568 do :
72569 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72570 if test "x$ac_cv_func_finite" = x""yes; then :
72571 cat >>confdefs.h <<_ACEOF
72572 #define HAVE_FINITE 1
72573 _ACEOF
72574
72575 fi
72576 done
72577
72578 else
72579
72580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72581 $as_echo_n "checking for _finite declaration... " >&6; }
72582 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72583 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72584 $as_echo_n "(cached) " >&6
72585 else
72586
72587
72588 ac_ext=cpp
72589 ac_cpp='$CXXCPP $CPPFLAGS'
72590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72593
72594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72595 /* end confdefs.h. */
72596 #include <math.h>
72597 #ifdef HAVE_IEEEFP_H
72598 #include <ieeefp.h>
72599 #endif
72600
72601 int
72602 main ()
72603 {
72604 _finite(0);
72605 ;
72606 return 0;
72607 }
72608 _ACEOF
72609 if ac_fn_cxx_try_compile "$LINENO"; then :
72610 glibcxx_cv_func__finite_use=yes
72611 else
72612 glibcxx_cv_func__finite_use=no
72613 fi
72614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72615 ac_ext=c
72616 ac_cpp='$CPP $CPPFLAGS'
72617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72620
72621
72622 fi
72623
72624 fi
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72626 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72627
72628 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72629 for ac_func in _finite
72630 do :
72631 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72632 if test "x$ac_cv_func__finite" = x""yes; then :
72633 cat >>confdefs.h <<_ACEOF
72634 #define HAVE__FINITE 1
72635 _ACEOF
72636
72637 fi
72638 done
72639
72640 fi
72641 fi
72642
72643
72644
72645
72646
72647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72648 $as_echo_n "checking for sincos declaration... " >&6; }
72649 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72650 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72651 $as_echo_n "(cached) " >&6
72652 else
72653
72654
72655 ac_ext=cpp
72656 ac_cpp='$CXXCPP $CPPFLAGS'
72657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72660
72661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72662 /* end confdefs.h. */
72663 #include <math.h>
72664 int
72665 main ()
72666 {
72667 sincos(0, 0, 0);
72668 ;
72669 return 0;
72670 }
72671 _ACEOF
72672 if ac_fn_cxx_try_compile "$LINENO"; then :
72673 glibcxx_cv_func_sincos_use=yes
72674 else
72675 glibcxx_cv_func_sincos_use=no
72676 fi
72677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72678 ac_ext=c
72679 ac_cpp='$CPP $CPPFLAGS'
72680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72683
72684
72685 fi
72686
72687 fi
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72689 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72690
72691 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72692 for ac_func in sincos
72693 do :
72694 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72695 if test "x$ac_cv_func_sincos" = x""yes; then :
72696 cat >>confdefs.h <<_ACEOF
72697 #define HAVE_SINCOS 1
72698 _ACEOF
72699
72700 fi
72701 done
72702
72703 else
72704
72705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72706 $as_echo_n "checking for _sincos declaration... " >&6; }
72707 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72708 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72709 $as_echo_n "(cached) " >&6
72710 else
72711
72712
72713 ac_ext=cpp
72714 ac_cpp='$CXXCPP $CPPFLAGS'
72715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72718
72719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72720 /* end confdefs.h. */
72721 #include <math.h>
72722 int
72723 main ()
72724 {
72725 _sincos(0, 0, 0);
72726 ;
72727 return 0;
72728 }
72729 _ACEOF
72730 if ac_fn_cxx_try_compile "$LINENO"; then :
72731 glibcxx_cv_func__sincos_use=yes
72732 else
72733 glibcxx_cv_func__sincos_use=no
72734 fi
72735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72736 ac_ext=c
72737 ac_cpp='$CPP $CPPFLAGS'
72738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72741
72742
72743 fi
72744
72745 fi
72746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72747 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72748
72749 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72750 for ac_func in _sincos
72751 do :
72752 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72753 if test "x$ac_cv_func__sincos" = x""yes; then :
72754 cat >>confdefs.h <<_ACEOF
72755 #define HAVE__SINCOS 1
72756 _ACEOF
72757
72758 fi
72759 done
72760
72761 fi
72762 fi
72763
72764
72765
72766
72767
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72769 $as_echo_n "checking for fpclass declaration... " >&6; }
72770 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72771 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72772 $as_echo_n "(cached) " >&6
72773 else
72774
72775
72776 ac_ext=cpp
72777 ac_cpp='$CXXCPP $CPPFLAGS'
72778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72781
72782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72783 /* end confdefs.h. */
72784 #include <math.h>
72785 #ifdef HAVE_IEEEFP_H
72786 #include <ieeefp.h>
72787 #endif
72788
72789 int
72790 main ()
72791 {
72792 fpclass(0);
72793 ;
72794 return 0;
72795 }
72796 _ACEOF
72797 if ac_fn_cxx_try_compile "$LINENO"; then :
72798 glibcxx_cv_func_fpclass_use=yes
72799 else
72800 glibcxx_cv_func_fpclass_use=no
72801 fi
72802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72803 ac_ext=c
72804 ac_cpp='$CPP $CPPFLAGS'
72805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72808
72809
72810 fi
72811
72812 fi
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72814 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72815
72816 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72817 for ac_func in fpclass
72818 do :
72819 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72820 if test "x$ac_cv_func_fpclass" = x""yes; then :
72821 cat >>confdefs.h <<_ACEOF
72822 #define HAVE_FPCLASS 1
72823 _ACEOF
72824
72825 fi
72826 done
72827
72828 else
72829
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72831 $as_echo_n "checking for _fpclass declaration... " >&6; }
72832 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72833 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72834 $as_echo_n "(cached) " >&6
72835 else
72836
72837
72838 ac_ext=cpp
72839 ac_cpp='$CXXCPP $CPPFLAGS'
72840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72843
72844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72845 /* end confdefs.h. */
72846 #include <math.h>
72847 #ifdef HAVE_IEEEFP_H
72848 #include <ieeefp.h>
72849 #endif
72850
72851 int
72852 main ()
72853 {
72854 _fpclass(0);
72855 ;
72856 return 0;
72857 }
72858 _ACEOF
72859 if ac_fn_cxx_try_compile "$LINENO"; then :
72860 glibcxx_cv_func__fpclass_use=yes
72861 else
72862 glibcxx_cv_func__fpclass_use=no
72863 fi
72864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72865 ac_ext=c
72866 ac_cpp='$CPP $CPPFLAGS'
72867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72870
72871
72872 fi
72873
72874 fi
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72876 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72877
72878 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72879 for ac_func in _fpclass
72880 do :
72881 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72882 if test "x$ac_cv_func__fpclass" = x""yes; then :
72883 cat >>confdefs.h <<_ACEOF
72884 #define HAVE__FPCLASS 1
72885 _ACEOF
72886
72887 fi
72888 done
72889
72890 fi
72891 fi
72892
72893
72894
72895
72896
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72898 $as_echo_n "checking for qfpclass declaration... " >&6; }
72899 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72900 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72903
72904
72905 ac_ext=cpp
72906 ac_cpp='$CXXCPP $CPPFLAGS'
72907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72910
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72913 #include <math.h>
72914 #ifdef HAVE_IEEEFP_H
72915 #include <ieeefp.h>
72916 #endif
72917
72918 int
72919 main ()
72920 {
72921 qfpclass(0);
72922 ;
72923 return 0;
72924 }
72925 _ACEOF
72926 if ac_fn_cxx_try_compile "$LINENO"; then :
72927 glibcxx_cv_func_qfpclass_use=yes
72928 else
72929 glibcxx_cv_func_qfpclass_use=no
72930 fi
72931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72932 ac_ext=c
72933 ac_cpp='$CPP $CPPFLAGS'
72934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72937
72938
72939 fi
72940
72941 fi
72942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72943 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72944
72945 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72946 for ac_func in qfpclass
72947 do :
72948 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72949 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72950 cat >>confdefs.h <<_ACEOF
72951 #define HAVE_QFPCLASS 1
72952 _ACEOF
72953
72954 fi
72955 done
72956
72957 else
72958
72959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72960 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72961 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72962 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72963 $as_echo_n "(cached) " >&6
72964 else
72965
72966
72967 ac_ext=cpp
72968 ac_cpp='$CXXCPP $CPPFLAGS'
72969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72972
72973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72974 /* end confdefs.h. */
72975 #include <math.h>
72976 #ifdef HAVE_IEEEFP_H
72977 #include <ieeefp.h>
72978 #endif
72979
72980 int
72981 main ()
72982 {
72983 _qfpclass(0);
72984 ;
72985 return 0;
72986 }
72987 _ACEOF
72988 if ac_fn_cxx_try_compile "$LINENO"; then :
72989 glibcxx_cv_func__qfpclass_use=yes
72990 else
72991 glibcxx_cv_func__qfpclass_use=no
72992 fi
72993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72994 ac_ext=c
72995 ac_cpp='$CPP $CPPFLAGS'
72996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72999
73000
73001 fi
73002
73003 fi
73004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73005 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73006
73007 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73008 for ac_func in _qfpclass
73009 do :
73010 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73011 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73012 cat >>confdefs.h <<_ACEOF
73013 #define HAVE__QFPCLASS 1
73014 _ACEOF
73015
73016 fi
73017 done
73018
73019 fi
73020 fi
73021
73022
73023
73024
73025
73026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73027 $as_echo_n "checking for hypot declaration... " >&6; }
73028 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73029 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73030 $as_echo_n "(cached) " >&6
73031 else
73032
73033
73034 ac_ext=cpp
73035 ac_cpp='$CXXCPP $CPPFLAGS'
73036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73039
73040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73041 /* end confdefs.h. */
73042 #include <math.h>
73043 int
73044 main ()
73045 {
73046 hypot(0, 0);
73047 ;
73048 return 0;
73049 }
73050 _ACEOF
73051 if ac_fn_cxx_try_compile "$LINENO"; then :
73052 glibcxx_cv_func_hypot_use=yes
73053 else
73054 glibcxx_cv_func_hypot_use=no
73055 fi
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057 ac_ext=c
73058 ac_cpp='$CPP $CPPFLAGS'
73059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73062
73063
73064 fi
73065
73066 fi
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73068 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73069
73070 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73071 for ac_func in hypot
73072 do :
73073 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73074 if test "x$ac_cv_func_hypot" = x""yes; then :
73075 cat >>confdefs.h <<_ACEOF
73076 #define HAVE_HYPOT 1
73077 _ACEOF
73078
73079 fi
73080 done
73081
73082 else
73083
73084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73085 $as_echo_n "checking for _hypot declaration... " >&6; }
73086 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73087 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73088 $as_echo_n "(cached) " >&6
73089 else
73090
73091
73092 ac_ext=cpp
73093 ac_cpp='$CXXCPP $CPPFLAGS'
73094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73097
73098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73099 /* end confdefs.h. */
73100 #include <math.h>
73101 int
73102 main ()
73103 {
73104 _hypot(0, 0);
73105 ;
73106 return 0;
73107 }
73108 _ACEOF
73109 if ac_fn_cxx_try_compile "$LINENO"; then :
73110 glibcxx_cv_func__hypot_use=yes
73111 else
73112 glibcxx_cv_func__hypot_use=no
73113 fi
73114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73115 ac_ext=c
73116 ac_cpp='$CPP $CPPFLAGS'
73117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73120
73121
73122 fi
73123
73124 fi
73125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73126 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73127
73128 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73129 for ac_func in _hypot
73130 do :
73131 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73132 if test "x$ac_cv_func__hypot" = x""yes; then :
73133 cat >>confdefs.h <<_ACEOF
73134 #define HAVE__HYPOT 1
73135 _ACEOF
73136
73137 fi
73138 done
73139
73140 fi
73141 fi
73142
73143
73144
73145
73146
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73148 $as_echo_n "checking for float trig functions... " >&6; }
73149 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73150 $as_echo_n "(cached) " >&6
73151 else
73152
73153
73154 ac_ext=cpp
73155 ac_cpp='$CXXCPP $CPPFLAGS'
73156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73159
73160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73161 /* end confdefs.h. */
73162 #include <math.h>
73163 int
73164 main ()
73165 {
73166 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73167 ;
73168 return 0;
73169 }
73170 _ACEOF
73171 if ac_fn_cxx_try_compile "$LINENO"; then :
73172 glibcxx_cv_func_float_trig_use=yes
73173 else
73174 glibcxx_cv_func_float_trig_use=no
73175 fi
73176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73177 ac_ext=c
73178 ac_cpp='$CPP $CPPFLAGS'
73179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73182
73183 fi
73184
73185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73186 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73187 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73188 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73189 do :
73190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73192 eval as_val=\$$as_ac_var
73193 if test "x$as_val" = x""yes; then :
73194 cat >>confdefs.h <<_ACEOF
73195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73196 _ACEOF
73197
73198 fi
73199 done
73200
73201 else
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73203 $as_echo_n "checking for _float trig functions... " >&6; }
73204 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73205 $as_echo_n "(cached) " >&6
73206 else
73207
73208
73209 ac_ext=cpp
73210 ac_cpp='$CXXCPP $CPPFLAGS'
73211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73214
73215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73216 /* end confdefs.h. */
73217 #include <math.h>
73218 int
73219 main ()
73220 {
73221 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73222 ;
73223 return 0;
73224 }
73225 _ACEOF
73226 if ac_fn_cxx_try_compile "$LINENO"; then :
73227 glibcxx_cv_func__float_trig_use=yes
73228 else
73229 glibcxx_cv_func__float_trig_use=no
73230 fi
73231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73232 ac_ext=c
73233 ac_cpp='$CPP $CPPFLAGS'
73234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73237
73238 fi
73239
73240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73241 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73242 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73243 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73244 do :
73245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73247 eval as_val=\$$as_ac_var
73248 if test "x$as_val" = x""yes; then :
73249 cat >>confdefs.h <<_ACEOF
73250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73251 _ACEOF
73252
73253 fi
73254 done
73255
73256 fi
73257 fi
73258
73259
73260
73261
73262
73263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73264 $as_echo_n "checking for float round functions... " >&6; }
73265 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73268
73269
73270 ac_ext=cpp
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73275
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278 #include <math.h>
73279 int
73280 main ()
73281 {
73282 ceilf (0); floorf (0);
73283 ;
73284 return 0;
73285 }
73286 _ACEOF
73287 if ac_fn_cxx_try_compile "$LINENO"; then :
73288 glibcxx_cv_func_float_round_use=yes
73289 else
73290 glibcxx_cv_func_float_round_use=no
73291 fi
73292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73293 ac_ext=c
73294 ac_cpp='$CPP $CPPFLAGS'
73295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73298
73299 fi
73300
73301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73302 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73303 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73304 for ac_func in ceilf floorf
73305 do :
73306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73308 eval as_val=\$$as_ac_var
73309 if test "x$as_val" = x""yes; then :
73310 cat >>confdefs.h <<_ACEOF
73311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73312 _ACEOF
73313
73314 fi
73315 done
73316
73317 else
73318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73319 $as_echo_n "checking for _float round functions... " >&6; }
73320 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73321 $as_echo_n "(cached) " >&6
73322 else
73323
73324
73325 ac_ext=cpp
73326 ac_cpp='$CXXCPP $CPPFLAGS'
73327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73330
73331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73332 /* end confdefs.h. */
73333 #include <math.h>
73334 int
73335 main ()
73336 {
73337 _ceilf (0); _floorf (0);
73338 ;
73339 return 0;
73340 }
73341 _ACEOF
73342 if ac_fn_cxx_try_compile "$LINENO"; then :
73343 glibcxx_cv_func__float_round_use=yes
73344 else
73345 glibcxx_cv_func__float_round_use=no
73346 fi
73347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73348 ac_ext=c
73349 ac_cpp='$CPP $CPPFLAGS'
73350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73353
73354 fi
73355
73356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73357 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73358 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73359 for ac_func in _ceilf _floorf
73360 do :
73361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73363 eval as_val=\$$as_ac_var
73364 if test "x$as_val" = x""yes; then :
73365 cat >>confdefs.h <<_ACEOF
73366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73367 _ACEOF
73368
73369 fi
73370 done
73371
73372 fi
73373 fi
73374
73375
73376
73377
73378
73379
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73381 $as_echo_n "checking for expf declaration... " >&6; }
73382 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73383 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73384 $as_echo_n "(cached) " >&6
73385 else
73386
73387
73388 ac_ext=cpp
73389 ac_cpp='$CXXCPP $CPPFLAGS'
73390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73393
73394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73395 /* end confdefs.h. */
73396 #include <math.h>
73397 #ifdef HAVE_IEEEFP_H
73398 #include <ieeefp.h>
73399 #endif
73400
73401 int
73402 main ()
73403 {
73404 expf(0);
73405 ;
73406 return 0;
73407 }
73408 _ACEOF
73409 if ac_fn_cxx_try_compile "$LINENO"; then :
73410 glibcxx_cv_func_expf_use=yes
73411 else
73412 glibcxx_cv_func_expf_use=no
73413 fi
73414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73415 ac_ext=c
73416 ac_cpp='$CPP $CPPFLAGS'
73417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73420
73421
73422 fi
73423
73424 fi
73425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73426 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73427
73428 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73429 for ac_func in expf
73430 do :
73431 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73432 if test "x$ac_cv_func_expf" = x""yes; then :
73433 cat >>confdefs.h <<_ACEOF
73434 #define HAVE_EXPF 1
73435 _ACEOF
73436
73437 fi
73438 done
73439
73440 else
73441
73442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73443 $as_echo_n "checking for _expf declaration... " >&6; }
73444 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73445 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73446 $as_echo_n "(cached) " >&6
73447 else
73448
73449
73450 ac_ext=cpp
73451 ac_cpp='$CXXCPP $CPPFLAGS'
73452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73455
73456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73457 /* end confdefs.h. */
73458 #include <math.h>
73459 #ifdef HAVE_IEEEFP_H
73460 #include <ieeefp.h>
73461 #endif
73462
73463 int
73464 main ()
73465 {
73466 _expf(0);
73467 ;
73468 return 0;
73469 }
73470 _ACEOF
73471 if ac_fn_cxx_try_compile "$LINENO"; then :
73472 glibcxx_cv_func__expf_use=yes
73473 else
73474 glibcxx_cv_func__expf_use=no
73475 fi
73476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73477 ac_ext=c
73478 ac_cpp='$CPP $CPPFLAGS'
73479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73482
73483
73484 fi
73485
73486 fi
73487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73488 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73489
73490 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73491 for ac_func in _expf
73492 do :
73493 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73494 if test "x$ac_cv_func__expf" = x""yes; then :
73495 cat >>confdefs.h <<_ACEOF
73496 #define HAVE__EXPF 1
73497 _ACEOF
73498
73499 fi
73500 done
73501
73502 fi
73503 fi
73504
73505
73506
73507
73508
73509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73510 $as_echo_n "checking for isnanf declaration... " >&6; }
73511 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73512 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73513 $as_echo_n "(cached) " >&6
73514 else
73515
73516
73517 ac_ext=cpp
73518 ac_cpp='$CXXCPP $CPPFLAGS'
73519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73522
73523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73524 /* end confdefs.h. */
73525 #include <math.h>
73526 #ifdef HAVE_IEEEFP_H
73527 #include <ieeefp.h>
73528 #endif
73529
73530 int
73531 main ()
73532 {
73533 isnanf(0);
73534 ;
73535 return 0;
73536 }
73537 _ACEOF
73538 if ac_fn_cxx_try_compile "$LINENO"; then :
73539 glibcxx_cv_func_isnanf_use=yes
73540 else
73541 glibcxx_cv_func_isnanf_use=no
73542 fi
73543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73544 ac_ext=c
73545 ac_cpp='$CPP $CPPFLAGS'
73546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73549
73550
73551 fi
73552
73553 fi
73554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73555 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73556
73557 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73558 for ac_func in isnanf
73559 do :
73560 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73561 if test "x$ac_cv_func_isnanf" = x""yes; then :
73562 cat >>confdefs.h <<_ACEOF
73563 #define HAVE_ISNANF 1
73564 _ACEOF
73565
73566 fi
73567 done
73568
73569 else
73570
73571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73572 $as_echo_n "checking for _isnanf declaration... " >&6; }
73573 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73574 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73575 $as_echo_n "(cached) " >&6
73576 else
73577
73578
73579 ac_ext=cpp
73580 ac_cpp='$CXXCPP $CPPFLAGS'
73581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73584
73585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73586 /* end confdefs.h. */
73587 #include <math.h>
73588 #ifdef HAVE_IEEEFP_H
73589 #include <ieeefp.h>
73590 #endif
73591
73592 int
73593 main ()
73594 {
73595 _isnanf(0);
73596 ;
73597 return 0;
73598 }
73599 _ACEOF
73600 if ac_fn_cxx_try_compile "$LINENO"; then :
73601 glibcxx_cv_func__isnanf_use=yes
73602 else
73603 glibcxx_cv_func__isnanf_use=no
73604 fi
73605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73606 ac_ext=c
73607 ac_cpp='$CPP $CPPFLAGS'
73608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73611
73612
73613 fi
73614
73615 fi
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73617 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73618
73619 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73620 for ac_func in _isnanf
73621 do :
73622 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73623 if test "x$ac_cv_func__isnanf" = x""yes; then :
73624 cat >>confdefs.h <<_ACEOF
73625 #define HAVE__ISNANF 1
73626 _ACEOF
73627
73628 fi
73629 done
73630
73631 fi
73632 fi
73633
73634
73635
73636
73637
73638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73639 $as_echo_n "checking for isinff declaration... " >&6; }
73640 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73641 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73642 $as_echo_n "(cached) " >&6
73643 else
73644
73645
73646 ac_ext=cpp
73647 ac_cpp='$CXXCPP $CPPFLAGS'
73648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73651
73652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73653 /* end confdefs.h. */
73654 #include <math.h>
73655 #ifdef HAVE_IEEEFP_H
73656 #include <ieeefp.h>
73657 #endif
73658
73659 int
73660 main ()
73661 {
73662 isinff(0);
73663 ;
73664 return 0;
73665 }
73666 _ACEOF
73667 if ac_fn_cxx_try_compile "$LINENO"; then :
73668 glibcxx_cv_func_isinff_use=yes
73669 else
73670 glibcxx_cv_func_isinff_use=no
73671 fi
73672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73673 ac_ext=c
73674 ac_cpp='$CPP $CPPFLAGS'
73675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73678
73679
73680 fi
73681
73682 fi
73683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73684 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73685
73686 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73687 for ac_func in isinff
73688 do :
73689 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73690 if test "x$ac_cv_func_isinff" = x""yes; then :
73691 cat >>confdefs.h <<_ACEOF
73692 #define HAVE_ISINFF 1
73693 _ACEOF
73694
73695 fi
73696 done
73697
73698 else
73699
73700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73701 $as_echo_n "checking for _isinff declaration... " >&6; }
73702 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73703 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73704 $as_echo_n "(cached) " >&6
73705 else
73706
73707
73708 ac_ext=cpp
73709 ac_cpp='$CXXCPP $CPPFLAGS'
73710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73713
73714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73715 /* end confdefs.h. */
73716 #include <math.h>
73717 #ifdef HAVE_IEEEFP_H
73718 #include <ieeefp.h>
73719 #endif
73720
73721 int
73722 main ()
73723 {
73724 _isinff(0);
73725 ;
73726 return 0;
73727 }
73728 _ACEOF
73729 if ac_fn_cxx_try_compile "$LINENO"; then :
73730 glibcxx_cv_func__isinff_use=yes
73731 else
73732 glibcxx_cv_func__isinff_use=no
73733 fi
73734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73735 ac_ext=c
73736 ac_cpp='$CPP $CPPFLAGS'
73737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73740
73741
73742 fi
73743
73744 fi
73745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73746 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73747
73748 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73749 for ac_func in _isinff
73750 do :
73751 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73752 if test "x$ac_cv_func__isinff" = x""yes; then :
73753 cat >>confdefs.h <<_ACEOF
73754 #define HAVE__ISINFF 1
73755 _ACEOF
73756
73757 fi
73758 done
73759
73760 fi
73761 fi
73762
73763
73764
73765
73766
73767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73768 $as_echo_n "checking for atan2f declaration... " >&6; }
73769 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73770 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73771 $as_echo_n "(cached) " >&6
73772 else
73773
73774
73775 ac_ext=cpp
73776 ac_cpp='$CXXCPP $CPPFLAGS'
73777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73780
73781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73782 /* end confdefs.h. */
73783 #include <math.h>
73784 int
73785 main ()
73786 {
73787 atan2f(0, 0);
73788 ;
73789 return 0;
73790 }
73791 _ACEOF
73792 if ac_fn_cxx_try_compile "$LINENO"; then :
73793 glibcxx_cv_func_atan2f_use=yes
73794 else
73795 glibcxx_cv_func_atan2f_use=no
73796 fi
73797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73798 ac_ext=c
73799 ac_cpp='$CPP $CPPFLAGS'
73800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73803
73804
73805 fi
73806
73807 fi
73808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73809 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73810
73811 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73812 for ac_func in atan2f
73813 do :
73814 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73815 if test "x$ac_cv_func_atan2f" = x""yes; then :
73816 cat >>confdefs.h <<_ACEOF
73817 #define HAVE_ATAN2F 1
73818 _ACEOF
73819
73820 fi
73821 done
73822
73823 else
73824
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73826 $as_echo_n "checking for _atan2f declaration... " >&6; }
73827 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73828 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73829 $as_echo_n "(cached) " >&6
73830 else
73831
73832
73833 ac_ext=cpp
73834 ac_cpp='$CXXCPP $CPPFLAGS'
73835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73838
73839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73840 /* end confdefs.h. */
73841 #include <math.h>
73842 int
73843 main ()
73844 {
73845 _atan2f(0, 0);
73846 ;
73847 return 0;
73848 }
73849 _ACEOF
73850 if ac_fn_cxx_try_compile "$LINENO"; then :
73851 glibcxx_cv_func__atan2f_use=yes
73852 else
73853 glibcxx_cv_func__atan2f_use=no
73854 fi
73855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73856 ac_ext=c
73857 ac_cpp='$CPP $CPPFLAGS'
73858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73861
73862
73863 fi
73864
73865 fi
73866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73867 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73868
73869 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73870 for ac_func in _atan2f
73871 do :
73872 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73873 if test "x$ac_cv_func__atan2f" = x""yes; then :
73874 cat >>confdefs.h <<_ACEOF
73875 #define HAVE__ATAN2F 1
73876 _ACEOF
73877
73878 fi
73879 done
73880
73881 fi
73882 fi
73883
73884
73885
73886
73887
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73889 $as_echo_n "checking for fabsf declaration... " >&6; }
73890 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73891 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73892 $as_echo_n "(cached) " >&6
73893 else
73894
73895
73896 ac_ext=cpp
73897 ac_cpp='$CXXCPP $CPPFLAGS'
73898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73901
73902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73903 /* end confdefs.h. */
73904 #include <math.h>
73905 #ifdef HAVE_IEEEFP_H
73906 #include <ieeefp.h>
73907 #endif
73908
73909 int
73910 main ()
73911 {
73912 fabsf(0);
73913 ;
73914 return 0;
73915 }
73916 _ACEOF
73917 if ac_fn_cxx_try_compile "$LINENO"; then :
73918 glibcxx_cv_func_fabsf_use=yes
73919 else
73920 glibcxx_cv_func_fabsf_use=no
73921 fi
73922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73923 ac_ext=c
73924 ac_cpp='$CPP $CPPFLAGS'
73925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73928
73929
73930 fi
73931
73932 fi
73933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73934 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73935
73936 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73937 for ac_func in fabsf
73938 do :
73939 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73940 if test "x$ac_cv_func_fabsf" = x""yes; then :
73941 cat >>confdefs.h <<_ACEOF
73942 #define HAVE_FABSF 1
73943 _ACEOF
73944
73945 fi
73946 done
73947
73948 else
73949
73950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73951 $as_echo_n "checking for _fabsf declaration... " >&6; }
73952 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73953 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73954 $as_echo_n "(cached) " >&6
73955 else
73956
73957
73958 ac_ext=cpp
73959 ac_cpp='$CXXCPP $CPPFLAGS'
73960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73963
73964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73965 /* end confdefs.h. */
73966 #include <math.h>
73967 #ifdef HAVE_IEEEFP_H
73968 #include <ieeefp.h>
73969 #endif
73970
73971 int
73972 main ()
73973 {
73974 _fabsf(0);
73975 ;
73976 return 0;
73977 }
73978 _ACEOF
73979 if ac_fn_cxx_try_compile "$LINENO"; then :
73980 glibcxx_cv_func__fabsf_use=yes
73981 else
73982 glibcxx_cv_func__fabsf_use=no
73983 fi
73984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73985 ac_ext=c
73986 ac_cpp='$CPP $CPPFLAGS'
73987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73990
73991
73992 fi
73993
73994 fi
73995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73996 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73997
73998 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73999 for ac_func in _fabsf
74000 do :
74001 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74002 if test "x$ac_cv_func__fabsf" = x""yes; then :
74003 cat >>confdefs.h <<_ACEOF
74004 #define HAVE__FABSF 1
74005 _ACEOF
74006
74007 fi
74008 done
74009
74010 fi
74011 fi
74012
74013
74014
74015
74016
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74018 $as_echo_n "checking for fmodf declaration... " >&6; }
74019 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74020 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74021 $as_echo_n "(cached) " >&6
74022 else
74023
74024
74025 ac_ext=cpp
74026 ac_cpp='$CXXCPP $CPPFLAGS'
74027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74030
74031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74032 /* end confdefs.h. */
74033 #include <math.h>
74034 int
74035 main ()
74036 {
74037 fmodf(0, 0);
74038 ;
74039 return 0;
74040 }
74041 _ACEOF
74042 if ac_fn_cxx_try_compile "$LINENO"; then :
74043 glibcxx_cv_func_fmodf_use=yes
74044 else
74045 glibcxx_cv_func_fmodf_use=no
74046 fi
74047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74048 ac_ext=c
74049 ac_cpp='$CPP $CPPFLAGS'
74050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74053
74054
74055 fi
74056
74057 fi
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74059 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74060
74061 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74062 for ac_func in fmodf
74063 do :
74064 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74065 if test "x$ac_cv_func_fmodf" = x""yes; then :
74066 cat >>confdefs.h <<_ACEOF
74067 #define HAVE_FMODF 1
74068 _ACEOF
74069
74070 fi
74071 done
74072
74073 else
74074
74075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74076 $as_echo_n "checking for _fmodf declaration... " >&6; }
74077 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74078 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74079 $as_echo_n "(cached) " >&6
74080 else
74081
74082
74083 ac_ext=cpp
74084 ac_cpp='$CXXCPP $CPPFLAGS'
74085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74088
74089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74090 /* end confdefs.h. */
74091 #include <math.h>
74092 int
74093 main ()
74094 {
74095 _fmodf(0, 0);
74096 ;
74097 return 0;
74098 }
74099 _ACEOF
74100 if ac_fn_cxx_try_compile "$LINENO"; then :
74101 glibcxx_cv_func__fmodf_use=yes
74102 else
74103 glibcxx_cv_func__fmodf_use=no
74104 fi
74105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74106 ac_ext=c
74107 ac_cpp='$CPP $CPPFLAGS'
74108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74111
74112
74113 fi
74114
74115 fi
74116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74117 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74118
74119 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74120 for ac_func in _fmodf
74121 do :
74122 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74123 if test "x$ac_cv_func__fmodf" = x""yes; then :
74124 cat >>confdefs.h <<_ACEOF
74125 #define HAVE__FMODF 1
74126 _ACEOF
74127
74128 fi
74129 done
74130
74131 fi
74132 fi
74133
74134
74135
74136
74137
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74139 $as_echo_n "checking for frexpf declaration... " >&6; }
74140 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74141 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74142 $as_echo_n "(cached) " >&6
74143 else
74144
74145
74146 ac_ext=cpp
74147 ac_cpp='$CXXCPP $CPPFLAGS'
74148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74151
74152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74153 /* end confdefs.h. */
74154 #include <math.h>
74155 int
74156 main ()
74157 {
74158 frexpf(0, 0);
74159 ;
74160 return 0;
74161 }
74162 _ACEOF
74163 if ac_fn_cxx_try_compile "$LINENO"; then :
74164 glibcxx_cv_func_frexpf_use=yes
74165 else
74166 glibcxx_cv_func_frexpf_use=no
74167 fi
74168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74169 ac_ext=c
74170 ac_cpp='$CPP $CPPFLAGS'
74171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74174
74175
74176 fi
74177
74178 fi
74179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74180 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74181
74182 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74183 for ac_func in frexpf
74184 do :
74185 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74186 if test "x$ac_cv_func_frexpf" = x""yes; then :
74187 cat >>confdefs.h <<_ACEOF
74188 #define HAVE_FREXPF 1
74189 _ACEOF
74190
74191 fi
74192 done
74193
74194 else
74195
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74197 $as_echo_n "checking for _frexpf declaration... " >&6; }
74198 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74199 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74200 $as_echo_n "(cached) " >&6
74201 else
74202
74203
74204 ac_ext=cpp
74205 ac_cpp='$CXXCPP $CPPFLAGS'
74206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74209
74210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74211 /* end confdefs.h. */
74212 #include <math.h>
74213 int
74214 main ()
74215 {
74216 _frexpf(0, 0);
74217 ;
74218 return 0;
74219 }
74220 _ACEOF
74221 if ac_fn_cxx_try_compile "$LINENO"; then :
74222 glibcxx_cv_func__frexpf_use=yes
74223 else
74224 glibcxx_cv_func__frexpf_use=no
74225 fi
74226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74227 ac_ext=c
74228 ac_cpp='$CPP $CPPFLAGS'
74229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74232
74233
74234 fi
74235
74236 fi
74237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74238 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74239
74240 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74241 for ac_func in _frexpf
74242 do :
74243 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74244 if test "x$ac_cv_func__frexpf" = x""yes; then :
74245 cat >>confdefs.h <<_ACEOF
74246 #define HAVE__FREXPF 1
74247 _ACEOF
74248
74249 fi
74250 done
74251
74252 fi
74253 fi
74254
74255
74256
74257
74258
74259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74260 $as_echo_n "checking for hypotf declaration... " >&6; }
74261 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74262 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74263 $as_echo_n "(cached) " >&6
74264 else
74265
74266
74267 ac_ext=cpp
74268 ac_cpp='$CXXCPP $CPPFLAGS'
74269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74272
74273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74274 /* end confdefs.h. */
74275 #include <math.h>
74276 int
74277 main ()
74278 {
74279 hypotf(0, 0);
74280 ;
74281 return 0;
74282 }
74283 _ACEOF
74284 if ac_fn_cxx_try_compile "$LINENO"; then :
74285 glibcxx_cv_func_hypotf_use=yes
74286 else
74287 glibcxx_cv_func_hypotf_use=no
74288 fi
74289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74290 ac_ext=c
74291 ac_cpp='$CPP $CPPFLAGS'
74292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74295
74296
74297 fi
74298
74299 fi
74300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74301 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74302
74303 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74304 for ac_func in hypotf
74305 do :
74306 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74307 if test "x$ac_cv_func_hypotf" = x""yes; then :
74308 cat >>confdefs.h <<_ACEOF
74309 #define HAVE_HYPOTF 1
74310 _ACEOF
74311
74312 fi
74313 done
74314
74315 else
74316
74317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74318 $as_echo_n "checking for _hypotf declaration... " >&6; }
74319 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74320 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74321 $as_echo_n "(cached) " >&6
74322 else
74323
74324
74325 ac_ext=cpp
74326 ac_cpp='$CXXCPP $CPPFLAGS'
74327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74330
74331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74332 /* end confdefs.h. */
74333 #include <math.h>
74334 int
74335 main ()
74336 {
74337 _hypotf(0, 0);
74338 ;
74339 return 0;
74340 }
74341 _ACEOF
74342 if ac_fn_cxx_try_compile "$LINENO"; then :
74343 glibcxx_cv_func__hypotf_use=yes
74344 else
74345 glibcxx_cv_func__hypotf_use=no
74346 fi
74347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74348 ac_ext=c
74349 ac_cpp='$CPP $CPPFLAGS'
74350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74353
74354
74355 fi
74356
74357 fi
74358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74359 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74360
74361 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74362 for ac_func in _hypotf
74363 do :
74364 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74365 if test "x$ac_cv_func__hypotf" = x""yes; then :
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE__HYPOTF 1
74368 _ACEOF
74369
74370 fi
74371 done
74372
74373 fi
74374 fi
74375
74376
74377
74378
74379
74380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74381 $as_echo_n "checking for ldexpf declaration... " >&6; }
74382 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74383 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74384 $as_echo_n "(cached) " >&6
74385 else
74386
74387
74388 ac_ext=cpp
74389 ac_cpp='$CXXCPP $CPPFLAGS'
74390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74393
74394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74395 /* end confdefs.h. */
74396 #include <math.h>
74397 int
74398 main ()
74399 {
74400 ldexpf(0, 0);
74401 ;
74402 return 0;
74403 }
74404 _ACEOF
74405 if ac_fn_cxx_try_compile "$LINENO"; then :
74406 glibcxx_cv_func_ldexpf_use=yes
74407 else
74408 glibcxx_cv_func_ldexpf_use=no
74409 fi
74410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74411 ac_ext=c
74412 ac_cpp='$CPP $CPPFLAGS'
74413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74416
74417
74418 fi
74419
74420 fi
74421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74422 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74423
74424 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74425 for ac_func in ldexpf
74426 do :
74427 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74428 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74429 cat >>confdefs.h <<_ACEOF
74430 #define HAVE_LDEXPF 1
74431 _ACEOF
74432
74433 fi
74434 done
74435
74436 else
74437
74438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74439 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74440 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74441 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74442 $as_echo_n "(cached) " >&6
74443 else
74444
74445
74446 ac_ext=cpp
74447 ac_cpp='$CXXCPP $CPPFLAGS'
74448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74451
74452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74453 /* end confdefs.h. */
74454 #include <math.h>
74455 int
74456 main ()
74457 {
74458 _ldexpf(0, 0);
74459 ;
74460 return 0;
74461 }
74462 _ACEOF
74463 if ac_fn_cxx_try_compile "$LINENO"; then :
74464 glibcxx_cv_func__ldexpf_use=yes
74465 else
74466 glibcxx_cv_func__ldexpf_use=no
74467 fi
74468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74469 ac_ext=c
74470 ac_cpp='$CPP $CPPFLAGS'
74471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74474
74475
74476 fi
74477
74478 fi
74479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74480 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74481
74482 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74483 for ac_func in _ldexpf
74484 do :
74485 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74486 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74487 cat >>confdefs.h <<_ACEOF
74488 #define HAVE__LDEXPF 1
74489 _ACEOF
74490
74491 fi
74492 done
74493
74494 fi
74495 fi
74496
74497
74498
74499
74500
74501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74502 $as_echo_n "checking for logf declaration... " >&6; }
74503 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74504 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74505 $as_echo_n "(cached) " >&6
74506 else
74507
74508
74509 ac_ext=cpp
74510 ac_cpp='$CXXCPP $CPPFLAGS'
74511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74514
74515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74516 /* end confdefs.h. */
74517 #include <math.h>
74518 #ifdef HAVE_IEEEFP_H
74519 #include <ieeefp.h>
74520 #endif
74521
74522 int
74523 main ()
74524 {
74525 logf(0);
74526 ;
74527 return 0;
74528 }
74529 _ACEOF
74530 if ac_fn_cxx_try_compile "$LINENO"; then :
74531 glibcxx_cv_func_logf_use=yes
74532 else
74533 glibcxx_cv_func_logf_use=no
74534 fi
74535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74536 ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74541
74542
74543 fi
74544
74545 fi
74546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74547 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74548
74549 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74550 for ac_func in logf
74551 do :
74552 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74553 if test "x$ac_cv_func_logf" = x""yes; then :
74554 cat >>confdefs.h <<_ACEOF
74555 #define HAVE_LOGF 1
74556 _ACEOF
74557
74558 fi
74559 done
74560
74561 else
74562
74563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74564 $as_echo_n "checking for _logf declaration... " >&6; }
74565 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74566 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74567 $as_echo_n "(cached) " >&6
74568 else
74569
74570
74571 ac_ext=cpp
74572 ac_cpp='$CXXCPP $CPPFLAGS'
74573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74576
74577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74578 /* end confdefs.h. */
74579 #include <math.h>
74580 #ifdef HAVE_IEEEFP_H
74581 #include <ieeefp.h>
74582 #endif
74583
74584 int
74585 main ()
74586 {
74587 _logf(0);
74588 ;
74589 return 0;
74590 }
74591 _ACEOF
74592 if ac_fn_cxx_try_compile "$LINENO"; then :
74593 glibcxx_cv_func__logf_use=yes
74594 else
74595 glibcxx_cv_func__logf_use=no
74596 fi
74597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74598 ac_ext=c
74599 ac_cpp='$CPP $CPPFLAGS'
74600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74603
74604
74605 fi
74606
74607 fi
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74609 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74610
74611 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74612 for ac_func in _logf
74613 do :
74614 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74615 if test "x$ac_cv_func__logf" = x""yes; then :
74616 cat >>confdefs.h <<_ACEOF
74617 #define HAVE__LOGF 1
74618 _ACEOF
74619
74620 fi
74621 done
74622
74623 fi
74624 fi
74625
74626
74627
74628
74629
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74631 $as_echo_n "checking for log10f declaration... " >&6; }
74632 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74633 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74634 $as_echo_n "(cached) " >&6
74635 else
74636
74637
74638 ac_ext=cpp
74639 ac_cpp='$CXXCPP $CPPFLAGS'
74640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74643
74644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74645 /* end confdefs.h. */
74646 #include <math.h>
74647 #ifdef HAVE_IEEEFP_H
74648 #include <ieeefp.h>
74649 #endif
74650
74651 int
74652 main ()
74653 {
74654 log10f(0);
74655 ;
74656 return 0;
74657 }
74658 _ACEOF
74659 if ac_fn_cxx_try_compile "$LINENO"; then :
74660 glibcxx_cv_func_log10f_use=yes
74661 else
74662 glibcxx_cv_func_log10f_use=no
74663 fi
74664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74665 ac_ext=c
74666 ac_cpp='$CPP $CPPFLAGS'
74667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74670
74671
74672 fi
74673
74674 fi
74675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74676 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74677
74678 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74679 for ac_func in log10f
74680 do :
74681 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74682 if test "x$ac_cv_func_log10f" = x""yes; then :
74683 cat >>confdefs.h <<_ACEOF
74684 #define HAVE_LOG10F 1
74685 _ACEOF
74686
74687 fi
74688 done
74689
74690 else
74691
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74693 $as_echo_n "checking for _log10f declaration... " >&6; }
74694 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74695 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74696 $as_echo_n "(cached) " >&6
74697 else
74698
74699
74700 ac_ext=cpp
74701 ac_cpp='$CXXCPP $CPPFLAGS'
74702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74705
74706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74707 /* end confdefs.h. */
74708 #include <math.h>
74709 #ifdef HAVE_IEEEFP_H
74710 #include <ieeefp.h>
74711 #endif
74712
74713 int
74714 main ()
74715 {
74716 _log10f(0);
74717 ;
74718 return 0;
74719 }
74720 _ACEOF
74721 if ac_fn_cxx_try_compile "$LINENO"; then :
74722 glibcxx_cv_func__log10f_use=yes
74723 else
74724 glibcxx_cv_func__log10f_use=no
74725 fi
74726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74727 ac_ext=c
74728 ac_cpp='$CPP $CPPFLAGS'
74729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74732
74733
74734 fi
74735
74736 fi
74737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74738 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74739
74740 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74741 for ac_func in _log10f
74742 do :
74743 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74744 if test "x$ac_cv_func__log10f" = x""yes; then :
74745 cat >>confdefs.h <<_ACEOF
74746 #define HAVE__LOG10F 1
74747 _ACEOF
74748
74749 fi
74750 done
74751
74752 fi
74753 fi
74754
74755
74756
74757
74758
74759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74760 $as_echo_n "checking for modff declaration... " >&6; }
74761 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74762 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74763 $as_echo_n "(cached) " >&6
74764 else
74765
74766
74767 ac_ext=cpp
74768 ac_cpp='$CXXCPP $CPPFLAGS'
74769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74772
74773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74774 /* end confdefs.h. */
74775 #include <math.h>
74776 int
74777 main ()
74778 {
74779 modff(0, 0);
74780 ;
74781 return 0;
74782 }
74783 _ACEOF
74784 if ac_fn_cxx_try_compile "$LINENO"; then :
74785 glibcxx_cv_func_modff_use=yes
74786 else
74787 glibcxx_cv_func_modff_use=no
74788 fi
74789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74790 ac_ext=c
74791 ac_cpp='$CPP $CPPFLAGS'
74792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74795
74796
74797 fi
74798
74799 fi
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74801 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74802
74803 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74804 for ac_func in modff
74805 do :
74806 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74807 if test "x$ac_cv_func_modff" = x""yes; then :
74808 cat >>confdefs.h <<_ACEOF
74809 #define HAVE_MODFF 1
74810 _ACEOF
74811
74812 fi
74813 done
74814
74815 else
74816
74817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74818 $as_echo_n "checking for _modff declaration... " >&6; }
74819 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74820 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74821 $as_echo_n "(cached) " >&6
74822 else
74823
74824
74825 ac_ext=cpp
74826 ac_cpp='$CXXCPP $CPPFLAGS'
74827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74830
74831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74832 /* end confdefs.h. */
74833 #include <math.h>
74834 int
74835 main ()
74836 {
74837 _modff(0, 0);
74838 ;
74839 return 0;
74840 }
74841 _ACEOF
74842 if ac_fn_cxx_try_compile "$LINENO"; then :
74843 glibcxx_cv_func__modff_use=yes
74844 else
74845 glibcxx_cv_func__modff_use=no
74846 fi
74847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74848 ac_ext=c
74849 ac_cpp='$CPP $CPPFLAGS'
74850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74853
74854
74855 fi
74856
74857 fi
74858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74859 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74860
74861 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74862 for ac_func in _modff
74863 do :
74864 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74865 if test "x$ac_cv_func__modff" = x""yes; then :
74866 cat >>confdefs.h <<_ACEOF
74867 #define HAVE__MODFF 1
74868 _ACEOF
74869
74870 fi
74871 done
74872
74873 fi
74874 fi
74875
74876
74877
74878
74879
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74881 $as_echo_n "checking for modf declaration... " >&6; }
74882 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74883 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74884 $as_echo_n "(cached) " >&6
74885 else
74886
74887
74888 ac_ext=cpp
74889 ac_cpp='$CXXCPP $CPPFLAGS'
74890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74893
74894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74895 /* end confdefs.h. */
74896 #include <math.h>
74897 int
74898 main ()
74899 {
74900 modf(0, 0);
74901 ;
74902 return 0;
74903 }
74904 _ACEOF
74905 if ac_fn_cxx_try_compile "$LINENO"; then :
74906 glibcxx_cv_func_modf_use=yes
74907 else
74908 glibcxx_cv_func_modf_use=no
74909 fi
74910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74911 ac_ext=c
74912 ac_cpp='$CPP $CPPFLAGS'
74913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74916
74917
74918 fi
74919
74920 fi
74921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74922 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74923
74924 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74925 for ac_func in modf
74926 do :
74927 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74928 if test "x$ac_cv_func_modf" = x""yes; then :
74929 cat >>confdefs.h <<_ACEOF
74930 #define HAVE_MODF 1
74931 _ACEOF
74932
74933 fi
74934 done
74935
74936 else
74937
74938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74939 $as_echo_n "checking for _modf declaration... " >&6; }
74940 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74941 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74942 $as_echo_n "(cached) " >&6
74943 else
74944
74945
74946 ac_ext=cpp
74947 ac_cpp='$CXXCPP $CPPFLAGS'
74948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74951
74952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74953 /* end confdefs.h. */
74954 #include <math.h>
74955 int
74956 main ()
74957 {
74958 _modf(0, 0);
74959 ;
74960 return 0;
74961 }
74962 _ACEOF
74963 if ac_fn_cxx_try_compile "$LINENO"; then :
74964 glibcxx_cv_func__modf_use=yes
74965 else
74966 glibcxx_cv_func__modf_use=no
74967 fi
74968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74969 ac_ext=c
74970 ac_cpp='$CPP $CPPFLAGS'
74971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74974
74975
74976 fi
74977
74978 fi
74979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74980 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74981
74982 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74983 for ac_func in _modf
74984 do :
74985 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74986 if test "x$ac_cv_func__modf" = x""yes; then :
74987 cat >>confdefs.h <<_ACEOF
74988 #define HAVE__MODF 1
74989 _ACEOF
74990
74991 fi
74992 done
74993
74994 fi
74995 fi
74996
74997
74998
74999
75000
75001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75002 $as_echo_n "checking for powf declaration... " >&6; }
75003 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75004 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75005 $as_echo_n "(cached) " >&6
75006 else
75007
75008
75009 ac_ext=cpp
75010 ac_cpp='$CXXCPP $CPPFLAGS'
75011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75014
75015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75016 /* end confdefs.h. */
75017 #include <math.h>
75018 int
75019 main ()
75020 {
75021 powf(0, 0);
75022 ;
75023 return 0;
75024 }
75025 _ACEOF
75026 if ac_fn_cxx_try_compile "$LINENO"; then :
75027 glibcxx_cv_func_powf_use=yes
75028 else
75029 glibcxx_cv_func_powf_use=no
75030 fi
75031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75032 ac_ext=c
75033 ac_cpp='$CPP $CPPFLAGS'
75034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75037
75038
75039 fi
75040
75041 fi
75042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75043 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75044
75045 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75046 for ac_func in powf
75047 do :
75048 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75049 if test "x$ac_cv_func_powf" = x""yes; then :
75050 cat >>confdefs.h <<_ACEOF
75051 #define HAVE_POWF 1
75052 _ACEOF
75053
75054 fi
75055 done
75056
75057 else
75058
75059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75060 $as_echo_n "checking for _powf declaration... " >&6; }
75061 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75062 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75063 $as_echo_n "(cached) " >&6
75064 else
75065
75066
75067 ac_ext=cpp
75068 ac_cpp='$CXXCPP $CPPFLAGS'
75069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75072
75073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75074 /* end confdefs.h. */
75075 #include <math.h>
75076 int
75077 main ()
75078 {
75079 _powf(0, 0);
75080 ;
75081 return 0;
75082 }
75083 _ACEOF
75084 if ac_fn_cxx_try_compile "$LINENO"; then :
75085 glibcxx_cv_func__powf_use=yes
75086 else
75087 glibcxx_cv_func__powf_use=no
75088 fi
75089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75090 ac_ext=c
75091 ac_cpp='$CPP $CPPFLAGS'
75092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75095
75096
75097 fi
75098
75099 fi
75100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75101 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75102
75103 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75104 for ac_func in _powf
75105 do :
75106 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75107 if test "x$ac_cv_func__powf" = x""yes; then :
75108 cat >>confdefs.h <<_ACEOF
75109 #define HAVE__POWF 1
75110 _ACEOF
75111
75112 fi
75113 done
75114
75115 fi
75116 fi
75117
75118
75119
75120
75121
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75123 $as_echo_n "checking for sqrtf declaration... " >&6; }
75124 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75125 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75126 $as_echo_n "(cached) " >&6
75127 else
75128
75129
75130 ac_ext=cpp
75131 ac_cpp='$CXXCPP $CPPFLAGS'
75132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75135
75136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75137 /* end confdefs.h. */
75138 #include <math.h>
75139 #ifdef HAVE_IEEEFP_H
75140 #include <ieeefp.h>
75141 #endif
75142
75143 int
75144 main ()
75145 {
75146 sqrtf(0);
75147 ;
75148 return 0;
75149 }
75150 _ACEOF
75151 if ac_fn_cxx_try_compile "$LINENO"; then :
75152 glibcxx_cv_func_sqrtf_use=yes
75153 else
75154 glibcxx_cv_func_sqrtf_use=no
75155 fi
75156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75157 ac_ext=c
75158 ac_cpp='$CPP $CPPFLAGS'
75159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75162
75163
75164 fi
75165
75166 fi
75167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75168 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75169
75170 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75171 for ac_func in sqrtf
75172 do :
75173 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75174 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75175 cat >>confdefs.h <<_ACEOF
75176 #define HAVE_SQRTF 1
75177 _ACEOF
75178
75179 fi
75180 done
75181
75182 else
75183
75184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75185 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75186 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75187 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75188 $as_echo_n "(cached) " >&6
75189 else
75190
75191
75192 ac_ext=cpp
75193 ac_cpp='$CXXCPP $CPPFLAGS'
75194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75197
75198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75199 /* end confdefs.h. */
75200 #include <math.h>
75201 #ifdef HAVE_IEEEFP_H
75202 #include <ieeefp.h>
75203 #endif
75204
75205 int
75206 main ()
75207 {
75208 _sqrtf(0);
75209 ;
75210 return 0;
75211 }
75212 _ACEOF
75213 if ac_fn_cxx_try_compile "$LINENO"; then :
75214 glibcxx_cv_func__sqrtf_use=yes
75215 else
75216 glibcxx_cv_func__sqrtf_use=no
75217 fi
75218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75219 ac_ext=c
75220 ac_cpp='$CPP $CPPFLAGS'
75221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75224
75225
75226 fi
75227
75228 fi
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75230 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75231
75232 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75233 for ac_func in _sqrtf
75234 do :
75235 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75236 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75237 cat >>confdefs.h <<_ACEOF
75238 #define HAVE__SQRTF 1
75239 _ACEOF
75240
75241 fi
75242 done
75243
75244 fi
75245 fi
75246
75247
75248
75249
75250
75251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75252 $as_echo_n "checking for sincosf declaration... " >&6; }
75253 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75254 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75255 $as_echo_n "(cached) " >&6
75256 else
75257
75258
75259 ac_ext=cpp
75260 ac_cpp='$CXXCPP $CPPFLAGS'
75261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75264
75265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75266 /* end confdefs.h. */
75267 #include <math.h>
75268 int
75269 main ()
75270 {
75271 sincosf(0, 0, 0);
75272 ;
75273 return 0;
75274 }
75275 _ACEOF
75276 if ac_fn_cxx_try_compile "$LINENO"; then :
75277 glibcxx_cv_func_sincosf_use=yes
75278 else
75279 glibcxx_cv_func_sincosf_use=no
75280 fi
75281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75282 ac_ext=c
75283 ac_cpp='$CPP $CPPFLAGS'
75284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75287
75288
75289 fi
75290
75291 fi
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75293 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75294
75295 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75296 for ac_func in sincosf
75297 do :
75298 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75299 if test "x$ac_cv_func_sincosf" = x""yes; then :
75300 cat >>confdefs.h <<_ACEOF
75301 #define HAVE_SINCOSF 1
75302 _ACEOF
75303
75304 fi
75305 done
75306
75307 else
75308
75309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75310 $as_echo_n "checking for _sincosf declaration... " >&6; }
75311 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75312 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75313 $as_echo_n "(cached) " >&6
75314 else
75315
75316
75317 ac_ext=cpp
75318 ac_cpp='$CXXCPP $CPPFLAGS'
75319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75322
75323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75324 /* end confdefs.h. */
75325 #include <math.h>
75326 int
75327 main ()
75328 {
75329 _sincosf(0, 0, 0);
75330 ;
75331 return 0;
75332 }
75333 _ACEOF
75334 if ac_fn_cxx_try_compile "$LINENO"; then :
75335 glibcxx_cv_func__sincosf_use=yes
75336 else
75337 glibcxx_cv_func__sincosf_use=no
75338 fi
75339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75340 ac_ext=c
75341 ac_cpp='$CPP $CPPFLAGS'
75342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75345
75346
75347 fi
75348
75349 fi
75350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75351 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75352
75353 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75354 for ac_func in _sincosf
75355 do :
75356 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75357 if test "x$ac_cv_func__sincosf" = x""yes; then :
75358 cat >>confdefs.h <<_ACEOF
75359 #define HAVE__SINCOSF 1
75360 _ACEOF
75361
75362 fi
75363 done
75364
75365 fi
75366 fi
75367
75368
75369
75370
75371
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75373 $as_echo_n "checking for finitef declaration... " >&6; }
75374 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75375 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75376 $as_echo_n "(cached) " >&6
75377 else
75378
75379
75380 ac_ext=cpp
75381 ac_cpp='$CXXCPP $CPPFLAGS'
75382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75385
75386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75387 /* end confdefs.h. */
75388 #include <math.h>
75389 #ifdef HAVE_IEEEFP_H
75390 #include <ieeefp.h>
75391 #endif
75392
75393 int
75394 main ()
75395 {
75396 finitef(0);
75397 ;
75398 return 0;
75399 }
75400 _ACEOF
75401 if ac_fn_cxx_try_compile "$LINENO"; then :
75402 glibcxx_cv_func_finitef_use=yes
75403 else
75404 glibcxx_cv_func_finitef_use=no
75405 fi
75406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75407 ac_ext=c
75408 ac_cpp='$CPP $CPPFLAGS'
75409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75412
75413
75414 fi
75415
75416 fi
75417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75418 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75419
75420 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75421 for ac_func in finitef
75422 do :
75423 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75424 if test "x$ac_cv_func_finitef" = x""yes; then :
75425 cat >>confdefs.h <<_ACEOF
75426 #define HAVE_FINITEF 1
75427 _ACEOF
75428
75429 fi
75430 done
75431
75432 else
75433
75434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75435 $as_echo_n "checking for _finitef declaration... " >&6; }
75436 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75437 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75438 $as_echo_n "(cached) " >&6
75439 else
75440
75441
75442 ac_ext=cpp
75443 ac_cpp='$CXXCPP $CPPFLAGS'
75444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75447
75448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75449 /* end confdefs.h. */
75450 #include <math.h>
75451 #ifdef HAVE_IEEEFP_H
75452 #include <ieeefp.h>
75453 #endif
75454
75455 int
75456 main ()
75457 {
75458 _finitef(0);
75459 ;
75460 return 0;
75461 }
75462 _ACEOF
75463 if ac_fn_cxx_try_compile "$LINENO"; then :
75464 glibcxx_cv_func__finitef_use=yes
75465 else
75466 glibcxx_cv_func__finitef_use=no
75467 fi
75468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75469 ac_ext=c
75470 ac_cpp='$CPP $CPPFLAGS'
75471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75474
75475
75476 fi
75477
75478 fi
75479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75480 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75481
75482 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75483 for ac_func in _finitef
75484 do :
75485 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75486 if test "x$ac_cv_func__finitef" = x""yes; then :
75487 cat >>confdefs.h <<_ACEOF
75488 #define HAVE__FINITEF 1
75489 _ACEOF
75490
75491 fi
75492 done
75493
75494 fi
75495 fi
75496
75497
75498
75499
75500
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75502 $as_echo_n "checking for long double trig functions... " >&6; }
75503 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75504 $as_echo_n "(cached) " >&6
75505 else
75506
75507
75508 ac_ext=cpp
75509 ac_cpp='$CXXCPP $CPPFLAGS'
75510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75513
75514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75515 /* end confdefs.h. */
75516 #include <math.h>
75517 int
75518 main ()
75519 {
75520 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75521 ;
75522 return 0;
75523 }
75524 _ACEOF
75525 if ac_fn_cxx_try_compile "$LINENO"; then :
75526 glibcxx_cv_func_long_double_trig_use=yes
75527 else
75528 glibcxx_cv_func_long_double_trig_use=no
75529 fi
75530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75531 ac_ext=c
75532 ac_cpp='$CPP $CPPFLAGS'
75533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75536
75537 fi
75538
75539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75540 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75541 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75542 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75543 do :
75544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75546 eval as_val=\$$as_ac_var
75547 if test "x$as_val" = x""yes; then :
75548 cat >>confdefs.h <<_ACEOF
75549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75550 _ACEOF
75551
75552 fi
75553 done
75554
75555 else
75556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75557 $as_echo_n "checking for _long double trig functions... " >&6; }
75558 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75559 $as_echo_n "(cached) " >&6
75560 else
75561
75562
75563 ac_ext=cpp
75564 ac_cpp='$CXXCPP $CPPFLAGS'
75565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75568
75569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75570 /* end confdefs.h. */
75571 #include <math.h>
75572 int
75573 main ()
75574 {
75575 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75576 ;
75577 return 0;
75578 }
75579 _ACEOF
75580 if ac_fn_cxx_try_compile "$LINENO"; then :
75581 glibcxx_cv_func__long_double_trig_use=yes
75582 else
75583 glibcxx_cv_func__long_double_trig_use=no
75584 fi
75585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586 ac_ext=c
75587 ac_cpp='$CPP $CPPFLAGS'
75588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75591
75592 fi
75593
75594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75595 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75596 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75597 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75598 do :
75599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75601 eval as_val=\$$as_ac_var
75602 if test "x$as_val" = x""yes; then :
75603 cat >>confdefs.h <<_ACEOF
75604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75605 _ACEOF
75606
75607 fi
75608 done
75609
75610 fi
75611 fi
75612
75613
75614
75615
75616
75617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75618 $as_echo_n "checking for long double round functions... " >&6; }
75619 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75620 $as_echo_n "(cached) " >&6
75621 else
75622
75623
75624 ac_ext=cpp
75625 ac_cpp='$CXXCPP $CPPFLAGS'
75626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75629
75630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75631 /* end confdefs.h. */
75632 #include <math.h>
75633 int
75634 main ()
75635 {
75636 ceill (0); floorl (0);
75637 ;
75638 return 0;
75639 }
75640 _ACEOF
75641 if ac_fn_cxx_try_compile "$LINENO"; then :
75642 glibcxx_cv_func_long_double_round_use=yes
75643 else
75644 glibcxx_cv_func_long_double_round_use=no
75645 fi
75646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647 ac_ext=c
75648 ac_cpp='$CPP $CPPFLAGS'
75649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75652
75653 fi
75654
75655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75656 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75657 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75658 for ac_func in ceill floorl
75659 do :
75660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75662 eval as_val=\$$as_ac_var
75663 if test "x$as_val" = x""yes; then :
75664 cat >>confdefs.h <<_ACEOF
75665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75666 _ACEOF
75667
75668 fi
75669 done
75670
75671 else
75672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75673 $as_echo_n "checking for _long double round functions... " >&6; }
75674 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75675 $as_echo_n "(cached) " >&6
75676 else
75677
75678
75679 ac_ext=cpp
75680 ac_cpp='$CXXCPP $CPPFLAGS'
75681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75684
75685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75686 /* end confdefs.h. */
75687 #include <math.h>
75688 int
75689 main ()
75690 {
75691 _ceill (0); _floorl (0);
75692 ;
75693 return 0;
75694 }
75695 _ACEOF
75696 if ac_fn_cxx_try_compile "$LINENO"; then :
75697 glibcxx_cv_func__long_double_round_use=yes
75698 else
75699 glibcxx_cv_func__long_double_round_use=no
75700 fi
75701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75702 ac_ext=c
75703 ac_cpp='$CPP $CPPFLAGS'
75704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75707
75708 fi
75709
75710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75711 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75712 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75713 for ac_func in _ceill _floorl
75714 do :
75715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75717 eval as_val=\$$as_ac_var
75718 if test "x$as_val" = x""yes; then :
75719 cat >>confdefs.h <<_ACEOF
75720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75721 _ACEOF
75722
75723 fi
75724 done
75725
75726 fi
75727 fi
75728
75729
75730
75731
75732
75733
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75735 $as_echo_n "checking for isnanl declaration... " >&6; }
75736 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75737 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75738 $as_echo_n "(cached) " >&6
75739 else
75740
75741
75742 ac_ext=cpp
75743 ac_cpp='$CXXCPP $CPPFLAGS'
75744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75747
75748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75749 /* end confdefs.h. */
75750 #include <math.h>
75751 #ifdef HAVE_IEEEFP_H
75752 #include <ieeefp.h>
75753 #endif
75754
75755 int
75756 main ()
75757 {
75758 isnanl(0);
75759 ;
75760 return 0;
75761 }
75762 _ACEOF
75763 if ac_fn_cxx_try_compile "$LINENO"; then :
75764 glibcxx_cv_func_isnanl_use=yes
75765 else
75766 glibcxx_cv_func_isnanl_use=no
75767 fi
75768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75769 ac_ext=c
75770 ac_cpp='$CPP $CPPFLAGS'
75771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75774
75775
75776 fi
75777
75778 fi
75779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75780 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75781
75782 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75783 for ac_func in isnanl
75784 do :
75785 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75786 if test "x$ac_cv_func_isnanl" = x""yes; then :
75787 cat >>confdefs.h <<_ACEOF
75788 #define HAVE_ISNANL 1
75789 _ACEOF
75790
75791 fi
75792 done
75793
75794 else
75795
75796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75797 $as_echo_n "checking for _isnanl declaration... " >&6; }
75798 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75799 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75800 $as_echo_n "(cached) " >&6
75801 else
75802
75803
75804 ac_ext=cpp
75805 ac_cpp='$CXXCPP $CPPFLAGS'
75806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75809
75810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75811 /* end confdefs.h. */
75812 #include <math.h>
75813 #ifdef HAVE_IEEEFP_H
75814 #include <ieeefp.h>
75815 #endif
75816
75817 int
75818 main ()
75819 {
75820 _isnanl(0);
75821 ;
75822 return 0;
75823 }
75824 _ACEOF
75825 if ac_fn_cxx_try_compile "$LINENO"; then :
75826 glibcxx_cv_func__isnanl_use=yes
75827 else
75828 glibcxx_cv_func__isnanl_use=no
75829 fi
75830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75831 ac_ext=c
75832 ac_cpp='$CPP $CPPFLAGS'
75833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75836
75837
75838 fi
75839
75840 fi
75841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75842 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75843
75844 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75845 for ac_func in _isnanl
75846 do :
75847 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75848 if test "x$ac_cv_func__isnanl" = x""yes; then :
75849 cat >>confdefs.h <<_ACEOF
75850 #define HAVE__ISNANL 1
75851 _ACEOF
75852
75853 fi
75854 done
75855
75856 fi
75857 fi
75858
75859
75860
75861
75862
75863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75864 $as_echo_n "checking for isinfl declaration... " >&6; }
75865 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75866 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75867 $as_echo_n "(cached) " >&6
75868 else
75869
75870
75871 ac_ext=cpp
75872 ac_cpp='$CXXCPP $CPPFLAGS'
75873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75876
75877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75878 /* end confdefs.h. */
75879 #include <math.h>
75880 #ifdef HAVE_IEEEFP_H
75881 #include <ieeefp.h>
75882 #endif
75883
75884 int
75885 main ()
75886 {
75887 isinfl(0);
75888 ;
75889 return 0;
75890 }
75891 _ACEOF
75892 if ac_fn_cxx_try_compile "$LINENO"; then :
75893 glibcxx_cv_func_isinfl_use=yes
75894 else
75895 glibcxx_cv_func_isinfl_use=no
75896 fi
75897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75898 ac_ext=c
75899 ac_cpp='$CPP $CPPFLAGS'
75900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75903
75904
75905 fi
75906
75907 fi
75908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75909 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75910
75911 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75912 for ac_func in isinfl
75913 do :
75914 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75915 if test "x$ac_cv_func_isinfl" = x""yes; then :
75916 cat >>confdefs.h <<_ACEOF
75917 #define HAVE_ISINFL 1
75918 _ACEOF
75919
75920 fi
75921 done
75922
75923 else
75924
75925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75926 $as_echo_n "checking for _isinfl declaration... " >&6; }
75927 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75928 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75929 $as_echo_n "(cached) " >&6
75930 else
75931
75932
75933 ac_ext=cpp
75934 ac_cpp='$CXXCPP $CPPFLAGS'
75935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75938
75939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75940 /* end confdefs.h. */
75941 #include <math.h>
75942 #ifdef HAVE_IEEEFP_H
75943 #include <ieeefp.h>
75944 #endif
75945
75946 int
75947 main ()
75948 {
75949 _isinfl(0);
75950 ;
75951 return 0;
75952 }
75953 _ACEOF
75954 if ac_fn_cxx_try_compile "$LINENO"; then :
75955 glibcxx_cv_func__isinfl_use=yes
75956 else
75957 glibcxx_cv_func__isinfl_use=no
75958 fi
75959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75960 ac_ext=c
75961 ac_cpp='$CPP $CPPFLAGS'
75962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75965
75966
75967 fi
75968
75969 fi
75970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75971 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75972
75973 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75974 for ac_func in _isinfl
75975 do :
75976 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75977 if test "x$ac_cv_func__isinfl" = x""yes; then :
75978 cat >>confdefs.h <<_ACEOF
75979 #define HAVE__ISINFL 1
75980 _ACEOF
75981
75982 fi
75983 done
75984
75985 fi
75986 fi
75987
75988
75989
75990
75991
75992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75993 $as_echo_n "checking for atan2l declaration... " >&6; }
75994 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75995 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75996 $as_echo_n "(cached) " >&6
75997 else
75998
75999
76000 ac_ext=cpp
76001 ac_cpp='$CXXCPP $CPPFLAGS'
76002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76005
76006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76007 /* end confdefs.h. */
76008 #include <math.h>
76009 int
76010 main ()
76011 {
76012 atan2l(0, 0);
76013 ;
76014 return 0;
76015 }
76016 _ACEOF
76017 if ac_fn_cxx_try_compile "$LINENO"; then :
76018 glibcxx_cv_func_atan2l_use=yes
76019 else
76020 glibcxx_cv_func_atan2l_use=no
76021 fi
76022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76023 ac_ext=c
76024 ac_cpp='$CPP $CPPFLAGS'
76025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76028
76029
76030 fi
76031
76032 fi
76033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76034 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76035
76036 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76037 for ac_func in atan2l
76038 do :
76039 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76040 if test "x$ac_cv_func_atan2l" = x""yes; then :
76041 cat >>confdefs.h <<_ACEOF
76042 #define HAVE_ATAN2L 1
76043 _ACEOF
76044
76045 fi
76046 done
76047
76048 else
76049
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76051 $as_echo_n "checking for _atan2l declaration... " >&6; }
76052 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76053 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76054 $as_echo_n "(cached) " >&6
76055 else
76056
76057
76058 ac_ext=cpp
76059 ac_cpp='$CXXCPP $CPPFLAGS'
76060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76063
76064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76065 /* end confdefs.h. */
76066 #include <math.h>
76067 int
76068 main ()
76069 {
76070 _atan2l(0, 0);
76071 ;
76072 return 0;
76073 }
76074 _ACEOF
76075 if ac_fn_cxx_try_compile "$LINENO"; then :
76076 glibcxx_cv_func__atan2l_use=yes
76077 else
76078 glibcxx_cv_func__atan2l_use=no
76079 fi
76080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76081 ac_ext=c
76082 ac_cpp='$CPP $CPPFLAGS'
76083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76086
76087
76088 fi
76089
76090 fi
76091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76092 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76093
76094 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76095 for ac_func in _atan2l
76096 do :
76097 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76098 if test "x$ac_cv_func__atan2l" = x""yes; then :
76099 cat >>confdefs.h <<_ACEOF
76100 #define HAVE__ATAN2L 1
76101 _ACEOF
76102
76103 fi
76104 done
76105
76106 fi
76107 fi
76108
76109
76110
76111
76112
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76114 $as_echo_n "checking for expl declaration... " >&6; }
76115 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76116 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76117 $as_echo_n "(cached) " >&6
76118 else
76119
76120
76121 ac_ext=cpp
76122 ac_cpp='$CXXCPP $CPPFLAGS'
76123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76126
76127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76128 /* end confdefs.h. */
76129 #include <math.h>
76130 #ifdef HAVE_IEEEFP_H
76131 #include <ieeefp.h>
76132 #endif
76133
76134 int
76135 main ()
76136 {
76137 expl(0);
76138 ;
76139 return 0;
76140 }
76141 _ACEOF
76142 if ac_fn_cxx_try_compile "$LINENO"; then :
76143 glibcxx_cv_func_expl_use=yes
76144 else
76145 glibcxx_cv_func_expl_use=no
76146 fi
76147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76148 ac_ext=c
76149 ac_cpp='$CPP $CPPFLAGS'
76150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76153
76154
76155 fi
76156
76157 fi
76158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76159 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76160
76161 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76162 for ac_func in expl
76163 do :
76164 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76165 if test "x$ac_cv_func_expl" = x""yes; then :
76166 cat >>confdefs.h <<_ACEOF
76167 #define HAVE_EXPL 1
76168 _ACEOF
76169
76170 fi
76171 done
76172
76173 else
76174
76175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76176 $as_echo_n "checking for _expl declaration... " >&6; }
76177 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76178 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76179 $as_echo_n "(cached) " >&6
76180 else
76181
76182
76183 ac_ext=cpp
76184 ac_cpp='$CXXCPP $CPPFLAGS'
76185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76188
76189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76190 /* end confdefs.h. */
76191 #include <math.h>
76192 #ifdef HAVE_IEEEFP_H
76193 #include <ieeefp.h>
76194 #endif
76195
76196 int
76197 main ()
76198 {
76199 _expl(0);
76200 ;
76201 return 0;
76202 }
76203 _ACEOF
76204 if ac_fn_cxx_try_compile "$LINENO"; then :
76205 glibcxx_cv_func__expl_use=yes
76206 else
76207 glibcxx_cv_func__expl_use=no
76208 fi
76209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76210 ac_ext=c
76211 ac_cpp='$CPP $CPPFLAGS'
76212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76215
76216
76217 fi
76218
76219 fi
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76221 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76222
76223 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76224 for ac_func in _expl
76225 do :
76226 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76227 if test "x$ac_cv_func__expl" = x""yes; then :
76228 cat >>confdefs.h <<_ACEOF
76229 #define HAVE__EXPL 1
76230 _ACEOF
76231
76232 fi
76233 done
76234
76235 fi
76236 fi
76237
76238
76239
76240
76241
76242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76243 $as_echo_n "checking for fabsl declaration... " >&6; }
76244 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76245 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76246 $as_echo_n "(cached) " >&6
76247 else
76248
76249
76250 ac_ext=cpp
76251 ac_cpp='$CXXCPP $CPPFLAGS'
76252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76255
76256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76257 /* end confdefs.h. */
76258 #include <math.h>
76259 #ifdef HAVE_IEEEFP_H
76260 #include <ieeefp.h>
76261 #endif
76262
76263 int
76264 main ()
76265 {
76266 fabsl(0);
76267 ;
76268 return 0;
76269 }
76270 _ACEOF
76271 if ac_fn_cxx_try_compile "$LINENO"; then :
76272 glibcxx_cv_func_fabsl_use=yes
76273 else
76274 glibcxx_cv_func_fabsl_use=no
76275 fi
76276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76277 ac_ext=c
76278 ac_cpp='$CPP $CPPFLAGS'
76279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76282
76283
76284 fi
76285
76286 fi
76287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76288 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76289
76290 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76291 for ac_func in fabsl
76292 do :
76293 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76294 if test "x$ac_cv_func_fabsl" = x""yes; then :
76295 cat >>confdefs.h <<_ACEOF
76296 #define HAVE_FABSL 1
76297 _ACEOF
76298
76299 fi
76300 done
76301
76302 else
76303
76304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76305 $as_echo_n "checking for _fabsl declaration... " >&6; }
76306 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76307 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76308 $as_echo_n "(cached) " >&6
76309 else
76310
76311
76312 ac_ext=cpp
76313 ac_cpp='$CXXCPP $CPPFLAGS'
76314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76317
76318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76319 /* end confdefs.h. */
76320 #include <math.h>
76321 #ifdef HAVE_IEEEFP_H
76322 #include <ieeefp.h>
76323 #endif
76324
76325 int
76326 main ()
76327 {
76328 _fabsl(0);
76329 ;
76330 return 0;
76331 }
76332 _ACEOF
76333 if ac_fn_cxx_try_compile "$LINENO"; then :
76334 glibcxx_cv_func__fabsl_use=yes
76335 else
76336 glibcxx_cv_func__fabsl_use=no
76337 fi
76338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76339 ac_ext=c
76340 ac_cpp='$CPP $CPPFLAGS'
76341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76344
76345
76346 fi
76347
76348 fi
76349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76350 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76351
76352 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76353 for ac_func in _fabsl
76354 do :
76355 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76356 if test "x$ac_cv_func__fabsl" = x""yes; then :
76357 cat >>confdefs.h <<_ACEOF
76358 #define HAVE__FABSL 1
76359 _ACEOF
76360
76361 fi
76362 done
76363
76364 fi
76365 fi
76366
76367
76368
76369
76370
76371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76372 $as_echo_n "checking for fmodl declaration... " >&6; }
76373 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76374 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76375 $as_echo_n "(cached) " >&6
76376 else
76377
76378
76379 ac_ext=cpp
76380 ac_cpp='$CXXCPP $CPPFLAGS'
76381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76384
76385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76386 /* end confdefs.h. */
76387 #include <math.h>
76388 int
76389 main ()
76390 {
76391 fmodl(0, 0);
76392 ;
76393 return 0;
76394 }
76395 _ACEOF
76396 if ac_fn_cxx_try_compile "$LINENO"; then :
76397 glibcxx_cv_func_fmodl_use=yes
76398 else
76399 glibcxx_cv_func_fmodl_use=no
76400 fi
76401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76402 ac_ext=c
76403 ac_cpp='$CPP $CPPFLAGS'
76404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76407
76408
76409 fi
76410
76411 fi
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76413 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76414
76415 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76416 for ac_func in fmodl
76417 do :
76418 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76419 if test "x$ac_cv_func_fmodl" = x""yes; then :
76420 cat >>confdefs.h <<_ACEOF
76421 #define HAVE_FMODL 1
76422 _ACEOF
76423
76424 fi
76425 done
76426
76427 else
76428
76429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76430 $as_echo_n "checking for _fmodl declaration... " >&6; }
76431 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76432 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76433 $as_echo_n "(cached) " >&6
76434 else
76435
76436
76437 ac_ext=cpp
76438 ac_cpp='$CXXCPP $CPPFLAGS'
76439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76442
76443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76444 /* end confdefs.h. */
76445 #include <math.h>
76446 int
76447 main ()
76448 {
76449 _fmodl(0, 0);
76450 ;
76451 return 0;
76452 }
76453 _ACEOF
76454 if ac_fn_cxx_try_compile "$LINENO"; then :
76455 glibcxx_cv_func__fmodl_use=yes
76456 else
76457 glibcxx_cv_func__fmodl_use=no
76458 fi
76459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76460 ac_ext=c
76461 ac_cpp='$CPP $CPPFLAGS'
76462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76465
76466
76467 fi
76468
76469 fi
76470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76471 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76472
76473 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76474 for ac_func in _fmodl
76475 do :
76476 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76477 if test "x$ac_cv_func__fmodl" = x""yes; then :
76478 cat >>confdefs.h <<_ACEOF
76479 #define HAVE__FMODL 1
76480 _ACEOF
76481
76482 fi
76483 done
76484
76485 fi
76486 fi
76487
76488
76489
76490
76491
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76493 $as_echo_n "checking for frexpl declaration... " >&6; }
76494 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76495 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76496 $as_echo_n "(cached) " >&6
76497 else
76498
76499
76500 ac_ext=cpp
76501 ac_cpp='$CXXCPP $CPPFLAGS'
76502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76505
76506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76507 /* end confdefs.h. */
76508 #include <math.h>
76509 int
76510 main ()
76511 {
76512 frexpl(0, 0);
76513 ;
76514 return 0;
76515 }
76516 _ACEOF
76517 if ac_fn_cxx_try_compile "$LINENO"; then :
76518 glibcxx_cv_func_frexpl_use=yes
76519 else
76520 glibcxx_cv_func_frexpl_use=no
76521 fi
76522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76523 ac_ext=c
76524 ac_cpp='$CPP $CPPFLAGS'
76525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76528
76529
76530 fi
76531
76532 fi
76533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76534 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76535
76536 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76537 for ac_func in frexpl
76538 do :
76539 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76540 if test "x$ac_cv_func_frexpl" = x""yes; then :
76541 cat >>confdefs.h <<_ACEOF
76542 #define HAVE_FREXPL 1
76543 _ACEOF
76544
76545 fi
76546 done
76547
76548 else
76549
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76551 $as_echo_n "checking for _frexpl declaration... " >&6; }
76552 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76553 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76556
76557
76558 ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76563
76564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h. */
76566 #include <math.h>
76567 int
76568 main ()
76569 {
76570 _frexpl(0, 0);
76571 ;
76572 return 0;
76573 }
76574 _ACEOF
76575 if ac_fn_cxx_try_compile "$LINENO"; then :
76576 glibcxx_cv_func__frexpl_use=yes
76577 else
76578 glibcxx_cv_func__frexpl_use=no
76579 fi
76580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76581 ac_ext=c
76582 ac_cpp='$CPP $CPPFLAGS'
76583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76586
76587
76588 fi
76589
76590 fi
76591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76592 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76593
76594 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76595 for ac_func in _frexpl
76596 do :
76597 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76598 if test "x$ac_cv_func__frexpl" = x""yes; then :
76599 cat >>confdefs.h <<_ACEOF
76600 #define HAVE__FREXPL 1
76601 _ACEOF
76602
76603 fi
76604 done
76605
76606 fi
76607 fi
76608
76609
76610
76611
76612
76613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76614 $as_echo_n "checking for hypotl declaration... " >&6; }
76615 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76616 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76617 $as_echo_n "(cached) " >&6
76618 else
76619
76620
76621 ac_ext=cpp
76622 ac_cpp='$CXXCPP $CPPFLAGS'
76623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76626
76627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76628 /* end confdefs.h. */
76629 #include <math.h>
76630 int
76631 main ()
76632 {
76633 hypotl(0, 0);
76634 ;
76635 return 0;
76636 }
76637 _ACEOF
76638 if ac_fn_cxx_try_compile "$LINENO"; then :
76639 glibcxx_cv_func_hypotl_use=yes
76640 else
76641 glibcxx_cv_func_hypotl_use=no
76642 fi
76643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76644 ac_ext=c
76645 ac_cpp='$CPP $CPPFLAGS'
76646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76649
76650
76651 fi
76652
76653 fi
76654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76655 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76656
76657 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76658 for ac_func in hypotl
76659 do :
76660 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76661 if test "x$ac_cv_func_hypotl" = x""yes; then :
76662 cat >>confdefs.h <<_ACEOF
76663 #define HAVE_HYPOTL 1
76664 _ACEOF
76665
76666 fi
76667 done
76668
76669 else
76670
76671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76672 $as_echo_n "checking for _hypotl declaration... " >&6; }
76673 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76674 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76675 $as_echo_n "(cached) " >&6
76676 else
76677
76678
76679 ac_ext=cpp
76680 ac_cpp='$CXXCPP $CPPFLAGS'
76681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76684
76685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76686 /* end confdefs.h. */
76687 #include <math.h>
76688 int
76689 main ()
76690 {
76691 _hypotl(0, 0);
76692 ;
76693 return 0;
76694 }
76695 _ACEOF
76696 if ac_fn_cxx_try_compile "$LINENO"; then :
76697 glibcxx_cv_func__hypotl_use=yes
76698 else
76699 glibcxx_cv_func__hypotl_use=no
76700 fi
76701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76702 ac_ext=c
76703 ac_cpp='$CPP $CPPFLAGS'
76704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76707
76708
76709 fi
76710
76711 fi
76712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76713 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76714
76715 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76716 for ac_func in _hypotl
76717 do :
76718 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76719 if test "x$ac_cv_func__hypotl" = x""yes; then :
76720 cat >>confdefs.h <<_ACEOF
76721 #define HAVE__HYPOTL 1
76722 _ACEOF
76723
76724 fi
76725 done
76726
76727 fi
76728 fi
76729
76730
76731
76732
76733
76734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76735 $as_echo_n "checking for ldexpl declaration... " >&6; }
76736 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76737 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76738 $as_echo_n "(cached) " >&6
76739 else
76740
76741
76742 ac_ext=cpp
76743 ac_cpp='$CXXCPP $CPPFLAGS'
76744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76747
76748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76749 /* end confdefs.h. */
76750 #include <math.h>
76751 int
76752 main ()
76753 {
76754 ldexpl(0, 0);
76755 ;
76756 return 0;
76757 }
76758 _ACEOF
76759 if ac_fn_cxx_try_compile "$LINENO"; then :
76760 glibcxx_cv_func_ldexpl_use=yes
76761 else
76762 glibcxx_cv_func_ldexpl_use=no
76763 fi
76764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76765 ac_ext=c
76766 ac_cpp='$CPP $CPPFLAGS'
76767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76770
76771
76772 fi
76773
76774 fi
76775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76776 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76777
76778 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76779 for ac_func in ldexpl
76780 do :
76781 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76782 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76783 cat >>confdefs.h <<_ACEOF
76784 #define HAVE_LDEXPL 1
76785 _ACEOF
76786
76787 fi
76788 done
76789
76790 else
76791
76792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76793 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76794 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76795 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76796 $as_echo_n "(cached) " >&6
76797 else
76798
76799
76800 ac_ext=cpp
76801 ac_cpp='$CXXCPP $CPPFLAGS'
76802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76805
76806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76807 /* end confdefs.h. */
76808 #include <math.h>
76809 int
76810 main ()
76811 {
76812 _ldexpl(0, 0);
76813 ;
76814 return 0;
76815 }
76816 _ACEOF
76817 if ac_fn_cxx_try_compile "$LINENO"; then :
76818 glibcxx_cv_func__ldexpl_use=yes
76819 else
76820 glibcxx_cv_func__ldexpl_use=no
76821 fi
76822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76823 ac_ext=c
76824 ac_cpp='$CPP $CPPFLAGS'
76825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76828
76829
76830 fi
76831
76832 fi
76833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76834 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76835
76836 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76837 for ac_func in _ldexpl
76838 do :
76839 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76840 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76841 cat >>confdefs.h <<_ACEOF
76842 #define HAVE__LDEXPL 1
76843 _ACEOF
76844
76845 fi
76846 done
76847
76848 fi
76849 fi
76850
76851
76852
76853
76854
76855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76856 $as_echo_n "checking for logl declaration... " >&6; }
76857 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76858 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76859 $as_echo_n "(cached) " >&6
76860 else
76861
76862
76863 ac_ext=cpp
76864 ac_cpp='$CXXCPP $CPPFLAGS'
76865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76868
76869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76870 /* end confdefs.h. */
76871 #include <math.h>
76872 #ifdef HAVE_IEEEFP_H
76873 #include <ieeefp.h>
76874 #endif
76875
76876 int
76877 main ()
76878 {
76879 logl(0);
76880 ;
76881 return 0;
76882 }
76883 _ACEOF
76884 if ac_fn_cxx_try_compile "$LINENO"; then :
76885 glibcxx_cv_func_logl_use=yes
76886 else
76887 glibcxx_cv_func_logl_use=no
76888 fi
76889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76890 ac_ext=c
76891 ac_cpp='$CPP $CPPFLAGS'
76892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76895
76896
76897 fi
76898
76899 fi
76900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76901 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76902
76903 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76904 for ac_func in logl
76905 do :
76906 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76907 if test "x$ac_cv_func_logl" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE_LOGL 1
76910 _ACEOF
76911
76912 fi
76913 done
76914
76915 else
76916
76917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76918 $as_echo_n "checking for _logl declaration... " >&6; }
76919 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76920 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76921 $as_echo_n "(cached) " >&6
76922 else
76923
76924
76925 ac_ext=cpp
76926 ac_cpp='$CXXCPP $CPPFLAGS'
76927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76930
76931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76932 /* end confdefs.h. */
76933 #include <math.h>
76934 #ifdef HAVE_IEEEFP_H
76935 #include <ieeefp.h>
76936 #endif
76937
76938 int
76939 main ()
76940 {
76941 _logl(0);
76942 ;
76943 return 0;
76944 }
76945 _ACEOF
76946 if ac_fn_cxx_try_compile "$LINENO"; then :
76947 glibcxx_cv_func__logl_use=yes
76948 else
76949 glibcxx_cv_func__logl_use=no
76950 fi
76951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76952 ac_ext=c
76953 ac_cpp='$CPP $CPPFLAGS'
76954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76957
76958
76959 fi
76960
76961 fi
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76963 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76964
76965 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76966 for ac_func in _logl
76967 do :
76968 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76969 if test "x$ac_cv_func__logl" = x""yes; then :
76970 cat >>confdefs.h <<_ACEOF
76971 #define HAVE__LOGL 1
76972 _ACEOF
76973
76974 fi
76975 done
76976
76977 fi
76978 fi
76979
76980
76981
76982
76983
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76985 $as_echo_n "checking for log10l declaration... " >&6; }
76986 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76987 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76988 $as_echo_n "(cached) " >&6
76989 else
76990
76991
76992 ac_ext=cpp
76993 ac_cpp='$CXXCPP $CPPFLAGS'
76994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76997
76998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76999 /* end confdefs.h. */
77000 #include <math.h>
77001 #ifdef HAVE_IEEEFP_H
77002 #include <ieeefp.h>
77003 #endif
77004
77005 int
77006 main ()
77007 {
77008 log10l(0);
77009 ;
77010 return 0;
77011 }
77012 _ACEOF
77013 if ac_fn_cxx_try_compile "$LINENO"; then :
77014 glibcxx_cv_func_log10l_use=yes
77015 else
77016 glibcxx_cv_func_log10l_use=no
77017 fi
77018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77019 ac_ext=c
77020 ac_cpp='$CPP $CPPFLAGS'
77021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77024
77025
77026 fi
77027
77028 fi
77029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77030 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77031
77032 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77033 for ac_func in log10l
77034 do :
77035 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77036 if test "x$ac_cv_func_log10l" = x""yes; then :
77037 cat >>confdefs.h <<_ACEOF
77038 #define HAVE_LOG10L 1
77039 _ACEOF
77040
77041 fi
77042 done
77043
77044 else
77045
77046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77047 $as_echo_n "checking for _log10l declaration... " >&6; }
77048 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77049 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77050 $as_echo_n "(cached) " >&6
77051 else
77052
77053
77054 ac_ext=cpp
77055 ac_cpp='$CXXCPP $CPPFLAGS'
77056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77059
77060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77061 /* end confdefs.h. */
77062 #include <math.h>
77063 #ifdef HAVE_IEEEFP_H
77064 #include <ieeefp.h>
77065 #endif
77066
77067 int
77068 main ()
77069 {
77070 _log10l(0);
77071 ;
77072 return 0;
77073 }
77074 _ACEOF
77075 if ac_fn_cxx_try_compile "$LINENO"; then :
77076 glibcxx_cv_func__log10l_use=yes
77077 else
77078 glibcxx_cv_func__log10l_use=no
77079 fi
77080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77081 ac_ext=c
77082 ac_cpp='$CPP $CPPFLAGS'
77083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77086
77087
77088 fi
77089
77090 fi
77091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77092 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77093
77094 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77095 for ac_func in _log10l
77096 do :
77097 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77098 if test "x$ac_cv_func__log10l" = x""yes; then :
77099 cat >>confdefs.h <<_ACEOF
77100 #define HAVE__LOG10L 1
77101 _ACEOF
77102
77103 fi
77104 done
77105
77106 fi
77107 fi
77108
77109
77110
77111
77112
77113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77114 $as_echo_n "checking for modfl declaration... " >&6; }
77115 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77116 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77117 $as_echo_n "(cached) " >&6
77118 else
77119
77120
77121 ac_ext=cpp
77122 ac_cpp='$CXXCPP $CPPFLAGS'
77123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77126
77127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77128 /* end confdefs.h. */
77129 #include <math.h>
77130 int
77131 main ()
77132 {
77133 modfl(0, 0);
77134 ;
77135 return 0;
77136 }
77137 _ACEOF
77138 if ac_fn_cxx_try_compile "$LINENO"; then :
77139 glibcxx_cv_func_modfl_use=yes
77140 else
77141 glibcxx_cv_func_modfl_use=no
77142 fi
77143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77144 ac_ext=c
77145 ac_cpp='$CPP $CPPFLAGS'
77146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77149
77150
77151 fi
77152
77153 fi
77154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77155 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77156
77157 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77158 for ac_func in modfl
77159 do :
77160 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77161 if test "x$ac_cv_func_modfl" = x""yes; then :
77162 cat >>confdefs.h <<_ACEOF
77163 #define HAVE_MODFL 1
77164 _ACEOF
77165
77166 fi
77167 done
77168
77169 else
77170
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77172 $as_echo_n "checking for _modfl declaration... " >&6; }
77173 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77174 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77175 $as_echo_n "(cached) " >&6
77176 else
77177
77178
77179 ac_ext=cpp
77180 ac_cpp='$CXXCPP $CPPFLAGS'
77181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77184
77185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77186 /* end confdefs.h. */
77187 #include <math.h>
77188 int
77189 main ()
77190 {
77191 _modfl(0, 0);
77192 ;
77193 return 0;
77194 }
77195 _ACEOF
77196 if ac_fn_cxx_try_compile "$LINENO"; then :
77197 glibcxx_cv_func__modfl_use=yes
77198 else
77199 glibcxx_cv_func__modfl_use=no
77200 fi
77201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77202 ac_ext=c
77203 ac_cpp='$CPP $CPPFLAGS'
77204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77207
77208
77209 fi
77210
77211 fi
77212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77213 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77214
77215 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77216 for ac_func in _modfl
77217 do :
77218 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77219 if test "x$ac_cv_func__modfl" = x""yes; then :
77220 cat >>confdefs.h <<_ACEOF
77221 #define HAVE__MODFL 1
77222 _ACEOF
77223
77224 fi
77225 done
77226
77227 fi
77228 fi
77229
77230
77231
77232
77233
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77235 $as_echo_n "checking for powl declaration... " >&6; }
77236 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77237 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77238 $as_echo_n "(cached) " >&6
77239 else
77240
77241
77242 ac_ext=cpp
77243 ac_cpp='$CXXCPP $CPPFLAGS'
77244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77247
77248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77249 /* end confdefs.h. */
77250 #include <math.h>
77251 int
77252 main ()
77253 {
77254 powl(0, 0);
77255 ;
77256 return 0;
77257 }
77258 _ACEOF
77259 if ac_fn_cxx_try_compile "$LINENO"; then :
77260 glibcxx_cv_func_powl_use=yes
77261 else
77262 glibcxx_cv_func_powl_use=no
77263 fi
77264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77265 ac_ext=c
77266 ac_cpp='$CPP $CPPFLAGS'
77267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77270
77271
77272 fi
77273
77274 fi
77275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77276 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77277
77278 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77279 for ac_func in powl
77280 do :
77281 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77282 if test "x$ac_cv_func_powl" = x""yes; then :
77283 cat >>confdefs.h <<_ACEOF
77284 #define HAVE_POWL 1
77285 _ACEOF
77286
77287 fi
77288 done
77289
77290 else
77291
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77293 $as_echo_n "checking for _powl declaration... " >&6; }
77294 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77295 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77296 $as_echo_n "(cached) " >&6
77297 else
77298
77299
77300 ac_ext=cpp
77301 ac_cpp='$CXXCPP $CPPFLAGS'
77302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77305
77306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77307 /* end confdefs.h. */
77308 #include <math.h>
77309 int
77310 main ()
77311 {
77312 _powl(0, 0);
77313 ;
77314 return 0;
77315 }
77316 _ACEOF
77317 if ac_fn_cxx_try_compile "$LINENO"; then :
77318 glibcxx_cv_func__powl_use=yes
77319 else
77320 glibcxx_cv_func__powl_use=no
77321 fi
77322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77323 ac_ext=c
77324 ac_cpp='$CPP $CPPFLAGS'
77325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77328
77329
77330 fi
77331
77332 fi
77333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77334 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77335
77336 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77337 for ac_func in _powl
77338 do :
77339 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77340 if test "x$ac_cv_func__powl" = x""yes; then :
77341 cat >>confdefs.h <<_ACEOF
77342 #define HAVE__POWL 1
77343 _ACEOF
77344
77345 fi
77346 done
77347
77348 fi
77349 fi
77350
77351
77352
77353
77354
77355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77356 $as_echo_n "checking for sqrtl declaration... " >&6; }
77357 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77358 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77359 $as_echo_n "(cached) " >&6
77360 else
77361
77362
77363 ac_ext=cpp
77364 ac_cpp='$CXXCPP $CPPFLAGS'
77365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77368
77369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77370 /* end confdefs.h. */
77371 #include <math.h>
77372 #ifdef HAVE_IEEEFP_H
77373 #include <ieeefp.h>
77374 #endif
77375
77376 int
77377 main ()
77378 {
77379 sqrtl(0);
77380 ;
77381 return 0;
77382 }
77383 _ACEOF
77384 if ac_fn_cxx_try_compile "$LINENO"; then :
77385 glibcxx_cv_func_sqrtl_use=yes
77386 else
77387 glibcxx_cv_func_sqrtl_use=no
77388 fi
77389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77390 ac_ext=c
77391 ac_cpp='$CPP $CPPFLAGS'
77392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77395
77396
77397 fi
77398
77399 fi
77400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77401 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77402
77403 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77404 for ac_func in sqrtl
77405 do :
77406 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77407 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77408 cat >>confdefs.h <<_ACEOF
77409 #define HAVE_SQRTL 1
77410 _ACEOF
77411
77412 fi
77413 done
77414
77415 else
77416
77417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77418 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77419 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77420 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77421 $as_echo_n "(cached) " >&6
77422 else
77423
77424
77425 ac_ext=cpp
77426 ac_cpp='$CXXCPP $CPPFLAGS'
77427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77430
77431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77432 /* end confdefs.h. */
77433 #include <math.h>
77434 #ifdef HAVE_IEEEFP_H
77435 #include <ieeefp.h>
77436 #endif
77437
77438 int
77439 main ()
77440 {
77441 _sqrtl(0);
77442 ;
77443 return 0;
77444 }
77445 _ACEOF
77446 if ac_fn_cxx_try_compile "$LINENO"; then :
77447 glibcxx_cv_func__sqrtl_use=yes
77448 else
77449 glibcxx_cv_func__sqrtl_use=no
77450 fi
77451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77452 ac_ext=c
77453 ac_cpp='$CPP $CPPFLAGS'
77454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77457
77458
77459 fi
77460
77461 fi
77462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77463 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77464
77465 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77466 for ac_func in _sqrtl
77467 do :
77468 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77469 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77470 cat >>confdefs.h <<_ACEOF
77471 #define HAVE__SQRTL 1
77472 _ACEOF
77473
77474 fi
77475 done
77476
77477 fi
77478 fi
77479
77480
77481
77482
77483
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77485 $as_echo_n "checking for sincosl declaration... " >&6; }
77486 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77487 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77488 $as_echo_n "(cached) " >&6
77489 else
77490
77491
77492 ac_ext=cpp
77493 ac_cpp='$CXXCPP $CPPFLAGS'
77494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77497
77498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77499 /* end confdefs.h. */
77500 #include <math.h>
77501 int
77502 main ()
77503 {
77504 sincosl(0, 0, 0);
77505 ;
77506 return 0;
77507 }
77508 _ACEOF
77509 if ac_fn_cxx_try_compile "$LINENO"; then :
77510 glibcxx_cv_func_sincosl_use=yes
77511 else
77512 glibcxx_cv_func_sincosl_use=no
77513 fi
77514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77515 ac_ext=c
77516 ac_cpp='$CPP $CPPFLAGS'
77517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77520
77521
77522 fi
77523
77524 fi
77525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77526 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77527
77528 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77529 for ac_func in sincosl
77530 do :
77531 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77532 if test "x$ac_cv_func_sincosl" = x""yes; then :
77533 cat >>confdefs.h <<_ACEOF
77534 #define HAVE_SINCOSL 1
77535 _ACEOF
77536
77537 fi
77538 done
77539
77540 else
77541
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77543 $as_echo_n "checking for _sincosl declaration... " >&6; }
77544 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77545 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77546 $as_echo_n "(cached) " >&6
77547 else
77548
77549
77550 ac_ext=cpp
77551 ac_cpp='$CXXCPP $CPPFLAGS'
77552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77555
77556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77557 /* end confdefs.h. */
77558 #include <math.h>
77559 int
77560 main ()
77561 {
77562 _sincosl(0, 0, 0);
77563 ;
77564 return 0;
77565 }
77566 _ACEOF
77567 if ac_fn_cxx_try_compile "$LINENO"; then :
77568 glibcxx_cv_func__sincosl_use=yes
77569 else
77570 glibcxx_cv_func__sincosl_use=no
77571 fi
77572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77573 ac_ext=c
77574 ac_cpp='$CPP $CPPFLAGS'
77575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77578
77579
77580 fi
77581
77582 fi
77583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77584 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77585
77586 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77587 for ac_func in _sincosl
77588 do :
77589 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77590 if test "x$ac_cv_func__sincosl" = x""yes; then :
77591 cat >>confdefs.h <<_ACEOF
77592 #define HAVE__SINCOSL 1
77593 _ACEOF
77594
77595 fi
77596 done
77597
77598 fi
77599 fi
77600
77601
77602
77603
77604
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77606 $as_echo_n "checking for finitel declaration... " >&6; }
77607 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77608 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77609 $as_echo_n "(cached) " >&6
77610 else
77611
77612
77613 ac_ext=cpp
77614 ac_cpp='$CXXCPP $CPPFLAGS'
77615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77618
77619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77620 /* end confdefs.h. */
77621 #include <math.h>
77622 #ifdef HAVE_IEEEFP_H
77623 #include <ieeefp.h>
77624 #endif
77625
77626 int
77627 main ()
77628 {
77629 finitel(0);
77630 ;
77631 return 0;
77632 }
77633 _ACEOF
77634 if ac_fn_cxx_try_compile "$LINENO"; then :
77635 glibcxx_cv_func_finitel_use=yes
77636 else
77637 glibcxx_cv_func_finitel_use=no
77638 fi
77639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77640 ac_ext=c
77641 ac_cpp='$CPP $CPPFLAGS'
77642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77645
77646
77647 fi
77648
77649 fi
77650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77651 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77652
77653 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77654 for ac_func in finitel
77655 do :
77656 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77657 if test "x$ac_cv_func_finitel" = x""yes; then :
77658 cat >>confdefs.h <<_ACEOF
77659 #define HAVE_FINITEL 1
77660 _ACEOF
77661
77662 fi
77663 done
77664
77665 else
77666
77667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77668 $as_echo_n "checking for _finitel declaration... " >&6; }
77669 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77670 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77671 $as_echo_n "(cached) " >&6
77672 else
77673
77674
77675 ac_ext=cpp
77676 ac_cpp='$CXXCPP $CPPFLAGS'
77677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77680
77681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77682 /* end confdefs.h. */
77683 #include <math.h>
77684 #ifdef HAVE_IEEEFP_H
77685 #include <ieeefp.h>
77686 #endif
77687
77688 int
77689 main ()
77690 {
77691 _finitel(0);
77692 ;
77693 return 0;
77694 }
77695 _ACEOF
77696 if ac_fn_cxx_try_compile "$LINENO"; then :
77697 glibcxx_cv_func__finitel_use=yes
77698 else
77699 glibcxx_cv_func__finitel_use=no
77700 fi
77701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77702 ac_ext=c
77703 ac_cpp='$CPP $CPPFLAGS'
77704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77707
77708
77709 fi
77710
77711 fi
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77713 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77714
77715 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77716 for ac_func in _finitel
77717 do :
77718 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77719 if test "x$ac_cv_func__finitel" = x""yes; then :
77720 cat >>confdefs.h <<_ACEOF
77721 #define HAVE__FINITEL 1
77722 _ACEOF
77723
77724 fi
77725 done
77726
77727 fi
77728 fi
77729
77730
77731
77732
77733 LIBS="$ac_save_LIBS"
77734 CXXFLAGS="$ac_save_CXXFLAGS"
77735
77736
77737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77738 ac_save_CXXFLAGS="$CXXFLAGS"
77739 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77740
77741
77742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77743 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77744 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77745 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77746 $as_echo_n "(cached) " >&6
77747 else
77748
77749
77750 ac_ext=cpp
77751 ac_cpp='$CXXCPP $CPPFLAGS'
77752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77755
77756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77757 /* end confdefs.h. */
77758 #include <stdlib.h>
77759 int
77760 main ()
77761 {
77762 at_quick_exit(0);
77763 ;
77764 return 0;
77765 }
77766 _ACEOF
77767 if ac_fn_cxx_try_compile "$LINENO"; then :
77768 glibcxx_cv_func_at_quick_exit_use=yes
77769 else
77770 glibcxx_cv_func_at_quick_exit_use=no
77771 fi
77772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77773 ac_ext=c
77774 ac_cpp='$CPP $CPPFLAGS'
77775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77778
77779
77780 fi
77781
77782 fi
77783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77784 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77785 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77786 for ac_func in at_quick_exit
77787 do :
77788 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77789 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77790 cat >>confdefs.h <<_ACEOF
77791 #define HAVE_AT_QUICK_EXIT 1
77792 _ACEOF
77793
77794 fi
77795 done
77796
77797 fi
77798
77799
77800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77801 $as_echo_n "checking for quick_exit declaration... " >&6; }
77802 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77803 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77804 $as_echo_n "(cached) " >&6
77805 else
77806
77807
77808 ac_ext=cpp
77809 ac_cpp='$CXXCPP $CPPFLAGS'
77810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77813
77814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77815 /* end confdefs.h. */
77816 #include <stdlib.h>
77817 int
77818 main ()
77819 {
77820 quick_exit(0);
77821 ;
77822 return 0;
77823 }
77824 _ACEOF
77825 if ac_fn_cxx_try_compile "$LINENO"; then :
77826 glibcxx_cv_func_quick_exit_use=yes
77827 else
77828 glibcxx_cv_func_quick_exit_use=no
77829 fi
77830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77831 ac_ext=c
77832 ac_cpp='$CPP $CPPFLAGS'
77833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77836
77837
77838 fi
77839
77840 fi
77841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77842 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77843 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77844 for ac_func in quick_exit
77845 do :
77846 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77847 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77848 cat >>confdefs.h <<_ACEOF
77849 #define HAVE_QUICK_EXIT 1
77850 _ACEOF
77851
77852 fi
77853 done
77854
77855 fi
77856
77857
77858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77859 $as_echo_n "checking for strtold declaration... " >&6; }
77860 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77861 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77862 $as_echo_n "(cached) " >&6
77863 else
77864
77865
77866 ac_ext=cpp
77867 ac_cpp='$CXXCPP $CPPFLAGS'
77868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77871
77872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77873 /* end confdefs.h. */
77874 #include <stdlib.h>
77875 int
77876 main ()
77877 {
77878 strtold(0, 0);
77879 ;
77880 return 0;
77881 }
77882 _ACEOF
77883 if ac_fn_cxx_try_compile "$LINENO"; then :
77884 glibcxx_cv_func_strtold_use=yes
77885 else
77886 glibcxx_cv_func_strtold_use=no
77887 fi
77888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77889 ac_ext=c
77890 ac_cpp='$CPP $CPPFLAGS'
77891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77894
77895
77896 fi
77897
77898 fi
77899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77900 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77901 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77902 for ac_func in strtold
77903 do :
77904 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77905 if test "x$ac_cv_func_strtold" = x""yes; then :
77906 cat >>confdefs.h <<_ACEOF
77907 #define HAVE_STRTOLD 1
77908 _ACEOF
77909
77910 fi
77911 done
77912
77913 fi
77914
77915
77916
77917
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77919 $as_echo_n "checking for strtof declaration... " >&6; }
77920 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77921 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77922 $as_echo_n "(cached) " >&6
77923 else
77924
77925
77926 ac_ext=cpp
77927 ac_cpp='$CXXCPP $CPPFLAGS'
77928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77931
77932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77933 /* end confdefs.h. */
77934 #include <stdlib.h>
77935 int
77936 main ()
77937 {
77938 strtof(0, 0);
77939 ;
77940 return 0;
77941 }
77942 _ACEOF
77943 if ac_fn_cxx_try_compile "$LINENO"; then :
77944 glibcxx_cv_func_strtof_use=yes
77945 else
77946 glibcxx_cv_func_strtof_use=no
77947 fi
77948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77949 ac_ext=c
77950 ac_cpp='$CPP $CPPFLAGS'
77951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77954
77955
77956 fi
77957
77958 fi
77959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77960 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77961 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77962 for ac_func in strtof
77963 do :
77964 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77965 if test "x$ac_cv_func_strtof" = x""yes; then :
77966 cat >>confdefs.h <<_ACEOF
77967 #define HAVE_STRTOF 1
77968 _ACEOF
77969
77970 fi
77971 done
77972
77973 fi
77974
77975
77976
77977
77978 CXXFLAGS="$ac_save_CXXFLAGS"
77979
77980 ;;
77981 *-vxworks)
77982 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77983
77984 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77985
77986 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77987
77988 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77989
77990 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77991
77992 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77993
77994 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77995
77996 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77997
77998 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77999
78000 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78001
78002 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78003
78004 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78005
78006 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78007
78008 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78009
78010 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78011
78012 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78013
78014 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78015
78016 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78017
78018 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78019
78020 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78021
78022 ;;
78023 *)
78024 as_fn_error "No support for this host/target combination." "$LINENO" 5
78025 ;;
78026 esac
78027
78028 fi
78029
78030 # At some point, we should differentiate between architectures
78031 # like x86, which have long double versions, and alpha/powerpc/etc.,
78032 # which don't. For the time being, punt.
78033 if test x"long_double_math_on_this_cpu" = x"yes"; then
78034 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78035
78036 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78037
78038 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78039
78040 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78041
78042 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78043
78044 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78045
78046 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78047
78048 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78049
78050 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78051
78052 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78053
78054 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78055
78056 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78057
78058 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78059
78060 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78061
78062 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78063
78064 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78065
78066 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78067
78068 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78069
78070 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78071
78072 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78073
78074 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78075
78076 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78077
78078 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78079
78080 fi
78081 fi
78082
78083 # Check for _Unwind_GetIPInfo.
78084
78085
78086 # Check whether --with-system-libunwind was given.
78087 if test "${with_system_libunwind+set}" = set; then :
78088 withval=$with_system_libunwind;
78089 fi
78090
78091 # If system-libunwind was not specifically set, pick a default setting.
78092 if test x$with_system_libunwind = x; then
78093 case ${target} in
78094 ia64-*-hpux*) with_system_libunwind=yes ;;
78095 *) with_system_libunwind=no ;;
78096 esac
78097 fi
78098 # Based on system-libunwind and target, do we have ipinfo?
78099 if test x$with_system_libunwind = xyes; then
78100 case ${target} in
78101 ia64-*-*) have_unwind_getipinfo=no ;;
78102 *) have_unwind_getipinfo=yes ;;
78103 esac
78104 else
78105 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78106
78107 case ${target} in
78108 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78109 *) have_unwind_getipinfo=yes ;;
78110 esac
78111
78112 fi
78113
78114 if test x$have_unwind_getipinfo = xyes; then
78115
78116 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78117
78118 fi
78119
78120
78121 # Check whether --enable-linux-futex was given.
78122 if test "${enable_linux_futex+set}" = set; then :
78123 enableval=$enable_linux_futex;
78124 case "$enableval" in
78125 yes|no|default) ;;
78126 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78127 esac
78128
78129 else
78130 enable_linux_futex=default
78131 fi
78132
78133
78134 case "$target" in
78135 *-linux*)
78136 case "$enable_linux_futex" in
78137 default)
78138 # If headers don't have gettid/futex syscalls definition, then
78139 # default to no, otherwise there will be compile time failures.
78140 # Otherwise, default to yes. If we don't detect we are
78141 # compiled/linked against NPTL and not cross-compiling, check
78142 # if programs are run by default against NPTL and if not, issue
78143 # a warning.
78144 enable_linux_futex=no
78145 if test x$gcc_no_link = xyes; then
78146 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78147 fi
78148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78149 /* end confdefs.h. */
78150 #include <sys/syscall.h>
78151 int lk;
78152 int
78153 main ()
78154 {
78155 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78156 ;
78157 return 0;
78158 }
78159 _ACEOF
78160 if ac_fn_c_try_link "$LINENO"; then :
78161 save_LIBS="$LIBS"
78162 LIBS="-lpthread $LIBS"
78163 if test x$gcc_no_link = xyes; then
78164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78165 fi
78166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78167 /* end confdefs.h. */
78168 #ifndef _GNU_SOURCE
78169 #define _GNU_SOURCE 1
78170 #endif
78171 #include <pthread.h>
78172 pthread_t th; void *status;
78173 int
78174 main ()
78175 {
78176 pthread_tryjoin_np (th, &status);
78177 ;
78178 return 0;
78179 }
78180 _ACEOF
78181 if ac_fn_c_try_link "$LINENO"; then :
78182 enable_linux_futex=yes
78183 else
78184 if test x$cross_compiling = xno; then
78185 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78186 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78188 If so, please configure with --disable-linux-futex" >&5
78189 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78190 If so, please configure with --disable-linux-futex" >&2;}
78191 fi
78192 fi
78193 enable_linux_futex=yes
78194 fi
78195 rm -f core conftest.err conftest.$ac_objext \
78196 conftest$ac_exeext conftest.$ac_ext
78197 LIBS="$save_LIBS"
78198 fi
78199 rm -f core conftest.err conftest.$ac_objext \
78200 conftest$ac_exeext conftest.$ac_ext
78201 ;;
78202 yes)
78203 if test x$gcc_no_link = xyes; then
78204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78205 fi
78206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78207 /* end confdefs.h. */
78208 #include <sys/syscall.h>
78209 int lk;
78210 int
78211 main ()
78212 {
78213 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78214 ;
78215 return 0;
78216 }
78217 _ACEOF
78218 if ac_fn_c_try_link "$LINENO"; then :
78219
78220 else
78221 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78222 fi
78223 rm -f core conftest.err conftest.$ac_objext \
78224 conftest$ac_exeext conftest.$ac_ext
78225 ;;
78226 esac
78227 ;;
78228 *)
78229 enable_linux_futex=no
78230 ;;
78231 esac
78232 if test x$enable_linux_futex = xyes; then
78233
78234 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78235
78236 fi
78237
78238
78239
78240
78241 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78242
78243 acx_cv_header_stdint=stddef.h
78244 acx_cv_header_stdint_kind="(already complete)"
78245 for i in stdint.h $inttype_headers; do
78246 unset ac_cv_type_uintptr_t
78247 unset ac_cv_type_uintmax_t
78248 unset ac_cv_type_int_least32_t
78249 unset ac_cv_type_int_fast32_t
78250 unset ac_cv_type_uint64_t
78251 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78252 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78253 #include <$i>
78254 "
78255 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78256 acx_cv_header_stdint=$i
78257 else
78258 continue
78259 fi
78260
78261 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78262 #include <$i>
78263 "
78264 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78265
78266 else
78267 acx_cv_header_stdint_kind="(mostly complete)"
78268 fi
78269
78270 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78271 #include <$i>
78272 "
78273 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78274
78275 else
78276 acx_cv_header_stdint_kind="(mostly complete)"
78277 fi
78278
78279 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78280 #include <$i>
78281 "
78282 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78283
78284 else
78285 acx_cv_header_stdint_kind="(mostly complete)"
78286 fi
78287
78288 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78289 #include <$i>
78290 "
78291 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78292
78293 else
78294 acx_cv_header_stdint_kind="(lacks uint64_t)"
78295 fi
78296
78297 break
78298 done
78299 if test "$acx_cv_header_stdint" = stddef.h; then
78300 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78301 for i in stdint.h $inttype_headers; do
78302 unset ac_cv_type_uintptr_t
78303 unset ac_cv_type_uint32_t
78304 unset ac_cv_type_uint64_t
78305 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78306 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78307 #include <$i>
78308 "
78309 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78310 acx_cv_header_stdint=$i
78311 else
78312 continue
78313 fi
78314
78315 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78316 #include <$i>
78317 "
78318 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78319
78320 fi
78321
78322 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78323 #include <$i>
78324 "
78325 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78326
78327 fi
78328
78329 break
78330 done
78331 fi
78332 if test "$acx_cv_header_stdint" = stddef.h; then
78333 acx_cv_header_stdint_kind="(u_intXX_t style)"
78334 for i in sys/types.h $inttype_headers; do
78335 unset ac_cv_type_u_int32_t
78336 unset ac_cv_type_u_int64_t
78337 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78338 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78339 #include <$i>
78340 "
78341 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78342 acx_cv_header_stdint=$i
78343 else
78344 continue
78345 fi
78346
78347 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78348 #include <$i>
78349 "
78350 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78351
78352 fi
78353
78354 break
78355 done
78356 fi
78357 if test "$acx_cv_header_stdint" = stddef.h; then
78358 acx_cv_header_stdint_kind="(using manual detection)"
78359 fi
78360
78361 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78362 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78363 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78364 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78365 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78366
78367 # ----------------- Summarize what we found so far
78368
78369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78370 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78371
78372 case `$as_basename -- include/gstdint.h ||
78373 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78374 Xinclude/gstdint.h : 'X\(//\)$' \| \
78375 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78376 $as_echo X/include/gstdint.h |
78377 sed '/^.*\/\([^/][^/]*\)\/*$/{
78378 s//\1/
78379 q
78380 }
78381 /^X\/\(\/\/\)$/{
78382 s//\1/
78383 q
78384 }
78385 /^X\/\(\/\).*/{
78386 s//\1/
78387 q
78388 }
78389 s/.*/./; q'` in
78390 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78391 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78392 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78393 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78394 *) ;;
78395 esac
78396
78397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78398 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78399
78400 # ----------------- done included file, check C basic types --------
78401
78402 # Lacking an uintptr_t? Test size of void *
78403 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78404 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78407 # This bug is HP SR number 8606223364.
78408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78409 $as_echo_n "checking size of void *... " >&6; }
78410 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78411 $as_echo_n "(cached) " >&6
78412 else
78413 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78414
78415 else
78416 if test "$ac_cv_type_void_p" = yes; then
78417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78419 { as_fn_set_status 77
78420 as_fn_error "cannot compute sizeof (void *)
78421 See \`config.log' for more details." "$LINENO" 5; }; }
78422 else
78423 ac_cv_sizeof_void_p=0
78424 fi
78425 fi
78426
78427 fi
78428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78429 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78430
78431
78432
78433 cat >>confdefs.h <<_ACEOF
78434 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78435 _ACEOF
78436
78437 ;;
78438 esac
78439
78440 # Lacking an uint64_t? Test size of long
78441 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78442 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78445 # This bug is HP SR number 8606223364.
78446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78447 $as_echo_n "checking size of long... " >&6; }
78448 if test "${ac_cv_sizeof_long+set}" = set; then :
78449 $as_echo_n "(cached) " >&6
78450 else
78451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78452
78453 else
78454 if test "$ac_cv_type_long" = yes; then
78455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78457 { as_fn_set_status 77
78458 as_fn_error "cannot compute sizeof (long)
78459 See \`config.log' for more details." "$LINENO" 5; }; }
78460 else
78461 ac_cv_sizeof_long=0
78462 fi
78463 fi
78464
78465 fi
78466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78467 $as_echo "$ac_cv_sizeof_long" >&6; }
78468
78469
78470
78471 cat >>confdefs.h <<_ACEOF
78472 #define SIZEOF_LONG $ac_cv_sizeof_long
78473 _ACEOF
78474
78475 ;;
78476 esac
78477
78478 if test $acx_cv_header_stdint = stddef.h; then
78479 # Lacking a good header? Test size of everything and deduce all types.
78480 # The cast to long int works around a bug in the HP C Compiler
78481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78483 # This bug is HP SR number 8606223364.
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78485 $as_echo_n "checking size of int... " >&6; }
78486 if test "${ac_cv_sizeof_int+set}" = set; then :
78487 $as_echo_n "(cached) " >&6
78488 else
78489 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78490
78491 else
78492 if test "$ac_cv_type_int" = yes; then
78493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78495 { as_fn_set_status 77
78496 as_fn_error "cannot compute sizeof (int)
78497 See \`config.log' for more details." "$LINENO" 5; }; }
78498 else
78499 ac_cv_sizeof_int=0
78500 fi
78501 fi
78502
78503 fi
78504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78505 $as_echo "$ac_cv_sizeof_int" >&6; }
78506
78507
78508
78509 cat >>confdefs.h <<_ACEOF
78510 #define SIZEOF_INT $ac_cv_sizeof_int
78511 _ACEOF
78512
78513
78514 # The cast to long int works around a bug in the HP C Compiler
78515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78517 # This bug is HP SR number 8606223364.
78518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78519 $as_echo_n "checking size of short... " >&6; }
78520 if test "${ac_cv_sizeof_short+set}" = set; then :
78521 $as_echo_n "(cached) " >&6
78522 else
78523 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78524
78525 else
78526 if test "$ac_cv_type_short" = yes; then
78527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78529 { as_fn_set_status 77
78530 as_fn_error "cannot compute sizeof (short)
78531 See \`config.log' for more details." "$LINENO" 5; }; }
78532 else
78533 ac_cv_sizeof_short=0
78534 fi
78535 fi
78536
78537 fi
78538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78539 $as_echo "$ac_cv_sizeof_short" >&6; }
78540
78541
78542
78543 cat >>confdefs.h <<_ACEOF
78544 #define SIZEOF_SHORT $ac_cv_sizeof_short
78545 _ACEOF
78546
78547
78548 # The cast to long int works around a bug in the HP C Compiler
78549 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78550 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78551 # This bug is HP SR number 8606223364.
78552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78553 $as_echo_n "checking size of char... " >&6; }
78554 if test "${ac_cv_sizeof_char+set}" = set; then :
78555 $as_echo_n "(cached) " >&6
78556 else
78557 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78558
78559 else
78560 if test "$ac_cv_type_char" = yes; then
78561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78563 { as_fn_set_status 77
78564 as_fn_error "cannot compute sizeof (char)
78565 See \`config.log' for more details." "$LINENO" 5; }; }
78566 else
78567 ac_cv_sizeof_char=0
78568 fi
78569 fi
78570
78571 fi
78572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78573 $as_echo "$ac_cv_sizeof_char" >&6; }
78574
78575
78576
78577 cat >>confdefs.h <<_ACEOF
78578 #define SIZEOF_CHAR $ac_cv_sizeof_char
78579 _ACEOF
78580
78581
78582
78583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78584 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78585 case "$ac_cv_sizeof_char" in
78586 1) acx_cv_type_int8_t=char ;;
78587 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78588 esac
78589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78590 $as_echo "$acx_cv_type_int8_t" >&6; }
78591
78592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78593 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78594 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78595 2:*) acx_cv_type_int16_t=int ;;
78596 *:2) acx_cv_type_int16_t=short ;;
78597 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78598 esac
78599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78600 $as_echo "$acx_cv_type_int16_t" >&6; }
78601
78602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78603 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78604 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78605 4:*) acx_cv_type_int32_t=int ;;
78606 *:4) acx_cv_type_int32_t=long ;;
78607 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78608 esac
78609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78610 $as_echo "$acx_cv_type_int32_t" >&6; }
78611 fi
78612
78613 # These tests are here to make the output prettier
78614
78615 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78616 case "$ac_cv_sizeof_long" in
78617 8) acx_cv_type_int64_t=long ;;
78618 esac
78619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78620 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78622 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78623 fi
78624
78625 # Now we can use the above types
78626
78627 if test "$ac_cv_type_uintptr_t" != yes; then
78628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78629 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78630 case $ac_cv_sizeof_void_p in
78631 2) acx_cv_type_intptr_t=int16_t ;;
78632 4) acx_cv_type_intptr_t=int32_t ;;
78633 8) acx_cv_type_intptr_t=int64_t ;;
78634 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78635 esac
78636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78637 $as_echo "$acx_cv_type_intptr_t" >&6; }
78638 fi
78639
78640 # ----------------- done all checks, emit header -------------
78641 ac_config_commands="$ac_config_commands include/gstdint.h"
78642
78643
78644
78645
78646
78647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78648 $as_echo_n "checking for GNU c++filt... " >&6; }
78649 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78650 $as_echo_n "(cached) " >&6
78651 else
78652 if test -z "$CXXFILT"; then
78653 ac_path_CXXFILT_found=false
78654 # Loop through the user's path and test for each of PROGNAME-LIST
78655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78656 for as_dir in $PATH
78657 do
78658 IFS=$as_save_IFS
78659 test -z "$as_dir" && as_dir=.
78660 for ac_prog in c++filt gc++filt; do
78661 for ac_exec_ext in '' $ac_executable_extensions; do
78662 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78663 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78664 # Check for GNU $ac_path_CXXFILT
78665 case `"$ac_path_CXXFILT" --version 2>&1` in
78666 *GNU*)
78667 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78668 esac
78669
78670 $ac_path_CXXFILT_found && break 3
78671 done
78672 done
78673 done
78674 IFS=$as_save_IFS
78675 if test -z "$ac_cv_path_CXXFILT"; then
78676 :
78677 fi
78678 else
78679 ac_cv_path_CXXFILT=$CXXFILT
78680 fi
78681
78682 fi
78683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78684 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78685 CXXFILT=$ac_cv_path_CXXFILT
78686
78687
78688
78689 # Check whether --enable-symvers was given.
78690 if test "${enable_symvers+set}" = set; then :
78691 enableval=$enable_symvers;
78692 case "$enableval" in
78693 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78694 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78695 esac
78696
78697 else
78698 enable_symvers=yes
78699 fi
78700
78701
78702
78703 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78704 # don't know enough about $LD to do tricks...
78705
78706 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78707 # with extern "C++" in version scripts.
78708
78709
78710 # Turn a 'yes' into a suitable default.
78711 if test x$enable_symvers = xyes ; then
78712 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78713 enable_symvers=no
78714 else
78715 if test $with_gnu_ld = yes ; then
78716 case ${target_os} in
78717 hpux*)
78718 enable_symvers=no ;;
78719 *)
78720 enable_symvers=gnu ;;
78721 esac
78722 else
78723 case ${target_os} in
78724 darwin*)
78725 enable_symvers=darwin ;;
78726 # Sun symbol versioning exists since Solaris 2.5.
78727 solaris2.[5-9]* | solaris2.1[0-9]*)
78728 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78729 # version scripts, so disable symbol versioning if none can be
78730 # found.
78731 if test -z "$ac_cv_path_CXXFILT"; then
78732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78733 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78735 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78737 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78738 enable_symvers=no
78739 else
78740 enable_symvers=sun
78741 fi
78742 ;;
78743 *)
78744 enable_symvers=no ;;
78745 esac
78746 fi
78747 fi
78748 fi
78749
78750 # Check to see if 'darwin' or 'darwin-export' can win.
78751 if test x$enable_symvers = xdarwin-export ; then
78752 enable_symvers=darwin
78753 fi
78754
78755 # Check if 'sun' was requested on non-Solaris 2 platforms.
78756 if test x$enable_symvers = xsun ; then
78757 case ${target_os} in
78758 solaris2*)
78759 # All fine.
78760 ;;
78761 *)
78762 # Unlikely to work.
78763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78764 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78766 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78768 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78769 enable_symvers=no
78770 ;;
78771 esac
78772 fi
78773
78774 # Check to see if 'gnu' can win.
78775 if test $enable_symvers = gnu ||
78776 test $enable_symvers = gnu-versioned-namespace ||
78777 test $enable_symvers = sun; then
78778 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78780 $as_echo_n "checking for shared libgcc... " >&6; }
78781 ac_save_CFLAGS="$CFLAGS"
78782 CFLAGS=' -lgcc_s'
78783 if test x$gcc_no_link = xyes; then
78784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78785 fi
78786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78787 /* end confdefs.h. */
78788
78789 int
78790 main ()
78791 {
78792 return 0;
78793 ;
78794 return 0;
78795 }
78796 _ACEOF
78797 if ac_fn_c_try_link "$LINENO"; then :
78798 glibcxx_shared_libgcc=yes
78799 else
78800 glibcxx_shared_libgcc=no
78801 fi
78802 rm -f core conftest.err conftest.$ac_objext \
78803 conftest$ac_exeext conftest.$ac_ext
78804 CFLAGS="$ac_save_CFLAGS"
78805 if test $glibcxx_shared_libgcc = no; then
78806 cat > conftest.c <<EOF
78807 int main (void) { return 0; }
78808 EOF
78809 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78810 -shared -shared-libgcc -o conftest.so \
78811 conftest.c -v 2>&1 >/dev/null \
78812 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78813 rm -f conftest.c conftest.so
78814 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78815 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78816 if test x$gcc_no_link = xyes; then
78817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78818 fi
78819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78820 /* end confdefs.h. */
78821
78822 int
78823 main ()
78824 {
78825 return 0;
78826 ;
78827 return 0;
78828 }
78829 _ACEOF
78830 if ac_fn_c_try_link "$LINENO"; then :
78831 glibcxx_shared_libgcc=yes
78832 fi
78833 rm -f core conftest.err conftest.$ac_objext \
78834 conftest$ac_exeext conftest.$ac_ext
78835 CFLAGS="$ac_save_CFLAGS"
78836 fi
78837 fi
78838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78839 $as_echo "$glibcxx_shared_libgcc" >&6; }
78840
78841 # For GNU ld, we need at least this version. The format is described in
78842 # GLIBCXX_CHECK_LINKER_FEATURES above.
78843 glibcxx_min_gnu_ld_version=21400
78844
78845 # If no shared libgcc, can't win.
78846 if test $glibcxx_shared_libgcc != yes; then
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78848 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78850 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78852 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78853 enable_symvers=no
78854 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78855 : All interesting versions of Sun ld support sun style symbol versioning.
78856 elif test $with_gnu_ld != yes ; then
78857 # just fail for now
78858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78859 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78861 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78863 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78864 enable_symvers=no
78865 elif test $glibcxx_ld_is_gold = yes ; then
78866 : All versions of gold support symbol versioning.
78867 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78868 # The right tools, the right setup, but too old. Fallbacks?
78869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78870 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78872 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78874 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78876 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78878 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78879 enable_symvers=no
78880 fi
78881 fi
78882
78883 # For libtool versioning info, format is CURRENT:REVISION:AGE
78884 libtool_VERSION=6:22:0
78885
78886 # Everything parsed; figure out what files and settings to use.
78887 case $enable_symvers in
78888 no)
78889 SYMVER_FILE=config/abi/pre/none.ver
78890 ;;
78891 gnu)
78892 SYMVER_FILE=config/abi/pre/gnu.ver
78893
78894 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78895
78896 ;;
78897 gnu-versioned-namespace)
78898 libtool_VERSION=7:0:0
78899 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78900
78901 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78902
78903 ;;
78904 darwin)
78905 SYMVER_FILE=config/abi/pre/gnu.ver
78906
78907 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78908
78909 ;;
78910 sun)
78911 SYMVER_FILE=config/abi/pre/gnu.ver
78912
78913 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78914
78915 ;;
78916 esac
78917
78918 if test x$enable_symvers != xno ; then
78919
78920 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78921
78922 fi
78923
78924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78925 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78926 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78927 $as_echo_n "(cached) " >&6
78928 else
78929
78930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78931 /* end confdefs.h. */
78932 void foo (void); __asm (".symver foo, bar@SYMVER");
78933 int
78934 main ()
78935 {
78936
78937 ;
78938 return 0;
78939 }
78940 _ACEOF
78941 if ac_fn_c_try_compile "$LINENO"; then :
78942 glibcxx_cv_have_as_symver_directive=yes
78943 else
78944 glibcxx_cv_have_as_symver_directive=no
78945 fi
78946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78947 fi
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78949 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78950 if test $glibcxx_cv_have_as_symver_directive = yes; then
78951
78952 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78953
78954 fi
78955
78956
78957
78958
78959
78960
78961
78962
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78964 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78965
78966 if test $enable_symvers != no ; then
78967 case ${target_os} in
78968 # The Solaris 2 runtime linker doesn't support the GNU extension of
78969 # binding the same symbol to different versions
78970 solaris2*)
78971 ;;
78972 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78973 *)
78974
78975 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78976
78977 ;;
78978 esac
78979 fi
78980
78981 # Now, set up compatibility support, if any.
78982 # In addition, need this to deal with std::size_t mangling in
78983 # src/compatibility.cc. In a perfect world, could use
78984 # typeid(std::size_t).name()[0] to do direct substitution.
78985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78986 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78987 ac_save_CFLAGS="$CFLAGS"
78988 CFLAGS="-Werror"
78989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78990 /* end confdefs.h. */
78991
78992 int
78993 main ()
78994 {
78995 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78996 ;
78997 return 0;
78998 }
78999 _ACEOF
79000 if ac_fn_c_try_compile "$LINENO"; then :
79001 glibcxx_size_t_is_i=yes
79002 else
79003 glibcxx_size_t_is_i=no
79004 fi
79005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79006 CFLAGS=$ac_save_CFLAGS
79007 if test "$glibcxx_size_t_is_i" = yes; then
79008
79009 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79010
79011 fi
79012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79013 $as_echo "$glibcxx_size_t_is_i" >&6; }
79014
79015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79016 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79017 ac_save_CFLAGS="$CFLAGS"
79018 CFLAGS="-Werror"
79019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79020 /* end confdefs.h. */
79021
79022 int
79023 main ()
79024 {
79025 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79026 ;
79027 return 0;
79028 }
79029 _ACEOF
79030 if ac_fn_c_try_compile "$LINENO"; then :
79031 glibcxx_ptrdiff_t_is_i=yes
79032 else
79033 glibcxx_ptrdiff_t_is_i=no
79034 fi
79035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79036 CFLAGS=$ac_save_CFLAGS
79037 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79038
79039 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79040
79041 fi
79042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79043 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79044
79045
79046
79047
79048 # Check whether --enable-libstdcxx-visibility was given.
79049 if test "${enable_libstdcxx_visibility+set}" = set; then :
79050 enableval=$enable_libstdcxx_visibility;
79051 case "$enableval" in
79052 yes|no) ;;
79053 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79054 esac
79055
79056 else
79057 enable_libstdcxx_visibility=yes
79058 fi
79059
79060
79061
79062 if test x$enable_libstdcxx_visibility = xyes ; then
79063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79064 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79065 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79066 $as_echo_n "(cached) " >&6
79067 else
79068
79069 save_CFLAGS="$CFLAGS"
79070 CFLAGS="$CFLAGS -Werror"
79071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79072 /* end confdefs.h. */
79073 void __attribute__((visibility("hidden"))) foo(void) { }
79074 int
79075 main ()
79076 {
79077
79078 ;
79079 return 0;
79080 }
79081 _ACEOF
79082 if ac_fn_c_try_compile "$LINENO"; then :
79083 glibcxx_cv_have_attribute_visibility=yes
79084 else
79085 glibcxx_cv_have_attribute_visibility=no
79086 fi
79087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79088 CFLAGS="$save_CFLAGS"
79089 fi
79090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79091 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79092 if test $glibcxx_cv_have_attribute_visibility = no; then
79093 enable_libstdcxx_visibility=no
79094 fi
79095 fi
79096
79097
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79099 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79100
79101
79102
79103 # Check whether --enable-libstdcxx-dual-abi was given.
79104 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79105 enableval=$enable_libstdcxx_dual_abi;
79106 case "$enableval" in
79107 yes|no) ;;
79108 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79109 esac
79110
79111 else
79112 enable_libstdcxx_dual_abi=yes
79113 fi
79114
79115
79116 if test x$enable_symvers = xgnu-versioned-namespace; then
79117 # gnu-versioned-namespace is incompatible with the dual ABI.
79118 enable_libstdcxx_dual_abi="no"
79119 fi
79120 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79122 $as_echo "$as_me: dual ABI is disabled" >&6;}
79123 default_libstdcxx_abi="gcc4-compatible"
79124 fi
79125
79126
79127
79128 if test x$enable_libstdcxx_dual_abi = xyes; then
79129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79130 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79131
79132 # Check whether --with-default-libstdcxx-abi was given.
79133 if test "${with_default_libstdcxx_abi+set}" = set; then :
79134 withval=$with_default_libstdcxx_abi; case "$withval" in
79135 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79136 new|cxx11) default_libstdcxx_abi="new" ;;
79137 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79138 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79139 esac
79140
79141 else
79142 default_libstdcxx_abi="new"
79143 fi
79144
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79146 $as_echo "${default_libstdcxx_abi}" >&6; }
79147 fi
79148 if test $default_libstdcxx_abi = "new"; then
79149 glibcxx_cxx11_abi=1
79150 glibcxx_cxx98_abi=0
79151 else
79152 glibcxx_cxx11_abi=0
79153 glibcxx_cxx98_abi=1
79154 fi
79155
79156
79157
79158
79159 ac_ldbl_compat=no
79160 case "$target" in
79161 powerpc*-*-linux* | \
79162 sparc*-*-linux* | \
79163 s390*-*-linux* | \
79164 alpha*-*-linux*)
79165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79166 /* end confdefs.h. */
79167
79168 int
79169 main ()
79170 {
79171
79172 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79173 #error no need for long double compatibility
79174 #endif
79175
79176 ;
79177 return 0;
79178 }
79179 _ACEOF
79180 if ac_fn_c_try_compile "$LINENO"; then :
79181 ac_ldbl_compat=yes
79182 else
79183 ac_ldbl_compat=no
79184 fi
79185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79186 if test "$ac_ldbl_compat" = yes; then
79187
79188 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79189
79190 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79191 fi
79192 esac
79193
79194
79195 # Check if assembler supports disabling hardware capability support.
79196
79197 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79198
79199 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79200 # with a different meaning.
79201 case ${target_os} in
79202 solaris2*)
79203 ac_save_CFLAGS="$CFLAGS"
79204 CFLAGS="$CFLAGS -Wa,-nH"
79205
79206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79207 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79209 /* end confdefs.h. */
79210
79211 int
79212 main ()
79213 {
79214 return 0;
79215 ;
79216 return 0;
79217 }
79218 _ACEOF
79219 if ac_fn_c_try_compile "$LINENO"; then :
79220 ac_hwcap_flags=yes
79221 else
79222 ac_hwcap_flags=no
79223 fi
79224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79225 if test "$ac_hwcap_flags" = "yes"; then
79226 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79227 fi
79228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79229 $as_echo "$ac_hwcap_flags" >&6; }
79230
79231 CFLAGS="$ac_save_CFLAGS"
79232 ;;
79233 esac
79234
79235
79236
79237
79238 # Check if assembler supports rdrand opcode.
79239
79240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79241 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79242 if test "${ac_cv_x86_rdrand+set}" = set; then :
79243 $as_echo_n "(cached) " >&6
79244 else
79245
79246 ac_cv_x86_rdrand=no
79247 case "$target" in
79248 i?86-*-* | \
79249 x86_64-*-*)
79250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79251 /* end confdefs.h. */
79252
79253 int
79254 main ()
79255 {
79256 asm("rdrand %eax");
79257 ;
79258 return 0;
79259 }
79260 _ACEOF
79261 if ac_fn_c_try_compile "$LINENO"; then :
79262 ac_cv_x86_rdrand=yes
79263 else
79264 ac_cv_x86_rdrand=no
79265 fi
79266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79267 esac
79268
79269 fi
79270
79271 if test $ac_cv_x86_rdrand = yes; then
79272
79273 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79274
79275 fi
79276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79277 $as_echo "$ac_cv_x86_rdrand" >&6; }
79278
79279
79280 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79281
79282 if $GLIBCXX_IS_NATIVE ; then
79283 # Do checks for resource limit functions.
79284
79285 setrlimit_have_headers=yes
79286 for ac_header in unistd.h sys/time.h sys/resource.h
79287 do :
79288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79289 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79290 eval as_val=\$$as_ac_Header
79291 if test "x$as_val" = x""yes; then :
79292 cat >>confdefs.h <<_ACEOF
79293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79294 _ACEOF
79295
79296 else
79297 setrlimit_have_headers=no
79298 fi
79299
79300 done
79301
79302 # If don't have the headers, then we can't run the tests now, and we
79303 # won't be seeing any of these during testsuite compilation.
79304 if test $setrlimit_have_headers = yes; then
79305 # Can't do these in a loop, else the resulting syntax is wrong.
79306
79307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79308 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79310 /* end confdefs.h. */
79311 #include <unistd.h>
79312 #include <sys/time.h>
79313 #include <sys/resource.h>
79314
79315 int
79316 main ()
79317 {
79318 int f = RLIMIT_DATA ;
79319 ;
79320 return 0;
79321 }
79322 _ACEOF
79323 if ac_fn_c_try_compile "$LINENO"; then :
79324 glibcxx_mresult=1
79325 else
79326 glibcxx_mresult=0
79327 fi
79328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79329
79330 cat >>confdefs.h <<_ACEOF
79331 #define HAVE_LIMIT_DATA $glibcxx_mresult
79332 _ACEOF
79333
79334 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79336 $as_echo "$res" >&6; }
79337
79338
79339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79340 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79342 /* end confdefs.h. */
79343 #include <unistd.h>
79344 #include <sys/time.h>
79345 #include <sys/resource.h>
79346
79347 int
79348 main ()
79349 {
79350 int f = RLIMIT_RSS ;
79351 ;
79352 return 0;
79353 }
79354 _ACEOF
79355 if ac_fn_c_try_compile "$LINENO"; then :
79356 glibcxx_mresult=1
79357 else
79358 glibcxx_mresult=0
79359 fi
79360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79361
79362 cat >>confdefs.h <<_ACEOF
79363 #define HAVE_LIMIT_RSS $glibcxx_mresult
79364 _ACEOF
79365
79366 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79368 $as_echo "$res" >&6; }
79369
79370
79371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79372 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79374 /* end confdefs.h. */
79375 #include <unistd.h>
79376 #include <sys/time.h>
79377 #include <sys/resource.h>
79378
79379 int
79380 main ()
79381 {
79382 int f = RLIMIT_VMEM ;
79383 ;
79384 return 0;
79385 }
79386 _ACEOF
79387 if ac_fn_c_try_compile "$LINENO"; then :
79388 glibcxx_mresult=1
79389 else
79390 glibcxx_mresult=0
79391 fi
79392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79393
79394 cat >>confdefs.h <<_ACEOF
79395 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79396 _ACEOF
79397
79398 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79400 $as_echo "$res" >&6; }
79401
79402
79403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79404 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79406 /* end confdefs.h. */
79407 #include <unistd.h>
79408 #include <sys/time.h>
79409 #include <sys/resource.h>
79410
79411 int
79412 main ()
79413 {
79414 int f = RLIMIT_AS ;
79415 ;
79416 return 0;
79417 }
79418 _ACEOF
79419 if ac_fn_c_try_compile "$LINENO"; then :
79420 glibcxx_mresult=1
79421 else
79422 glibcxx_mresult=0
79423 fi
79424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79425
79426 cat >>confdefs.h <<_ACEOF
79427 #define HAVE_LIMIT_AS $glibcxx_mresult
79428 _ACEOF
79429
79430 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79432 $as_echo "$res" >&6; }
79433
79434
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79436 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79438 /* end confdefs.h. */
79439 #include <unistd.h>
79440 #include <sys/time.h>
79441 #include <sys/resource.h>
79442
79443 int
79444 main ()
79445 {
79446 int f = RLIMIT_FSIZE ;
79447 ;
79448 return 0;
79449 }
79450 _ACEOF
79451 if ac_fn_c_try_compile "$LINENO"; then :
79452 glibcxx_mresult=1
79453 else
79454 glibcxx_mresult=0
79455 fi
79456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79457
79458 cat >>confdefs.h <<_ACEOF
79459 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79460 _ACEOF
79461
79462 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79464 $as_echo "$res" >&6; }
79465
79466
79467 # Check for rlimit, setrlimit.
79468 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79469 $as_echo_n "(cached) " >&6
79470 else
79471
79472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79473 /* end confdefs.h. */
79474 #include <unistd.h>
79475 #include <sys/time.h>
79476 #include <sys/resource.h>
79477
79478 int
79479 main ()
79480 {
79481 struct rlimit r;
79482 setrlimit(0, &r);
79483 ;
79484 return 0;
79485 }
79486 _ACEOF
79487 if ac_fn_c_try_compile "$LINENO"; then :
79488 glibcxx_cv_setrlimit=yes
79489 else
79490 glibcxx_cv_setrlimit=no
79491 fi
79492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79493
79494 fi
79495
79496 fi
79497
79498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79499 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79500 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79501 ac_res_limits=yes
79502
79503 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79504
79505 else
79506 ac_res_limits=no
79507 fi
79508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79509 $as_echo "$ac_res_limits" >&6; }
79510
79511
79512 # Look for setenv, so that extended locale tests can be performed.
79513
79514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79515 $as_echo_n "checking for setenv declaration... " >&6; }
79516 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79517 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79518 $as_echo_n "(cached) " >&6
79519 else
79520
79521
79522 ac_ext=cpp
79523 ac_cpp='$CXXCPP $CPPFLAGS'
79524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79527
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79530 #include <stdlib.h>
79531 int
79532 main ()
79533 {
79534 setenv(0, 0, 0);
79535 ;
79536 return 0;
79537 }
79538 _ACEOF
79539 if ac_fn_cxx_try_compile "$LINENO"; then :
79540 glibcxx_cv_func_setenv_use=yes
79541 else
79542 glibcxx_cv_func_setenv_use=no
79543 fi
79544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79545 ac_ext=c
79546 ac_cpp='$CPP $CPPFLAGS'
79547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79550
79551
79552 fi
79553
79554 fi
79555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79556 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79557 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79558 for ac_func in setenv
79559 do :
79560 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79561 if test "x$ac_cv_func_setenv" = x""yes; then :
79562 cat >>confdefs.h <<_ACEOF
79563 #define HAVE_SETENV 1
79564 _ACEOF
79565
79566 fi
79567 done
79568
79569 fi
79570
79571 fi
79572
79573 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79574 test $enable_symvers != no; then
79575 case "$host" in
79576 *-*-cygwin*)
79577 enable_abi_check=no ;;
79578 *)
79579 enable_abi_check=yes ;;
79580 esac
79581 else
79582 # Only build this as native, since automake does not understand
79583 # CXX_FOR_BUILD.
79584 enable_abi_check=no
79585 fi
79586
79587 # Export file names for ABI checking.
79588 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79589
79590 baseline_subdir_switch="$abi_baseline_subdir_switch"
79591
79592
79593
79594 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79595
79596 # Check whether --enable-libstdcxx-threads was given.
79597 if test "${enable_libstdcxx_threads+set}" = set; then :
79598 enableval=$enable_libstdcxx_threads;
79599 case "$enableval" in
79600 yes|no) ;;
79601 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79602 esac
79603
79604 else
79605 enable_libstdcxx_threads=auto
79606 fi
79607
79608
79609
79610 if test x$enable_libstdcxx_threads = xauto ||
79611 test x$enable_libstdcxx_threads = xyes; then
79612
79613
79614 ac_ext=cpp
79615 ac_cpp='$CXXCPP $CPPFLAGS'
79616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79619
79620
79621 ac_save_CXXFLAGS="$CXXFLAGS"
79622 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79623 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79624
79625 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79626 case $target_thread_file in
79627 posix)
79628 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79629 esac
79630
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79632 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79633
79634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79635 /* end confdefs.h. */
79636 #include <unistd.h>
79637 int
79638 main ()
79639 {
79640
79641 // In case of POSIX threads check _POSIX_TIMEOUTS.
79642 #if (defined(_PTHREADS) \
79643 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79644 #error
79645 #endif
79646
79647 ;
79648 return 0;
79649 }
79650 _ACEOF
79651 if ac_fn_cxx_try_compile "$LINENO"; then :
79652 ac_gthread_use_mutex_timedlock=1
79653 else
79654 ac_gthread_use_mutex_timedlock=0
79655 fi
79656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79657
79658
79659 cat >>confdefs.h <<_ACEOF
79660 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79661 _ACEOF
79662
79663
79664 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79665 else res_mutex_timedlock=no ; fi
79666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79667 $as_echo "$res_mutex_timedlock" >&6; }
79668
79669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79670 $as_echo_n "checking for gthreads library... " >&6; }
79671
79672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79673 /* end confdefs.h. */
79674 #include "gthr.h"
79675 int
79676 main ()
79677 {
79678
79679 #ifndef __GTHREADS_CXX0X
79680 #error
79681 #endif
79682
79683 ;
79684 return 0;
79685 }
79686 _ACEOF
79687 if ac_fn_cxx_try_compile "$LINENO"; then :
79688 ac_has_gthreads=yes
79689 else
79690 ac_has_gthreads=no
79691 fi
79692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79693 else
79694 ac_has_gthreads=no
79695 fi
79696
79697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79698 $as_echo "$ac_has_gthreads" >&6; }
79699
79700 if test x"$ac_has_gthreads" = x"yes"; then
79701
79702 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79703
79704
79705 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79706 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79707 "
79708 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79709
79710 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79711
79712 fi
79713
79714 fi
79715
79716 CXXFLAGS="$ac_save_CXXFLAGS"
79717 ac_ext=c
79718 ac_cpp='$CPP $CPPFLAGS'
79719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79722
79723
79724
79725 # For Filesystem TS.
79726 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79727 do :
79728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79729 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79730 eval as_val=\$$as_ac_Header
79731 if test "x$as_val" = x""yes; then :
79732 cat >>confdefs.h <<_ACEOF
79733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79734 _ACEOF
79735
79736 fi
79737
79738 done
79739
79740
79741 # Check whether --enable-libstdcxx-filesystem-ts was given.
79742 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79743 enableval=$enable_libstdcxx_filesystem_ts;
79744 case "$enableval" in
79745 yes|no|auto) ;;
79746 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79747 esac
79748
79749 else
79750 enable_libstdcxx_filesystem_ts=auto
79751 fi
79752
79753
79754
79755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79756 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79757 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79758 enable_libstdcxx_filesystem_ts=no
79759 fi
79760 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79761 case "${target_os}" in
79762 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79763 enable_libstdcxx_filesystem_ts=yes
79764 ;;
79765 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79766 enable_libstdcxx_filesystem_ts=yes
79767 ;;
79768 solaris*)
79769 enable_libstdcxx_filesystem_ts=yes
79770 ;;
79771 *)
79772 enable_libstdcxx_filesystem_ts=no
79773 ;;
79774 esac
79775 fi
79776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79777 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79778
79779
79780
79781 ac_ext=cpp
79782 ac_cpp='$CXXCPP $CPPFLAGS'
79783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79786
79787 ac_save_CXXFLAGS="$CXXFLAGS"
79788 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79790 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79791 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79792 $as_echo_n "(cached) " >&6
79793 else
79794 if test x$gcc_no_link = xyes; then
79795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79796 /* end confdefs.h. */
79797 #include <dirent.h>
79798 int
79799 main ()
79800 {
79801
79802 struct dirent d;
79803 if (sizeof d.d_type) return 0;
79804
79805 ;
79806 return 0;
79807 }
79808 _ACEOF
79809 if ac_fn_cxx_try_compile "$LINENO"; then :
79810 glibcxx_cv_dirent_d_type=yes
79811 else
79812 glibcxx_cv_dirent_d_type=no
79813 fi
79814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79815 else
79816 if test x$gcc_no_link = xyes; then
79817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79818 fi
79819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79820 /* end confdefs.h. */
79821 #include <dirent.h>
79822 int
79823 main ()
79824 {
79825
79826 struct dirent d;
79827 if (sizeof d.d_type) return 0;
79828
79829 ;
79830 return 0;
79831 }
79832 _ACEOF
79833 if ac_fn_cxx_try_link "$LINENO"; then :
79834 glibcxx_cv_dirent_d_type=yes
79835 else
79836 glibcxx_cv_dirent_d_type=no
79837 fi
79838 rm -f core conftest.err conftest.$ac_objext \
79839 conftest$ac_exeext conftest.$ac_ext
79840 fi
79841
79842 fi
79843
79844 if test $glibcxx_cv_dirent_d_type = yes; then
79845
79846 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79847
79848 fi
79849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79850 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79852 $as_echo_n "checking for realpath... " >&6; }
79853 if test "${glibcxx_cv_realpath+set}" = set; then :
79854 $as_echo_n "(cached) " >&6
79855 else
79856 if test x$gcc_no_link = xyes; then
79857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79858 /* end confdefs.h. */
79859
79860 #include <stdlib.h>
79861 #include <unistd.h>
79862
79863 int
79864 main ()
79865 {
79866
79867 #if _XOPEN_VERSION < 500
79868 #error
79869 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79870 char *tmp = realpath((const char*)NULL, (char*)NULL);
79871 #else
79872 #error
79873 #endif
79874
79875 ;
79876 return 0;
79877 }
79878 _ACEOF
79879 if ac_fn_cxx_try_compile "$LINENO"; then :
79880 glibcxx_cv_realpath=yes
79881 else
79882 glibcxx_cv_realpath=no
79883 fi
79884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79885 else
79886 if test x$gcc_no_link = xyes; then
79887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79888 fi
79889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79890 /* end confdefs.h. */
79891
79892 #include <stdlib.h>
79893 #include <unistd.h>
79894
79895 int
79896 main ()
79897 {
79898
79899 #if _XOPEN_VERSION < 500
79900 #error
79901 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79902 char *tmp = realpath((const char*)NULL, (char*)NULL);
79903 #else
79904 #error
79905 #endif
79906
79907 ;
79908 return 0;
79909 }
79910 _ACEOF
79911 if ac_fn_cxx_try_link "$LINENO"; then :
79912 glibcxx_cv_realpath=yes
79913 else
79914 glibcxx_cv_realpath=no
79915 fi
79916 rm -f core conftest.err conftest.$ac_objext \
79917 conftest$ac_exeext conftest.$ac_ext
79918 fi
79919
79920 fi
79921
79922 if test $glibcxx_cv_realpath = yes; then
79923
79924 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79925
79926 fi
79927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79928 $as_echo "$glibcxx_cv_realpath" >&6; }
79929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79930 $as_echo_n "checking for utimensat... " >&6; }
79931 if test "${glibcxx_cv_utimensat+set}" = set; then :
79932 $as_echo_n "(cached) " >&6
79933 else
79934 if test x$gcc_no_link = xyes; then
79935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79936 /* end confdefs.h. */
79937
79938 #include <fcntl.h>
79939 #include <sys/stat.h>
79940
79941 int
79942 main ()
79943 {
79944
79945 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79946 int i = utimensat(AT_FDCWD, "path", ts, 0);
79947
79948 ;
79949 return 0;
79950 }
79951 _ACEOF
79952 if ac_fn_cxx_try_compile "$LINENO"; then :
79953 glibcxx_cv_utimensat=yes
79954 else
79955 glibcxx_cv_utimensat=no
79956 fi
79957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79958 else
79959 if test x$gcc_no_link = xyes; then
79960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79961 fi
79962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79963 /* end confdefs.h. */
79964
79965 #include <fcntl.h>
79966 #include <sys/stat.h>
79967
79968 int
79969 main ()
79970 {
79971
79972 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79973 int i = utimensat(AT_FDCWD, "path", ts, 0);
79974
79975 ;
79976 return 0;
79977 }
79978 _ACEOF
79979 if ac_fn_cxx_try_link "$LINENO"; then :
79980 glibcxx_cv_utimensat=yes
79981 else
79982 glibcxx_cv_utimensat=no
79983 fi
79984 rm -f core conftest.err conftest.$ac_objext \
79985 conftest$ac_exeext conftest.$ac_ext
79986 fi
79987
79988 fi
79989
79990 if test $glibcxx_cv_utimensat = yes; then
79991
79992 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79993
79994 fi
79995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79996 $as_echo "$glibcxx_cv_utimensat" >&6; }
79997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79998 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79999 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80000 $as_echo_n "(cached) " >&6
80001 else
80002 if test x$gcc_no_link = xyes; then
80003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80004 /* end confdefs.h. */
80005 #include <sys/stat.h>
80006 int
80007 main ()
80008 {
80009
80010 struct stat st;
80011 return st.st_mtim.tv_nsec;
80012
80013 ;
80014 return 0;
80015 }
80016 _ACEOF
80017 if ac_fn_cxx_try_compile "$LINENO"; then :
80018 glibcxx_cv_st_mtim=yes
80019 else
80020 glibcxx_cv_st_mtim=no
80021 fi
80022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80023 else
80024 if test x$gcc_no_link = xyes; then
80025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80026 fi
80027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80028 /* end confdefs.h. */
80029 #include <sys/stat.h>
80030 int
80031 main ()
80032 {
80033
80034 struct stat st;
80035 return st.st_mtim.tv_nsec;
80036
80037 ;
80038 return 0;
80039 }
80040 _ACEOF
80041 if ac_fn_cxx_try_link "$LINENO"; then :
80042 glibcxx_cv_st_mtim=yes
80043 else
80044 glibcxx_cv_st_mtim=no
80045 fi
80046 rm -f core conftest.err conftest.$ac_objext \
80047 conftest$ac_exeext conftest.$ac_ext
80048 fi
80049
80050 fi
80051
80052 if test $glibcxx_cv_st_mtim = yes; then
80053
80054 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80055
80056 fi
80057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80058 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80060 $as_echo_n "checking for fchmod... " >&6; }
80061 if test "${glibcxx_cv_fchmod+set}" = set; then :
80062 $as_echo_n "(cached) " >&6
80063 else
80064 if test x$gcc_no_link = xyes; then
80065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80066 /* end confdefs.h. */
80067 #include <sys/stat.h>
80068 int
80069 main ()
80070 {
80071 fchmod(1, S_IWUSR);
80072 ;
80073 return 0;
80074 }
80075 _ACEOF
80076 if ac_fn_cxx_try_compile "$LINENO"; then :
80077 glibcxx_cv_fchmod=yes
80078 else
80079 glibcxx_cv_fchmod=no
80080 fi
80081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80082 else
80083 if test x$gcc_no_link = xyes; then
80084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80085 fi
80086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80087 /* end confdefs.h. */
80088 #include <sys/stat.h>
80089 int
80090 main ()
80091 {
80092 fchmod(1, S_IWUSR);
80093 ;
80094 return 0;
80095 }
80096 _ACEOF
80097 if ac_fn_cxx_try_link "$LINENO"; then :
80098 glibcxx_cv_fchmod=yes
80099 else
80100 glibcxx_cv_fchmod=no
80101 fi
80102 rm -f core conftest.err conftest.$ac_objext \
80103 conftest$ac_exeext conftest.$ac_ext
80104 fi
80105
80106 fi
80107
80108 if test $glibcxx_cv_fchmod = yes; then
80109
80110 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80111
80112 fi
80113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80114 $as_echo "$glibcxx_cv_fchmod" >&6; }
80115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80116 $as_echo_n "checking for fchmodat... " >&6; }
80117 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80118 $as_echo_n "(cached) " >&6
80119 else
80120 if test x$gcc_no_link = xyes; then
80121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80122 /* end confdefs.h. */
80123
80124 #include <fcntl.h>
80125 #include <sys/stat.h>
80126
80127 int
80128 main ()
80129 {
80130 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80131 ;
80132 return 0;
80133 }
80134 _ACEOF
80135 if ac_fn_cxx_try_compile "$LINENO"; then :
80136 glibcxx_cv_fchmodat=yes
80137 else
80138 glibcxx_cv_fchmodat=no
80139 fi
80140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80141 else
80142 if test x$gcc_no_link = xyes; then
80143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80144 fi
80145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80146 /* end confdefs.h. */
80147
80148 #include <fcntl.h>
80149 #include <sys/stat.h>
80150
80151 int
80152 main ()
80153 {
80154 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80155 ;
80156 return 0;
80157 }
80158 _ACEOF
80159 if ac_fn_cxx_try_link "$LINENO"; then :
80160 glibcxx_cv_fchmodat=yes
80161 else
80162 glibcxx_cv_fchmodat=no
80163 fi
80164 rm -f core conftest.err conftest.$ac_objext \
80165 conftest$ac_exeext conftest.$ac_ext
80166 fi
80167
80168 fi
80169
80170 if test $glibcxx_cv_fchmodat = yes; then
80171
80172 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80173
80174 fi
80175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80176 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80178 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80179 if test "${glibcxx_cv_sendfile+set}" = set; then :
80180 $as_echo_n "(cached) " >&6
80181 else
80182 case "${target_os}" in
80183 gnu* | linux* | solaris*)
80184 if test x$gcc_no_link = xyes; then
80185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80186 /* end confdefs.h. */
80187 #include <sys/sendfile.h>
80188 int
80189 main ()
80190 {
80191 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80192 ;
80193 return 0;
80194 }
80195 _ACEOF
80196 if ac_fn_cxx_try_compile "$LINENO"; then :
80197 glibcxx_cv_sendfile=yes
80198 else
80199 glibcxx_cv_sendfile=no
80200 fi
80201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80202 else
80203 if test x$gcc_no_link = xyes; then
80204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80205 fi
80206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80207 /* end confdefs.h. */
80208 #include <sys/sendfile.h>
80209 int
80210 main ()
80211 {
80212 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80213 ;
80214 return 0;
80215 }
80216 _ACEOF
80217 if ac_fn_cxx_try_link "$LINENO"; then :
80218 glibcxx_cv_sendfile=yes
80219 else
80220 glibcxx_cv_sendfile=no
80221 fi
80222 rm -f core conftest.err conftest.$ac_objext \
80223 conftest$ac_exeext conftest.$ac_ext
80224 fi
80225 ;;
80226 *)
80227 glibcxx_cv_sendfile=no
80228 ;;
80229 esac
80230
80231 fi
80232
80233 if test $glibcxx_cv_sendfile = yes; then
80234
80235 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80236
80237 fi
80238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80239 $as_echo "$glibcxx_cv_sendfile" >&6; }
80240 CXXFLAGS="$ac_save_CXXFLAGS"
80241 ac_ext=c
80242 ac_cpp='$CPP $CPPFLAGS'
80243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80246
80247
80248
80249 # Define documentation rules conditionally.
80250
80251 # See if makeinfo has been installed and is modern enough
80252 # that we can use it.
80253
80254 # Extract the first word of "makeinfo", so it can be a program name with args.
80255 set dummy makeinfo; ac_word=$2
80256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80257 $as_echo_n "checking for $ac_word... " >&6; }
80258 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80259 $as_echo_n "(cached) " >&6
80260 else
80261 if test -n "$MAKEINFO"; then
80262 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80263 else
80264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80265 for as_dir in $PATH
80266 do
80267 IFS=$as_save_IFS
80268 test -z "$as_dir" && as_dir=.
80269 for ac_exec_ext in '' $ac_executable_extensions; do
80270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80271 ac_cv_prog_MAKEINFO="makeinfo"
80272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80273 break 2
80274 fi
80275 done
80276 done
80277 IFS=$as_save_IFS
80278
80279 fi
80280 fi
80281 MAKEINFO=$ac_cv_prog_MAKEINFO
80282 if test -n "$MAKEINFO"; then
80283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80284 $as_echo "$MAKEINFO" >&6; }
80285 else
80286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80287 $as_echo "no" >&6; }
80288 fi
80289
80290
80291 if test -n "$MAKEINFO"; then
80292 # Found it, now check the version.
80293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80294 $as_echo_n "checking for modern makeinfo... " >&6; }
80295 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80296 $as_echo_n "(cached) " >&6
80297 else
80298 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80299 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80300
80301 case $ac_prog_version in
80302 '') gcc_cv_prog_makeinfo_modern=no;;
80303 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80304 *) gcc_cv_prog_makeinfo_modern=no;;
80305 esac
80306
80307 fi
80308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80309 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80310 else
80311 gcc_cv_prog_makeinfo_modern=no
80312 fi
80313 if test $gcc_cv_prog_makeinfo_modern = no; then
80314 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80315 fi
80316
80317 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80318 BUILD_INFO_TRUE=
80319 BUILD_INFO_FALSE='#'
80320 else
80321 BUILD_INFO_TRUE='#'
80322 BUILD_INFO_FALSE=
80323 fi
80324
80325
80326 # Check for doxygen
80327 # Extract the first word of "doxygen", so it can be a program name with args.
80328 set dummy doxygen; ac_word=$2
80329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80330 $as_echo_n "checking for $ac_word... " >&6; }
80331 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80332 $as_echo_n "(cached) " >&6
80333 else
80334 if test -n "$DOXYGEN"; then
80335 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80336 else
80337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80338 for as_dir in $PATH
80339 do
80340 IFS=$as_save_IFS
80341 test -z "$as_dir" && as_dir=.
80342 for ac_exec_ext in '' $ac_executable_extensions; do
80343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80344 ac_cv_prog_DOXYGEN="yes"
80345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80346 break 2
80347 fi
80348 done
80349 done
80350 IFS=$as_save_IFS
80351
80352 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80353 fi
80354 fi
80355 DOXYGEN=$ac_cv_prog_DOXYGEN
80356 if test -n "$DOXYGEN"; then
80357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80358 $as_echo "$DOXYGEN" >&6; }
80359 else
80360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80361 $as_echo "no" >&6; }
80362 fi
80363
80364
80365 # Extract the first word of "dot", so it can be a program name with args.
80366 set dummy dot; ac_word=$2
80367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80368 $as_echo_n "checking for $ac_word... " >&6; }
80369 if test "${ac_cv_prog_DOT+set}" = set; then :
80370 $as_echo_n "(cached) " >&6
80371 else
80372 if test -n "$DOT"; then
80373 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80374 else
80375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80376 for as_dir in $PATH
80377 do
80378 IFS=$as_save_IFS
80379 test -z "$as_dir" && as_dir=.
80380 for ac_exec_ext in '' $ac_executable_extensions; do
80381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80382 ac_cv_prog_DOT="yes"
80383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80384 break 2
80385 fi
80386 done
80387 done
80388 IFS=$as_save_IFS
80389
80390 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80391 fi
80392 fi
80393 DOT=$ac_cv_prog_DOT
80394 if test -n "$DOT"; then
80395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80396 $as_echo "$DOT" >&6; }
80397 else
80398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80399 $as_echo "no" >&6; }
80400 fi
80401
80402
80403
80404 # Check for docbook
80405 # Extract the first word of "xsltproc", so it can be a program name with args.
80406 set dummy xsltproc; ac_word=$2
80407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80408 $as_echo_n "checking for $ac_word... " >&6; }
80409 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80410 $as_echo_n "(cached) " >&6
80411 else
80412 if test -n "$XSLTPROC"; then
80413 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80414 else
80415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80416 for as_dir in $PATH
80417 do
80418 IFS=$as_save_IFS
80419 test -z "$as_dir" && as_dir=.
80420 for ac_exec_ext in '' $ac_executable_extensions; do
80421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80422 ac_cv_prog_XSLTPROC="yes"
80423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80424 break 2
80425 fi
80426 done
80427 done
80428 IFS=$as_save_IFS
80429
80430 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80431 fi
80432 fi
80433 XSLTPROC=$ac_cv_prog_XSLTPROC
80434 if test -n "$XSLTPROC"; then
80435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80436 $as_echo "$XSLTPROC" >&6; }
80437 else
80438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80439 $as_echo "no" >&6; }
80440 fi
80441
80442
80443 # Extract the first word of "xmllint", so it can be a program name with args.
80444 set dummy xmllint; ac_word=$2
80445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80446 $as_echo_n "checking for $ac_word... " >&6; }
80447 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80448 $as_echo_n "(cached) " >&6
80449 else
80450 if test -n "$XMLLINT"; then
80451 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80452 else
80453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80454 for as_dir in $PATH
80455 do
80456 IFS=$as_save_IFS
80457 test -z "$as_dir" && as_dir=.
80458 for ac_exec_ext in '' $ac_executable_extensions; do
80459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80460 ac_cv_prog_XMLLINT="yes"
80461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80462 break 2
80463 fi
80464 done
80465 done
80466 IFS=$as_save_IFS
80467
80468 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80469 fi
80470 fi
80471 XMLLINT=$ac_cv_prog_XMLLINT
80472 if test -n "$XMLLINT"; then
80473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80474 $as_echo "$XMLLINT" >&6; }
80475 else
80476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80477 $as_echo "no" >&6; }
80478 fi
80479
80480
80481
80482
80483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80484 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80485 glibcxx_stylesheets=no
80486 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
80487 glibcxx_stylesheets=yes
80488 fi
80489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80490 $as_echo "$glibcxx_stylesheets" >&6; }
80491
80492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80493 $as_echo_n "checking for local stylesheet directory... " >&6; }
80494 glibcxx_local_stylesheets=no
80495 if test x"$glibcxx_stylesheets" = x"yes"; then
80496 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80497 glibcxx_local_stylesheets=yes
80498 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80499 fi
80500 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80501 glibcxx_local_stylesheets=yes
80502 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80503 fi
80504 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80505 glibcxx_local_stylesheets=yes
80506 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80507 fi
80508 fi
80509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80510 $as_echo "$glibcxx_local_stylesheets" >&6; }
80511
80512 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80513
80514 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80515 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80516 else
80517 glibcxx_stylesheets=no
80518 fi
80519
80520 # Check for epub3 dependencies.
80521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80522 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80523 glibcxx_epub_stylesheets=no
80524 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80525 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80526 glibcxx_epub_stylesheets=yes
80527 fi
80528 fi
80529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80530 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80531 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80532 BUILD_EPUB_TRUE=
80533 BUILD_EPUB_FALSE='#'
80534 else
80535 BUILD_EPUB_TRUE='#'
80536 BUILD_EPUB_FALSE=
80537 fi
80538
80539
80540
80541
80542 # Check for xml/html dependencies.
80543 if test $ac_cv_prog_DOXYGEN = "yes" &&
80544 test $ac_cv_prog_DOT = "yes" &&
80545 test $ac_cv_prog_XSLTPROC = "yes" &&
80546 test $ac_cv_prog_XMLLINT = "yes" &&
80547 test $glibcxx_stylesheets = "yes"; then
80548 BUILD_XML_TRUE=
80549 BUILD_XML_FALSE='#'
80550 else
80551 BUILD_XML_TRUE='#'
80552 BUILD_XML_FALSE=
80553 fi
80554
80555
80556 if test $ac_cv_prog_DOXYGEN = "yes" &&
80557 test $ac_cv_prog_DOT = "yes" &&
80558 test $ac_cv_prog_XSLTPROC = "yes" &&
80559 test $ac_cv_prog_XMLLINT = "yes" &&
80560 test $glibcxx_stylesheets = "yes"; then
80561 BUILD_HTML_TRUE=
80562 BUILD_HTML_FALSE='#'
80563 else
80564 BUILD_HTML_TRUE='#'
80565 BUILD_HTML_FALSE=
80566 fi
80567
80568
80569 # Check for man dependencies.
80570 if test $ac_cv_prog_DOXYGEN = "yes" &&
80571 test $ac_cv_prog_DOT = "yes"; then
80572 BUILD_MAN_TRUE=
80573 BUILD_MAN_FALSE='#'
80574 else
80575 BUILD_MAN_TRUE='#'
80576 BUILD_MAN_FALSE=
80577 fi
80578
80579
80580 # Check for pdf dependencies.
80581 # Extract the first word of "dblatex", so it can be a program name with args.
80582 set dummy dblatex; ac_word=$2
80583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80584 $as_echo_n "checking for $ac_word... " >&6; }
80585 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80586 $as_echo_n "(cached) " >&6
80587 else
80588 if test -n "$DBLATEX"; then
80589 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80590 else
80591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80592 for as_dir in $PATH
80593 do
80594 IFS=$as_save_IFS
80595 test -z "$as_dir" && as_dir=.
80596 for ac_exec_ext in '' $ac_executable_extensions; do
80597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80598 ac_cv_prog_DBLATEX="yes"
80599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80600 break 2
80601 fi
80602 done
80603 done
80604 IFS=$as_save_IFS
80605
80606 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80607 fi
80608 fi
80609 DBLATEX=$ac_cv_prog_DBLATEX
80610 if test -n "$DBLATEX"; then
80611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80612 $as_echo "$DBLATEX" >&6; }
80613 else
80614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80615 $as_echo "no" >&6; }
80616 fi
80617
80618
80619 # Extract the first word of "pdflatex", so it can be a program name with args.
80620 set dummy pdflatex; ac_word=$2
80621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80622 $as_echo_n "checking for $ac_word... " >&6; }
80623 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80624 $as_echo_n "(cached) " >&6
80625 else
80626 if test -n "$PDFLATEX"; then
80627 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80628 else
80629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80630 for as_dir in $PATH
80631 do
80632 IFS=$as_save_IFS
80633 test -z "$as_dir" && as_dir=.
80634 for ac_exec_ext in '' $ac_executable_extensions; do
80635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80636 ac_cv_prog_PDFLATEX="yes"
80637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80638 break 2
80639 fi
80640 done
80641 done
80642 IFS=$as_save_IFS
80643
80644 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80645 fi
80646 fi
80647 PDFLATEX=$ac_cv_prog_PDFLATEX
80648 if test -n "$PDFLATEX"; then
80649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80650 $as_echo "$PDFLATEX" >&6; }
80651 else
80652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80653 $as_echo "no" >&6; }
80654 fi
80655
80656
80657 if test $ac_cv_prog_DBLATEX = "yes" &&
80658 test $ac_cv_prog_PDFLATEX = "yes"; then
80659 BUILD_PDF_TRUE=
80660 BUILD_PDF_FALSE='#'
80661 else
80662 BUILD_PDF_TRUE='#'
80663 BUILD_PDF_FALSE=
80664 fi
80665
80666
80667
80668 # Propagate the target-specific source directories through the build chain.
80669 ATOMICITY_SRCDIR=config/${atomicity_dir}
80670 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80671 ATOMIC_FLAGS=${atomic_flags}
80672 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80673 OS_INC_SRCDIR=config/${os_include_dir}
80674 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80675 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80676 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80677 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80678
80679
80680
80681
80682
80683
80684
80685
80686
80687
80688
80689 # Determine cross-compile flags and AM_CONDITIONALs.
80690 #AC_SUBST(GLIBCXX_IS_NATIVE)
80691 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80692 if test $is_hosted = yes; then
80693 GLIBCXX_HOSTED_TRUE=
80694 GLIBCXX_HOSTED_FALSE='#'
80695 else
80696 GLIBCXX_HOSTED_TRUE='#'
80697 GLIBCXX_HOSTED_FALSE=
80698 fi
80699
80700
80701 if test $enable_libstdcxx_pch = yes; then
80702 GLIBCXX_BUILD_PCH_TRUE=
80703 GLIBCXX_BUILD_PCH_FALSE='#'
80704 else
80705 GLIBCXX_BUILD_PCH_TRUE='#'
80706 GLIBCXX_BUILD_PCH_FALSE=
80707 fi
80708
80709
80710 if test $enable_cheaders = c; then
80711 GLIBCXX_C_HEADERS_C_TRUE=
80712 GLIBCXX_C_HEADERS_C_FALSE='#'
80713 else
80714 GLIBCXX_C_HEADERS_C_TRUE='#'
80715 GLIBCXX_C_HEADERS_C_FALSE=
80716 fi
80717
80718
80719 if test $enable_cheaders = c_std; then
80720 GLIBCXX_C_HEADERS_C_STD_TRUE=
80721 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80722 else
80723 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80724 GLIBCXX_C_HEADERS_C_STD_FALSE=
80725 fi
80726
80727
80728 if test $enable_cheaders = c_global; then
80729 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80730 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80731 else
80732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80733 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80734 fi
80735
80736
80737 if test $c_compatibility = yes; then
80738 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80739 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80740 else
80741 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80742 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80743 fi
80744
80745
80746 if test $enable_libstdcxx_debug = yes; then
80747 GLIBCXX_BUILD_DEBUG_TRUE=
80748 GLIBCXX_BUILD_DEBUG_FALSE='#'
80749 else
80750 GLIBCXX_BUILD_DEBUG_TRUE='#'
80751 GLIBCXX_BUILD_DEBUG_FALSE=
80752 fi
80753
80754
80755 if test $enable_extern_template = yes; then
80756 ENABLE_EXTERN_TEMPLATE_TRUE=
80757 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80758 else
80759 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80760 ENABLE_EXTERN_TEMPLATE_FALSE=
80761 fi
80762
80763
80764 if test $python_mod_dir != no; then
80765 ENABLE_PYTHONDIR_TRUE=
80766 ENABLE_PYTHONDIR_FALSE='#'
80767 else
80768 ENABLE_PYTHONDIR_TRUE='#'
80769 ENABLE_PYTHONDIR_FALSE=
80770 fi
80771
80772
80773 if test $enable_werror = yes; then
80774 ENABLE_WERROR_TRUE=
80775 ENABLE_WERROR_FALSE='#'
80776 else
80777 ENABLE_WERROR_TRUE='#'
80778 ENABLE_WERROR_FALSE=
80779 fi
80780
80781
80782 if test $enable_vtable_verify = yes; then
80783 ENABLE_VTABLE_VERIFY_TRUE=
80784 ENABLE_VTABLE_VERIFY_FALSE='#'
80785 else
80786 ENABLE_VTABLE_VERIFY_TRUE='#'
80787 ENABLE_VTABLE_VERIFY_FALSE=
80788 fi
80789
80790
80791 if test $enable_symvers != no; then
80792 ENABLE_SYMVERS_TRUE=
80793 ENABLE_SYMVERS_FALSE='#'
80794 else
80795 ENABLE_SYMVERS_TRUE='#'
80796 ENABLE_SYMVERS_FALSE=
80797 fi
80798
80799
80800 if test $enable_symvers = gnu; then
80801 ENABLE_SYMVERS_GNU_TRUE=
80802 ENABLE_SYMVERS_GNU_FALSE='#'
80803 else
80804 ENABLE_SYMVERS_GNU_TRUE='#'
80805 ENABLE_SYMVERS_GNU_FALSE=
80806 fi
80807
80808
80809 if test $enable_symvers = gnu-versioned-namespace; then
80810 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80811 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80812 else
80813 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80814 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80815 fi
80816
80817
80818 if test $enable_symvers = darwin; then
80819 ENABLE_SYMVERS_DARWIN_TRUE=
80820 ENABLE_SYMVERS_DARWIN_FALSE='#'
80821 else
80822 ENABLE_SYMVERS_DARWIN_TRUE='#'
80823 ENABLE_SYMVERS_DARWIN_FALSE=
80824 fi
80825
80826
80827 if test $enable_symvers = sun; then
80828 ENABLE_SYMVERS_SUN_TRUE=
80829 ENABLE_SYMVERS_SUN_FALSE='#'
80830 else
80831 ENABLE_SYMVERS_SUN_TRUE='#'
80832 ENABLE_SYMVERS_SUN_FALSE=
80833 fi
80834
80835
80836 if test $enable_libstdcxx_visibility = yes; then
80837 ENABLE_VISIBILITY_TRUE=
80838 ENABLE_VISIBILITY_FALSE='#'
80839 else
80840 ENABLE_VISIBILITY_TRUE='#'
80841 ENABLE_VISIBILITY_FALSE=
80842 fi
80843
80844
80845 if test $enable_libstdcxx_dual_abi = yes; then
80846 ENABLE_DUAL_ABI_TRUE=
80847 ENABLE_DUAL_ABI_FALSE='#'
80848 else
80849 ENABLE_DUAL_ABI_TRUE='#'
80850 ENABLE_DUAL_ABI_FALSE=
80851 fi
80852
80853
80854 if test $glibcxx_cxx11_abi = 1; then
80855 ENABLE_CXX11_ABI_TRUE=
80856 ENABLE_CXX11_ABI_FALSE='#'
80857 else
80858 ENABLE_CXX11_ABI_TRUE='#'
80859 ENABLE_CXX11_ABI_FALSE=
80860 fi
80861
80862
80863 if test $ac_ldbl_compat = yes; then
80864 GLIBCXX_LDBL_COMPAT_TRUE=
80865 GLIBCXX_LDBL_COMPAT_FALSE='#'
80866 else
80867 GLIBCXX_LDBL_COMPAT_TRUE='#'
80868 GLIBCXX_LDBL_COMPAT_FALSE=
80869 fi
80870
80871
80872 if test $enable_libstdcxx_filesystem_ts = yes; then
80873 ENABLE_FILESYSTEM_TS_TRUE=
80874 ENABLE_FILESYSTEM_TS_FALSE='#'
80875 else
80876 ENABLE_FILESYSTEM_TS_TRUE='#'
80877 ENABLE_FILESYSTEM_TS_FALSE=
80878 fi
80879
80880
80881
80882
80883 cat >confcache <<\_ACEOF
80884 # This file is a shell script that caches the results of configure
80885 # tests run on this system so they can be shared between configure
80886 # scripts and configure runs, see configure's option --config-cache.
80887 # It is not useful on other systems. If it contains results you don't
80888 # want to keep, you may remove or edit it.
80889 #
80890 # config.status only pays attention to the cache file if you give it
80891 # the --recheck option to rerun configure.
80892 #
80893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80895 # following values.
80896
80897 _ACEOF
80898
80899 # The following way of writing the cache mishandles newlines in values,
80900 # but we know of no workaround that is simple, portable, and efficient.
80901 # So, we kill variables containing newlines.
80902 # Ultrix sh set writes to stderr and can't be redirected directly,
80903 # and sets the high bit in the cache file unless we assign to the vars.
80904 (
80905 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80906 eval ac_val=\$$ac_var
80907 case $ac_val in #(
80908 *${as_nl}*)
80909 case $ac_var in #(
80910 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80912 esac
80913 case $ac_var in #(
80914 _ | IFS | as_nl) ;; #(
80915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80916 *) { eval $ac_var=; unset $ac_var;} ;;
80917 esac ;;
80918 esac
80919 done
80920
80921 (set) 2>&1 |
80922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80923 *${as_nl}ac_space=\ *)
80924 # `set' does not quote correctly, so add quotes: double-quote
80925 # substitution turns \\\\ into \\, and sed turns \\ into \.
80926 sed -n \
80927 "s/'/'\\\\''/g;
80928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80929 ;; #(
80930 *)
80931 # `set' quotes correctly as required by POSIX, so do not add quotes.
80932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80933 ;;
80934 esac |
80935 sort
80936 ) |
80937 sed '
80938 /^ac_cv_env_/b end
80939 t clear
80940 :clear
80941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80942 t end
80943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80944 :end' >>confcache
80945 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80946 if test -w "$cache_file"; then
80947 test "x$cache_file" != "x/dev/null" &&
80948 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80949 $as_echo "$as_me: updating cache $cache_file" >&6;}
80950 cat confcache >$cache_file
80951 else
80952 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80953 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80954 fi
80955 fi
80956 rm -f confcache
80957
80958 if test ${multilib} = yes; then
80959 multilib_arg="--enable-multilib"
80960 else
80961 multilib_arg=
80962 fi
80963
80964 # Export all the install information.
80965
80966 glibcxx_toolexecdir=no
80967 glibcxx_toolexeclibdir=no
80968 glibcxx_prefixdir=$prefix
80969
80970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80971 $as_echo_n "checking for gxx-include-dir... " >&6; }
80972
80973 # Check whether --with-gxx-include-dir was given.
80974 if test "${with_gxx_include_dir+set}" = set; then :
80975 withval=$with_gxx_include_dir; case "$withval" in
80976 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80977 no) gxx_include_dir=no ;;
80978 *) gxx_include_dir=$withval ;;
80979 esac
80980 else
80981 gxx_include_dir=no
80982 fi
80983
80984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80985 $as_echo "$gxx_include_dir" >&6; }
80986
80987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80988 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80989 # Check whether --enable-version-specific-runtime-libs was given.
80990 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80991 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80992 yes) version_specific_libs=yes ;;
80993 no) version_specific_libs=no ;;
80994 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80995 esac
80996 else
80997 version_specific_libs=no
80998 fi
80999
81000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81001 $as_echo "$version_specific_libs" >&6; }
81002
81003 # Default case for install directory for include files.
81004 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81005 gxx_include_dir='include/c++/${gcc_version}'
81006 if test -n "$with_cross_host" &&
81007 test x"$with_cross_host" != x"no"; then
81008 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81009 else
81010 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81011 fi
81012 fi
81013
81014 # Version-specific runtime libs processing.
81015 if test $version_specific_libs = yes; then
81016 # Need the gcc compiler version to know where to install libraries
81017 # and header files if --enable-version-specific-runtime-libs option
81018 # is selected. FIXME: these variables are misnamed, there are
81019 # no executables installed in _toolexecdir or _toolexeclibdir.
81020 if test x"$gxx_include_dir" = x"no"; then
81021 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81022 fi
81023 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81024 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81025 fi
81026
81027 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81028 # Install a library built with a cross compiler in tooldir, not libdir.
81029 if test x"$glibcxx_toolexecdir" = x"no"; then
81030 if test -n "$with_cross_host" &&
81031 test x"$with_cross_host" != x"no"; then
81032 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81033 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81034 else
81035 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81036 glibcxx_toolexeclibdir='${libdir}'
81037 fi
81038 multi_os_directory=`$CXX -print-multi-os-directory`
81039 case $multi_os_directory in
81040 .) ;; # Avoid trailing /.
81041 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81042 esac
81043 fi
81044
81045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81046 $as_echo_n "checking for install location... " >&6; }
81047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81048 $as_echo "$gxx_include_dir" >&6; }
81049
81050
81051
81052
81053
81054
81055
81056 # Export all the include and flag information to Makefiles.
81057
81058 # Used for every C++ compile we perform.
81059 GLIBCXX_INCLUDES="\
81060 -I$glibcxx_builddir/include/$host_alias \
81061 -I$glibcxx_builddir/include \
81062 -I$glibcxx_srcdir/libsupc++"
81063
81064 # For Canadian crosses, pick this up too.
81065 if test $CANADIAN = yes; then
81066 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81067 fi
81068
81069 # Stuff in the actual top level. Currently only used by libsupc++ to
81070 # get unwind* headers from the libgcc dir.
81071 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81072 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81073
81074 # Now, export this to all the little Makefiles....
81075
81076
81077
81078
81079 # Optimization flags that are probably a good idea for thrill-seekers. Just
81080 # uncomment the lines below and make, everything else is ready to go...
81081 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81082 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81083
81084
81085 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81086
81087
81088
81089 ac_config_files="$ac_config_files Makefile"
81090
81091 ac_config_files="$ac_config_files scripts/testsuite_flags"
81092
81093 ac_config_files="$ac_config_files scripts/extract_symvers"
81094
81095 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81096
81097
81098 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81099 # that multilib installs will end up installed in the correct place.
81100 # The testsuite needs it for multilib-aware ABI baseline files.
81101 # To work around this not being passed down from config-ml.in ->
81102 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81103 # append it here. Only modify Makefiles that have just been created.
81104 #
81105 # Also, get rid of this simulated-VPATH thing that automake does.
81106 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81107
81108
81109 ac_config_commands="$ac_config_commands generate-headers"
81110
81111
81112 cat >confcache <<\_ACEOF
81113 # This file is a shell script that caches the results of configure
81114 # tests run on this system so they can be shared between configure
81115 # scripts and configure runs, see configure's option --config-cache.
81116 # It is not useful on other systems. If it contains results you don't
81117 # want to keep, you may remove or edit it.
81118 #
81119 # config.status only pays attention to the cache file if you give it
81120 # the --recheck option to rerun configure.
81121 #
81122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81124 # following values.
81125
81126 _ACEOF
81127
81128 # The following way of writing the cache mishandles newlines in values,
81129 # but we know of no workaround that is simple, portable, and efficient.
81130 # So, we kill variables containing newlines.
81131 # Ultrix sh set writes to stderr and can't be redirected directly,
81132 # and sets the high bit in the cache file unless we assign to the vars.
81133 (
81134 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81135 eval ac_val=\$$ac_var
81136 case $ac_val in #(
81137 *${as_nl}*)
81138 case $ac_var in #(
81139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81141 esac
81142 case $ac_var in #(
81143 _ | IFS | as_nl) ;; #(
81144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81145 *) { eval $ac_var=; unset $ac_var;} ;;
81146 esac ;;
81147 esac
81148 done
81149
81150 (set) 2>&1 |
81151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81152 *${as_nl}ac_space=\ *)
81153 # `set' does not quote correctly, so add quotes: double-quote
81154 # substitution turns \\\\ into \\, and sed turns \\ into \.
81155 sed -n \
81156 "s/'/'\\\\''/g;
81157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81158 ;; #(
81159 *)
81160 # `set' quotes correctly as required by POSIX, so do not add quotes.
81161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81162 ;;
81163 esac |
81164 sort
81165 ) |
81166 sed '
81167 /^ac_cv_env_/b end
81168 t clear
81169 :clear
81170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81171 t end
81172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81173 :end' >>confcache
81174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81175 if test -w "$cache_file"; then
81176 test "x$cache_file" != "x/dev/null" &&
81177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81178 $as_echo "$as_me: updating cache $cache_file" >&6;}
81179 cat confcache >$cache_file
81180 else
81181 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81182 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81183 fi
81184 fi
81185 rm -f confcache
81186
81187 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81188 # Let make expand exec_prefix.
81189 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81190
81191 DEFS=-DHAVE_CONFIG_H
81192
81193 ac_libobjs=
81194 ac_ltlibobjs=
81195 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81196 # 1. Remove the extension, and $U if already installed.
81197 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81198 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81199 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81200 # will be set to the directory where LIBOBJS objects are built.
81201 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81202 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81203 done
81204 LIBOBJS=$ac_libobjs
81205
81206 LTLIBOBJS=$ac_ltlibobjs
81207
81208
81209 if test -n "$EXEEXT"; then
81210 am__EXEEXT_TRUE=
81211 am__EXEEXT_FALSE='#'
81212 else
81213 am__EXEEXT_TRUE='#'
81214 am__EXEEXT_FALSE=
81215 fi
81216
81217 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81218 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81220 fi
81221 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81222 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81224 fi
81225 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81226 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81228 fi
81229 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81230 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81232 fi
81233 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81234 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81236 fi
81237 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81238 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81240 fi
81241 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81242 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81244 fi
81245 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81246 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81248 fi
81249 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81250 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81252 fi
81253 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81254 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81256 fi
81257 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81258 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81260 fi
81261 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81262 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81264 fi
81265 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81266 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81268 fi
81269 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81270 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81272 fi
81273 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81274 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81276 fi
81277 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81278 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81280 fi
81281 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81282 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81284 fi
81285 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81286 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81288 fi
81289 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81290 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81292 fi
81293 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81294 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81296 fi
81297 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81298 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81300 fi
81301 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81302 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81304 fi
81305 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81306 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81308 fi
81309 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81310 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81312 fi
81313 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81314 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81316 fi
81317 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81318 as_fn_error "conditional \"BUILD_XML\" was never defined.
81319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81320 fi
81321 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81322 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81324 fi
81325 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81326 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81328 fi
81329 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81330 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81332 fi
81333
81334 : ${CONFIG_STATUS=./config.status}
81335 ac_write_fail=0
81336 ac_clean_files_save=$ac_clean_files
81337 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81339 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81340 as_write_fail=0
81341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81342 #! $SHELL
81343 # Generated by $as_me.
81344 # Run this file to recreate the current configuration.
81345 # Compiler output produced by configure, useful for debugging
81346 # configure, is in config.log if it exists.
81347
81348 debug=false
81349 ac_cs_recheck=false
81350 ac_cs_silent=false
81351
81352 SHELL=\${CONFIG_SHELL-$SHELL}
81353 export SHELL
81354 _ASEOF
81355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81356 ## -------------------- ##
81357 ## M4sh Initialization. ##
81358 ## -------------------- ##
81359
81360 # Be more Bourne compatible
81361 DUALCASE=1; export DUALCASE # for MKS sh
81362 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81363 emulate sh
81364 NULLCMD=:
81365 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81366 # is contrary to our usage. Disable this feature.
81367 alias -g '${1+"$@"}'='"$@"'
81368 setopt NO_GLOB_SUBST
81369 else
81370 case `(set -o) 2>/dev/null` in #(
81371 *posix*) :
81372 set -o posix ;; #(
81373 *) :
81374 ;;
81375 esac
81376 fi
81377
81378
81379 as_nl='
81380 '
81381 export as_nl
81382 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81383 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81384 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81386 # Prefer a ksh shell builtin over an external printf program on Solaris,
81387 # but without wasting forks for bash or zsh.
81388 if test -z "$BASH_VERSION$ZSH_VERSION" \
81389 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81390 as_echo='print -r --'
81391 as_echo_n='print -rn --'
81392 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81393 as_echo='printf %s\n'
81394 as_echo_n='printf %s'
81395 else
81396 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81397 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81398 as_echo_n='/usr/ucb/echo -n'
81399 else
81400 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81401 as_echo_n_body='eval
81402 arg=$1;
81403 case $arg in #(
81404 *"$as_nl"*)
81405 expr "X$arg" : "X\\(.*\\)$as_nl";
81406 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81407 esac;
81408 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81409 '
81410 export as_echo_n_body
81411 as_echo_n='sh -c $as_echo_n_body as_echo'
81412 fi
81413 export as_echo_body
81414 as_echo='sh -c $as_echo_body as_echo'
81415 fi
81416
81417 # The user is always right.
81418 if test "${PATH_SEPARATOR+set}" != set; then
81419 PATH_SEPARATOR=:
81420 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81421 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81422 PATH_SEPARATOR=';'
81423 }
81424 fi
81425
81426
81427 # IFS
81428 # We need space, tab and new line, in precisely that order. Quoting is
81429 # there to prevent editors from complaining about space-tab.
81430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81431 # splitting by setting IFS to empty value.)
81432 IFS=" "" $as_nl"
81433
81434 # Find who we are. Look in the path if we contain no directory separator.
81435 case $0 in #((
81436 *[\\/]* ) as_myself=$0 ;;
81437 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81438 for as_dir in $PATH
81439 do
81440 IFS=$as_save_IFS
81441 test -z "$as_dir" && as_dir=.
81442 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81443 done
81444 IFS=$as_save_IFS
81445
81446 ;;
81447 esac
81448 # We did not find ourselves, most probably we were run as `sh COMMAND'
81449 # in which case we are not to be found in the path.
81450 if test "x$as_myself" = x; then
81451 as_myself=$0
81452 fi
81453 if test ! -f "$as_myself"; then
81454 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81455 exit 1
81456 fi
81457
81458 # Unset variables that we do not need and which cause bugs (e.g. in
81459 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81460 # suppresses any "Segmentation fault" message there. '((' could
81461 # trigger a bug in pdksh 5.2.14.
81462 for as_var in BASH_ENV ENV MAIL MAILPATH
81463 do eval test x\${$as_var+set} = xset \
81464 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81465 done
81466 PS1='$ '
81467 PS2='> '
81468 PS4='+ '
81469
81470 # NLS nuisances.
81471 LC_ALL=C
81472 export LC_ALL
81473 LANGUAGE=C
81474 export LANGUAGE
81475
81476 # CDPATH.
81477 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81478
81479
81480 # as_fn_error ERROR [LINENO LOG_FD]
81481 # ---------------------------------
81482 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81483 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81484 # script with status $?, using 1 if that was 0.
81485 as_fn_error ()
81486 {
81487 as_status=$?; test $as_status -eq 0 && as_status=1
81488 if test "$3"; then
81489 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81490 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81491 fi
81492 $as_echo "$as_me: error: $1" >&2
81493 as_fn_exit $as_status
81494 } # as_fn_error
81495
81496
81497 # as_fn_set_status STATUS
81498 # -----------------------
81499 # Set $? to STATUS, without forking.
81500 as_fn_set_status ()
81501 {
81502 return $1
81503 } # as_fn_set_status
81504
81505 # as_fn_exit STATUS
81506 # -----------------
81507 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81508 as_fn_exit ()
81509 {
81510 set +e
81511 as_fn_set_status $1
81512 exit $1
81513 } # as_fn_exit
81514
81515 # as_fn_unset VAR
81516 # ---------------
81517 # Portably unset VAR.
81518 as_fn_unset ()
81519 {
81520 { eval $1=; unset $1;}
81521 }
81522 as_unset=as_fn_unset
81523 # as_fn_append VAR VALUE
81524 # ----------------------
81525 # Append the text in VALUE to the end of the definition contained in VAR. Take
81526 # advantage of any shell optimizations that allow amortized linear growth over
81527 # repeated appends, instead of the typical quadratic growth present in naive
81528 # implementations.
81529 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81530 eval 'as_fn_append ()
81531 {
81532 eval $1+=\$2
81533 }'
81534 else
81535 as_fn_append ()
81536 {
81537 eval $1=\$$1\$2
81538 }
81539 fi # as_fn_append
81540
81541 # as_fn_arith ARG...
81542 # ------------------
81543 # Perform arithmetic evaluation on the ARGs, and store the result in the
81544 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81545 # must be portable across $(()) and expr.
81546 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81547 eval 'as_fn_arith ()
81548 {
81549 as_val=$(( $* ))
81550 }'
81551 else
81552 as_fn_arith ()
81553 {
81554 as_val=`expr "$@" || test $? -eq 1`
81555 }
81556 fi # as_fn_arith
81557
81558
81559 if expr a : '\(a\)' >/dev/null 2>&1 &&
81560 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81561 as_expr=expr
81562 else
81563 as_expr=false
81564 fi
81565
81566 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81567 as_basename=basename
81568 else
81569 as_basename=false
81570 fi
81571
81572 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81573 as_dirname=dirname
81574 else
81575 as_dirname=false
81576 fi
81577
81578 as_me=`$as_basename -- "$0" ||
81579 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81580 X"$0" : 'X\(//\)$' \| \
81581 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81582 $as_echo X/"$0" |
81583 sed '/^.*\/\([^/][^/]*\)\/*$/{
81584 s//\1/
81585 q
81586 }
81587 /^X\/\(\/\/\)$/{
81588 s//\1/
81589 q
81590 }
81591 /^X\/\(\/\).*/{
81592 s//\1/
81593 q
81594 }
81595 s/.*/./; q'`
81596
81597 # Avoid depending upon Character Ranges.
81598 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81599 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81600 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81601 as_cr_digits='0123456789'
81602 as_cr_alnum=$as_cr_Letters$as_cr_digits
81603
81604 ECHO_C= ECHO_N= ECHO_T=
81605 case `echo -n x` in #(((((
81606 -n*)
81607 case `echo 'xy\c'` in
81608 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81609 xy) ECHO_C='\c';;
81610 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81611 ECHO_T=' ';;
81612 esac;;
81613 *)
81614 ECHO_N='-n';;
81615 esac
81616
81617 rm -f conf$$ conf$$.exe conf$$.file
81618 if test -d conf$$.dir; then
81619 rm -f conf$$.dir/conf$$.file
81620 else
81621 rm -f conf$$.dir
81622 mkdir conf$$.dir 2>/dev/null
81623 fi
81624 if (echo >conf$$.file) 2>/dev/null; then
81625 if ln -s conf$$.file conf$$ 2>/dev/null; then
81626 as_ln_s='ln -s'
81627 # ... but there are two gotchas:
81628 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81629 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81630 # In both cases, we have to default to `cp -p'.
81631 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81632 as_ln_s='cp -p'
81633 elif ln conf$$.file conf$$ 2>/dev/null; then
81634 as_ln_s=ln
81635 else
81636 as_ln_s='cp -p'
81637 fi
81638 else
81639 as_ln_s='cp -p'
81640 fi
81641 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81642 rmdir conf$$.dir 2>/dev/null
81643
81644
81645 # as_fn_mkdir_p
81646 # -------------
81647 # Create "$as_dir" as a directory, including parents if necessary.
81648 as_fn_mkdir_p ()
81649 {
81650
81651 case $as_dir in #(
81652 -*) as_dir=./$as_dir;;
81653 esac
81654 test -d "$as_dir" || eval $as_mkdir_p || {
81655 as_dirs=
81656 while :; do
81657 case $as_dir in #(
81658 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81659 *) as_qdir=$as_dir;;
81660 esac
81661 as_dirs="'$as_qdir' $as_dirs"
81662 as_dir=`$as_dirname -- "$as_dir" ||
81663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81664 X"$as_dir" : 'X\(//\)[^/]' \| \
81665 X"$as_dir" : 'X\(//\)$' \| \
81666 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81667 $as_echo X"$as_dir" |
81668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81669 s//\1/
81670 q
81671 }
81672 /^X\(\/\/\)[^/].*/{
81673 s//\1/
81674 q
81675 }
81676 /^X\(\/\/\)$/{
81677 s//\1/
81678 q
81679 }
81680 /^X\(\/\).*/{
81681 s//\1/
81682 q
81683 }
81684 s/.*/./; q'`
81685 test -d "$as_dir" && break
81686 done
81687 test -z "$as_dirs" || eval "mkdir $as_dirs"
81688 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81689
81690
81691 } # as_fn_mkdir_p
81692 if mkdir -p . 2>/dev/null; then
81693 as_mkdir_p='mkdir -p "$as_dir"'
81694 else
81695 test -d ./-p && rmdir ./-p
81696 as_mkdir_p=false
81697 fi
81698
81699 if test -x / >/dev/null 2>&1; then
81700 as_test_x='test -x'
81701 else
81702 if ls -dL / >/dev/null 2>&1; then
81703 as_ls_L_option=L
81704 else
81705 as_ls_L_option=
81706 fi
81707 as_test_x='
81708 eval sh -c '\''
81709 if test -d "$1"; then
81710 test -d "$1/.";
81711 else
81712 case $1 in #(
81713 -*)set "./$1";;
81714 esac;
81715 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81716 ???[sx]*):;;*)false;;esac;fi
81717 '\'' sh
81718 '
81719 fi
81720 as_executable_p=$as_test_x
81721
81722 # Sed expression to map a string onto a valid CPP name.
81723 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81724
81725 # Sed expression to map a string onto a valid variable name.
81726 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81727
81728
81729 exec 6>&1
81730 ## ----------------------------------- ##
81731 ## Main body of $CONFIG_STATUS script. ##
81732 ## ----------------------------------- ##
81733 _ASEOF
81734 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81735
81736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81737 # Save the log message, to keep $0 and so on meaningful, and to
81738 # report actual input values of CONFIG_FILES etc. instead of their
81739 # values after options handling.
81740 ac_log="
81741 This file was extended by package-unused $as_me version-unused, which was
81742 generated by GNU Autoconf 2.64. Invocation command line was
81743
81744 CONFIG_FILES = $CONFIG_FILES
81745 CONFIG_HEADERS = $CONFIG_HEADERS
81746 CONFIG_LINKS = $CONFIG_LINKS
81747 CONFIG_COMMANDS = $CONFIG_COMMANDS
81748 $ $0 $@
81749
81750 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81751 "
81752
81753 _ACEOF
81754
81755 case $ac_config_files in *"
81756 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81757 esac
81758
81759 case $ac_config_headers in *"
81760 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81761 esac
81762
81763
81764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81765 # Files that config.status was made for.
81766 config_files="$ac_config_files"
81767 config_headers="$ac_config_headers"
81768 config_commands="$ac_config_commands"
81769
81770 _ACEOF
81771
81772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81773 ac_cs_usage="\
81774 \`$as_me' instantiates files and other configuration actions
81775 from templates according to the current configuration. Unless the files
81776 and actions are specified as TAGs, all are instantiated by default.
81777
81778 Usage: $0 [OPTION]... [TAG]...
81779
81780 -h, --help print this help, then exit
81781 -V, --version print version number and configuration settings, then exit
81782 -q, --quiet, --silent
81783 do not print progress messages
81784 -d, --debug don't remove temporary files
81785 --recheck update $as_me by reconfiguring in the same conditions
81786 --file=FILE[:TEMPLATE]
81787 instantiate the configuration file FILE
81788 --header=FILE[:TEMPLATE]
81789 instantiate the configuration header FILE
81790
81791 Configuration files:
81792 $config_files
81793
81794 Configuration headers:
81795 $config_headers
81796
81797 Configuration commands:
81798 $config_commands
81799
81800 Report bugs to the package provider."
81801
81802 _ACEOF
81803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81804 ac_cs_version="\\
81805 package-unused config.status version-unused
81806 configured by $0, generated by GNU Autoconf 2.64,
81807 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81808
81809 Copyright (C) 2009 Free Software Foundation, Inc.
81810 This config.status script is free software; the Free Software Foundation
81811 gives unlimited permission to copy, distribute and modify it."
81812
81813 ac_pwd='$ac_pwd'
81814 srcdir='$srcdir'
81815 INSTALL='$INSTALL'
81816 MKDIR_P='$MKDIR_P'
81817 AWK='$AWK'
81818 test -n "\$AWK" || AWK=awk
81819 _ACEOF
81820
81821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81822 # The default lists apply if the user does not specify any file.
81823 ac_need_defaults=:
81824 while test $# != 0
81825 do
81826 case $1 in
81827 --*=*)
81828 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81829 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81830 ac_shift=:
81831 ;;
81832 *)
81833 ac_option=$1
81834 ac_optarg=$2
81835 ac_shift=shift
81836 ;;
81837 esac
81838
81839 case $ac_option in
81840 # Handling of the options.
81841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81842 ac_cs_recheck=: ;;
81843 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81844 $as_echo "$ac_cs_version"; exit ;;
81845 --debug | --debu | --deb | --de | --d | -d )
81846 debug=: ;;
81847 --file | --fil | --fi | --f )
81848 $ac_shift
81849 case $ac_optarg in
81850 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81851 esac
81852 as_fn_append CONFIG_FILES " '$ac_optarg'"
81853 ac_need_defaults=false;;
81854 --header | --heade | --head | --hea )
81855 $ac_shift
81856 case $ac_optarg in
81857 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81858 esac
81859 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81860 ac_need_defaults=false;;
81861 --he | --h)
81862 # Conflict between --help and --header
81863 as_fn_error "ambiguous option: \`$1'
81864 Try \`$0 --help' for more information.";;
81865 --help | --hel | -h )
81866 $as_echo "$ac_cs_usage"; exit ;;
81867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81868 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81869 ac_cs_silent=: ;;
81870
81871 # This is an error.
81872 -*) as_fn_error "unrecognized option: \`$1'
81873 Try \`$0 --help' for more information." ;;
81874
81875 *) as_fn_append ac_config_targets " $1"
81876 ac_need_defaults=false ;;
81877
81878 esac
81879 shift
81880 done
81881
81882 ac_configure_extra_args=
81883
81884 if $ac_cs_silent; then
81885 exec 6>/dev/null
81886 ac_configure_extra_args="$ac_configure_extra_args --silent"
81887 fi
81888
81889 _ACEOF
81890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81891 if \$ac_cs_recheck; then
81892 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81893 shift
81894 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81895 CONFIG_SHELL='$SHELL'
81896 export CONFIG_SHELL
81897 exec "\$@"
81898 fi
81899
81900 _ACEOF
81901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81902 exec 5>>config.log
81903 {
81904 echo
81905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81906 ## Running $as_me. ##
81907 _ASBOX
81908 $as_echo "$ac_log"
81909 } >&5
81910
81911 _ACEOF
81912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81913 #
81914 # INIT-COMMANDS
81915 #
81916
81917 srcdir="$srcdir"
81918 host="$host"
81919 target="$target"
81920 with_multisubdir="$with_multisubdir"
81921 with_multisrctop="$with_multisrctop"
81922 with_target_subdir="$with_target_subdir"
81923 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81924 multi_basedir="$multi_basedir"
81925 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81926 CC="$CC"
81927 CXX="$CXX"
81928 GFORTRAN="$GFORTRAN"
81929 GCJ="$GCJ"
81930
81931
81932 # The HP-UX ksh and POSIX shell print the target directory to stdout
81933 # if CDPATH is set.
81934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81935
81936 sed_quote_subst='$sed_quote_subst'
81937 double_quote_subst='$double_quote_subst'
81938 delay_variable_subst='$delay_variable_subst'
81939 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81940 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81941 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81942 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81943 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81944 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81945 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81946 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81947 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81948 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81949 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81950 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81951 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81952 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81953 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81954 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81955 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81956 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81957 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81958 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81959 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81960 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81961 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81962 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81963 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81964 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81965 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81966 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81967 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81968 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81969 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81970 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81971 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81972 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81973 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81974 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81975 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81976 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81977 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81978 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81979 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81980 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81981 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81982 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81983 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81984 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81985 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81986 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81987 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"`'
81988 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81989 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81990 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81991 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81992 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81993 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81994 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81995 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81996 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81997 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81998 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81999 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82000 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82001 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82002 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82003 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82004 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82005 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82006 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82007 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82008 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82009 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82010 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82011 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82012 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82013 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82014 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82015 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82016 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82017 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82018 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82019 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82020 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82021 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82022 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82023 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82024 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82025 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82026 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82027 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82028 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82029 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82030 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82031 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82032 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82033 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82034 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82035 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82036 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82037 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82038 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82039 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82040 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82041 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82042 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82043 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82044 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82045 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82046 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82047 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82048 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82049 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82050 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82051 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82052 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82053 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82054 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82055 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82056 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82057 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82058 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82059 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82060 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82061 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82062 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82063 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82064 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82065 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82066 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82067 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82068 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82069 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82070 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82071 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82072 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82073 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82074 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82075 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82076 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82077 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82078 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82079 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82080 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82081 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82082 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82083 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82084 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82085 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82086 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82087 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82088 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82089 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82090 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82091 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82092 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82093 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82094 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82095 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82096 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82097 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82098 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82099 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82100 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82101 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82102 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82103 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82104 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82105 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82106 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82107 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82108 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82109 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82110 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82111 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82112 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82113 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82114
82115 LTCC='$LTCC'
82116 LTCFLAGS='$LTCFLAGS'
82117 compiler='$compiler_DEFAULT'
82118
82119 # A function that is used when there is no print builtin or printf.
82120 func_fallback_echo ()
82121 {
82122 eval 'cat <<_LTECHO_EOF
82123 \$1
82124 _LTECHO_EOF'
82125 }
82126
82127 # Quote evaled strings.
82128 for var in SHELL \
82129 ECHO \
82130 SED \
82131 GREP \
82132 EGREP \
82133 FGREP \
82134 LD \
82135 NM \
82136 LN_S \
82137 lt_SP2NL \
82138 lt_NL2SP \
82139 reload_flag \
82140 OBJDUMP \
82141 deplibs_check_method \
82142 file_magic_cmd \
82143 AR \
82144 AR_FLAGS \
82145 STRIP \
82146 RANLIB \
82147 CC \
82148 CFLAGS \
82149 compiler \
82150 lt_cv_sys_global_symbol_pipe \
82151 lt_cv_sys_global_symbol_to_cdecl \
82152 lt_cv_sys_global_symbol_to_c_name_address \
82153 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82154 lt_prog_compiler_no_builtin_flag \
82155 lt_prog_compiler_wl \
82156 lt_prog_compiler_pic \
82157 lt_prog_compiler_static \
82158 lt_cv_prog_compiler_c_o \
82159 need_locks \
82160 DSYMUTIL \
82161 NMEDIT \
82162 LIPO \
82163 OTOOL \
82164 OTOOL64 \
82165 shrext_cmds \
82166 export_dynamic_flag_spec \
82167 whole_archive_flag_spec \
82168 compiler_needs_object \
82169 with_gnu_ld \
82170 allow_undefined_flag \
82171 no_undefined_flag \
82172 hardcode_libdir_flag_spec \
82173 hardcode_libdir_flag_spec_ld \
82174 hardcode_libdir_separator \
82175 fix_srcfile_path \
82176 exclude_expsyms \
82177 include_expsyms \
82178 file_list_spec \
82179 variables_saved_for_relink \
82180 libname_spec \
82181 library_names_spec \
82182 soname_spec \
82183 install_override_mode \
82184 finish_eval \
82185 old_striplib \
82186 striplib \
82187 compiler_lib_search_dirs \
82188 predep_objects \
82189 postdep_objects \
82190 predeps \
82191 postdeps \
82192 compiler_lib_search_path \
82193 LD_CXX \
82194 reload_flag_CXX \
82195 compiler_CXX \
82196 lt_prog_compiler_no_builtin_flag_CXX \
82197 lt_prog_compiler_wl_CXX \
82198 lt_prog_compiler_pic_CXX \
82199 lt_prog_compiler_static_CXX \
82200 lt_cv_prog_compiler_c_o_CXX \
82201 export_dynamic_flag_spec_CXX \
82202 whole_archive_flag_spec_CXX \
82203 compiler_needs_object_CXX \
82204 with_gnu_ld_CXX \
82205 allow_undefined_flag_CXX \
82206 no_undefined_flag_CXX \
82207 hardcode_libdir_flag_spec_CXX \
82208 hardcode_libdir_flag_spec_ld_CXX \
82209 hardcode_libdir_separator_CXX \
82210 fix_srcfile_path_CXX \
82211 exclude_expsyms_CXX \
82212 include_expsyms_CXX \
82213 file_list_spec_CXX \
82214 compiler_lib_search_dirs_CXX \
82215 predep_objects_CXX \
82216 postdep_objects_CXX \
82217 predeps_CXX \
82218 postdeps_CXX \
82219 compiler_lib_search_path_CXX; do
82220 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82221 *[\\\\\\\`\\"\\\$]*)
82222 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82223 ;;
82224 *)
82225 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82226 ;;
82227 esac
82228 done
82229
82230 # Double-quote double-evaled strings.
82231 for var in reload_cmds \
82232 old_postinstall_cmds \
82233 old_postuninstall_cmds \
82234 old_archive_cmds \
82235 extract_expsyms_cmds \
82236 old_archive_from_new_cmds \
82237 old_archive_from_expsyms_cmds \
82238 archive_cmds \
82239 archive_expsym_cmds \
82240 module_cmds \
82241 module_expsym_cmds \
82242 export_symbols_cmds \
82243 prelink_cmds \
82244 postinstall_cmds \
82245 postuninstall_cmds \
82246 finish_cmds \
82247 sys_lib_search_path_spec \
82248 sys_lib_dlsearch_path_spec \
82249 reload_cmds_CXX \
82250 old_archive_cmds_CXX \
82251 old_archive_from_new_cmds_CXX \
82252 old_archive_from_expsyms_cmds_CXX \
82253 archive_cmds_CXX \
82254 archive_expsym_cmds_CXX \
82255 module_cmds_CXX \
82256 module_expsym_cmds_CXX \
82257 export_symbols_cmds_CXX \
82258 prelink_cmds_CXX; do
82259 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82260 *[\\\\\\\`\\"\\\$]*)
82261 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82262 ;;
82263 *)
82264 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82265 ;;
82266 esac
82267 done
82268
82269 ac_aux_dir='$ac_aux_dir'
82270 xsi_shell='$xsi_shell'
82271 lt_shell_append='$lt_shell_append'
82272
82273 # See if we are running on zsh, and set the options which allow our
82274 # commands through without removal of \ escapes INIT.
82275 if test -n "\${ZSH_VERSION+set}" ; then
82276 setopt NO_GLOB_SUBST
82277 fi
82278
82279
82280 PACKAGE='$PACKAGE'
82281 VERSION='$VERSION'
82282 TIMESTAMP='$TIMESTAMP'
82283 RM='$RM'
82284 ofile='$ofile'
82285
82286
82287
82288
82289
82290
82291 GCC="$GCC"
82292 CC="$CC"
82293 acx_cv_header_stdint="$acx_cv_header_stdint"
82294 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82295 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82296 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82297 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82298 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82299 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82300 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82301 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82302 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82303 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82304 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82305 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82306 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82307
82308
82309 _ACEOF
82310
82311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82312
82313 # Handling of arguments.
82314 for ac_config_target in $ac_config_targets
82315 do
82316 case $ac_config_target in
82317 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82318 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82319 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82320 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82321 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82322 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82323 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82324 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82325 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82326 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82327 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82328 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82329 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82330 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82331 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82332 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82333 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82334 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82335 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82336
82337 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82338 esac
82339 done
82340
82341
82342 # If the user did not use the arguments to specify the items to instantiate,
82343 # then the envvar interface is used. Set only those that are not.
82344 # We use the long form for the default assignment because of an extremely
82345 # bizarre bug on SunOS 4.1.3.
82346 if $ac_need_defaults; then
82347 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82348 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82349 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82350 fi
82351
82352 # Have a temporary directory for convenience. Make it in the build tree
82353 # simply because there is no reason against having it here, and in addition,
82354 # creating and moving files from /tmp can sometimes cause problems.
82355 # Hook for its removal unless debugging.
82356 # Note that there is a small window in which the directory will not be cleaned:
82357 # after its creation but before its name has been assigned to `$tmp'.
82358 $debug ||
82359 {
82360 tmp=
82361 trap 'exit_status=$?
82362 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82363 ' 0
82364 trap 'as_fn_exit 1' 1 2 13 15
82365 }
82366 # Create a (secure) tmp directory for tmp files.
82367
82368 {
82369 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82370 test -n "$tmp" && test -d "$tmp"
82371 } ||
82372 {
82373 tmp=./conf$$-$RANDOM
82374 (umask 077 && mkdir "$tmp")
82375 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82376
82377 # Set up the scripts for CONFIG_FILES section.
82378 # No need to generate them if there are no CONFIG_FILES.
82379 # This happens for instance with `./config.status config.h'.
82380 if test -n "$CONFIG_FILES"; then
82381
82382
82383 ac_cr=`echo X | tr X '\015'`
82384 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82385 # But we know of no other shell where ac_cr would be empty at this
82386 # point, so we can use a bashism as a fallback.
82387 if test "x$ac_cr" = x; then
82388 eval ac_cr=\$\'\\r\'
82389 fi
82390 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82391 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82392 ac_cs_awk_cr='\r'
82393 else
82394 ac_cs_awk_cr=$ac_cr
82395 fi
82396
82397 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82398 _ACEOF
82399
82400
82401 {
82402 echo "cat >conf$$subs.awk <<_ACEOF" &&
82403 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82404 echo "_ACEOF"
82405 } >conf$$subs.sh ||
82406 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82407 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82408 ac_delim='%!_!# '
82409 for ac_last_try in false false false false false :; do
82410 . ./conf$$subs.sh ||
82411 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82412
82413 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82414 if test $ac_delim_n = $ac_delim_num; then
82415 break
82416 elif $ac_last_try; then
82417 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82418 else
82419 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82420 fi
82421 done
82422 rm -f conf$$subs.sh
82423
82424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82425 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82426 _ACEOF
82427 sed -n '
82428 h
82429 s/^/S["/; s/!.*/"]=/
82430 p
82431 g
82432 s/^[^!]*!//
82433 :repl
82434 t repl
82435 s/'"$ac_delim"'$//
82436 t delim
82437 :nl
82438 h
82439 s/\(.\{148\}\).*/\1/
82440 t more1
82441 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82442 p
82443 n
82444 b repl
82445 :more1
82446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82447 p
82448 g
82449 s/.\{148\}//
82450 t nl
82451 :delim
82452 h
82453 s/\(.\{148\}\).*/\1/
82454 t more2
82455 s/["\\]/\\&/g; s/^/"/; s/$/"/
82456 p
82457 b
82458 :more2
82459 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82460 p
82461 g
82462 s/.\{148\}//
82463 t delim
82464 ' <conf$$subs.awk | sed '
82465 /^[^""]/{
82466 N
82467 s/\n//
82468 }
82469 ' >>$CONFIG_STATUS || ac_write_fail=1
82470 rm -f conf$$subs.awk
82471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82472 _ACAWK
82473 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82474 for (key in S) S_is_set[key] = 1
82475 FS = "\a"
82476
82477 }
82478 {
82479 line = $ 0
82480 nfields = split(line, field, "@")
82481 substed = 0
82482 len = length(field[1])
82483 for (i = 2; i < nfields; i++) {
82484 key = field[i]
82485 keylen = length(key)
82486 if (S_is_set[key]) {
82487 value = S[key]
82488 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82489 len += length(value) + length(field[++i])
82490 substed = 1
82491 } else
82492 len += 1 + keylen
82493 }
82494
82495 print line
82496 }
82497
82498 _ACAWK
82499 _ACEOF
82500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82501 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82502 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82503 else
82504 cat
82505 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82506 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82507 _ACEOF
82508
82509 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82510 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82511 # trailing colons and then remove the whole line if VPATH becomes empty
82512 # (actually we leave an empty line to preserve line numbers).
82513 if test "x$srcdir" = x.; then
82514 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82515 s/:*\$(srcdir):*/:/
82516 s/:*\${srcdir}:*/:/
82517 s/:*@srcdir@:*/:/
82518 s/^\([^=]*=[ ]*\):*/\1/
82519 s/:*$//
82520 s/^[^=]*=[ ]*$//
82521 }'
82522 fi
82523
82524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82525 fi # test -n "$CONFIG_FILES"
82526
82527 # Set up the scripts for CONFIG_HEADERS section.
82528 # No need to generate them if there are no CONFIG_HEADERS.
82529 # This happens for instance with `./config.status Makefile'.
82530 if test -n "$CONFIG_HEADERS"; then
82531 cat >"$tmp/defines.awk" <<\_ACAWK ||
82532 BEGIN {
82533 _ACEOF
82534
82535 # Transform confdefs.h into an awk script `defines.awk', embedded as
82536 # here-document in config.status, that substitutes the proper values into
82537 # config.h.in to produce config.h.
82538
82539 # Create a delimiter string that does not exist in confdefs.h, to ease
82540 # handling of long lines.
82541 ac_delim='%!_!# '
82542 for ac_last_try in false false :; do
82543 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82544 if test -z "$ac_t"; then
82545 break
82546 elif $ac_last_try; then
82547 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82548 else
82549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82550 fi
82551 done
82552
82553 # For the awk script, D is an array of macro values keyed by name,
82554 # likewise P contains macro parameters if any. Preserve backslash
82555 # newline sequences.
82556
82557 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82558 sed -n '
82559 s/.\{148\}/&'"$ac_delim"'/g
82560 t rset
82561 :rset
82562 s/^[ ]*#[ ]*define[ ][ ]*/ /
82563 t def
82564 d
82565 :def
82566 s/\\$//
82567 t bsnl
82568 s/["\\]/\\&/g
82569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82570 D["\1"]=" \3"/p
82571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82572 d
82573 :bsnl
82574 s/["\\]/\\&/g
82575 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82576 D["\1"]=" \3\\\\\\n"\\/p
82577 t cont
82578 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82579 t cont
82580 d
82581 :cont
82582 n
82583 s/.\{148\}/&'"$ac_delim"'/g
82584 t clear
82585 :clear
82586 s/\\$//
82587 t bsnlc
82588 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82589 d
82590 :bsnlc
82591 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82592 b cont
82593 ' <confdefs.h | sed '
82594 s/'"$ac_delim"'/"\\\
82595 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82596
82597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82598 for (key in D) D_is_set[key] = 1
82599 FS = "\a"
82600 }
82601 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82602 line = \$ 0
82603 split(line, arg, " ")
82604 if (arg[1] == "#") {
82605 defundef = arg[2]
82606 mac1 = arg[3]
82607 } else {
82608 defundef = substr(arg[1], 2)
82609 mac1 = arg[2]
82610 }
82611 split(mac1, mac2, "(") #)
82612 macro = mac2[1]
82613 prefix = substr(line, 1, index(line, defundef) - 1)
82614 if (D_is_set[macro]) {
82615 # Preserve the white space surrounding the "#".
82616 print prefix "define", macro P[macro] D[macro]
82617 next
82618 } else {
82619 # Replace #undef with comments. This is necessary, for example,
82620 # in the case of _POSIX_SOURCE, which is predefined and required
82621 # on some systems where configure will not decide to define it.
82622 if (defundef == "undef") {
82623 print "/*", prefix defundef, macro, "*/"
82624 next
82625 }
82626 }
82627 }
82628 { print }
82629 _ACAWK
82630 _ACEOF
82631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82632 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82633 fi # test -n "$CONFIG_HEADERS"
82634
82635
82636 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82637 shift
82638 for ac_tag
82639 do
82640 case $ac_tag in
82641 :[FHLC]) ac_mode=$ac_tag; continue;;
82642 esac
82643 case $ac_mode$ac_tag in
82644 :[FHL]*:*);;
82645 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82646 :[FH]-) ac_tag=-:-;;
82647 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82648 esac
82649 ac_save_IFS=$IFS
82650 IFS=:
82651 set x $ac_tag
82652 IFS=$ac_save_IFS
82653 shift
82654 ac_file=$1
82655 shift
82656
82657 case $ac_mode in
82658 :L) ac_source=$1;;
82659 :[FH])
82660 ac_file_inputs=
82661 for ac_f
82662 do
82663 case $ac_f in
82664 -) ac_f="$tmp/stdin";;
82665 *) # Look for the file first in the build tree, then in the source tree
82666 # (if the path is not absolute). The absolute path cannot be DOS-style,
82667 # because $ac_f cannot contain `:'.
82668 test -f "$ac_f" ||
82669 case $ac_f in
82670 [\\/$]*) false;;
82671 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82672 esac ||
82673 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82674 esac
82675 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82676 as_fn_append ac_file_inputs " '$ac_f'"
82677 done
82678
82679 # Let's still pretend it is `configure' which instantiates (i.e., don't
82680 # use $as_me), people would be surprised to read:
82681 # /* config.h. Generated by config.status. */
82682 configure_input='Generated from '`
82683 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82684 `' by configure.'
82685 if test x"$ac_file" != x-; then
82686 configure_input="$ac_file. $configure_input"
82687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82688 $as_echo "$as_me: creating $ac_file" >&6;}
82689 fi
82690 # Neutralize special characters interpreted by sed in replacement strings.
82691 case $configure_input in #(
82692 *\&* | *\|* | *\\* )
82693 ac_sed_conf_input=`$as_echo "$configure_input" |
82694 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82695 *) ac_sed_conf_input=$configure_input;;
82696 esac
82697
82698 case $ac_tag in
82699 *:-:* | *:-) cat >"$tmp/stdin" \
82700 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82701 esac
82702 ;;
82703 esac
82704
82705 ac_dir=`$as_dirname -- "$ac_file" ||
82706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82707 X"$ac_file" : 'X\(//\)[^/]' \| \
82708 X"$ac_file" : 'X\(//\)$' \| \
82709 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82710 $as_echo X"$ac_file" |
82711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82712 s//\1/
82713 q
82714 }
82715 /^X\(\/\/\)[^/].*/{
82716 s//\1/
82717 q
82718 }
82719 /^X\(\/\/\)$/{
82720 s//\1/
82721 q
82722 }
82723 /^X\(\/\).*/{
82724 s//\1/
82725 q
82726 }
82727 s/.*/./; q'`
82728 as_dir="$ac_dir"; as_fn_mkdir_p
82729 ac_builddir=.
82730
82731 case "$ac_dir" in
82732 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82733 *)
82734 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82735 # A ".." for each directory in $ac_dir_suffix.
82736 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82737 case $ac_top_builddir_sub in
82738 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82739 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82740 esac ;;
82741 esac
82742 ac_abs_top_builddir=$ac_pwd
82743 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82744 # for backward compatibility:
82745 ac_top_builddir=$ac_top_build_prefix
82746
82747 case $srcdir in
82748 .) # We are building in place.
82749 ac_srcdir=.
82750 ac_top_srcdir=$ac_top_builddir_sub
82751 ac_abs_top_srcdir=$ac_pwd ;;
82752 [\\/]* | ?:[\\/]* ) # Absolute name.
82753 ac_srcdir=$srcdir$ac_dir_suffix;
82754 ac_top_srcdir=$srcdir
82755 ac_abs_top_srcdir=$srcdir ;;
82756 *) # Relative name.
82757 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82758 ac_top_srcdir=$ac_top_build_prefix$srcdir
82759 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82760 esac
82761 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82762
82763
82764 case $ac_mode in
82765 :F)
82766 #
82767 # CONFIG_FILE
82768 #
82769
82770 case $INSTALL in
82771 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82772 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82773 esac
82774 ac_MKDIR_P=$MKDIR_P
82775 case $MKDIR_P in
82776 [\\/$]* | ?:[\\/]* ) ;;
82777 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82778 esac
82779 _ACEOF
82780
82781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82782 # If the template does not know about datarootdir, expand it.
82783 # FIXME: This hack should be removed a few years after 2.60.
82784 ac_datarootdir_hack=; ac_datarootdir_seen=
82785 ac_sed_dataroot='
82786 /datarootdir/ {
82787 p
82788 q
82789 }
82790 /@datadir@/p
82791 /@docdir@/p
82792 /@infodir@/p
82793 /@localedir@/p
82794 /@mandir@/p'
82795 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82796 *datarootdir*) ac_datarootdir_seen=yes;;
82797 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82799 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82800 _ACEOF
82801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82802 ac_datarootdir_hack='
82803 s&@datadir@&$datadir&g
82804 s&@docdir@&$docdir&g
82805 s&@infodir@&$infodir&g
82806 s&@localedir@&$localedir&g
82807 s&@mandir@&$mandir&g
82808 s&\\\${datarootdir}&$datarootdir&g' ;;
82809 esac
82810 _ACEOF
82811
82812 # Neutralize VPATH when `$srcdir' = `.'.
82813 # Shell code in configure.ac might set extrasub.
82814 # FIXME: do we really want to maintain this feature?
82815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82816 ac_sed_extra="$ac_vpsub
82817 $extrasub
82818 _ACEOF
82819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82820 :t
82821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82822 s|@configure_input@|$ac_sed_conf_input|;t t
82823 s&@top_builddir@&$ac_top_builddir_sub&;t t
82824 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82825 s&@srcdir@&$ac_srcdir&;t t
82826 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82827 s&@top_srcdir@&$ac_top_srcdir&;t t
82828 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82829 s&@builddir@&$ac_builddir&;t t
82830 s&@abs_builddir@&$ac_abs_builddir&;t t
82831 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82832 s&@INSTALL@&$ac_INSTALL&;t t
82833 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82834 $ac_datarootdir_hack
82835 "
82836 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82837 || as_fn_error "could not create $ac_file" "$LINENO" 5
82838
82839 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82840 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82841 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82843 which seems to be undefined. Please make sure it is defined." >&5
82844 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82845 which seems to be undefined. Please make sure it is defined." >&2;}
82846
82847 rm -f "$tmp/stdin"
82848 case $ac_file in
82849 -) cat "$tmp/out" && rm -f "$tmp/out";;
82850 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82851 esac \
82852 || as_fn_error "could not create $ac_file" "$LINENO" 5
82853 ;;
82854 :H)
82855 #
82856 # CONFIG_HEADER
82857 #
82858 if test x"$ac_file" != x-; then
82859 {
82860 $as_echo "/* $configure_input */" \
82861 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82862 } >"$tmp/config.h" \
82863 || as_fn_error "could not create $ac_file" "$LINENO" 5
82864 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82865 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82866 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82867 else
82868 rm -f "$ac_file"
82869 mv "$tmp/config.h" "$ac_file" \
82870 || as_fn_error "could not create $ac_file" "$LINENO" 5
82871 fi
82872 else
82873 $as_echo "/* $configure_input */" \
82874 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82875 || as_fn_error "could not create -" "$LINENO" 5
82876 fi
82877 # Compute "$ac_file"'s index in $config_headers.
82878 _am_arg="$ac_file"
82879 _am_stamp_count=1
82880 for _am_header in $config_headers :; do
82881 case $_am_header in
82882 $_am_arg | $_am_arg:* )
82883 break ;;
82884 * )
82885 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82886 esac
82887 done
82888 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82889 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82890 X"$_am_arg" : 'X\(//\)[^/]' \| \
82891 X"$_am_arg" : 'X\(//\)$' \| \
82892 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82893 $as_echo X"$_am_arg" |
82894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82895 s//\1/
82896 q
82897 }
82898 /^X\(\/\/\)[^/].*/{
82899 s//\1/
82900 q
82901 }
82902 /^X\(\/\/\)$/{
82903 s//\1/
82904 q
82905 }
82906 /^X\(\/\).*/{
82907 s//\1/
82908 q
82909 }
82910 s/.*/./; q'`/stamp-h$_am_stamp_count
82911 ;;
82912
82913 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82914 $as_echo "$as_me: executing $ac_file commands" >&6;}
82915 ;;
82916 esac
82917
82918
82919 case $ac_file$ac_mode in
82920 "default-1":C)
82921 # Only add multilib support code if we just rebuilt the top-level
82922 # Makefile.
82923 case " $CONFIG_FILES " in
82924 *" Makefile "*)
82925 ac_file=Makefile . ${multi_basedir}/config-ml.in
82926 ;;
82927 esac ;;
82928 "libtool":C)
82929
82930 # See if we are running on zsh, and set the options which allow our
82931 # commands through without removal of \ escapes.
82932 if test -n "${ZSH_VERSION+set}" ; then
82933 setopt NO_GLOB_SUBST
82934 fi
82935
82936 cfgfile="${ofile}T"
82937 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82938 $RM "$cfgfile"
82939
82940 cat <<_LT_EOF >> "$cfgfile"
82941 #! $SHELL
82942
82943 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82944 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82945 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82946 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82947 #
82948 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82949 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82950 # Written by Gordon Matzigkeit, 1996
82951 #
82952 # This file is part of GNU Libtool.
82953 #
82954 # GNU Libtool is free software; you can redistribute it and/or
82955 # modify it under the terms of the GNU General Public License as
82956 # published by the Free Software Foundation; either version 2 of
82957 # the License, or (at your option) any later version.
82958 #
82959 # As a special exception to the GNU General Public License,
82960 # if you distribute this file as part of a program or library that
82961 # is built using GNU Libtool, you may include this file under the
82962 # same distribution terms that you use for the rest of that program.
82963 #
82964 # GNU Libtool is distributed in the hope that it will be useful,
82965 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82966 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82967 # GNU General Public License for more details.
82968 #
82969 # You should have received a copy of the GNU General Public License
82970 # along with GNU Libtool; see the file COPYING. If not, a copy
82971 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82972 # obtained by writing to the Free Software Foundation, Inc.,
82973 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82974
82975
82976 # The names of the tagged configurations supported by this script.
82977 available_tags="CXX "
82978
82979 # ### BEGIN LIBTOOL CONFIG
82980
82981 # Which release of libtool.m4 was used?
82982 macro_version=$macro_version
82983 macro_revision=$macro_revision
82984
82985 # Whether or not to build shared libraries.
82986 build_libtool_libs=$enable_shared
82987
82988 # Whether or not to build static libraries.
82989 build_old_libs=$enable_static
82990
82991 # What type of objects to build.
82992 pic_mode=$pic_mode
82993
82994 # Whether or not to optimize for fast installation.
82995 fast_install=$enable_fast_install
82996
82997 # Shell to use when invoking shell scripts.
82998 SHELL=$lt_SHELL
82999
83000 # An echo program that protects backslashes.
83001 ECHO=$lt_ECHO
83002
83003 # The host system.
83004 host_alias=$host_alias
83005 host=$host
83006 host_os=$host_os
83007
83008 # The build system.
83009 build_alias=$build_alias
83010 build=$build
83011 build_os=$build_os
83012
83013 # A sed program that does not truncate output.
83014 SED=$lt_SED
83015
83016 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83017 Xsed="\$SED -e 1s/^X//"
83018
83019 # A grep program that handles long lines.
83020 GREP=$lt_GREP
83021
83022 # An ERE matcher.
83023 EGREP=$lt_EGREP
83024
83025 # A literal string matcher.
83026 FGREP=$lt_FGREP
83027
83028 # A BSD- or MS-compatible name lister.
83029 NM=$lt_NM
83030
83031 # Whether we need soft or hard links.
83032 LN_S=$lt_LN_S
83033
83034 # What is the maximum length of a command?
83035 max_cmd_len=$max_cmd_len
83036
83037 # Object file suffix (normally "o").
83038 objext=$ac_objext
83039
83040 # Executable file suffix (normally "").
83041 exeext=$exeext
83042
83043 # whether the shell understands "unset".
83044 lt_unset=$lt_unset
83045
83046 # turn spaces into newlines.
83047 SP2NL=$lt_lt_SP2NL
83048
83049 # turn newlines into spaces.
83050 NL2SP=$lt_lt_NL2SP
83051
83052 # An object symbol dumper.
83053 OBJDUMP=$lt_OBJDUMP
83054
83055 # Method to check whether dependent libraries are shared objects.
83056 deplibs_check_method=$lt_deplibs_check_method
83057
83058 # Command to use when deplibs_check_method == "file_magic".
83059 file_magic_cmd=$lt_file_magic_cmd
83060
83061 # The archiver.
83062 AR=$lt_AR
83063 AR_FLAGS=$lt_AR_FLAGS
83064
83065 # A symbol stripping program.
83066 STRIP=$lt_STRIP
83067
83068 # Commands used to install an old-style archive.
83069 RANLIB=$lt_RANLIB
83070 old_postinstall_cmds=$lt_old_postinstall_cmds
83071 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83072
83073 # Whether to use a lock for old archive extraction.
83074 lock_old_archive_extraction=$lock_old_archive_extraction
83075
83076 # A C compiler.
83077 LTCC=$lt_CC
83078
83079 # LTCC compiler flags.
83080 LTCFLAGS=$lt_CFLAGS
83081
83082 # Take the output of nm and produce a listing of raw symbols and C names.
83083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83084
83085 # Transform the output of nm in a proper C declaration.
83086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83087
83088 # Transform the output of nm in a C name address pair.
83089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83090
83091 # Transform the output of nm in a C name address pair when lib prefix is needed.
83092 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83093
83094 # The name of the directory that contains temporary libtool files.
83095 objdir=$objdir
83096
83097 # Used to examine libraries when file_magic_cmd begins with "file".
83098 MAGIC_CMD=$MAGIC_CMD
83099
83100 # Must we lock files when doing compilation?
83101 need_locks=$lt_need_locks
83102
83103 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83104 DSYMUTIL=$lt_DSYMUTIL
83105
83106 # Tool to change global to local symbols on Mac OS X.
83107 NMEDIT=$lt_NMEDIT
83108
83109 # Tool to manipulate fat objects and archives on Mac OS X.
83110 LIPO=$lt_LIPO
83111
83112 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83113 OTOOL=$lt_OTOOL
83114
83115 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83116 OTOOL64=$lt_OTOOL64
83117
83118 # Old archive suffix (normally "a").
83119 libext=$libext
83120
83121 # Shared library suffix (normally ".so").
83122 shrext_cmds=$lt_shrext_cmds
83123
83124 # The commands to extract the exported symbol list from a shared archive.
83125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83126
83127 # Variables whose values should be saved in libtool wrapper scripts and
83128 # restored at link time.
83129 variables_saved_for_relink=$lt_variables_saved_for_relink
83130
83131 # Do we need the "lib" prefix for modules?
83132 need_lib_prefix=$need_lib_prefix
83133
83134 # Do we need a version for libraries?
83135 need_version=$need_version
83136
83137 # Library versioning type.
83138 version_type=$version_type
83139
83140 # Shared library runtime path variable.
83141 runpath_var=$runpath_var
83142
83143 # Shared library path variable.
83144 shlibpath_var=$shlibpath_var
83145
83146 # Is shlibpath searched before the hard-coded library search path?
83147 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83148
83149 # Format of library name prefix.
83150 libname_spec=$lt_libname_spec
83151
83152 # List of archive names. First name is the real one, the rest are links.
83153 # The last name is the one that the linker finds with -lNAME
83154 library_names_spec=$lt_library_names_spec
83155
83156 # The coded name of the library, if different from the real name.
83157 soname_spec=$lt_soname_spec
83158
83159 # Permission mode override for installation of shared libraries.
83160 install_override_mode=$lt_install_override_mode
83161
83162 # Command to use after installation of a shared archive.
83163 postinstall_cmds=$lt_postinstall_cmds
83164
83165 # Command to use after uninstallation of a shared archive.
83166 postuninstall_cmds=$lt_postuninstall_cmds
83167
83168 # Commands used to finish a libtool library installation in a directory.
83169 finish_cmds=$lt_finish_cmds
83170
83171 # As "finish_cmds", except a single script fragment to be evaled but
83172 # not shown.
83173 finish_eval=$lt_finish_eval
83174
83175 # Whether we should hardcode library paths into libraries.
83176 hardcode_into_libs=$hardcode_into_libs
83177
83178 # Compile-time system search path for libraries.
83179 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83180
83181 # Run-time system search path for libraries.
83182 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83183
83184 # Whether dlopen is supported.
83185 dlopen_support=$enable_dlopen
83186
83187 # Whether dlopen of programs is supported.
83188 dlopen_self=$enable_dlopen_self
83189
83190 # Whether dlopen of statically linked programs is supported.
83191 dlopen_self_static=$enable_dlopen_self_static
83192
83193 # Commands to strip libraries.
83194 old_striplib=$lt_old_striplib
83195 striplib=$lt_striplib
83196
83197
83198 # The linker used to build libraries.
83199 LD=$lt_LD
83200
83201 # How to create reloadable object files.
83202 reload_flag=$lt_reload_flag
83203 reload_cmds=$lt_reload_cmds
83204
83205 # Commands used to build an old-style archive.
83206 old_archive_cmds=$lt_old_archive_cmds
83207
83208 # A language specific compiler.
83209 CC=$lt_compiler
83210
83211 # Is the compiler the GNU compiler?
83212 with_gcc=$GCC
83213
83214 # Compiler flag to turn off builtin functions.
83215 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83216
83217 # How to pass a linker flag through the compiler.
83218 wl=$lt_lt_prog_compiler_wl
83219
83220 # Additional compiler flags for building library objects.
83221 pic_flag=$lt_lt_prog_compiler_pic
83222
83223 # Compiler flag to prevent dynamic linking.
83224 link_static_flag=$lt_lt_prog_compiler_static
83225
83226 # Does compiler simultaneously support -c and -o options?
83227 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83228
83229 # Whether or not to add -lc for building shared libraries.
83230 build_libtool_need_lc=$archive_cmds_need_lc
83231
83232 # Whether or not to disallow shared libs when runtime libs are static.
83233 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83234
83235 # Compiler flag to allow reflexive dlopens.
83236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83237
83238 # Compiler flag to generate shared objects directly from archives.
83239 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83240
83241 # Whether the compiler copes with passing no objects directly.
83242 compiler_needs_object=$lt_compiler_needs_object
83243
83244 # Create an old-style archive from a shared archive.
83245 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83246
83247 # Create a temporary old-style archive to link instead of a shared archive.
83248 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83249
83250 # Commands used to build a shared archive.
83251 archive_cmds=$lt_archive_cmds
83252 archive_expsym_cmds=$lt_archive_expsym_cmds
83253
83254 # Commands used to build a loadable module if different from building
83255 # a shared archive.
83256 module_cmds=$lt_module_cmds
83257 module_expsym_cmds=$lt_module_expsym_cmds
83258
83259 # Whether we are building with GNU ld or not.
83260 with_gnu_ld=$lt_with_gnu_ld
83261
83262 # Flag that allows shared libraries with undefined symbols to be built.
83263 allow_undefined_flag=$lt_allow_undefined_flag
83264
83265 # Flag that enforces no undefined symbols.
83266 no_undefined_flag=$lt_no_undefined_flag
83267
83268 # Flag to hardcode \$libdir into a binary during linking.
83269 # This must work even if \$libdir does not exist
83270 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83271
83272 # If ld is used when linking, flag to hardcode \$libdir into a binary
83273 # during linking. This must work even if \$libdir does not exist.
83274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83275
83276 # Whether we need a single "-rpath" flag with a separated argument.
83277 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83278
83279 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83280 # DIR into the resulting binary.
83281 hardcode_direct=$hardcode_direct
83282
83283 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83284 # DIR into the resulting binary and the resulting library dependency is
83285 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83286 # library is relocated.
83287 hardcode_direct_absolute=$hardcode_direct_absolute
83288
83289 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83290 # into the resulting binary.
83291 hardcode_minus_L=$hardcode_minus_L
83292
83293 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83294 # into the resulting binary.
83295 hardcode_shlibpath_var=$hardcode_shlibpath_var
83296
83297 # Set to "yes" if building a shared library automatically hardcodes DIR
83298 # into the library and all subsequent libraries and executables linked
83299 # against it.
83300 hardcode_automatic=$hardcode_automatic
83301
83302 # Set to yes if linker adds runtime paths of dependent libraries
83303 # to runtime path list.
83304 inherit_rpath=$inherit_rpath
83305
83306 # Whether libtool must link a program against all its dependency libraries.
83307 link_all_deplibs=$link_all_deplibs
83308
83309 # Fix the shell variable \$srcfile for the compiler.
83310 fix_srcfile_path=$lt_fix_srcfile_path
83311
83312 # Set to "yes" if exported symbols are required.
83313 always_export_symbols=$always_export_symbols
83314
83315 # The commands to list exported symbols.
83316 export_symbols_cmds=$lt_export_symbols_cmds
83317
83318 # Symbols that should not be listed in the preloaded symbols.
83319 exclude_expsyms=$lt_exclude_expsyms
83320
83321 # Symbols that must always be exported.
83322 include_expsyms=$lt_include_expsyms
83323
83324 # Commands necessary for linking programs (against libraries) with templates.
83325 prelink_cmds=$lt_prelink_cmds
83326
83327 # Specify filename containing input files.
83328 file_list_spec=$lt_file_list_spec
83329
83330 # How to hardcode a shared library path into an executable.
83331 hardcode_action=$hardcode_action
83332
83333 # The directories searched by this compiler when creating a shared library.
83334 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83335
83336 # Dependencies to place before and after the objects being linked to
83337 # create a shared library.
83338 predep_objects=$lt_predep_objects
83339 postdep_objects=$lt_postdep_objects
83340 predeps=$lt_predeps
83341 postdeps=$lt_postdeps
83342
83343 # The library search path used internally by the compiler when linking
83344 # a shared library.
83345 compiler_lib_search_path=$lt_compiler_lib_search_path
83346
83347 # ### END LIBTOOL CONFIG
83348
83349 _LT_EOF
83350
83351 case $host_os in
83352 aix3*)
83353 cat <<\_LT_EOF >> "$cfgfile"
83354 # AIX sometimes has problems with the GCC collect2 program. For some
83355 # reason, if we set the COLLECT_NAMES environment variable, the problems
83356 # vanish in a puff of smoke.
83357 if test "X${COLLECT_NAMES+set}" != Xset; then
83358 COLLECT_NAMES=
83359 export COLLECT_NAMES
83360 fi
83361 _LT_EOF
83362 ;;
83363 esac
83364
83365
83366 ltmain="$ac_aux_dir/ltmain.sh"
83367
83368
83369 # We use sed instead of cat because bash on DJGPP gets confused if
83370 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83371 # text mode, it properly converts lines to CR/LF. This bash problem
83372 # is reportedly fixed, but why not run on old versions too?
83373 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83374 || (rm -f "$cfgfile"; exit 1)
83375
83376 case $xsi_shell in
83377 yes)
83378 cat << \_LT_EOF >> "$cfgfile"
83379
83380 # func_dirname file append nondir_replacement
83381 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83382 # otherwise set result to NONDIR_REPLACEMENT.
83383 func_dirname ()
83384 {
83385 case ${1} in
83386 */*) func_dirname_result="${1%/*}${2}" ;;
83387 * ) func_dirname_result="${3}" ;;
83388 esac
83389 }
83390
83391 # func_basename file
83392 func_basename ()
83393 {
83394 func_basename_result="${1##*/}"
83395 }
83396
83397 # func_dirname_and_basename file append nondir_replacement
83398 # perform func_basename and func_dirname in a single function
83399 # call:
83400 # dirname: Compute the dirname of FILE. If nonempty,
83401 # add APPEND to the result, otherwise set result
83402 # to NONDIR_REPLACEMENT.
83403 # value returned in "$func_dirname_result"
83404 # basename: Compute filename of FILE.
83405 # value retuned in "$func_basename_result"
83406 # Implementation must be kept synchronized with func_dirname
83407 # and func_basename. For efficiency, we do not delegate to
83408 # those functions but instead duplicate the functionality here.
83409 func_dirname_and_basename ()
83410 {
83411 case ${1} in
83412 */*) func_dirname_result="${1%/*}${2}" ;;
83413 * ) func_dirname_result="${3}" ;;
83414 esac
83415 func_basename_result="${1##*/}"
83416 }
83417
83418 # func_stripname prefix suffix name
83419 # strip PREFIX and SUFFIX off of NAME.
83420 # PREFIX and SUFFIX must not contain globbing or regex special
83421 # characters, hashes, percent signs, but SUFFIX may contain a leading
83422 # dot (in which case that matches only a dot).
83423 func_stripname ()
83424 {
83425 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83426 # positional parameters, so assign one to ordinary parameter first.
83427 func_stripname_result=${3}
83428 func_stripname_result=${func_stripname_result#"${1}"}
83429 func_stripname_result=${func_stripname_result%"${2}"}
83430 }
83431
83432 # func_opt_split
83433 func_opt_split ()
83434 {
83435 func_opt_split_opt=${1%%=*}
83436 func_opt_split_arg=${1#*=}
83437 }
83438
83439 # func_lo2o object
83440 func_lo2o ()
83441 {
83442 case ${1} in
83443 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83444 *) func_lo2o_result=${1} ;;
83445 esac
83446 }
83447
83448 # func_xform libobj-or-source
83449 func_xform ()
83450 {
83451 func_xform_result=${1%.*}.lo
83452 }
83453
83454 # func_arith arithmetic-term...
83455 func_arith ()
83456 {
83457 func_arith_result=$(( $* ))
83458 }
83459
83460 # func_len string
83461 # STRING may not start with a hyphen.
83462 func_len ()
83463 {
83464 func_len_result=${#1}
83465 }
83466
83467 _LT_EOF
83468 ;;
83469 *) # Bourne compatible functions.
83470 cat << \_LT_EOF >> "$cfgfile"
83471
83472 # func_dirname file append nondir_replacement
83473 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83474 # otherwise set result to NONDIR_REPLACEMENT.
83475 func_dirname ()
83476 {
83477 # Extract subdirectory from the argument.
83478 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83479 if test "X$func_dirname_result" = "X${1}"; then
83480 func_dirname_result="${3}"
83481 else
83482 func_dirname_result="$func_dirname_result${2}"
83483 fi
83484 }
83485
83486 # func_basename file
83487 func_basename ()
83488 {
83489 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83490 }
83491
83492
83493 # func_stripname prefix suffix name
83494 # strip PREFIX and SUFFIX off of NAME.
83495 # PREFIX and SUFFIX must not contain globbing or regex special
83496 # characters, hashes, percent signs, but SUFFIX may contain a leading
83497 # dot (in which case that matches only a dot).
83498 # func_strip_suffix prefix name
83499 func_stripname ()
83500 {
83501 case ${2} in
83502 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83503 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83504 esac
83505 }
83506
83507 # sed scripts:
83508 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83509 my_sed_long_arg='1s/^-[^=]*=//'
83510
83511 # func_opt_split
83512 func_opt_split ()
83513 {
83514 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83515 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83516 }
83517
83518 # func_lo2o object
83519 func_lo2o ()
83520 {
83521 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83522 }
83523
83524 # func_xform libobj-or-source
83525 func_xform ()
83526 {
83527 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83528 }
83529
83530 # func_arith arithmetic-term...
83531 func_arith ()
83532 {
83533 func_arith_result=`expr "$@"`
83534 }
83535
83536 # func_len string
83537 # STRING may not start with a hyphen.
83538 func_len ()
83539 {
83540 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83541 }
83542
83543 _LT_EOF
83544 esac
83545
83546 case $lt_shell_append in
83547 yes)
83548 cat << \_LT_EOF >> "$cfgfile"
83549
83550 # func_append var value
83551 # Append VALUE to the end of shell variable VAR.
83552 func_append ()
83553 {
83554 eval "$1+=\$2"
83555 }
83556 _LT_EOF
83557 ;;
83558 *)
83559 cat << \_LT_EOF >> "$cfgfile"
83560
83561 # func_append var value
83562 # Append VALUE to the end of shell variable VAR.
83563 func_append ()
83564 {
83565 eval "$1=\$$1\$2"
83566 }
83567
83568 _LT_EOF
83569 ;;
83570 esac
83571
83572
83573 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83574 || (rm -f "$cfgfile"; exit 1)
83575
83576 mv -f "$cfgfile" "$ofile" ||
83577 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83578 chmod +x "$ofile"
83579
83580
83581 cat <<_LT_EOF >> "$ofile"
83582
83583 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83584
83585 # The linker used to build libraries.
83586 LD=$lt_LD_CXX
83587
83588 # How to create reloadable object files.
83589 reload_flag=$lt_reload_flag_CXX
83590 reload_cmds=$lt_reload_cmds_CXX
83591
83592 # Commands used to build an old-style archive.
83593 old_archive_cmds=$lt_old_archive_cmds_CXX
83594
83595 # A language specific compiler.
83596 CC=$lt_compiler_CXX
83597
83598 # Is the compiler the GNU compiler?
83599 with_gcc=$GCC_CXX
83600
83601 # Compiler flag to turn off builtin functions.
83602 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83603
83604 # How to pass a linker flag through the compiler.
83605 wl=$lt_lt_prog_compiler_wl_CXX
83606
83607 # Additional compiler flags for building library objects.
83608 pic_flag=$lt_lt_prog_compiler_pic_CXX
83609
83610 # Compiler flag to prevent dynamic linking.
83611 link_static_flag=$lt_lt_prog_compiler_static_CXX
83612
83613 # Does compiler simultaneously support -c and -o options?
83614 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83615
83616 # Whether or not to add -lc for building shared libraries.
83617 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83618
83619 # Whether or not to disallow shared libs when runtime libs are static.
83620 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83621
83622 # Compiler flag to allow reflexive dlopens.
83623 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83624
83625 # Compiler flag to generate shared objects directly from archives.
83626 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83627
83628 # Whether the compiler copes with passing no objects directly.
83629 compiler_needs_object=$lt_compiler_needs_object_CXX
83630
83631 # Create an old-style archive from a shared archive.
83632 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83633
83634 # Create a temporary old-style archive to link instead of a shared archive.
83635 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83636
83637 # Commands used to build a shared archive.
83638 archive_cmds=$lt_archive_cmds_CXX
83639 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83640
83641 # Commands used to build a loadable module if different from building
83642 # a shared archive.
83643 module_cmds=$lt_module_cmds_CXX
83644 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83645
83646 # Whether we are building with GNU ld or not.
83647 with_gnu_ld=$lt_with_gnu_ld_CXX
83648
83649 # Flag that allows shared libraries with undefined symbols to be built.
83650 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83651
83652 # Flag that enforces no undefined symbols.
83653 no_undefined_flag=$lt_no_undefined_flag_CXX
83654
83655 # Flag to hardcode \$libdir into a binary during linking.
83656 # This must work even if \$libdir does not exist
83657 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83658
83659 # If ld is used when linking, flag to hardcode \$libdir into a binary
83660 # during linking. This must work even if \$libdir does not exist.
83661 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83662
83663 # Whether we need a single "-rpath" flag with a separated argument.
83664 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83665
83666 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83667 # DIR into the resulting binary.
83668 hardcode_direct=$hardcode_direct_CXX
83669
83670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83671 # DIR into the resulting binary and the resulting library dependency is
83672 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83673 # library is relocated.
83674 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83675
83676 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83677 # into the resulting binary.
83678 hardcode_minus_L=$hardcode_minus_L_CXX
83679
83680 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83681 # into the resulting binary.
83682 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83683
83684 # Set to "yes" if building a shared library automatically hardcodes DIR
83685 # into the library and all subsequent libraries and executables linked
83686 # against it.
83687 hardcode_automatic=$hardcode_automatic_CXX
83688
83689 # Set to yes if linker adds runtime paths of dependent libraries
83690 # to runtime path list.
83691 inherit_rpath=$inherit_rpath_CXX
83692
83693 # Whether libtool must link a program against all its dependency libraries.
83694 link_all_deplibs=$link_all_deplibs_CXX
83695
83696 # Fix the shell variable \$srcfile for the compiler.
83697 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83698
83699 # Set to "yes" if exported symbols are required.
83700 always_export_symbols=$always_export_symbols_CXX
83701
83702 # The commands to list exported symbols.
83703 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83704
83705 # Symbols that should not be listed in the preloaded symbols.
83706 exclude_expsyms=$lt_exclude_expsyms_CXX
83707
83708 # Symbols that must always be exported.
83709 include_expsyms=$lt_include_expsyms_CXX
83710
83711 # Commands necessary for linking programs (against libraries) with templates.
83712 prelink_cmds=$lt_prelink_cmds_CXX
83713
83714 # Specify filename containing input files.
83715 file_list_spec=$lt_file_list_spec_CXX
83716
83717 # How to hardcode a shared library path into an executable.
83718 hardcode_action=$hardcode_action_CXX
83719
83720 # The directories searched by this compiler when creating a shared library.
83721 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83722
83723 # Dependencies to place before and after the objects being linked to
83724 # create a shared library.
83725 predep_objects=$lt_predep_objects_CXX
83726 postdep_objects=$lt_postdep_objects_CXX
83727 predeps=$lt_predeps_CXX
83728 postdeps=$lt_postdeps_CXX
83729
83730 # The library search path used internally by the compiler when linking
83731 # a shared library.
83732 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83733
83734 # ### END LIBTOOL TAG CONFIG: CXX
83735 _LT_EOF
83736
83737 ;;
83738 "include/gstdint.h":C)
83739 if test "$GCC" = yes; then
83740 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83741 else
83742 echo "/* generated for $CC */" > tmp-stdint.h
83743 fi
83744
83745 sed 's/^ *//' >> tmp-stdint.h <<EOF
83746
83747 #ifndef GCC_GENERATED_STDINT_H
83748 #define GCC_GENERATED_STDINT_H 1
83749
83750 #include <sys/types.h>
83751 EOF
83752
83753 if test "$acx_cv_header_stdint" != stdint.h; then
83754 echo "#include <stddef.h>" >> tmp-stdint.h
83755 fi
83756 if test "$acx_cv_header_stdint" != stddef.h; then
83757 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83758 fi
83759
83760 sed 's/^ *//' >> tmp-stdint.h <<EOF
83761 /* glibc uses these symbols as guards to prevent redefinitions. */
83762 #ifdef __int8_t_defined
83763 #define _INT8_T
83764 #define _INT16_T
83765 #define _INT32_T
83766 #endif
83767 #ifdef __uint32_t_defined
83768 #define _UINT32_T
83769 #endif
83770
83771 EOF
83772
83773 # ----------------- done header, emit basic int types -------------
83774 if test "$acx_cv_header_stdint" = stddef.h; then
83775 sed 's/^ *//' >> tmp-stdint.h <<EOF
83776
83777 #ifndef _UINT8_T
83778 #define _UINT8_T
83779 #ifndef __uint8_t_defined
83780 #define __uint8_t_defined
83781 #ifndef uint8_t
83782 typedef unsigned $acx_cv_type_int8_t uint8_t;
83783 #endif
83784 #endif
83785 #endif
83786
83787 #ifndef _UINT16_T
83788 #define _UINT16_T
83789 #ifndef __uint16_t_defined
83790 #define __uint16_t_defined
83791 #ifndef uint16_t
83792 typedef unsigned $acx_cv_type_int16_t uint16_t;
83793 #endif
83794 #endif
83795 #endif
83796
83797 #ifndef _UINT32_T
83798 #define _UINT32_T
83799 #ifndef __uint32_t_defined
83800 #define __uint32_t_defined
83801 #ifndef uint32_t
83802 typedef unsigned $acx_cv_type_int32_t uint32_t;
83803 #endif
83804 #endif
83805 #endif
83806
83807 #ifndef _INT8_T
83808 #define _INT8_T
83809 #ifndef __int8_t_defined
83810 #define __int8_t_defined
83811 #ifndef int8_t
83812 typedef $acx_cv_type_int8_t int8_t;
83813 #endif
83814 #endif
83815 #endif
83816
83817 #ifndef _INT16_T
83818 #define _INT16_T
83819 #ifndef __int16_t_defined
83820 #define __int16_t_defined
83821 #ifndef int16_t
83822 typedef $acx_cv_type_int16_t int16_t;
83823 #endif
83824 #endif
83825 #endif
83826
83827 #ifndef _INT32_T
83828 #define _INT32_T
83829 #ifndef __int32_t_defined
83830 #define __int32_t_defined
83831 #ifndef int32_t
83832 typedef $acx_cv_type_int32_t int32_t;
83833 #endif
83834 #endif
83835 #endif
83836 EOF
83837 elif test "$ac_cv_type_u_int32_t" = yes; then
83838 sed 's/^ *//' >> tmp-stdint.h <<EOF
83839
83840 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83841 #ifndef _INT8_T
83842 #define _INT8_T
83843 #endif
83844 #ifndef _INT16_T
83845 #define _INT16_T
83846 #endif
83847 #ifndef _INT32_T
83848 #define _INT32_T
83849 #endif
83850
83851 #ifndef _UINT8_T
83852 #define _UINT8_T
83853 #ifndef __uint8_t_defined
83854 #define __uint8_t_defined
83855 #ifndef uint8_t
83856 typedef u_int8_t uint8_t;
83857 #endif
83858 #endif
83859 #endif
83860
83861 #ifndef _UINT16_T
83862 #define _UINT16_T
83863 #ifndef __uint16_t_defined
83864 #define __uint16_t_defined
83865 #ifndef uint16_t
83866 typedef u_int16_t uint16_t;
83867 #endif
83868 #endif
83869 #endif
83870
83871 #ifndef _UINT32_T
83872 #define _UINT32_T
83873 #ifndef __uint32_t_defined
83874 #define __uint32_t_defined
83875 #ifndef uint32_t
83876 typedef u_int32_t uint32_t;
83877 #endif
83878 #endif
83879 #endif
83880 EOF
83881 else
83882 sed 's/^ *//' >> tmp-stdint.h <<EOF
83883
83884 /* Some systems have guard macros to prevent redefinitions, define them. */
83885 #ifndef _INT8_T
83886 #define _INT8_T
83887 #endif
83888 #ifndef _INT16_T
83889 #define _INT16_T
83890 #endif
83891 #ifndef _INT32_T
83892 #define _INT32_T
83893 #endif
83894 #ifndef _UINT8_T
83895 #define _UINT8_T
83896 #endif
83897 #ifndef _UINT16_T
83898 #define _UINT16_T
83899 #endif
83900 #ifndef _UINT32_T
83901 #define _UINT32_T
83902 #endif
83903 EOF
83904 fi
83905
83906 # ------------- done basic int types, emit int64_t types ------------
83907 if test "$ac_cv_type_uint64_t" = yes; then
83908 sed 's/^ *//' >> tmp-stdint.h <<EOF
83909
83910 /* system headers have good uint64_t and int64_t */
83911 #ifndef _INT64_T
83912 #define _INT64_T
83913 #endif
83914 #ifndef _UINT64_T
83915 #define _UINT64_T
83916 #endif
83917 EOF
83918 elif test "$ac_cv_type_u_int64_t" = yes; then
83919 sed 's/^ *//' >> tmp-stdint.h <<EOF
83920
83921 /* system headers have an u_int64_t (and int64_t) */
83922 #ifndef _INT64_T
83923 #define _INT64_T
83924 #endif
83925 #ifndef _UINT64_T
83926 #define _UINT64_T
83927 #ifndef __uint64_t_defined
83928 #define __uint64_t_defined
83929 #ifndef uint64_t
83930 typedef u_int64_t uint64_t;
83931 #endif
83932 #endif
83933 #endif
83934 EOF
83935 elif test -n "$acx_cv_type_int64_t"; then
83936 sed 's/^ *//' >> tmp-stdint.h <<EOF
83937
83938 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83939 #ifndef _INT64_T
83940 #define _INT64_T
83941 #ifndef int64_t
83942 typedef $acx_cv_type_int64_t int64_t;
83943 #endif
83944 #endif
83945 #ifndef _UINT64_T
83946 #define _UINT64_T
83947 #ifndef __uint64_t_defined
83948 #define __uint64_t_defined
83949 #ifndef uint64_t
83950 typedef unsigned $acx_cv_type_int64_t uint64_t;
83951 #endif
83952 #endif
83953 #endif
83954 EOF
83955 else
83956 sed 's/^ *//' >> tmp-stdint.h <<EOF
83957
83958 /* some common heuristics for int64_t, using compiler-specific tests */
83959 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83960 #ifndef _INT64_T
83961 #define _INT64_T
83962 #ifndef __int64_t_defined
83963 #ifndef int64_t
83964 typedef long long int64_t;
83965 #endif
83966 #endif
83967 #endif
83968 #ifndef _UINT64_T
83969 #define _UINT64_T
83970 #ifndef uint64_t
83971 typedef unsigned long long uint64_t;
83972 #endif
83973 #endif
83974
83975 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83976 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83977 does not implement __extension__. But that compiler doesn't define
83978 __GNUC_MINOR__. */
83979 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83980 # define __extension__
83981 # endif
83982
83983 # ifndef _INT64_T
83984 # define _INT64_T
83985 # ifndef int64_t
83986 __extension__ typedef long long int64_t;
83987 # endif
83988 # endif
83989 # ifndef _UINT64_T
83990 # define _UINT64_T
83991 # ifndef uint64_t
83992 __extension__ typedef unsigned long long uint64_t;
83993 # endif
83994 # endif
83995
83996 #elif !defined __STRICT_ANSI__
83997 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83998
83999 # ifndef _INT64_T
84000 # define _INT64_T
84001 # ifndef int64_t
84002 typedef __int64 int64_t;
84003 # endif
84004 # endif
84005 # ifndef _UINT64_T
84006 # define _UINT64_T
84007 # ifndef uint64_t
84008 typedef unsigned __int64 uint64_t;
84009 # endif
84010 # endif
84011 # endif /* compiler */
84012
84013 #endif /* ANSI version */
84014 EOF
84015 fi
84016
84017 # ------------- done int64_t types, emit intptr types ------------
84018 if test "$ac_cv_type_uintptr_t" != yes; then
84019 sed 's/^ *//' >> tmp-stdint.h <<EOF
84020
84021 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84022 #ifndef __uintptr_t_defined
84023 #ifndef uintptr_t
84024 typedef u$acx_cv_type_intptr_t uintptr_t;
84025 #endif
84026 #endif
84027 #ifndef __intptr_t_defined
84028 #ifndef intptr_t
84029 typedef $acx_cv_type_intptr_t intptr_t;
84030 #endif
84031 #endif
84032 EOF
84033 fi
84034
84035 # ------------- done intptr types, emit int_least types ------------
84036 if test "$ac_cv_type_int_least32_t" != yes; then
84037 sed 's/^ *//' >> tmp-stdint.h <<EOF
84038
84039 /* Define int_least types */
84040 typedef int8_t int_least8_t;
84041 typedef int16_t int_least16_t;
84042 typedef int32_t int_least32_t;
84043 #ifdef _INT64_T
84044 typedef int64_t int_least64_t;
84045 #endif
84046
84047 typedef uint8_t uint_least8_t;
84048 typedef uint16_t uint_least16_t;
84049 typedef uint32_t uint_least32_t;
84050 #ifdef _UINT64_T
84051 typedef uint64_t uint_least64_t;
84052 #endif
84053 EOF
84054 fi
84055
84056 # ------------- done intptr types, emit int_fast types ------------
84057 if test "$ac_cv_type_int_fast32_t" != yes; then
84058 sed 's/^ *//' >> tmp-stdint.h <<EOF
84059
84060 /* Define int_fast types. short is often slow */
84061 typedef int8_t int_fast8_t;
84062 typedef int int_fast16_t;
84063 typedef int32_t int_fast32_t;
84064 #ifdef _INT64_T
84065 typedef int64_t int_fast64_t;
84066 #endif
84067
84068 typedef uint8_t uint_fast8_t;
84069 typedef unsigned int uint_fast16_t;
84070 typedef uint32_t uint_fast32_t;
84071 #ifdef _UINT64_T
84072 typedef uint64_t uint_fast64_t;
84073 #endif
84074 EOF
84075 fi
84076
84077 if test "$ac_cv_type_uintmax_t" != yes; then
84078 sed 's/^ *//' >> tmp-stdint.h <<EOF
84079
84080 /* Define intmax based on what we found */
84081 #ifndef intmax_t
84082 #ifdef _INT64_T
84083 typedef int64_t intmax_t;
84084 #else
84085 typedef long intmax_t;
84086 #endif
84087 #endif
84088 #ifndef uintmax_t
84089 #ifdef _UINT64_T
84090 typedef uint64_t uintmax_t;
84091 #else
84092 typedef unsigned long uintmax_t;
84093 #endif
84094 #endif
84095 EOF
84096 fi
84097
84098 sed 's/^ *//' >> tmp-stdint.h <<EOF
84099
84100 #endif /* GCC_GENERATED_STDINT_H */
84101 EOF
84102
84103 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84104 rm -f tmp-stdint.h
84105 else
84106 mv -f tmp-stdint.h include/gstdint.h
84107 fi
84108
84109 ;;
84110 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84111 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84112 "include/Makefile":F) cat > vpsed$$ << \_EOF
84113 s!`test -f '$<' || echo '$(srcdir)/'`!!
84114 _EOF
84115 sed -f vpsed$$ $ac_file > tmp$$
84116 mv tmp$$ $ac_file
84117 rm vpsed$$
84118 echo 'MULTISUBDIR =' >> $ac_file
84119 ml_norecursion=yes
84120 . ${multi_basedir}/config-ml.in
84121 { ml_norecursion=; unset ml_norecursion;}
84122 ;;
84123 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84124 s!`test -f '$<' || echo '$(srcdir)/'`!!
84125 _EOF
84126 sed -f vpsed$$ $ac_file > tmp$$
84127 mv tmp$$ $ac_file
84128 rm vpsed$$
84129 echo 'MULTISUBDIR =' >> $ac_file
84130 ml_norecursion=yes
84131 . ${multi_basedir}/config-ml.in
84132 { ml_norecursion=; unset ml_norecursion;}
84133 ;;
84134 "src/Makefile":F) cat > vpsed$$ << \_EOF
84135 s!`test -f '$<' || echo '$(srcdir)/'`!!
84136 _EOF
84137 sed -f vpsed$$ $ac_file > tmp$$
84138 mv tmp$$ $ac_file
84139 rm vpsed$$
84140 echo 'MULTISUBDIR =' >> $ac_file
84141 ml_norecursion=yes
84142 . ${multi_basedir}/config-ml.in
84143 { ml_norecursion=; unset ml_norecursion;}
84144 ;;
84145 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84146 s!`test -f '$<' || echo '$(srcdir)/'`!!
84147 _EOF
84148 sed -f vpsed$$ $ac_file > tmp$$
84149 mv tmp$$ $ac_file
84150 rm vpsed$$
84151 echo 'MULTISUBDIR =' >> $ac_file
84152 ml_norecursion=yes
84153 . ${multi_basedir}/config-ml.in
84154 { ml_norecursion=; unset ml_norecursion;}
84155 ;;
84156 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84157 s!`test -f '$<' || echo '$(srcdir)/'`!!
84158 _EOF
84159 sed -f vpsed$$ $ac_file > tmp$$
84160 mv tmp$$ $ac_file
84161 rm vpsed$$
84162 echo 'MULTISUBDIR =' >> $ac_file
84163 ml_norecursion=yes
84164 . ${multi_basedir}/config-ml.in
84165 { ml_norecursion=; unset ml_norecursion;}
84166 ;;
84167 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84168 s!`test -f '$<' || echo '$(srcdir)/'`!!
84169 _EOF
84170 sed -f vpsed$$ $ac_file > tmp$$
84171 mv tmp$$ $ac_file
84172 rm vpsed$$
84173 echo 'MULTISUBDIR =' >> $ac_file
84174 ml_norecursion=yes
84175 . ${multi_basedir}/config-ml.in
84176 { ml_norecursion=; unset ml_norecursion;}
84177 ;;
84178 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84179 s!`test -f '$<' || echo '$(srcdir)/'`!!
84180 _EOF
84181 sed -f vpsed$$ $ac_file > tmp$$
84182 mv tmp$$ $ac_file
84183 rm vpsed$$
84184 echo 'MULTISUBDIR =' >> $ac_file
84185 ml_norecursion=yes
84186 . ${multi_basedir}/config-ml.in
84187 { ml_norecursion=; unset ml_norecursion;}
84188 ;;
84189 "po/Makefile":F) cat > vpsed$$ << \_EOF
84190 s!`test -f '$<' || echo '$(srcdir)/'`!!
84191 _EOF
84192 sed -f vpsed$$ $ac_file > tmp$$
84193 mv tmp$$ $ac_file
84194 rm vpsed$$
84195 echo 'MULTISUBDIR =' >> $ac_file
84196 ml_norecursion=yes
84197 . ${multi_basedir}/config-ml.in
84198 { ml_norecursion=; unset ml_norecursion;}
84199 ;;
84200 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84201 s!`test -f '$<' || echo '$(srcdir)/'`!!
84202 _EOF
84203 sed -f vpsed$$ $ac_file > tmp$$
84204 mv tmp$$ $ac_file
84205 rm vpsed$$
84206 echo 'MULTISUBDIR =' >> $ac_file
84207 ml_norecursion=yes
84208 . ${multi_basedir}/config-ml.in
84209 { ml_norecursion=; unset ml_norecursion;}
84210 ;;
84211 "python/Makefile":F) cat > vpsed$$ << \_EOF
84212 s!`test -f '$<' || echo '$(srcdir)/'`!!
84213 _EOF
84214 sed -f vpsed$$ $ac_file > tmp$$
84215 mv tmp$$ $ac_file
84216 rm vpsed$$
84217 echo 'MULTISUBDIR =' >> $ac_file
84218 ml_norecursion=yes
84219 . ${multi_basedir}/config-ml.in
84220 { ml_norecursion=; unset ml_norecursion;}
84221 ;;
84222 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84223
84224 esac
84225 done # for ac_tag
84226
84227
84228 as_fn_exit 0
84229 _ACEOF
84230 ac_clean_files=$ac_clean_files_save
84231
84232 test $ac_write_fail = 0 ||
84233 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84234
84235
84236 # configure is writing to config.log, and then calls config.status.
84237 # config.status does its own redirection, appending to config.log.
84238 # Unfortunately, on DOS this fails, as config.log is still kept open
84239 # by configure, so config.status won't be able to write to it; its
84240 # output is simply discarded. So we exec the FD to /dev/null,
84241 # effectively closing config.log, so it can be properly (re)opened and
84242 # appended to by config.status. When coming back to configure, we
84243 # need to make the FD available again.
84244 if test "$no_create" != yes; then
84245 ac_cs_success=:
84246 ac_config_status_args=
84247 test "$silent" = yes &&
84248 ac_config_status_args="$ac_config_status_args --quiet"
84249 exec 5>/dev/null
84250 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84251 exec 5>>config.log
84252 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84253 # would make configure fail if this is the last instruction.
84254 $ac_cs_success || as_fn_exit $?
84255 fi
84256 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84258 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84259 fi
84260