f7b424b9e63554dc238293a1aaabe8d78f49b16d
[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 LONG_DOUBLE_COMPAT_FLAGS
649 ENABLE_CXX11_ABI_FALSE
650 ENABLE_CXX11_ABI_TRUE
651 glibcxx_cxx98_abi
652 ENABLE_DUAL_ABI_FALSE
653 ENABLE_DUAL_ABI_TRUE
654 ENABLE_VISIBILITY_FALSE
655 ENABLE_VISIBILITY_TRUE
656 libtool_VERSION
657 ENABLE_SYMVERS_SUN_FALSE
658 ENABLE_SYMVERS_SUN_TRUE
659 ENABLE_SYMVERS_DARWIN_FALSE
660 ENABLE_SYMVERS_DARWIN_TRUE
661 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
662 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
663 ENABLE_SYMVERS_GNU_FALSE
664 ENABLE_SYMVERS_GNU_TRUE
665 ENABLE_SYMVERS_FALSE
666 ENABLE_SYMVERS_TRUE
667 port_specific_symbol_files
668 SYMVER_FILE
669 CXXFILT
670 LTLIBICONV
671 LIBICONV
672 OPT_LDFLAGS
673 SECTION_LDFLAGS
674 GLIBCXX_LIBS
675 ENABLE_VTABLE_VERIFY_FALSE
676 ENABLE_VTABLE_VERIFY_TRUE
677 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 VTV_CXXLINKFLAGS
680 VTV_PCH_CXXFLAGS
681 VTV_CXXFLAGS
682 ENABLE_WERROR_FALSE
683 ENABLE_WERROR_TRUE
684 ENABLE_PYTHONDIR_FALSE
685 ENABLE_PYTHONDIR_TRUE
686 python_mod_dir
687 ENABLE_EXTERN_TEMPLATE_FALSE
688 ENABLE_EXTERN_TEMPLATE_TRUE
689 EXTRA_CXX_FLAGS
690 GLIBCXX_BUILD_DEBUG_FALSE
691 GLIBCXX_BUILD_DEBUG_TRUE
692 DEBUG_FLAGS
693 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
694 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
695 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
697 GLIBCXX_C_HEADERS_C_STD_FALSE
698 GLIBCXX_C_HEADERS_C_STD_TRUE
699 GLIBCXX_C_HEADERS_C_FALSE
700 GLIBCXX_C_HEADERS_C_TRUE
701 C_INCLUDE_DIR
702 ALLOCATOR_NAME
703 ALLOCATOR_H
704 ENABLE_ALLOCATOR_NEW_FALSE
705 ENABLE_ALLOCATOR_NEW_TRUE
706 CLOCALE_INTERNAL_H
707 CLOCALE_CC
708 CTIME_CC
709 CTIME_H
710 CNUMERIC_CC
711 CMONEY_CC
712 CMESSAGES_CC
713 CCTYPE_CC
714 CCOLLATE_CC
715 CCODECVT_CC
716 CMESSAGES_H
717 CLOCALE_H
718 USE_NLS
719 glibcxx_localedir
720 glibcxx_POFILES
721 glibcxx_MOFILES
722 check_msgfmt
723 BASIC_FILE_CC
724 BASIC_FILE_H
725 CSTDIO_H
726 SECTION_FLAGS
727 WERROR
728 thread_header
729 glibcxx_PCHFLAGS
730 GLIBCXX_BUILD_PCH_FALSE
731 GLIBCXX_BUILD_PCH_TRUE
732 GLIBCXX_HOSTED_FALSE
733 GLIBCXX_HOSTED_TRUE
734 glibcxx_compiler_shared_flag
735 glibcxx_compiler_pic_flag
736 glibcxx_lt_pic_flag
737 enable_static
738 enable_shared
739 lt_host_flags
740 CXXCPP
741 OTOOL64
742 OTOOL
743 LIPO
744 NMEDIT
745 DSYMUTIL
746 OBJDUMP
747 NM
748 ac_ct_DUMPBIN
749 DUMPBIN
750 LD
751 FGREP
752 SED
753 LIBTOOL
754 EGREP
755 GREP
756 CPP
757 MAINT
758 MAINTAINER_MODE_FALSE
759 MAINTAINER_MODE_TRUE
760 RANLIB
761 AR
762 AS
763 LN_S
764 toplevel_srcdir
765 toplevel_builddir
766 glibcxx_srcdir
767 glibcxx_builddir
768 ac_ct_CXX
769 CXXFLAGS
770 CXX
771 OBJEXT
772 EXEEXT
773 ac_ct_CC
774 CPPFLAGS
775 LDFLAGS
776 CFLAGS
777 CC
778 am__untar
779 am__tar
780 AMTAR
781 am__leading_dot
782 SET_MAKE
783 AWK
784 mkdir_p
785 MKDIR_P
786 INSTALL_STRIP_PROGRAM
787 STRIP
788 install_sh
789 MAKEINFO
790 AUTOHEADER
791 AUTOMAKE
792 AUTOCONF
793 ACLOCAL
794 VERSION
795 PACKAGE
796 CYGPATH_W
797 am__isrc
798 INSTALL_DATA
799 INSTALL_SCRIPT
800 INSTALL_PROGRAM
801 target_os
802 target_vendor
803 target_cpu
804 target
805 host_os
806 host_vendor
807 host_cpu
808 host
809 build_os
810 build_vendor
811 build_cpu
812 build
813 multi_basedir
814 target_alias
815 host_alias
816 build_alias
817 LIBS
818 ECHO_T
819 ECHO_N
820 ECHO_C
821 DEFS
822 mandir
823 localedir
824 libdir
825 psdir
826 pdfdir
827 dvidir
828 htmldir
829 infodir
830 docdir
831 oldincludedir
832 includedir
833 localstatedir
834 sharedstatedir
835 sysconfdir
836 datadir
837 datarootdir
838 libexecdir
839 sbindir
840 bindir
841 program_transform_name
842 prefix
843 exec_prefix
844 PACKAGE_URL
845 PACKAGE_BUGREPORT
846 PACKAGE_STRING
847 PACKAGE_VERSION
848 PACKAGE_TARNAME
849 PACKAGE_NAME
850 PATH_SEPARATOR
851 SHELL'
852 ac_subst_files=''
853 ac_user_opts='
854 enable_option_checking
855 enable_multilib
856 with_target_subdir
857 with_cross_host
858 with_newlib
859 enable_maintainer_mode
860 enable_shared
861 enable_static
862 with_pic
863 enable_fast_install
864 with_gnu_ld
865 enable_libtool_lock
866 enable_hosted_libstdcxx
867 enable_libstdcxx_verbose
868 enable_libstdcxx_pch
869 enable_cstdio
870 enable_clocale
871 enable_nls
872 enable_libstdcxx_allocator
873 enable_cheaders
874 enable_long_long
875 enable_wchar_t
876 enable_c99
877 enable_concept_checks
878 enable_libstdcxx_debug_flags
879 enable_libstdcxx_debug
880 enable_cxx_flags
881 enable_fully_dynamic_string
882 enable_extern_template
883 with_python_dir
884 enable_werror
885 enable_vtable_verify
886 enable_libstdcxx_time
887 enable_tls
888 enable_rpath
889 with_libiconv_prefix
890 with_system_libunwind
891 enable_linux_futex
892 enable_symvers
893 enable_libstdcxx_visibility
894 enable_libstdcxx_dual_abi
895 with_default_libstdcxx_abi
896 enable_libstdcxx_threads
897 enable_libstdcxx_filesystem_ts
898 with_gxx_include_dir
899 enable_version_specific_runtime_libs
900 '
901 ac_precious_vars='build_alias
902 host_alias
903 target_alias
904 CC
905 CFLAGS
906 LDFLAGS
907 LIBS
908 CPPFLAGS
909 CXX
910 CXXFLAGS
911 CCC
912 CPP
913 CXXCPP
914 CXXFILT'
915
916
917 # Initialize some variables set by options.
918 ac_init_help=
919 ac_init_version=false
920 ac_unrecognized_opts=
921 ac_unrecognized_sep=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
924 cache_file=/dev/null
925 exec_prefix=NONE
926 no_create=
927 no_recursion=
928 prefix=NONE
929 program_prefix=NONE
930 program_suffix=NONE
931 program_transform_name=s,x,x,
932 silent=
933 site=
934 srcdir=
935 verbose=
936 x_includes=NONE
937 x_libraries=NONE
938
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
957 htmldir='${docdir}'
958 dvidir='${docdir}'
959 pdfdir='${docdir}'
960 psdir='${docdir}'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
964
965 ac_prev=
966 ac_dashdash=
967 for ac_option
968 do
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
972 ac_prev=
973 continue
974 fi
975
976 case $ac_option in
977 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 *) ac_optarg=yes ;;
979 esac
980
981 # Accept the important Cygnus configure options, so we can diagnose typos.
982
983 case $ac_dashdash$ac_option in
984 --)
985 ac_dashdash=yes ;;
986
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 ac_prev=bindir ;;
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 bindir=$ac_optarg ;;
991
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
996
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1003
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1006
1007 -datadir | --datadir | --datadi | --datad)
1008 ac_prev=datadir ;;
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1011
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1018
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1027 *"
1028 "enable_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval enable_$ac_useropt=no ;;
1034
1035 -docdir | --docdir | --docdi | --doc | --do)
1036 ac_prev=docdir ;;
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1039
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 ac_prev=dvidir ;;
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1044
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1053 *"
1054 "enable_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1060
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1069
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1072 with_gas=yes ;;
1073
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1080
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1085
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 ac_prev=htmldir ;;
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 | --ht=*)
1090 htmldir=$ac_optarg ;;
1091
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1098
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 ac_prev=infodir ;;
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1103
1104 -libdir | --libdir | --libdi | --libd)
1105 ac_prev=libdir ;;
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1108
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1115
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1120
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1127
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 ac_prev=mandir ;;
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1132
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1135 with_fp=no ;;
1136
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1139 no_create=yes ;;
1140
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 no_recursion=yes ;;
1144
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1153
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 ac_prev=prefix ;;
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1158
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1165
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1172
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1189
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 ac_prev=pdfdir ;;
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1194
1195 -psdir | --psdir | --psdi | --psd | --ps)
1196 ac_prev=psdir ;;
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 psdir=$ac_optarg ;;
1199
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1202 silent=yes ;;
1203
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 ac_prev=sbindir ;;
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 | --sbi=* | --sb=*)
1208 sbindir=$ac_optarg ;;
1209
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1213 | --sha | --sh)
1214 ac_prev=sharedstatedir ;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 | --sha=* | --sh=*)
1219 sharedstatedir=$ac_optarg ;;
1220
1221 -site | --site | --sit)
1222 ac_prev=site ;;
1223 -site=* | --site=* | --sit=*)
1224 site=$ac_optarg ;;
1225
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 ac_prev=srcdir ;;
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir=$ac_optarg ;;
1230
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev=sysconfdir ;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir=$ac_optarg ;;
1237
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev=target_alias ;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias=$ac_optarg ;;
1242
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 verbose=yes ;;
1245
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version=: ;;
1248
1249 -with-* | --with-*)
1250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253 as_fn_error "invalid package name: $ac_useropt"
1254 ac_useropt_orig=$ac_useropt
1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1257 *"
1258 "with_$ac_useropt"
1259 "*) ;;
1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep=', ';;
1262 esac
1263 eval with_$ac_useropt=\$ac_optarg ;;
1264
1265 -without-* | --without-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error "invalid package name: $ac_useropt"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1273 *"
1274 "with_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval with_$ac_useropt=no ;;
1280
1281 --x)
1282 # Obsolete; use --with-x.
1283 with_x=yes ;;
1284
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev=x_includes ;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes=$ac_optarg ;;
1291
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev=x_libraries ;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries=$ac_optarg ;;
1298
1299 -*) as_fn_error "unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1301 ;;
1302
1303 *=*)
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1309 esac
1310 eval $ac_envvar=\$ac_optarg
1311 export $ac_envvar ;;
1312
1313 *)
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1319 ;;
1320
1321 esac
1322 done
1323
1324 if test -n "$ac_prev"; then
1325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error "missing argument to $ac_option"
1327 fi
1328
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1331 no) ;;
1332 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334 esac
1335 fi
1336
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1342 do
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1345 case $ac_val in
1346 */ )
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1349 esac
1350 # Be sure to have absolute directory names.
1351 case $ac_val in
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 esac
1355 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1356 done
1357
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1361 build=$build_alias
1362 host=$host_alias
1363 target=$target_alias
1364
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x; then
1367 if test "x$build_alias" = x; then
1368 cross_compiling=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1372 cross_compiling=yes
1373 fi
1374 fi
1375
1376 ac_tool_prefix=
1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378
1379 test "$silent" = yes && exec 6>/dev/null
1380
1381
1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di=`ls -di .` &&
1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error "working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error "pwd does not report name of working directory"
1388
1389
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 s//\1/
1402 q
1403 }
1404 /^X\(\/\/\)[^/].*/{
1405 s//\1/
1406 q
1407 }
1408 /^X\(\/\/\)$/{
1409 s//\1/
1410 q
1411 }
1412 /^X\(\/\).*/{
1413 s//\1/
1414 q
1415 }
1416 s/.*/./; q'`
1417 srcdir=$ac_confdir
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 srcdir=..
1420 fi
1421 else
1422 ac_srcdir_defaulted=no
1423 fi
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1426 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 fi
1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 ac_abs_confdir=`(
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 pwd)`
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 srcdir=.
1435 fi
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1439 case $srcdir in
1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 esac
1442 for ac_var in $ac_precious_vars; do
1443 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_${ac_var}_value=\$${ac_var}
1445 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447 done
1448
1449 #
1450 # Report the --help message.
1451 #
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1455 cat <<_ACEOF
1456 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1459
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1462
1463 Defaults for the options are specified in brackets.
1464
1465 Configuration:
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 [PREFIX]
1481
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1486
1487 For better control, use the options below.
1488
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1509 _ACEOF
1510
1511 cat <<\_ACEOF
1512
1513 Program names:
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517
1518 System types:
1519 --build=BUILD configure for building on BUILD [guessed]
1520 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1521 --target=TARGET configure for building compilers for TARGET [HOST]
1522 _ACEOF
1523 fi
1524
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of package-unused version-unused:";;
1528 esac
1529 cat <<\_ACEOF
1530
1531 Optional Features:
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-multilib build many library versions (default)
1536 --enable-maintainer-mode enable make rules and dependencies not useful
1537 (and sometimes confusing) to the casual installer
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --disable-libtool-lock avoid locking (might break parallel builds)
1543 --disable-hosted-libstdcxx
1544 only build freestanding C++ runtime support
1545 --disable-libstdcxx-verbose
1546 disable termination messages to standard error
1547 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1548 [default=$is_hosted]
1549 --enable-cstdio[=PACKAGE]
1550 use target-specific I/O package [default=stdio]
1551 --enable-clocale[=MODEL]
1552 use MODEL for target locale package [default=auto]
1553 --enable-nls use Native Language Support (default)
1554 --enable-libstdcxx-allocator[=KIND]
1555 use KIND for target std::allocator base
1556 [default=auto]
1557 --enable-cheaders[=KIND]
1558 construct "C" headers for g++ [default=$c_model]
1559 --enable-long-long enable template specializations for 'long long'
1560 [default=yes]
1561 --enable-wchar_t enable template specializations for 'wchar_t'
1562 [default=yes]
1563 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1564 --enable-concept-checks use Boost-derived template checks [default=no]
1565 --enable-libstdcxx-debug-flags=FLAGS
1566 pass compiler FLAGS when building debug library
1567 [default="-gdwarf-4 -g3 -O0"]
1568 --enable-libstdcxx-debug
1569 build extra debug library [default=no]
1570 --enable-cxx-flags=FLAGS
1571 pass compiler FLAGS when building library [default=]
1572 --enable-fully-dynamic-string
1573 do not put empty strings in per-process static
1574 memory [default=no]
1575 --enable-extern-template
1576 enable extern template [default=yes]
1577 --enable-werror turns on -Werror [default=yes]
1578 --enable-vtable-verify enable vtable verify [default=no]
1579 --enable-libstdcxx-time[=KIND]
1580 use KIND for check type [default=auto]
1581 --enable-tls Use thread-local storage [default=yes]
1582 --disable-rpath do not hardcode runtime library paths
1583 --enable-linux-futex use the Linux futex system call [default=default]
1584 --enable-symvers[=STYLE]
1585 enables symbol versioning of the shared library
1586 [default=yes]
1587 --enable-libstdcxx-visibility
1588 enables visibility safe usage [default=yes]
1589 --enable-libstdcxx-dual-abi
1590 support two versions of std::string [default=yes]
1591 --enable-libstdcxx-threads
1592 enable C++11 threads support [default=auto]
1593 --enable-libstdcxx-filesystem-ts
1594 turns on ISO/IEC TS 18822 support [default=auto]
1595 --enable-version-specific-runtime-libs
1596 Specify that runtime libraries should be installed
1597 in a compiler-specific directory
1598
1599 Optional Packages:
1600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1602 --with-target-subdir=SUBDIR
1603 configuring in a subdirectory
1604 --with-cross-host=HOST configuring with a cross compiler
1605 --with-newlib assume newlib as a system C library
1606 --with-pic try to use only PIC/non-PIC objects [default=use
1607 both]
1608 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1609 --with-python-dir the location to install Python modules. This path is
1610 relative starting from the prefix.
1611 --with-gnu-ld assume the C compiler uses GNU ld default=no
1612 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1613 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1614 --with-system-libunwind use installed libunwind
1615 --with-default-libstdcxx-abi
1616 set the std::string ABI to use by default
1617 --with-gxx-include-dir=DIR
1618 installation directory for include files
1619
1620 Some influential environment variables:
1621 CC C compiler command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1624 nonstandard directory <lib dir>
1625 LIBS libraries to pass to the linker, e.g. -l<library>
1626 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1628 CXX C++ compiler command
1629 CXXFLAGS C++ compiler flags
1630 CPP C preprocessor
1631 CXXCPP C++ preprocessor
1632 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1633 `c++filt', `gc++filt' on PATH.
1634
1635 Use these variables to override the choices made by `configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1637
1638 Report bugs to the package provider.
1639 _ACEOF
1640 ac_status=$?
1641 fi
1642
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 continue
1649 ac_builddir=.
1650
1651 case "$ac_dir" in
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *)
1654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 esac ;;
1661 esac
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1666
1667 case $srcdir in
1668 .) # We are building in place.
1669 ac_srcdir=.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1676 *) # Relative name.
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 esac
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1689 echo &&
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1691 else
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 fi || ac_status=$?
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1695 done
1696 fi
1697
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1700 cat <<\_ACEOF
1701 package-unused configure version-unused
1702 generated by GNU Autoconf 2.64
1703
1704 Copyright (C) 2009 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1707 _ACEOF
1708 exit
1709 fi
1710
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1714
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1719 {
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1723 case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1735 fi
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1741 ac_retval=0
1742 else
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1745
1746 ac_retval=1
1747 fi
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 return $ac_retval
1750
1751 } # ac_fn_c_try_compile
1752
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1757 {
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1761 case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1768 ac_status=$?
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1773 fi
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784 ac_retval=1
1785 fi
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 return $ac_retval
1788
1789 } # ac_fn_cxx_try_compile
1790
1791 # ac_fn_c_try_cpp LINENO
1792 # ----------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_cpp ()
1795 {
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 case "(($ac_try" in
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1801 esac
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 ac_status=$?
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1810 fi
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } >/dev/null && {
1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821 ac_retval=1
1822 fi
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 return $ac_retval
1825
1826 } # ac_fn_c_try_cpp
1827
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1832 {
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1848 fi
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1861
1862 ac_retval=1
1863 fi
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 return $ac_retval
1871
1872 } # ac_fn_c_try_link
1873
1874 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists and can be compiled using the include files in
1877 # INCLUDES, setting the cache variable VAR accordingly.
1878 ac_fn_c_check_header_compile ()
1879 {
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 $4
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 eval "$3=yes"
1893 else
1894 eval "$3=no"
1895 fi
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 fi
1898 eval ac_res=\$$3
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902
1903 } # ac_fn_c_check_header_compile
1904
1905 # ac_fn_c_try_run LINENO
1906 # ----------------------
1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1908 # that executables *can* be run.
1909 ac_fn_c_try_run ()
1910 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if { { ac_try="$ac_link"
1913 case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_link") 2>&5
1920 ac_status=$?
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1923 { { case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_try") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; }; }; then :
1933 ac_retval=0
1934 else
1935 $as_echo "$as_me: program exited with status $ac_status" >&5
1936 $as_echo "$as_me: failed program was:" >&5
1937 sed 's/^/| /' conftest.$ac_ext >&5
1938
1939 ac_retval=$ac_status
1940 fi
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 return $ac_retval
1944
1945 } # ac_fn_c_try_run
1946
1947 # ac_fn_c_check_func LINENO FUNC VAR
1948 # ----------------------------------
1949 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1950 ac_fn_c_check_func ()
1951 {
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956 $as_echo_n "(cached) " >&6
1957 else
1958 if test x$gcc_no_link = xyes; then
1959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 fi
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1965 #define $2 innocuous_$2
1966
1967 /* System header to define __stub macros and hopefully few prototypes,
1968 which can conflict with char $2 (); below.
1969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1970 <limits.h> exists even on freestanding compilers. */
1971
1972 #ifdef __STDC__
1973 # include <limits.h>
1974 #else
1975 # include <assert.h>
1976 #endif
1977
1978 #undef $2
1979
1980 /* Override any GCC internal prototype to avoid an error.
1981 Use char because int might match the return type of a GCC
1982 builtin and then its argument prototype would still apply. */
1983 #ifdef __cplusplus
1984 extern "C"
1985 #endif
1986 char $2 ();
1987 /* The GNU C library defines this for functions which it implements
1988 to always fail with ENOSYS. Some functions are actually named
1989 something starting with __ and the normal name is an alias. */
1990 #if defined __stub_$2 || defined __stub___$2
1991 choke me
1992 #endif
1993
1994 int
1995 main ()
1996 {
1997 return $2 ();
1998 ;
1999 return 0;
2000 }
2001 _ACEOF
2002 if ac_fn_c_try_link "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext \
2008 conftest$ac_exeext conftest.$ac_ext
2009 fi
2010 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014
2015 } # ac_fn_c_check_func
2016
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031 ac_status=$?
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2036 fi
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } >/dev/null && {
2039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047 ac_retval=1
2048 fi
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 return $ac_retval
2051
2052 } # ac_fn_cxx_try_cpp
2053
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2058 {
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2062 case "(($ac_try" in
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2065 esac
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2069 ac_status=$?
2070 if test -s conftest.err; then
2071 grep -v '^ *+' conftest.err >conftest.er1
2072 cat conftest.er1 >&5
2073 mv -f conftest.er1 conftest.err
2074 fi
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_cxx_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 $as_test_x conftest$ac_exeext
2082 }; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2087
2088 ac_retval=1
2089 fi
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 return $ac_retval
2097
2098 } # ac_fn_cxx_try_link
2099
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2106 {
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112 $as_echo_n "(cached) " >&6
2113 fi
2114 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 $4
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2128 else
2129 ac_header_compiler=no
2130 fi
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2134
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2144 else
2145 ac_header_preproc=no
2146 fi
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2150
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 yes:no: )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 ;;
2159 no:yes:* )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 ;;
2171 esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 eval "$3=\$ac_header_compiler"
2178 fi
2179 eval ac_res=\$$3
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2182 fi
2183 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184
2185 } # ac_fn_c_check_header_mongrel
2186
2187 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2188 # ---------------------------------------------------------
2189 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2190 # the include files in INCLUDES and setting the cache variable VAR
2191 # accordingly.
2192 ac_fn_cxx_check_header_mongrel ()
2193 {
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2200 fi
2201 eval ac_res=\$$3
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 $as_echo "$ac_res" >&6; }
2204 else
2205 # Is the header compilable?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2207 $as_echo_n "checking $2 usability... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 $4
2211 #include <$2>
2212 _ACEOF
2213 if ac_fn_cxx_try_compile "$LINENO"; then :
2214 ac_header_compiler=yes
2215 else
2216 ac_header_compiler=no
2217 fi
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2220 $as_echo "$ac_header_compiler" >&6; }
2221
2222 # Is the header present?
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2224 $as_echo_n "checking $2 presence... " >&6; }
2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h. */
2227 #include <$2>
2228 _ACEOF
2229 if ac_fn_cxx_try_cpp "$LINENO"; then :
2230 ac_header_preproc=yes
2231 else
2232 ac_header_preproc=no
2233 fi
2234 rm -f conftest.err conftest.$ac_ext
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2236 $as_echo "$ac_header_preproc" >&6; }
2237
2238 # So? What about this header?
2239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2240 yes:no: )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2242 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 ;;
2246 no:yes:* )
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2248 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2250 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2252 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2254 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2256 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 ;;
2258 esac
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2261 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2263 else
2264 eval "$3=\$ac_header_compiler"
2265 fi
2266 eval ac_res=\$$3
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 fi
2270 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271
2272 } # ac_fn_cxx_check_header_mongrel
2273
2274 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2275 # --------------------------------------------
2276 # Tries to find the compile-time value of EXPR in a program that includes
2277 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2278 # computed
2279 ac_fn_c_compute_int ()
2280 {
2281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2282 if test "$cross_compiling" = yes; then
2283 # Depending upon the size, compute the lo and hi bounds.
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2286 $4
2287 int
2288 main ()
2289 {
2290 static int test_array [1 - 2 * !(($2) >= 0)];
2291 test_array [0] = 0
2292
2293 ;
2294 return 0;
2295 }
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_lo=0 ac_mid=0
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2302 $4
2303 int
2304 main ()
2305 {
2306 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 test_array [0] = 0
2308
2309 ;
2310 return 0;
2311 }
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_hi=$ac_mid; break
2315 else
2316 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2317 if test $ac_lo -le $ac_mid; then
2318 ac_lo= ac_hi=
2319 break
2320 fi
2321 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 fi
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2328 $4
2329 int
2330 main ()
2331 {
2332 static int test_array [1 - 2 * !(($2) < 0)];
2333 test_array [0] = 0
2334
2335 ;
2336 return 0;
2337 }
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_hi=-1 ac_mid=-1
2341 while :; do
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2344 $4
2345 int
2346 main ()
2347 {
2348 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2349 test_array [0] = 0
2350
2351 ;
2352 return 0;
2353 }
2354 _ACEOF
2355 if ac_fn_c_try_compile "$LINENO"; then :
2356 ac_lo=$ac_mid; break
2357 else
2358 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2359 if test $ac_mid -le $ac_hi; then
2360 ac_lo= ac_hi=
2361 break
2362 fi
2363 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 fi
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 else
2368 ac_lo= ac_hi=
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 fi
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 # Binary search between lo and hi bounds.
2374 while test "x$ac_lo" != "x$ac_hi"; do
2375 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2378 $4
2379 int
2380 main ()
2381 {
2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2383 test_array [0] = 0
2384
2385 ;
2386 return 0;
2387 }
2388 _ACEOF
2389 if ac_fn_c_try_compile "$LINENO"; then :
2390 ac_hi=$ac_mid
2391 else
2392 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 fi
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 done
2396 case $ac_lo in #((
2397 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2398 '') ac_retval=1 ;;
2399 esac
2400 else
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2403 $4
2404 static long int longval () { return $2; }
2405 static unsigned long int ulongval () { return $2; }
2406 #include <stdio.h>
2407 #include <stdlib.h>
2408 int
2409 main ()
2410 {
2411
2412 FILE *f = fopen ("conftest.val", "w");
2413 if (! f)
2414 return 1;
2415 if (($2) < 0)
2416 {
2417 long int i = longval ();
2418 if (i != ($2))
2419 return 1;
2420 fprintf (f, "%ld", i);
2421 }
2422 else
2423 {
2424 unsigned long int i = ulongval ();
2425 if (i != ($2))
2426 return 1;
2427 fprintf (f, "%lu", i);
2428 }
2429 /* Do not output a trailing newline, as this causes \r\n confusion
2430 on some platforms. */
2431 return ferror (f) || fclose (f) != 0;
2432
2433 ;
2434 return 0;
2435 }
2436 _ACEOF
2437 if ac_fn_c_try_run "$LINENO"; then :
2438 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2439 else
2440 ac_retval=1
2441 fi
2442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2443 conftest.$ac_objext conftest.beam conftest.$ac_ext
2444 rm -f conftest.val
2445
2446 fi
2447 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2448 return $ac_retval
2449
2450 } # ac_fn_c_compute_int
2451
2452 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2453 # -------------------------------------------
2454 # Tests whether TYPE exists after having included INCLUDES, setting cache
2455 # variable VAR accordingly.
2456 ac_fn_c_check_type ()
2457 {
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2462 $as_echo_n "(cached) " >&6
2463 else
2464 eval "$3=no"
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2467 $4
2468 int
2469 main ()
2470 {
2471 if (sizeof ($2))
2472 return 0;
2473 ;
2474 return 0;
2475 }
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2480 $4
2481 int
2482 main ()
2483 {
2484 if (sizeof (($2)))
2485 return 0;
2486 ;
2487 return 0;
2488 }
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2491
2492 else
2493 eval "$3=yes"
2494 fi
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 fi
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 fi
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503
2504 } # ac_fn_c_check_type
2505
2506 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2507 # ---------------------------------------------
2508 # Tests whether TYPE exists after having included INCLUDES, setting cache
2509 # variable VAR accordingly.
2510 ac_fn_cxx_check_type ()
2511 {
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2514 $as_echo_n "checking for $2... " >&6; }
2515 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 eval "$3=no"
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2521 $4
2522 int
2523 main ()
2524 {
2525 if (sizeof ($2))
2526 return 0;
2527 ;
2528 return 0;
2529 }
2530 _ACEOF
2531 if ac_fn_cxx_try_compile "$LINENO"; then :
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2534 $4
2535 int
2536 main ()
2537 {
2538 if (sizeof (($2)))
2539 return 0;
2540 ;
2541 return 0;
2542 }
2543 _ACEOF
2544 if ac_fn_cxx_try_compile "$LINENO"; then :
2545
2546 else
2547 eval "$3=yes"
2548 fi
2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 fi
2551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 fi
2553 eval ac_res=\$$3
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557
2558 } # ac_fn_cxx_check_type
2559 cat >config.log <<_ACEOF
2560 This file contains any messages produced by compilers while
2561 running configure, to aid debugging if configure makes a mistake.
2562
2563 It was created by package-unused $as_me version-unused, which was
2564 generated by GNU Autoconf 2.64. Invocation command line was
2565
2566 $ $0 $@
2567
2568 _ACEOF
2569 exec 5>>config.log
2570 {
2571 cat <<_ASUNAME
2572 ## --------- ##
2573 ## Platform. ##
2574 ## --------- ##
2575
2576 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2577 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2578 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2579 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2580 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581
2582 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2583 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584
2585 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2586 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2587 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2588 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2589 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2590 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2591 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592
2593 _ASUNAME
2594
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2597 do
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 $as_echo "PATH: $as_dir"
2601 done
2602 IFS=$as_save_IFS
2603
2604 } >&5
2605
2606 cat >&5 <<_ACEOF
2607
2608
2609 ## ----------- ##
2610 ## Core tests. ##
2611 ## ----------- ##
2612
2613 _ACEOF
2614
2615
2616 # Keep a trace of the command line.
2617 # Strip out --no-create and --no-recursion so they do not pile up.
2618 # Strip out --silent because we don't want to record it for future runs.
2619 # Also quote any args containing shell meta-characters.
2620 # Make two passes to allow for proper duplicate-argument suppression.
2621 ac_configure_args=
2622 ac_configure_args0=
2623 ac_configure_args1=
2624 ac_must_keep_next=false
2625 for ac_pass in 1 2
2626 do
2627 for ac_arg
2628 do
2629 case $ac_arg in
2630 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2632 | -silent | --silent | --silen | --sile | --sil)
2633 continue ;;
2634 *\'*)
2635 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2636 esac
2637 case $ac_pass in
2638 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 2)
2640 as_fn_append ac_configure_args1 " '$ac_arg'"
2641 if test $ac_must_keep_next = true; then
2642 ac_must_keep_next=false # Got value, back to normal.
2643 else
2644 case $ac_arg in
2645 *=* | --config-cache | -C | -disable-* | --disable-* \
2646 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2647 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2648 | -with-* | --with-* | -without-* | --without-* | --x)
2649 case "$ac_configure_args0 " in
2650 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2651 esac
2652 ;;
2653 -* ) ac_must_keep_next=true ;;
2654 esac
2655 fi
2656 as_fn_append ac_configure_args " '$ac_arg'"
2657 ;;
2658 esac
2659 done
2660 done
2661 { ac_configure_args0=; unset ac_configure_args0;}
2662 { ac_configure_args1=; unset ac_configure_args1;}
2663
2664 # When interrupted or exit'd, cleanup temporary files, and complete
2665 # config.log. We remove comments because anyway the quotes in there
2666 # would cause problems or look ugly.
2667 # WARNING: Use '\'' to represent an apostrophe within the trap.
2668 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2669 trap 'exit_status=$?
2670 # Save into config.log some information that might help in debugging.
2671 {
2672 echo
2673
2674 cat <<\_ASBOX
2675 ## ---------------- ##
2676 ## Cache variables. ##
2677 ## ---------------- ##
2678 _ASBOX
2679 echo
2680 # The following way of writing the cache mishandles newlines in values,
2681 (
2682 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2683 eval ac_val=\$$ac_var
2684 case $ac_val in #(
2685 *${as_nl}*)
2686 case $ac_var in #(
2687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2689 esac
2690 case $ac_var in #(
2691 _ | IFS | as_nl) ;; #(
2692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2693 *) { eval $ac_var=; unset $ac_var;} ;;
2694 esac ;;
2695 esac
2696 done
2697 (set) 2>&1 |
2698 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2699 *${as_nl}ac_space=\ *)
2700 sed -n \
2701 "s/'\''/'\''\\\\'\'''\''/g;
2702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2703 ;; #(
2704 *)
2705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 ;;
2707 esac |
2708 sort
2709 )
2710 echo
2711
2712 cat <<\_ASBOX
2713 ## ----------------- ##
2714 ## Output variables. ##
2715 ## ----------------- ##
2716 _ASBOX
2717 echo
2718 for ac_var in $ac_subst_vars
2719 do
2720 eval ac_val=\$$ac_var
2721 case $ac_val in
2722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2723 esac
2724 $as_echo "$ac_var='\''$ac_val'\''"
2725 done | sort
2726 echo
2727
2728 if test -n "$ac_subst_files"; then
2729 cat <<\_ASBOX
2730 ## ------------------- ##
2731 ## File substitutions. ##
2732 ## ------------------- ##
2733 _ASBOX
2734 echo
2735 for ac_var in $ac_subst_files
2736 do
2737 eval ac_val=\$$ac_var
2738 case $ac_val in
2739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2740 esac
2741 $as_echo "$ac_var='\''$ac_val'\''"
2742 done | sort
2743 echo
2744 fi
2745
2746 if test -s confdefs.h; then
2747 cat <<\_ASBOX
2748 ## ----------- ##
2749 ## confdefs.h. ##
2750 ## ----------- ##
2751 _ASBOX
2752 echo
2753 cat confdefs.h
2754 echo
2755 fi
2756 test "$ac_signal" != 0 &&
2757 $as_echo "$as_me: caught signal $ac_signal"
2758 $as_echo "$as_me: exit $exit_status"
2759 } >&5
2760 rm -f core *.core core.conftest.* &&
2761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2762 exit $exit_status
2763 ' 0
2764 for ac_signal in 1 2 13 15; do
2765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2766 done
2767 ac_signal=0
2768
2769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2770 rm -f -r conftest* confdefs.h
2771
2772 $as_echo "/* confdefs.h */" > confdefs.h
2773
2774 # Predefined preprocessor variables.
2775
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_NAME "$PACKAGE_NAME"
2778 _ACEOF
2779
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2782 _ACEOF
2783
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2786 _ACEOF
2787
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_STRING "$PACKAGE_STRING"
2790 _ACEOF
2791
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2794 _ACEOF
2795
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_URL "$PACKAGE_URL"
2798 _ACEOF
2799
2800
2801 # Let the site file select an alternate cache file if it wants to.
2802 # Prefer an explicitly selected file to automatically selected ones.
2803 ac_site_file1=NONE
2804 ac_site_file2=NONE
2805 if test -n "$CONFIG_SITE"; then
2806 ac_site_file1=$CONFIG_SITE
2807 elif test "x$prefix" != xNONE; then
2808 ac_site_file1=$prefix/share/config.site
2809 ac_site_file2=$prefix/etc/config.site
2810 else
2811 ac_site_file1=$ac_default_prefix/share/config.site
2812 ac_site_file2=$ac_default_prefix/etc/config.site
2813 fi
2814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 do
2816 test "x$ac_site_file" = xNONE && continue
2817 if test -r "$ac_site_file"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2820 sed 's/^/| /' "$ac_site_file" >&5
2821 . "$ac_site_file"
2822 fi
2823 done
2824
2825 if test -r "$cache_file"; then
2826 # Some versions of bash will fail to source /dev/null (special
2827 # files actually), so we avoid doing that.
2828 if test -f "$cache_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2830 $as_echo "$as_me: loading cache $cache_file" >&6;}
2831 case $cache_file in
2832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2833 *) . "./$cache_file";;
2834 esac
2835 fi
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2838 $as_echo "$as_me: creating cache $cache_file" >&6;}
2839 >$cache_file
2840 fi
2841
2842 # Check that the precious variables saved in the cache have kept the same
2843 # value.
2844 ac_cache_corrupted=false
2845 for ac_var in $ac_precious_vars; do
2846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2847 eval ac_new_set=\$ac_env_${ac_var}_set
2848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2849 eval ac_new_val=\$ac_env_${ac_var}_value
2850 case $ac_old_set,$ac_new_set in
2851 set,)
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2854 ac_cache_corrupted=: ;;
2855 ,set)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2858 ac_cache_corrupted=: ;;
2859 ,);;
2860 *)
2861 if test "x$ac_old_val" != "x$ac_new_val"; then
2862 # differences in whitespace do not lead to failure.
2863 ac_old_val_w=`echo x $ac_old_val`
2864 ac_new_val_w=`echo x $ac_new_val`
2865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2868 ac_cache_corrupted=:
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2872 eval $ac_var=\$ac_old_val
2873 fi
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2878 fi;;
2879 esac
2880 # Pass precious variables to config.status.
2881 if test "$ac_new_set" = set; then
2882 case $ac_new_val in
2883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2884 *) ac_arg=$ac_var=$ac_new_val ;;
2885 esac
2886 case " $ac_configure_args " in
2887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2889 esac
2890 fi
2891 done
2892 if $ac_cache_corrupted; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2897 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 fi
2899 ## -------------------- ##
2900 ## Main body of script. ##
2901 ## -------------------- ##
2902
2903 ac_ext=c
2904 ac_cpp='$CPP $CPPFLAGS'
2905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2908
2909
2910
2911
2912
2913
2914 ac_config_headers="$ac_config_headers config.h"
2915
2916
2917 # This works around the fact that libtool configuration may change LD
2918 # for this particular configuration, but some shells, instead of
2919 # keeping the changes in LD private, export them just because LD is
2920 # exported. Only used at the end of this file.
2921 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922
2923 # Find the rest of the source tree framework.
2924 # Default to --enable-multilib
2925 # Check whether --enable-multilib was given.
2926 if test "${enable_multilib+set}" = set; then :
2927 enableval=$enable_multilib; case "$enableval" in
2928 yes) multilib=yes ;;
2929 no) multilib=no ;;
2930 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2931 esac
2932 else
2933 multilib=yes
2934 fi
2935
2936
2937 # We may get other options which we leave undocumented:
2938 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2939 # See config-ml.in if you want the gory details.
2940
2941 if test "$srcdir" = "."; then
2942 if test "$with_target_subdir" != "."; then
2943 multi_basedir="$srcdir/$with_multisrctop../.."
2944 else
2945 multi_basedir="$srcdir/$with_multisrctop.."
2946 fi
2947 else
2948 multi_basedir="$srcdir/.."
2949 fi
2950
2951
2952 # Even if the default multilib is not a cross compilation,
2953 # it may be that some of the other multilibs are.
2954 if test $cross_compiling = no && test $multilib = yes \
2955 && test "x${with_multisubdir}" != x ; then
2956 cross_compiling=maybe
2957 fi
2958
2959 ac_config_commands="$ac_config_commands default-1"
2960
2961
2962 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 #
2964 # You will slowly go insane if you do not grok the following fact: when
2965 # building v3 as part of the compiler, the top-level /target/ becomes the
2966 # library's /host/. configure then causes --target to default to --host,
2967 # exactly like any other package using autoconf. Therefore, 'target' and
2968 # 'host' will always be the same. This makes sense both for native and
2969 # cross compilers, just think about it for a little while. :-)
2970 #
2971 # Also, if v3 is being configured as part of a cross compiler, the top-level
2972 # configure script will pass the "real" host as $with_cross_host.
2973 #
2974 # Do not delete or change the following two lines. For why, see
2975 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2976 ac_aux_dir=
2977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2978 for ac_t in install-sh install.sh shtool; do
2979 if test -f "$ac_dir/$ac_t"; then
2980 ac_aux_dir=$ac_dir
2981 ac_install_sh="$ac_aux_dir/$ac_t -c"
2982 break 2
2983 fi
2984 done
2985 done
2986 if test -z "$ac_aux_dir"; then
2987 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2988 fi
2989
2990 # These three variables are undocumented and unsupported,
2991 # and are intended to be withdrawn in a future Autoconf release.
2992 # They can cause serious problems if a builder's source tree is in a directory
2993 # whose full name contains unusual characters.
2994 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2995 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2996 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2997
2998
2999 # Make sure we can run config.sub.
3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3001 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3004 $as_echo_n "checking build system type... " >&6; }
3005 if test "${ac_cv_build+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 ac_build_alias=$build_alias
3009 test "x$ac_build_alias" = x &&
3010 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3011 test "x$ac_build_alias" = x &&
3012 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3015
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3018 $as_echo "$ac_cv_build" >&6; }
3019 case $ac_cv_build in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3022 esac
3023 build=$ac_cv_build
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_build
3026 shift
3027 build_cpu=$1
3028 build_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 build_os=$*
3033 IFS=$ac_save_IFS
3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3035
3036
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3038 $as_echo_n "checking host system type... " >&6; }
3039 if test "${ac_cv_host+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 if test "x$host_alias" = x; then
3043 ac_cv_host=$ac_cv_build
3044 else
3045 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3047 fi
3048
3049 fi
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3051 $as_echo "$ac_cv_host" >&6; }
3052 case $ac_cv_host in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3055 esac
3056 host=$ac_cv_host
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_host
3059 shift
3060 host_cpu=$1
3061 host_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 host_os=$*
3066 IFS=$ac_save_IFS
3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3068
3069
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3071 $as_echo_n "checking target system type... " >&6; }
3072 if test "${ac_cv_target+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 if test "x$target_alias" = x; then
3076 ac_cv_target=$ac_cv_host
3077 else
3078 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3079 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3080 fi
3081
3082 fi
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3084 $as_echo "$ac_cv_target" >&6; }
3085 case $ac_cv_target in
3086 *-*-*) ;;
3087 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3088 esac
3089 target=$ac_cv_target
3090 ac_save_IFS=$IFS; IFS='-'
3091 set x $ac_cv_target
3092 shift
3093 target_cpu=$1
3094 target_vendor=$2
3095 shift; shift
3096 # Remember, the first character of IFS is used to create $*,
3097 # except with old shells:
3098 target_os=$*
3099 IFS=$ac_save_IFS
3100 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3101
3102
3103 # The aliases save the names the user supplied, while $host etc.
3104 # will get canonicalized.
3105 test -n "$target_alias" &&
3106 test "$program_prefix$program_suffix$program_transform_name" = \
3107 NONENONEs,x,x, &&
3108 program_prefix=${target_alias}-
3109
3110 target_alias=${target_alias-$host_alias}
3111
3112 # Handy for debugging:
3113 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114
3115 if test "$build" != "$host"; then
3116 # We are being configured with some form of cross compiler.
3117 GLIBCXX_IS_NATIVE=false
3118 case "$host","$target" in
3119 # Darwin crosses can use the host system's libraries and headers,
3120 # because of the fat library support. Of course, it must be the
3121 # same version of Darwin on both sides. Allow the user to
3122 # just say --target=foo-darwin without a version number to mean
3123 # "the version on this system".
3124 *-*-darwin*,*-*-darwin*)
3125 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3126 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3127 if test $hostos = $targetos -o $targetos = darwin ; then
3128 GLIBCXX_IS_NATIVE=true
3129 fi
3130 ;;
3131
3132 *)
3133
3134 ;;
3135 esac
3136 else
3137 GLIBCXX_IS_NATIVE=true
3138 fi
3139
3140 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3141 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3142 # 1.x: minimum required version
3143 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3144 # of other PACKAGE_* variables will, however, and there's nothing
3145 # we can do about that; they come from AC_INIT).
3146 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3147 # file in the top srcdir, etc, etc), so stop complaining.
3148 # no-dependencies: turns off auto dependency generation (just for now)
3149 # no-dist: we don't want 'dist' and related rules.
3150 # -Wall: turns on all automake warnings...
3151 # -Wno-portability: ...except this one, since GNU make is now required.
3152 am__api_version='1.11'
3153
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3160 # AIX /bin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3176 do
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3184 /usr/ucb/* ) ;;
3185 *)
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3188 # by default.
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3195 :
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3199 :
3200 else
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3204 mkdir conftest.dir
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3209 then
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3211 break 3
3212 fi
3213 fi
3214 fi
3215 done
3216 done
3217 ;;
3218 esac
3219
3220 done
3221 IFS=$as_save_IFS
3222
3223 rm -rf conftest.one conftest.two conftest.dir
3224
3225 fi
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3228 else
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3234 fi
3235 fi
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3238
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3249 # Just in case
3250 sleep 1
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3254 am_lf='
3255 '
3256 case `pwd` in
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3259 esac
3260 case $srcdir in
3261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3263 esac
3264
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3269 # directory).
3270 if (
3271 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3273 # -L didn't work.
3274 set X `ls -t "$srcdir/configure" conftest.file`
3275 fi
3276 rm -f conftest.file
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3279
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3286 fi
3287
3288 test "$2" = conftest.file
3289 )
3290 then
3291 # Ok.
3292 :
3293 else
3294 as_fn_error "newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3296 fi
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE &&
3300 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE &&
3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir=`cd $ac_aux_dir && pwd`
3311
3312 if test x"${MISSING+set}" != xset; then
3313 case $am_aux_dir in
3314 *\ * | *\ *)
3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 *)
3317 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3318 esac
3319 fi
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run="$MISSING --run "
3323 else
3324 am_missing_run=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3327 fi
3328
3329 if test x"${install_sh}" != xset; then
3330 case $am_aux_dir in
3331 *\ * | *\ *)
3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 *)
3334 install_sh="\${SHELL} $am_aux_dir/install-sh"
3335 esac
3336 fi
3337
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}strip; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3356 do
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3364 fi
3365 done
3366 done
3367 IFS=$as_save_IFS
3368
3369 fi
3370 fi
3371 STRIP=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3375 else
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3378 fi
3379
3380
3381 fi
3382 if test -z "$ac_cv_prog_STRIP"; then
3383 ac_ct_STRIP=$STRIP
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3390 else
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3396 do
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3404 fi
3405 done
3406 done
3407 IFS=$as_save_IFS
3408
3409 fi
3410 fi
3411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3415 else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3418 fi
3419
3420 if test "x$ac_ct_STRIP" = x; then
3421 STRIP=":"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3428 esac
3429 STRIP=$ac_ct_STRIP
3430 fi
3431 else
3432 STRIP="$ac_cv_prog_STRIP"
3433 fi
3434
3435 fi
3436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 do
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_prog in mkdir gmkdir; do
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3457 break 3;;
3458 esac
3459 done
3460 done
3461 done
3462 IFS=$as_save_IFS
3463
3464 fi
3465
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P="$ac_cv_path_mkdir -p"
3468 else
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d ./--version && rmdir ./--version
3474 MKDIR_P="$ac_install_sh -d"
3475 fi
3476 fi
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3479
3480 mkdir_p="$MKDIR_P"
3481 case $mkdir_p in
3482 [\\/$]* | ?:[\\/]*) ;;
3483 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3484 esac
3485
3486 for ac_prog in gawk mawk nawk awk
3487 do
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3497 else
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3500 do
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 break 2
3508 fi
3509 done
3510 done
3511 IFS=$as_save_IFS
3512
3513 fi
3514 fi
3515 AWK=$ac_cv_prog_AWK
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3519 else
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3522 fi
3523
3524
3525 test -n "$AWK" && break
3526 done
3527
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3530 set x ${MAKE-make}
3531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3534 else
3535 cat >conftest.make <<\_ACEOF
3536 SHELL = /bin/sh
3537 all:
3538 @echo '@@@%%%=$(MAKE)=@@@%%%'
3539 _ACEOF
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3542 *@@@%%%=?*=@@@%%%*)
3543 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 *)
3545 eval ac_cv_prog_make_${ac_make}_set=no;;
3546 esac
3547 rm -f conftest.make
3548 fi
3549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3552 SET_MAKE=
3553 else
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE="MAKE=${MAKE-make}"
3557 fi
3558
3559 rm -rf .tst 2>/dev/null
3560 mkdir .tst 2>/dev/null
3561 if test -d .tst; then
3562 am__leading_dot=.
3563 else
3564 am__leading_dot=_
3565 fi
3566 rmdir .tst 2>/dev/null
3567
3568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3569 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3570 # is not polluted with repeated "-I."
3571 am__isrc=' -I$(srcdir)'
3572 # test to see if srcdir already configured
3573 if test -f $srcdir/config.status; then
3574 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3575 fi
3576 fi
3577
3578 # test whether we have cygpath
3579 if test -z "$CYGPATH_W"; then
3580 if (cygpath --version) >/dev/null 2>/dev/null; then
3581 CYGPATH_W='cygpath -w'
3582 else
3583 CYGPATH_W=echo
3584 fi
3585 fi
3586
3587
3588 # Define the identity of the package.
3589 PACKAGE='libstdc++'
3590 VERSION='version-unused'
3591
3592
3593 # Some tools Automake needs.
3594
3595 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3596
3597
3598 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3599
3600
3601 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3602
3603
3604 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3605
3606
3607 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608
3609 # We need awk for the "check" target. The system "awk" is bad on
3610 # some platforms.
3611 # Always define AMTAR for backward compatibility. Yes, it's still used
3612 # in the wild :-( We should find a proper way to deprecate it ...
3613 AMTAR='$${TAR-tar}'
3614
3615 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3616
3617
3618
3619
3620
3621
3622
3623
3624 # -fno-builtin must be present here so that a non-conflicting form of
3625 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626
3627 save_CXXFLAGS="$CXXFLAGS"
3628 CXXFLAGS="$CXXFLAGS -fno-builtin"
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3647 do
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3655 fi
3656 done
3657 done
3658 IFS=$as_save_IFS
3659
3660 fi
3661 fi
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 fi
3670
3671
3672 fi
3673 if test -z "$ac_cv_prog_CC"; then
3674 ac_ct_CC=$CC
3675 # Extract the first word of "gcc", so it can be a program name with args.
3676 set dummy gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$ac_ct_CC"; then
3683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3687 do
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_CC="gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3695 fi
3696 done
3697 done
3698 IFS=$as_save_IFS
3699
3700 fi
3701 fi
3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703 if test -n "$ac_ct_CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705 $as_echo "$ac_ct_CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3709 fi
3710
3711 if test "x$ac_ct_CC" = x; then
3712 CC=""
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720 CC=$ac_ct_CC
3721 fi
3722 else
3723 CC="$ac_cv_prog_CC"
3724 fi
3725
3726 if test -z "$CC"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3740 do
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC="${ac_tool_prefix}cc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3748 fi
3749 done
3750 done
3751 IFS=$as_save_IFS
3752
3753 fi
3754 fi
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3762 fi
3763
3764
3765 fi
3766 fi
3767 if test -z "$CC"; then
3768 # Extract the first word of "cc", so it can be a program name with args.
3769 set dummy cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if test "${ac_cv_prog_CC+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 ac_prog_rejected=no
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3781 do
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3787 ac_prog_rejected=yes
3788 continue
3789 fi
3790 ac_cv_prog_CC="cc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3793 fi
3794 done
3795 done
3796 IFS=$as_save_IFS
3797
3798 if test $ac_prog_rejected = yes; then
3799 # We found a bogon in the path, so make sure we never use it.
3800 set dummy $ac_cv_prog_CC
3801 shift
3802 if test $# != 0; then
3803 # We chose a different compiler from the bogus one.
3804 # However, it has the same basename, so the bogon will be chosen
3805 # first if we set CC to just the basename; use the full file name.
3806 shift
3807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3808 fi
3809 fi
3810 fi
3811 fi
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3819 fi
3820
3821
3822 fi
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in cl.exe
3826 do
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test "${ac_cv_prog_CC+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3839 do
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3847 fi
3848 done
3849 done
3850 IFS=$as_save_IFS
3851
3852 fi
3853 fi
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3861 fi
3862
3863
3864 test -n "$CC" && break
3865 done
3866 fi
3867 if test -z "$CC"; then
3868 ac_ct_CC=$CC
3869 for ac_prog in cl.exe
3870 do
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3883 do
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_ac_ct_CC="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3891 fi
3892 done
3893 done
3894 IFS=$as_save_IFS
3895
3896 fi
3897 fi
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3905 fi
3906
3907
3908 test -n "$ac_ct_CC" && break
3909 done
3910
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3919 esac
3920 CC=$ac_ct_CC
3921 fi
3922 fi
3923
3924 fi
3925
3926
3927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3929 as_fn_error "no acceptable C compiler found in \$PATH
3930 See \`config.log' for more details." "$LINENO" 5; }
3931
3932 # Provide some information about the compiler.
3933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 set X $ac_compile
3935 ac_compiler=$2
3936 for ac_option in --version -v -V -qversion; do
3937 { { ac_try="$ac_compiler $ac_option >&5"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3945 ac_status=$?
3946 if test -s conftest.err; then
3947 sed '10a\
3948 ... rest of stderr output deleted ...
3949 10q' conftest.err >conftest.er1
3950 cat conftest.er1 >&5
3951 rm -f conftest.er1 conftest.err
3952 fi
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 done
3956
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3959
3960 int
3961 main ()
3962 {
3963
3964 ;
3965 return 0;
3966 }
3967 _ACEOF
3968 # FIXME: Cleanup?
3969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3970 (eval $ac_link) 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 gcc_no_link=no
3975 else
3976 gcc_no_link=yes
3977 fi
3978 if test x$gcc_no_link = xyes; then
3979 # Setting cross_compile will disable run tests; it will
3980 # also disable AC_CHECK_FILE but that's generally
3981 # correct if we can't link.
3982 cross_compiling=yes
3983 EXEEXT=
3984 else
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3987
3988 int
3989 main ()
3990 {
3991
3992 ;
3993 return 0;
3994 }
3995 _ACEOF
3996 ac_clean_files_save=$ac_clean_files
3997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3998 # Try to create an executable without -o first, disregard a.out.
3999 # It will help us diagnose broken compilers, and finding out an intuition
4000 # of exeext.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004
4005 # The possible output files:
4006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007
4008 ac_rmfiles=
4009 for ac_file in $ac_files
4010 do
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4014 esac
4015 done
4016 rm -f $ac_rmfiles
4017
4018 if { { ac_try="$ac_link_default"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link_default") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4030 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4031 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4032 # so that the user can short-circuit this test for compilers unknown to
4033 # Autoconf.
4034 for ac_file in $ac_files ''
4035 do
4036 test -f "$ac_file" || continue
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 ;;
4040 [ab].out )
4041 # We found the default executable, but exeext='' is most
4042 # certainly right.
4043 break;;
4044 *.* )
4045 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4046 then :; else
4047 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 fi
4049 # We set ac_cv_exeext here because the later test for it is not
4050 # safe: cross compilers may not add the suffix if given an `-o'
4051 # argument, so we may need to know it at that point already.
4052 # Even if this section looks crufty: it has the advantage of
4053 # actually working.
4054 break;;
4055 * )
4056 break;;
4057 esac
4058 done
4059 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060
4061 else
4062 ac_file=''
4063 fi
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4065 $as_echo "$ac_file" >&6; }
4066 if test -z "$ac_file"; then :
4067 $as_echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4069
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status 77
4073 as_fn_error "C compiler cannot create executables
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4075 fi
4076 ac_exeext=$ac_cv_exeext
4077
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 # If not cross compiling, check that we can run a simple program.
4083 if test "$cross_compiling" != yes; then
4084 if { ac_try='./$ac_file'
4085 { { case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_try") 2>&5
4092 ac_status=$?
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; }; then
4095 cross_compiling=no
4096 else
4097 if test "$cross_compiling" = maybe; then
4098 cross_compiling=yes
4099 else
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error "cannot run C compiled programs.
4103 If you meant to cross compile, use \`--host'.
4104 See \`config.log' for more details." "$LINENO" 5; }
4105 fi
4106 fi
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4110
4111 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4112 ac_clean_files=$ac_clean_files_save
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4119
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4121 $as_echo_n "checking for suffix of executables... " >&6; }
4122 if { { ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_link") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; then :
4133 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4134 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4135 # work properly (i.e., refer to `conftest.exe'), while it won't with
4136 # `rm'.
4137 for ac_file in conftest.exe conftest conftest.*; do
4138 test -f "$ac_file" || continue
4139 case $ac_file in
4140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4141 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 break;;
4143 * ) break;;
4144 esac
4145 done
4146 else
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error "cannot compute suffix of executables: cannot compile and link
4150 See \`config.log' for more details." "$LINENO" 5; }
4151 fi
4152 rm -f conftest$ac_cv_exeext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4154 $as_echo "$ac_cv_exeext" >&6; }
4155
4156 rm -f conftest.$ac_ext
4157 EXEEXT=$ac_cv_exeext
4158 ac_exeext=$EXEEXT
4159 fi
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if test "${ac_cv_objext+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167
4168 int
4169 main ()
4170 {
4171
4172 ;
4173 return 0;
4174 }
4175 _ACEOF
4176 rm -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4185 ac_status=$?
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 test -f "$ac_file" || continue;
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4193 break;;
4194 esac
4195 done
4196 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4199
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details." "$LINENO" 5; }
4204 fi
4205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 fi
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4210 ac_objext=$OBJEXT
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4218
4219 int
4220 main ()
4221 {
4222 #ifndef __GNUC__
4223 choke me
4224 #endif
4225
4226 ;
4227 return 0;
4228 }
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_compiler_gnu=yes
4232 else
4233 ac_compiler_gnu=no
4234 fi
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4237
4238 fi
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if test $ac_compiler_gnu = yes; then
4242 GCC=yes
4243 else
4244 GCC=
4245 fi
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if test "${ac_cv_prog_cc_g+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4255 ac_cv_prog_cc_g=no
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4259
4260 int
4261 main ()
4262 {
4263
4264 ;
4265 return 0;
4266 }
4267 _ACEOF
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270 else
4271 CFLAGS=""
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274
4275 int
4276 main ()
4277 {
4278
4279 ;
4280 return 0;
4281 }
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4284
4285 else
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4287 CFLAGS="-g"
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4290
4291 int
4292 main ()
4293 {
4294
4295 ;
4296 return 0;
4297 }
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_g=yes
4301 fi
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 fi
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 fi
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4308 fi
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if test "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif test $ac_cv_prog_cc_g = yes; then
4314 if test "$GCC" = yes; then
4315 CFLAGS="-g -O2"
4316 else
4317 CFLAGS="-g"
4318 fi
4319 else
4320 if test "$GCC" = yes; then
4321 CFLAGS="-O2"
4322 else
4323 CFLAGS=
4324 fi
4325 fi
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_cv_prog_cc_c89=no
4332 ac_save_CC=$CC
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdarg.h>
4336 #include <stdio.h>
4337 #include <sys/types.h>
4338 #include <sys/stat.h>
4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4340 struct buf { int x; };
4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4342 static char *e (p, i)
4343 char **p;
4344 int i;
4345 {
4346 return p[i];
4347 }
4348 static char *f (char * (*g) (char **, int), char **p, ...)
4349 {
4350 char *s;
4351 va_list v;
4352 va_start (v,p);
4353 s = g (p, va_arg (v,int));
4354 va_end (v);
4355 return s;
4356 }
4357
4358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4359 function prototypes and stuff, but not '\xHH' hex character constants.
4360 These don't provoke an error unfortunately, instead are silently treated
4361 as 'x'. The following induces an error, until -std is added to get
4362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4363 array size at least. It's necessary to write '\x00'==0 to get something
4364 that's true only with -std. */
4365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366
4367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4368 inside strings and character constants. */
4369 #define FOO(x) 'x'
4370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371
4372 int test (int i, double x);
4373 struct s1 {int (*f) (int a);};
4374 struct s2 {int (*f) (double a);};
4375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4376 int argc;
4377 char **argv;
4378 int
4379 main ()
4380 {
4381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 ;
4383 return 0;
4384 }
4385 _ACEOF
4386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 do
4389 CC="$ac_save_CC $ac_arg"
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 ac_cv_prog_cc_c89=$ac_arg
4392 fi
4393 rm -f core conftest.err conftest.$ac_objext
4394 test "x$ac_cv_prog_cc_c89" != "xno" && break
4395 done
4396 rm -f conftest.$ac_ext
4397 CC=$ac_save_CC
4398
4399 fi
4400 # AC_CACHE_VAL
4401 case "x$ac_cv_prog_cc_c89" in
4402 x)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4404 $as_echo "none needed" >&6; } ;;
4405 xno)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4407 $as_echo "unsupported" >&6; } ;;
4408 *)
4409 CC="$CC $ac_cv_prog_cc_c89"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4412 esac
4413 if test "x$ac_cv_prog_cc_c89" != xno; then :
4414
4415 fi
4416
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422
4423 ac_ext=cpp
4424 ac_cpp='$CXXCPP $CPPFLAGS'
4425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4428 if test -z "$CXX"; then
4429 if test -n "$CCC"; then
4430 CXX=$CCC
4431 else
4432 if test -n "$ac_tool_prefix"; then
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 do
4435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CXX+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$CXX"; then
4443 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4447 do
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4455 fi
4456 done
4457 done
4458 IFS=$as_save_IFS
4459
4460 fi
4461 fi
4462 CXX=$ac_cv_prog_CXX
4463 if test -n "$CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4465 $as_echo "$CXX" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4469 fi
4470
4471
4472 test -n "$CXX" && break
4473 done
4474 fi
4475 if test -z "$CXX"; then
4476 ac_ct_CXX=$CXX
4477 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 do
4479 # Extract the first word of "$ac_prog", so it can be a program name with args.
4480 set dummy $ac_prog; ac_word=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 if test -n "$ac_ct_CXX"; then
4487 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_ac_ct_CXX="$ac_prog"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4499 fi
4500 done
4501 done
4502 IFS=$as_save_IFS
4503
4504 fi
4505 fi
4506 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4507 if test -n "$ac_ct_CXX"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4509 $as_echo "$ac_ct_CXX" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4513 fi
4514
4515
4516 test -n "$ac_ct_CXX" && break
4517 done
4518
4519 if test "x$ac_ct_CXX" = x; then
4520 CXX="g++"
4521 else
4522 case $cross_compiling:$ac_tool_warned in
4523 yes:)
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 CXX=$ac_ct_CXX
4529 fi
4530 fi
4531
4532 fi
4533 fi
4534 # Provide some information about the compiler.
4535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4536 set X $ac_compile
4537 ac_compiler=$2
4538 for ac_option in --version -v -V -qversion; do
4539 { { ac_try="$ac_compiler $ac_option >&5"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4547 ac_status=$?
4548 if test -s conftest.err; then
4549 sed '10a\
4550 ... rest of stderr output deleted ...
4551 10q' conftest.err >conftest.er1
4552 cat conftest.er1 >&5
4553 rm -f conftest.er1 conftest.err
4554 fi
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }
4557 done
4558
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4566
4567 int
4568 main ()
4569 {
4570 #ifndef __GNUC__
4571 choke me
4572 #endif
4573
4574 ;
4575 return 0;
4576 }
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_compiler_gnu=yes
4580 else
4581 ac_compiler_gnu=no
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4585
4586 fi
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4589 if test $ac_compiler_gnu = yes; then
4590 GXX=yes
4591 else
4592 GXX=
4593 fi
4594 ac_test_CXXFLAGS=${CXXFLAGS+set}
4595 ac_save_CXXFLAGS=$CXXFLAGS
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4598 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4602 ac_cxx_werror_flag=yes
4603 ac_cv_prog_cxx_g=no
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4607
4608 int
4609 main ()
4610 {
4611
4612 ;
4613 return 0;
4614 }
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4618 else
4619 CXXFLAGS=""
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4622
4623 int
4624 main ()
4625 {
4626
4627 ;
4628 return 0;
4629 }
4630 _ACEOF
4631 if ac_fn_cxx_try_compile "$LINENO"; then :
4632
4633 else
4634 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4635 CXXFLAGS="-g"
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638
4639 int
4640 main ()
4641 {
4642
4643 ;
4644 return 0;
4645 }
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_cv_prog_cxx_g=yes
4649 fi
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 fi
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 fi
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 fi
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4658 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4659 if test "$ac_test_CXXFLAGS" = set; then
4660 CXXFLAGS=$ac_save_CXXFLAGS
4661 elif test $ac_cv_prog_cxx_g = yes; then
4662 if test "$GXX" = yes; then
4663 CXXFLAGS="-g -O2"
4664 else
4665 CXXFLAGS="-g"
4666 fi
4667 else
4668 if test "$GXX" = yes; then
4669 CXXFLAGS="-O2"
4670 else
4671 CXXFLAGS=
4672 fi
4673 fi
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679
4680 CXXFLAGS="$save_CXXFLAGS"
4681
4682 # Runs configure.host, and assorted other critical bits. Sets
4683 # up critical shell variables.
4684
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4692 # On Suns, sometimes $CPP names a directory.
4693 if test -n "$CPP" && test -d "$CPP"; then
4694 CPP=
4695 fi
4696 if test -z "$CPP"; then
4697 if test "${ac_cv_prog_CPP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 # Double quotes because CPP needs to be expanded
4701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 do
4703 ac_preproc_ok=false
4704 for ac_c_preproc_warn_flag in '' yes
4705 do
4706 # Use a header file that comes with gcc, so configuring glibc
4707 # with a fresh cross-compiler works.
4708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709 # <limits.h> exists even on freestanding compilers.
4710 # On the NeXT, cc -E runs the code through the compiler's parser,
4711 # not just through cpp. "Syntax error" is here to catch this case.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #ifdef __STDC__
4715 # include <limits.h>
4716 #else
4717 # include <assert.h>
4718 #endif
4719 Syntax error
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4722
4723 else
4724 # Broken: fails on valid input.
4725 continue
4726 fi
4727 rm -f conftest.err conftest.$ac_ext
4728
4729 # OK, works on sane cases. Now check whether nonexistent headers
4730 # can be detected and how.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #include <ac_nonexistent.h>
4734 _ACEOF
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736 # Broken: success on invalid input.
4737 continue
4738 else
4739 # Passes both tests.
4740 ac_preproc_ok=:
4741 break
4742 fi
4743 rm -f conftest.err conftest.$ac_ext
4744
4745 done
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4749 break
4750 fi
4751
4752 done
4753 ac_cv_prog_CPP=$CPP
4754
4755 fi
4756 CPP=$ac_cv_prog_CPP
4757 else
4758 ac_cv_prog_CPP=$CPP
4759 fi
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4761 $as_echo "$CPP" >&6; }
4762 ac_preproc_ok=false
4763 for ac_c_preproc_warn_flag in '' yes
4764 do
4765 # Use a header file that comes with gcc, so configuring glibc
4766 # with a fresh cross-compiler works.
4767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4768 # <limits.h> exists even on freestanding compilers.
4769 # On the NeXT, cc -E runs the code through the compiler's parser,
4770 # not just through cpp. "Syntax error" is here to catch this case.
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #ifdef __STDC__
4774 # include <limits.h>
4775 #else
4776 # include <assert.h>
4777 #endif
4778 Syntax error
4779 _ACEOF
4780 if ac_fn_c_try_cpp "$LINENO"; then :
4781
4782 else
4783 # Broken: fails on valid input.
4784 continue
4785 fi
4786 rm -f conftest.err conftest.$ac_ext
4787
4788 # OK, works on sane cases. Now check whether nonexistent headers
4789 # can be detected and how.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #include <ac_nonexistent.h>
4793 _ACEOF
4794 if ac_fn_c_try_cpp "$LINENO"; then :
4795 # Broken: success on invalid input.
4796 continue
4797 else
4798 # Passes both tests.
4799 ac_preproc_ok=:
4800 break
4801 fi
4802 rm -f conftest.err conftest.$ac_ext
4803
4804 done
4805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4806 rm -f conftest.err conftest.$ac_ext
4807 if $ac_preproc_ok; then :
4808
4809 else
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4813 See \`config.log' for more details." "$LINENO" 5; }
4814 fi
4815
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4821
4822
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4825 if test "${ac_cv_path_GREP+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 if test -z "$GREP"; then
4829 ac_path_GREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 do
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in grep ggrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4840 # Check for GNU ac_path_GREP and select it if it is found.
4841 # Check for GNU $ac_path_GREP
4842 case `"$ac_path_GREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 *)
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4849 do
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'GREP' >> "conftest.nl"
4854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_GREP="$ac_path_GREP"
4860 ac_path_GREP_max=$ac_count
4861 fi
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4867
4868 $ac_path_GREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_GREP"; then
4874 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 fi
4876 else
4877 ac_cv_path_GREP=$GREP
4878 fi
4879
4880 fi
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4882 $as_echo "$ac_cv_path_GREP" >&6; }
4883 GREP="$ac_cv_path_GREP"
4884
4885
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4887 $as_echo_n "checking for egrep... " >&6; }
4888 if test "${ac_cv_path_EGREP+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4892 then ac_cv_path_EGREP="$GREP -E"
4893 else
4894 if test -z "$EGREP"; then
4895 ac_path_EGREP_found=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 do
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_prog in egrep; do
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4905 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4906 # Check for GNU ac_path_EGREP and select it if it is found.
4907 # Check for GNU $ac_path_EGREP
4908 case `"$ac_path_EGREP" --version 2>&1` in
4909 *GNU*)
4910 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 *)
4912 ac_count=0
4913 $as_echo_n 0123456789 >"conftest.in"
4914 while :
4915 do
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'EGREP' >> "conftest.nl"
4920 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4922 as_fn_arith $ac_count + 1 && ac_count=$as_val
4923 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_EGREP="$ac_path_EGREP"
4926 ac_path_EGREP_max=$ac_count
4927 fi
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4930 done
4931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4932 esac
4933
4934 $ac_path_EGREP_found && break 3
4935 done
4936 done
4937 done
4938 IFS=$as_save_IFS
4939 if test -z "$ac_cv_path_EGREP"; then
4940 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 fi
4942 else
4943 ac_cv_path_EGREP=$EGREP
4944 fi
4945
4946 fi
4947 fi
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4949 $as_echo "$ac_cv_path_EGREP" >&6; }
4950 EGREP="$ac_cv_path_EGREP"
4951
4952
4953
4954 # Keep these sync'd with the list in Makefile.am. The first provides an
4955 # expandable list at autoconf time; the second provides an expandable list
4956 # (i.e., shell variable) at configure time.
4957
4958 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959
4960 # These need to be absolute paths, yet at the same time need to
4961 # canonicalize only relative paths, because then amd will not unmount
4962 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4963 glibcxx_builddir=`${PWDCMD-pwd}`
4964 case $srcdir in
4965 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4966 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4967 esac
4968 toplevel_builddir=${glibcxx_builddir}/..
4969 toplevel_srcdir=${glibcxx_srcdir}/..
4970
4971
4972
4973
4974
4975 # We use these options to decide which functions to include. They are
4976 # set from the top level.
4977
4978 # Check whether --with-target-subdir was given.
4979 if test "${with_target_subdir+set}" = set; then :
4980 withval=$with_target_subdir;
4981 fi
4982
4983
4984
4985 # Check whether --with-cross-host was given.
4986 if test "${with_cross_host+set}" = set; then :
4987 withval=$with_cross_host;
4988 fi
4989
4990
4991
4992 # Check whether --with-newlib was given.
4993 if test "${with_newlib+set}" = set; then :
4994 withval=$with_newlib;
4995 fi
4996
4997
4998 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4999 # available). Uncomment the next line to force a particular method.
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5009 fi
5010
5011 #LN_S='cp -p'
5012
5013 if test -n "$ac_tool_prefix"; then
5014 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5015 set dummy ${ac_tool_prefix}as; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if test "${ac_cv_prog_AS+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$AS"; then
5022 ac_cv_prog_AS="$AS" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5026 do
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_AS="${ac_tool_prefix}as"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5034 fi
5035 done
5036 done
5037 IFS=$as_save_IFS
5038
5039 fi
5040 fi
5041 AS=$ac_cv_prog_AS
5042 if test -n "$AS"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5044 $as_echo "$AS" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5048 fi
5049
5050
5051 fi
5052 if test -z "$ac_cv_prog_AS"; then
5053 ac_ct_AS=$AS
5054 # Extract the first word of "as", so it can be a program name with args.
5055 set dummy as; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AS"; then
5062 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5066 do
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_ac_ct_AS="as"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5074 fi
5075 done
5076 done
5077 IFS=$as_save_IFS
5078
5079 fi
5080 fi
5081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5082 if test -n "$ac_ct_AS"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5084 $as_echo "$ac_ct_AS" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 fi
5089
5090 if test "x$ac_ct_AS" = x; then
5091 AS=""
5092 else
5093 case $cross_compiling:$ac_tool_warned in
5094 yes:)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned=yes ;;
5098 esac
5099 AS=$ac_ct_AS
5100 fi
5101 else
5102 AS="$ac_cv_prog_AS"
5103 fi
5104
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}ar; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_AR+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$AR"; then
5114 ac_cv_prog_AR="$AR" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5118 do
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_AR="${ac_tool_prefix}ar"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5126 fi
5127 done
5128 done
5129 IFS=$as_save_IFS
5130
5131 fi
5132 fi
5133 AR=$ac_cv_prog_AR
5134 if test -n "$AR"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5136 $as_echo "$AR" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 fi
5141
5142
5143 fi
5144 if test -z "$ac_cv_prog_AR"; then
5145 ac_ct_AR=$AR
5146 # Extract the first word of "ar", so it can be a program name with args.
5147 set dummy ar; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$ac_ct_AR"; then
5154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5158 do
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ac_ct_AR="ar"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5166 fi
5167 done
5168 done
5169 IFS=$as_save_IFS
5170
5171 fi
5172 fi
5173 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5174 if test -n "$ac_ct_AR"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5176 $as_echo "$ac_ct_AR" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5180 fi
5181
5182 if test "x$ac_ct_AR" = x; then
5183 AR=""
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5190 esac
5191 AR=$ac_ct_AR
5192 fi
5193 else
5194 AR="$ac_cv_prog_AR"
5195 fi
5196
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5210 do
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5218 fi
5219 done
5220 done
5221 IFS=$as_save_IFS
5222
5223 fi
5224 fi
5225 RANLIB=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5232 fi
5233
5234
5235 fi
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5250 do
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_RANLIB="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5258 fi
5259 done
5260 done
5261 IFS=$as_save_IFS
5262
5263 fi
5264 fi
5265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5272 fi
5273
5274 if test "x$ac_ct_RANLIB" = x; then
5275 RANLIB="ranlib-not-found-in-path-error"
5276 else
5277 case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283 RANLIB=$ac_ct_RANLIB
5284 fi
5285 else
5286 RANLIB="$ac_cv_prog_RANLIB"
5287 fi
5288
5289
5290
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5292 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5293 # Check whether --enable-maintainer-mode was given.
5294 if test "${enable_maintainer_mode+set}" = set; then :
5295 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5296 else
5297 USE_MAINTAINER_MODE=no
5298 fi
5299
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5301 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5302 if test $USE_MAINTAINER_MODE = yes; then
5303 MAINTAINER_MODE_TRUE=
5304 MAINTAINER_MODE_FALSE='#'
5305 else
5306 MAINTAINER_MODE_TRUE='#'
5307 MAINTAINER_MODE_FALSE=
5308 fi
5309
5310 MAINT=$MAINTAINER_MODE_TRUE
5311
5312
5313
5314 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5315 # which are themselves conditionally expanded.
5316 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5317 ## other macros from doing the same. This should be automated.) -pme
5318
5319 # Check for C library flavor since GNU/Linux platforms use different
5320 # configuration directories depending on the C library in use.
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5323
5324 #include <stdio.h>
5325 #if __UCLIBC__
5326 _using_uclibc
5327 #endif
5328
5329 _ACEOF
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5332 uclibc=yes
5333 else
5334 uclibc=no
5335 fi
5336 rm -f conftest*
5337
5338
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341
5342 #include <stdio.h>
5343 #if __BIONIC__
5344 _using_bionic
5345 #endif
5346
5347 _ACEOF
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5350 bionic=yes
5351 else
5352 bionic=no
5353 fi
5354 rm -f conftest*
5355
5356
5357 # Find platform-specific directories containing configuration info.
5358 # Also possibly modify flags used elsewhere, as needed by the platform.
5359
5360 . $glibcxx_srcdir/configure.host
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5362 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5364 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5365
5366
5367
5368 # Libtool setup.
5369 if test "x${with_newlib}" != "xyes"; then
5370 enable_dlopen=yes
5371
5372
5373
5374 fi
5375 case `pwd` in
5376 *\ * | *\ *)
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5378 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5379 esac
5380
5381
5382
5383 macro_version='2.2.7a'
5384 macro_revision='1.3134'
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398 ltmain="$ac_aux_dir/ltmain.sh"
5399
5400 # Backslashify metacharacters that are still active within
5401 # double-quoted strings.
5402 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403
5404 # Same as above, but do not quote variable references.
5405 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406
5407 # Sed substitution to delay expansion of an escaped shell variable in a
5408 # double_quote_subst'ed string.
5409 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410
5411 # Sed substitution to delay expansion of an escaped single quote.
5412 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413
5414 # Sed substitution to avoid accidental globbing in evaled expressions
5415 no_glob_subst='s/\*/\\\*/g'
5416
5417 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5419 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5422 $as_echo_n "checking how to print strings... " >&6; }
5423 # Test print first, because it will be a builtin if present.
5424 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5425 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5426 ECHO='print -r --'
5427 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5428 ECHO='printf %s\n'
5429 else
5430 # Use this function as a fallback that always works.
5431 func_fallback_echo ()
5432 {
5433 eval 'cat <<_LTECHO_EOF
5434 $1
5435 _LTECHO_EOF'
5436 }
5437 ECHO='func_fallback_echo'
5438 fi
5439
5440 # func_echo_all arg...
5441 # Invoke $ECHO with all args, space-separated.
5442 func_echo_all ()
5443 {
5444 $ECHO ""
5445 }
5446
5447 case "$ECHO" in
5448 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5449 $as_echo "printf" >&6; } ;;
5450 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5451 $as_echo "print -r" >&6; } ;;
5452 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5453 $as_echo "cat" >&6; } ;;
5454 esac
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5470 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5471 if test "${ac_cv_path_SED+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5475 for ac_i in 1 2 3 4 5 6 7; do
5476 ac_script="$ac_script$as_nl$ac_script"
5477 done
5478 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5479 { ac_script=; unset ac_script;}
5480 if test -z "$SED"; then
5481 ac_path_SED_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in sed gsed; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5492 # Check for GNU ac_path_SED and select it if it is found.
5493 # Check for GNU $ac_path_SED
5494 case `"$ac_path_SED" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 *)
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5501 do
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo '' >> "conftest.nl"
5506 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_SED_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_SED="$ac_path_SED"
5512 ac_path_SED_max=$ac_count
5513 fi
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5519
5520 $ac_path_SED_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_SED"; then
5526 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 fi
5528 else
5529 ac_cv_path_SED=$SED
5530 fi
5531
5532 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5534 $as_echo "$ac_cv_path_SED" >&6; }
5535 SED="$ac_cv_path_SED"
5536 rm -f conftest.sed
5537
5538 test -z "$SED" && SED=sed
5539 Xsed="$SED -e 1s/^X//"
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5552 $as_echo_n "checking for fgrep... " >&6; }
5553 if test "${ac_cv_path_FGREP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5557 then ac_cv_path_FGREP="$GREP -F"
5558 else
5559 if test -z "$FGREP"; then
5560 ac_path_FGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 do
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in fgrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5571 # Check for GNU ac_path_FGREP and select it if it is found.
5572 # Check for GNU $ac_path_FGREP
5573 case `"$ac_path_FGREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 *)
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5580 do
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'FGREP' >> "conftest.nl"
5585 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_FGREP="$ac_path_FGREP"
5591 ac_path_FGREP_max=$ac_count
5592 fi
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5598
5599 $ac_path_FGREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_FGREP"; then
5605 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 fi
5607 else
5608 ac_cv_path_FGREP=$FGREP
5609 fi
5610
5611 fi
5612 fi
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5614 $as_echo "$ac_cv_path_FGREP" >&6; }
5615 FGREP="$ac_cv_path_FGREP"
5616
5617
5618 test -z "$GREP" && GREP=grep
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638 # Check whether --with-gnu-ld was given.
5639 if test "${with_gnu_ld+set}" = set; then :
5640 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5641 else
5642 with_gnu_ld=no
5643 fi
5644
5645 ac_prog=ld
5646 if test "$GCC" = yes; then
5647 # Check if gcc -print-prog-name=ld gives a path.
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5649 $as_echo_n "checking for ld used by $CC... " >&6; }
5650 case $host in
5651 *-*-mingw*)
5652 # gcc leaves a trailing carriage return which upsets mingw
5653 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 *)
5655 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5656 esac
5657 case $ac_prog in
5658 # Accept absolute paths.
5659 [\\/]* | ?:[\\/]*)
5660 re_direlt='/[^/][^/]*/\.\./'
5661 # Canonicalize the pathname of ld
5662 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5663 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5664 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5665 done
5666 test -z "$LD" && LD="$ac_prog"
5667 ;;
5668 "")
5669 # If it fails, then pretend we aren't using GCC.
5670 ac_prog=ld
5671 ;;
5672 *)
5673 # If it is relative, then search for the first ld in PATH.
5674 with_gnu_ld=unknown
5675 ;;
5676 esac
5677 elif test "$with_gnu_ld" = yes; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5679 $as_echo_n "checking for GNU ld... " >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5682 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 fi
5684 if test "${lt_cv_path_LD+set}" = set; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -z "$LD"; then
5688 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5689 for ac_dir in $PATH; do
5690 IFS="$lt_save_ifs"
5691 test -z "$ac_dir" && ac_dir=.
5692 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5693 lt_cv_path_LD="$ac_dir/$ac_prog"
5694 # Check to see if the program is GNU ld. I'd rather use --version,
5695 # but apparently some variants of GNU ld only accept -v.
5696 # Break only if it was the GNU/non-GNU ld that we prefer.
5697 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5698 *GNU* | *'with BFD'*)
5699 test "$with_gnu_ld" != no && break
5700 ;;
5701 *)
5702 test "$with_gnu_ld" != yes && break
5703 ;;
5704 esac
5705 fi
5706 done
5707 IFS="$lt_save_ifs"
5708 else
5709 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5710 fi
5711 fi
5712
5713 LD="$lt_cv_path_LD"
5714 if test -n "$LD"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5716 $as_echo "$LD" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5720 fi
5721 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5723 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5724 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5728 case `$LD -v 2>&1 </dev/null` in
5729 *GNU* | *'with BFD'*)
5730 lt_cv_prog_gnu_ld=yes
5731 ;;
5732 *)
5733 lt_cv_prog_gnu_ld=no
5734 ;;
5735 esac
5736 fi
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5738 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5739 with_gnu_ld=$lt_cv_prog_gnu_ld
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5750 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5751 if test "${lt_cv_path_NM+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$NM"; then
5755 # Let the user override the test.
5756 lt_cv_path_NM="$NM"
5757 else
5758 lt_nm_to_check="${ac_tool_prefix}nm"
5759 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5760 lt_nm_to_check="$lt_nm_to_check nm"
5761 fi
5762 for lt_tmp_nm in $lt_nm_to_check; do
5763 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5764 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5765 IFS="$lt_save_ifs"
5766 test -z "$ac_dir" && ac_dir=.
5767 tmp_nm="$ac_dir/$lt_tmp_nm"
5768 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5769 # Check to see if the nm accepts a BSD-compat flag.
5770 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5771 # nm: unknown option "B" ignored
5772 # Tru64's nm complains that /dev/null is an invalid object file
5773 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5774 */dev/null* | *'Invalid file or object type'*)
5775 lt_cv_path_NM="$tmp_nm -B"
5776 break
5777 ;;
5778 *)
5779 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5780 */dev/null*)
5781 lt_cv_path_NM="$tmp_nm -p"
5782 break
5783 ;;
5784 *)
5785 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5786 continue # so that we can try to find one that supports BSD flags
5787 ;;
5788 esac
5789 ;;
5790 esac
5791 fi
5792 done
5793 IFS="$lt_save_ifs"
5794 done
5795 : ${lt_cv_path_NM=no}
5796 fi
5797 fi
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5799 $as_echo "$lt_cv_path_NM" >&6; }
5800 if test "$lt_cv_path_NM" != "no"; then
5801 NM="$lt_cv_path_NM"
5802 else
5803 # Didn't find any BSD compatible name lister, look for dumpbin.
5804 if test -n "$DUMPBIN"; then :
5805 # Let the user override the test.
5806 else
5807 if test -n "$ac_tool_prefix"; then
5808 for ac_prog in dumpbin "link -dump"
5809 do
5810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$DUMPBIN"; then
5818 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5822 do
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5830 fi
5831 done
5832 done
5833 IFS=$as_save_IFS
5834
5835 fi
5836 fi
5837 DUMPBIN=$ac_cv_prog_DUMPBIN
5838 if test -n "$DUMPBIN"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5840 $as_echo "$DUMPBIN" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5844 fi
5845
5846
5847 test -n "$DUMPBIN" && break
5848 done
5849 fi
5850 if test -z "$DUMPBIN"; then
5851 ac_ct_DUMPBIN=$DUMPBIN
5852 for ac_prog in dumpbin "link -dump"
5853 do
5854 # Extract the first word of "$ac_prog", so it can be a program name with args.
5855 set dummy $ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5866 do
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5874 fi
5875 done
5876 done
5877 IFS=$as_save_IFS
5878
5879 fi
5880 fi
5881 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5882 if test -n "$ac_ct_DUMPBIN"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5884 $as_echo "$ac_ct_DUMPBIN" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 fi
5889
5890
5891 test -n "$ac_ct_DUMPBIN" && break
5892 done
5893
5894 if test "x$ac_ct_DUMPBIN" = x; then
5895 DUMPBIN=":"
5896 else
5897 case $cross_compiling:$ac_tool_warned in
5898 yes:)
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5902 esac
5903 DUMPBIN=$ac_ct_DUMPBIN
5904 fi
5905 fi
5906
5907 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5908 *COFF*)
5909 DUMPBIN="$DUMPBIN -symbols"
5910 ;;
5911 *)
5912 DUMPBIN=:
5913 ;;
5914 esac
5915 fi
5916
5917 if test "$DUMPBIN" != ":"; then
5918 NM="$DUMPBIN"
5919 fi
5920 fi
5921 test -z "$NM" && NM=nm
5922
5923
5924
5925
5926
5927
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5929 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5930 if test "${lt_cv_nm_interface+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 lt_cv_nm_interface="BSD nm"
5934 echo "int some_variable = 0;" > conftest.$ac_ext
5935 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5936 (eval "$ac_compile" 2>conftest.err)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5939 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5940 cat conftest.err >&5
5941 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5942 cat conftest.out >&5
5943 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5944 lt_cv_nm_interface="MS dumpbin"
5945 fi
5946 rm -f conftest*
5947 fi
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5949 $as_echo "$lt_cv_nm_interface" >&6; }
5950
5951 # find the maximum length of command line arguments
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5953 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5954 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 i=0
5958 teststring="ABCD"
5959
5960 case $build_os in
5961 msdosdjgpp*)
5962 # On DJGPP, this test can blow up pretty badly due to problems in libc
5963 # (any single argument exceeding 2000 bytes causes a buffer overrun
5964 # during glob expansion). Even if it were fixed, the result of this
5965 # check would be larger than it should be.
5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5967 ;;
5968
5969 gnu*)
5970 # Under GNU Hurd, this test is not required because there is
5971 # no limit to the length of command line arguments.
5972 # Libtool will interpret -1 as no limit whatsoever
5973 lt_cv_sys_max_cmd_len=-1;
5974 ;;
5975
5976 cygwin* | mingw* | cegcc*)
5977 # On Win9x/ME, this test blows up -- it succeeds, but takes
5978 # about 5 minutes as the teststring grows exponentially.
5979 # Worse, since 9x/ME are not pre-emptively multitasking,
5980 # you end up with a "frozen" computer, even though with patience
5981 # the test eventually succeeds (with a max line length of 256k).
5982 # Instead, let's just punt: use the minimum linelength reported by
5983 # all of the supported platforms: 8192 (on NT/2K/XP).
5984 lt_cv_sys_max_cmd_len=8192;
5985 ;;
5986
5987 mint*)
5988 # On MiNT this can take a long time and run out of memory.
5989 lt_cv_sys_max_cmd_len=8192;
5990 ;;
5991
5992 amigaos*)
5993 # On AmigaOS with pdksh, this test takes hours, literally.
5994 # So we just punt and use a minimum line length of 8192.
5995 lt_cv_sys_max_cmd_len=8192;
5996 ;;
5997
5998 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5999 # This has been around since 386BSD, at least. Likely further.
6000 if test -x /sbin/sysctl; then
6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6002 elif test -x /usr/sbin/sysctl; then
6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6004 else
6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 fi
6007 # And add a safety zone
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6010 ;;
6011
6012 interix*)
6013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6014 lt_cv_sys_max_cmd_len=196608
6015 ;;
6016
6017 osf*)
6018 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6019 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6020 # nice to cause kernel panics so lets avoid the loop below.
6021 # First set a reasonable default.
6022 lt_cv_sys_max_cmd_len=16384
6023 #
6024 if test -x /sbin/sysconfig; then
6025 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6026 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6027 esac
6028 fi
6029 ;;
6030 sco3.2v5*)
6031 lt_cv_sys_max_cmd_len=102400
6032 ;;
6033 sysv5* | sco5v6* | sysv4.2uw2*)
6034 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6035 if test -n "$kargmax"; then
6036 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6037 else
6038 lt_cv_sys_max_cmd_len=32768
6039 fi
6040 ;;
6041 *)
6042 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6043 if test -n "$lt_cv_sys_max_cmd_len"; then
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6045 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046 else
6047 # Make teststring a little bigger before we do anything with it.
6048 # a 1K string should be a reasonable start.
6049 for i in 1 2 3 4 5 6 7 8 ; do
6050 teststring=$teststring$teststring
6051 done
6052 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6053 # If test is not a shell built-in, we'll probably end up computing a
6054 # maximum length that is only half of the actual maximum length, but
6055 # we can't tell.
6056 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6057 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6058 test $i != 17 # 1/2 MB should be enough
6059 do
6060 i=`expr $i + 1`
6061 teststring=$teststring$teststring
6062 done
6063 # Only check the string length outside the loop.
6064 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6065 teststring=
6066 # Add a significant safety factor because C++ compilers can tack on
6067 # massive amounts of additional arguments before passing them to the
6068 # linker. It appears as though 1/2 is a usable value.
6069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6070 fi
6071 ;;
6072 esac
6073
6074 fi
6075
6076 if test -n $lt_cv_sys_max_cmd_len ; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6078 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6081 $as_echo "none" >&6; }
6082 fi
6083 max_cmd_len=$lt_cv_sys_max_cmd_len
6084
6085
6086
6087
6088
6089
6090 : ${CP="cp -f"}
6091 : ${MV="mv -f"}
6092 : ${RM="rm -f"}
6093
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6095 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6096 # Try some XSI features
6097 xsi_shell=no
6098 ( _lt_dummy="a/b/c"
6099 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6100 = c,a/b,, \
6101 && eval 'test $(( 1 + 1 )) -eq 2 \
6102 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6103 && xsi_shell=yes
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6105 $as_echo "$xsi_shell" >&6; }
6106
6107
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6109 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6110 lt_shell_append=no
6111 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6112 >/dev/null 2>&1 \
6113 && lt_shell_append=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6115 $as_echo "$lt_shell_append" >&6; }
6116
6117
6118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 lt_unset=unset
6120 else
6121 lt_unset=false
6122 fi
6123
6124
6125
6126
6127
6128 # test EBCDIC or ASCII
6129 case `echo X|tr X '\101'` in
6130 A) # ASCII based system
6131 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6132 lt_SP2NL='tr \040 \012'
6133 lt_NL2SP='tr \015\012 \040\040'
6134 ;;
6135 *) # EBCDIC based system
6136 lt_SP2NL='tr \100 \n'
6137 lt_NL2SP='tr \r\n \100\100'
6138 ;;
6139 esac
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6150 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6151 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 lt_cv_ld_reload_flag='-r'
6155 fi
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6157 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6158 reload_flag=$lt_cv_ld_reload_flag
6159 case $reload_flag in
6160 "" | " "*) ;;
6161 *) reload_flag=" $reload_flag" ;;
6162 esac
6163 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6164 case $host_os in
6165 darwin*)
6166 if test "$GCC" = yes; then
6167 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6168 else
6169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6170 fi
6171 ;;
6172 esac
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$OBJDUMP"; then
6191 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6195 do
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6203 fi
6204 done
6205 done
6206 IFS=$as_save_IFS
6207
6208 fi
6209 fi
6210 OBJDUMP=$ac_cv_prog_OBJDUMP
6211 if test -n "$OBJDUMP"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6213 $as_echo "$OBJDUMP" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6217 fi
6218
6219
6220 fi
6221 if test -z "$ac_cv_prog_OBJDUMP"; then
6222 ac_ct_OBJDUMP=$OBJDUMP
6223 # Extract the first word of "objdump", so it can be a program name with args.
6224 set dummy objdump; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$ac_ct_OBJDUMP"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6235 do
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6243 fi
6244 done
6245 done
6246 IFS=$as_save_IFS
6247
6248 fi
6249 fi
6250 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6251 if test -n "$ac_ct_OBJDUMP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6253 $as_echo "$ac_ct_OBJDUMP" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6257 fi
6258
6259 if test "x$ac_ct_OBJDUMP" = x; then
6260 OBJDUMP="false"
6261 else
6262 case $cross_compiling:$ac_tool_warned in
6263 yes:)
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6266 ac_tool_warned=yes ;;
6267 esac
6268 OBJDUMP=$ac_ct_OBJDUMP
6269 fi
6270 else
6271 OBJDUMP="$ac_cv_prog_OBJDUMP"
6272 fi
6273
6274 test -z "$OBJDUMP" && OBJDUMP=objdump
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6302
6303 case $host_os in
6304 aix[4-9]*)
6305 lt_cv_deplibs_check_method=pass_all
6306 ;;
6307
6308 beos*)
6309 lt_cv_deplibs_check_method=pass_all
6310 ;;
6311
6312 bsdi[45]*)
6313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314 lt_cv_file_magic_cmd='/usr/bin/file -L'
6315 lt_cv_file_magic_test_file=/shlib/libc.so
6316 ;;
6317
6318 cygwin*)
6319 # func_win32_libid is a shell function defined in ltmain.sh
6320 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321 lt_cv_file_magic_cmd='func_win32_libid'
6322 ;;
6323
6324 mingw* | pw32*)
6325 # Base MSYS/MinGW do not provide the 'file' command needed by
6326 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327 # unless we find 'file', for example because we are cross-compiling.
6328 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6329 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 else
6333 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6334 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 fi
6336 ;;
6337
6338 cegcc*)
6339 # use the weaker test based on 'objdump'. See mingw*.
6340 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6341 lt_cv_file_magic_cmd='$OBJDUMP -f'
6342 ;;
6343
6344 darwin* | rhapsody*)
6345 lt_cv_deplibs_check_method=pass_all
6346 ;;
6347
6348 freebsd* | dragonfly*)
6349 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6350 case $host_cpu in
6351 i*86 )
6352 # Not sure whether the presence of OpenBSD here was a mistake.
6353 # Let's accept both of them until this is cleared up.
6354 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6355 lt_cv_file_magic_cmd=/usr/bin/file
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 ;;
6358 esac
6359 else
6360 lt_cv_deplibs_check_method=pass_all
6361 fi
6362 ;;
6363
6364 gnu*)
6365 lt_cv_deplibs_check_method=pass_all
6366 ;;
6367
6368 haiku*)
6369 lt_cv_deplibs_check_method=pass_all
6370 ;;
6371
6372 hpux10.20* | hpux11*)
6373 lt_cv_file_magic_cmd=/usr/bin/file
6374 case $host_cpu in
6375 ia64*)
6376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 ;;
6379 hppa*64*)
6380 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]'
6381 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6382 ;;
6383 *)
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6385 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 ;;
6387 esac
6388 ;;
6389
6390 interix[3-9]*)
6391 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6393 ;;
6394
6395 irix5* | irix6* | nonstopux*)
6396 case $LD in
6397 *-32|*"-32 ") libmagic=32-bit;;
6398 *-n32|*"-n32 ") libmagic=N32;;
6399 *-64|*"-64 ") libmagic=64-bit;;
6400 *) libmagic=never-match;;
6401 esac
6402 lt_cv_deplibs_check_method=pass_all
6403 ;;
6404
6405 # This must be Linux ELF.
6406 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6407 lt_cv_deplibs_check_method=pass_all
6408 ;;
6409
6410 netbsd*)
6411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6413 else
6414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6415 fi
6416 ;;
6417
6418 newos6*)
6419 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6420 lt_cv_file_magic_cmd=/usr/bin/file
6421 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6422 ;;
6423
6424 *nto* | *qnx*)
6425 lt_cv_deplibs_check_method=pass_all
6426 ;;
6427
6428 openbsd*)
6429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6431 else
6432 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6433 fi
6434 ;;
6435
6436 osf3* | osf4* | osf5*)
6437 lt_cv_deplibs_check_method=pass_all
6438 ;;
6439
6440 rdos*)
6441 lt_cv_deplibs_check_method=pass_all
6442 ;;
6443
6444 solaris*)
6445 lt_cv_deplibs_check_method=pass_all
6446 ;;
6447
6448 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6449 lt_cv_deplibs_check_method=pass_all
6450 ;;
6451
6452 sysv4 | sysv4.3*)
6453 case $host_vendor in
6454 motorola)
6455 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]'
6456 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ;;
6458 ncr)
6459 lt_cv_deplibs_check_method=pass_all
6460 ;;
6461 sequent)
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 ;;
6465 sni)
6466 lt_cv_file_magic_cmd='/bin/file'
6467 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6468 lt_cv_file_magic_test_file=/lib/libc.so
6469 ;;
6470 siemens)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473 pc)
6474 lt_cv_deplibs_check_method=pass_all
6475 ;;
6476 esac
6477 ;;
6478
6479 tpf*)
6480 lt_cv_deplibs_check_method=pass_all
6481 ;;
6482 esac
6483
6484 fi
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6486 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6487 file_magic_cmd=$lt_cv_file_magic_cmd
6488 deplibs_check_method=$lt_cv_deplibs_check_method
6489 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}ar; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_AR+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$AR"; then
6511 ac_cv_prog_AR="$AR" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6515 do
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_AR="${ac_tool_prefix}ar"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6523 fi
6524 done
6525 done
6526 IFS=$as_save_IFS
6527
6528 fi
6529 fi
6530 AR=$ac_cv_prog_AR
6531 if test -n "$AR"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6533 $as_echo "$AR" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6537 fi
6538
6539
6540 fi
6541 if test -z "$ac_cv_prog_AR"; then
6542 ac_ct_AR=$AR
6543 # Extract the first word of "ar", so it can be a program name with args.
6544 set dummy ar; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$ac_ct_AR"; then
6551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6555 do
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_ac_ct_AR="ar"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6563 fi
6564 done
6565 done
6566 IFS=$as_save_IFS
6567
6568 fi
6569 fi
6570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6571 if test -n "$ac_ct_AR"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6573 $as_echo "$ac_ct_AR" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6577 fi
6578
6579 if test "x$ac_ct_AR" = x; then
6580 AR="false"
6581 else
6582 case $cross_compiling:$ac_tool_warned in
6583 yes:)
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6587 esac
6588 AR=$ac_ct_AR
6589 fi
6590 else
6591 AR="$ac_cv_prog_AR"
6592 fi
6593
6594 test -z "$AR" && AR=ar
6595 test -z "$AR_FLAGS" && AR_FLAGS=cru
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607 if test -n "$ac_tool_prefix"; then
6608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6609 set dummy ${ac_tool_prefix}strip; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if test "${ac_cv_prog_STRIP+set}" = set; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 if test -n "$STRIP"; then
6616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6620 do
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6628 fi
6629 done
6630 done
6631 IFS=$as_save_IFS
6632
6633 fi
6634 fi
6635 STRIP=$ac_cv_prog_STRIP
6636 if test -n "$STRIP"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6638 $as_echo "$STRIP" >&6; }
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6642 fi
6643
6644
6645 fi
6646 if test -z "$ac_cv_prog_STRIP"; then
6647 ac_ct_STRIP=$STRIP
6648 # Extract the first word of "strip", so it can be a program name with args.
6649 set dummy strip; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$ac_ct_STRIP"; then
6656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6660 do
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_ac_ct_STRIP="strip"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6668 fi
6669 done
6670 done
6671 IFS=$as_save_IFS
6672
6673 fi
6674 fi
6675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6676 if test -n "$ac_ct_STRIP"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6678 $as_echo "$ac_ct_STRIP" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6682 fi
6683
6684 if test "x$ac_ct_STRIP" = x; then
6685 STRIP=":"
6686 else
6687 case $cross_compiling:$ac_tool_warned in
6688 yes:)
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6691 ac_tool_warned=yes ;;
6692 esac
6693 STRIP=$ac_ct_STRIP
6694 fi
6695 else
6696 STRIP="$ac_cv_prog_STRIP"
6697 fi
6698
6699 test -z "$STRIP" && STRIP=:
6700
6701
6702
6703
6704
6705
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6719 do
6720 IFS=$as_save_IFS
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 break 2
6727 fi
6728 done
6729 done
6730 IFS=$as_save_IFS
6731
6732 fi
6733 fi
6734 RANLIB=$ac_cv_prog_RANLIB
6735 if test -n "$RANLIB"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6737 $as_echo "$RANLIB" >&6; }
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6741 fi
6742
6743
6744 fi
6745 if test -z "$ac_cv_prog_RANLIB"; then
6746 ac_ct_RANLIB=$RANLIB
6747 # Extract the first word of "ranlib", so it can be a program name with args.
6748 set dummy ranlib; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$ac_ct_RANLIB"; then
6755 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6759 do
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_RANLIB="ranlib"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6767 fi
6768 done
6769 done
6770 IFS=$as_save_IFS
6771
6772 fi
6773 fi
6774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6775 if test -n "$ac_ct_RANLIB"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6777 $as_echo "$ac_ct_RANLIB" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6781 fi
6782
6783 if test "x$ac_ct_RANLIB" = x; then
6784 RANLIB=":"
6785 else
6786 case $cross_compiling:$ac_tool_warned in
6787 yes:)
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6791 esac
6792 RANLIB=$ac_ct_RANLIB
6793 fi
6794 else
6795 RANLIB="$ac_cv_prog_RANLIB"
6796 fi
6797
6798 test -z "$RANLIB" && RANLIB=:
6799
6800
6801
6802
6803
6804
6805 # Determine commands to create old-style static archives.
6806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6807 old_postinstall_cmds='chmod 644 $oldlib'
6808 old_postuninstall_cmds=
6809
6810 if test -n "$RANLIB"; then
6811 case $host_os in
6812 openbsd*)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6814 ;;
6815 *)
6816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 ;;
6818 esac
6819 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6820 fi
6821
6822 case $host_os in
6823 darwin*)
6824 lock_old_archive_extraction=yes ;;
6825 *)
6826 lock_old_archive_extraction=no ;;
6827 esac
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
6865
6866
6867 # If no C compiler was specified, use CC.
6868 LTCC=${LTCC-"$CC"}
6869
6870 # If no C compiler flags were specified, use CFLAGS.
6871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872
6873 # Allow CC to be a program name with arguments.
6874 compiler=$CC
6875
6876
6877 # Check for command to grab the raw symbol name followed by C symbol from nm.
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6879 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6880 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6883
6884 # These are sane defaults that work on at least a few old systems.
6885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886
6887 # Character class describing NM global symbol codes.
6888 symcode='[BCDEGRST]'
6889
6890 # Regexp to match symbols that can be accessed directly from C.
6891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892
6893 # Define system-specific variables.
6894 case $host_os in
6895 aix*)
6896 symcode='[BCDT]'
6897 ;;
6898 cygwin* | mingw* | pw32* | cegcc*)
6899 symcode='[ABCDGISTW]'
6900 ;;
6901 hpux*)
6902 if test "$host_cpu" = ia64; then
6903 symcode='[ABCDEGRST]'
6904 fi
6905 ;;
6906 irix* | nonstopux*)
6907 symcode='[BCDEGRST]'
6908 ;;
6909 osf*)
6910 symcode='[BCDEGQRST]'
6911 ;;
6912 solaris*)
6913 symcode='[BDRT]'
6914 ;;
6915 sco3.2v5*)
6916 symcode='[DT]'
6917 ;;
6918 sysv4.2uw2*)
6919 symcode='[DT]'
6920 ;;
6921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6922 symcode='[ABDT]'
6923 ;;
6924 sysv4)
6925 symcode='[DFNSTU]'
6926 ;;
6927 esac
6928
6929 # If we're using GNU nm, then use its standard symbol codes.
6930 case `$NM -V 2>&1` in
6931 *GNU* | *'with BFD'*)
6932 symcode='[ABCDGIRSTW]' ;;
6933 esac
6934
6935 # Transform an extracted symbol line into a proper C declaration.
6936 # Some systems (esp. on ia64) link data and code symbols differently,
6937 # so use this general approach.
6938 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939
6940 # Transform an extracted symbol line into symbol name and symbol address
6941 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6942 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'"
6943
6944 # Handle CRLF in mingw tool chain
6945 opt_cr=
6946 case $build_os in
6947 mingw*)
6948 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 ;;
6950 esac
6951
6952 # Try without a prefix underscore, then with it.
6953 for ac_symprfx in "" "_"; do
6954
6955 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6956 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957
6958 # Write the raw and C identifiers.
6959 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6960 # Fake it for dumpbin and say T for any non-static function
6961 # and D for any global variable.
6962 # Also find C++ and __fastcall symbols from MSVC++,
6963 # which start with @ or ?.
6964 lt_cv_sys_global_symbol_pipe="$AWK '"\
6965 " {last_section=section; section=\$ 3};"\
6966 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6967 " \$ 0!~/External *\|/{next};"\
6968 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6969 " {if(hide[section]) next};"\
6970 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6971 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6972 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6973 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6974 " ' prfx=^$ac_symprfx"
6975 else
6976 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6977 fi
6978
6979 # Check to see that the pipe works correctly.
6980 pipe_works=no
6981
6982 rm -f conftest*
6983 cat > conftest.$ac_ext <<_LT_EOF
6984 #ifdef __cplusplus
6985 extern "C" {
6986 #endif
6987 char nm_test_var;
6988 void nm_test_func(void);
6989 void nm_test_func(void){}
6990 #ifdef __cplusplus
6991 }
6992 #endif
6993 int main(){nm_test_var='a';nm_test_func();return(0);}
6994 _LT_EOF
6995
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997 (eval $ac_compile) 2>&5
6998 ac_status=$?
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; }; then
7001 # Now try to grab the symbols.
7002 nlist=conftest.nm
7003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7004 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7005 ac_status=$?
7006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7007 test $ac_status = 0; } && test -s "$nlist"; then
7008 # Try sorting and uniquifying the output.
7009 if sort "$nlist" | uniq > "$nlist"T; then
7010 mv -f "$nlist"T "$nlist"
7011 else
7012 rm -f "$nlist"T
7013 fi
7014
7015 # Make sure that we snagged all the symbols we need.
7016 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7017 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7018 cat <<_LT_EOF > conftest.$ac_ext
7019 #ifdef __cplusplus
7020 extern "C" {
7021 #endif
7022
7023 _LT_EOF
7024 # Now generate the symbol file.
7025 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026
7027 cat <<_LT_EOF >> conftest.$ac_ext
7028
7029 /* The mapping between symbol names and symbols. */
7030 const struct {
7031 const char *name;
7032 void *address;
7033 }
7034 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 {
7036 { "@PROGRAM@", (void *) 0 },
7037 _LT_EOF
7038 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7039 cat <<\_LT_EOF >> conftest.$ac_ext
7040 {0, (void *) 0}
7041 };
7042
7043 /* This works around a problem in FreeBSD linker */
7044 #ifdef FREEBSD_WORKAROUND
7045 static const void *lt_preloaded_setup() {
7046 return lt__PROGRAM__LTX_preloaded_symbols;
7047 }
7048 #endif
7049
7050 #ifdef __cplusplus
7051 }
7052 #endif
7053 _LT_EOF
7054 # Now try linking the two files.
7055 mv conftest.$ac_objext conftstm.$ac_objext
7056 lt_save_LIBS="$LIBS"
7057 lt_save_CFLAGS="$CFLAGS"
7058 LIBS="conftstm.$ac_objext"
7059 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7061 (eval $ac_link) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7065 pipe_works=yes
7066 fi
7067 LIBS="$lt_save_LIBS"
7068 CFLAGS="$lt_save_CFLAGS"
7069 else
7070 echo "cannot find nm_test_func in $nlist" >&5
7071 fi
7072 else
7073 echo "cannot find nm_test_var in $nlist" >&5
7074 fi
7075 else
7076 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 fi
7078 else
7079 echo "$progname: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7081 fi
7082 rm -rf conftest* conftst*
7083
7084 # Do not use the global_symbol_pipe unless it works.
7085 if test "$pipe_works" = yes; then
7086 break
7087 else
7088 lt_cv_sys_global_symbol_pipe=
7089 fi
7090 done
7091
7092 fi
7093
7094 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7095 lt_cv_sys_global_symbol_to_cdecl=
7096 fi
7097 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7099 $as_echo "failed" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7102 $as_echo "ok" >&6; }
7103 fi
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126 # Check whether --enable-libtool-lock was given.
7127 if test "${enable_libtool_lock+set}" = set; then :
7128 enableval=$enable_libtool_lock;
7129 fi
7130
7131 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132
7133 # Some flags need to be propagated to the compiler or linker for good
7134 # libtool support.
7135 case $host in
7136 ia64-*-hpux*)
7137 # Find out which ABI we are using.
7138 echo 'int i;' > conftest.$ac_ext
7139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7140 (eval $ac_compile) 2>&5
7141 ac_status=$?
7142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7143 test $ac_status = 0; }; then
7144 case `/usr/bin/file conftest.$ac_objext` in
7145 *ELF-32*)
7146 HPUX_IA64_MODE="32"
7147 ;;
7148 *ELF-64*)
7149 HPUX_IA64_MODE="64"
7150 ;;
7151 esac
7152 fi
7153 rm -rf conftest*
7154 ;;
7155 *-*-irix6*)
7156 # Find out which ABI we are using.
7157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7159 (eval $ac_compile) 2>&5
7160 ac_status=$?
7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7162 test $ac_status = 0; }; then
7163 if test "$lt_cv_prog_gnu_ld" = yes; then
7164 case `/usr/bin/file conftest.$ac_objext` in
7165 *32-bit*)
7166 LD="${LD-ld} -melf32bsmip"
7167 ;;
7168 *N32*)
7169 LD="${LD-ld} -melf32bmipn32"
7170 ;;
7171 *64-bit*)
7172 LD="${LD-ld} -melf64bmip"
7173 ;;
7174 esac
7175 else
7176 case `/usr/bin/file conftest.$ac_objext` in
7177 *32-bit*)
7178 LD="${LD-ld} -32"
7179 ;;
7180 *N32*)
7181 LD="${LD-ld} -n32"
7182 ;;
7183 *64-bit*)
7184 LD="${LD-ld} -64"
7185 ;;
7186 esac
7187 fi
7188 fi
7189 rm -rf conftest*
7190 ;;
7191
7192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7194 # Find out which ABI we are using.
7195 echo 'int i;' > conftest.$ac_ext
7196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7197 (eval $ac_compile) 2>&5
7198 ac_status=$?
7199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7200 test $ac_status = 0; }; then
7201 case `/usr/bin/file conftest.o` in
7202 *32-bit*)
7203 case $host in
7204 x86_64-*kfreebsd*-gnu)
7205 LD="${LD-ld} -m elf_i386_fbsd"
7206 ;;
7207 x86_64-*linux*)
7208 case `/usr/bin/file conftest.o` in
7209 *x86-64*)
7210 LD="${LD-ld} -m elf32_x86_64"
7211 ;;
7212 *)
7213 LD="${LD-ld} -m elf_i386"
7214 ;;
7215 esac
7216 ;;
7217 powerpc64le-*linux*)
7218 LD="${LD-ld} -m elf32lppclinux"
7219 ;;
7220 powerpc64-*linux*)
7221 LD="${LD-ld} -m elf32ppclinux"
7222 ;;
7223 s390x-*linux*)
7224 LD="${LD-ld} -m elf_s390"
7225 ;;
7226 sparc64-*linux*)
7227 LD="${LD-ld} -m elf32_sparc"
7228 ;;
7229 esac
7230 ;;
7231 *64-bit*)
7232 case $host in
7233 x86_64-*kfreebsd*-gnu)
7234 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 ;;
7236 x86_64-*linux*)
7237 LD="${LD-ld} -m elf_x86_64"
7238 ;;
7239 powerpcle-*linux*)
7240 LD="${LD-ld} -m elf64lppc"
7241 ;;
7242 powerpc-*linux*)
7243 LD="${LD-ld} -m elf64ppc"
7244 ;;
7245 s390*-*linux*|s390*-*tpf*)
7246 LD="${LD-ld} -m elf64_s390"
7247 ;;
7248 sparc*-*linux*)
7249 LD="${LD-ld} -m elf64_sparc"
7250 ;;
7251 esac
7252 ;;
7253 esac
7254 fi
7255 rm -rf conftest*
7256 ;;
7257
7258 *-*-sco3.2v5*)
7259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7260 SAVE_CFLAGS="$CFLAGS"
7261 CFLAGS="$CFLAGS -belf"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7263 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7264 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_ext=c
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272
7273 if test x$gcc_no_link = xyes; then
7274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 fi
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7278
7279 int
7280 main ()
7281 {
7282
7283 ;
7284 return 0;
7285 }
7286 _ACEOF
7287 if ac_fn_c_try_link "$LINENO"; then :
7288 lt_cv_cc_needs_belf=yes
7289 else
7290 lt_cv_cc_needs_belf=no
7291 fi
7292 rm -f core conftest.err conftest.$ac_objext \
7293 conftest$ac_exeext conftest.$ac_ext
7294 ac_ext=c
7295 ac_cpp='$CPP $CPPFLAGS'
7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7299
7300 fi
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7302 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7305 CFLAGS="$SAVE_CFLAGS"
7306 fi
7307 ;;
7308 sparc*-*solaris*)
7309 # Find out which ABI we are using.
7310 echo 'int i;' > conftest.$ac_ext
7311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7313 ac_status=$?
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 case `/usr/bin/file conftest.o` in
7317 *64-bit*)
7318 case $lt_cv_prog_gnu_ld in
7319 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 *)
7321 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7322 LD="${LD-ld} -64"
7323 fi
7324 ;;
7325 esac
7326 ;;
7327 esac
7328 fi
7329 rm -rf conftest*
7330 ;;
7331 esac
7332
7333 need_locks="$enable_libtool_lock"
7334
7335
7336 case $host_os in
7337 rhapsody* | darwin*)
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$DSYMUTIL"; then
7347 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7351 do
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7359 fi
7360 done
7361 done
7362 IFS=$as_save_IFS
7363
7364 fi
7365 fi
7366 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7367 if test -n "$DSYMUTIL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7369 $as_echo "$DSYMUTIL" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7373 fi
7374
7375
7376 fi
7377 if test -z "$ac_cv_prog_DSYMUTIL"; then
7378 ac_ct_DSYMUTIL=$DSYMUTIL
7379 # Extract the first word of "dsymutil", so it can be a program name with args.
7380 set dummy dsymutil; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_DSYMUTIL"; then
7387 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7391 do
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7399 fi
7400 done
7401 done
7402 IFS=$as_save_IFS
7403
7404 fi
7405 fi
7406 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7407 if test -n "$ac_ct_DSYMUTIL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7409 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7413 fi
7414
7415 if test "x$ac_ct_DSYMUTIL" = x; then
7416 DSYMUTIL=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 DSYMUTIL=$ac_ct_DSYMUTIL
7425 fi
7426 else
7427 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7428 fi
7429
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$NMEDIT"; then
7439 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7443 do
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7451 fi
7452 done
7453 done
7454 IFS=$as_save_IFS
7455
7456 fi
7457 fi
7458 NMEDIT=$ac_cv_prog_NMEDIT
7459 if test -n "$NMEDIT"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7461 $as_echo "$NMEDIT" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7465 fi
7466
7467
7468 fi
7469 if test -z "$ac_cv_prog_NMEDIT"; then
7470 ac_ct_NMEDIT=$NMEDIT
7471 # Extract the first word of "nmedit", so it can be a program name with args.
7472 set dummy nmedit; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_NMEDIT"; then
7479 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7483 do
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7491 fi
7492 done
7493 done
7494 IFS=$as_save_IFS
7495
7496 fi
7497 fi
7498 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7499 if test -n "$ac_ct_NMEDIT"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7501 $as_echo "$ac_ct_NMEDIT" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7505 fi
7506
7507 if test "x$ac_ct_NMEDIT" = x; then
7508 NMEDIT=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 NMEDIT=$ac_ct_NMEDIT
7517 fi
7518 else
7519 NMEDIT="$ac_cv_prog_NMEDIT"
7520 fi
7521
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_LIPO+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$LIPO"; then
7531 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7535 do
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7543 fi
7544 done
7545 done
7546 IFS=$as_save_IFS
7547
7548 fi
7549 fi
7550 LIPO=$ac_cv_prog_LIPO
7551 if test -n "$LIPO"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7553 $as_echo "$LIPO" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7557 fi
7558
7559
7560 fi
7561 if test -z "$ac_cv_prog_LIPO"; then
7562 ac_ct_LIPO=$LIPO
7563 # Extract the first word of "lipo", so it can be a program name with args.
7564 set dummy lipo; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_LIPO"; then
7571 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7575 do
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_LIPO="lipo"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7583 fi
7584 done
7585 done
7586 IFS=$as_save_IFS
7587
7588 fi
7589 fi
7590 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7591 if test -n "$ac_ct_LIPO"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7593 $as_echo "$ac_ct_LIPO" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7597 fi
7598
7599 if test "x$ac_ct_LIPO" = x; then
7600 LIPO=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 LIPO=$ac_ct_LIPO
7609 fi
7610 else
7611 LIPO="$ac_cv_prog_LIPO"
7612 fi
7613
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL"; then
7623 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7627 do
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7635 fi
7636 done
7637 done
7638 IFS=$as_save_IFS
7639
7640 fi
7641 fi
7642 OTOOL=$ac_cv_prog_OTOOL
7643 if test -n "$OTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7645 $as_echo "$OTOOL" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7649 fi
7650
7651
7652 fi
7653 if test -z "$ac_cv_prog_OTOOL"; then
7654 ac_ct_OTOOL=$OTOOL
7655 # Extract the first word of "otool", so it can be a program name with args.
7656 set dummy otool; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL"; then
7663 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7667 do
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL="otool"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7675 fi
7676 done
7677 done
7678 IFS=$as_save_IFS
7679
7680 fi
7681 fi
7682 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7683 if test -n "$ac_ct_OTOOL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7685 $as_echo "$ac_ct_OTOOL" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7689 fi
7690
7691 if test "x$ac_ct_OTOOL" = x; then
7692 OTOOL=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL=$ac_ct_OTOOL
7701 fi
7702 else
7703 OTOOL="$ac_cv_prog_OTOOL"
7704 fi
7705
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710 $as_echo_n "checking for $ac_word... " >&6; }
7711 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7713 else
7714 if test -n "$OTOOL64"; then
7715 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7716 else
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH
7719 do
7720 IFS=$as_save_IFS
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7727 fi
7728 done
7729 done
7730 IFS=$as_save_IFS
7731
7732 fi
7733 fi
7734 OTOOL64=$ac_cv_prog_OTOOL64
7735 if test -n "$OTOOL64"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7737 $as_echo "$OTOOL64" >&6; }
7738 else
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7741 fi
7742
7743
7744 fi
7745 if test -z "$ac_cv_prog_OTOOL64"; then
7746 ac_ct_OTOOL64=$OTOOL64
7747 # Extract the first word of "otool64", so it can be a program name with args.
7748 set dummy otool64; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7753 else
7754 if test -n "$ac_ct_OTOOL64"; then
7755 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7756 else
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 for as_dir in $PATH
7759 do
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_OTOOL64="otool64"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7767 fi
7768 done
7769 done
7770 IFS=$as_save_IFS
7771
7772 fi
7773 fi
7774 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7775 if test -n "$ac_ct_OTOOL64"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7777 $as_echo "$ac_ct_OTOOL64" >&6; }
7778 else
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7781 fi
7782
7783 if test "x$ac_ct_OTOOL64" = x; then
7784 OTOOL64=":"
7785 else
7786 case $cross_compiling:$ac_tool_warned in
7787 yes:)
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790 ac_tool_warned=yes ;;
7791 esac
7792 OTOOL64=$ac_ct_OTOOL64
7793 fi
7794 else
7795 OTOOL64="$ac_cv_prog_OTOOL64"
7796 fi
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
7822
7823
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7825 $as_echo_n "checking for -single_module linker flag... " >&6; }
7826 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 lt_cv_apple_cc_single_mod=no
7830 if test -z "${LT_MULTI_MODULE}"; then
7831 # By default we will add the -single_module flag. You can override
7832 # by either setting the environment variable LT_MULTI_MODULE
7833 # non-empty at configure time, or by adding -multi_module to the
7834 # link flags.
7835 rm -rf libconftest.dylib*
7836 echo "int foo(void){return 1;}" > conftest.c
7837 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7838 -dynamiclib -Wl,-single_module conftest.c" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7841 _lt_result=$?
7842 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7843 lt_cv_apple_cc_single_mod=yes
7844 else
7845 cat conftest.err >&5
7846 fi
7847 rm -rf libconftest.dylib*
7848 rm -f conftest.*
7849 fi
7850 fi
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7852 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7854 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7855 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 lt_cv_ld_exported_symbols_list=no
7859 save_LDFLAGS=$LDFLAGS
7860 echo "_main" > conftest.sym
7861 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7862 if test x$gcc_no_link = xyes; then
7863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 fi
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867
7868 int
7869 main ()
7870 {
7871
7872 ;
7873 return 0;
7874 }
7875 _ACEOF
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 lt_cv_ld_exported_symbols_list=yes
7878 else
7879 lt_cv_ld_exported_symbols_list=no
7880 fi
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LDFLAGS="$save_LDFLAGS"
7884
7885 fi
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7887 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7889 $as_echo_n "checking for -force_load linker flag... " >&6; }
7890 if test "${lt_cv_ld_force_load+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 lt_cv_ld_force_load=no
7894 cat > conftest.c << _LT_EOF
7895 int forced_loaded() { return 2;}
7896 _LT_EOF
7897 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7898 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7899 echo "$AR cru libconftest.a conftest.o" >&5
7900 $AR cru libconftest.a conftest.o 2>&5
7901 cat > conftest.c << _LT_EOF
7902 int main() { return 0;}
7903 _LT_EOF
7904 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7905 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7906 _lt_result=$?
7907 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7908 lt_cv_ld_force_load=yes
7909 else
7910 cat conftest.err >&5
7911 fi
7912 rm -f conftest.err libconftest.a conftest conftest.c
7913 rm -rf conftest.dSYM
7914
7915 fi
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7917 $as_echo "$lt_cv_ld_force_load" >&6; }
7918 case $host_os in
7919 rhapsody* | darwin1.[012])
7920 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7921 darwin1.*)
7922 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7923 darwin*) # darwin 5.x on
7924 # if running on 10.5 or later, the deployment target defaults
7925 # to the OS version, if on x86, and 10.4, the deployment
7926 # target defaults to 10.4. Don't you love it?
7927 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7928 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930 10.[012][,.]*)
7931 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7932 10.*)
7933 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 esac
7935 ;;
7936 esac
7937 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7938 _lt_dar_single_mod='$single_module'
7939 fi
7940 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7941 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7942 else
7943 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 fi
7945 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7946 _lt_dsymutil='~$DSYMUTIL $lib || :'
7947 else
7948 _lt_dsymutil=
7949 fi
7950 ;;
7951 esac
7952
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7954 $as_echo_n "checking for ANSI C header files... " >&6; }
7955 if test "${ac_cv_header_stdc+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <stdlib.h>
7961 #include <stdarg.h>
7962 #include <string.h>
7963 #include <float.h>
7964
7965 int
7966 main ()
7967 {
7968
7969 ;
7970 return 0;
7971 }
7972 _ACEOF
7973 if ac_fn_c_try_compile "$LINENO"; then :
7974 ac_cv_header_stdc=yes
7975 else
7976 ac_cv_header_stdc=no
7977 fi
7978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979
7980 if test $ac_cv_header_stdc = yes; then
7981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 #include <string.h>
7985
7986 _ACEOF
7987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7988 $EGREP "memchr" >/dev/null 2>&1; then :
7989
7990 else
7991 ac_cv_header_stdc=no
7992 fi
7993 rm -f conftest*
7994
7995 fi
7996
7997 if test $ac_cv_header_stdc = yes; then
7998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #include <stdlib.h>
8002
8003 _ACEOF
8004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8005 $EGREP "free" >/dev/null 2>&1; then :
8006
8007 else
8008 ac_cv_header_stdc=no
8009 fi
8010 rm -f conftest*
8011
8012 fi
8013
8014 if test $ac_cv_header_stdc = yes; then
8015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8016 if test "$cross_compiling" = yes; then :
8017 :
8018 else
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 #include <ctype.h>
8022 #include <stdlib.h>
8023 #if ((' ' & 0x0FF) == 0x020)
8024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8026 #else
8027 # define ISLOWER(c) \
8028 (('a' <= (c) && (c) <= 'i') \
8029 || ('j' <= (c) && (c) <= 'r') \
8030 || ('s' <= (c) && (c) <= 'z'))
8031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8032 #endif
8033
8034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 int
8036 main ()
8037 {
8038 int i;
8039 for (i = 0; i < 256; i++)
8040 if (XOR (islower (i), ISLOWER (i))
8041 || toupper (i) != TOUPPER (i))
8042 return 2;
8043 return 0;
8044 }
8045 _ACEOF
8046 if ac_fn_c_try_run "$LINENO"; then :
8047
8048 else
8049 ac_cv_header_stdc=no
8050 fi
8051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8052 conftest.$ac_objext conftest.beam conftest.$ac_ext
8053 fi
8054
8055 fi
8056 fi
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8058 $as_echo "$ac_cv_header_stdc" >&6; }
8059 if test $ac_cv_header_stdc = yes; then
8060
8061 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8062
8063 fi
8064
8065 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8066 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8067 inttypes.h stdint.h unistd.h
8068 do :
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 "
8072 eval as_val=\$$as_ac_Header
8073 if test "x$as_val" = x""yes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8077
8078 fi
8079
8080 done
8081
8082
8083 for ac_header in dlfcn.h
8084 do :
8085 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 "
8087 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DLFCN_H 1
8090 _ACEOF
8091
8092 fi
8093
8094 done
8095
8096
8097
8098
8099
8100
8101 # Set options
8102
8103
8104
8105
8106 enable_win32_dll=no
8107
8108
8109 # Check whether --enable-shared was given.
8110 if test "${enable_shared+set}" = set; then :
8111 enableval=$enable_shared; p=${PACKAGE-default}
8112 case $enableval in
8113 yes) enable_shared=yes ;;
8114 no) enable_shared=no ;;
8115 *)
8116 enable_shared=no
8117 # Look at the argument we got. We use all the common list separators.
8118 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8119 for pkg in $enableval; do
8120 IFS="$lt_save_ifs"
8121 if test "X$pkg" = "X$p"; then
8122 enable_shared=yes
8123 fi
8124 done
8125 IFS="$lt_save_ifs"
8126 ;;
8127 esac
8128 else
8129 enable_shared=yes
8130 fi
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140 # Check whether --enable-static was given.
8141 if test "${enable_static+set}" = set; then :
8142 enableval=$enable_static; p=${PACKAGE-default}
8143 case $enableval in
8144 yes) enable_static=yes ;;
8145 no) enable_static=no ;;
8146 *)
8147 enable_static=no
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150 for pkg in $enableval; do
8151 IFS="$lt_save_ifs"
8152 if test "X$pkg" = "X$p"; then
8153 enable_static=yes
8154 fi
8155 done
8156 IFS="$lt_save_ifs"
8157 ;;
8158 esac
8159 else
8160 enable_static=yes
8161 fi
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172 # Check whether --with-pic was given.
8173 if test "${with_pic+set}" = set; then :
8174 withval=$with_pic; pic_mode="$withval"
8175 else
8176 pic_mode=default
8177 fi
8178
8179
8180 test -z "$pic_mode" && pic_mode=default
8181
8182
8183
8184
8185
8186
8187
8188 # Check whether --enable-fast-install was given.
8189 if test "${enable_fast_install+set}" = set; then :
8190 enableval=$enable_fast_install; p=${PACKAGE-default}
8191 case $enableval in
8192 yes) enable_fast_install=yes ;;
8193 no) enable_fast_install=no ;;
8194 *)
8195 enable_fast_install=no
8196 # Look at the argument we got. We use all the common list separators.
8197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8198 for pkg in $enableval; do
8199 IFS="$lt_save_ifs"
8200 if test "X$pkg" = "X$p"; then
8201 enable_fast_install=yes
8202 fi
8203 done
8204 IFS="$lt_save_ifs"
8205 ;;
8206 esac
8207 else
8208 enable_fast_install=yes
8209 fi
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221 # This can be used to rebuild libtool when needed
8222 LIBTOOL_DEPS="$ltmain"
8223
8224 # Always use our own libtool.
8225 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252 test -z "$LN_S" && LN_S="ln -s"
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267 if test -n "${ZSH_VERSION+set}" ; then
8268 setopt NO_GLOB_SUBST
8269 fi
8270
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8272 $as_echo_n "checking for objdir... " >&6; }
8273 if test "${lt_cv_objdir+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 rm -f .libs 2>/dev/null
8277 mkdir .libs 2>/dev/null
8278 if test -d .libs; then
8279 lt_cv_objdir=.libs
8280 else
8281 # MS-DOS does not allow filenames that begin with a dot.
8282 lt_cv_objdir=_libs
8283 fi
8284 rmdir .libs 2>/dev/null
8285 fi
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8287 $as_echo "$lt_cv_objdir" >&6; }
8288 objdir=$lt_cv_objdir
8289
8290
8291
8292
8293
8294 cat >>confdefs.h <<_ACEOF
8295 #define LT_OBJDIR "$lt_cv_objdir/"
8296 _ACEOF
8297
8298
8299
8300
8301 case $host_os in
8302 aix3*)
8303 # AIX sometimes has problems with the GCC collect2 program. For some
8304 # reason, if we set the COLLECT_NAMES environment variable, the problems
8305 # vanish in a puff of smoke.
8306 if test "X${COLLECT_NAMES+set}" != Xset; then
8307 COLLECT_NAMES=
8308 export COLLECT_NAMES
8309 fi
8310 ;;
8311 esac
8312
8313 # Global variables:
8314 ofile=libtool
8315 can_build_shared=yes
8316
8317 # All known linkers require a `.a' archive for static linking (except MSVC,
8318 # which needs '.lib').
8319 libext=a
8320
8321 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322
8323 old_CC="$CC"
8324 old_CFLAGS="$CFLAGS"
8325
8326 # Set sane defaults for various variables
8327 test -z "$CC" && CC=cc
8328 test -z "$LTCC" && LTCC=$CC
8329 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8330 test -z "$LD" && LD=ld
8331 test -z "$ac_objext" && ac_objext=o
8332
8333 for cc_temp in $compiler""; do
8334 case $cc_temp in
8335 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8336 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8337 \-*) ;;
8338 *) break;;
8339 esac
8340 done
8341 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8342
8343
8344 # Only perform the check for file, if the check method requires it
8345 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8346 case $deplibs_check_method in
8347 file_magic*)
8348 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8350 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8357 ;;
8358 *)
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/${ac_tool_prefix}file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8374 :
8375 else
8376 cat <<_LT_EOF 1>&2
8377
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8386
8387 _LT_EOF
8388 fi ;;
8389 esac
8390 fi
8391 break
8392 fi
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 ;;
8397 esac
8398 fi
8399
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8407 fi
8408
8409
8410
8411
8412
8413 if test -z "$lt_cv_path_MAGIC_CMD"; then
8414 if test -n "$ac_tool_prefix"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8416 $as_echo_n "checking for file... " >&6; }
8417 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 case $MAGIC_CMD in
8421 [\\/*] | ?:[\\/]*)
8422 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8423 ;;
8424 *)
8425 lt_save_MAGIC_CMD="$MAGIC_CMD"
8426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8427 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8428 for ac_dir in $ac_dummy; do
8429 IFS="$lt_save_ifs"
8430 test -z "$ac_dir" && ac_dir=.
8431 if test -f $ac_dir/file; then
8432 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8433 if test -n "$file_magic_test_file"; then
8434 case $deplibs_check_method in
8435 "file_magic "*)
8436 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8439 $EGREP "$file_magic_regex" > /dev/null; then
8440 :
8441 else
8442 cat <<_LT_EOF 1>&2
8443
8444 *** Warning: the command libtool uses to detect shared libraries,
8445 *** $file_magic_cmd, produces output that libtool cannot recognize.
8446 *** The result is that libtool may fail to recognize shared libraries
8447 *** as such. This will affect the creation of libtool libraries that
8448 *** depend on shared libraries, but programs linked with such libtool
8449 *** libraries will work regardless of this problem. Nevertheless, you
8450 *** may want to report the problem to your system manager and/or to
8451 *** bug-libtool@gnu.org
8452
8453 _LT_EOF
8454 fi ;;
8455 esac
8456 fi
8457 break
8458 fi
8459 done
8460 IFS="$lt_save_ifs"
8461 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 ;;
8463 esac
8464 fi
8465
8466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8467 if test -n "$MAGIC_CMD"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8469 $as_echo "$MAGIC_CMD" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8473 fi
8474
8475
8476 else
8477 MAGIC_CMD=:
8478 fi
8479 fi
8480
8481 fi
8482 ;;
8483 esac
8484
8485 # Use C for the default configuration in the libtool script
8486
8487 lt_save_CC="$CC"
8488 ac_ext=c
8489 ac_cpp='$CPP $CPPFLAGS'
8490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8493
8494
8495 # Source file extension for C test sources.
8496 ac_ext=c
8497
8498 # Object file extension for compiled C test sources.
8499 objext=o
8500 objext=$objext
8501
8502 # Code to be used in simple compile tests
8503 lt_simple_compile_test_code="int some_variable = 0;"
8504
8505 # Code to be used in simple link tests
8506 lt_simple_link_test_code='int main(){return(0);}'
8507
8508
8509
8510
8511
8512
8513
8514 # If no C compiler was specified, use CC.
8515 LTCC=${LTCC-"$CC"}
8516
8517 # If no C compiler flags were specified, use CFLAGS.
8518 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519
8520 # Allow CC to be a program name with arguments.
8521 compiler=$CC
8522
8523 # Save the default compiler, since it gets overwritten when the other
8524 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8525 compiler_DEFAULT=$CC
8526
8527 # save warnings/boilerplate of simple test code
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531 _lt_compiler_boilerplate=`cat conftest.err`
8532 $RM conftest*
8533
8534 ac_outfile=conftest.$ac_objext
8535 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8537 _lt_linker_boilerplate=`cat conftest.err`
8538 $RM -r conftest*
8539
8540
8541 ## CAVEAT EMPTOR:
8542 ## There is no encapsulation within the following macros, do not change
8543 ## the running order or otherwise move them around unless you know exactly
8544 ## what you are doing...
8545 if test -n "$compiler"; then
8546
8547 lt_prog_compiler_no_builtin_flag=
8548
8549 if test "$GCC" = yes; then
8550 case $cc_basename in
8551 nvcc*)
8552 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 *)
8554 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8555 esac
8556
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8558 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8559 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 lt_cv_prog_compiler_rtti_exceptions=no
8563 ac_outfile=conftest.$ac_objext
8564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8565 lt_compiler_flag="-fno-rtti -fno-exceptions"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 # The option is referenced via a variable to avoid confusing sed.
8571 lt_compile=`echo "$ac_compile" | $SED \
8572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574 -e 's:$: $lt_compiler_flag:'`
8575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576 (eval "$lt_compile" 2>conftest.err)
8577 ac_status=$?
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 if (exit $ac_status) && test -s "$ac_outfile"; then
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings other than the usual output.
8583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_rtti_exceptions=yes
8587 fi
8588 fi
8589 $RM conftest*
8590
8591 fi
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8593 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594
8595 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8596 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8597 else
8598 :
8599 fi
8600
8601 fi
8602
8603
8604
8605
8606
8607
8608 lt_prog_compiler_wl=
8609 lt_prog_compiler_pic=
8610 lt_prog_compiler_static=
8611
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614
8615 if test "$GCC" = yes; then
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_static='-static'
8618
8619 case $host_os in
8620 aix*)
8621 # All AIX code is PIC.
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8625 fi
8626 lt_prog_compiler_pic='-fPIC'
8627 ;;
8628
8629 amigaos*)
8630 case $host_cpu in
8631 powerpc)
8632 # see comment about AmigaOS4 .so support
8633 lt_prog_compiler_pic='-fPIC'
8634 ;;
8635 m68k)
8636 # FIXME: we need at least 68020 code to build shared libraries, but
8637 # adding the `-m68020' flag to GCC prevents building anything better,
8638 # like `-m68040'.
8639 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 ;;
8641 esac
8642 ;;
8643
8644 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8645 # PIC is the default for these OSes.
8646 ;;
8647
8648 mingw* | cygwin* | pw32* | os2* | cegcc*)
8649 # This hack is so that the source file can tell whether it is being
8650 # built for inclusion in a dll (and should export symbols for example).
8651 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8652 # (--disable-auto-import) libraries
8653 lt_prog_compiler_pic='-DDLL_EXPORT'
8654 ;;
8655
8656 darwin* | rhapsody*)
8657 # PIC is the default on this platform
8658 # Common symbols not allowed in MH_DYLIB files
8659 lt_prog_compiler_pic='-fno-common'
8660 ;;
8661
8662 haiku*)
8663 # PIC is the default for Haiku.
8664 # The "-static" flag exists, but is broken.
8665 lt_prog_compiler_static=
8666 ;;
8667
8668 hpux*)
8669 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8670 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8671 # sets the default TLS model and affects inlining.
8672 case $host_cpu in
8673 hppa*64*)
8674 # +Z the default
8675 ;;
8676 *)
8677 lt_prog_compiler_pic='-fPIC'
8678 ;;
8679 esac
8680 ;;
8681
8682 interix[3-9]*)
8683 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8684 # Instead, we relocate shared libraries at runtime.
8685 ;;
8686
8687 msdosdjgpp*)
8688 # Just because we use GCC doesn't mean we suddenly get shared libraries
8689 # on systems that don't support them.
8690 lt_prog_compiler_can_build_shared=no
8691 enable_shared=no
8692 ;;
8693
8694 *nto* | *qnx*)
8695 # QNX uses GNU C++, but need to define -shared option too, otherwise
8696 # it will coredump.
8697 lt_prog_compiler_pic='-fPIC -shared'
8698 ;;
8699
8700 sysv4*MP*)
8701 if test -d /usr/nec; then
8702 lt_prog_compiler_pic=-Kconform_pic
8703 fi
8704 ;;
8705
8706 *)
8707 lt_prog_compiler_pic='-fPIC'
8708 ;;
8709 esac
8710
8711 case $cc_basename in
8712 nvcc*) # Cuda Compiler Driver 2.2
8713 lt_prog_compiler_wl='-Xlinker '
8714 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 ;;
8716 esac
8717 else
8718 # PORTME Check for flag to pass linker flags through the system compiler.
8719 case $host_os in
8720 aix*)
8721 lt_prog_compiler_wl='-Wl,'
8722 if test "$host_cpu" = ia64; then
8723 # AIX 5 now supports IA64 processor
8724 lt_prog_compiler_static='-Bstatic'
8725 else
8726 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8727 fi
8728 ;;
8729
8730 mingw* | cygwin* | pw32* | os2* | cegcc*)
8731 # This hack is so that the source file can tell whether it is being
8732 # built for inclusion in a dll (and should export symbols for example).
8733 lt_prog_compiler_pic='-DDLL_EXPORT'
8734 ;;
8735
8736 hpux9* | hpux10* | hpux11*)
8737 lt_prog_compiler_wl='-Wl,'
8738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8739 # not for PA HP-UX.
8740 case $host_cpu in
8741 hppa*64*|ia64*)
8742 # +Z the default
8743 ;;
8744 *)
8745 lt_prog_compiler_pic='+Z'
8746 ;;
8747 esac
8748 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8749 lt_prog_compiler_static='${wl}-a ${wl}archive'
8750 ;;
8751
8752 irix5* | irix6* | nonstopux*)
8753 lt_prog_compiler_wl='-Wl,'
8754 # PIC (with -KPIC) is the default.
8755 lt_prog_compiler_static='-non_shared'
8756 ;;
8757
8758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8759 case $cc_basename in
8760 # old Intel for x86_64 which still supported -KPIC.
8761 ecc*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-static'
8765 ;;
8766 # icc used to be incompatible with GCC.
8767 # ICC 10 doesn't accept -KPIC any more.
8768 icc* | ifort*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8772 ;;
8773 # Lahey Fortran 8.1.
8774 lf95*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='--shared'
8777 lt_prog_compiler_static='--static'
8778 ;;
8779 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8780 # Portland Group compilers (*not* the Pentium gcc compiler,
8781 # which looks to be a dead project)
8782 lt_prog_compiler_wl='-Wl,'
8783 lt_prog_compiler_pic='-fpic'
8784 lt_prog_compiler_static='-Bstatic'
8785 ;;
8786 ccc*)
8787 lt_prog_compiler_wl='-Wl,'
8788 # All Alpha code is PIC.
8789 lt_prog_compiler_static='-non_shared'
8790 ;;
8791 xl* | bgxl* | bgf* | mpixl*)
8792 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-qpic'
8795 lt_prog_compiler_static='-qstaticlink'
8796 ;;
8797 *)
8798 case `$CC -V 2>&1 | sed 5q` in
8799 *Sun\ F* | *Sun*Fortran*)
8800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8801 lt_prog_compiler_pic='-KPIC'
8802 lt_prog_compiler_static='-Bstatic'
8803 lt_prog_compiler_wl=''
8804 ;;
8805 *Sun\ C*)
8806 # Sun C 5.9
8807 lt_prog_compiler_pic='-KPIC'
8808 lt_prog_compiler_static='-Bstatic'
8809 lt_prog_compiler_wl='-Wl,'
8810 ;;
8811 esac
8812 ;;
8813 esac
8814 ;;
8815
8816 newsos6)
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 ;;
8820
8821 *nto* | *qnx*)
8822 # QNX uses GNU C++, but need to define -shared option too, otherwise
8823 # it will coredump.
8824 lt_prog_compiler_pic='-fPIC -shared'
8825 ;;
8826
8827 osf3* | osf4* | osf5*)
8828 lt_prog_compiler_wl='-Wl,'
8829 # All OSF/1 code is PIC.
8830 lt_prog_compiler_static='-non_shared'
8831 ;;
8832
8833 rdos*)
8834 lt_prog_compiler_static='-non_shared'
8835 ;;
8836
8837 solaris*)
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 case $cc_basename in
8841 f77* | f90* | f95*)
8842 lt_prog_compiler_wl='-Qoption ld ';;
8843 *)
8844 lt_prog_compiler_wl='-Wl,';;
8845 esac
8846 ;;
8847
8848 sunos4*)
8849 lt_prog_compiler_wl='-Qoption ld '
8850 lt_prog_compiler_pic='-PIC'
8851 lt_prog_compiler_static='-Bstatic'
8852 ;;
8853
8854 sysv4 | sysv4.2uw2* | sysv4.3*)
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_pic='-KPIC'
8857 lt_prog_compiler_static='-Bstatic'
8858 ;;
8859
8860 sysv4*MP*)
8861 if test -d /usr/nec ;then
8862 lt_prog_compiler_pic='-Kconform_pic'
8863 lt_prog_compiler_static='-Bstatic'
8864 fi
8865 ;;
8866
8867 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-KPIC'
8870 lt_prog_compiler_static='-Bstatic'
8871 ;;
8872
8873 unicos*)
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_can_build_shared=no
8876 ;;
8877
8878 uts4*)
8879 lt_prog_compiler_pic='-pic'
8880 lt_prog_compiler_static='-Bstatic'
8881 ;;
8882
8883 *)
8884 lt_prog_compiler_can_build_shared=no
8885 ;;
8886 esac
8887 fi
8888
8889 case $host_os in
8890 # For platforms which do not support PIC, -DPIC is meaningless:
8891 *djgpp*)
8892 lt_prog_compiler_pic=
8893 ;;
8894 *)
8895 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 ;;
8897 esac
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8899 $as_echo "$lt_prog_compiler_pic" >&6; }
8900
8901
8902
8903
8904
8905
8906 #
8907 # Check to make sure the PIC flag actually works.
8908 #
8909 if test -n "$lt_prog_compiler_pic"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8911 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8912 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 lt_cv_prog_compiler_pic_works=no
8916 ac_outfile=conftest.$ac_objext
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8919 # Insert the option either (1) after the last *FLAGS variable, or
8920 # (2) before a word containing "conftest.", or (3) at the end.
8921 # Note that $ac_compile itself does not contain backslashes and begins
8922 # with a dollar sign (not a hyphen), so the echo should work correctly.
8923 # The option is referenced via a variable to avoid confusing sed.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>conftest.err)
8930 ac_status=$?
8931 cat conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s "$ac_outfile"; then
8934 # The compiler can only warn and ignore the option if not recognized
8935 # So say no if there are warnings other than the usual output.
8936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8939 lt_cv_prog_compiler_pic_works=yes
8940 fi
8941 fi
8942 $RM conftest*
8943
8944 fi
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8946 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947
8948 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8949 case $lt_prog_compiler_pic in
8950 "" | " "*) ;;
8951 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8952 esac
8953 else
8954 lt_prog_compiler_pic=
8955 lt_prog_compiler_can_build_shared=no
8956 fi
8957
8958 fi
8959
8960
8961
8962
8963
8964
8965 #
8966 # Check to make sure the static flag actually works.
8967 #
8968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8971 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 lt_cv_prog_compiler_static_works=no
8975 save_LDFLAGS="$LDFLAGS"
8976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8977 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8979 # The linker can only warn and ignore the option if not recognized
8980 # So say no if there are warnings
8981 if test -s conftest.err; then
8982 # Append any errors to the config.log.
8983 cat conftest.err 1>&5
8984 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986 if diff conftest.exp conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_static_works=yes
8988 fi
8989 else
8990 lt_cv_prog_compiler_static_works=yes
8991 fi
8992 fi
8993 $RM -r conftest*
8994 LDFLAGS="$save_LDFLAGS"
8995
8996 fi
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999
9000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 :
9002 else
9003 lt_prog_compiler_static=
9004 fi
9005
9006
9007
9008
9009
9010
9011
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 lt_cv_prog_compiler_c_o=no
9018 $RM -r conftest 2>/dev/null
9019 mkdir conftest
9020 cd conftest
9021 mkdir out
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023
9024 lt_compiler_flag="-o out/conftest2.$ac_objext"
9025 # Insert the option either (1) after the last *FLAGS variable, or
9026 # (2) before a word containing "conftest.", or (3) at the end.
9027 # Note that $ac_compile itself does not contain backslashes and begins
9028 # with a dollar sign (not a hyphen), so the echo should work correctly.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>out/conftest.err)
9035 ac_status=$?
9036 cat out/conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9039 then
9040 # The compiler can only warn and ignore the option if not recognized
9041 # So say no if there are warnings
9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_c_o=yes
9046 fi
9047 fi
9048 chmod u+w . 2>&5
9049 $RM conftest*
9050 # SGI C++ compiler will create directory out/ii_files/ for
9051 # template instantiation
9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053 $RM out/* && rmdir out
9054 cd ..
9055 $RM -r conftest
9056 $RM conftest*
9057
9058 fi
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9061
9062
9063
9064
9065
9066
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 lt_cv_prog_compiler_c_o=no
9073 $RM -r conftest 2>/dev/null
9074 mkdir conftest
9075 cd conftest
9076 mkdir out
9077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078
9079 lt_compiler_flag="-o out/conftest2.$ac_objext"
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 lt_compile=`echo "$ac_compile" | $SED \
9085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9087 -e 's:$: $lt_compiler_flag:'`
9088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9089 (eval "$lt_compile" 2>out/conftest.err)
9090 ac_status=$?
9091 cat out/conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9094 then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings
9097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9100 lt_cv_prog_compiler_c_o=yes
9101 fi
9102 fi
9103 chmod u+w . 2>&5
9104 $RM conftest*
9105 # SGI C++ compiler will create directory out/ii_files/ for
9106 # template instantiation
9107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9108 $RM out/* && rmdir out
9109 cd ..
9110 $RM -r conftest
9111 $RM conftest*
9112
9113 fi
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9116
9117
9118
9119
9120 hard_links="nottested"
9121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9122 # do not overwrite the value of need_locks provided by the user
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9124 $as_echo_n "checking if we can lock with hard links... " >&6; }
9125 hard_links=yes
9126 $RM conftest*
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 touch conftest.a
9129 ln conftest.a conftest.b 2>&5 || hard_links=no
9130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9132 $as_echo "$hard_links" >&6; }
9133 if test "$hard_links" = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9136 need_locks=warn
9137 fi
9138 else
9139 need_locks=no
9140 fi
9141
9142
9143
9144
9145
9146
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149
9150 runpath_var=
9151 allow_undefined_flag=
9152 always_export_symbols=no
9153 archive_cmds=
9154 archive_expsym_cmds=
9155 compiler_needs_object=no
9156 enable_shared_with_static_runtimes=no
9157 export_dynamic_flag_spec=
9158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9159 hardcode_automatic=no
9160 hardcode_direct=no
9161 hardcode_direct_absolute=no
9162 hardcode_libdir_flag_spec=
9163 hardcode_libdir_flag_spec_ld=
9164 hardcode_libdir_separator=
9165 hardcode_minus_L=no
9166 hardcode_shlibpath_var=unsupported
9167 inherit_rpath=no
9168 link_all_deplibs=unknown
9169 module_cmds=
9170 module_expsym_cmds=
9171 old_archive_from_new_cmds=
9172 old_archive_from_expsyms_cmds=
9173 thread_safe_flag_spec=
9174 whole_archive_flag_spec=
9175 # include_expsyms should be a list of space-separated symbols to be *always*
9176 # included in the symbol list
9177 include_expsyms=
9178 # exclude_expsyms can be an extended regexp of symbols to exclude
9179 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9180 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9181 # as well as any symbol that contains `d'.
9182 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9183 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9184 # platforms (ab)use it in PIC code, but their linkers get confused if
9185 # the symbol is explicitly referenced. Since portable code cannot
9186 # rely on this symbol name, it's probably fine to never include it in
9187 # preloaded symbol tables.
9188 # Exclude shared library initialization/finalization symbols.
9189 extract_expsyms_cmds=
9190
9191 case $host_os in
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9194 # When not using gcc, we currently assume that we are using
9195 # Microsoft Visual C++.
9196 if test "$GCC" != yes; then
9197 with_gnu_ld=no
9198 fi
9199 ;;
9200 interix*)
9201 # we just hope/assume this is gcc and not c89 (= MSVC++)
9202 with_gnu_ld=yes
9203 ;;
9204 openbsd*)
9205 with_gnu_ld=no
9206 ;;
9207 esac
9208
9209 ld_shlibs=yes
9210
9211 # On some targets, GNU ld is compatible enough with the native linker
9212 # that we're better off using the native interface for both.
9213 lt_use_gnu_ld_interface=no
9214 if test "$with_gnu_ld" = yes; then
9215 case $host_os in
9216 aix*)
9217 # The AIX port of GNU ld has always aspired to compatibility
9218 # with the native linker. However, as the warning in the GNU ld
9219 # block says, versions before 2.19.5* couldn't really create working
9220 # shared libraries, regardless of the interface used.
9221 case `$LD -v 2>&1` in
9222 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9223 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9224 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 *)
9226 lt_use_gnu_ld_interface=yes
9227 ;;
9228 esac
9229 ;;
9230 *)
9231 lt_use_gnu_ld_interface=yes
9232 ;;
9233 esac
9234 fi
9235
9236 if test "$lt_use_gnu_ld_interface" = yes; then
9237 # If archive_cmds runs LD, not CC, wlarc should be empty
9238 wlarc='${wl}'
9239
9240 # Set some defaults for GNU ld with shared library support. These
9241 # are reset later if shared libraries are not supported. Putting them
9242 # here allows them to be overridden if necessary.
9243 runpath_var=LD_RUN_PATH
9244 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9245 export_dynamic_flag_spec='${wl}--export-dynamic'
9246 # ancient GNU ld didn't support --whole-archive et. al.
9247 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9248 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9249 else
9250 whole_archive_flag_spec=
9251 fi
9252 supports_anon_versioning=no
9253 case `$LD -v 2>&1` in
9254 *GNU\ gold*) supports_anon_versioning=yes ;;
9255 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9256 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9257 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9258 *\ 2.11.*) ;; # other 2.11 versions
9259 *) supports_anon_versioning=yes ;;
9260 esac
9261
9262 # See if GNU ld supports shared libraries.
9263 case $host_os in
9264 aix[3-9]*)
9265 # On AIX/PPC, the GNU linker is very broken
9266 if test "$host_cpu" != ia64; then
9267 ld_shlibs=no
9268 cat <<_LT_EOF 1>&2
9269
9270 *** Warning: the GNU linker, at least up to release 2.19, is reported
9271 *** to be unable to reliably create shared libraries on AIX.
9272 *** Therefore, libtool is disabling shared libraries support. If you
9273 *** really care for shared libraries, you may want to install binutils
9274 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9275 *** You will then need to restart the configuration process.
9276
9277 _LT_EOF
9278 fi
9279 ;;
9280
9281 amigaos*)
9282 case $host_cpu in
9283 powerpc)
9284 # see comment about AmigaOS4 .so support
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds=''
9287 ;;
9288 m68k)
9289 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)'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9292 ;;
9293 esac
9294 ;;
9295
9296 beos*)
9297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298 allow_undefined_flag=unsupported
9299 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9300 # support --undefined. This deserves some investigation. FIXME
9301 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 else
9303 ld_shlibs=no
9304 fi
9305 ;;
9306
9307 cygwin* | mingw* | pw32* | cegcc*)
9308 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9309 # as there is no search path for DLLs.
9310 hardcode_libdir_flag_spec='-L$libdir'
9311 export_dynamic_flag_spec='${wl}--export-all-symbols'
9312 allow_undefined_flag=unsupported
9313 always_export_symbols=no
9314 enable_shared_with_static_runtimes=yes
9315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316
9317 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 # If the export-symbols file already is a .def file (1st line
9320 # is EXPORTS), use it as is; otherwise, prepend...
9321 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9322 cp $export_symbols $output_objdir/$soname.def;
9323 else
9324 echo EXPORTS > $output_objdir/$soname.def;
9325 cat $export_symbols >> $output_objdir/$soname.def;
9326 fi~
9327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 else
9329 ld_shlibs=no
9330 fi
9331 ;;
9332
9333 haiku*)
9334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 link_all_deplibs=yes
9336 ;;
9337
9338 interix[3-9]*)
9339 hardcode_direct=no
9340 hardcode_shlibpath_var=no
9341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9342 export_dynamic_flag_spec='${wl}-E'
9343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9344 # Instead, shared libraries are loaded at an image base (0x10000000 by
9345 # default) and relocated if they conflict, which is a slow very memory
9346 # consuming and fragmenting process. To avoid this, we pick a random,
9347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9349 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350 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'
9351 ;;
9352
9353 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9354 tmp_diet=no
9355 if test "$host_os" = linux-dietlibc; then
9356 case $cc_basename in
9357 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9358 esac
9359 fi
9360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9361 && test "$tmp_diet" = no
9362 then
9363 tmp_addflag=' $pic_flag'
9364 tmp_sharedflag='-shared'
9365 case $cc_basename,$host_cpu in
9366 pgcc*) # Portland Group C compiler
9367 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'
9368 tmp_addflag=' $pic_flag'
9369 ;;
9370 pgf77* | pgf90* | pgf95* | pgfortran*)
9371 # Portland Group f77 and f90 compilers
9372 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'
9373 tmp_addflag=' $pic_flag -Mnomain' ;;
9374 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9375 tmp_addflag=' -i_dynamic' ;;
9376 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9377 tmp_addflag=' -i_dynamic -nofor_main' ;;
9378 ifc* | ifort*) # Intel Fortran compiler
9379 tmp_addflag=' -nofor_main' ;;
9380 lf95*) # Lahey Fortran 8.1
9381 whole_archive_flag_spec=
9382 tmp_sharedflag='--shared' ;;
9383 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9384 tmp_sharedflag='-qmkshrobj'
9385 tmp_addflag= ;;
9386 nvcc*) # Cuda Compiler Driver 2.2
9387 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'
9388 compiler_needs_object=yes
9389 ;;
9390 esac
9391 case `$CC -V 2>&1 | sed 5q` in
9392 *Sun\ C*) # Sun C 5.9
9393 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'
9394 compiler_needs_object=yes
9395 tmp_sharedflag='-G' ;;
9396 *Sun\ F*) # Sun Fortran 8.3
9397 tmp_sharedflag='-G' ;;
9398 esac
9399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400
9401 if test "x$supports_anon_versioning" = xyes; then
9402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9404 echo "local: *; };" >> $output_objdir/$libname.ver~
9405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9406 fi
9407
9408 case $cc_basename in
9409 xlf* | bgf* | bgxlf* | mpixlf*)
9410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9412 hardcode_libdir_flag_spec=
9413 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9414 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9415 if test "x$supports_anon_versioning" = xyes; then
9416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9418 echo "local: *; };" >> $output_objdir/$libname.ver~
9419 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9420 fi
9421 ;;
9422 esac
9423 else
9424 ld_shlibs=no
9425 fi
9426 ;;
9427
9428 netbsd*)
9429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9431 wlarc=
9432 else
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 fi
9436 ;;
9437
9438 solaris*)
9439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9440 ld_shlibs=no
9441 cat <<_LT_EOF 1>&2
9442
9443 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9444 *** create shared libraries on Solaris systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.9.1 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9449
9450 _LT_EOF
9451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9454 else
9455 ld_shlibs=no
9456 fi
9457 ;;
9458
9459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9460 case `$LD -v 2>&1` in
9461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9462 ld_shlibs=no
9463 cat <<_LT_EOF 1>&2
9464
9465 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9466 *** reliably create shared libraries on SCO systems. Therefore, libtool
9467 *** is disabling shared libraries support. We urge you to upgrade GNU
9468 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9469 *** your PATH or compiler configuration so that the native linker is
9470 *** used, and then restart.
9471
9472 _LT_EOF
9473 ;;
9474 *)
9475 # For security reasons, it is highly recommended that you always
9476 # use absolute paths for naming shared libraries, and exclude the
9477 # DT_RUNPATH tag from executables and libraries. But doing so
9478 # requires that you compile everything twice, which is a pain.
9479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483 else
9484 ld_shlibs=no
9485 fi
9486 ;;
9487 esac
9488 ;;
9489
9490 sunos4*)
9491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 wlarc=
9493 hardcode_direct=yes
9494 hardcode_shlibpath_var=no
9495 ;;
9496
9497 *)
9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501 else
9502 ld_shlibs=no
9503 fi
9504 ;;
9505 esac
9506
9507 if test "$ld_shlibs" = no; then
9508 runpath_var=
9509 hardcode_libdir_flag_spec=
9510 export_dynamic_flag_spec=
9511 whole_archive_flag_spec=
9512 fi
9513 else
9514 # PORTME fill in a description of your system's linker (not GNU ld)
9515 case $host_os in
9516 aix3*)
9517 allow_undefined_flag=unsupported
9518 always_export_symbols=yes
9519 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'
9520 # Note: this linker hardcodes the directories in LIBPATH if there
9521 # are no directories specified by -L.
9522 hardcode_minus_L=yes
9523 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9524 # Neither direct hardcoding nor static linking is supported with a
9525 # broken collect2.
9526 hardcode_direct=unsupported
9527 fi
9528 ;;
9529
9530 aix[4-9]*)
9531 if test "$host_cpu" = ia64; then
9532 # On IA64, the linker does run time linking by default, so we don't
9533 # have to do anything special.
9534 aix_use_runtimelinking=no
9535 exp_sym_flag='-Bexport'
9536 no_entry_flag=""
9537 else
9538 # If we're using GNU nm, then we don't want the "-C" option.
9539 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9540 # Also, AIX nm treats weak defined symbols like other global
9541 # defined symbols, whereas GNU nm marks them as "W".
9542 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9543 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'
9544 else
9545 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9546 fi
9547 aix_use_runtimelinking=no
9548
9549 # Test if we are trying to use run time linking or normal
9550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9551 # need to do runtime linking.
9552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9553 for ld_flag in $LDFLAGS; do
9554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9555 aix_use_runtimelinking=yes
9556 break
9557 fi
9558 done
9559 ;;
9560 esac
9561
9562 exp_sym_flag='-bexport'
9563 no_entry_flag='-bnoentry'
9564 fi
9565
9566 # When large executables or shared objects are built, AIX ld can
9567 # have problems creating the table of contents. If linking a library
9568 # or program results in "error TOC overflow" add -mminimal-toc to
9569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571
9572 archive_cmds=''
9573 hardcode_direct=yes
9574 hardcode_direct_absolute=yes
9575 hardcode_libdir_separator=':'
9576 link_all_deplibs=yes
9577 file_list_spec='${wl}-f,'
9578
9579 if test "$GCC" = yes; then
9580 case $host_os in aix4.[012]|aix4.[012].*)
9581 # We only want to do this on AIX 4.2 and lower, the check
9582 # below for broken collect2 doesn't work under 4.3+
9583 collect2name=`${CC} -print-prog-name=collect2`
9584 if test -f "$collect2name" &&
9585 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9586 then
9587 # We have reworked collect2
9588 :
9589 else
9590 # We have old collect2
9591 hardcode_direct=unsupported
9592 # It fails to find uninstalled libraries when the uninstalled
9593 # path is not listed in the libpath. Setting hardcode_minus_L
9594 # to unsupported forces relinking
9595 hardcode_minus_L=yes
9596 hardcode_libdir_flag_spec='-L$libdir'
9597 hardcode_libdir_separator=
9598 fi
9599 ;;
9600 esac
9601 shared_flag='-shared'
9602 if test "$aix_use_runtimelinking" = yes; then
9603 shared_flag="$shared_flag "'${wl}-G'
9604 fi
9605 else
9606 # not using gcc
9607 if test "$host_cpu" = ia64; then
9608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9609 # chokes on -Wl,-G. The following line is correct:
9610 shared_flag='-G'
9611 else
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag='${wl}-G'
9614 else
9615 shared_flag='${wl}-bM:SRE'
9616 fi
9617 fi
9618 fi
9619
9620 export_dynamic_flag_spec='${wl}-bexpall'
9621 # It seems that -bexpall does not export symbols beginning with
9622 # underscore (_), so it is better to generate a list of symbols to export.
9623 always_export_symbols=yes
9624 if test "$aix_use_runtimelinking" = yes; then
9625 # Warning - without using the other runtime loading flags (-brtl),
9626 # -berok will link without error, but may produce a broken library.
9627 allow_undefined_flag='-berok'
9628 # Determine the default libpath from the value encoded in an
9629 # empty executable.
9630 if test x$gcc_no_link = xyes; then
9631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 fi
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9635
9636 int
9637 main ()
9638 {
9639
9640 ;
9641 return 0;
9642 }
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9645
9646 lt_aix_libpath_sed='
9647 /Import File Strings/,/^$/ {
9648 /^0/ {
9649 s/^0 *\(.*\)$/\1/
9650 p
9651 }
9652 }'
9653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 # Check for a 64-bit object if we didn't find anything.
9655 if test -z "$aix_libpath"; then
9656 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9657 fi
9658 fi
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662
9663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 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"
9665 else
9666 if test "$host_cpu" = ia64; then
9667 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9668 allow_undefined_flag="-z nodefs"
9669 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"
9670 else
9671 # Determine the default libpath from the value encoded in an
9672 # empty executable.
9673 if test x$gcc_no_link = xyes; then
9674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 fi
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9678
9679 int
9680 main ()
9681 {
9682
9683 ;
9684 return 0;
9685 }
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688
9689 lt_aix_libpath_sed='
9690 /Import File Strings/,/^$/ {
9691 /^0/ {
9692 s/^0 *\(.*\)$/\1/
9693 p
9694 }
9695 }'
9696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 # Check for a 64-bit object if we didn't find anything.
9698 if test -z "$aix_libpath"; then
9699 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9700 fi
9701 fi
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705
9706 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9707 # Warning - without using the other run time loading flags,
9708 # -berok will link without error, but may produce a broken library.
9709 no_undefined_flag=' ${wl}-bernotok'
9710 allow_undefined_flag=' ${wl}-berok'
9711 if test "$with_gnu_ld" = yes; then
9712 # We only use this code for GNU lds that support --whole-archive.
9713 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9714 else
9715 # Exported symbols can be pulled into shared objects from archives
9716 whole_archive_flag_spec='$convenience'
9717 fi
9718 archive_cmds_need_lc=yes
9719 # This is similar to how AIX traditionally builds its shared libraries.
9720 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'
9721 fi
9722 fi
9723 ;;
9724
9725 amigaos*)
9726 case $host_cpu in
9727 powerpc)
9728 # see comment about AmigaOS4 .so support
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds=''
9731 ;;
9732 m68k)
9733 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)'
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 hardcode_minus_L=yes
9736 ;;
9737 esac
9738 ;;
9739
9740 bsdi[45]*)
9741 export_dynamic_flag_spec=-rdynamic
9742 ;;
9743
9744 cygwin* | mingw* | pw32* | cegcc*)
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 # hardcode_libdir_flag_spec is actually meaningless, as there is
9748 # no search path for DLLs.
9749 hardcode_libdir_flag_spec=' '
9750 allow_undefined_flag=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9752 libext=lib
9753 # Tell ltmain to make .dll files, not .so files.
9754 shrext_cmds=".dll"
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 fix_srcfile_path='`cygpath -w "$srcfile"`'
9762 enable_shared_with_static_runtimes=yes
9763 ;;
9764
9765 darwin* | rhapsody*)
9766
9767
9768 archive_cmds_need_lc=no
9769 hardcode_direct=no
9770 hardcode_automatic=yes
9771 hardcode_shlibpath_var=unsupported
9772 if test "$lt_cv_ld_force_load" = "yes"; then
9773 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\"`'
9774 else
9775 whole_archive_flag_spec=''
9776 fi
9777 link_all_deplibs=yes
9778 allow_undefined_flag="$_lt_dar_allow_undefined"
9779 case $cc_basename in
9780 ifort*) _lt_dar_can_shared=yes ;;
9781 *) _lt_dar_can_shared=$GCC ;;
9782 esac
9783 if test "$_lt_dar_can_shared" = "yes"; then
9784 output_verbose_link_cmd=func_echo_all
9785 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787 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}"
9788 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}"
9789
9790 else
9791 ld_shlibs=no
9792 fi
9793
9794 ;;
9795
9796 dgux*)
9797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='-L$libdir'
9799 hardcode_shlibpath_var=no
9800 ;;
9801
9802 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9803 # support. Future versions do this automatically, but an explicit c++rt0.o
9804 # does not break anything, and helps significantly (at the cost of a little
9805 # extra space).
9806 freebsd2.2*)
9807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9808 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_direct=yes
9810 hardcode_shlibpath_var=no
9811 ;;
9812
9813 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9814 freebsd2.*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct=yes
9817 hardcode_minus_L=yes
9818 hardcode_shlibpath_var=no
9819 ;;
9820
9821 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9822 freebsd* | dragonfly*)
9823 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_direct=yes
9826 hardcode_shlibpath_var=no
9827 ;;
9828
9829 hpux9*)
9830 if test "$GCC" = yes; then
9831 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'
9832 else
9833 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'
9834 fi
9835 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator=:
9837 hardcode_direct=yes
9838
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L=yes
9842 export_dynamic_flag_spec='${wl}-E'
9843 ;;
9844
9845 hpux10*)
9846 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9847 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 else
9849 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 fi
9851 if test "$with_gnu_ld" = no; then
9852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_flag_spec_ld='+b $libdir'
9854 hardcode_libdir_separator=:
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9861 fi
9862 ;;
9863
9864 hpux11*)
9865 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9866 case $host_cpu in
9867 hppa*64*)
9868 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ;;
9870 ia64*)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9872 ;;
9873 *)
9874 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 ;;
9876 esac
9877 else
9878 case $host_cpu in
9879 hppa*64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ;;
9882 ia64*)
9883 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 ;;
9885 *)
9886
9887 # Older versions of the 11.00 compiler do not understand -b yet
9888 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9890 $as_echo_n "checking if $CC understands -b... " >&6; }
9891 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 lt_cv_prog_compiler__b=no
9895 save_LDFLAGS="$LDFLAGS"
9896 LDFLAGS="$LDFLAGS -b"
9897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9899 # The linker can only warn and ignore the option if not recognized
9900 # So say no if there are warnings
9901 if test -s conftest.err; then
9902 # Append any errors to the config.log.
9903 cat conftest.err 1>&5
9904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906 if diff conftest.exp conftest.er2 >/dev/null; then
9907 lt_cv_prog_compiler__b=yes
9908 fi
9909 else
9910 lt_cv_prog_compiler__b=yes
9911 fi
9912 fi
9913 $RM -r conftest*
9914 LDFLAGS="$save_LDFLAGS"
9915
9916 fi
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9918 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919
9920 if test x"$lt_cv_prog_compiler__b" = xyes; then
9921 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922 else
9923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9924 fi
9925
9926 ;;
9927 esac
9928 fi
9929 if test "$with_gnu_ld" = no; then
9930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9931 hardcode_libdir_separator=:
9932
9933 case $host_cpu in
9934 hppa*64*|ia64*)
9935 hardcode_direct=no
9936 hardcode_shlibpath_var=no
9937 ;;
9938 *)
9939 hardcode_direct=yes
9940 hardcode_direct_absolute=yes
9941 export_dynamic_flag_spec='${wl}-E'
9942
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L=yes
9946 ;;
9947 esac
9948 fi
9949 ;;
9950
9951 irix5* | irix6* | nonstopux*)
9952 if test "$GCC" = yes; then
9953 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'
9954 # Try to use the -exported_symbol ld option, if it does not
9955 # work, assume that -exports_file does not work either and
9956 # implicitly export all symbols.
9957 save_LDFLAGS="$LDFLAGS"
9958 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9959 if test x$gcc_no_link = xyes; then
9960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 fi
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 int foo(void) {}
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 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'
9968
9969 fi
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9973 else
9974 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'
9975 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'
9976 fi
9977 archive_cmds_need_lc='no'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980 inherit_rpath=yes
9981 link_all_deplibs=yes
9982 ;;
9983
9984 netbsd*)
9985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9987 else
9988 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 fi
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_direct=yes
9992 hardcode_shlibpath_var=no
9993 ;;
9994
9995 newsos6)
9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_direct=yes
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 hardcode_libdir_separator=:
10000 hardcode_shlibpath_var=no
10001 ;;
10002
10003 *nto* | *qnx*)
10004 ;;
10005
10006 openbsd*)
10007 if test -f /usr/libexec/ld.so; then
10008 hardcode_direct=yes
10009 hardcode_shlibpath_var=no
10010 hardcode_direct_absolute=yes
10011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10012 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10014 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10015 export_dynamic_flag_spec='${wl}-E'
10016 else
10017 case $host_os in
10018 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10019 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-R$libdir'
10021 ;;
10022 *)
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 ;;
10026 esac
10027 fi
10028 else
10029 ld_shlibs=no
10030 fi
10031 ;;
10032
10033 os2*)
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 hardcode_minus_L=yes
10036 allow_undefined_flag=unsupported
10037 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'
10038 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10039 ;;
10040
10041 osf3*)
10042 if test "$GCC" = yes; then
10043 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10044 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'
10045 else
10046 allow_undefined_flag=' -expect_unresolved \*'
10047 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'
10048 fi
10049 archive_cmds_need_lc='no'
10050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10051 hardcode_libdir_separator=:
10052 ;;
10053
10054 osf4* | osf5*) # as osf3* with the addition of -msym flag
10055 if test "$GCC" = yes; then
10056 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10057 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'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 else
10060 allow_undefined_flag=' -expect_unresolved \*'
10061 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'
10062 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~
10063 $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'
10064
10065 # Both c and cxx compiler support -rpath directly
10066 hardcode_libdir_flag_spec='-rpath $libdir'
10067 fi
10068 archive_cmds_need_lc='no'
10069 hardcode_libdir_separator=:
10070 ;;
10071
10072 solaris*)
10073 no_undefined_flag=' -z defs'
10074 if test "$GCC" = yes; then
10075 wlarc='${wl}'
10076 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10079 else
10080 case `$CC -V 2>&1` in
10081 *"Compilers 5.0"*)
10082 wlarc=''
10083 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10086 ;;
10087 *)
10088 wlarc='${wl}'
10089 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 ;;
10093 esac
10094 fi
10095 hardcode_libdir_flag_spec='-R$libdir'
10096 hardcode_shlibpath_var=no
10097 case $host_os in
10098 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 *)
10100 # The compiler driver will combine and reorder linker options,
10101 # but understands `-z linker_flag'. GCC discards it without `$wl',
10102 # but is careful enough not to reorder.
10103 # Supported since Solaris 2.6 (maybe 2.5.1?)
10104 if test "$GCC" = yes; then
10105 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10106 else
10107 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10108 fi
10109 ;;
10110 esac
10111 link_all_deplibs=yes
10112 ;;
10113
10114 sunos4*)
10115 if test "x$host_vendor" = xsequent; then
10116 # Use $CC to link under sequent, because it throws in some extra .o
10117 # files that make .init and .fini sections work.
10118 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10119 else
10120 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 fi
10122 hardcode_libdir_flag_spec='-L$libdir'
10123 hardcode_direct=yes
10124 hardcode_minus_L=yes
10125 hardcode_shlibpath_var=no
10126 ;;
10127
10128 sysv4)
10129 case $host_vendor in
10130 sni)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_direct=yes # is this really true???
10133 ;;
10134 siemens)
10135 ## LD is ld it makes a PLAMLIB
10136 ## CC just makes a GrossModule.
10137 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10138 reload_cmds='$CC -r -o $output$reload_objs'
10139 hardcode_direct=no
10140 ;;
10141 motorola)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 ;;
10145 esac
10146 runpath_var='LD_RUN_PATH'
10147 hardcode_shlibpath_var=no
10148 ;;
10149
10150 sysv4.3*)
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 export_dynamic_flag_spec='-Bexport'
10154 ;;
10155
10156 sysv4*MP*)
10157 if test -d /usr/nec; then
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var=no
10160 runpath_var=LD_RUN_PATH
10161 hardcode_runpath_var=yes
10162 ld_shlibs=yes
10163 fi
10164 ;;
10165
10166 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10167 no_undefined_flag='${wl}-z,text'
10168 archive_cmds_need_lc=no
10169 hardcode_shlibpath_var=no
10170 runpath_var='LD_RUN_PATH'
10171
10172 if test "$GCC" = yes; then
10173 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 else
10176 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 fi
10179 ;;
10180
10181 sysv5* | sco3.2v5* | sco5v6*)
10182 # Note: We can NOT use -z defs as we might desire, because we do not
10183 # link with -lc, and that would cause any symbols used from libc to
10184 # always be unresolved, which means just about no library would
10185 # ever link correctly. If we're not using GNU ld we use -z text
10186 # though, which does catch some bad symbols but isn't as heavy-handed
10187 # as -z defs.
10188 no_undefined_flag='${wl}-z,text'
10189 allow_undefined_flag='${wl}-z,nodefs'
10190 archive_cmds_need_lc=no
10191 hardcode_shlibpath_var=no
10192 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10193 hardcode_libdir_separator=':'
10194 link_all_deplibs=yes
10195 export_dynamic_flag_spec='${wl}-Bexport'
10196 runpath_var='LD_RUN_PATH'
10197
10198 if test "$GCC" = yes; then
10199 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 else
10202 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 fi
10205 ;;
10206
10207 uts4*)
10208 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10209 hardcode_libdir_flag_spec='-L$libdir'
10210 hardcode_shlibpath_var=no
10211 ;;
10212
10213 *)
10214 ld_shlibs=no
10215 ;;
10216 esac
10217
10218 if test x$host_vendor = xsni; then
10219 case $host in
10220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10221 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 ;;
10223 esac
10224 fi
10225 fi
10226
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10228 $as_echo "$ld_shlibs" >&6; }
10229 test "$ld_shlibs" = no && can_build_shared=no
10230
10231 with_gnu_ld=$with_gnu_ld
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247 #
10248 # Do we need to explicitly link libc?
10249 #
10250 case "x$archive_cmds_need_lc" in
10251 x|xyes)
10252 # Assume -lc should be added
10253 archive_cmds_need_lc=yes
10254
10255 if test "$enable_shared" = yes && test "$GCC" = yes; then
10256 case $archive_cmds in
10257 *'~'*)
10258 # FIXME: we may have to deal with multi-command sequences.
10259 ;;
10260 '$CC '*)
10261 # Test whether the compiler implicitly links with -lc since on some
10262 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10263 # to ld, don't add -lc before -lgcc.
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10265 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10266 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 $RM conftest*
10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271
10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10273 (eval $ac_compile) 2>&5
10274 ac_status=$?
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; } 2>conftest.err; then
10277 soname=conftest
10278 lib=conftest
10279 libobjs=conftest.$ac_objext
10280 deplibs=
10281 wl=$lt_prog_compiler_wl
10282 pic_flag=$lt_prog_compiler_pic
10283 compiler_flags=-v
10284 linker_flags=-v
10285 verstring=
10286 output_objdir=.
10287 libname=conftest
10288 lt_save_allow_undefined_flag=$allow_undefined_flag
10289 allow_undefined_flag=
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10292 ac_status=$?
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; }
10295 then
10296 lt_cv_archive_cmds_need_lc=no
10297 else
10298 lt_cv_archive_cmds_need_lc=yes
10299 fi
10300 allow_undefined_flag=$lt_save_allow_undefined_flag
10301 else
10302 cat conftest.err 1>&5
10303 fi
10304 $RM conftest*
10305
10306 fi
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10308 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10309 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 ;;
10311 esac
10312 fi
10313 ;;
10314 esac
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
10470
10471
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10473 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474
10475 if test "$GCC" = yes; then
10476 case $host_os in
10477 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10478 *) lt_awk_arg="/^libraries:/" ;;
10479 esac
10480 case $host_os in
10481 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10482 *) lt_sed_strip_eq="s,=/,/,g" ;;
10483 esac
10484 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10485 case $lt_search_path_spec in
10486 *\;*)
10487 # if the path contains ";" then we assume it to be the separator
10488 # otherwise default to the standard path separator (i.e. ":") - it is
10489 # assumed that no part of a normal pathname contains ";" but that should
10490 # okay in the real world where ";" in dirpaths is itself problematic.
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10492 ;;
10493 *)
10494 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 ;;
10496 esac
10497 # Ok, now we have the path, separated by spaces, we can step through it
10498 # and add multilib dir if necessary.
10499 lt_tmp_lt_search_path_spec=
10500 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10501 for lt_sys_path in $lt_search_path_spec; do
10502 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10504 else
10505 test -d "$lt_sys_path" && \
10506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 fi
10508 done
10509 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10510 BEGIN {RS=" "; FS="/|\n";} {
10511 lt_foo="";
10512 lt_count=0;
10513 for (lt_i = NF; lt_i > 0; lt_i--) {
10514 if ($lt_i != "" && $lt_i != ".") {
10515 if ($lt_i == "..") {
10516 lt_count++;
10517 } else {
10518 if (lt_count == 0) {
10519 lt_foo="/" $lt_i lt_foo;
10520 } else {
10521 lt_count--;
10522 }
10523 }
10524 }
10525 }
10526 if (lt_foo != "") { lt_freq[lt_foo]++; }
10527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 }'`
10529 # AWK program above erroneously prepends '/' to C:/dos/paths
10530 # for these hosts.
10531 case $host_os in
10532 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10533 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10534 esac
10535 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536 else
10537 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 fi
10539 library_names_spec=
10540 libname_spec='lib$name'
10541 soname_spec=
10542 shrext_cmds=".so"
10543 postinstall_cmds=
10544 postuninstall_cmds=
10545 finish_cmds=
10546 finish_eval=
10547 shlibpath_var=
10548 shlibpath_overrides_runpath=unknown
10549 version_type=none
10550 dynamic_linker="$host_os ld.so"
10551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10552 need_lib_prefix=unknown
10553 hardcode_into_libs=no
10554
10555 # when you set need_version to no, make sure it does not cause -set_version
10556 # flags to be left without arguments
10557 need_version=unknown
10558
10559 case $host_os in
10560 aix3*)
10561 version_type=linux
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10563 shlibpath_var=LIBPATH
10564
10565 # AIX 3 has no versioning support, so we append a major version to the name.
10566 soname_spec='${libname}${release}${shared_ext}$major'
10567 ;;
10568
10569 aix[4-9]*)
10570 version_type=linux
10571 need_lib_prefix=no
10572 need_version=no
10573 hardcode_into_libs=yes
10574 if test "$host_cpu" = ia64; then
10575 # AIX 5 supports IA64
10576 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10577 shlibpath_var=LD_LIBRARY_PATH
10578 else
10579 # With GCC up to 2.95.x, collect2 would create an import file
10580 # for dependence libraries. The import file would start with
10581 # the line `#! .'. This would cause the generated library to
10582 # depend on `.', always an invalid library. This was fixed in
10583 # development snapshots of GCC prior to 3.0.
10584 case $host_os in
10585 aix4 | aix4.[01] | aix4.[01].*)
10586 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10587 echo ' yes '
10588 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 :
10590 else
10591 can_build_shared=no
10592 fi
10593 ;;
10594 esac
10595 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10596 # soname into executable. Probably we can add versioning support to
10597 # collect2, so additional links can be useful in future.
10598 if test "$aix_use_runtimelinking" = yes; then
10599 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10600 # instead of lib<name>.a to let people know that these are not
10601 # typical AIX shared libraries.
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 else
10604 # We preserve .a as extension for shared libraries through AIX4.2
10605 # and later when we are not doing run time linking.
10606 library_names_spec='${libname}${release}.a $libname.a'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 fi
10609 shlibpath_var=LIBPATH
10610 fi
10611 ;;
10612
10613 amigaos*)
10614 case $host_cpu in
10615 powerpc)
10616 # Since July 2007 AmigaOS4 officially supports .so libraries.
10617 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 ;;
10620 m68k)
10621 library_names_spec='$libname.ixlibrary $libname.a'
10622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10623 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'
10624 ;;
10625 esac
10626 ;;
10627
10628 beos*)
10629 library_names_spec='${libname}${shared_ext}'
10630 dynamic_linker="$host_os ld.so"
10631 shlibpath_var=LIBRARY_PATH
10632 ;;
10633
10634 bsdi[45]*)
10635 version_type=linux
10636 need_version=no
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10642 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10643 # the default ld.so.conf also contains /usr/contrib/lib and
10644 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10645 # libtool to hard-code these into programs
10646 ;;
10647
10648 cygwin* | mingw* | pw32* | cegcc*)
10649 version_type=windows
10650 shrext_cmds=".dll"
10651 need_version=no
10652 need_lib_prefix=no
10653
10654 case $GCC,$host_os in
10655 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10656 library_names_spec='$libname.dll.a'
10657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10658 postinstall_cmds='base_file=`basename \${file}`~
10659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10660 dldir=$destdir/`dirname \$dlpath`~
10661 test -d \$dldir || mkdir -p \$dldir~
10662 $install_prog $dir/$dlname \$dldir/$dlname~
10663 chmod a+x \$dldir/$dlname~
10664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 fi'
10667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10669 $RM \$dlpath'
10670 shlibpath_overrides_runpath=yes
10671
10672 case $host_os in
10673 cygwin*)
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676
10677 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 ;;
10679 mingw* | cegcc*)
10680 # MinGW DLLs use traditional 'lib' prefix
10681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 ;;
10683 pw32*)
10684 # pw32 DLLs use 'pw' prefix rather than 'lib'
10685 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 ;;
10687 esac
10688 ;;
10689
10690 *)
10691 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 ;;
10693 esac
10694 dynamic_linker='Win32 ld.exe'
10695 # FIXME: first we should search . and the directory the executable is in
10696 shlibpath_var=PATH
10697 ;;
10698
10699 darwin* | rhapsody*)
10700 dynamic_linker="$host_os dyld"
10701 version_type=darwin
10702 need_lib_prefix=no
10703 need_version=no
10704 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10705 soname_spec='${libname}${release}${major}$shared_ext'
10706 shlibpath_overrides_runpath=yes
10707 shlibpath_var=DYLD_LIBRARY_PATH
10708 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709
10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10712 ;;
10713
10714 dgux*)
10715 version_type=linux
10716 need_lib_prefix=no
10717 need_version=no
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 shlibpath_var=LD_LIBRARY_PATH
10721 ;;
10722
10723 freebsd* | dragonfly*)
10724 # DragonFly does not have aout. When/if they implement a new
10725 # versioning mechanism, adjust this.
10726 if test -x /usr/bin/objformat; then
10727 objformat=`/usr/bin/objformat`
10728 else
10729 case $host_os in
10730 freebsd[23].*) objformat=aout ;;
10731 *) objformat=elf ;;
10732 esac
10733 fi
10734 version_type=freebsd-$objformat
10735 case $version_type in
10736 freebsd-elf*)
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10738 need_version=no
10739 need_lib_prefix=no
10740 ;;
10741 freebsd-*)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10743 need_version=yes
10744 ;;
10745 esac
10746 shlibpath_var=LD_LIBRARY_PATH
10747 case $host_os in
10748 freebsd2.*)
10749 shlibpath_overrides_runpath=yes
10750 ;;
10751 freebsd3.[01]* | freebsdelf3.[01]*)
10752 shlibpath_overrides_runpath=yes
10753 hardcode_into_libs=yes
10754 ;;
10755 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10756 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10759 ;;
10760 *) # from 4.6 on, and DragonFly
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10763 ;;
10764 esac
10765 ;;
10766
10767 gnu*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 hardcode_into_libs=yes
10775 ;;
10776
10777 haiku*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 dynamic_linker="$host_os runtime_loader"
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10786 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10787 hardcode_into_libs=yes
10788 ;;
10789
10790 hpux9* | hpux10* | hpux11*)
10791 # Give a soname corresponding to the major version so that dld.sl refuses to
10792 # link against other versions.
10793 version_type=sunos
10794 need_lib_prefix=no
10795 need_version=no
10796 case $host_cpu in
10797 ia64*)
10798 shrext_cmds='.so'
10799 hardcode_into_libs=yes
10800 dynamic_linker="$host_os dld.so"
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 if test "X$HPUX_IA64_MODE" = X32; then
10806 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10807 else
10808 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 fi
10810 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 ;;
10812 hppa*64*)
10813 shrext_cmds='.sl'
10814 hardcode_into_libs=yes
10815 dynamic_linker="$host_os dld.sl"
10816 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10817 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10822 ;;
10823 *)
10824 shrext_cmds='.sl'
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=SHLIB_PATH
10827 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 ;;
10831 esac
10832 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10833 postinstall_cmds='chmod 555 $lib'
10834 # or fails outright, so override atomically:
10835 install_override_mode=555
10836 ;;
10837
10838 interix[3-9]*)
10839 version_type=linux
10840 need_lib_prefix=no
10841 need_version=no
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10847 hardcode_into_libs=yes
10848 ;;
10849
10850 irix5* | irix6* | nonstopux*)
10851 case $host_os in
10852 nonstopux*) version_type=nonstopux ;;
10853 *)
10854 if test "$lt_cv_prog_gnu_ld" = yes; then
10855 version_type=linux
10856 else
10857 version_type=irix
10858 fi ;;
10859 esac
10860 need_lib_prefix=no
10861 need_version=no
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 case $host_os in
10865 irix5* | nonstopux*)
10866 libsuff= shlibsuff=
10867 ;;
10868 *)
10869 case $LD in # libtool.m4 will add one of these switches to LD
10870 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10871 libsuff= shlibsuff= libmagic=32-bit;;
10872 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10873 libsuff=32 shlibsuff=N32 libmagic=N32;;
10874 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10875 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10876 *) libsuff= shlibsuff= libmagic=never-match;;
10877 esac
10878 ;;
10879 esac
10880 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10881 shlibpath_overrides_runpath=no
10882 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10883 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10884 hardcode_into_libs=yes
10885 ;;
10886
10887 # No shared lib support for Linux oldld, aout, or coff.
10888 linux*oldld* | linux*aout* | linux*coff*)
10889 dynamic_linker=no
10890 ;;
10891
10892 # This must be Linux ELF.
10893 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10894 version_type=linux
10895 need_lib_prefix=no
10896 need_version=no
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=no
10902
10903 # Some binutils ld are patched to set DT_RUNPATH
10904 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 lt_cv_shlibpath_overrides_runpath=no
10908 save_LDFLAGS=$LDFLAGS
10909 save_libdir=$libdir
10910 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10911 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10912 if test x$gcc_no_link = xyes; then
10913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 fi
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10917
10918 int
10919 main ()
10920 {
10921
10922 ;
10923 return 0;
10924 }
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10928 lt_cv_shlibpath_overrides_runpath=yes
10929 fi
10930 fi
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LDFLAGS=$save_LDFLAGS
10934 libdir=$save_libdir
10935
10936 fi
10937
10938 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939
10940 # This implies no fast_install, which is unacceptable.
10941 # Some rework will be needed to allow for fast_install
10942 # before this can be enabled.
10943 hardcode_into_libs=yes
10944
10945 # Append ld.so.conf contents to the search path
10946 if test -f /etc/ld.so.conf; then
10947 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' ' '`
10948 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10949 fi
10950
10951 # We used to test for /lib/ld.so.1 and disable shared libraries on
10952 # powerpc, because MkLinux only supported shared libraries with the
10953 # GNU dynamic linker. Since this was broken with cross compilers,
10954 # most powerpc-linux boxes support dynamic linking these days and
10955 # people can always --disable-shared, the test was removed, and we
10956 # assume the GNU/Linux dynamic linker is in use.
10957 dynamic_linker='GNU/Linux ld.so'
10958 ;;
10959
10960 netbsd*)
10961 version_type=sunos
10962 need_lib_prefix=no
10963 need_version=no
10964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967 dynamic_linker='NetBSD (a.out) ld.so'
10968 else
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 dynamic_linker='NetBSD ld.elf_so'
10972 fi
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10976 ;;
10977
10978 newsos6)
10979 version_type=linux
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 ;;
10984
10985 *nto* | *qnx*)
10986 version_type=qnx
10987 need_lib_prefix=no
10988 need_version=no
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=no
10993 hardcode_into_libs=yes
10994 dynamic_linker='ldqnx.so'
10995 ;;
10996
10997 openbsd*)
10998 version_type=sunos
10999 sys_lib_dlsearch_path_spec="/usr/lib"
11000 need_lib_prefix=no
11001 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11002 case $host_os in
11003 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11004 *) need_version=no ;;
11005 esac
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11010 case $host_os in
11011 openbsd2.[89] | openbsd2.[89].*)
11012 shlibpath_overrides_runpath=no
11013 ;;
11014 *)
11015 shlibpath_overrides_runpath=yes
11016 ;;
11017 esac
11018 else
11019 shlibpath_overrides_runpath=yes
11020 fi
11021 ;;
11022
11023 os2*)
11024 libname_spec='$name'
11025 shrext_cmds=".dll"
11026 need_lib_prefix=no
11027 library_names_spec='$libname${shared_ext} $libname.a'
11028 dynamic_linker='OS/2 ld.exe'
11029 shlibpath_var=LIBPATH
11030 ;;
11031
11032 osf3* | osf4* | osf5*)
11033 version_type=osf
11034 need_lib_prefix=no
11035 need_version=no
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11041 ;;
11042
11043 rdos*)
11044 dynamic_linker=no
11045 ;;
11046
11047 solaris*)
11048 version_type=linux
11049 need_lib_prefix=no
11050 need_version=no
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath=yes
11055 hardcode_into_libs=yes
11056 # ldd complains unless libraries are executable
11057 postinstall_cmds='chmod +x $lib'
11058 ;;
11059
11060 sunos4*)
11061 version_type=sunos
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 if test "$with_gnu_ld" = yes; then
11067 need_lib_prefix=no
11068 fi
11069 need_version=yes
11070 ;;
11071
11072 sysv4 | sysv4.3*)
11073 version_type=linux
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 case $host_vendor in
11078 sni)
11079 shlibpath_overrides_runpath=no
11080 need_lib_prefix=no
11081 runpath_var=LD_RUN_PATH
11082 ;;
11083 siemens)
11084 need_lib_prefix=no
11085 ;;
11086 motorola)
11087 need_lib_prefix=no
11088 need_version=no
11089 shlibpath_overrides_runpath=no
11090 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 ;;
11092 esac
11093 ;;
11094
11095 sysv4*MP*)
11096 if test -d /usr/nec ;then
11097 version_type=linux
11098 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099 soname_spec='$libname${shared_ext}.$major'
11100 shlibpath_var=LD_LIBRARY_PATH
11101 fi
11102 ;;
11103
11104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11105 version_type=freebsd-elf
11106 need_lib_prefix=no
11107 need_version=no
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11112 hardcode_into_libs=yes
11113 if test "$with_gnu_ld" = yes; then
11114 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11115 else
11116 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11117 case $host_os in
11118 sco3.2v5*)
11119 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 ;;
11121 esac
11122 fi
11123 sys_lib_dlsearch_path_spec='/usr/lib'
11124 ;;
11125
11126 tpf*)
11127 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11128 version_type=linux
11129 need_lib_prefix=no
11130 need_version=no
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 shlibpath_var=LD_LIBRARY_PATH
11133 shlibpath_overrides_runpath=no
11134 hardcode_into_libs=yes
11135 ;;
11136
11137 uts4*)
11138 version_type=linux
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LD_LIBRARY_PATH
11142 ;;
11143
11144 *)
11145 dynamic_linker=no
11146 ;;
11147 esac
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no && can_build_shared=no
11151
11152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11155 fi
11156
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 fi
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11162 fi
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
11253
11254
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11257 hardcode_action=
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259 test -n "$runpath_var" ||
11260 test "X$hardcode_automatic" = "Xyes" ; then
11261
11262 # We can hardcode non-existent directories.
11263 if test "$hardcode_direct" != no &&
11264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265 # have to relink, otherwise we might link with an installed library
11266 # when we should be linking with a yet-to-be-installed one
11267 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268 test "$hardcode_minus_L" != no; then
11269 # Linking always hardcodes the temporary library directory.
11270 hardcode_action=relink
11271 else
11272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273 hardcode_action=immediate
11274 fi
11275 else
11276 # We cannot hardcode anything, or else we can only hardcode existing
11277 # directories.
11278 hardcode_action=unsupported
11279 fi
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11282
11283 if test "$hardcode_action" = relink ||
11284 test "$inherit_rpath" = yes; then
11285 # Fast installation is not supported
11286 enable_fast_install=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288 test "$enable_shared" = no; then
11289 # Fast installation is not necessary
11290 enable_fast_install=needless
11291 fi
11292
11293
11294
11295
11296
11297
11298 if test "x$enable_dlopen" != xyes; then
11299 enable_dlopen=unknown
11300 enable_dlopen_self=unknown
11301 enable_dlopen_self_static=unknown
11302 else
11303 lt_cv_dlopen=no
11304 lt_cv_dlopen_libs=
11305
11306 case $host_os in
11307 beos*)
11308 lt_cv_dlopen="load_add_on"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11311 ;;
11312
11313 mingw* | pw32* | cegcc*)
11314 lt_cv_dlopen="LoadLibrary"
11315 lt_cv_dlopen_libs=
11316 ;;
11317
11318 cygwin*)
11319 lt_cv_dlopen="dlopen"
11320 lt_cv_dlopen_libs=
11321 ;;
11322
11323 darwin*)
11324 # if libdl is installed we need to link against it
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl $LIBS"
11332 if test x$gcc_no_link = xyes; then
11333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 fi
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char dlopen ();
11345 int
11346 main ()
11347 {
11348 return dlopen ();
11349 ;
11350 return 0;
11351 }
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_dl_dlopen=yes
11355 else
11356 ac_cv_lib_dl_dlopen=no
11357 fi
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11361 fi
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11364 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 else
11367
11368 lt_cv_dlopen="dyld"
11369 lt_cv_dlopen_libs=
11370 lt_cv_dlopen_self=yes
11371
11372 fi
11373
11374 ;;
11375
11376 *)
11377 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11378 if test "x$ac_cv_func_shl_load" = x""yes; then :
11379 lt_cv_dlopen="shl_load"
11380 else
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11382 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11383 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-ldld $LIBS"
11388 if test x$gcc_no_link = xyes; then
11389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 fi
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11393
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char shl_load ();
11401 int
11402 main ()
11403 {
11404 return shl_load ();
11405 ;
11406 return 0;
11407 }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dld_shl_load=yes
11411 else
11412 ac_cv_lib_dld_shl_load=no
11413 fi
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11417 fi
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11419 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11420 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11422 else
11423 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11424 if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11429 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldl $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dlopen ();
11447 int
11448 main ()
11449 {
11450 return dlopen ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dl_dlopen=yes
11457 else
11458 ac_cv_lib_dl_dlopen=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11470 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11471 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lsvld $LIBS"
11476 if test x$gcc_no_link = xyes; then
11477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 fi
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11481
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dlopen ();
11489 int
11490 main ()
11491 {
11492 return dlopen ();
11493 ;
11494 return 0;
11495 }
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_svld_dlopen=yes
11499 else
11500 ac_cv_lib_svld_dlopen=no
11501 fi
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11505 fi
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11508 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11509 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11513 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-ldld $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 fi
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11523
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char dld_link ();
11531 int
11532 main ()
11533 {
11534 return dld_link ();
11535 ;
11536 return 0;
11537 }
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 ac_cv_lib_dld_dld_link=yes
11541 else
11542 ac_cv_lib_dld_dld_link=no
11543 fi
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11547 fi
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11549 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11550 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11551 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566
11567 fi
11568
11569 ;;
11570 esac
11571
11572 if test "x$lt_cv_dlopen" != xno; then
11573 enable_dlopen=yes
11574 else
11575 enable_dlopen=no
11576 fi
11577
11578 case $lt_cv_dlopen in
11579 dlopen)
11580 save_CPPFLAGS="$CPPFLAGS"
11581 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582
11583 save_LDFLAGS="$LDFLAGS"
11584 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585
11586 save_LIBS="$LIBS"
11587 LIBS="$lt_cv_dlopen_libs $LIBS"
11588
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11590 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11591 if test "${lt_cv_dlopen_self+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 if test "$cross_compiling" = yes; then :
11595 lt_cv_dlopen_self=cross
11596 else
11597 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11598 lt_status=$lt_dlunknown
11599 cat > conftest.$ac_ext <<_LT_EOF
11600 #line 11600 "configure"
11601 #include "confdefs.h"
11602
11603 #if HAVE_DLFCN_H
11604 #include <dlfcn.h>
11605 #endif
11606
11607 #include <stdio.h>
11608
11609 #ifdef RTLD_GLOBAL
11610 # define LT_DLGLOBAL RTLD_GLOBAL
11611 #else
11612 # ifdef DL_GLOBAL
11613 # define LT_DLGLOBAL DL_GLOBAL
11614 # else
11615 # define LT_DLGLOBAL 0
11616 # endif
11617 #endif
11618
11619 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11620 find out it does not work in some platform. */
11621 #ifndef LT_DLLAZY_OR_NOW
11622 # ifdef RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11624 # else
11625 # ifdef DL_LAZY
11626 # define LT_DLLAZY_OR_NOW DL_LAZY
11627 # else
11628 # ifdef RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW RTLD_NOW
11630 # else
11631 # ifdef DL_NOW
11632 # define LT_DLLAZY_OR_NOW DL_NOW
11633 # else
11634 # define LT_DLLAZY_OR_NOW 0
11635 # endif
11636 # endif
11637 # endif
11638 # endif
11639 #endif
11640
11641 /* When -fvisbility=hidden is used, assume the code has been annotated
11642 correspondingly for the symbols needed. */
11643 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11644 void fnord () __attribute__((visibility("default")));
11645 #endif
11646
11647 void fnord () { int i=42; }
11648 int main ()
11649 {
11650 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11651 int status = $lt_dlunknown;
11652
11653 if (self)
11654 {
11655 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11656 else
11657 {
11658 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11659 else puts (dlerror ());
11660 }
11661 /* dlclose (self); */
11662 }
11663 else
11664 puts (dlerror ());
11665
11666 return status;
11667 }
11668 _LT_EOF
11669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11670 (eval $ac_link) 2>&5
11671 ac_status=$?
11672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11673 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11674 (./conftest; exit; ) >&5 2>/dev/null
11675 lt_status=$?
11676 case x$lt_status in
11677 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11679 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11680 esac
11681 else :
11682 # compilation failed
11683 lt_cv_dlopen_self=no
11684 fi
11685 fi
11686 rm -fr conftest*
11687
11688
11689 fi
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11691 $as_echo "$lt_cv_dlopen_self" >&6; }
11692
11693 if test "x$lt_cv_dlopen_self" = xyes; then
11694 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11696 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11697 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 if test "$cross_compiling" = yes; then :
11701 lt_cv_dlopen_self_static=cross
11702 else
11703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11704 lt_status=$lt_dlunknown
11705 cat > conftest.$ac_ext <<_LT_EOF
11706 #line 11706 "configure"
11707 #include "confdefs.h"
11708
11709 #if HAVE_DLFCN_H
11710 #include <dlfcn.h>
11711 #endif
11712
11713 #include <stdio.h>
11714
11715 #ifdef RTLD_GLOBAL
11716 # define LT_DLGLOBAL RTLD_GLOBAL
11717 #else
11718 # ifdef DL_GLOBAL
11719 # define LT_DLGLOBAL DL_GLOBAL
11720 # else
11721 # define LT_DLGLOBAL 0
11722 # endif
11723 #endif
11724
11725 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11726 find out it does not work in some platform. */
11727 #ifndef LT_DLLAZY_OR_NOW
11728 # ifdef RTLD_LAZY
11729 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11730 # else
11731 # ifdef DL_LAZY
11732 # define LT_DLLAZY_OR_NOW DL_LAZY
11733 # else
11734 # ifdef RTLD_NOW
11735 # define LT_DLLAZY_OR_NOW RTLD_NOW
11736 # else
11737 # ifdef DL_NOW
11738 # define LT_DLLAZY_OR_NOW DL_NOW
11739 # else
11740 # define LT_DLLAZY_OR_NOW 0
11741 # endif
11742 # endif
11743 # endif
11744 # endif
11745 #endif
11746
11747 /* When -fvisbility=hidden is used, assume the code has been annotated
11748 correspondingly for the symbols needed. */
11749 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11750 void fnord () __attribute__((visibility("default")));
11751 #endif
11752
11753 void fnord () { int i=42; }
11754 int main ()
11755 {
11756 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11757 int status = $lt_dlunknown;
11758
11759 if (self)
11760 {
11761 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11762 else
11763 {
11764 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11765 else puts (dlerror ());
11766 }
11767 /* dlclose (self); */
11768 }
11769 else
11770 puts (dlerror ());
11771
11772 return status;
11773 }
11774 _LT_EOF
11775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11776 (eval $ac_link) 2>&5
11777 ac_status=$?
11778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11779 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11780 (./conftest; exit; ) >&5 2>/dev/null
11781 lt_status=$?
11782 case x$lt_status in
11783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11785 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11786 esac
11787 else :
11788 # compilation failed
11789 lt_cv_dlopen_self_static=no
11790 fi
11791 fi
11792 rm -fr conftest*
11793
11794
11795 fi
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11797 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11798 fi
11799
11800 CPPFLAGS="$save_CPPFLAGS"
11801 LDFLAGS="$save_LDFLAGS"
11802 LIBS="$save_LIBS"
11803 ;;
11804 esac
11805
11806 case $lt_cv_dlopen_self in
11807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11808 *) enable_dlopen_self=unknown ;;
11809 esac
11810
11811 case $lt_cv_dlopen_self_static in
11812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11813 *) enable_dlopen_self_static=unknown ;;
11814 esac
11815 fi
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833 striplib=
11834 old_striplib=
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11836 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11837 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11842 else
11843 # FIXME - insert some real tests, host_os isn't really good enough
11844 case $host_os in
11845 darwin*)
11846 if test -n "$STRIP" ; then
11847 striplib="$STRIP -x"
11848 old_striplib="$STRIP -S"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11854 fi
11855 ;;
11856 *)
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11859 ;;
11860 esac
11861 fi
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874 # Report which library types will actually be built
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11876 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11878 $as_echo "$can_build_shared" >&6; }
11879
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11881 $as_echo_n "checking whether to build shared libraries... " >&6; }
11882 test "$can_build_shared" = "no" && enable_shared=no
11883
11884 # On AIX, shared libraries and static libraries use the same namespace, and
11885 # are all built from PIC.
11886 case $host_os in
11887 aix3*)
11888 test "$enable_shared" = yes && enable_static=no
11889 if test -n "$RANLIB"; then
11890 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11891 postinstall_cmds='$RANLIB $lib'
11892 fi
11893 ;;
11894
11895 aix[4-9]*)
11896 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11897 test "$enable_shared" = yes && enable_static=no
11898 fi
11899 ;;
11900 esac
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11902 $as_echo "$enable_shared" >&6; }
11903
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11905 $as_echo_n "checking whether to build static libraries... " >&6; }
11906 # Make sure either enable_shared or enable_static is yes.
11907 test "$enable_shared" = yes || enable_static=yes
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11909 $as_echo "$enable_static" >&6; }
11910
11911
11912
11913
11914 fi
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920
11921 CC="$lt_save_CC"
11922
11923 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11924 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11925 (test "X$CXX" != "Xg++"))) ; then
11926 ac_ext=cpp
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11932 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11933 if test -z "$CXXCPP"; then
11934 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 # Double quotes because CXXCPP needs to be expanded
11938 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 do
11940 ac_preproc_ok=false
11941 for ac_cxx_preproc_warn_flag in '' yes
11942 do
11943 # Use a header file that comes with gcc, so configuring glibc
11944 # with a fresh cross-compiler works.
11945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946 # <limits.h> exists even on freestanding compilers.
11947 # On the NeXT, cc -E runs the code through the compiler's parser,
11948 # not just through cpp. "Syntax error" is here to catch this case.
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #ifdef __STDC__
11952 # include <limits.h>
11953 #else
11954 # include <assert.h>
11955 #endif
11956 Syntax error
11957 _ACEOF
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959
11960 else
11961 # Broken: fails on valid input.
11962 continue
11963 fi
11964 rm -f conftest.err conftest.$ac_ext
11965
11966 # OK, works on sane cases. Now check whether nonexistent headers
11967 # can be detected and how.
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11970 #include <ac_nonexistent.h>
11971 _ACEOF
11972 if ac_fn_cxx_try_cpp "$LINENO"; then :
11973 # Broken: success on invalid input.
11974 continue
11975 else
11976 # Passes both tests.
11977 ac_preproc_ok=:
11978 break
11979 fi
11980 rm -f conftest.err conftest.$ac_ext
11981
11982 done
11983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11984 rm -f conftest.err conftest.$ac_ext
11985 if $ac_preproc_ok; then :
11986 break
11987 fi
11988
11989 done
11990 ac_cv_prog_CXXCPP=$CXXCPP
11991
11992 fi
11993 CXXCPP=$ac_cv_prog_CXXCPP
11994 else
11995 ac_cv_prog_CXXCPP=$CXXCPP
11996 fi
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11998 $as_echo "$CXXCPP" >&6; }
11999 ac_preproc_ok=false
12000 for ac_cxx_preproc_warn_flag in '' yes
12001 do
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #ifdef __STDC__
12011 # include <limits.h>
12012 #else
12013 # include <assert.h>
12014 #endif
12015 Syntax error
12016 _ACEOF
12017 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018
12019 else
12020 # Broken: fails on valid input.
12021 continue
12022 fi
12023 rm -f conftest.err conftest.$ac_ext
12024
12025 # OK, works on sane cases. Now check whether nonexistent headers
12026 # can be detected and how.
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #include <ac_nonexistent.h>
12030 _ACEOF
12031 if ac_fn_cxx_try_cpp "$LINENO"; then :
12032 # Broken: success on invalid input.
12033 continue
12034 else
12035 # Passes both tests.
12036 ac_preproc_ok=:
12037 break
12038 fi
12039 rm -f conftest.err conftest.$ac_ext
12040
12041 done
12042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12043 rm -f conftest.err conftest.$ac_ext
12044 if $ac_preproc_ok; then :
12045
12046 else
12047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12049 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12050 See \`config.log' for more details." "$LINENO" 5; }
12051 fi
12052
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
12059 else
12060 _lt_caught_CXX_error=yes
12061 fi
12062
12063 ac_ext=cpp
12064 ac_cpp='$CXXCPP $CPPFLAGS'
12065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068
12069 archive_cmds_need_lc_CXX=no
12070 allow_undefined_flag_CXX=
12071 always_export_symbols_CXX=no
12072 archive_expsym_cmds_CXX=
12073 compiler_needs_object_CXX=no
12074 export_dynamic_flag_spec_CXX=
12075 hardcode_direct_CXX=no
12076 hardcode_direct_absolute_CXX=no
12077 hardcode_libdir_flag_spec_CXX=
12078 hardcode_libdir_flag_spec_ld_CXX=
12079 hardcode_libdir_separator_CXX=
12080 hardcode_minus_L_CXX=no
12081 hardcode_shlibpath_var_CXX=unsupported
12082 hardcode_automatic_CXX=no
12083 inherit_rpath_CXX=no
12084 module_cmds_CXX=
12085 module_expsym_cmds_CXX=
12086 link_all_deplibs_CXX=unknown
12087 old_archive_cmds_CXX=$old_archive_cmds
12088 reload_flag_CXX=$reload_flag
12089 reload_cmds_CXX=$reload_cmds
12090 no_undefined_flag_CXX=
12091 whole_archive_flag_spec_CXX=
12092 enable_shared_with_static_runtimes_CXX=no
12093
12094 # Source file extension for C++ test sources.
12095 ac_ext=cpp
12096
12097 # Object file extension for compiled C++ test sources.
12098 objext=o
12099 objext_CXX=$objext
12100
12101 # No sense in running all these tests if we already determined that
12102 # the CXX compiler isn't working. Some variables (like enable_shared)
12103 # are currently assumed to apply to all compilers on this platform,
12104 # and will be corrupted by setting them based on a non-working compiler.
12105 if test "$_lt_caught_CXX_error" != yes; then
12106 # Code to be used in simple compile tests
12107 lt_simple_compile_test_code="int some_variable = 0;"
12108
12109 # Code to be used in simple link tests
12110 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111
12112 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12113
12114
12115
12116
12117
12118
12119 # If no C compiler was specified, use CC.
12120 LTCC=${LTCC-"$CC"}
12121
12122 # If no C compiler flags were specified, use CFLAGS.
12123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124
12125 # Allow CC to be a program name with arguments.
12126 compiler=$CC
12127
12128
12129 # save warnings/boilerplate of simple test code
12130 ac_outfile=conftest.$ac_objext
12131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12133 _lt_compiler_boilerplate=`cat conftest.err`
12134 $RM conftest*
12135
12136 ac_outfile=conftest.$ac_objext
12137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12139 _lt_linker_boilerplate=`cat conftest.err`
12140 $RM -r conftest*
12141
12142
12143 # Allow CC to be a program name with arguments.
12144 lt_save_CC=$CC
12145 lt_save_LD=$LD
12146 lt_save_GCC=$GCC
12147 GCC=$GXX
12148 lt_save_with_gnu_ld=$with_gnu_ld
12149 lt_save_path_LD=$lt_cv_path_LD
12150 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12151 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12152 else
12153 $as_unset lt_cv_prog_gnu_ld
12154 fi
12155 if test -n "${lt_cv_path_LDCXX+set}"; then
12156 lt_cv_path_LD=$lt_cv_path_LDCXX
12157 else
12158 $as_unset lt_cv_path_LD
12159 fi
12160 test -z "${LDCXX+set}" || LD=$LDCXX
12161 CC=${CXX-"c++"}
12162 compiler=$CC
12163 compiler_CXX=$CC
12164 for cc_temp in $compiler""; do
12165 case $cc_temp in
12166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12168 \-*) ;;
12169 *) break;;
12170 esac
12171 done
12172 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12173
12174
12175 if test -n "$compiler"; then
12176 # We don't want -fno-exception when compiling C++ code, so set the
12177 # no_builtin_flag separately
12178 if test "$GXX" = yes; then
12179 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12180 else
12181 lt_prog_compiler_no_builtin_flag_CXX=
12182 fi
12183
12184 if test "$GXX" = yes; then
12185 # Set up default GNU C++ configuration
12186
12187
12188
12189 # Check whether --with-gnu-ld was given.
12190 if test "${with_gnu_ld+set}" = set; then :
12191 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12192 else
12193 with_gnu_ld=no
12194 fi
12195
12196 ac_prog=ld
12197 if test "$GCC" = yes; then
12198 # Check if gcc -print-prog-name=ld gives a path.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12200 $as_echo_n "checking for ld used by $CC... " >&6; }
12201 case $host in
12202 *-*-mingw*)
12203 # gcc leaves a trailing carriage return which upsets mingw
12204 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 *)
12206 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12207 esac
12208 case $ac_prog in
12209 # Accept absolute paths.
12210 [\\/]* | ?:[\\/]*)
12211 re_direlt='/[^/][^/]*/\.\./'
12212 # Canonicalize the pathname of ld
12213 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12214 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12215 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12216 done
12217 test -z "$LD" && LD="$ac_prog"
12218 ;;
12219 "")
12220 # If it fails, then pretend we aren't using GCC.
12221 ac_prog=ld
12222 ;;
12223 *)
12224 # If it is relative, then search for the first ld in PATH.
12225 with_gnu_ld=unknown
12226 ;;
12227 esac
12228 elif test "$with_gnu_ld" = yes; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12230 $as_echo_n "checking for GNU ld... " >&6; }
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12233 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 fi
12235 if test "${lt_cv_path_LD+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 if test -z "$LD"; then
12239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12240 for ac_dir in $PATH; do
12241 IFS="$lt_save_ifs"
12242 test -z "$ac_dir" && ac_dir=.
12243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12244 lt_cv_path_LD="$ac_dir/$ac_prog"
12245 # Check to see if the program is GNU ld. I'd rather use --version,
12246 # but apparently some variants of GNU ld only accept -v.
12247 # Break only if it was the GNU/non-GNU ld that we prefer.
12248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12249 *GNU* | *'with BFD'*)
12250 test "$with_gnu_ld" != no && break
12251 ;;
12252 *)
12253 test "$with_gnu_ld" != yes && break
12254 ;;
12255 esac
12256 fi
12257 done
12258 IFS="$lt_save_ifs"
12259 else
12260 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12261 fi
12262 fi
12263
12264 LD="$lt_cv_path_LD"
12265 if test -n "$LD"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12267 $as_echo "$LD" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12271 fi
12272 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12275 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12279 case `$LD -v 2>&1 </dev/null` in
12280 *GNU* | *'with BFD'*)
12281 lt_cv_prog_gnu_ld=yes
12282 ;;
12283 *)
12284 lt_cv_prog_gnu_ld=no
12285 ;;
12286 esac
12287 fi
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12290 with_gnu_ld=$lt_cv_prog_gnu_ld
12291
12292
12293
12294
12295
12296
12297
12298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12299 # archiving commands below assume that GNU ld is being used.
12300 if test "$with_gnu_ld" = yes; then
12301 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12302 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'
12303
12304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12305 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306
12307 # If archive_cmds runs LD, not CC, wlarc should be empty
12308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12309 # investigate it a little bit more. (MM)
12310 wlarc='${wl}'
12311
12312 # ancient GNU ld didn't support --whole-archive et. al.
12313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12314 $GREP 'no-whole-archive' > /dev/null; then
12315 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12316 else
12317 whole_archive_flag_spec_CXX=
12318 fi
12319 else
12320 with_gnu_ld=no
12321 wlarc=
12322
12323 # A generic and very simple default shared library creation
12324 # command for GNU C++ for the case where it uses the native
12325 # linker, instead of GNU ld. If possible, this setting should
12326 # overridden to take advantage of the native linker features on
12327 # the platform it is being used on.
12328 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12329 fi
12330
12331 # Commands to make compiler produce verbose output that lists
12332 # what "hidden" libraries, object files and flags are used when
12333 # linking a shared library.
12334 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335
12336 else
12337 GXX=no
12338 with_gnu_ld=no
12339 wlarc=
12340 fi
12341
12342 # PORTME: fill in a description of your system's C++ link characteristics
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12345 ld_shlibs_CXX=yes
12346 case $host_os in
12347 aix3*)
12348 # FIXME: insert proper C++ library support
12349 ld_shlibs_CXX=no
12350 ;;
12351 aix[4-9]*)
12352 if test "$host_cpu" = ia64; then
12353 # On IA64, the linker does run time linking by default, so we don't
12354 # have to do anything special.
12355 aix_use_runtimelinking=no
12356 exp_sym_flag='-Bexport'
12357 no_entry_flag=""
12358 else
12359 aix_use_runtimelinking=no
12360
12361 # Test if we are trying to use run time linking or normal
12362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12363 # need to do runtime linking.
12364 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12365 for ld_flag in $LDFLAGS; do
12366 case $ld_flag in
12367 *-brtl*)
12368 aix_use_runtimelinking=yes
12369 break
12370 ;;
12371 esac
12372 done
12373 ;;
12374 esac
12375
12376 exp_sym_flag='-bexport'
12377 no_entry_flag='-bnoentry'
12378 fi
12379
12380 # When large executables or shared objects are built, AIX ld can
12381 # have problems creating the table of contents. If linking a library
12382 # or program results in "error TOC overflow" add -mminimal-toc to
12383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385
12386 archive_cmds_CXX=''
12387 hardcode_direct_CXX=yes
12388 hardcode_direct_absolute_CXX=yes
12389 hardcode_libdir_separator_CXX=':'
12390 link_all_deplibs_CXX=yes
12391 file_list_spec_CXX='${wl}-f,'
12392
12393 if test "$GXX" = yes; then
12394 case $host_os in aix4.[012]|aix4.[012].*)
12395 # We only want to do this on AIX 4.2 and lower, the check
12396 # below for broken collect2 doesn't work under 4.3+
12397 collect2name=`${CC} -print-prog-name=collect2`
12398 if test -f "$collect2name" &&
12399 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12400 then
12401 # We have reworked collect2
12402 :
12403 else
12404 # We have old collect2
12405 hardcode_direct_CXX=unsupported
12406 # It fails to find uninstalled libraries when the uninstalled
12407 # path is not listed in the libpath. Setting hardcode_minus_L
12408 # to unsupported forces relinking
12409 hardcode_minus_L_CXX=yes
12410 hardcode_libdir_flag_spec_CXX='-L$libdir'
12411 hardcode_libdir_separator_CXX=
12412 fi
12413 esac
12414 shared_flag='-shared'
12415 if test "$aix_use_runtimelinking" = yes; then
12416 shared_flag="$shared_flag "'${wl}-G'
12417 fi
12418 else
12419 # not using gcc
12420 if test "$host_cpu" = ia64; then
12421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12422 # chokes on -Wl,-G. The following line is correct:
12423 shared_flag='-G'
12424 else
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag='${wl}-G'
12427 else
12428 shared_flag='${wl}-bM:SRE'
12429 fi
12430 fi
12431 fi
12432
12433 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12434 # It seems that -bexpall does not export symbols beginning with
12435 # underscore (_), so it is better to generate a list of symbols to
12436 # export.
12437 always_export_symbols_CXX=yes
12438 if test "$aix_use_runtimelinking" = yes; then
12439 # Warning - without using the other runtime loading flags (-brtl),
12440 # -berok will link without error, but may produce a broken library.
12441 allow_undefined_flag_CXX='-berok'
12442 # Determine the default libpath from the value encoded in an empty
12443 # executable.
12444 if test x$gcc_no_link = xyes; then
12445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 fi
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12449
12450 int
12451 main ()
12452 {
12453
12454 ;
12455 return 0;
12456 }
12457 _ACEOF
12458 if ac_fn_cxx_try_link "$LINENO"; then :
12459
12460 lt_aix_libpath_sed='
12461 /Import File Strings/,/^$/ {
12462 /^0/ {
12463 s/^0 *\(.*\)$/\1/
12464 p
12465 }
12466 }'
12467 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 # Check for a 64-bit object if we didn't find anything.
12469 if test -z "$aix_libpath"; then
12470 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12471 fi
12472 fi
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476
12477 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478
12479 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"
12480 else
12481 if test "$host_cpu" = ia64; then
12482 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12483 allow_undefined_flag_CXX="-z nodefs"
12484 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"
12485 else
12486 # Determine the default libpath from the value encoded in an
12487 # empty executable.
12488 if test x$gcc_no_link = xyes; then
12489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 fi
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493
12494 int
12495 main ()
12496 {
12497
12498 ;
12499 return 0;
12500 }
12501 _ACEOF
12502 if ac_fn_cxx_try_link "$LINENO"; then :
12503
12504 lt_aix_libpath_sed='
12505 /Import File Strings/,/^$/ {
12506 /^0/ {
12507 s/^0 *\(.*\)$/\1/
12508 p
12509 }
12510 }'
12511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 # Check for a 64-bit object if we didn't find anything.
12513 if test -z "$aix_libpath"; then
12514 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12515 fi
12516 fi
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520
12521 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 # Warning - without using the other run time loading flags,
12523 # -berok will link without error, but may produce a broken library.
12524 no_undefined_flag_CXX=' ${wl}-bernotok'
12525 allow_undefined_flag_CXX=' ${wl}-berok'
12526 if test "$with_gnu_ld" = yes; then
12527 # We only use this code for GNU lds that support --whole-archive.
12528 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12529 else
12530 # Exported symbols can be pulled into shared objects from archives
12531 whole_archive_flag_spec_CXX='$convenience'
12532 fi
12533 archive_cmds_need_lc_CXX=yes
12534 # This is similar to how AIX traditionally builds its shared
12535 # libraries.
12536 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'
12537 fi
12538 fi
12539 ;;
12540
12541 beos*)
12542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543 allow_undefined_flag_CXX=unsupported
12544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545 # support --undefined. This deserves some investigation. FIXME
12546 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 else
12548 ld_shlibs_CXX=no
12549 fi
12550 ;;
12551
12552 chorus*)
12553 case $cc_basename in
12554 *)
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12557 ;;
12558 esac
12559 ;;
12560
12561 cygwin* | mingw* | pw32* | cegcc*)
12562 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563 # as there is no search path for DLLs.
12564 hardcode_libdir_flag_spec_CXX='-L$libdir'
12565 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12566 allow_undefined_flag_CXX=unsupported
12567 always_export_symbols_CXX=no
12568 enable_shared_with_static_runtimes_CXX=yes
12569
12570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12571 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'
12572 # If the export-symbols file already is a .def file (1st line
12573 # is EXPORTS), use it as is; otherwise, prepend...
12574 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12575 cp $export_symbols $output_objdir/$soname.def;
12576 else
12577 echo EXPORTS > $output_objdir/$soname.def;
12578 cat $export_symbols >> $output_objdir/$soname.def;
12579 fi~
12580 $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'
12581 else
12582 ld_shlibs_CXX=no
12583 fi
12584 ;;
12585 darwin* | rhapsody*)
12586
12587
12588 archive_cmds_need_lc_CXX=no
12589 hardcode_direct_CXX=no
12590 hardcode_automatic_CXX=yes
12591 hardcode_shlibpath_var_CXX=unsupported
12592 if test "$lt_cv_ld_force_load" = "yes"; then
12593 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\"`'
12594 else
12595 whole_archive_flag_spec_CXX=''
12596 fi
12597 link_all_deplibs_CXX=yes
12598 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12599 case $cc_basename in
12600 ifort*) _lt_dar_can_shared=yes ;;
12601 *) _lt_dar_can_shared=$GCC ;;
12602 esac
12603 if test "$_lt_dar_can_shared" = "yes"; then
12604 output_verbose_link_cmd=func_echo_all
12605 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}"
12606 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12607 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}"
12608 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}"
12609 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12610 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}"
12611 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}"
12612 fi
12613
12614 else
12615 ld_shlibs_CXX=no
12616 fi
12617
12618 ;;
12619
12620 dgux*)
12621 case $cc_basename in
12622 ec++*)
12623 # FIXME: insert proper C++ library support
12624 ld_shlibs_CXX=no
12625 ;;
12626 ghcx*)
12627 # Green Hills C++ Compiler
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12630 ;;
12631 *)
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12634 ;;
12635 esac
12636 ;;
12637
12638 freebsd2.*)
12639 # C++ shared libraries reported to be fairly broken before
12640 # switch to ELF
12641 ld_shlibs_CXX=no
12642 ;;
12643
12644 freebsd-elf*)
12645 archive_cmds_need_lc_CXX=no
12646 ;;
12647
12648 freebsd* | dragonfly*)
12649 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12650 # conventions
12651 ld_shlibs_CXX=yes
12652 ;;
12653
12654 gnu*)
12655 ;;
12656
12657 haiku*)
12658 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12659 link_all_deplibs_CXX=yes
12660 ;;
12661
12662 hpux9*)
12663 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12664 hardcode_libdir_separator_CXX=:
12665 export_dynamic_flag_spec_CXX='${wl}-E'
12666 hardcode_direct_CXX=yes
12667 hardcode_minus_L_CXX=yes # Not in the search PATH,
12668 # but as the default
12669 # location of the library.
12670
12671 case $cc_basename in
12672 CC*)
12673 # FIXME: insert proper C++ library support
12674 ld_shlibs_CXX=no
12675 ;;
12676 aCC*)
12677 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'
12678 # Commands to make compiler produce verbose output that lists
12679 # what "hidden" libraries, object files and flags are used when
12680 # linking a shared library.
12681 #
12682 # There doesn't appear to be a way to prevent this compiler from
12683 # explicitly linking system object files so we need to strip them
12684 # from the output so that they don't get included in the library
12685 # dependencies.
12686 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"'
12687 ;;
12688 *)
12689 if test "$GXX" = yes; then
12690 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'
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12694 fi
12695 ;;
12696 esac
12697 ;;
12698
12699 hpux10*|hpux11*)
12700 if test $with_gnu_ld = no; then
12701 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12703
12704 case $host_cpu in
12705 hppa*64*|ia64*)
12706 ;;
12707 *)
12708 export_dynamic_flag_spec_CXX='${wl}-E'
12709 ;;
12710 esac
12711 fi
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12714 hardcode_direct_CXX=no
12715 hardcode_shlibpath_var_CXX=no
12716 ;;
12717 *)
12718 hardcode_direct_CXX=yes
12719 hardcode_direct_absolute_CXX=yes
12720 hardcode_minus_L_CXX=yes # Not in the search PATH,
12721 # but as the default
12722 # location of the library.
12723 ;;
12724 esac
12725
12726 case $cc_basename in
12727 CC*)
12728 # FIXME: insert proper C++ library support
12729 ld_shlibs_CXX=no
12730 ;;
12731 aCC*)
12732 case $host_cpu in
12733 hppa*64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ;;
12736 ia64*)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 ;;
12739 *)
12740 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 ;;
12742 esac
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12746 #
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 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"'
12752 ;;
12753 *)
12754 if test "$GXX" = yes; then
12755 if test $with_gnu_ld = no; then
12756 case $host_cpu in
12757 hppa*64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ;;
12760 ia64*)
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12762 ;;
12763 *)
12764 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'
12765 ;;
12766 esac
12767 fi
12768 else
12769 # FIXME: insert proper C++ library support
12770 ld_shlibs_CXX=no
12771 fi
12772 ;;
12773 esac
12774 ;;
12775
12776 interix[3-9]*)
12777 hardcode_direct_CXX=no
12778 hardcode_shlibpath_var_CXX=no
12779 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12780 export_dynamic_flag_spec_CXX='${wl}-E'
12781 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12782 # Instead, shared libraries are loaded at an image base (0x10000000 by
12783 # default) and relocated if they conflict, which is a slow very memory
12784 # consuming and fragmenting process. To avoid this, we pick a random,
12785 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12786 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12787 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'
12788 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'
12789 ;;
12790 irix5* | irix6*)
12791 case $cc_basename in
12792 CC*)
12793 # SGI C++
12794 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'
12795
12796 # Archives containing C++ object files must be created using
12797 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12798 # necessary to make sure instantiated templates are included
12799 # in the archive.
12800 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12801 ;;
12802 *)
12803 if test "$GXX" = yes; then
12804 if test "$with_gnu_ld" = no; then
12805 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'
12806 else
12807 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'
12808 fi
12809 fi
12810 link_all_deplibs_CXX=yes
12811 ;;
12812 esac
12813 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814 hardcode_libdir_separator_CXX=:
12815 inherit_rpath_CXX=yes
12816 ;;
12817
12818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12819 case $cc_basename in
12820 KCC*)
12821 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822
12823 # KCC will only create a shared library if the output file
12824 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12825 # to its proper name (with version) after linking.
12826 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'
12827 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'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12831 #
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12835 # dependencies.
12836 output_verbose_link_cmd='templist=`$CC $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"'
12837
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840
12841 # Archives containing C++ object files must be created using
12842 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12843 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 ;;
12845 icpc* | ecpc* )
12846 # Intel C++
12847 with_gnu_ld=yes
12848 # version 8.0 and above of icpc choke on multiply defined symbols
12849 # if we add $predep_objects and $postdep_objects, however 7.1 and
12850 # earlier do not add the objects themselves.
12851 case `$CC -V 2>&1` in
12852 *"Version 7."*)
12853 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12854 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'
12855 ;;
12856 *) # Version 8.0 or newer
12857 tmp_idyn=
12858 case $host_cpu in
12859 ia64*) tmp_idyn=' -i_dynamic';;
12860 esac
12861 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 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'
12863 ;;
12864 esac
12865 archive_cmds_need_lc_CXX=no
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12867 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12868 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 ;;
12870 pgCC* | pgcpp*)
12871 # Portland Group C++ compiler
12872 case `$CC -V` in
12873 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12874 prelink_cmds_CXX='tpldir=Template.dir~
12875 rm -rf $tpldir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12877 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12878 old_archive_cmds_CXX='tpldir=Template.dir~
12879 rm -rf $tpldir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12881 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12882 $RANLIB $oldlib'
12883 archive_cmds_CXX='tpldir=Template.dir~
12884 rm -rf $tpldir~
12885 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12886 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12887 archive_expsym_cmds_CXX='tpldir=Template.dir~
12888 rm -rf $tpldir~
12889 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12890 $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'
12891 ;;
12892 *) # Version 6 and above use weak symbols
12893 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12894 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'
12895 ;;
12896 esac
12897
12898 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900 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'
12901 ;;
12902 cxx*)
12903 # Compaq C++
12904 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12905 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'
12906
12907 runpath_var=LD_RUN_PATH
12908 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12909 hardcode_libdir_separator_CXX=:
12910
12911 # Commands to make compiler produce verbose output that lists
12912 # what "hidden" libraries, object files and flags are used when
12913 # linking a shared library.
12914 #
12915 # There doesn't appear to be a way to prevent this compiler from
12916 # explicitly linking system object files so we need to strip them
12917 # from the output so that they don't get included in the library
12918 # dependencies.
12919 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'
12920 ;;
12921 xl* | mpixl* | bgxl*)
12922 # IBM XL 8.0 on PPC, with GNU ld
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 if test "x$supports_anon_versioning" = xyes; then
12927 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12928 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12929 echo "local: *; };" >> $output_objdir/$libname.ver~
12930 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12931 fi
12932 ;;
12933 *)
12934 case `$CC -V 2>&1 | sed 5q` in
12935 *Sun\ C*)
12936 # Sun C++ 5.9
12937 no_undefined_flag_CXX=' -zdefs'
12938 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='-R$libdir'
12941 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'
12942 compiler_needs_object_CXX=yes
12943
12944 # Not sure whether something based on
12945 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12946 # would be better.
12947 output_verbose_link_cmd='func_echo_all'
12948
12949 # Archives containing C++ object files must be created using
12950 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12951 # necessary to make sure instantiated templates are included
12952 # in the archive.
12953 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 ;;
12955 esac
12956 ;;
12957 esac
12958 ;;
12959
12960 lynxos*)
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12963 ;;
12964
12965 m88k*)
12966 # FIXME: insert proper C++ library support
12967 ld_shlibs_CXX=no
12968 ;;
12969
12970 mvs*)
12971 case $cc_basename in
12972 cxx*)
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12975 ;;
12976 *)
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12979 ;;
12980 esac
12981 ;;
12982
12983 netbsd*)
12984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12985 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12986 wlarc=
12987 hardcode_libdir_flag_spec_CXX='-R$libdir'
12988 hardcode_direct_CXX=yes
12989 hardcode_shlibpath_var_CXX=no
12990 fi
12991 # Workaround some broken pre-1.5 toolchains
12992 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12993 ;;
12994
12995 *nto* | *qnx*)
12996 ld_shlibs_CXX=yes
12997 ;;
12998
12999 openbsd2*)
13000 # C++ shared libraries are fairly broken
13001 ld_shlibs_CXX=no
13002 ;;
13003
13004 openbsd*)
13005 if test -f /usr/libexec/ld.so; then
13006 hardcode_direct_CXX=yes
13007 hardcode_shlibpath_var_CXX=no
13008 hardcode_direct_absolute_CXX=yes
13009 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13010 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13011 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13012 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13013 export_dynamic_flag_spec_CXX='${wl}-E'
13014 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 fi
13016 output_verbose_link_cmd=func_echo_all
13017 else
13018 ld_shlibs_CXX=no
13019 fi
13020 ;;
13021
13022 osf3* | osf4* | osf5*)
13023 case $cc_basename in
13024 KCC*)
13025 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026
13027 # KCC will only create a shared library if the output file
13028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13029 # to its proper name (with version) after linking.
13030 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'
13031
13032 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13033 hardcode_libdir_separator_CXX=:
13034
13035 # Archives containing C++ object files must be created using
13036 # the KAI C++ compiler.
13037 case $host in
13038 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13039 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13040 esac
13041 ;;
13042 RCC*)
13043 # Rational C++ 2.4.1
13044 # FIXME: insert proper C++ library support
13045 ld_shlibs_CXX=no
13046 ;;
13047 cxx*)
13048 case $host in
13049 osf3*)
13050 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13051 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'
13052 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13053 ;;
13054 *)
13055 allow_undefined_flag_CXX=' -expect_unresolved \*'
13056 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'
13057 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13058 echo "-hidden">> $lib.exp~
13059 $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~
13060 $RM $lib.exp'
13061 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 ;;
13063 esac
13064
13065 hardcode_libdir_separator_CXX=:
13066
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 #
13071 # There doesn't appear to be a way to prevent this compiler from
13072 # explicitly linking system object files so we need to strip them
13073 # from the output so that they don't get included in the library
13074 # dependencies.
13075 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"'
13076 ;;
13077 *)
13078 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13079 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13080 case $host in
13081 osf3*)
13082 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'
13083 ;;
13084 *)
13085 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'
13086 ;;
13087 esac
13088
13089 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13090 hardcode_libdir_separator_CXX=:
13091
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096
13097 else
13098 # FIXME: insert proper C++ library support
13099 ld_shlibs_CXX=no
13100 fi
13101 ;;
13102 esac
13103 ;;
13104
13105 psos*)
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13108 ;;
13109
13110 sunos4*)
13111 case $cc_basename in
13112 CC*)
13113 # Sun C++ 4.x
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13116 ;;
13117 lcc*)
13118 # Lucid
13119 # FIXME: insert proper C++ library support
13120 ld_shlibs_CXX=no
13121 ;;
13122 *)
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13125 ;;
13126 esac
13127 ;;
13128
13129 solaris*)
13130 case $cc_basename in
13131 CC*)
13132 # Sun C++ 4.2, 5.x and Centerline C++
13133 archive_cmds_need_lc_CXX=yes
13134 no_undefined_flag_CXX=' -zdefs'
13135 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13137 $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'
13138
13139 hardcode_libdir_flag_spec_CXX='-R$libdir'
13140 hardcode_shlibpath_var_CXX=no
13141 case $host_os in
13142 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 *)
13144 # The compiler driver will combine and reorder linker options,
13145 # but understands `-z linker_flag'.
13146 # Supported since Solaris 2.6 (maybe 2.5.1?)
13147 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 ;;
13149 esac
13150 link_all_deplibs_CXX=yes
13151
13152 output_verbose_link_cmd='func_echo_all'
13153
13154 # Archives containing C++ object files must be created using
13155 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13156 # necessary to make sure instantiated templates are included
13157 # in the archive.
13158 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 ;;
13160 gcx*)
13161 # Green Hills C++ Compiler
13162 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163
13164 # The C++ compiler must be used to create the archive.
13165 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13166 ;;
13167 *)
13168 # GNU C++ compiler with Solaris linker
13169 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13170 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13171 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13172 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13174 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175
13176 # Commands to make compiler produce verbose output that lists
13177 # what "hidden" libraries, object files and flags are used when
13178 # linking a shared library.
13179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13180 else
13181 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13182 # platform.
13183 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13191 fi
13192
13193 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13194 case $host_os in
13195 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 *)
13197 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 ;;
13199 esac
13200 fi
13201 ;;
13202 esac
13203 ;;
13204
13205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13206 no_undefined_flag_CXX='${wl}-z,text'
13207 archive_cmds_need_lc_CXX=no
13208 hardcode_shlibpath_var_CXX=no
13209 runpath_var='LD_RUN_PATH'
13210
13211 case $cc_basename in
13212 CC*)
13213 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 ;;
13216 *)
13217 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 ;;
13220 esac
13221 ;;
13222
13223 sysv5* | sco3.2v5* | sco5v6*)
13224 # Note: We can NOT use -z defs as we might desire, because we do not
13225 # link with -lc, and that would cause any symbols used from libc to
13226 # always be unresolved, which means just about no library would
13227 # ever link correctly. If we're not using GNU ld we use -z text
13228 # though, which does catch some bad symbols but isn't as heavy-handed
13229 # as -z defs.
13230 no_undefined_flag_CXX='${wl}-z,text'
13231 allow_undefined_flag_CXX='${wl}-z,nodefs'
13232 archive_cmds_need_lc_CXX=no
13233 hardcode_shlibpath_var_CXX=no
13234 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13235 hardcode_libdir_separator_CXX=':'
13236 link_all_deplibs_CXX=yes
13237 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13238 runpath_var='LD_RUN_PATH'
13239
13240 case $cc_basename in
13241 CC*)
13242 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13244 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13245 '"$old_archive_cmds_CXX"
13246 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13247 '"$reload_cmds_CXX"
13248 ;;
13249 *)
13250 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 ;;
13253 esac
13254 ;;
13255
13256 tandem*)
13257 case $cc_basename in
13258 NCC*)
13259 # NonStop-UX NCC 3.20
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13262 ;;
13263 *)
13264 # FIXME: insert proper C++ library support
13265 ld_shlibs_CXX=no
13266 ;;
13267 esac
13268 ;;
13269
13270 vxworks*)
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13273 ;;
13274
13275 *)
13276 # FIXME: insert proper C++ library support
13277 ld_shlibs_CXX=no
13278 ;;
13279 esac
13280
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13282 $as_echo "$ld_shlibs_CXX" >&6; }
13283 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284
13285 GCC_CXX="$GXX"
13286 LD_CXX="$LD"
13287
13288 ## CAVEAT EMPTOR:
13289 ## There is no encapsulation within the following macros, do not change
13290 ## the running order or otherwise move them around unless you know exactly
13291 ## what you are doing...
13292 # Dependencies to place before and after the object being linked:
13293 predep_objects_CXX=
13294 postdep_objects_CXX=
13295 predeps_CXX=
13296 postdeps_CXX=
13297 compiler_lib_search_path_CXX=
13298
13299 cat > conftest.$ac_ext <<_LT_EOF
13300 class Foo
13301 {
13302 public:
13303 Foo (void) { a = 0; }
13304 private:
13305 int a;
13306 };
13307 _LT_EOF
13308
13309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13310 (eval $ac_compile) 2>&5
13311 ac_status=$?
13312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13313 test $ac_status = 0; }; then
13314 # Parse the compiler output and extract the necessary
13315 # objects, libraries and library flags.
13316
13317 # Sentinel used to keep track of whether or not we are before
13318 # the conftest object file.
13319 pre_test_object_deps_done=no
13320
13321 for p in `eval "$output_verbose_link_cmd"`; do
13322 case $p in
13323
13324 -L* | -R* | -l*)
13325 # Some compilers place space between "-{L,R}" and the path.
13326 # Remove the space.
13327 if test $p = "-L" ||
13328 test $p = "-R"; then
13329 prev=$p
13330 continue
13331 else
13332 prev=
13333 fi
13334
13335 if test "$pre_test_object_deps_done" = no; then
13336 case $p in
13337 -L* | -R*)
13338 # Internal compiler library paths should come after those
13339 # provided the user. The postdeps already come after the
13340 # user supplied libs so there is no need to process them.
13341 if test -z "$compiler_lib_search_path_CXX"; then
13342 compiler_lib_search_path_CXX="${prev}${p}"
13343 else
13344 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13345 fi
13346 ;;
13347 # The "-l" case would never come before the object being
13348 # linked, so don't bother handling this case.
13349 esac
13350 else
13351 if test -z "$postdeps_CXX"; then
13352 postdeps_CXX="${prev}${p}"
13353 else
13354 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13355 fi
13356 fi
13357 ;;
13358
13359 *.$objext)
13360 # This assumes that the test object file only shows up
13361 # once in the compiler output.
13362 if test "$p" = "conftest.$objext"; then
13363 pre_test_object_deps_done=yes
13364 continue
13365 fi
13366
13367 if test "$pre_test_object_deps_done" = no; then
13368 if test -z "$predep_objects_CXX"; then
13369 predep_objects_CXX="$p"
13370 else
13371 predep_objects_CXX="$predep_objects_CXX $p"
13372 fi
13373 else
13374 if test -z "$postdep_objects_CXX"; then
13375 postdep_objects_CXX="$p"
13376 else
13377 postdep_objects_CXX="$postdep_objects_CXX $p"
13378 fi
13379 fi
13380 ;;
13381
13382 *) ;; # Ignore the rest.
13383
13384 esac
13385 done
13386
13387 # Clean up.
13388 rm -f a.out a.exe
13389 else
13390 echo "libtool.m4: error: problem compiling CXX test program"
13391 fi
13392
13393 $RM -f confest.$objext
13394
13395 # PORTME: override above test on systems where it is broken
13396 case $host_os in
13397 interix[3-9]*)
13398 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13399 # hack all around it, let's just trust "g++" to DTRT.
13400 predep_objects_CXX=
13401 postdep_objects_CXX=
13402 postdeps_CXX=
13403 ;;
13404
13405 linux*)
13406 case `$CC -V 2>&1 | sed 5q` in
13407 *Sun\ C*)
13408 # Sun C++ 5.9
13409
13410 # The more standards-conforming stlport4 library is
13411 # incompatible with the Cstd library. Avoid specifying
13412 # it if it's in CXXFLAGS. Ignore libCrun as
13413 # -library=stlport4 depends on it.
13414 case " $CXX $CXXFLAGS " in
13415 *" -library=stlport4 "*)
13416 solaris_use_stlport4=yes
13417 ;;
13418 esac
13419
13420 if test "$solaris_use_stlport4" != yes; then
13421 postdeps_CXX='-library=Cstd -library=Crun'
13422 fi
13423 ;;
13424 esac
13425 ;;
13426
13427 solaris*)
13428 case $cc_basename in
13429 CC*)
13430 # The more standards-conforming stlport4 library is
13431 # incompatible with the Cstd library. Avoid specifying
13432 # it if it's in CXXFLAGS. Ignore libCrun as
13433 # -library=stlport4 depends on it.
13434 case " $CXX $CXXFLAGS " in
13435 *" -library=stlport4 "*)
13436 solaris_use_stlport4=yes
13437 ;;
13438 esac
13439
13440 # Adding this requires a known-good setup of shared libraries for
13441 # Sun compiler versions before 5.6, else PIC objects from an old
13442 # archive will be linked into the output, leading to subtle bugs.
13443 if test "$solaris_use_stlport4" != yes; then
13444 postdeps_CXX='-library=Cstd -library=Crun'
13445 fi
13446 ;;
13447 esac
13448 ;;
13449 esac
13450
13451
13452 case " $postdeps_CXX " in
13453 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13454 esac
13455 compiler_lib_search_dirs_CXX=
13456 if test -n "${compiler_lib_search_path_CXX}"; then
13457 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13458 fi
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
13488
13489
13490 lt_prog_compiler_wl_CXX=
13491 lt_prog_compiler_pic_CXX=
13492 lt_prog_compiler_static_CXX=
13493
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13495 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496
13497 # C++ specific cases for pic, static, wl, etc.
13498 if test "$GXX" = yes; then
13499 lt_prog_compiler_wl_CXX='-Wl,'
13500 lt_prog_compiler_static_CXX='-static'
13501
13502 case $host_os in
13503 aix*)
13504 # All AIX code is PIC.
13505 if test "$host_cpu" = ia64; then
13506 # AIX 5 now supports IA64 processor
13507 lt_prog_compiler_static_CXX='-Bstatic'
13508 fi
13509 lt_prog_compiler_pic_CXX='-fPIC'
13510 ;;
13511
13512 amigaos*)
13513 case $host_cpu in
13514 powerpc)
13515 # see comment about AmigaOS4 .so support
13516 lt_prog_compiler_pic_CXX='-fPIC'
13517 ;;
13518 m68k)
13519 # FIXME: we need at least 68020 code to build shared libraries, but
13520 # adding the `-m68020' flag to GCC prevents building anything better,
13521 # like `-m68040'.
13522 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 ;;
13524 esac
13525 ;;
13526
13527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13528 # PIC is the default for these OSes.
13529 ;;
13530 mingw* | cygwin* | os2* | pw32* | cegcc*)
13531 # This hack is so that the source file can tell whether it is being
13532 # built for inclusion in a dll (and should export symbols for example).
13533 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13534 # (--disable-auto-import) libraries
13535 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 ;;
13537 darwin* | rhapsody*)
13538 # PIC is the default on this platform
13539 # Common symbols not allowed in MH_DYLIB files
13540 lt_prog_compiler_pic_CXX='-fno-common'
13541 ;;
13542 *djgpp*)
13543 # DJGPP does not support shared libraries at all
13544 lt_prog_compiler_pic_CXX=
13545 ;;
13546 haiku*)
13547 # PIC is the default for Haiku.
13548 # The "-static" flag exists, but is broken.
13549 lt_prog_compiler_static_CXX=
13550 ;;
13551 interix[3-9]*)
13552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553 # Instead, we relocate shared libraries at runtime.
13554 ;;
13555 sysv4*MP*)
13556 if test -d /usr/nec; then
13557 lt_prog_compiler_pic_CXX=-Kconform_pic
13558 fi
13559 ;;
13560 hpux*)
13561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13563 # sets the default TLS model and affects inlining.
13564 case $host_cpu in
13565 hppa*64*)
13566 ;;
13567 *)
13568 lt_prog_compiler_pic_CXX='-fPIC'
13569 ;;
13570 esac
13571 ;;
13572 *qnx* | *nto*)
13573 # QNX uses GNU C++, but need to define -shared option too, otherwise
13574 # it will coredump.
13575 lt_prog_compiler_pic_CXX='-fPIC -shared'
13576 ;;
13577 *)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 ;;
13580 esac
13581 else
13582 case $host_os in
13583 aix[4-9]*)
13584 # All AIX code is PIC.
13585 if test "$host_cpu" = ia64; then
13586 # AIX 5 now supports IA64 processor
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 else
13589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13590 fi
13591 ;;
13592 chorus*)
13593 case $cc_basename in
13594 cxch68*)
13595 # Green Hills C++ Compiler
13596 # _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"
13597 ;;
13598 esac
13599 ;;
13600 dgux*)
13601 case $cc_basename in
13602 ec++*)
13603 lt_prog_compiler_pic_CXX='-KPIC'
13604 ;;
13605 ghcx*)
13606 # Green Hills C++ Compiler
13607 lt_prog_compiler_pic_CXX='-pic'
13608 ;;
13609 *)
13610 ;;
13611 esac
13612 ;;
13613 freebsd* | dragonfly*)
13614 # FreeBSD uses GNU C++
13615 ;;
13616 hpux9* | hpux10* | hpux11*)
13617 case $cc_basename in
13618 CC*)
13619 lt_prog_compiler_wl_CXX='-Wl,'
13620 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13621 if test "$host_cpu" != ia64; then
13622 lt_prog_compiler_pic_CXX='+Z'
13623 fi
13624 ;;
13625 aCC*)
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13628 case $host_cpu in
13629 hppa*64*|ia64*)
13630 # +Z the default
13631 ;;
13632 *)
13633 lt_prog_compiler_pic_CXX='+Z'
13634 ;;
13635 esac
13636 ;;
13637 *)
13638 ;;
13639 esac
13640 ;;
13641 interix*)
13642 # This is c89, which is MS Visual C++ (no shared libs)
13643 # Anyone wants to do a port?
13644 ;;
13645 irix5* | irix6* | nonstopux*)
13646 case $cc_basename in
13647 CC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='-non_shared'
13650 # CC pic flag -KPIC is the default.
13651 ;;
13652 *)
13653 ;;
13654 esac
13655 ;;
13656 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13657 case $cc_basename in
13658 KCC*)
13659 # KAI C++ Compiler
13660 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 lt_prog_compiler_pic_CXX='-fPIC'
13662 ;;
13663 ecpc* )
13664 # old Intel C++ for x86_64 which still supported -KPIC.
13665 lt_prog_compiler_wl_CXX='-Wl,'
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 lt_prog_compiler_static_CXX='-static'
13668 ;;
13669 icpc* )
13670 # Intel C++, used to be incompatible with GCC.
13671 # ICC 10 doesn't accept -KPIC any more.
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13674 lt_prog_compiler_static_CXX='-static'
13675 ;;
13676 pgCC* | pgcpp*)
13677 # Portland Group C++ compiler
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-fpic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13681 ;;
13682 cxx*)
13683 # Compaq C++
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13688 ;;
13689 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13690 # IBM XL 8.0, 9.0 on PPC and BlueGene
13691 lt_prog_compiler_wl_CXX='-Wl,'
13692 lt_prog_compiler_pic_CXX='-qpic'
13693 lt_prog_compiler_static_CXX='-qstaticlink'
13694 ;;
13695 *)
13696 case `$CC -V 2>&1 | sed 5q` in
13697 *Sun\ C*)
13698 # Sun C++ 5.9
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 ;;
13703 esac
13704 ;;
13705 esac
13706 ;;
13707 lynxos*)
13708 ;;
13709 m88k*)
13710 ;;
13711 mvs*)
13712 case $cc_basename in
13713 cxx*)
13714 lt_prog_compiler_pic_CXX='-W c,exportall'
13715 ;;
13716 *)
13717 ;;
13718 esac
13719 ;;
13720 netbsd*)
13721 ;;
13722 *qnx* | *nto*)
13723 # QNX uses GNU C++, but need to define -shared option too, otherwise
13724 # it will coredump.
13725 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 ;;
13727 osf3* | osf4* | osf5*)
13728 case $cc_basename in
13729 KCC*)
13730 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 ;;
13732 RCC*)
13733 # Rational C++ 2.4.1
13734 lt_prog_compiler_pic_CXX='-pic'
13735 ;;
13736 cxx*)
13737 # Digital/Compaq C++
13738 lt_prog_compiler_wl_CXX='-Wl,'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_static_CXX='-non_shared'
13743 ;;
13744 *)
13745 ;;
13746 esac
13747 ;;
13748 psos*)
13749 ;;
13750 solaris*)
13751 case $cc_basename in
13752 CC*)
13753 # Sun C++ 4.2, 5.x and Centerline C++
13754 lt_prog_compiler_pic_CXX='-KPIC'
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 ;;
13758 gcx*)
13759 # Green Hills C++ Compiler
13760 lt_prog_compiler_pic_CXX='-PIC'
13761 ;;
13762 *)
13763 ;;
13764 esac
13765 ;;
13766 sunos4*)
13767 case $cc_basename in
13768 CC*)
13769 # Sun C++ 4.x
13770 lt_prog_compiler_pic_CXX='-pic'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13772 ;;
13773 lcc*)
13774 # Lucid
13775 lt_prog_compiler_pic_CXX='-pic'
13776 ;;
13777 *)
13778 ;;
13779 esac
13780 ;;
13781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13782 case $cc_basename in
13783 CC*)
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-KPIC'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13787 ;;
13788 esac
13789 ;;
13790 tandem*)
13791 case $cc_basename in
13792 NCC*)
13793 # NonStop-UX NCC 3.20
13794 lt_prog_compiler_pic_CXX='-KPIC'
13795 ;;
13796 *)
13797 ;;
13798 esac
13799 ;;
13800 vxworks*)
13801 ;;
13802 *)
13803 lt_prog_compiler_can_build_shared_CXX=no
13804 ;;
13805 esac
13806 fi
13807
13808 case $host_os in
13809 # For platforms which do not support PIC, -DPIC is meaningless:
13810 *djgpp*)
13811 lt_prog_compiler_pic_CXX=
13812 ;;
13813 *)
13814 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 ;;
13816 esac
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13818 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13819
13820
13821
13822 #
13823 # Check to make sure the PIC flag actually works.
13824 #
13825 if test -n "$lt_prog_compiler_pic_CXX"; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13828 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 lt_cv_prog_compiler_pic_works_CXX=no
13832 ac_outfile=conftest.$ac_objext
13833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13835 # Insert the option either (1) after the last *FLAGS variable, or
13836 # (2) before a word containing "conftest.", or (3) at the end.
13837 # Note that $ac_compile itself does not contain backslashes and begins
13838 # with a dollar sign (not a hyphen), so the echo should work correctly.
13839 # The option is referenced via a variable to avoid confusing sed.
13840 lt_compile=`echo "$ac_compile" | $SED \
13841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843 -e 's:$: $lt_compiler_flag:'`
13844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13845 (eval "$lt_compile" 2>conftest.err)
13846 ac_status=$?
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 if (exit $ac_status) && test -s "$ac_outfile"; then
13850 # The compiler can only warn and ignore the option if not recognized
13851 # So say no if there are warnings other than the usual output.
13852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13855 lt_cv_prog_compiler_pic_works_CXX=yes
13856 fi
13857 fi
13858 $RM conftest*
13859
13860 fi
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863
13864 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13865 case $lt_prog_compiler_pic_CXX in
13866 "" | " "*) ;;
13867 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13868 esac
13869 else
13870 lt_prog_compiler_pic_CXX=
13871 lt_prog_compiler_can_build_shared_CXX=no
13872 fi
13873
13874 fi
13875
13876
13877
13878 #
13879 # Check to make sure the static flag actually works.
13880 #
13881 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13884 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 lt_cv_prog_compiler_static_works_CXX=no
13888 save_LDFLAGS="$LDFLAGS"
13889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13890 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13892 # The linker can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 if test -s conftest.err; then
13895 # Append any errors to the config.log.
13896 cat conftest.err 1>&5
13897 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13899 if diff conftest.exp conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 else
13903 lt_cv_prog_compiler_static_works_CXX=yes
13904 fi
13905 fi
13906 $RM -r conftest*
13907 LDFLAGS="$save_LDFLAGS"
13908
13909 fi
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912
13913 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 :
13915 else
13916 lt_prog_compiler_static_CXX=
13917 fi
13918
13919
13920
13921
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 lt_cv_prog_compiler_c_o_CXX=no
13928 $RM -r conftest 2>/dev/null
13929 mkdir conftest
13930 cd conftest
13931 mkdir out
13932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933
13934 lt_compiler_flag="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out/conftest.err)
13945 ac_status=$?
13946 cat out/conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13949 then
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13955 lt_cv_prog_compiler_c_o_CXX=yes
13956 fi
13957 fi
13958 chmod u+w . 2>&5
13959 $RM conftest*
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13963 $RM out/* && rmdir out
13964 cd ..
13965 $RM -r conftest
13966 $RM conftest*
13967
13968 fi
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13971
13972
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13976 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 lt_cv_prog_compiler_c_o_CXX=no
13980 $RM -r conftest 2>/dev/null
13981 mkdir conftest
13982 cd conftest
13983 mkdir out
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985
13986 lt_compiler_flag="-o out/conftest2.$ac_objext"
13987 # Insert the option either (1) after the last *FLAGS variable, or
13988 # (2) before a word containing "conftest.", or (3) at the end.
13989 # Note that $ac_compile itself does not contain backslashes and begins
13990 # with a dollar sign (not a hyphen), so the echo should work correctly.
13991 lt_compile=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>out/conftest.err)
13997 ac_status=$?
13998 cat out/conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 then
14002 # The compiler can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14007 lt_cv_prog_compiler_c_o_CXX=yes
14008 fi
14009 fi
14010 chmod u+w . 2>&5
14011 $RM conftest*
14012 # SGI C++ compiler will create directory out/ii_files/ for
14013 # template instantiation
14014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14015 $RM out/* && rmdir out
14016 cd ..
14017 $RM -r conftest
14018 $RM conftest*
14019
14020 fi
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14022 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14023
14024
14025
14026
14027 hard_links="nottested"
14028 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14029 # do not overwrite the value of need_locks provided by the user
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14031 $as_echo_n "checking if we can lock with hard links... " >&6; }
14032 hard_links=yes
14033 $RM conftest*
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 touch conftest.a
14036 ln conftest.a conftest.b 2>&5 || hard_links=no
14037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14039 $as_echo "$hard_links" >&6; }
14040 if test "$hard_links" = no; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043 need_locks=warn
14044 fi
14045 else
14046 need_locks=no
14047 fi
14048
14049
14050
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14055 case $host_os in
14056 aix[4-9]*)
14057 # If we're using GNU nm, then we don't want the "-C" option.
14058 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14059 # Also, AIX nm treats weak defined symbols like other global defined
14060 # symbols, whereas GNU nm marks them as "W".
14061 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14062 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'
14063 else
14064 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14065 fi
14066 ;;
14067 pw32*)
14068 export_symbols_cmds_CXX="$ltdll_cmds"
14069 ;;
14070 cygwin* | mingw* | cegcc*)
14071 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'
14072 ;;
14073 *)
14074 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 ;;
14076 esac
14077 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14080 $as_echo "$ld_shlibs_CXX" >&6; }
14081 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082
14083 with_gnu_ld_CXX=$with_gnu_ld
14084
14085
14086
14087
14088
14089
14090 #
14091 # Do we need to explicitly link libc?
14092 #
14093 case "x$archive_cmds_need_lc_CXX" in
14094 x|xyes)
14095 # Assume -lc should be added
14096 archive_cmds_need_lc_CXX=yes
14097
14098 if test "$enable_shared" = yes && test "$GCC" = yes; then
14099 case $archive_cmds_CXX in
14100 *'~'*)
14101 # FIXME: we may have to deal with multi-command sequences.
14102 ;;
14103 '$CC '*)
14104 # Test whether the compiler implicitly links with -lc since on some
14105 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14106 # to ld, don't add -lc before -lgcc.
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14108 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14109 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 $RM conftest*
14113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114
14115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14116 (eval $ac_compile) 2>&5
14117 ac_status=$?
14118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119 test $ac_status = 0; } 2>conftest.err; then
14120 soname=conftest
14121 lib=conftest
14122 libobjs=conftest.$ac_objext
14123 deplibs=
14124 wl=$lt_prog_compiler_wl_CXX
14125 pic_flag=$lt_prog_compiler_pic_CXX
14126 compiler_flags=-v
14127 linker_flags=-v
14128 verstring=
14129 output_objdir=.
14130 libname=conftest
14131 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14132 allow_undefined_flag_CXX=
14133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14134 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14135 ac_status=$?
14136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137 test $ac_status = 0; }
14138 then
14139 lt_cv_archive_cmds_need_lc_CXX=no
14140 else
14141 lt_cv_archive_cmds_need_lc_CXX=yes
14142 fi
14143 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14144 else
14145 cat conftest.err 1>&5
14146 fi
14147 $RM conftest*
14148
14149 fi
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14151 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14152 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 ;;
14154 esac
14155 fi
14156 ;;
14157 esac
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
14220
14221
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14223 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224
14225 library_names_spec=
14226 libname_spec='lib$name'
14227 soname_spec=
14228 shrext_cmds=".so"
14229 postinstall_cmds=
14230 postuninstall_cmds=
14231 finish_cmds=
14232 finish_eval=
14233 shlibpath_var=
14234 shlibpath_overrides_runpath=unknown
14235 version_type=none
14236 dynamic_linker="$host_os ld.so"
14237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14238 need_lib_prefix=unknown
14239 hardcode_into_libs=no
14240
14241 # when you set need_version to no, make sure it does not cause -set_version
14242 # flags to be left without arguments
14243 need_version=unknown
14244
14245 case $host_os in
14246 aix3*)
14247 version_type=linux
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14249 shlibpath_var=LIBPATH
14250
14251 # AIX 3 has no versioning support, so we append a major version to the name.
14252 soname_spec='${libname}${release}${shared_ext}$major'
14253 ;;
14254
14255 aix[4-9]*)
14256 version_type=linux
14257 need_lib_prefix=no
14258 need_version=no
14259 hardcode_into_libs=yes
14260 if test "$host_cpu" = ia64; then
14261 # AIX 5 supports IA64
14262 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14263 shlibpath_var=LD_LIBRARY_PATH
14264 else
14265 # With GCC up to 2.95.x, collect2 would create an import file
14266 # for dependence libraries. The import file would start with
14267 # the line `#! .'. This would cause the generated library to
14268 # depend on `.', always an invalid library. This was fixed in
14269 # development snapshots of GCC prior to 3.0.
14270 case $host_os in
14271 aix4 | aix4.[01] | aix4.[01].*)
14272 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14273 echo ' yes '
14274 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 :
14276 else
14277 can_build_shared=no
14278 fi
14279 ;;
14280 esac
14281 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14282 # soname into executable. Probably we can add versioning support to
14283 # collect2, so additional links can be useful in future.
14284 if test "$aix_use_runtimelinking" = yes; then
14285 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14286 # instead of lib<name>.a to let people know that these are not
14287 # typical AIX shared libraries.
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 else
14290 # We preserve .a as extension for shared libraries through AIX4.2
14291 # and later when we are not doing run time linking.
14292 library_names_spec='${libname}${release}.a $libname.a'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 fi
14295 shlibpath_var=LIBPATH
14296 fi
14297 ;;
14298
14299 amigaos*)
14300 case $host_cpu in
14301 powerpc)
14302 # Since July 2007 AmigaOS4 officially supports .so libraries.
14303 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 ;;
14306 m68k)
14307 library_names_spec='$libname.ixlibrary $libname.a'
14308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14309 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'
14310 ;;
14311 esac
14312 ;;
14313
14314 beos*)
14315 library_names_spec='${libname}${shared_ext}'
14316 dynamic_linker="$host_os ld.so"
14317 shlibpath_var=LIBRARY_PATH
14318 ;;
14319
14320 bsdi[45]*)
14321 version_type=linux
14322 need_version=no
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 soname_spec='${libname}${release}${shared_ext}$major'
14325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14326 shlibpath_var=LD_LIBRARY_PATH
14327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14329 # the default ld.so.conf also contains /usr/contrib/lib and
14330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14331 # libtool to hard-code these into programs
14332 ;;
14333
14334 cygwin* | mingw* | pw32* | cegcc*)
14335 version_type=windows
14336 shrext_cmds=".dll"
14337 need_version=no
14338 need_lib_prefix=no
14339
14340 case $GCC,$host_os in
14341 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14342 library_names_spec='$libname.dll.a'
14343 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14344 postinstall_cmds='base_file=`basename \${file}`~
14345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14346 dldir=$destdir/`dirname \$dlpath`~
14347 test -d \$dldir || mkdir -p \$dldir~
14348 $install_prog $dir/$dlname \$dldir/$dlname~
14349 chmod a+x \$dldir/$dlname~
14350 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14351 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 fi'
14353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14354 dlpath=$dir/\$dldll~
14355 $RM \$dlpath'
14356 shlibpath_overrides_runpath=yes
14357
14358 case $host_os in
14359 cygwin*)
14360 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14361 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14362
14363 ;;
14364 mingw* | cegcc*)
14365 # MinGW DLLs use traditional 'lib' prefix
14366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 ;;
14368 pw32*)
14369 # pw32 DLLs use 'pw' prefix rather than 'lib'
14370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 ;;
14372 esac
14373 ;;
14374
14375 *)
14376 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 ;;
14378 esac
14379 dynamic_linker='Win32 ld.exe'
14380 # FIXME: first we should search . and the directory the executable is in
14381 shlibpath_var=PATH
14382 ;;
14383
14384 darwin* | rhapsody*)
14385 dynamic_linker="$host_os dyld"
14386 version_type=darwin
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14390 soname_spec='${libname}${release}${major}$shared_ext'
14391 shlibpath_overrides_runpath=yes
14392 shlibpath_var=DYLD_LIBRARY_PATH
14393 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394
14395 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14396 ;;
14397
14398 dgux*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 shlibpath_var=LD_LIBRARY_PATH
14405 ;;
14406
14407 freebsd* | dragonfly*)
14408 # DragonFly does not have aout. When/if they implement a new
14409 # versioning mechanism, adjust this.
14410 if test -x /usr/bin/objformat; then
14411 objformat=`/usr/bin/objformat`
14412 else
14413 case $host_os in
14414 freebsd[23].*) objformat=aout ;;
14415 *) objformat=elf ;;
14416 esac
14417 fi
14418 version_type=freebsd-$objformat
14419 case $version_type in
14420 freebsd-elf*)
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 need_version=no
14423 need_lib_prefix=no
14424 ;;
14425 freebsd-*)
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14427 need_version=yes
14428 ;;
14429 esac
14430 shlibpath_var=LD_LIBRARY_PATH
14431 case $host_os in
14432 freebsd2.*)
14433 shlibpath_overrides_runpath=yes
14434 ;;
14435 freebsd3.[01]* | freebsdelf3.[01]*)
14436 shlibpath_overrides_runpath=yes
14437 hardcode_into_libs=yes
14438 ;;
14439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14441 shlibpath_overrides_runpath=no
14442 hardcode_into_libs=yes
14443 ;;
14444 *) # from 4.6 on, and DragonFly
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14447 ;;
14448 esac
14449 ;;
14450
14451 gnu*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 shlibpath_var=LD_LIBRARY_PATH
14458 hardcode_into_libs=yes
14459 ;;
14460
14461 haiku*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 dynamic_linker="$host_os runtime_loader"
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LIBRARY_PATH
14469 shlibpath_overrides_runpath=yes
14470 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14471 hardcode_into_libs=yes
14472 ;;
14473
14474 hpux9* | hpux10* | hpux11*)
14475 # Give a soname corresponding to the major version so that dld.sl refuses to
14476 # link against other versions.
14477 version_type=sunos
14478 need_lib_prefix=no
14479 need_version=no
14480 case $host_cpu in
14481 ia64*)
14482 shrext_cmds='.so'
14483 hardcode_into_libs=yes
14484 dynamic_linker="$host_os dld.so"
14485 shlibpath_var=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 if test "X$HPUX_IA64_MODE" = X32; then
14490 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14491 else
14492 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 fi
14494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 ;;
14496 hppa*64*)
14497 shrext_cmds='.sl'
14498 hardcode_into_libs=yes
14499 dynamic_linker="$host_os dld.sl"
14500 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 soname_spec='${libname}${release}${shared_ext}$major'
14504 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14506 ;;
14507 *)
14508 shrext_cmds='.sl'
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=SHLIB_PATH
14511 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 ;;
14515 esac
14516 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14517 postinstall_cmds='chmod 555 $lib'
14518 # or fails outright, so override atomically:
14519 install_override_mode=555
14520 ;;
14521
14522 interix[3-9]*)
14523 version_type=linux
14524 need_lib_prefix=no
14525 need_version=no
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=no
14531 hardcode_into_libs=yes
14532 ;;
14533
14534 irix5* | irix6* | nonstopux*)
14535 case $host_os in
14536 nonstopux*) version_type=nonstopux ;;
14537 *)
14538 if test "$lt_cv_prog_gnu_ld" = yes; then
14539 version_type=linux
14540 else
14541 version_type=irix
14542 fi ;;
14543 esac
14544 need_lib_prefix=no
14545 need_version=no
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14548 case $host_os in
14549 irix5* | nonstopux*)
14550 libsuff= shlibsuff=
14551 ;;
14552 *)
14553 case $LD in # libtool.m4 will add one of these switches to LD
14554 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14555 libsuff= shlibsuff= libmagic=32-bit;;
14556 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14557 libsuff=32 shlibsuff=N32 libmagic=N32;;
14558 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14559 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14560 *) libsuff= shlibsuff= libmagic=never-match;;
14561 esac
14562 ;;
14563 esac
14564 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14565 shlibpath_overrides_runpath=no
14566 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14567 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14568 hardcode_into_libs=yes
14569 ;;
14570
14571 # No shared lib support for Linux oldld, aout, or coff.
14572 linux*oldld* | linux*aout* | linux*coff*)
14573 dynamic_linker=no
14574 ;;
14575
14576 # This must be Linux ELF.
14577 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14578 version_type=linux
14579 need_lib_prefix=no
14580 need_version=no
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=no
14586
14587 # Some binutils ld are patched to set DT_RUNPATH
14588 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 lt_cv_shlibpath_overrides_runpath=no
14592 save_LDFLAGS=$LDFLAGS
14593 save_libdir=$libdir
14594 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14595 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14596 if test x$gcc_no_link = xyes; then
14597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 fi
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601
14602 int
14603 main ()
14604 {
14605
14606 ;
14607 return 0;
14608 }
14609 _ACEOF
14610 if ac_fn_cxx_try_link "$LINENO"; then :
14611 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14612 lt_cv_shlibpath_overrides_runpath=yes
14613 fi
14614 fi
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LDFLAGS=$save_LDFLAGS
14618 libdir=$save_libdir
14619
14620 fi
14621
14622 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623
14624 # This implies no fast_install, which is unacceptable.
14625 # Some rework will be needed to allow for fast_install
14626 # before this can be enabled.
14627 hardcode_into_libs=yes
14628
14629 # Append ld.so.conf contents to the search path
14630 if test -f /etc/ld.so.conf; then
14631 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' ' '`
14632 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14633 fi
14634
14635 # We used to test for /lib/ld.so.1 and disable shared libraries on
14636 # powerpc, because MkLinux only supported shared libraries with the
14637 # GNU dynamic linker. Since this was broken with cross compilers,
14638 # most powerpc-linux boxes support dynamic linking these days and
14639 # people can always --disable-shared, the test was removed, and we
14640 # assume the GNU/Linux dynamic linker is in use.
14641 dynamic_linker='GNU/Linux ld.so'
14642 ;;
14643
14644 netbsd*)
14645 version_type=sunos
14646 need_lib_prefix=no
14647 need_version=no
14648 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14650 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14651 dynamic_linker='NetBSD (a.out) ld.so'
14652 else
14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 dynamic_linker='NetBSD ld.elf_so'
14656 fi
14657 shlibpath_var=LD_LIBRARY_PATH
14658 shlibpath_overrides_runpath=yes
14659 hardcode_into_libs=yes
14660 ;;
14661
14662 newsos6)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14667 ;;
14668
14669 *nto* | *qnx*)
14670 version_type=qnx
14671 need_lib_prefix=no
14672 need_version=no
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=no
14677 hardcode_into_libs=yes
14678 dynamic_linker='ldqnx.so'
14679 ;;
14680
14681 openbsd*)
14682 version_type=sunos
14683 sys_lib_dlsearch_path_spec="/usr/lib"
14684 need_lib_prefix=no
14685 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14686 case $host_os in
14687 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14688 *) need_version=no ;;
14689 esac
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14691 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14694 case $host_os in
14695 openbsd2.[89] | openbsd2.[89].*)
14696 shlibpath_overrides_runpath=no
14697 ;;
14698 *)
14699 shlibpath_overrides_runpath=yes
14700 ;;
14701 esac
14702 else
14703 shlibpath_overrides_runpath=yes
14704 fi
14705 ;;
14706
14707 os2*)
14708 libname_spec='$name'
14709 shrext_cmds=".dll"
14710 need_lib_prefix=no
14711 library_names_spec='$libname${shared_ext} $libname.a'
14712 dynamic_linker='OS/2 ld.exe'
14713 shlibpath_var=LIBPATH
14714 ;;
14715
14716 osf3* | osf4* | osf5*)
14717 version_type=osf
14718 need_lib_prefix=no
14719 need_version=no
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14724 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14725 ;;
14726
14727 rdos*)
14728 dynamic_linker=no
14729 ;;
14730
14731 solaris*)
14732 version_type=linux
14733 need_lib_prefix=no
14734 need_version=no
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 shlibpath_var=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath=yes
14739 hardcode_into_libs=yes
14740 # ldd complains unless libraries are executable
14741 postinstall_cmds='chmod +x $lib'
14742 ;;
14743
14744 sunos4*)
14745 version_type=sunos
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 if test "$with_gnu_ld" = yes; then
14751 need_lib_prefix=no
14752 fi
14753 need_version=yes
14754 ;;
14755
14756 sysv4 | sysv4.3*)
14757 version_type=linux
14758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec='${libname}${release}${shared_ext}$major'
14760 shlibpath_var=LD_LIBRARY_PATH
14761 case $host_vendor in
14762 sni)
14763 shlibpath_overrides_runpath=no
14764 need_lib_prefix=no
14765 runpath_var=LD_RUN_PATH
14766 ;;
14767 siemens)
14768 need_lib_prefix=no
14769 ;;
14770 motorola)
14771 need_lib_prefix=no
14772 need_version=no
14773 shlibpath_overrides_runpath=no
14774 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 ;;
14776 esac
14777 ;;
14778
14779 sysv4*MP*)
14780 if test -d /usr/nec ;then
14781 version_type=linux
14782 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14783 soname_spec='$libname${shared_ext}.$major'
14784 shlibpath_var=LD_LIBRARY_PATH
14785 fi
14786 ;;
14787
14788 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14789 version_type=freebsd-elf
14790 need_lib_prefix=no
14791 need_version=no
14792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14793 soname_spec='${libname}${release}${shared_ext}$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 shlibpath_overrides_runpath=yes
14796 hardcode_into_libs=yes
14797 if test "$with_gnu_ld" = yes; then
14798 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14799 else
14800 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14801 case $host_os in
14802 sco3.2v5*)
14803 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 ;;
14805 esac
14806 fi
14807 sys_lib_dlsearch_path_spec='/usr/lib'
14808 ;;
14809
14810 tpf*)
14811 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14812 version_type=linux
14813 need_lib_prefix=no
14814 need_version=no
14815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 shlibpath_var=LD_LIBRARY_PATH
14817 shlibpath_overrides_runpath=no
14818 hardcode_into_libs=yes
14819 ;;
14820
14821 uts4*)
14822 version_type=linux
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 soname_spec='${libname}${release}${shared_ext}$major'
14825 shlibpath_var=LD_LIBRARY_PATH
14826 ;;
14827
14828 *)
14829 dynamic_linker=no
14830 ;;
14831 esac
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14833 $as_echo "$dynamic_linker" >&6; }
14834 test "$dynamic_linker" = no && can_build_shared=no
14835
14836 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14837 if test "$GCC" = yes; then
14838 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14839 fi
14840
14841 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14842 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 fi
14844 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14845 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14846 fi
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
14883
14884
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14886 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14887 hardcode_action_CXX=
14888 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14889 test -n "$runpath_var_CXX" ||
14890 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891
14892 # We can hardcode non-existent directories.
14893 if test "$hardcode_direct_CXX" != no &&
14894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14895 # have to relink, otherwise we might link with an installed library
14896 # when we should be linking with a yet-to-be-installed one
14897 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14898 test "$hardcode_minus_L_CXX" != no; then
14899 # Linking always hardcodes the temporary library directory.
14900 hardcode_action_CXX=relink
14901 else
14902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14903 hardcode_action_CXX=immediate
14904 fi
14905 else
14906 # We cannot hardcode anything, or else we can only hardcode existing
14907 # directories.
14908 hardcode_action_CXX=unsupported
14909 fi
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14911 $as_echo "$hardcode_action_CXX" >&6; }
14912
14913 if test "$hardcode_action_CXX" = relink ||
14914 test "$inherit_rpath_CXX" = yes; then
14915 # Fast installation is not supported
14916 enable_fast_install=no
14917 elif test "$shlibpath_overrides_runpath" = yes ||
14918 test "$enable_shared" = no; then
14919 # Fast installation is not necessary
14920 enable_fast_install=needless
14921 fi
14922
14923
14924
14925
14926
14927
14928
14929 fi # test -n "$compiler"
14930
14931 CC=$lt_save_CC
14932 LDCXX=$LD
14933 LD=$lt_save_LD
14934 GCC=$lt_save_GCC
14935 with_gnu_ld=$lt_save_with_gnu_ld
14936 lt_cv_path_LDCXX=$lt_cv_path_LD
14937 lt_cv_path_LD=$lt_save_path_LD
14938 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14939 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14940 fi # test "$_lt_caught_CXX_error" != yes
14941
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960 ac_config_commands="$ac_config_commands libtool"
14961
14962
14963
14964
14965 # Only expand once:
14966
14967
14968
14969
14970
14971 case $host in
14972 *-cygwin* | *-mingw*)
14973 # 'host' will be top-level target in the case of a target lib,
14974 # we must compare to with_cross_host to decide if this is a native
14975 # or cross-compiler and select where to install dlls appropriately.
14976 if test -n "$with_cross_host" &&
14977 test x"$with_cross_host" != x"no"; then
14978 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14979 else
14980 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14981 fi
14982 ;;
14983 *)
14984 lt_host_flags=
14985 ;;
14986 esac
14987
14988
14989
14990
14991
14992
14993 if test "$enable_vtable_verify" = yes; then
14994 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14995 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14996 fi
14997
14998
14999 # libtool variables for C++ shared and position-independent compiles.
15000 #
15001 # Use glibcxx_lt_pic_flag to designate the automake variable
15002 # used to encapsulate the default libtool approach to creating objects
15003 # with position-independent code. Default: -prefer-pic.
15004 #
15005 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15006 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 #
15008 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15009 # creating position-independent objects. This varies with the target
15010 # hardware and operating system, but is often: -DPIC -fPIC.
15011 if test "$enable_shared" = yes; then
15012 glibcxx_lt_pic_flag="-prefer-pic"
15013 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15014 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015
15016 else
15017 glibcxx_lt_pic_flag=
15018 glibcxx_compiler_pic_flag=
15019 glibcxx_compiler_shared_flag=
15020 fi
15021
15022
15023
15024
15025 # Override the libtool's pic_flag and pic_mode.
15026 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15027 # NB: this impacts --with-pic and --without-pic.
15028 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15029 pic_mode='default'
15030
15031 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15032 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033
15034 # Possibly disable most of the library.
15035 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15036 ## than just ignoring the results. Faster /and/ more correct, win win.
15037
15038 # Check whether --enable-hosted-libstdcxx was given.
15039 if test "${enable_hosted_libstdcxx+set}" = set; then :
15040 enableval=$enable_hosted_libstdcxx;
15041 else
15042 case "$host" in
15043 arm*-*-symbianelf*)
15044 enable_hosted_libstdcxx=no
15045 ;;
15046 *)
15047 enable_hosted_libstdcxx=yes
15048 ;;
15049 esac
15050 fi
15051
15052 if test "$enable_hosted_libstdcxx" = no; then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15054 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15055 is_hosted=no
15056 hosted_define=0
15057 enable_abi_check=no
15058 enable_libstdcxx_pch=no
15059 else
15060 is_hosted=yes
15061 hosted_define=1
15062 fi
15063
15064
15065 cat >>confdefs.h <<_ACEOF
15066 #define _GLIBCXX_HOSTED $hosted_define
15067 _ACEOF
15068
15069
15070
15071 # Enable descriptive messages to standard output on termination.
15072
15073 # Check whether --enable-libstdcxx-verbose was given.
15074 if test "${enable_libstdcxx_verbose+set}" = set; then :
15075 enableval=$enable_libstdcxx_verbose;
15076 else
15077 enable_libstdcxx_verbose=yes
15078 fi
15079
15080 if test x"$enable_libstdcxx_verbose" = xyes; then
15081 verbose_define=1
15082 else
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15084 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15085 verbose_define=0
15086 fi
15087
15088 cat >>confdefs.h <<_ACEOF
15089 #define _GLIBCXX_VERBOSE $verbose_define
15090 _ACEOF
15091
15092
15093
15094 # Enable compiler support that doesn't require linking.
15095
15096 # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098 enableval=$enable_libstdcxx_pch;
15099 case "$enableval" in
15100 yes|no) ;;
15101 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102 esac
15103
15104 else
15105 enable_libstdcxx_pch=$is_hosted
15106 fi
15107
15108
15109 if test $enable_libstdcxx_pch = yes; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_save_CXXFLAGS="$CXXFLAGS"
15116 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117
15118 ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123
15124 echo '#include <math.h>' > conftest.h
15125 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126 -o conftest.h.gch 1>&5 2>&1 &&
15127 echo '#error "pch failed"' > conftest.h &&
15128 echo '#include "conftest.h"' > conftest.cc &&
15129 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130 then
15131 glibcxx_cv_prog_CXX_pch=yes
15132 else
15133 glibcxx_cv_prog_CXX_pch=no
15134 fi
15135 rm -f conftest*
15136 CXXFLAGS=$ac_save_CXXFLAGS
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142
15143
15144 fi
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15148 fi
15149
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15154
15155
15156 if test $enable_libstdcxx_pch = yes; then
15157 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158 else
15159 glibcxx_PCHFLAGS=""
15160 fi
15161
15162
15163
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15169
15170 case $target_thread_file in
15171 aix) thread_header=config/rs6000/gthr-aix.h ;;
15172 dce) thread_header=config/pa/gthr-dce.h ;;
15173 lynx) thread_header=config/gthr-lynx.h ;;
15174 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15175 posix) thread_header=gthr-posix.h ;;
15176 rtems) thread_header=config/gthr-rtems.h ;;
15177 single) thread_header=gthr-single.h ;;
15178 tpf) thread_header=config/s390/gthr-tpf.h ;;
15179 vxworks) thread_header=config/gthr-vxworks.h ;;
15180 win32) thread_header=config/i386/gthr-win32.h ;;
15181 esac
15182
15183
15184
15185
15186
15187 ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192
15193 old_CXXFLAGS="$CXXFLAGS"
15194
15195 # Do link tests if possible, instead asm tests, limited to some platforms
15196 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198 atomic_builtins_link_tests=no
15199 if test x$gcc_no_link != xyes; then
15200 # Can do link tests. Limit to some tested platforms
15201 case "$host" in
15202 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203 atomic_builtins_link_tests=yes
15204 ;;
15205 esac
15206 fi
15207
15208 if test x$atomic_builtins_link_tests = xyes; then
15209
15210 # Do link tests.
15211
15212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 fi
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225
15226 int
15227 main ()
15228 {
15229 typedef bool atomic_type;
15230 atomic_type c1;
15231 atomic_type c2;
15232 atomic_type c3(0);
15233 // N.B. __atomic_fetch_add is not supported for bool.
15234 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235 __ATOMIC_RELAXED);
15236 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15238
15239 ;
15240 return 0;
15241 }
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_bool=yes
15245 else
15246 glibcxx_cv_atomic_bool=no
15247 fi
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15250
15251 fi
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261
15262 if test x$gcc_no_link = xyes; then
15263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 fi
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15267
15268 int
15269 main ()
15270 {
15271 typedef short atomic_type;
15272 atomic_type c1;
15273 atomic_type c2;
15274 atomic_type c3(0);
15275 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277 __ATOMIC_RELAXED);
15278 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15280
15281 ;
15282 return 0;
15283 }
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286 glibcxx_cv_atomic_short=yes
15287 else
15288 glibcxx_cv_atomic_short=no
15289 fi
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15292
15293 fi
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303
15304 if test x$gcc_no_link = xyes; then
15305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 fi
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309
15310 int
15311 main ()
15312 {
15313 typedef int atomic_type;
15314 atomic_type c1;
15315 atomic_type c2;
15316 atomic_type c3(0);
15317 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319 __ATOMIC_RELAXED);
15320 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15322
15323 ;
15324 return 0;
15325 }
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328 glibcxx_cv_atomic_int=yes
15329 else
15330 glibcxx_cv_atomic_int=no
15331 fi
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15334
15335 fi
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15345
15346 if test x$gcc_no_link = xyes; then
15347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 fi
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15351
15352 int
15353 main ()
15354 {
15355 typedef long long atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 atomic_type c3(0);
15359 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361 __ATOMIC_RELAXED);
15362 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15364
15365 ;
15366 return 0;
15367 }
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370 glibcxx_cv_atomic_long_long=yes
15371 else
15372 glibcxx_cv_atomic_long_long=no
15373 fi
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15376
15377 fi
15378
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381
15382 else
15383
15384 # Do asm tests.
15385
15386 # Compile unoptimized.
15387 CXXFLAGS='-O0 -S'
15388
15389 # Fake what AC_TRY_COMPILE does.
15390
15391 cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15394 {
15395 typedef bool atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 // N.B. __atomic_fetch_add is not supported for bool.
15400 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401 __ATOMIC_RELAXED);
15402 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404
15405 return 0;
15406 }
15407 EOF
15408
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412 (eval $ac_compile) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417 glibcxx_cv_atomic_bool=no
15418 else
15419 glibcxx_cv_atomic_bool=yes
15420 fi
15421 fi
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424 rm -f conftest*
15425
15426 cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15429 {
15430 typedef short atomic_type;
15431 atomic_type c1;
15432 atomic_type c2;
15433 atomic_type c3(0);
15434 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436 __ATOMIC_RELAXED);
15437 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439
15440 return 0;
15441 }
15442 EOF
15443
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447 (eval $ac_compile) 2>&5
15448 ac_status=$?
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452 glibcxx_cv_atomic_short=no
15453 else
15454 glibcxx_cv_atomic_short=yes
15455 fi
15456 fi
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459 rm -f conftest*
15460
15461 cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15464 {
15465 // NB: _Atomic_word not necessarily int.
15466 typedef int atomic_type;
15467 atomic_type c1;
15468 atomic_type c2;
15469 atomic_type c3(0);
15470 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472 __ATOMIC_RELAXED);
15473 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475
15476 return 0;
15477 }
15478 EOF
15479
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486 test $ac_status = 0; }; then
15487 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488 glibcxx_cv_atomic_int=no
15489 else
15490 glibcxx_cv_atomic_int=yes
15491 fi
15492 fi
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495 rm -f conftest*
15496
15497 cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15500 {
15501 typedef long long atomic_type;
15502 atomic_type c1;
15503 atomic_type c2;
15504 atomic_type c3(0);
15505 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507 __ATOMIC_RELAXED);
15508 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510
15511 return 0;
15512 }
15513 EOF
15514
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523 glibcxx_cv_atomic_long_long=no
15524 else
15525 glibcxx_cv_atomic_long_long=yes
15526 fi
15527 fi
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530 rm -f conftest*
15531
15532 fi
15533
15534 CXXFLAGS="$old_CXXFLAGS"
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15540
15541
15542 # Set atomicity_dir to builtins if all but the long long test above passes,
15543 # or if the builtins were already chosen (e.g. by configure.host).
15544 if { test "$glibcxx_cv_atomic_bool" = yes \
15545 && test "$glibcxx_cv_atomic_short" = yes \
15546 && test "$glibcxx_cv_atomic_int" = yes; } \
15547 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15548
15549 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15550
15551 atomicity_dir=cpu/generic/atomicity_builtins
15552 fi
15553
15554 # If still generic, set to mutex.
15555 if test $atomicity_dir = "cpu/generic" ; then
15556 atomicity_dir=cpu/generic/atomicity_mutex
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15558 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15559 if test "x$target_thread_file" = xsingle; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15561 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15563 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15564 else
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15566 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15568 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15569 fi
15570 fi
15571
15572
15573
15574
15575 # Fake what AC_TRY_COMPILE does, without linking as this is
15576 # unnecessary for this test.
15577
15578 cat > conftest.$ac_ext << EOF
15579 #line 15579 "configure"
15580 int main()
15581 {
15582 _Decimal32 d1;
15583 _Decimal64 d2;
15584 _Decimal128 d3;
15585 return 0;
15586 }
15587 EOF
15588
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15590 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15592 (eval $ac_compile) 2>&5
15593 ac_status=$?
15594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15595 test $ac_status = 0; }; then
15596
15597 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15598
15599 enable_dfp=yes
15600 else
15601 enable_dfp=no
15602 fi
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15604 $as_echo "$enable_dfp" >&6; }
15605 rm -f conftest*
15606
15607
15608
15609
15610 ac_ext=cpp
15611 ac_cpp='$CXXCPP $CPPFLAGS'
15612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15615
15616
15617 # Fake what AC_TRY_COMPILE does, without linking as this is
15618 # unnecessary for this test.
15619
15620 cat > conftest.$ac_ext << EOF
15621 #line 15621 "configure"
15622 template<typename T1, typename T2>
15623 struct same
15624 { typedef T2 type; };
15625
15626 template<typename T>
15627 struct same<T, T>;
15628
15629 int main()
15630 {
15631 typename same<long, __int128>::type i1;
15632 typename same<long long, __int128>::type i2;
15633 }
15634 EOF
15635
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15637 $as_echo_n "checking for __int128... " >&6; }
15638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15639 (eval $ac_compile) 2>&5
15640 ac_status=$?
15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15642 test $ac_status = 0; }; then
15643
15644 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15645
15646 enable_int128=yes
15647 else
15648 enable_int128=no
15649 fi
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15651 $as_echo "$enable_int128" >&6; }
15652 rm -f conftest*
15653
15654 cat > conftest.$ac_ext << EOF
15655 #line 15655 "configure"
15656 template<typename T1, typename T2>
15657 struct same
15658 { typedef T2 type; };
15659
15660 template<typename T>
15661 struct same<T, T>;
15662
15663 int main()
15664 {
15665 typename same<double, __float128>::type f1;
15666 typename same<long double, __float128>::type f2;
15667 }
15668 EOF
15669
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15671 $as_echo_n "checking for __float128... " >&6; }
15672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15673 (eval $ac_compile) 2>&5
15674 ac_status=$?
15675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15676 test $ac_status = 0; }; then
15677
15678 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15679
15680 enable_float128=yes
15681 else
15682 enable_float128=no
15683 fi
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15685 $as_echo "$enable_float128" >&6; }
15686 rm -f conftest*
15687
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693
15694
15695 if test "$enable_float128" = yes; then
15696 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15697 fi
15698
15699 # Checks for compiler support that doesn't require linking.
15700
15701 # All these tests are for C++; save the language and the compiler flags.
15702 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15703 # found in GLIBCXX_CONFIGURE.
15704
15705 ac_ext=cpp
15706 ac_cpp='$CXXCPP $CPPFLAGS'
15707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15710
15711 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15712 ac_save_CXXFLAGS="$CXXFLAGS"
15713
15714 # Check for maintainer-mode bits.
15715 if test x"$USE_MAINTAINER_MODE" = xno; then
15716 WERROR=''
15717 else
15718 WERROR='-Werror'
15719 fi
15720
15721 # Check for -ffunction-sections -fdata-sections
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15723 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15724 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15727 int foo; void bar() { };
15728 int
15729 main ()
15730 {
15731
15732 ;
15733 return 0;
15734 }
15735 _ACEOF
15736 if ac_fn_cxx_try_compile "$LINENO"; then :
15737 ac_fdsections=yes
15738 else
15739 ac_fdsections=no
15740 fi
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 if test "$ac_test_CXXFLAGS" = set; then
15743 CXXFLAGS="$ac_save_CXXFLAGS"
15744 else
15745 # this is the suspicious part
15746 CXXFLAGS=''
15747 fi
15748 if test x"$ac_fdsections" = x"yes"; then
15749 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15750 fi
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15752 $as_echo "$ac_fdsections" >&6; }
15753
15754 ac_ext=c
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759
15760
15761
15762
15763
15764 # Enable all the variable C++ runtime options that don't require linking.
15765
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15775
15776 else
15777 enable_cstdio=stdio
15778 fi
15779
15780
15781
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15792 ;;
15793 esac
15794
15795
15796
15797
15798
15799
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15807
15808 else
15809 enable_clocale=auto
15810 fi
15811
15812
15813
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15823 fi
15824
15825
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15829 fi
15830 enable_clocale_flag=$enable_clocale
15831
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15838 ;;
15839 darwin*)
15840 enable_clocale_flag=darwin
15841 ;;
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15844 ;;
15845 openbsd*)
15846 enable_clocale_flag=newlib
15847 ;;
15848 *)
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15853 fi
15854 ;;
15855 esac
15856 fi
15857
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15867
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15874 fi
15875 rm -f conftest*
15876
15877
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15881
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15888 int
15889 main ()
15890 {
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15892 ;
15893 return 0;
15894 }
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15897
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15899
15900 fi
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15909 int
15910 main ()
15911 {
15912 __locale_t loc; strerror_l(5, loc);
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15918
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15920
15921 fi
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923
15924 CFLAGS="$ac_save_CFLAGS"
15925 fi
15926
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15935 int
15936 main ()
15937 {
15938 char s[128]; strerror_r(5, s, 128);
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15944
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15946
15947 fi
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15950
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15958
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15971 ;;
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15975
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15988 ;;
15989
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15993
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16006 ;;
16007
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16011
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16016
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16030 do
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16038 fi
16039 done
16040 done
16041 IFS=$as_save_IFS
16042
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16044 fi
16045 fi
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16053 fi
16054
16055
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16058 fi
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16064
16065
16066
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16079 ;;
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16083
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16096 ;;
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16100
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16113 ;;
16114 esac
16115
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16119
16120
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16130
16131 else
16132 USE_NLS=no
16133 fi
16134
16135 done
16136
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16145
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16153 int
16154 main ()
16155 {
16156 return gettext ();
16157 ;
16158 return 0;
16159 }
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16167 fi
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16170 fi
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16173 fi
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16178 fi
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16181
16182 else
16183 ac_cv_search_gettext=no
16184 fi
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16187 fi
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16193
16194 else
16195 USE_NLS=no
16196 fi
16197
16198 fi
16199 if test $USE_NLS = yes; then
16200
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16202
16203 fi
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16229
16230 else
16231 enable_libstdcxx_allocator=auto
16232 fi
16233
16234
16235
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16243 fi
16244
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16248
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16255 ;;
16256 *)
16257 enable_libstdcxx_allocator_flag=new
16258 ;;
16259 esac
16260 fi
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16263
16264
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16270 ;;
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16274 ;;
16275 mt)
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16278 ;;
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16282 ;;
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16286 ;;
16287 esac
16288
16289
16290
16291
16292
16293
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16301
16302 else
16303 enable_cheaders=$c_model
16304 fi
16305
16306
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16309
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16311
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16315 fi
16316
16317
16318
16319
16320
16321
16322
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16330
16331 else
16332 enable_long_long=yes
16333 fi
16334
16335
16336 if test $enable_long_long = yes; then
16337
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16339
16340 fi
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16345
16346
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16354
16355 else
16356 enable_wchar_t=yes
16357 fi
16358
16359
16360
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16372 fi
16373
16374 done
16375
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16381 int
16382 main ()
16383 {
16384 mbstate_t teststate;
16385 ;
16386 return 0;
16387 }
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16393 fi
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16398
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400
16401 fi
16402
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16415 fi
16416
16417 done
16418
16419
16420 if test x"$enable_wchar_t" = x"yes"; then
16421
16422
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16428
16429
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16441 {
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16494 }
16495
16496 int
16497 main ()
16498 {
16499
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16505
16506 else
16507 enable_wchar_t=no
16508 fi
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16512 fi
16513
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519
16520 fi
16521
16522 if test x"$enable_wchar_t" = x"yes"; then
16523
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525
16526 fi
16527
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16532
16533
16534
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16542
16543 else
16544 enable_c99=yes
16545 fi
16546
16547
16548
16549 if test x"$enable_c99" = x"yes"; then
16550
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16556
16557
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16565
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16579 fi
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16590 int
16591 main ()
16592 {
16593 return sin ();
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16602 fi
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16606 fi
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16612
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16615
16616 fi
16617
16618 fi
16619
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16633 int
16634 main ()
16635 {
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16649
16650 ;
16651 return 0;
16652 }
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16658 fi
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 fi
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16669 int
16670 main ()
16671 {
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16694 fi
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 fi
16698
16699 fi
16700
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16704
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706
16707 fi
16708
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16723 fi
16724
16725 done
16726
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16737 fi
16738
16739 done
16740
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16761 int
16762 main ()
16763 {
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16803
16804 ;
16805 return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16812 fi
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16817 fi
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16830 int
16831 main ()
16832 {
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16872
16873 ;
16874 return 0;
16875 }
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16881 fi
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16884 fi
16885
16886 fi
16887
16888 fi
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16892
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894
16895 fi
16896
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16910 {
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16917 }
16918 int
16919 main ()
16920 {
16921
16922 ;
16923 return 0;
16924 }
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16930 fi
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 fi
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16941 {
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16948 }
16949 int
16950 main ()
16951 {
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16961 fi
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 fi
16965
16966 fi
16967
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16971
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973
16974 fi
16975
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16991 int
16992 main ()
16993 {
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17005
17006 ;
17007 return 0;
17008 }
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17014 fi
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17019 fi
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17027 int
17028 main ()
17029 {
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17041
17042 ;
17043 return 0;
17044 }
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17050 fi
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17053 fi
17054
17055 fi
17056
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17060
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17062
17063 fi
17064
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17078 {
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17082 }
17083
17084 int
17085 main ()
17086 {
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17096 fi
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098
17099 fi
17100
17101
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17110 int
17111 main ()
17112 {
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17121
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17129 int
17130 main ()
17131 {
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17138
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17140
17141 fi
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17148 int
17149 main ()
17150 {
17151
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17157
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17167 int
17168 main ()
17169 {
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17176
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17178
17179 fi
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17185 int
17186 main ()
17187 {
17188 wint_t t; int i = iswblank(t);
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17194
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17196
17197 fi
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17203
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17205
17206 fi
17207 fi
17208
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17217
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17219
17220 fi
17221
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17238
17239
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17246
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17260 fi
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17263
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17271 int
17272 main ()
17273 {
17274 return sin ();
17275 ;
17276 return 0;
17277 }
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17287 fi
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17293
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17296
17297 fi
17298
17299 fi
17300
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17314 int
17315 main ()
17316 {
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17330
17331 ;
17332 return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17339 fi
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17344 fi
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17350 int
17351 main ()
17352 {
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17366
17367 ;
17368 return 0;
17369 }
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17375 fi
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17378 fi
17379
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17385
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17387
17388 fi
17389
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17404 fi
17405
17406 done
17407
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17418 fi
17419
17420 done
17421
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17442 int
17443 main ()
17444 {
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17493 fi
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 fi
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17511 int
17512 main ()
17513 {
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17553
17554 ;
17555 return 0;
17556 }
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17562 fi
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17565 fi
17566
17567 fi
17568
17569 fi
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17573
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17575
17576 fi
17577
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17591 {
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17598 }
17599 int
17600 main ()
17601 {
17602
17603 ;
17604 return 0;
17605 }
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17611 fi
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 fi
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17622 {
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17629 }
17630 int
17631 main ()
17632 {
17633
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17645 fi
17646
17647 fi
17648
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17652
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17654
17655 fi
17656
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17672 int
17673 main ()
17674 {
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17695 fi
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 fi
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17708 int
17709 main ()
17710 {
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17722
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17731 fi
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 fi
17735
17736 fi
17737
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17741
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17743
17744 fi
17745
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17759 {
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17763 }
17764
17765 int
17766 main ()
17767 {
17768
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780 fi
17781
17782
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17791 int
17792 main ()
17793 {
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17800
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17802
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17810 int
17811 main ()
17812 {
17813
17814 ;
17815 return 0;
17816 }
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17819
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17821
17822 fi
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17829 int
17830 main ()
17831 {
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17838
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17840
17841 fi
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17848 int
17849 main ()
17850 {
17851
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17857
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17859
17860 fi
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17866 int
17867 main ()
17868 {
17869 wint_t t; int i = iswblank(t);
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17875
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17877
17878 fi
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17884
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17886
17887 fi
17888 fi
17889
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898
17899 fi
17900
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17905
17906
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17914
17915 else
17916 enable_concept_checks=no
17917 fi
17918
17919
17920 if test $enable_concept_checks = yes; then
17921
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17923
17924 fi
17925
17926
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17936 fi
17937
17938
17939
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17942
17943
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17946
17947
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17957
17958 else
17959 enable_libstdcxx_debug=no
17960 fi
17961
17962
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17965
17966
17967
17968
17969 enable_parallel=no;
17970
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17978 fi
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17984
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
17996 fi
17997
17998
17999
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18011 fi
18012
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18016
18017
18018
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18026
18027 else
18028 enable_fully_dynamic_string=no
18029 fi
18030
18031
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18036 fi
18037
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18041
18042
18043
18044
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18052
18053 else
18054 enable_extern_template=yes
18055 fi
18056
18057
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18063
18064
18065
18066
18067
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18070
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18076 fi
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18080
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18083
18084
18085
18086
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18096
18097 else
18098 enable_werror=yes
18099 fi
18100
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18104
18105
18106
18107
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18115
18116 else
18117 enable_vtable_verify=no
18118 fi
18119
18120
18121
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18126
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18134 ;;
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18138 ;;
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18142 ;;
18143 *)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18146 ;;
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18153 fi
18154
18155
18156
18157
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18164 fi
18165
18166
18167
18168
18169 # Checks for operating systems support that doesn't require linking.
18170
18171
18172
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178
18179
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18181 $as_echo_n "checking for gets declaration... " >&6; }
18182 if test "${glibcxx_cv_gets+set}" = set; then :
18183 $as_echo_n "(cached) " >&6
18184 else
18185
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18188 #include <stdio.h>
18189 namespace test
18190 {
18191 using ::gets;
18192 }
18193
18194 _ACEOF
18195 if ac_fn_cxx_try_compile "$LINENO"; then :
18196 glibcxx_cv_gets=yes
18197 else
18198 glibcxx_cv_gets=no
18199
18200 fi
18201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18202 fi
18203
18204
18205 if test $glibcxx_cv_gets = yes; then
18206
18207 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18208
18209 fi
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18211 $as_echo "$glibcxx_cv_gets" >&6; }
18212
18213 ac_ext=c
18214 ac_cpp='$CPP $CPPFLAGS'
18215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18218
18219
18220
18221
18222
18223 ac_ext=cpp
18224 ac_cpp='$CXXCPP $CPPFLAGS'
18225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18228
18229 ac_save_CXXFLAGS="$CXXFLAGS"
18230 CXXFLAGS="$CXXFLAGS -std=c++11"
18231
18232 case "$host" in
18233 *-*-solaris2.*)
18234 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18235 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18237 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18238 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18241
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #include <math.h>
18245 #undef isfinite
18246 namespace std {
18247 inline bool isfinite(float __x)
18248 { return __builtin_isfinite(__x); }
18249 }
18250
18251 _ACEOF
18252 if ac_fn_cxx_try_compile "$LINENO"; then :
18253 glibcxx_cv_math11_overload=no
18254 else
18255 glibcxx_cv_math11_overload=yes
18256
18257 fi
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 fi
18260
18261
18262 # autoheader cannot handle indented templates.
18263
18264
18265 if test $glibcxx_cv_math11_overload = yes; then
18266 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18267
18268 fi
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18270 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18271 ;;
18272 *)
18273 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18274 # functions (instead of or as well as the C99 generic macros) then we
18275 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18276 # and must use the ones from <math.h> instead.
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18278 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18279 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18280 $as_echo_n "(cached) " >&6
18281 else
18282
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18286 #include <math.h>
18287 #undef isinf
18288 namespace std {
18289 using ::isinf;
18290 bool isinf(float);
18291 bool isinf(long double);
18292 }
18293 using std::isinf;
18294 bool b = isinf(0.0);
18295
18296 _ACEOF
18297 if ac_fn_cxx_try_compile "$LINENO"; then :
18298 glibcxx_cv_obsolete_isinf=yes
18299 else
18300 glibcxx_cv_obsolete_isinf=no
18301
18302 fi
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18304 fi
18305
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18307 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18308 if test $glibcxx_cv_obsolete_isinf = yes; then
18309
18310 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18311
18312 fi
18313
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18315 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18316 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18317 $as_echo_n "(cached) " >&6
18318 else
18319
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18322 #include <math.h>
18323 #undef isnan
18324 namespace std {
18325 using ::isnan;
18326 bool isnan(float);
18327 bool isnan(long double);
18328 }
18329 using std::isnan;
18330 bool b = isnan(0.0);
18331
18332 _ACEOF
18333 if ac_fn_cxx_try_compile "$LINENO"; then :
18334 glibcxx_cv_obsolete_isnan=yes
18335 else
18336 glibcxx_cv_obsolete_isnan=no
18337
18338 fi
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18340 fi
18341
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18343 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18344 if test $glibcxx_cv_obsolete_isnan = yes; then
18345
18346 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18347
18348 fi
18349 ;;
18350 esac
18351
18352 CXXFLAGS="$ac_save_CXXFLAGS"
18353 ac_ext=c
18354 ac_cpp='$CPP $CPPFLAGS'
18355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358
18359
18360
18361
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18363 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18364 if test "${glibcxx_cv_system_error1+set}" = set; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18367
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18370 #include <errno.h>
18371 int
18372 main ()
18373 {
18374 int i = EOWNERDEAD;
18375 ;
18376 return 0;
18377 }
18378 _ACEOF
18379 if ac_fn_c_try_compile "$LINENO"; then :
18380 glibcxx_cv_system_error1=yes
18381 else
18382 glibcxx_cv_system_error1=no
18383 fi
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385
18386 fi
18387
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18389 $as_echo "$glibcxx_cv_system_error1" >&6; }
18390 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18391
18392 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18393
18394 fi
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18396 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18397 if test "${glibcxx_cv_system_error2+set}" = set; then :
18398 $as_echo_n "(cached) " >&6
18399 else
18400
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18403 #include <errno.h>
18404 int
18405 main ()
18406 {
18407 int i = ENOTRECOVERABLE;
18408 ;
18409 return 0;
18410 }
18411 _ACEOF
18412 if ac_fn_c_try_compile "$LINENO"; then :
18413 glibcxx_cv_system_error2=yes
18414 else
18415 glibcxx_cv_system_error2=no
18416 fi
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418
18419 fi
18420
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18422 $as_echo "$glibcxx_cv_system_error2" >&6; }
18423 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18424
18425 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18426
18427 fi
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18429 $as_echo_n "checking for ENOLINK... " >&6; }
18430 if test "${glibcxx_cv_system_error3+set}" = set; then :
18431 $as_echo_n "(cached) " >&6
18432 else
18433
18434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18436 #include <errno.h>
18437 int
18438 main ()
18439 {
18440 int i = ENOLINK;
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 if ac_fn_c_try_compile "$LINENO"; then :
18446 glibcxx_cv_system_error3=yes
18447 else
18448 glibcxx_cv_system_error3=no
18449 fi
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451
18452 fi
18453
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18455 $as_echo "$glibcxx_cv_system_error3" >&6; }
18456 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18457
18458 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18459
18460 fi
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18462 $as_echo_n "checking for EPROTO... " >&6; }
18463 if test "${glibcxx_cv_system_error4+set}" = set; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18469 #include <errno.h>
18470 int
18471 main ()
18472 {
18473 int i = EPROTO;
18474 ;
18475 return 0;
18476 }
18477 _ACEOF
18478 if ac_fn_c_try_compile "$LINENO"; then :
18479 glibcxx_cv_system_error4=yes
18480 else
18481 glibcxx_cv_system_error4=no
18482 fi
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484
18485 fi
18486
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18488 $as_echo "$glibcxx_cv_system_error4" >&6; }
18489 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18490
18491 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18492
18493 fi
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18495 $as_echo_n "checking for ENODATA... " >&6; }
18496 if test "${glibcxx_cv_system_error5+set}" = set; then :
18497 $as_echo_n "(cached) " >&6
18498 else
18499
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18502 #include <errno.h>
18503 int
18504 main ()
18505 {
18506 int i = ENODATA;
18507 ;
18508 return 0;
18509 }
18510 _ACEOF
18511 if ac_fn_c_try_compile "$LINENO"; then :
18512 glibcxx_cv_system_error5=yes
18513 else
18514 glibcxx_cv_system_error5=no
18515 fi
18516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18517
18518 fi
18519
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18521 $as_echo "$glibcxx_cv_system_error5" >&6; }
18522 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18523
18524 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18525
18526 fi
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18528 $as_echo_n "checking for ENOSR... " >&6; }
18529 if test "${glibcxx_cv_system_error6+set}" = set; then :
18530 $as_echo_n "(cached) " >&6
18531 else
18532
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 #include <errno.h>
18536 int
18537 main ()
18538 {
18539 int i = ENOSR;
18540 ;
18541 return 0;
18542 }
18543 _ACEOF
18544 if ac_fn_c_try_compile "$LINENO"; then :
18545 glibcxx_cv_system_error6=yes
18546 else
18547 glibcxx_cv_system_error6=no
18548 fi
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550
18551 fi
18552
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18554 $as_echo "$glibcxx_cv_system_error6" >&6; }
18555 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18556
18557 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18558
18559 fi
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18561 $as_echo_n "checking for ENOSTR... " >&6; }
18562 if test "${glibcxx_cv_system_error7+set}" = set; then :
18563 $as_echo_n "(cached) " >&6
18564 else
18565
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 #include <errno.h>
18569 int
18570 main ()
18571 {
18572 int i = ENOSTR;
18573 ;
18574 return 0;
18575 }
18576 _ACEOF
18577 if ac_fn_c_try_compile "$LINENO"; then :
18578 glibcxx_cv_system_error7=yes
18579 else
18580 glibcxx_cv_system_error7=no
18581 fi
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583
18584 fi
18585
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18587 $as_echo "$glibcxx_cv_system_error7" >&6; }
18588 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18589
18590 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18591
18592 fi
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18594 $as_echo_n "checking for ETIME... " >&6; }
18595 if test "${glibcxx_cv_system_error8+set}" = set; then :
18596 $as_echo_n "(cached) " >&6
18597 else
18598
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18601 #include <errno.h>
18602 int
18603 main ()
18604 {
18605 int i = ETIME;
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 if ac_fn_c_try_compile "$LINENO"; then :
18611 glibcxx_cv_system_error8=yes
18612 else
18613 glibcxx_cv_system_error8=no
18614 fi
18615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616
18617 fi
18618
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18620 $as_echo "$glibcxx_cv_system_error8" >&6; }
18621 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18622
18623 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18624
18625 fi
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18627 $as_echo_n "checking for EBADMSG... " >&6; }
18628 if test "${glibcxx_cv_system_error9+set}" = set; then :
18629 $as_echo_n "(cached) " >&6
18630 else
18631
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 #include <errno.h>
18635 int
18636 main ()
18637 {
18638 int i = EBADMSG;
18639 ;
18640 return 0;
18641 }
18642 _ACEOF
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644 glibcxx_cv_system_error9=yes
18645 else
18646 glibcxx_cv_system_error9=no
18647 fi
18648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649
18650 fi
18651
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18653 $as_echo "$glibcxx_cv_system_error9" >&6; }
18654 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18655
18656 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18657
18658 fi
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18660 $as_echo_n "checking for ECANCELED... " >&6; }
18661 if test "${glibcxx_cv_system_error10+set}" = set; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #include <errno.h>
18668 int
18669 main ()
18670 {
18671 int i = ECANCELED;
18672 ;
18673 return 0;
18674 }
18675 _ACEOF
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677 glibcxx_cv_system_error10=yes
18678 else
18679 glibcxx_cv_system_error10=no
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682
18683 fi
18684
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18686 $as_echo "$glibcxx_cv_system_error10" >&6; }
18687 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18688
18689 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18690
18691 fi
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18693 $as_echo_n "checking for EOVERFLOW... " >&6; }
18694 if test "${glibcxx_cv_system_error11+set}" = set; then :
18695 $as_echo_n "(cached) " >&6
18696 else
18697
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #include <errno.h>
18701 int
18702 main ()
18703 {
18704 int i = EOVERFLOW;
18705 ;
18706 return 0;
18707 }
18708 _ACEOF
18709 if ac_fn_c_try_compile "$LINENO"; then :
18710 glibcxx_cv_system_error11=yes
18711 else
18712 glibcxx_cv_system_error11=no
18713 fi
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715
18716 fi
18717
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18719 $as_echo "$glibcxx_cv_system_error11" >&6; }
18720 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18721
18722 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18723
18724 fi
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18726 $as_echo_n "checking for ENOTSUP... " >&6; }
18727 if test "${glibcxx_cv_system_error12+set}" = set; then :
18728 $as_echo_n "(cached) " >&6
18729 else
18730
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 #include <errno.h>
18734 int
18735 main ()
18736 {
18737 int i = ENOTSUP;
18738 ;
18739 return 0;
18740 }
18741 _ACEOF
18742 if ac_fn_c_try_compile "$LINENO"; then :
18743 glibcxx_cv_system_error12=yes
18744 else
18745 glibcxx_cv_system_error12=no
18746 fi
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748
18749 fi
18750
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18752 $as_echo "$glibcxx_cv_system_error12" >&6; }
18753 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18754
18755 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18756
18757 fi
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18759 $as_echo_n "checking for EIDRM... " >&6; }
18760 if test "${glibcxx_cv_system_error13+set}" = set; then :
18761 $as_echo_n "(cached) " >&6
18762 else
18763
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 #include <errno.h>
18767 int
18768 main ()
18769 {
18770 int i = EIDRM;
18771 ;
18772 return 0;
18773 }
18774 _ACEOF
18775 if ac_fn_c_try_compile "$LINENO"; then :
18776 glibcxx_cv_system_error13=yes
18777 else
18778 glibcxx_cv_system_error13=no
18779 fi
18780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18781
18782 fi
18783
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18785 $as_echo "$glibcxx_cv_system_error13" >&6; }
18786 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18787
18788 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18789
18790 fi
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18792 $as_echo_n "checking for ETXTBSY... " >&6; }
18793 if test "${glibcxx_cv_system_error14+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 #include <errno.h>
18800 int
18801 main ()
18802 {
18803 int i = ETXTBSY;
18804 ;
18805 return 0;
18806 }
18807 _ACEOF
18808 if ac_fn_c_try_compile "$LINENO"; then :
18809 glibcxx_cv_system_error14=yes
18810 else
18811 glibcxx_cv_system_error14=no
18812 fi
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814
18815 fi
18816
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18818 $as_echo "$glibcxx_cv_system_error14" >&6; }
18819 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18820
18821 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18822
18823 fi
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18825 $as_echo_n "checking for ECHILD... " >&6; }
18826 if test "${glibcxx_cv_system_error15+set}" = set; then :
18827 $as_echo_n "(cached) " >&6
18828 else
18829
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 #include <errno.h>
18833 int
18834 main ()
18835 {
18836 int i = ECHILD;
18837 ;
18838 return 0;
18839 }
18840 _ACEOF
18841 if ac_fn_c_try_compile "$LINENO"; then :
18842 glibcxx_cv_system_error15=yes
18843 else
18844 glibcxx_cv_system_error15=no
18845 fi
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847
18848 fi
18849
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18851 $as_echo "$glibcxx_cv_system_error15" >&6; }
18852 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18853
18854 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18855
18856 fi
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18858 $as_echo_n "checking for ENOSPC... " >&6; }
18859 if test "${glibcxx_cv_system_error16+set}" = set; then :
18860 $as_echo_n "(cached) " >&6
18861 else
18862
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18865 #include <errno.h>
18866 int
18867 main ()
18868 {
18869 int i = ENOSPC;
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 if ac_fn_c_try_compile "$LINENO"; then :
18875 glibcxx_cv_system_error16=yes
18876 else
18877 glibcxx_cv_system_error16=no
18878 fi
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880
18881 fi
18882
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18884 $as_echo "$glibcxx_cv_system_error16" >&6; }
18885 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18886
18887 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18888
18889 fi
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18891 $as_echo_n "checking for EPERM... " >&6; }
18892 if test "${glibcxx_cv_system_error17+set}" = set; then :
18893 $as_echo_n "(cached) " >&6
18894 else
18895
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 #include <errno.h>
18899 int
18900 main ()
18901 {
18902 int i = EPERM;
18903 ;
18904 return 0;
18905 }
18906 _ACEOF
18907 if ac_fn_c_try_compile "$LINENO"; then :
18908 glibcxx_cv_system_error17=yes
18909 else
18910 glibcxx_cv_system_error17=no
18911 fi
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18913
18914 fi
18915
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18917 $as_echo "$glibcxx_cv_system_error17" >&6; }
18918 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18919
18920 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18921
18922 fi
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18924 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18925 if test "${glibcxx_cv_system_error18+set}" = set; then :
18926 $as_echo_n "(cached) " >&6
18927 else
18928
18929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930 /* end confdefs.h. */
18931 #include <errno.h>
18932 int
18933 main ()
18934 {
18935 int i = ETIMEDOUT;
18936 ;
18937 return 0;
18938 }
18939 _ACEOF
18940 if ac_fn_c_try_compile "$LINENO"; then :
18941 glibcxx_cv_system_error18=yes
18942 else
18943 glibcxx_cv_system_error18=no
18944 fi
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946
18947 fi
18948
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18950 $as_echo "$glibcxx_cv_system_error18" >&6; }
18951 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18952
18953 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18954
18955 fi
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18957 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18958 if test "${glibcxx_cv_system_error19+set}" = set; then :
18959 $as_echo_n "(cached) " >&6
18960 else
18961
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18964 #include <errno.h>
18965 int
18966 main ()
18967 {
18968 int i = EWOULDBLOCK;
18969 ;
18970 return 0;
18971 }
18972 _ACEOF
18973 if ac_fn_c_try_compile "$LINENO"; then :
18974 glibcxx_cv_system_error19=yes
18975 else
18976 glibcxx_cv_system_error19=no
18977 fi
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979
18980 fi
18981
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18983 $as_echo "$glibcxx_cv_system_error19" >&6; }
18984 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18985
18986 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18987
18988 fi
18989
18990
18991
18992
18993 # Test uchar.h.
18994 for ac_header in uchar.h
18995 do :
18996 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18997 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_UCHAR_H 1
19000 _ACEOF
19001 ac_has_uchar_h=yes
19002 else
19003 ac_has_uchar_h=no
19004 fi
19005
19006 done
19007
19008
19009
19010 ac_ext=cpp
19011 ac_cpp='$CXXCPP $CPPFLAGS'
19012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19015
19016 ac_save_CXXFLAGS="$CXXFLAGS"
19017 CXXFLAGS="$CXXFLAGS -std=c++11"
19018
19019 if test x"$ac_has_uchar_h" = x"yes"; then
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19021 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19024 #include <uchar.h>
19025 #ifdef __STDC_UTF_16__
19026 long i = __STDC_UTF_16__;
19027 #endif
19028 #ifdef __STDC_UTF_32__
19029 long j = __STDC_UTF_32__;
19030 #endif
19031 namespace test
19032 {
19033 using ::c16rtomb;
19034 using ::c32rtomb;
19035 using ::mbrtoc16;
19036 using ::mbrtoc32;
19037 }
19038
19039 int
19040 main ()
19041 {
19042
19043 ;
19044 return 0;
19045 }
19046 _ACEOF
19047 if ac_fn_cxx_try_compile "$LINENO"; then :
19048 ac_c11_uchar_cxx11=yes
19049 else
19050 ac_c11_uchar_cxx11=no
19051 fi
19052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19053 else
19054 ac_c11_uchar_cxx11=no
19055 fi
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19057 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19058 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19059
19060 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19061
19062 fi
19063
19064 CXXFLAGS="$ac_save_CXXFLAGS"
19065 ac_ext=c
19066 ac_cpp='$CPP $CPPFLAGS'
19067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19070
19071
19072
19073 # For the streamoff typedef.
19074
19075
19076
19077 ac_ext=cpp
19078 ac_cpp='$CXXCPP $CPPFLAGS'
19079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19082
19083
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19085 $as_echo_n "checking for int64_t... " >&6; }
19086 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19087 $as_echo_n "(cached) " >&6
19088 else
19089
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19092 #include <stdint.h>
19093 int
19094 main ()
19095 {
19096 int64_t var;
19097 ;
19098 return 0;
19099 }
19100 _ACEOF
19101 if ac_fn_cxx_try_compile "$LINENO"; then :
19102 glibcxx_cv_INT64_T=yes
19103 else
19104 glibcxx_cv_INT64_T=no
19105 fi
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107
19108 fi
19109
19110
19111 if test $glibcxx_cv_INT64_T = yes; then
19112
19113 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19114
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19116 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19117
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19119 $as_echo_n "checking for int64_t as long... " >&6; }
19120 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19121 $as_echo_n "(cached) " >&6
19122 else
19123
19124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19125 /* end confdefs.h. */
19126 #include <stdint.h>
19127 template<typename, typename> struct same { enum { value = -1 }; };
19128 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19129 int array[same<int64_t, long>::value];
19130 int
19131 main ()
19132 {
19133
19134 ;
19135 return 0;
19136 }
19137 _ACEOF
19138 if ac_fn_cxx_try_compile "$LINENO"; then :
19139 glibcxx_cv_int64_t_long=yes
19140 else
19141 glibcxx_cv_int64_t_long=no
19142 fi
19143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144
19145 fi
19146
19147
19148 if test $glibcxx_cv_int64_t_long = yes; then
19149
19150 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19151
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19153 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19154 fi
19155
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19157 $as_echo_n "checking for int64_t as long long... " >&6; }
19158 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19159 $as_echo_n "(cached) " >&6
19160 else
19161
19162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19164 #include <stdint.h>
19165 template<typename, typename> struct same { enum { value = -1 }; };
19166 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19167 int array[same<int64_t, long long>::value];
19168 int
19169 main ()
19170 {
19171
19172 ;
19173 return 0;
19174 }
19175 _ACEOF
19176 if ac_fn_cxx_try_compile "$LINENO"; then :
19177 glibcxx_cv_int64_t_long_long=yes
19178 else
19179 glibcxx_cv_int64_t_long_long=no
19180 fi
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182
19183 fi
19184
19185
19186 if test $glibcxx_cv_int64_t_long_long = yes; then
19187
19188 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19189
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19191 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19192 fi
19193 fi
19194
19195 ac_ext=c
19196 ac_cpp='$CPP $CPPFLAGS'
19197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19200
19201
19202
19203 # For LFS support.
19204
19205
19206 ac_ext=cpp
19207 ac_cpp='$CXXCPP $CPPFLAGS'
19208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19211
19212 ac_save_CXXFLAGS="$CXXFLAGS"
19213 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19215 $as_echo_n "checking for LFS support... " >&6; }
19216 if test "${glibcxx_cv_LFS+set}" = set; then :
19217 $as_echo_n "(cached) " >&6
19218 else
19219
19220 if test x$gcc_no_link = xyes; then
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 #include <unistd.h>
19224 #include <stdio.h>
19225 #include <sys/stat.h>
19226
19227 int
19228 main ()
19229 {
19230 FILE* fp;
19231 fopen64("t", "w");
19232 fseeko64(fp, 0, SEEK_CUR);
19233 ftello64(fp);
19234 lseek64(1, 0, SEEK_CUR);
19235 struct stat64 buf;
19236 fstat64(1, &buf);
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 if ac_fn_cxx_try_compile "$LINENO"; then :
19242 glibcxx_cv_LFS=yes
19243 else
19244 glibcxx_cv_LFS=no
19245 fi
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19247 else
19248 if test x$gcc_no_link = xyes; then
19249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19250 fi
19251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 #include <unistd.h>
19254 #include <stdio.h>
19255 #include <sys/stat.h>
19256
19257 int
19258 main ()
19259 {
19260 FILE* fp;
19261 fopen64("t", "w");
19262 fseeko64(fp, 0, SEEK_CUR);
19263 ftello64(fp);
19264 lseek64(1, 0, SEEK_CUR);
19265 struct stat64 buf;
19266 fstat64(1, &buf);
19267 ;
19268 return 0;
19269 }
19270 _ACEOF
19271 if ac_fn_cxx_try_link "$LINENO"; then :
19272 glibcxx_cv_LFS=yes
19273 else
19274 glibcxx_cv_LFS=no
19275 fi
19276 rm -f core conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19278 fi
19279
19280 fi
19281
19282 if test $glibcxx_cv_LFS = yes; then
19283
19284 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19285
19286 fi
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19288 $as_echo "$glibcxx_cv_LFS" >&6; }
19289 CXXFLAGS="$ac_save_CXXFLAGS"
19290 ac_ext=c
19291 ac_cpp='$CPP $CPPFLAGS'
19292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19295
19296
19297
19298 # For showmanyc_helper().
19299 for ac_header in sys/ioctl.h sys/filio.h
19300 do :
19301 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19302 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19303 eval as_val=\$$as_ac_Header
19304 if test "x$as_val" = x""yes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19307 _ACEOF
19308
19309 fi
19310
19311 done
19312
19313
19314
19315
19316 ac_ext=cpp
19317 ac_cpp='$CXXCPP $CPPFLAGS'
19318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19321
19322 ac_save_CXXFLAGS="$CXXFLAGS"
19323 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19324
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19326 $as_echo_n "checking for poll... " >&6; }
19327 if test "${glibcxx_cv_POLL+set}" = set; then :
19328 $as_echo_n "(cached) " >&6
19329 else
19330
19331 if test x$gcc_no_link = xyes; then
19332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19333 /* end confdefs.h. */
19334 #include <poll.h>
19335 int
19336 main ()
19337 {
19338 struct pollfd pfd[1];
19339 pfd[0].events = POLLIN;
19340 poll(pfd, 1, 0);
19341 ;
19342 return 0;
19343 }
19344 _ACEOF
19345 if ac_fn_cxx_try_compile "$LINENO"; then :
19346 glibcxx_cv_POLL=yes
19347 else
19348 glibcxx_cv_POLL=no
19349 fi
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 else
19352 if test x$gcc_no_link = xyes; then
19353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19354 fi
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19357 #include <poll.h>
19358 int
19359 main ()
19360 {
19361 struct pollfd pfd[1];
19362 pfd[0].events = POLLIN;
19363 poll(pfd, 1, 0);
19364 ;
19365 return 0;
19366 }
19367 _ACEOF
19368 if ac_fn_cxx_try_link "$LINENO"; then :
19369 glibcxx_cv_POLL=yes
19370 else
19371 glibcxx_cv_POLL=no
19372 fi
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext conftest.$ac_ext
19375 fi
19376
19377 fi
19378
19379 if test $glibcxx_cv_POLL = yes; then
19380
19381 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19382
19383 fi
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19385 $as_echo "$glibcxx_cv_POLL" >&6; }
19386
19387 CXXFLAGS="$ac_save_CXXFLAGS"
19388 ac_ext=c
19389 ac_cpp='$CPP $CPPFLAGS'
19390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19393
19394
19395
19396
19397
19398 ac_ext=cpp
19399 ac_cpp='$CXXCPP $CPPFLAGS'
19400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19403
19404 ac_save_CXXFLAGS="$CXXFLAGS"
19405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19406
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19408 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19409 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19410 $as_echo_n "(cached) " >&6
19411 else
19412
19413 if test x$gcc_no_link = xyes; then
19414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19415 /* end confdefs.h. */
19416 #include <sys/stat.h>
19417 int
19418 main ()
19419 {
19420 struct stat buffer;
19421 fstat(0, &buffer);
19422 S_ISREG(buffer.st_mode);
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 if ac_fn_cxx_try_compile "$LINENO"; then :
19428 glibcxx_cv_S_ISREG=yes
19429 else
19430 glibcxx_cv_S_ISREG=no
19431 fi
19432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433 else
19434 if test x$gcc_no_link = xyes; then
19435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19436 fi
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 #include <sys/stat.h>
19440 int
19441 main ()
19442 {
19443 struct stat buffer;
19444 fstat(0, &buffer);
19445 S_ISREG(buffer.st_mode);
19446 ;
19447 return 0;
19448 }
19449 _ACEOF
19450 if ac_fn_cxx_try_link "$LINENO"; then :
19451 glibcxx_cv_S_ISREG=yes
19452 else
19453 glibcxx_cv_S_ISREG=no
19454 fi
19455 rm -f core conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19457 fi
19458
19459 fi
19460
19461 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19462 $as_echo_n "(cached) " >&6
19463 else
19464
19465 if test x$gcc_no_link = xyes; then
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 #include <sys/stat.h>
19469 int
19470 main ()
19471 {
19472 struct stat buffer;
19473 fstat(0, &buffer);
19474 S_IFREG & buffer.st_mode;
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 if ac_fn_cxx_try_compile "$LINENO"; then :
19480 glibcxx_cv_S_IFREG=yes
19481 else
19482 glibcxx_cv_S_IFREG=no
19483 fi
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485 else
19486 if test x$gcc_no_link = xyes; then
19487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 fi
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #include <sys/stat.h>
19492 int
19493 main ()
19494 {
19495 struct stat buffer;
19496 fstat(0, &buffer);
19497 S_IFREG & buffer.st_mode;
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 if ac_fn_cxx_try_link "$LINENO"; then :
19503 glibcxx_cv_S_IFREG=yes
19504 else
19505 glibcxx_cv_S_IFREG=no
19506 fi
19507 rm -f core conftest.err conftest.$ac_objext \
19508 conftest$ac_exeext conftest.$ac_ext
19509 fi
19510
19511 fi
19512
19513 res=no
19514 if test $glibcxx_cv_S_ISREG = yes; then
19515
19516 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19517
19518 res=S_ISREG
19519 elif test $glibcxx_cv_S_IFREG = yes; then
19520
19521 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19522
19523 res=S_IFREG
19524 fi
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19526 $as_echo "$res" >&6; }
19527
19528 CXXFLAGS="$ac_save_CXXFLAGS"
19529 ac_ext=c
19530 ac_cpp='$CPP $CPPFLAGS'
19531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19534
19535
19536
19537 # For xsputn_2().
19538 for ac_header in sys/uio.h
19539 do :
19540 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19541 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19542 cat >>confdefs.h <<_ACEOF
19543 #define HAVE_SYS_UIO_H 1
19544 _ACEOF
19545
19546 fi
19547
19548 done
19549
19550
19551
19552
19553 ac_ext=cpp
19554 ac_cpp='$CXXCPP $CPPFLAGS'
19555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19558
19559 ac_save_CXXFLAGS="$CXXFLAGS"
19560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19561
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19563 $as_echo_n "checking for writev... " >&6; }
19564 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567
19568 if test x$gcc_no_link = xyes; then
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19571 #include <sys/uio.h>
19572 int
19573 main ()
19574 {
19575 struct iovec iov[2];
19576 writev(0, iov, 0);
19577 ;
19578 return 0;
19579 }
19580 _ACEOF
19581 if ac_fn_cxx_try_compile "$LINENO"; then :
19582 glibcxx_cv_WRITEV=yes
19583 else
19584 glibcxx_cv_WRITEV=no
19585 fi
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 else
19588 if test x$gcc_no_link = xyes; then
19589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19590 fi
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19593 #include <sys/uio.h>
19594 int
19595 main ()
19596 {
19597 struct iovec iov[2];
19598 writev(0, iov, 0);
19599 ;
19600 return 0;
19601 }
19602 _ACEOF
19603 if ac_fn_cxx_try_link "$LINENO"; then :
19604 glibcxx_cv_WRITEV=yes
19605 else
19606 glibcxx_cv_WRITEV=no
19607 fi
19608 rm -f core conftest.err conftest.$ac_objext \
19609 conftest$ac_exeext conftest.$ac_ext
19610 fi
19611
19612 fi
19613
19614 if test $glibcxx_cv_WRITEV = yes; then
19615
19616 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19617
19618 fi
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19620 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19621
19622 CXXFLAGS="$ac_save_CXXFLAGS"
19623 ac_ext=c
19624 ac_cpp='$CPP $CPPFLAGS'
19625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19628
19629
19630
19631 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19632 # so that the check is done with the C compiler (not C++).
19633 # Checking with C++ can break a canadian cross build if either
19634 # file does not exist in C but does in C++.
19635 for ac_header in fenv.h complex.h
19636 do :
19637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19638 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19639 eval as_val=\$$as_ac_Header
19640 if test "x$as_val" = x""yes; then :
19641 cat >>confdefs.h <<_ACEOF
19642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19643 _ACEOF
19644
19645 fi
19646
19647 done
19648
19649
19650 # For C99 support to TR1.
19651
19652
19653
19654 ac_ext=cpp
19655 ac_cpp='$CXXCPP $CPPFLAGS'
19656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19659
19660
19661 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19662 # undefined and fake C99 facilities may be spuriously enabled.
19663 ac_save_CXXFLAGS="$CXXFLAGS"
19664 CXXFLAGS="$CXXFLAGS -std=c++98"
19665
19666 # Check for the existence of <complex.h> complex math functions used
19667 # by tr1/complex.
19668 for ac_header in complex.h
19669 do :
19670 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19671 if test "x$ac_cv_header_complex_h" = x""yes; then :
19672 cat >>confdefs.h <<_ACEOF
19673 #define HAVE_COMPLEX_H 1
19674 _ACEOF
19675 ac_has_complex_h=yes
19676 else
19677 ac_has_complex_h=no
19678 fi
19679
19680 done
19681
19682 ac_c99_complex_tr1=no;
19683 if test x"$ac_has_complex_h" = x"yes"; then
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19685 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #include <complex.h>
19689 int
19690 main ()
19691 {
19692 typedef __complex__ float float_type; float_type tmpf;
19693 cacosf(tmpf);
19694 casinf(tmpf);
19695 catanf(tmpf);
19696 cacoshf(tmpf);
19697 casinhf(tmpf);
19698 catanhf(tmpf);
19699 typedef __complex__ double double_type; double_type tmpd;
19700 cacos(tmpd);
19701 casin(tmpd);
19702 catan(tmpd);
19703 cacosh(tmpd);
19704 casinh(tmpd);
19705 catanh(tmpd);
19706 typedef __complex__ long double ld_type; ld_type tmpld;
19707 cacosl(tmpld);
19708 casinl(tmpld);
19709 catanl(tmpld);
19710 cacoshl(tmpld);
19711 casinhl(tmpld);
19712 catanhl(tmpld);
19713
19714 ;
19715 return 0;
19716 }
19717 _ACEOF
19718 if ac_fn_cxx_try_compile "$LINENO"; then :
19719 ac_c99_complex_tr1=yes
19720 else
19721 ac_c99_complex_tr1=no
19722 fi
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 fi
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19726 $as_echo "$ac_c99_complex_tr1" >&6; }
19727 if test x"$ac_c99_complex_tr1" = x"yes"; then
19728
19729 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19730
19731 fi
19732
19733 # Check for the existence of <ctype.h> functions.
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19735 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19736 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19737 $as_echo_n "(cached) " >&6
19738 else
19739
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #include <ctype.h>
19743 int
19744 main ()
19745 {
19746 int ch;
19747 int ret;
19748 ret = isblank(ch);
19749
19750 ;
19751 return 0;
19752 }
19753 _ACEOF
19754 if ac_fn_cxx_try_compile "$LINENO"; then :
19755 glibcxx_cv_c99_ctype_tr1=yes
19756 else
19757 glibcxx_cv_c99_ctype_tr1=no
19758 fi
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760
19761 fi
19762
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19764 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19765 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19766
19767 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19768
19769 fi
19770
19771 # Check for the existence of <fenv.h> functions.
19772 for ac_header in fenv.h
19773 do :
19774 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19775 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19776 cat >>confdefs.h <<_ACEOF
19777 #define HAVE_FENV_H 1
19778 _ACEOF
19779 ac_has_fenv_h=yes
19780 else
19781 ac_has_fenv_h=no
19782 fi
19783
19784 done
19785
19786 ac_c99_fenv_tr1=no;
19787 if test x"$ac_has_fenv_h" = x"yes"; then
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19789 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <fenv.h>
19793 int
19794 main ()
19795 {
19796 int except, mode;
19797 fexcept_t* pflag;
19798 fenv_t* penv;
19799 int ret;
19800 ret = feclearexcept(except);
19801 ret = fegetexceptflag(pflag, except);
19802 ret = feraiseexcept(except);
19803 ret = fesetexceptflag(pflag, except);
19804 ret = fetestexcept(except);
19805 ret = fegetround();
19806 ret = fesetround(mode);
19807 ret = fegetenv(penv);
19808 ret = feholdexcept(penv);
19809 ret = fesetenv(penv);
19810 ret = feupdateenv(penv);
19811
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 if ac_fn_cxx_try_compile "$LINENO"; then :
19817 ac_c99_fenv_tr1=yes
19818 else
19819 ac_c99_fenv_tr1=no
19820 fi
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 fi
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19824 $as_echo "$ac_c99_fenv_tr1" >&6; }
19825 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19826
19827 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19828
19829 fi
19830
19831 # Check for the existence of <stdint.h> types.
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19833 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19834 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840 #define __STDC_LIMIT_MACROS
19841 #define __STDC_CONSTANT_MACROS
19842 #include <stdint.h>
19843 int
19844 main ()
19845 {
19846 typedef int8_t my_int8_t;
19847 my_int8_t i8 = INT8_MIN;
19848 i8 = INT8_MAX;
19849 typedef int16_t my_int16_t;
19850 my_int16_t i16 = INT16_MIN;
19851 i16 = INT16_MAX;
19852 typedef int32_t my_int32_t;
19853 my_int32_t i32 = INT32_MIN;
19854 i32 = INT32_MAX;
19855 typedef int64_t my_int64_t;
19856 my_int64_t i64 = INT64_MIN;
19857 i64 = INT64_MAX;
19858 typedef int_fast8_t my_int_fast8_t;
19859 my_int_fast8_t if8 = INT_FAST8_MIN;
19860 if8 = INT_FAST8_MAX;
19861 typedef int_fast16_t my_int_fast16_t;
19862 my_int_fast16_t if16 = INT_FAST16_MIN;
19863 if16 = INT_FAST16_MAX;
19864 typedef int_fast32_t my_int_fast32_t;
19865 my_int_fast32_t if32 = INT_FAST32_MIN;
19866 if32 = INT_FAST32_MAX;
19867 typedef int_fast64_t my_int_fast64_t;
19868 my_int_fast64_t if64 = INT_FAST64_MIN;
19869 if64 = INT_FAST64_MAX;
19870 typedef int_least8_t my_int_least8_t;
19871 my_int_least8_t il8 = INT_LEAST8_MIN;
19872 il8 = INT_LEAST8_MAX;
19873 typedef int_least16_t my_int_least16_t;
19874 my_int_least16_t il16 = INT_LEAST16_MIN;
19875 il16 = INT_LEAST16_MAX;
19876 typedef int_least32_t my_int_least32_t;
19877 my_int_least32_t il32 = INT_LEAST32_MIN;
19878 il32 = INT_LEAST32_MAX;
19879 typedef int_least64_t my_int_least64_t;
19880 my_int_least64_t il64 = INT_LEAST64_MIN;
19881 il64 = INT_LEAST64_MAX;
19882 typedef intmax_t my_intmax_t;
19883 my_intmax_t im = INTMAX_MAX;
19884 im = INTMAX_MIN;
19885 typedef intptr_t my_intptr_t;
19886 my_intptr_t ip = INTPTR_MAX;
19887 ip = INTPTR_MIN;
19888 typedef uint8_t my_uint8_t;
19889 my_uint8_t ui8 = UINT8_MAX;
19890 ui8 = UINT8_MAX;
19891 typedef uint16_t my_uint16_t;
19892 my_uint16_t ui16 = UINT16_MAX;
19893 ui16 = UINT16_MAX;
19894 typedef uint32_t my_uint32_t;
19895 my_uint32_t ui32 = UINT32_MAX;
19896 ui32 = UINT32_MAX;
19897 typedef uint64_t my_uint64_t;
19898 my_uint64_t ui64 = UINT64_MAX;
19899 ui64 = UINT64_MAX;
19900 typedef uint_fast8_t my_uint_fast8_t;
19901 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19902 uif8 = UINT_FAST8_MAX;
19903 typedef uint_fast16_t my_uint_fast16_t;
19904 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19905 uif16 = UINT_FAST16_MAX;
19906 typedef uint_fast32_t my_uint_fast32_t;
19907 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19908 uif32 = UINT_FAST32_MAX;
19909 typedef uint_fast64_t my_uint_fast64_t;
19910 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19911 uif64 = UINT_FAST64_MAX;
19912 typedef uint_least8_t my_uint_least8_t;
19913 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19914 uil8 = UINT_LEAST8_MAX;
19915 typedef uint_least16_t my_uint_least16_t;
19916 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19917 uil16 = UINT_LEAST16_MAX;
19918 typedef uint_least32_t my_uint_least32_t;
19919 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19920 uil32 = UINT_LEAST32_MAX;
19921 typedef uint_least64_t my_uint_least64_t;
19922 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19923 uil64 = UINT_LEAST64_MAX;
19924 typedef uintmax_t my_uintmax_t;
19925 my_uintmax_t uim = UINTMAX_MAX;
19926 uim = UINTMAX_MAX;
19927 typedef uintptr_t my_uintptr_t;
19928 my_uintptr_t uip = UINTPTR_MAX;
19929 uip = UINTPTR_MAX;
19930
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 if ac_fn_cxx_try_compile "$LINENO"; then :
19936 glibcxx_cv_c99_stdint_tr1=yes
19937 else
19938 glibcxx_cv_c99_stdint_tr1=no
19939 fi
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941
19942 fi
19943
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19945 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19946 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19947
19948 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19949
19950 fi
19951
19952 # Check for the existence of <math.h> functions.
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19954 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19955 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19956 $as_echo_n "(cached) " >&6
19957 else
19958
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19961 #include <math.h>
19962 int
19963 main ()
19964 {
19965 typedef double_t my_double_t;
19966 typedef float_t my_float_t;
19967 acosh(0.0);
19968 acoshf(0.0f);
19969 acoshl(0.0l);
19970 asinh(0.0);
19971 asinhf(0.0f);
19972 asinhl(0.0l);
19973 atanh(0.0);
19974 atanhf(0.0f);
19975 atanhl(0.0l);
19976 cbrt(0.0);
19977 cbrtf(0.0f);
19978 cbrtl(0.0l);
19979 copysign(0.0, 0.0);
19980 copysignf(0.0f, 0.0f);
19981 copysignl(0.0l, 0.0l);
19982 erf(0.0);
19983 erff(0.0f);
19984 erfl(0.0l);
19985 erfc(0.0);
19986 erfcf(0.0f);
19987 erfcl(0.0l);
19988 exp2(0.0);
19989 exp2f(0.0f);
19990 exp2l(0.0l);
19991 expm1(0.0);
19992 expm1f(0.0f);
19993 expm1l(0.0l);
19994 fdim(0.0, 0.0);
19995 fdimf(0.0f, 0.0f);
19996 fdiml(0.0l, 0.0l);
19997 fma(0.0, 0.0, 0.0);
19998 fmaf(0.0f, 0.0f, 0.0f);
19999 fmal(0.0l, 0.0l, 0.0l);
20000 fmax(0.0, 0.0);
20001 fmaxf(0.0f, 0.0f);
20002 fmaxl(0.0l, 0.0l);
20003 fmin(0.0, 0.0);
20004 fminf(0.0f, 0.0f);
20005 fminl(0.0l, 0.0l);
20006 hypot(0.0, 0.0);
20007 hypotf(0.0f, 0.0f);
20008 hypotl(0.0l, 0.0l);
20009 ilogb(0.0);
20010 ilogbf(0.0f);
20011 ilogbl(0.0l);
20012 lgamma(0.0);
20013 lgammaf(0.0f);
20014 lgammal(0.0l);
20015 llrint(0.0);
20016 llrintf(0.0f);
20017 llrintl(0.0l);
20018 llround(0.0);
20019 llroundf(0.0f);
20020 llroundl(0.0l);
20021 log1p(0.0);
20022 log1pf(0.0f);
20023 log1pl(0.0l);
20024 log2(0.0);
20025 log2f(0.0f);
20026 log2l(0.0l);
20027 logb(0.0);
20028 logbf(0.0f);
20029 logbl(0.0l);
20030 lrint(0.0);
20031 lrintf(0.0f);
20032 lrintl(0.0l);
20033 lround(0.0);
20034 lroundf(0.0f);
20035 lroundl(0.0l);
20036 nan(0);
20037 nanf(0);
20038 nanl(0);
20039 nearbyint(0.0);
20040 nearbyintf(0.0f);
20041 nearbyintl(0.0l);
20042 nextafter(0.0, 0.0);
20043 nextafterf(0.0f, 0.0f);
20044 nextafterl(0.0l, 0.0l);
20045 nexttoward(0.0, 0.0);
20046 nexttowardf(0.0f, 0.0f);
20047 nexttowardl(0.0l, 0.0l);
20048 remainder(0.0, 0.0);
20049 remainderf(0.0f, 0.0f);
20050 remainderl(0.0l, 0.0l);
20051 remquo(0.0, 0.0, 0);
20052 remquof(0.0f, 0.0f, 0);
20053 remquol(0.0l, 0.0l, 0);
20054 rint(0.0);
20055 rintf(0.0f);
20056 rintl(0.0l);
20057 round(0.0);
20058 roundf(0.0f);
20059 roundl(0.0l);
20060 scalbln(0.0, 0l);
20061 scalblnf(0.0f, 0l);
20062 scalblnl(0.0l, 0l);
20063 scalbn(0.0, 0);
20064 scalbnf(0.0f, 0);
20065 scalbnl(0.0l, 0);
20066 tgamma(0.0);
20067 tgammaf(0.0f);
20068 tgammal(0.0l);
20069 trunc(0.0);
20070 truncf(0.0f);
20071 truncl(0.0l);
20072
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 if ac_fn_cxx_try_compile "$LINENO"; then :
20078 glibcxx_cv_c99_math_tr1=yes
20079 else
20080 glibcxx_cv_c99_math_tr1=no
20081 fi
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083
20084 fi
20085
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20087 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20088 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20089
20090 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20091
20092 fi
20093
20094 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20095 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20096 ac_c99_inttypes_tr1=no;
20097 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20099 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20101 /* end confdefs.h. */
20102 #include <inttypes.h>
20103 int
20104 main ()
20105 {
20106 intmax_t i, numer, denom, base;
20107 const char* s;
20108 char** endptr;
20109 intmax_t ret = imaxabs(i);
20110 imaxdiv_t dret = imaxdiv(numer, denom);
20111 ret = strtoimax(s, endptr, base);
20112 uintmax_t uret = strtoumax(s, endptr, base);
20113
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 if ac_fn_cxx_try_compile "$LINENO"; then :
20119 ac_c99_inttypes_tr1=yes
20120 else
20121 ac_c99_inttypes_tr1=no
20122 fi
20123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 fi
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20126 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20127 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20128
20129 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20130
20131 fi
20132
20133 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20134 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20135 ac_c99_inttypes_wchar_t_tr1=no;
20136 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20138 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <inttypes.h>
20142 int
20143 main ()
20144 {
20145 intmax_t base;
20146 const wchar_t* s;
20147 wchar_t** endptr;
20148 intmax_t ret = wcstoimax(s, endptr, base);
20149 uintmax_t uret = wcstoumax(s, endptr, base);
20150
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 if ac_fn_cxx_try_compile "$LINENO"; then :
20156 ac_c99_inttypes_wchar_t_tr1=yes
20157 else
20158 ac_c99_inttypes_wchar_t_tr1=no
20159 fi
20160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 fi
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20163 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20164 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20165
20166 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20167
20168 fi
20169
20170 # Check for the existence of the <stdbool.h> header.
20171 for ac_header in stdbool.h
20172 do :
20173 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20174 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20175 cat >>confdefs.h <<_ACEOF
20176 #define HAVE_STDBOOL_H 1
20177 _ACEOF
20178
20179 fi
20180
20181 done
20182
20183
20184 # Check for the existence of the <stdalign.h> header.
20185 for ac_header in stdalign.h
20186 do :
20187 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20188 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20189 cat >>confdefs.h <<_ACEOF
20190 #define HAVE_STDALIGN_H 1
20191 _ACEOF
20192
20193 fi
20194
20195 done
20196
20197
20198 CXXFLAGS="$ac_save_CXXFLAGS"
20199 ac_ext=c
20200 ac_cpp='$CPP $CPPFLAGS'
20201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20204
20205
20206
20207 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20208
20209
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20211 $as_echo_n "checking for the value of EOF... " >&6; }
20212 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20213 $as_echo_n "(cached) " >&6
20214 else
20215
20216 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20217
20218 else
20219 as_fn_error "computing EOF failed" "$LINENO" 5
20220 fi
20221
20222
20223 fi
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20225 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20226
20227 cat >>confdefs.h <<_ACEOF
20228 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20229 _ACEOF
20230
20231
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20233 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20234 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20235 $as_echo_n "(cached) " >&6
20236 else
20237
20238 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20239
20240 else
20241 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20242 fi
20243
20244
20245 fi
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20247 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20248
20249 cat >>confdefs.h <<_ACEOF
20250 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20251 _ACEOF
20252
20253
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20255 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20256 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20257 $as_echo_n "(cached) " >&6
20258 else
20259
20260 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20261
20262 else
20263 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20264 fi
20265
20266
20267 fi
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20269 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20270
20271 cat >>confdefs.h <<_ACEOF
20272 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20273 _ACEOF
20274
20275
20276
20277 # For gettimeofday support.
20278
20279
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20281 $as_echo_n "checking for gettimeofday... " >&6; }
20282
20283
20284 ac_ext=cpp
20285 ac_cpp='$CXXCPP $CPPFLAGS'
20286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20289
20290 ac_save_CXXFLAGS="$CXXFLAGS"
20291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20292
20293 ac_has_gettimeofday=no;
20294 for ac_header in sys/time.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_SYS_TIME_H 1
20300 _ACEOF
20301 ac_has_sys_time_h=yes
20302 else
20303 ac_has_sys_time_h=no
20304 fi
20305
20306 done
20307
20308 if test x"$ac_has_sys_time_h" = x"yes"; then
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20310 $as_echo_n "checking for gettimeofday... " >&6; }
20311 if test x$gcc_no_link = xyes; then
20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20314 #include <sys/time.h>
20315 int
20316 main ()
20317 {
20318 timeval tv; gettimeofday(&tv, 0);
20319 ;
20320 return 0;
20321 }
20322 _ACEOF
20323 if ac_fn_cxx_try_compile "$LINENO"; then :
20324 ac_has_gettimeofday=yes
20325 else
20326 ac_has_gettimeofday=no
20327 fi
20328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 else
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20335 #include <sys/time.h>
20336 int
20337 main ()
20338 {
20339 timeval tv; gettimeofday(&tv, 0);
20340 ;
20341 return 0;
20342 }
20343 _ACEOF
20344 if ac_fn_cxx_try_link "$LINENO"; then :
20345 ac_has_gettimeofday=yes
20346 else
20347 ac_has_gettimeofday=no
20348 fi
20349 rm -f core conftest.err conftest.$ac_objext \
20350 conftest$ac_exeext conftest.$ac_ext
20351 fi
20352
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20354 $as_echo "$ac_has_gettimeofday" >&6; }
20355 fi
20356
20357 if test x"$ac_has_gettimeofday" = x"yes"; then
20358
20359 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20360
20361 fi
20362
20363 CXXFLAGS="$ac_save_CXXFLAGS"
20364 ac_ext=c
20365 ac_cpp='$CPP $CPPFLAGS'
20366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20369
20370
20371
20372 # For clock_gettime, nanosleep and sched_yield support.
20373
20374
20375 # Check whether --enable-libstdcxx-time was given.
20376 if test "${enable_libstdcxx_time+set}" = set; then :
20377 enableval=$enable_libstdcxx_time;
20378 case "$enableval" in
20379 yes|no|rt) ;;
20380 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20381 esac
20382
20383 else
20384 enable_libstdcxx_time=auto
20385 fi
20386
20387
20388
20389
20390 ac_ext=cpp
20391 ac_cpp='$CXXCPP $CPPFLAGS'
20392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20395
20396 ac_save_CXXFLAGS="$CXXFLAGS"
20397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20398 ac_save_LIBS="$LIBS"
20399
20400 ac_has_clock_monotonic=no
20401 ac_has_clock_realtime=no
20402 ac_has_nanosleep=no
20403 ac_has_sched_yield=no
20404
20405 if test x"$enable_libstdcxx_time" = x"auto"; then
20406
20407 case "${target_os}" in
20408 cygwin*)
20409 ac_has_nanosleep=yes
20410 ;;
20411 darwin*)
20412 ac_has_nanosleep=yes
20413 ac_has_sched_yield=yes
20414 ;;
20415 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20417 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20419 /* end confdefs.h. */
20420 #include <features.h>
20421 int
20422 main ()
20423 {
20424
20425 #if ! __GLIBC_PREREQ(2, 17)
20426 #error
20427 #endif
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 if ac_fn_cxx_try_compile "$LINENO"; then :
20434 glibcxx_glibc217=yes
20435 else
20436 glibcxx_glibc217=no
20437 fi
20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20440 $as_echo "$glibcxx_glibc217" >&6; }
20441
20442 if test x"$glibcxx_glibc217" = x"yes"; then
20443 ac_has_clock_monotonic=yes
20444 ac_has_clock_realtime=yes
20445 fi
20446 ac_has_nanosleep=yes
20447 ac_has_sched_yield=yes
20448 ;;
20449 freebsd*|netbsd*|dragonfly*)
20450 ac_has_clock_monotonic=yes
20451 ac_has_clock_realtime=yes
20452 ac_has_nanosleep=yes
20453 ac_has_sched_yield=yes
20454 ;;
20455 openbsd*)
20456 ac_has_clock_monotonic=yes
20457 ac_has_clock_realtime=yes
20458 ac_has_nanosleep=yes
20459 ;;
20460 solaris*)
20461 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20462 ac_has_clock_monotonic=yes
20463 ac_has_clock_realtime=yes
20464 ac_has_nanosleep=yes
20465 ac_has_sched_yield=yes
20466 ;;
20467 esac
20468
20469 elif test x"$enable_libstdcxx_time" != x"no"; then
20470
20471 if test x"$enable_libstdcxx_time" = x"rt"; then
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20473 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20474 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20475 $as_echo_n "(cached) " >&6
20476 else
20477 ac_func_search_save_LIBS=$LIBS
20478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20479 /* end confdefs.h. */
20480
20481 /* Override any GCC internal prototype to avoid an error.
20482 Use char because int might match the return type of a GCC
20483 builtin and then its argument prototype would still apply. */
20484 #ifdef __cplusplus
20485 extern "C"
20486 #endif
20487 char clock_gettime ();
20488 int
20489 main ()
20490 {
20491 return clock_gettime ();
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 for ac_lib in '' rt posix4; do
20497 if test -z "$ac_lib"; then
20498 ac_res="none required"
20499 else
20500 ac_res=-l$ac_lib
20501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20502 fi
20503 if test x$gcc_no_link = xyes; then
20504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20505 fi
20506 if ac_fn_cxx_try_link "$LINENO"; then :
20507 ac_cv_search_clock_gettime=$ac_res
20508 fi
20509 rm -f core conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext
20511 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20512 break
20513 fi
20514 done
20515 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20516
20517 else
20518 ac_cv_search_clock_gettime=no
20519 fi
20520 rm conftest.$ac_ext
20521 LIBS=$ac_func_search_save_LIBS
20522 fi
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20524 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20525 ac_res=$ac_cv_search_clock_gettime
20526 if test "$ac_res" != no; then :
20527 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20528
20529 fi
20530
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20532 $as_echo_n "checking for library containing nanosleep... " >&6; }
20533 if test "${ac_cv_search_nanosleep+set}" = set; then :
20534 $as_echo_n "(cached) " >&6
20535 else
20536 ac_func_search_save_LIBS=$LIBS
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20538 /* end confdefs.h. */
20539
20540 /* Override any GCC internal prototype to avoid an error.
20541 Use char because int might match the return type of a GCC
20542 builtin and then its argument prototype would still apply. */
20543 #ifdef __cplusplus
20544 extern "C"
20545 #endif
20546 char nanosleep ();
20547 int
20548 main ()
20549 {
20550 return nanosleep ();
20551 ;
20552 return 0;
20553 }
20554 _ACEOF
20555 for ac_lib in '' rt posix4; do
20556 if test -z "$ac_lib"; then
20557 ac_res="none required"
20558 else
20559 ac_res=-l$ac_lib
20560 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20561 fi
20562 if test x$gcc_no_link = xyes; then
20563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 fi
20565 if ac_fn_cxx_try_link "$LINENO"; then :
20566 ac_cv_search_nanosleep=$ac_res
20567 fi
20568 rm -f core conftest.err conftest.$ac_objext \
20569 conftest$ac_exeext
20570 if test "${ac_cv_search_nanosleep+set}" = set; then :
20571 break
20572 fi
20573 done
20574 if test "${ac_cv_search_nanosleep+set}" = set; then :
20575
20576 else
20577 ac_cv_search_nanosleep=no
20578 fi
20579 rm conftest.$ac_ext
20580 LIBS=$ac_func_search_save_LIBS
20581 fi
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20583 $as_echo "$ac_cv_search_nanosleep" >&6; }
20584 ac_res=$ac_cv_search_nanosleep
20585 if test "$ac_res" != no; then :
20586 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20587
20588 fi
20589
20590 else
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20592 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20593 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20594 $as_echo_n "(cached) " >&6
20595 else
20596 ac_func_search_save_LIBS=$LIBS
20597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20599
20600 /* Override any GCC internal prototype to avoid an error.
20601 Use char because int might match the return type of a GCC
20602 builtin and then its argument prototype would still apply. */
20603 #ifdef __cplusplus
20604 extern "C"
20605 #endif
20606 char clock_gettime ();
20607 int
20608 main ()
20609 {
20610 return clock_gettime ();
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 for ac_lib in '' posix4; do
20616 if test -z "$ac_lib"; then
20617 ac_res="none required"
20618 else
20619 ac_res=-l$ac_lib
20620 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20621 fi
20622 if test x$gcc_no_link = xyes; then
20623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20624 fi
20625 if ac_fn_cxx_try_link "$LINENO"; then :
20626 ac_cv_search_clock_gettime=$ac_res
20627 fi
20628 rm -f core conftest.err conftest.$ac_objext \
20629 conftest$ac_exeext
20630 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20631 break
20632 fi
20633 done
20634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635
20636 else
20637 ac_cv_search_clock_gettime=no
20638 fi
20639 rm conftest.$ac_ext
20640 LIBS=$ac_func_search_save_LIBS
20641 fi
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20643 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20644 ac_res=$ac_cv_search_clock_gettime
20645 if test "$ac_res" != no; then :
20646 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20647
20648 fi
20649
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20651 $as_echo_n "checking for library containing nanosleep... " >&6; }
20652 if test "${ac_cv_search_nanosleep+set}" = set; then :
20653 $as_echo_n "(cached) " >&6
20654 else
20655 ac_func_search_save_LIBS=$LIBS
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658
20659 /* Override any GCC internal prototype to avoid an error.
20660 Use char because int might match the return type of a GCC
20661 builtin and then its argument prototype would still apply. */
20662 #ifdef __cplusplus
20663 extern "C"
20664 #endif
20665 char nanosleep ();
20666 int
20667 main ()
20668 {
20669 return nanosleep ();
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 for ac_lib in '' posix4; do
20675 if test -z "$ac_lib"; then
20676 ac_res="none required"
20677 else
20678 ac_res=-l$ac_lib
20679 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20680 fi
20681 if test x$gcc_no_link = xyes; then
20682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20683 fi
20684 if ac_fn_cxx_try_link "$LINENO"; then :
20685 ac_cv_search_nanosleep=$ac_res
20686 fi
20687 rm -f core conftest.err conftest.$ac_objext \
20688 conftest$ac_exeext
20689 if test "${ac_cv_search_nanosleep+set}" = set; then :
20690 break
20691 fi
20692 done
20693 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694
20695 else
20696 ac_cv_search_nanosleep=no
20697 fi
20698 rm conftest.$ac_ext
20699 LIBS=$ac_func_search_save_LIBS
20700 fi
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20702 $as_echo "$ac_cv_search_nanosleep" >&6; }
20703 ac_res=$ac_cv_search_nanosleep
20704 if test "$ac_res" != no; then :
20705 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20706
20707 fi
20708
20709 fi
20710
20711 case "$ac_cv_search_clock_gettime" in
20712 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20713 ;;
20714 esac
20715 case "$ac_cv_search_nanosleep" in
20716 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20717 ;;
20718 esac
20719
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20721 $as_echo_n "checking for library containing sched_yield... " >&6; }
20722 if test "${ac_cv_search_sched_yield+set}" = set; then :
20723 $as_echo_n "(cached) " >&6
20724 else
20725 ac_func_search_save_LIBS=$LIBS
20726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20728
20729 /* Override any GCC internal prototype to avoid an error.
20730 Use char because int might match the return type of a GCC
20731 builtin and then its argument prototype would still apply. */
20732 #ifdef __cplusplus
20733 extern "C"
20734 #endif
20735 char sched_yield ();
20736 int
20737 main ()
20738 {
20739 return sched_yield ();
20740 ;
20741 return 0;
20742 }
20743 _ACEOF
20744 for ac_lib in '' rt posix4; do
20745 if test -z "$ac_lib"; then
20746 ac_res="none required"
20747 else
20748 ac_res=-l$ac_lib
20749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20750 fi
20751 if test x$gcc_no_link = xyes; then
20752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20753 fi
20754 if ac_fn_cxx_try_link "$LINENO"; then :
20755 ac_cv_search_sched_yield=$ac_res
20756 fi
20757 rm -f core conftest.err conftest.$ac_objext \
20758 conftest$ac_exeext
20759 if test "${ac_cv_search_sched_yield+set}" = set; then :
20760 break
20761 fi
20762 done
20763 if test "${ac_cv_search_sched_yield+set}" = set; then :
20764
20765 else
20766 ac_cv_search_sched_yield=no
20767 fi
20768 rm conftest.$ac_ext
20769 LIBS=$ac_func_search_save_LIBS
20770 fi
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20772 $as_echo "$ac_cv_search_sched_yield" >&6; }
20773 ac_res=$ac_cv_search_sched_yield
20774 if test "$ac_res" != no; then :
20775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20776
20777 fi
20778
20779
20780 case "$ac_cv_search_sched_yield" in
20781 -lposix4*)
20782 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20783 ac_has_sched_yield=yes
20784 ;;
20785 -lrt*)
20786 if test x"$enable_libstdcxx_time" = x"rt"; then
20787 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20788 ac_has_sched_yield=yes
20789 fi
20790 ;;
20791 *)
20792 ac_has_sched_yield=yes
20793 ;;
20794 esac
20795
20796 for ac_header in unistd.h
20797 do :
20798 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20799 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20800 cat >>confdefs.h <<_ACEOF
20801 #define HAVE_UNISTD_H 1
20802 _ACEOF
20803 ac_has_unistd_h=yes
20804 else
20805 ac_has_unistd_h=no
20806 fi
20807
20808 done
20809
20810
20811 if test x"$ac_has_unistd_h" = x"yes"; then
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20813 $as_echo_n "checking for monotonic clock... " >&6; }
20814 if test x$gcc_no_link = xyes; then
20815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20816 fi
20817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20819 #include <unistd.h>
20820 #include <time.h>
20821
20822 int
20823 main ()
20824 {
20825 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20826 timespec tp;
20827 #endif
20828 clock_gettime(CLOCK_MONOTONIC, &tp);
20829
20830 ;
20831 return 0;
20832 }
20833 _ACEOF
20834 if ac_fn_cxx_try_link "$LINENO"; then :
20835 ac_has_clock_monotonic=yes
20836 else
20837 ac_has_clock_monotonic=no
20838 fi
20839 rm -f core conftest.err conftest.$ac_objext \
20840 conftest$ac_exeext conftest.$ac_ext
20841
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20843 $as_echo "$ac_has_clock_monotonic" >&6; }
20844
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20846 $as_echo_n "checking for realtime clock... " >&6; }
20847 if test x$gcc_no_link = xyes; then
20848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20849 fi
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852 #include <unistd.h>
20853 #include <time.h>
20854
20855 int
20856 main ()
20857 {
20858 #if _POSIX_TIMERS > 0
20859 timespec tp;
20860 #endif
20861 clock_gettime(CLOCK_REALTIME, &tp);
20862
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 if ac_fn_cxx_try_link "$LINENO"; then :
20868 ac_has_clock_realtime=yes
20869 else
20870 ac_has_clock_realtime=no
20871 fi
20872 rm -f core conftest.err conftest.$ac_objext \
20873 conftest$ac_exeext conftest.$ac_ext
20874
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20876 $as_echo "$ac_has_clock_realtime" >&6; }
20877
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20879 $as_echo_n "checking for nanosleep... " >&6; }
20880 if test x$gcc_no_link = xyes; then
20881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20882 fi
20883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #include <unistd.h>
20886 #include <time.h>
20887
20888 int
20889 main ()
20890 {
20891 #if _POSIX_TIMERS > 0
20892 timespec tp;
20893 #endif
20894 nanosleep(&tp, 0);
20895
20896 ;
20897 return 0;
20898 }
20899 _ACEOF
20900 if ac_fn_cxx_try_link "$LINENO"; then :
20901 ac_has_nanosleep=yes
20902 else
20903 ac_has_nanosleep=no
20904 fi
20905 rm -f core conftest.err conftest.$ac_objext \
20906 conftest$ac_exeext conftest.$ac_ext
20907
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20909 $as_echo "$ac_has_nanosleep" >&6; }
20910 fi
20911 fi
20912
20913 if test x"$ac_has_clock_monotonic" != x"yes"; then
20914 case ${target_os} in
20915 linux*)
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20917 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20920 #include <unistd.h>
20921 #include <time.h>
20922 #include <sys/syscall.h>
20923
20924 int
20925 main ()
20926 {
20927 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20928 timespec tp;
20929 #endif
20930 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20931 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20932
20933 ;
20934 return 0;
20935 }
20936 _ACEOF
20937 if ac_fn_cxx_try_compile "$LINENO"; then :
20938 ac_has_clock_monotonic_syscall=yes
20939 else
20940 ac_has_clock_monotonic_syscall=no
20941 fi
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20944 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20945 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20946
20947 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20948
20949 ac_has_clock_monotonic=yes
20950 ac_has_clock_realtime=yes
20951 fi;;
20952 esac
20953 fi
20954
20955 if test x"$ac_has_clock_monotonic" = x"yes"; then
20956
20957 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20958
20959 fi
20960
20961 if test x"$ac_has_clock_realtime" = x"yes"; then
20962
20963 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20964
20965 fi
20966
20967 if test x"$ac_has_sched_yield" = x"yes"; then
20968
20969 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20970
20971 fi
20972
20973 if test x"$ac_has_nanosleep" = x"yes"; then
20974
20975 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20976
20977 else
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20979 $as_echo_n "checking for sleep... " >&6; }
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #include <unistd.h>
20983 int
20984 main ()
20985 {
20986 sleep(1)
20987 ;
20988 return 0;
20989 }
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 ac_has_sleep=yes
20993 else
20994 ac_has_sleep=no
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 if test x"$ac_has_sleep" = x"yes"; then
20998
20999 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21000
21001 fi
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21003 $as_echo "$ac_has_sleep" >&6; }
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21005 $as_echo_n "checking for usleep... " >&6; }
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <unistd.h>
21009 int
21010 main ()
21011 {
21012 sleep(1);
21013 usleep(100);
21014 ;
21015 return 0;
21016 }
21017 _ACEOF
21018 if ac_fn_cxx_try_compile "$LINENO"; then :
21019 ac_has_usleep=yes
21020 else
21021 ac_has_usleep=no
21022 fi
21023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 if test x"$ac_has_usleep" = x"yes"; then
21025
21026 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21027
21028 fi
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21030 $as_echo "$ac_has_usleep" >&6; }
21031 fi
21032
21033 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21035 $as_echo_n "checking for Sleep... " >&6; }
21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21037 /* end confdefs.h. */
21038 #include <windows.h>
21039 int
21040 main ()
21041 {
21042 Sleep(1)
21043 ;
21044 return 0;
21045 }
21046 _ACEOF
21047 if ac_fn_cxx_try_compile "$LINENO"; then :
21048 ac_has_win32_sleep=yes
21049 else
21050 ac_has_win32_sleep=no
21051 fi
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 if test x"$ac_has_win32_sleep" = x"yes"; then
21054
21055 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21056
21057 fi
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21059 $as_echo "$ac_has_win32_sleep" >&6; }
21060 fi
21061
21062
21063
21064 CXXFLAGS="$ac_save_CXXFLAGS"
21065 LIBS="$ac_save_LIBS"
21066 ac_ext=c
21067 ac_cpp='$CPP $CPPFLAGS'
21068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071
21072
21073
21074 # Check for tmpnam which is obsolescent in POSIX.1-2008
21075
21076 ac_ext=cpp
21077 ac_cpp='$CXXCPP $CPPFLAGS'
21078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21081
21082 ac_save_CXXFLAGS="$CXXFLAGS"
21083 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21085 $as_echo_n "checking for tmpnam... " >&6; }
21086 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21088 else
21089 if test x$gcc_no_link = xyes; then
21090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h. */
21092 #include <stdio.h>
21093 int
21094 main ()
21095 {
21096 char *tmp = tmpnam(NULL);
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 if ac_fn_cxx_try_compile "$LINENO"; then :
21102 glibcxx_cv_TMPNAM=yes
21103 else
21104 glibcxx_cv_TMPNAM=no
21105 fi
21106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 else
21108 if test x$gcc_no_link = xyes; then
21109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21110 fi
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21113 #include <stdio.h>
21114 int
21115 main ()
21116 {
21117 char *tmp = tmpnam(NULL);
21118 ;
21119 return 0;
21120 }
21121 _ACEOF
21122 if ac_fn_cxx_try_link "$LINENO"; then :
21123 glibcxx_cv_TMPNAM=yes
21124 else
21125 glibcxx_cv_TMPNAM=no
21126 fi
21127 rm -f core conftest.err conftest.$ac_objext \
21128 conftest$ac_exeext conftest.$ac_ext
21129 fi
21130
21131 fi
21132
21133 if test $glibcxx_cv_TMPNAM = yes; then
21134
21135 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21136
21137 fi
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21139 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21140 CXXFLAGS="$ac_save_CXXFLAGS"
21141 ac_ext=c
21142 ac_cpp='$CPP $CPPFLAGS'
21143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146
21147
21148
21149
21150 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21151 if test "x$ac_cv_header_locale_h" = x""yes; then :
21152
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21154 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21155 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #include <locale.h>
21161 int
21162 main ()
21163 {
21164 return LC_MESSAGES
21165 ;
21166 return 0;
21167 }
21168 _ACEOF
21169 if ac_fn_c_try_compile "$LINENO"; then :
21170 ac_cv_val_LC_MESSAGES=yes
21171 else
21172 ac_cv_val_LC_MESSAGES=no
21173 fi
21174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21175 fi
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21177 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21178 if test $ac_cv_val_LC_MESSAGES = yes; then
21179
21180 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21181
21182 fi
21183
21184 fi
21185
21186
21187
21188
21189 # For hardware_concurrency
21190 for ac_header in sys/sysinfo.h
21191 do :
21192 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21193 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21194 cat >>confdefs.h <<_ACEOF
21195 #define HAVE_SYS_SYSINFO_H 1
21196 _ACEOF
21197
21198 fi
21199
21200 done
21201
21202
21203
21204
21205 ac_ext=cpp
21206 ac_cpp='$CXXCPP $CPPFLAGS'
21207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21210
21211 ac_save_CXXFLAGS="$CXXFLAGS"
21212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21213
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21215 $as_echo_n "checking for get_nprocs... " >&6; }
21216 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21218 else
21219
21220 if test x$gcc_no_link = xyes; then
21221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21222 /* end confdefs.h. */
21223 #include <sys/sysinfo.h>
21224 int
21225 main ()
21226 {
21227 int n = get_nprocs();
21228 ;
21229 return 0;
21230 }
21231 _ACEOF
21232 if ac_fn_cxx_try_compile "$LINENO"; then :
21233 glibcxx_cv_GET_NPROCS=yes
21234 else
21235 glibcxx_cv_GET_NPROCS=no
21236 fi
21237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21238 else
21239 if test x$gcc_no_link = xyes; then
21240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21241 fi
21242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21243 /* end confdefs.h. */
21244 #include <sys/sysinfo.h>
21245 int
21246 main ()
21247 {
21248 int n = get_nprocs();
21249 ;
21250 return 0;
21251 }
21252 _ACEOF
21253 if ac_fn_cxx_try_link "$LINENO"; then :
21254 glibcxx_cv_GET_NPROCS=yes
21255 else
21256 glibcxx_cv_GET_NPROCS=no
21257 fi
21258 rm -f core conftest.err conftest.$ac_objext \
21259 conftest$ac_exeext conftest.$ac_ext
21260 fi
21261
21262 fi
21263
21264 if test $glibcxx_cv_GET_NPROCS = yes; then
21265
21266 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21267
21268 fi
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21270 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21271
21272 CXXFLAGS="$ac_save_CXXFLAGS"
21273 ac_ext=c
21274 ac_cpp='$CPP $CPPFLAGS'
21275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21278
21279
21280 for ac_header in unistd.h
21281 do :
21282 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21283 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21284 cat >>confdefs.h <<_ACEOF
21285 #define HAVE_UNISTD_H 1
21286 _ACEOF
21287
21288 fi
21289
21290 done
21291
21292
21293
21294
21295 ac_ext=cpp
21296 ac_cpp='$CXXCPP $CPPFLAGS'
21297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21300
21301 ac_save_CXXFLAGS="$CXXFLAGS"
21302 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21303
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21305 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21306 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21307 $as_echo_n "(cached) " >&6
21308 else
21309
21310 if test x$gcc_no_link = xyes; then
21311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21312 /* end confdefs.h. */
21313 #include <unistd.h>
21314 int
21315 main ()
21316 {
21317 int n = sysconf(_SC_NPROCESSORS_ONLN);
21318 ;
21319 return 0;
21320 }
21321 _ACEOF
21322 if ac_fn_cxx_try_compile "$LINENO"; then :
21323 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21324 else
21325 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21326 fi
21327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21328 else
21329 if test x$gcc_no_link = xyes; then
21330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21331 fi
21332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21333 /* end confdefs.h. */
21334 #include <unistd.h>
21335 int
21336 main ()
21337 {
21338 int n = sysconf(_SC_NPROCESSORS_ONLN);
21339 ;
21340 return 0;
21341 }
21342 _ACEOF
21343 if ac_fn_cxx_try_link "$LINENO"; then :
21344 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21345 else
21346 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21347 fi
21348 rm -f core conftest.err conftest.$ac_objext \
21349 conftest$ac_exeext conftest.$ac_ext
21350 fi
21351
21352 fi
21353
21354 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21355
21356 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21357
21358 fi
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21360 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21361
21362 CXXFLAGS="$ac_save_CXXFLAGS"
21363 ac_ext=c
21364 ac_cpp='$CPP $CPPFLAGS'
21365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21368
21369
21370
21371
21372
21373 ac_ext=cpp
21374 ac_cpp='$CXXCPP $CPPFLAGS'
21375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378
21379 ac_save_CXXFLAGS="$CXXFLAGS"
21380 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21381
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21383 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21384 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21385 $as_echo_n "(cached) " >&6
21386 else
21387
21388 if test x$gcc_no_link = xyes; then
21389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21390 /* end confdefs.h. */
21391 #include <unistd.h>
21392 int
21393 main ()
21394 {
21395 int n = sysconf(_SC_NPROC_ONLN);
21396 ;
21397 return 0;
21398 }
21399 _ACEOF
21400 if ac_fn_cxx_try_compile "$LINENO"; then :
21401 glibcxx_cv_SC_NPROC_ONLN=yes
21402 else
21403 glibcxx_cv_SC_NPROC_ONLN=no
21404 fi
21405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 else
21407 if test x$gcc_no_link = xyes; then
21408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21409 fi
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21412 #include <unistd.h>
21413 int
21414 main ()
21415 {
21416 int n = sysconf(_SC_NPROC_ONLN);
21417 ;
21418 return 0;
21419 }
21420 _ACEOF
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21422 glibcxx_cv_SC_NPROC_ONLN=yes
21423 else
21424 glibcxx_cv_SC_NPROC_ONLN=no
21425 fi
21426 rm -f core conftest.err conftest.$ac_objext \
21427 conftest$ac_exeext conftest.$ac_ext
21428 fi
21429
21430 fi
21431
21432 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21433
21434 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21435
21436 fi
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21438 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21439
21440 CXXFLAGS="$ac_save_CXXFLAGS"
21441 ac_ext=c
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21446
21447
21448
21449
21450
21451 ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21456
21457 ac_save_CXXFLAGS="$CXXFLAGS"
21458 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21459
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21461 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21462 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21463 $as_echo_n "(cached) " >&6
21464 else
21465
21466 if test x$gcc_no_link = xyes; then
21467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21468 /* end confdefs.h. */
21469 #include <pthread.h>
21470 int
21471 main ()
21472 {
21473 int n = pthread_num_processors_np();
21474 ;
21475 return 0;
21476 }
21477 _ACEOF
21478 if ac_fn_cxx_try_compile "$LINENO"; then :
21479 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21480 else
21481 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21482 fi
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 else
21485 if test x$gcc_no_link = xyes; then
21486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 fi
21488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h. */
21490 #include <pthread.h>
21491 int
21492 main ()
21493 {
21494 int n = pthread_num_processors_np();
21495 ;
21496 return 0;
21497 }
21498 _ACEOF
21499 if ac_fn_cxx_try_link "$LINENO"; then :
21500 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21501 else
21502 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21503 fi
21504 rm -f core conftest.err conftest.$ac_objext \
21505 conftest$ac_exeext conftest.$ac_ext
21506 fi
21507
21508 fi
21509
21510 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21511
21512 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21513
21514 fi
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21516 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21517
21518 CXXFLAGS="$ac_save_CXXFLAGS"
21519 ac_ext=c
21520 ac_cpp='$CPP $CPPFLAGS'
21521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21524
21525
21526
21527
21528
21529 ac_ext=cpp
21530 ac_cpp='$CXXCPP $CPPFLAGS'
21531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534
21535 ac_save_CXXFLAGS="$CXXFLAGS"
21536 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21537
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21539 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21540 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21541 $as_echo_n "(cached) " >&6
21542 else
21543
21544 if test x$gcc_no_link = xyes; then
21545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21546 /* end confdefs.h. */
21547
21548 #include <stddef.h>
21549 #include <sys/sysctl.h>
21550
21551 int
21552 main ()
21553 {
21554
21555 int count;
21556 size_t size = sizeof(count);
21557 int mib[] = { CTL_HW, HW_NCPU };
21558 sysctl(mib, 2, &count, &size, NULL, 0);
21559
21560 ;
21561 return 0;
21562 }
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565 glibcxx_cv_SYSCTL_HW_NCPU=yes
21566 else
21567 glibcxx_cv_SYSCTL_HW_NCPU=no
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 else
21571 if test x$gcc_no_link = xyes; then
21572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 fi
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576
21577 #include <stddef.h>
21578 #include <sys/sysctl.h>
21579
21580 int
21581 main ()
21582 {
21583
21584 int count;
21585 size_t size = sizeof(count);
21586 int mib[] = { CTL_HW, HW_NCPU };
21587 sysctl(mib, 2, &count, &size, NULL, 0);
21588
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 if ac_fn_cxx_try_link "$LINENO"; then :
21594 glibcxx_cv_SYSCTL_HW_NCPU=yes
21595 else
21596 glibcxx_cv_SYSCTL_HW_NCPU=no
21597 fi
21598 rm -f core conftest.err conftest.$ac_objext \
21599 conftest$ac_exeext conftest.$ac_ext
21600 fi
21601
21602 fi
21603
21604 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21605
21606 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21607
21608 fi
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21610 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21611
21612 CXXFLAGS="$ac_save_CXXFLAGS"
21613 ac_ext=c
21614 ac_cpp='$CPP $CPPFLAGS'
21615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21618
21619
21620
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21622 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21623 # Note that this test has to be run with the C language.
21624 # Otherwise, sdt.h will try to include some headers from
21625 # libstdc++ itself.
21626
21627 ac_ext=c
21628 ac_cpp='$CPP $CPPFLAGS'
21629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21632
21633 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21636
21637 # Because we have to run the test in C, we use grep rather
21638 # than the compiler to check for the bug. The bug is that
21639 # were strings without trailing whitespace, causing g++
21640 # to look for operator"". The pattern searches for the fixed
21641 # output.
21642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21643 /* end confdefs.h. */
21644
21645 #include <sys/sdt.h>
21646 int f() { STAP_PROBE(hi, bob); }
21647
21648 _ACEOF
21649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21650 $EGREP " \",\" " >/dev/null 2>&1; then :
21651 glibcxx_cv_sys_sdt_h=yes
21652 else
21653 glibcxx_cv_sys_sdt_h=no
21654 fi
21655 rm -f conftest*
21656
21657
21658 fi
21659
21660 ac_ext=c
21661 ac_cpp='$CPP $CPPFLAGS'
21662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665
21666 if test $glibcxx_cv_sys_sdt_h = yes; then
21667
21668 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21669
21670 fi
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21672 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21673
21674
21675 # Check for available headers.
21676 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21677 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21678 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21679 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21680 wchar.h wctype.h
21681 do :
21682 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21683 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21684 eval as_val=\$$as_ac_Header
21685 if test "x$as_val" = x""yes; then :
21686 cat >>confdefs.h <<_ACEOF
21687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21688 _ACEOF
21689
21690 fi
21691
21692 done
21693
21694
21695 # Only do link tests if native. Else, hardcode.
21696 if $GLIBCXX_IS_NATIVE; then
21697
21698 # We can do more elaborate tests that assume a working linker.
21699 CANADIAN=no
21700
21701
21702
21703 # Check whether --with-gnu-ld was given.
21704 if test "${with_gnu_ld+set}" = set; then :
21705 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21706 else
21707 with_gnu_ld=no
21708 fi
21709
21710 ac_prog=ld
21711 if test "$GCC" = yes; then
21712 # Check if gcc -print-prog-name=ld gives a path.
21713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21714 $as_echo_n "checking for ld used by $CC... " >&6; }
21715 case $host in
21716 *-*-mingw*)
21717 # gcc leaves a trailing carriage return which upsets mingw
21718 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21719 *)
21720 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21721 esac
21722 case $ac_prog in
21723 # Accept absolute paths.
21724 [\\/]* | ?:[\\/]*)
21725 re_direlt='/[^/][^/]*/\.\./'
21726 # Canonicalize the pathname of ld
21727 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21728 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21729 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21730 done
21731 test -z "$LD" && LD="$ac_prog"
21732 ;;
21733 "")
21734 # If it fails, then pretend we aren't using GCC.
21735 ac_prog=ld
21736 ;;
21737 *)
21738 # If it is relative, then search for the first ld in PATH.
21739 with_gnu_ld=unknown
21740 ;;
21741 esac
21742 elif test "$with_gnu_ld" = yes; then
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21744 $as_echo_n "checking for GNU ld... " >&6; }
21745 else
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21747 $as_echo_n "checking for non-GNU ld... " >&6; }
21748 fi
21749 if test "${lt_cv_path_LD+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21751 else
21752 if test -z "$LD"; then
21753 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21754 for ac_dir in $PATH; do
21755 IFS="$lt_save_ifs"
21756 test -z "$ac_dir" && ac_dir=.
21757 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21758 lt_cv_path_LD="$ac_dir/$ac_prog"
21759 # Check to see if the program is GNU ld. I'd rather use --version,
21760 # but apparently some variants of GNU ld only accept -v.
21761 # Break only if it was the GNU/non-GNU ld that we prefer.
21762 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21763 *GNU* | *'with BFD'*)
21764 test "$with_gnu_ld" != no && break
21765 ;;
21766 *)
21767 test "$with_gnu_ld" != yes && break
21768 ;;
21769 esac
21770 fi
21771 done
21772 IFS="$lt_save_ifs"
21773 else
21774 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21775 fi
21776 fi
21777
21778 LD="$lt_cv_path_LD"
21779 if test -n "$LD"; then
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21781 $as_echo "$LD" >&6; }
21782 else
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21784 $as_echo "no" >&6; }
21785 fi
21786 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21788 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21789 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21790 $as_echo_n "(cached) " >&6
21791 else
21792 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21793 case `$LD -v 2>&1 </dev/null` in
21794 *GNU* | *'with BFD'*)
21795 lt_cv_prog_gnu_ld=yes
21796 ;;
21797 *)
21798 lt_cv_prog_gnu_ld=no
21799 ;;
21800 esac
21801 fi
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21803 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21804 with_gnu_ld=$lt_cv_prog_gnu_ld
21805
21806
21807
21808
21809
21810
21811
21812 # If we're not using GNU ld, then there's no point in even trying these
21813 # tests. Check for that first. We should have already tested for gld
21814 # by now (in libtool), but require it now just to be safe...
21815 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21816 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21817
21818
21819
21820 # The name set by libtool depends on the version of libtool. Shame on us
21821 # for depending on an impl detail, but c'est la vie. Older versions used
21822 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21823 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21824 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21825 # set (hence we're using an older libtool), then set it.
21826 if test x${with_gnu_ld+set} != xset; then
21827 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21828 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21829 with_gnu_ld=no
21830 else
21831 with_gnu_ld=$ac_cv_prog_gnu_ld
21832 fi
21833 fi
21834
21835 # Start by getting the version number. I think the libtool test already
21836 # does some of this, but throws away the result.
21837 glibcxx_ld_is_gold=no
21838 if test x"$with_gnu_ld" = x"yes"; then
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21840 $as_echo_n "checking for ld version... " >&6; }
21841
21842 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21843 glibcxx_ld_is_gold=yes
21844 fi
21845 ldver=`$LD --version 2>/dev/null |
21846 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'`
21847
21848 glibcxx_gnu_ld_version=`echo $ldver | \
21849 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21851 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21852 fi
21853
21854 # Set --gc-sections.
21855 glibcxx_have_gc_sections=no
21856 if test "$glibcxx_ld_is_gold" = "yes"; then
21857 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21858 glibcxx_have_gc_sections=yes
21859 fi
21860 else
21861 glibcxx_gcsections_min_ld=21602
21862 if test x"$with_gnu_ld" = x"yes" &&
21863 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21864 glibcxx_have_gc_sections=yes
21865 fi
21866 fi
21867 if test "$glibcxx_have_gc_sections" = "yes"; then
21868 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21869 # NB: This flag only works reliably after 2.16.1. Configure tests
21870 # for this are difficult, so hard wire a value that should work.
21871
21872 ac_test_CFLAGS="${CFLAGS+set}"
21873 ac_save_CFLAGS="$CFLAGS"
21874 CFLAGS='-Wl,--gc-sections'
21875
21876 # Check for -Wl,--gc-sections
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21878 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21879 if test x$gcc_no_link = xyes; then
21880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21881 fi
21882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h. */
21884 int one(void) { return 1; }
21885 int two(void) { return 2; }
21886
21887 int
21888 main ()
21889 {
21890 two();
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 if ac_fn_c_try_link "$LINENO"; then :
21896 ac_gcsections=yes
21897 else
21898 ac_gcsections=no
21899 fi
21900 rm -f core conftest.err conftest.$ac_objext \
21901 conftest$ac_exeext conftest.$ac_ext
21902 if test "$ac_gcsections" = "yes"; then
21903 rm -f conftest.c
21904 touch conftest.c
21905 if $CC -c conftest.c; then
21906 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21907 grep "Warning: gc-sections option ignored" > /dev/null; then
21908 ac_gcsections=no
21909 fi
21910 fi
21911 rm -f conftest.c conftest.o conftest
21912 fi
21913 if test "$ac_gcsections" = "yes"; then
21914 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21915 fi
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21917 $as_echo "$ac_gcsections" >&6; }
21918
21919 if test "$ac_test_CFLAGS" = set; then
21920 CFLAGS="$ac_save_CFLAGS"
21921 else
21922 # this is the suspicious part
21923 CFLAGS=''
21924 fi
21925 fi
21926
21927 # Set -z,relro.
21928 # Note this is only for shared objects.
21929 ac_ld_relro=no
21930 if test x"$with_gnu_ld" = x"yes"; then
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21932 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21933 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21934 if test -n "$cxx_z_relo"; then
21935 OPT_LDFLAGS="-Wl,-z,relro"
21936 ac_ld_relro=yes
21937 fi
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21939 $as_echo "$ac_ld_relro" >&6; }
21940 fi
21941
21942 # Set linker optimization flags.
21943 if test x"$with_gnu_ld" = x"yes"; then
21944 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21945 fi
21946
21947
21948
21949
21950
21951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21952 ac_save_CXXFLAGS="$CXXFLAGS"
21953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21954
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21956 $as_echo_n "checking for sin in -lm... " >&6; }
21957 if test "${ac_cv_lib_m_sin+set}" = set; then :
21958 $as_echo_n "(cached) " >&6
21959 else
21960 ac_check_lib_save_LIBS=$LIBS
21961 LIBS="-lm $LIBS"
21962 if test x$gcc_no_link = xyes; then
21963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21964 fi
21965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966 /* end confdefs.h. */
21967
21968 /* Override any GCC internal prototype to avoid an error.
21969 Use char because int might match the return type of a GCC
21970 builtin and then its argument prototype would still apply. */
21971 #ifdef __cplusplus
21972 extern "C"
21973 #endif
21974 char sin ();
21975 int
21976 main ()
21977 {
21978 return sin ();
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 if ac_fn_c_try_link "$LINENO"; then :
21984 ac_cv_lib_m_sin=yes
21985 else
21986 ac_cv_lib_m_sin=no
21987 fi
21988 rm -f core conftest.err conftest.$ac_objext \
21989 conftest$ac_exeext conftest.$ac_ext
21990 LIBS=$ac_check_lib_save_LIBS
21991 fi
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21993 $as_echo "$ac_cv_lib_m_sin" >&6; }
21994 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21995 libm="-lm"
21996 fi
21997
21998 ac_save_LIBS="$LIBS"
21999 LIBS="$LIBS $libm"
22000
22001
22002
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22004 $as_echo_n "checking for isinf declaration... " >&6; }
22005 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22006 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22007 $as_echo_n "(cached) " >&6
22008 else
22009
22010
22011 ac_ext=cpp
22012 ac_cpp='$CXXCPP $CPPFLAGS'
22013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22016
22017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22018 /* end confdefs.h. */
22019 #include <math.h>
22020 #ifdef HAVE_IEEEFP_H
22021 #include <ieeefp.h>
22022 #endif
22023
22024 int
22025 main ()
22026 {
22027 isinf(0);
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 if ac_fn_cxx_try_compile "$LINENO"; then :
22033 glibcxx_cv_func_isinf_use=yes
22034 else
22035 glibcxx_cv_func_isinf_use=no
22036 fi
22037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22038 ac_ext=c
22039 ac_cpp='$CPP $CPPFLAGS'
22040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22043
22044
22045 fi
22046
22047 fi
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22049 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22050
22051 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22052 for ac_func in isinf
22053 do :
22054 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22055 if test "x$ac_cv_func_isinf" = x""yes; then :
22056 cat >>confdefs.h <<_ACEOF
22057 #define HAVE_ISINF 1
22058 _ACEOF
22059
22060 fi
22061 done
22062
22063 else
22064
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22066 $as_echo_n "checking for _isinf declaration... " >&6; }
22067 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22068 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22071
22072
22073 ac_ext=cpp
22074 ac_cpp='$CXXCPP $CPPFLAGS'
22075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22078
22079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22080 /* end confdefs.h. */
22081 #include <math.h>
22082 #ifdef HAVE_IEEEFP_H
22083 #include <ieeefp.h>
22084 #endif
22085
22086 int
22087 main ()
22088 {
22089 _isinf(0);
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 if ac_fn_cxx_try_compile "$LINENO"; then :
22095 glibcxx_cv_func__isinf_use=yes
22096 else
22097 glibcxx_cv_func__isinf_use=no
22098 fi
22099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22100 ac_ext=c
22101 ac_cpp='$CPP $CPPFLAGS'
22102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22105
22106
22107 fi
22108
22109 fi
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22111 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22112
22113 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22114 for ac_func in _isinf
22115 do :
22116 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22117 if test "x$ac_cv_func__isinf" = x""yes; then :
22118 cat >>confdefs.h <<_ACEOF
22119 #define HAVE__ISINF 1
22120 _ACEOF
22121
22122 fi
22123 done
22124
22125 fi
22126 fi
22127
22128
22129
22130
22131
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22133 $as_echo_n "checking for isnan declaration... " >&6; }
22134 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22135 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22138
22139
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22145
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22149 #ifdef HAVE_IEEEFP_H
22150 #include <ieeefp.h>
22151 #endif
22152
22153 int
22154 main ()
22155 {
22156 isnan(0);
22157 ;
22158 return 0;
22159 }
22160 _ACEOF
22161 if ac_fn_cxx_try_compile "$LINENO"; then :
22162 glibcxx_cv_func_isnan_use=yes
22163 else
22164 glibcxx_cv_func_isnan_use=no
22165 fi
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22172
22173
22174 fi
22175
22176 fi
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22178 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22179
22180 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22181 for ac_func in isnan
22182 do :
22183 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22184 if test "x$ac_cv_func_isnan" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE_ISNAN 1
22187 _ACEOF
22188
22189 fi
22190 done
22191
22192 else
22193
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22195 $as_echo_n "checking for _isnan declaration... " >&6; }
22196 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22197 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22198 $as_echo_n "(cached) " >&6
22199 else
22200
22201
22202 ac_ext=cpp
22203 ac_cpp='$CXXCPP $CPPFLAGS'
22204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207
22208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22209 /* end confdefs.h. */
22210 #include <math.h>
22211 #ifdef HAVE_IEEEFP_H
22212 #include <ieeefp.h>
22213 #endif
22214
22215 int
22216 main ()
22217 {
22218 _isnan(0);
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 if ac_fn_cxx_try_compile "$LINENO"; then :
22224 glibcxx_cv_func__isnan_use=yes
22225 else
22226 glibcxx_cv_func__isnan_use=no
22227 fi
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229 ac_ext=c
22230 ac_cpp='$CPP $CPPFLAGS'
22231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22234
22235
22236 fi
22237
22238 fi
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22240 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22241
22242 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22243 for ac_func in _isnan
22244 do :
22245 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22246 if test "x$ac_cv_func__isnan" = x""yes; then :
22247 cat >>confdefs.h <<_ACEOF
22248 #define HAVE__ISNAN 1
22249 _ACEOF
22250
22251 fi
22252 done
22253
22254 fi
22255 fi
22256
22257
22258
22259
22260
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22262 $as_echo_n "checking for finite declaration... " >&6; }
22263 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22264 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22265 $as_echo_n "(cached) " >&6
22266 else
22267
22268
22269 ac_ext=cpp
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22274
22275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h. */
22277 #include <math.h>
22278 #ifdef HAVE_IEEEFP_H
22279 #include <ieeefp.h>
22280 #endif
22281
22282 int
22283 main ()
22284 {
22285 finite(0);
22286 ;
22287 return 0;
22288 }
22289 _ACEOF
22290 if ac_fn_cxx_try_compile "$LINENO"; then :
22291 glibcxx_cv_func_finite_use=yes
22292 else
22293 glibcxx_cv_func_finite_use=no
22294 fi
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22301
22302
22303 fi
22304
22305 fi
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22307 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22308
22309 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22310 for ac_func in finite
22311 do :
22312 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22313 if test "x$ac_cv_func_finite" = x""yes; then :
22314 cat >>confdefs.h <<_ACEOF
22315 #define HAVE_FINITE 1
22316 _ACEOF
22317
22318 fi
22319 done
22320
22321 else
22322
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22324 $as_echo_n "checking for _finite declaration... " >&6; }
22325 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22326 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22327 $as_echo_n "(cached) " >&6
22328 else
22329
22330
22331 ac_ext=cpp
22332 ac_cpp='$CXXCPP $CPPFLAGS'
22333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22336
22337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h. */
22339 #include <math.h>
22340 #ifdef HAVE_IEEEFP_H
22341 #include <ieeefp.h>
22342 #endif
22343
22344 int
22345 main ()
22346 {
22347 _finite(0);
22348 ;
22349 return 0;
22350 }
22351 _ACEOF
22352 if ac_fn_cxx_try_compile "$LINENO"; then :
22353 glibcxx_cv_func__finite_use=yes
22354 else
22355 glibcxx_cv_func__finite_use=no
22356 fi
22357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22358 ac_ext=c
22359 ac_cpp='$CPP $CPPFLAGS'
22360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22363
22364
22365 fi
22366
22367 fi
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22369 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22370
22371 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22372 for ac_func in _finite
22373 do :
22374 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22375 if test "x$ac_cv_func__finite" = x""yes; then :
22376 cat >>confdefs.h <<_ACEOF
22377 #define HAVE__FINITE 1
22378 _ACEOF
22379
22380 fi
22381 done
22382
22383 fi
22384 fi
22385
22386
22387
22388
22389
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22391 $as_echo_n "checking for sincos declaration... " >&6; }
22392 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22393 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22395 else
22396
22397
22398 ac_ext=cpp
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403
22404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22405 /* end confdefs.h. */
22406 #include <math.h>
22407 int
22408 main ()
22409 {
22410 sincos(0, 0, 0);
22411 ;
22412 return 0;
22413 }
22414 _ACEOF
22415 if ac_fn_cxx_try_compile "$LINENO"; then :
22416 glibcxx_cv_func_sincos_use=yes
22417 else
22418 glibcxx_cv_func_sincos_use=no
22419 fi
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 ac_ext=c
22422 ac_cpp='$CPP $CPPFLAGS'
22423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22426
22427
22428 fi
22429
22430 fi
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22432 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22433
22434 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22435 for ac_func in sincos
22436 do :
22437 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22438 if test "x$ac_cv_func_sincos" = x""yes; then :
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE_SINCOS 1
22441 _ACEOF
22442
22443 fi
22444 done
22445
22446 else
22447
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22449 $as_echo_n "checking for _sincos declaration... " >&6; }
22450 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22451 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22452 $as_echo_n "(cached) " >&6
22453 else
22454
22455
22456 ac_ext=cpp
22457 ac_cpp='$CXXCPP $CPPFLAGS'
22458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22461
22462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22463 /* end confdefs.h. */
22464 #include <math.h>
22465 int
22466 main ()
22467 {
22468 _sincos(0, 0, 0);
22469 ;
22470 return 0;
22471 }
22472 _ACEOF
22473 if ac_fn_cxx_try_compile "$LINENO"; then :
22474 glibcxx_cv_func__sincos_use=yes
22475 else
22476 glibcxx_cv_func__sincos_use=no
22477 fi
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 ac_ext=c
22480 ac_cpp='$CPP $CPPFLAGS'
22481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22484
22485
22486 fi
22487
22488 fi
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22490 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22491
22492 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22493 for ac_func in _sincos
22494 do :
22495 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22496 if test "x$ac_cv_func__sincos" = x""yes; then :
22497 cat >>confdefs.h <<_ACEOF
22498 #define HAVE__SINCOS 1
22499 _ACEOF
22500
22501 fi
22502 done
22503
22504 fi
22505 fi
22506
22507
22508
22509
22510
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22512 $as_echo_n "checking for fpclass declaration... " >&6; }
22513 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22514 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22516 else
22517
22518
22519 ac_ext=cpp
22520 ac_cpp='$CXXCPP $CPPFLAGS'
22521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22524
22525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22526 /* end confdefs.h. */
22527 #include <math.h>
22528 #ifdef HAVE_IEEEFP_H
22529 #include <ieeefp.h>
22530 #endif
22531
22532 int
22533 main ()
22534 {
22535 fpclass(0);
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func_fpclass_use=yes
22542 else
22543 glibcxx_cv_func_fpclass_use=no
22544 fi
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22551
22552
22553 fi
22554
22555 fi
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22557 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22558
22559 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22560 for ac_func in fpclass
22561 do :
22562 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22563 if test "x$ac_cv_func_fpclass" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE_FPCLASS 1
22566 _ACEOF
22567
22568 fi
22569 done
22570
22571 else
22572
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22574 $as_echo_n "checking for _fpclass declaration... " >&6; }
22575 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22576 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22577 $as_echo_n "(cached) " >&6
22578 else
22579
22580
22581 ac_ext=cpp
22582 ac_cpp='$CXXCPP $CPPFLAGS'
22583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22586
22587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22588 /* end confdefs.h. */
22589 #include <math.h>
22590 #ifdef HAVE_IEEEFP_H
22591 #include <ieeefp.h>
22592 #endif
22593
22594 int
22595 main ()
22596 {
22597 _fpclass(0);
22598 ;
22599 return 0;
22600 }
22601 _ACEOF
22602 if ac_fn_cxx_try_compile "$LINENO"; then :
22603 glibcxx_cv_func__fpclass_use=yes
22604 else
22605 glibcxx_cv_func__fpclass_use=no
22606 fi
22607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22608 ac_ext=c
22609 ac_cpp='$CPP $CPPFLAGS'
22610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22613
22614
22615 fi
22616
22617 fi
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22619 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22620
22621 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22622 for ac_func in _fpclass
22623 do :
22624 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22625 if test "x$ac_cv_func__fpclass" = x""yes; then :
22626 cat >>confdefs.h <<_ACEOF
22627 #define HAVE__FPCLASS 1
22628 _ACEOF
22629
22630 fi
22631 done
22632
22633 fi
22634 fi
22635
22636
22637
22638
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22641 $as_echo_n "checking for qfpclass declaration... " >&6; }
22642 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22643 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22646
22647
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22653
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22657 #ifdef HAVE_IEEEFP_H
22658 #include <ieeefp.h>
22659 #endif
22660
22661 int
22662 main ()
22663 {
22664 qfpclass(0);
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func_qfpclass_use=yes
22671 else
22672 glibcxx_cv_func_qfpclass_use=no
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22680
22681
22682 fi
22683
22684 fi
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22686 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22687
22688 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22689 for ac_func in qfpclass
22690 do :
22691 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22692 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE_QFPCLASS 1
22695 _ACEOF
22696
22697 fi
22698 done
22699
22700 else
22701
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22703 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22704 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22705 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22706 $as_echo_n "(cached) " >&6
22707 else
22708
22709
22710 ac_ext=cpp
22711 ac_cpp='$CXXCPP $CPPFLAGS'
22712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22715
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22718 #include <math.h>
22719 #ifdef HAVE_IEEEFP_H
22720 #include <ieeefp.h>
22721 #endif
22722
22723 int
22724 main ()
22725 {
22726 _qfpclass(0);
22727 ;
22728 return 0;
22729 }
22730 _ACEOF
22731 if ac_fn_cxx_try_compile "$LINENO"; then :
22732 glibcxx_cv_func__qfpclass_use=yes
22733 else
22734 glibcxx_cv_func__qfpclass_use=no
22735 fi
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737 ac_ext=c
22738 ac_cpp='$CPP $CPPFLAGS'
22739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742
22743
22744 fi
22745
22746 fi
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22748 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22749
22750 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22751 for ac_func in _qfpclass
22752 do :
22753 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22754 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22755 cat >>confdefs.h <<_ACEOF
22756 #define HAVE__QFPCLASS 1
22757 _ACEOF
22758
22759 fi
22760 done
22761
22762 fi
22763 fi
22764
22765
22766
22767
22768
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22770 $as_echo_n "checking for hypot declaration... " >&6; }
22771 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22772 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22773 $as_echo_n "(cached) " >&6
22774 else
22775
22776
22777 ac_ext=cpp
22778 ac_cpp='$CXXCPP $CPPFLAGS'
22779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22782
22783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22785 #include <math.h>
22786 int
22787 main ()
22788 {
22789 hypot(0, 0);
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 if ac_fn_cxx_try_compile "$LINENO"; then :
22795 glibcxx_cv_func_hypot_use=yes
22796 else
22797 glibcxx_cv_func_hypot_use=no
22798 fi
22799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800 ac_ext=c
22801 ac_cpp='$CPP $CPPFLAGS'
22802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805
22806
22807 fi
22808
22809 fi
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22811 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22812
22813 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22814 for ac_func in hypot
22815 do :
22816 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22817 if test "x$ac_cv_func_hypot" = x""yes; then :
22818 cat >>confdefs.h <<_ACEOF
22819 #define HAVE_HYPOT 1
22820 _ACEOF
22821
22822 fi
22823 done
22824
22825 else
22826
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22828 $as_echo_n "checking for _hypot declaration... " >&6; }
22829 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22830 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22831 $as_echo_n "(cached) " >&6
22832 else
22833
22834
22835 ac_ext=cpp
22836 ac_cpp='$CXXCPP $CPPFLAGS'
22837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840
22841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22842 /* end confdefs.h. */
22843 #include <math.h>
22844 int
22845 main ()
22846 {
22847 _hypot(0, 0);
22848 ;
22849 return 0;
22850 }
22851 _ACEOF
22852 if ac_fn_cxx_try_compile "$LINENO"; then :
22853 glibcxx_cv_func__hypot_use=yes
22854 else
22855 glibcxx_cv_func__hypot_use=no
22856 fi
22857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 ac_ext=c
22859 ac_cpp='$CPP $CPPFLAGS'
22860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22863
22864
22865 fi
22866
22867 fi
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22869 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22870
22871 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22872 for ac_func in _hypot
22873 do :
22874 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22875 if test "x$ac_cv_func__hypot" = x""yes; then :
22876 cat >>confdefs.h <<_ACEOF
22877 #define HAVE__HYPOT 1
22878 _ACEOF
22879
22880 fi
22881 done
22882
22883 fi
22884 fi
22885
22886
22887
22888
22889
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22891 $as_echo_n "checking for float trig functions... " >&6; }
22892 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22893 $as_echo_n "(cached) " >&6
22894 else
22895
22896
22897 ac_ext=cpp
22898 ac_cpp='$CXXCPP $CPPFLAGS'
22899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22902
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h. */
22905 #include <math.h>
22906 int
22907 main ()
22908 {
22909 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 if ac_fn_cxx_try_compile "$LINENO"; then :
22915 glibcxx_cv_func_float_trig_use=yes
22916 else
22917 glibcxx_cv_func_float_trig_use=no
22918 fi
22919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22920 ac_ext=c
22921 ac_cpp='$CPP $CPPFLAGS'
22922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22925
22926 fi
22927
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22929 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22930 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22931 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22932 do :
22933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22935 eval as_val=\$$as_ac_var
22936 if test "x$as_val" = x""yes; then :
22937 cat >>confdefs.h <<_ACEOF
22938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22939 _ACEOF
22940
22941 fi
22942 done
22943
22944 else
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22946 $as_echo_n "checking for _float trig functions... " >&6; }
22947 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22948 $as_echo_n "(cached) " >&6
22949 else
22950
22951
22952 ac_ext=cpp
22953 ac_cpp='$CXXCPP $CPPFLAGS'
22954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22957
22958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22959 /* end confdefs.h. */
22960 #include <math.h>
22961 int
22962 main ()
22963 {
22964 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22965 ;
22966 return 0;
22967 }
22968 _ACEOF
22969 if ac_fn_cxx_try_compile "$LINENO"; then :
22970 glibcxx_cv_func__float_trig_use=yes
22971 else
22972 glibcxx_cv_func__float_trig_use=no
22973 fi
22974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22975 ac_ext=c
22976 ac_cpp='$CPP $CPPFLAGS'
22977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980
22981 fi
22982
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22984 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22985 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22986 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22987 do :
22988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22990 eval as_val=\$$as_ac_var
22991 if test "x$as_val" = x""yes; then :
22992 cat >>confdefs.h <<_ACEOF
22993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22994 _ACEOF
22995
22996 fi
22997 done
22998
22999 fi
23000 fi
23001
23002
23003
23004
23005
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23007 $as_echo_n "checking for float round functions... " >&6; }
23008 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23009 $as_echo_n "(cached) " >&6
23010 else
23011
23012
23013 ac_ext=cpp
23014 ac_cpp='$CXXCPP $CPPFLAGS'
23015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23018
23019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23020 /* end confdefs.h. */
23021 #include <math.h>
23022 int
23023 main ()
23024 {
23025 ceilf (0); floorf (0);
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 if ac_fn_cxx_try_compile "$LINENO"; then :
23031 glibcxx_cv_func_float_round_use=yes
23032 else
23033 glibcxx_cv_func_float_round_use=no
23034 fi
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 ac_ext=c
23037 ac_cpp='$CPP $CPPFLAGS'
23038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23041
23042 fi
23043
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23045 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23046 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23047 for ac_func in ceilf floorf
23048 do :
23049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23051 eval as_val=\$$as_ac_var
23052 if test "x$as_val" = x""yes; then :
23053 cat >>confdefs.h <<_ACEOF
23054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23055 _ACEOF
23056
23057 fi
23058 done
23059
23060 else
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23062 $as_echo_n "checking for _float round functions... " >&6; }
23063 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23064 $as_echo_n "(cached) " >&6
23065 else
23066
23067
23068 ac_ext=cpp
23069 ac_cpp='$CXXCPP $CPPFLAGS'
23070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073
23074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075 /* end confdefs.h. */
23076 #include <math.h>
23077 int
23078 main ()
23079 {
23080 _ceilf (0); _floorf (0);
23081 ;
23082 return 0;
23083 }
23084 _ACEOF
23085 if ac_fn_cxx_try_compile "$LINENO"; then :
23086 glibcxx_cv_func__float_round_use=yes
23087 else
23088 glibcxx_cv_func__float_round_use=no
23089 fi
23090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23091 ac_ext=c
23092 ac_cpp='$CPP $CPPFLAGS'
23093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23096
23097 fi
23098
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23100 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23101 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23102 for ac_func in _ceilf _floorf
23103 do :
23104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23106 eval as_val=\$$as_ac_var
23107 if test "x$as_val" = x""yes; then :
23108 cat >>confdefs.h <<_ACEOF
23109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23110 _ACEOF
23111
23112 fi
23113 done
23114
23115 fi
23116 fi
23117
23118
23119
23120
23121
23122
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23124 $as_echo_n "checking for expf declaration... " >&6; }
23125 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23126 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23127 $as_echo_n "(cached) " >&6
23128 else
23129
23130
23131 ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23139 #include <math.h>
23140 #ifdef HAVE_IEEEFP_H
23141 #include <ieeefp.h>
23142 #endif
23143
23144 int
23145 main ()
23146 {
23147 expf(0);
23148 ;
23149 return 0;
23150 }
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func_expf_use=yes
23154 else
23155 glibcxx_cv_func_expf_use=no
23156 fi
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163
23164
23165 fi
23166
23167 fi
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23169 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23170
23171 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23172 for ac_func in expf
23173 do :
23174 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23175 if test "x$ac_cv_func_expf" = x""yes; then :
23176 cat >>confdefs.h <<_ACEOF
23177 #define HAVE_EXPF 1
23178 _ACEOF
23179
23180 fi
23181 done
23182
23183 else
23184
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23186 $as_echo_n "checking for _expf declaration... " >&6; }
23187 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23188 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23189 $as_echo_n "(cached) " >&6
23190 else
23191
23192
23193 ac_ext=cpp
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198
23199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23200 /* end confdefs.h. */
23201 #include <math.h>
23202 #ifdef HAVE_IEEEFP_H
23203 #include <ieeefp.h>
23204 #endif
23205
23206 int
23207 main ()
23208 {
23209 _expf(0);
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 if ac_fn_cxx_try_compile "$LINENO"; then :
23215 glibcxx_cv_func__expf_use=yes
23216 else
23217 glibcxx_cv_func__expf_use=no
23218 fi
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 ac_ext=c
23221 ac_cpp='$CPP $CPPFLAGS'
23222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23225
23226
23227 fi
23228
23229 fi
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23231 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23232
23233 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23234 for ac_func in _expf
23235 do :
23236 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23237 if test "x$ac_cv_func__expf" = x""yes; then :
23238 cat >>confdefs.h <<_ACEOF
23239 #define HAVE__EXPF 1
23240 _ACEOF
23241
23242 fi
23243 done
23244
23245 fi
23246 fi
23247
23248
23249
23250
23251
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23253 $as_echo_n "checking for isnanf declaration... " >&6; }
23254 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23255 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23258
23259
23260 ac_ext=cpp
23261 ac_cpp='$CXXCPP $CPPFLAGS'
23262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23265
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23272
23273 int
23274 main ()
23275 {
23276 isnanf(0);
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 if ac_fn_cxx_try_compile "$LINENO"; then :
23282 glibcxx_cv_func_isnanf_use=yes
23283 else
23284 glibcxx_cv_func_isnanf_use=no
23285 fi
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23287 ac_ext=c
23288 ac_cpp='$CPP $CPPFLAGS'
23289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23292
23293
23294 fi
23295
23296 fi
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23298 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23299
23300 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23301 for ac_func in isnanf
23302 do :
23303 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23304 if test "x$ac_cv_func_isnanf" = x""yes; then :
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE_ISNANF 1
23307 _ACEOF
23308
23309 fi
23310 done
23311
23312 else
23313
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23315 $as_echo_n "checking for _isnanf declaration... " >&6; }
23316 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23317 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23318 $as_echo_n "(cached) " >&6
23319 else
23320
23321
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h. */
23330 #include <math.h>
23331 #ifdef HAVE_IEEEFP_H
23332 #include <ieeefp.h>
23333 #endif
23334
23335 int
23336 main ()
23337 {
23338 _isnanf(0);
23339 ;
23340 return 0;
23341 }
23342 _ACEOF
23343 if ac_fn_cxx_try_compile "$LINENO"; then :
23344 glibcxx_cv_func__isnanf_use=yes
23345 else
23346 glibcxx_cv_func__isnanf_use=no
23347 fi
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354
23355
23356 fi
23357
23358 fi
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23360 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23361
23362 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23363 for ac_func in _isnanf
23364 do :
23365 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23366 if test "x$ac_cv_func__isnanf" = x""yes; then :
23367 cat >>confdefs.h <<_ACEOF
23368 #define HAVE__ISNANF 1
23369 _ACEOF
23370
23371 fi
23372 done
23373
23374 fi
23375 fi
23376
23377
23378
23379
23380
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23382 $as_echo_n "checking for isinff declaration... " >&6; }
23383 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23384 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23387
23388
23389 ac_ext=cpp
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23397 #include <math.h>
23398 #ifdef HAVE_IEEEFP_H
23399 #include <ieeefp.h>
23400 #endif
23401
23402 int
23403 main ()
23404 {
23405 isinff(0);
23406 ;
23407 return 0;
23408 }
23409 _ACEOF
23410 if ac_fn_cxx_try_compile "$LINENO"; then :
23411 glibcxx_cv_func_isinff_use=yes
23412 else
23413 glibcxx_cv_func_isinff_use=no
23414 fi
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 ac_ext=c
23417 ac_cpp='$CPP $CPPFLAGS'
23418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23421
23422
23423 fi
23424
23425 fi
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23427 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23428
23429 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23430 for ac_func in isinff
23431 do :
23432 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23433 if test "x$ac_cv_func_isinff" = x""yes; then :
23434 cat >>confdefs.h <<_ACEOF
23435 #define HAVE_ISINFF 1
23436 _ACEOF
23437
23438 fi
23439 done
23440
23441 else
23442
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23444 $as_echo_n "checking for _isinff declaration... " >&6; }
23445 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23446 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23447 $as_echo_n "(cached) " >&6
23448 else
23449
23450
23451 ac_ext=cpp
23452 ac_cpp='$CXXCPP $CPPFLAGS'
23453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23456
23457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23459 #include <math.h>
23460 #ifdef HAVE_IEEEFP_H
23461 #include <ieeefp.h>
23462 #endif
23463
23464 int
23465 main ()
23466 {
23467 _isinff(0);
23468 ;
23469 return 0;
23470 }
23471 _ACEOF
23472 if ac_fn_cxx_try_compile "$LINENO"; then :
23473 glibcxx_cv_func__isinff_use=yes
23474 else
23475 glibcxx_cv_func__isinff_use=no
23476 fi
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 ac_ext=c
23479 ac_cpp='$CPP $CPPFLAGS'
23480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23483
23484
23485 fi
23486
23487 fi
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23489 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23490
23491 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23492 for ac_func in _isinff
23493 do :
23494 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23495 if test "x$ac_cv_func__isinff" = x""yes; then :
23496 cat >>confdefs.h <<_ACEOF
23497 #define HAVE__ISINFF 1
23498 _ACEOF
23499
23500 fi
23501 done
23502
23503 fi
23504 fi
23505
23506
23507
23508
23509
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23511 $as_echo_n "checking for atan2f declaration... " >&6; }
23512 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23513 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23514 $as_echo_n "(cached) " >&6
23515 else
23516
23517
23518 ac_ext=cpp
23519 ac_cpp='$CXXCPP $CPPFLAGS'
23520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23523
23524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h. */
23526 #include <math.h>
23527 int
23528 main ()
23529 {
23530 atan2f(0, 0);
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 if ac_fn_cxx_try_compile "$LINENO"; then :
23536 glibcxx_cv_func_atan2f_use=yes
23537 else
23538 glibcxx_cv_func_atan2f_use=no
23539 fi
23540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23541 ac_ext=c
23542 ac_cpp='$CPP $CPPFLAGS'
23543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23546
23547
23548 fi
23549
23550 fi
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23552 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23553
23554 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23555 for ac_func in atan2f
23556 do :
23557 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23558 if test "x$ac_cv_func_atan2f" = x""yes; then :
23559 cat >>confdefs.h <<_ACEOF
23560 #define HAVE_ATAN2F 1
23561 _ACEOF
23562
23563 fi
23564 done
23565
23566 else
23567
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23569 $as_echo_n "checking for _atan2f declaration... " >&6; }
23570 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23571 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23572 $as_echo_n "(cached) " >&6
23573 else
23574
23575
23576 ac_ext=cpp
23577 ac_cpp='$CXXCPP $CPPFLAGS'
23578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23584 #include <math.h>
23585 int
23586 main ()
23587 {
23588 _atan2f(0, 0);
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 if ac_fn_cxx_try_compile "$LINENO"; then :
23594 glibcxx_cv_func__atan2f_use=yes
23595 else
23596 glibcxx_cv_func__atan2f_use=no
23597 fi
23598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23604
23605
23606 fi
23607
23608 fi
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23610 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23611
23612 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23613 for ac_func in _atan2f
23614 do :
23615 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23616 if test "x$ac_cv_func__atan2f" = x""yes; then :
23617 cat >>confdefs.h <<_ACEOF
23618 #define HAVE__ATAN2F 1
23619 _ACEOF
23620
23621 fi
23622 done
23623
23624 fi
23625 fi
23626
23627
23628
23629
23630
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23632 $as_echo_n "checking for fabsf declaration... " >&6; }
23633 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23634 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23637
23638
23639 ac_ext=cpp
23640 ac_cpp='$CXXCPP $CPPFLAGS'
23641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23651
23652 int
23653 main ()
23654 {
23655 fabsf(0);
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func_fabsf_use=yes
23662 else
23663 glibcxx_cv_func_fabsf_use=no
23664 fi
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671
23672
23673 fi
23674
23675 fi
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23677 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23678
23679 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23680 for ac_func in fabsf
23681 do :
23682 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23683 if test "x$ac_cv_func_fabsf" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_FABSF 1
23686 _ACEOF
23687
23688 fi
23689 done
23690
23691 else
23692
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23694 $as_echo_n "checking for _fabsf declaration... " >&6; }
23695 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23696 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23697 $as_echo_n "(cached) " >&6
23698 else
23699
23700
23701 ac_ext=cpp
23702 ac_cpp='$CXXCPP $CPPFLAGS'
23703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23706
23707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 /* end confdefs.h. */
23709 #include <math.h>
23710 #ifdef HAVE_IEEEFP_H
23711 #include <ieeefp.h>
23712 #endif
23713
23714 int
23715 main ()
23716 {
23717 _fabsf(0);
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func__fabsf_use=yes
23724 else
23725 glibcxx_cv_func__fabsf_use=no
23726 fi
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733
23734
23735 fi
23736
23737 fi
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23739 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23740
23741 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23742 for ac_func in _fabsf
23743 do :
23744 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23745 if test "x$ac_cv_func__fabsf" = x""yes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE__FABSF 1
23748 _ACEOF
23749
23750 fi
23751 done
23752
23753 fi
23754 fi
23755
23756
23757
23758
23759
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23761 $as_echo_n "checking for fmodf declaration... " >&6; }
23762 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23763 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23766
23767
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 int
23778 main ()
23779 {
23780 fmodf(0, 0);
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func_fmodf_use=yes
23787 else
23788 glibcxx_cv_func_fmodf_use=no
23789 fi
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796
23797
23798 fi
23799
23800 fi
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23802 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23803
23804 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23805 for ac_func in fmodf
23806 do :
23807 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23808 if test "x$ac_cv_func_fmodf" = x""yes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_FMODF 1
23811 _ACEOF
23812
23813 fi
23814 done
23815
23816 else
23817
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23819 $as_echo_n "checking for _fmodf declaration... " >&6; }
23820 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23821 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23824
23825
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 int
23836 main ()
23837 {
23838 _fmodf(0, 0);
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func__fmodf_use=yes
23845 else
23846 glibcxx_cv_func__fmodf_use=no
23847 fi
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23854
23855
23856 fi
23857
23858 fi
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23860 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23861
23862 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23863 for ac_func in _fmodf
23864 do :
23865 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23866 if test "x$ac_cv_func__fmodf" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE__FMODF 1
23869 _ACEOF
23870
23871 fi
23872 done
23873
23874 fi
23875 fi
23876
23877
23878
23879
23880
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23882 $as_echo_n "checking for frexpf declaration... " >&6; }
23883 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23884 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23885 $as_echo_n "(cached) " >&6
23886 else
23887
23888
23889 ac_ext=cpp
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23897 #include <math.h>
23898 int
23899 main ()
23900 {
23901 frexpf(0, 0);
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func_frexpf_use=yes
23908 else
23909 glibcxx_cv_func_frexpf_use=no
23910 fi
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917
23918
23919 fi
23920
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23923 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23924
23925 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23926 for ac_func in frexpf
23927 do :
23928 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23929 if test "x$ac_cv_func_frexpf" = x""yes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define HAVE_FREXPF 1
23932 _ACEOF
23933
23934 fi
23935 done
23936
23937 else
23938
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23940 $as_echo_n "checking for _frexpf declaration... " >&6; }
23941 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23942 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23943 $as_echo_n "(cached) " >&6
23944 else
23945
23946
23947 ac_ext=cpp
23948 ac_cpp='$CXXCPP $CPPFLAGS'
23949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952
23953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23954 /* end confdefs.h. */
23955 #include <math.h>
23956 int
23957 main ()
23958 {
23959 _frexpf(0, 0);
23960 ;
23961 return 0;
23962 }
23963 _ACEOF
23964 if ac_fn_cxx_try_compile "$LINENO"; then :
23965 glibcxx_cv_func__frexpf_use=yes
23966 else
23967 glibcxx_cv_func__frexpf_use=no
23968 fi
23969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23970 ac_ext=c
23971 ac_cpp='$CPP $CPPFLAGS'
23972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23975
23976
23977 fi
23978
23979 fi
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23981 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23982
23983 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23984 for ac_func in _frexpf
23985 do :
23986 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23987 if test "x$ac_cv_func__frexpf" = x""yes; then :
23988 cat >>confdefs.h <<_ACEOF
23989 #define HAVE__FREXPF 1
23990 _ACEOF
23991
23992 fi
23993 done
23994
23995 fi
23996 fi
23997
23998
23999
24000
24001
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24003 $as_echo_n "checking for hypotf declaration... " >&6; }
24004 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24005 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24006 $as_echo_n "(cached) " >&6
24007 else
24008
24009
24010 ac_ext=cpp
24011 ac_cpp='$CXXCPP $CPPFLAGS'
24012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015
24016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h. */
24018 #include <math.h>
24019 int
24020 main ()
24021 {
24022 hypotf(0, 0);
24023 ;
24024 return 0;
24025 }
24026 _ACEOF
24027 if ac_fn_cxx_try_compile "$LINENO"; then :
24028 glibcxx_cv_func_hypotf_use=yes
24029 else
24030 glibcxx_cv_func_hypotf_use=no
24031 fi
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038
24039
24040 fi
24041
24042 fi
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24044 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24045
24046 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24047 for ac_func in hypotf
24048 do :
24049 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24050 if test "x$ac_cv_func_hypotf" = x""yes; then :
24051 cat >>confdefs.h <<_ACEOF
24052 #define HAVE_HYPOTF 1
24053 _ACEOF
24054
24055 fi
24056 done
24057
24058 else
24059
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24061 $as_echo_n "checking for _hypotf declaration... " >&6; }
24062 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24063 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24064 $as_echo_n "(cached) " >&6
24065 else
24066
24067
24068 ac_ext=cpp
24069 ac_cpp='$CXXCPP $CPPFLAGS'
24070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24073
24074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24075 /* end confdefs.h. */
24076 #include <math.h>
24077 int
24078 main ()
24079 {
24080 _hypotf(0, 0);
24081 ;
24082 return 0;
24083 }
24084 _ACEOF
24085 if ac_fn_cxx_try_compile "$LINENO"; then :
24086 glibcxx_cv_func__hypotf_use=yes
24087 else
24088 glibcxx_cv_func__hypotf_use=no
24089 fi
24090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24091 ac_ext=c
24092 ac_cpp='$CPP $CPPFLAGS'
24093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24096
24097
24098 fi
24099
24100 fi
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24102 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24103
24104 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24105 for ac_func in _hypotf
24106 do :
24107 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24108 if test "x$ac_cv_func__hypotf" = x""yes; then :
24109 cat >>confdefs.h <<_ACEOF
24110 #define HAVE__HYPOTF 1
24111 _ACEOF
24112
24113 fi
24114 done
24115
24116 fi
24117 fi
24118
24119
24120
24121
24122
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24124 $as_echo_n "checking for ldexpf declaration... " >&6; }
24125 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24126 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24127 $as_echo_n "(cached) " >&6
24128 else
24129
24130
24131 ac_ext=cpp
24132 ac_cpp='$CXXCPP $CPPFLAGS'
24133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24136
24137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24138 /* end confdefs.h. */
24139 #include <math.h>
24140 int
24141 main ()
24142 {
24143 ldexpf(0, 0);
24144 ;
24145 return 0;
24146 }
24147 _ACEOF
24148 if ac_fn_cxx_try_compile "$LINENO"; then :
24149 glibcxx_cv_func_ldexpf_use=yes
24150 else
24151 glibcxx_cv_func_ldexpf_use=no
24152 fi
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154 ac_ext=c
24155 ac_cpp='$CPP $CPPFLAGS'
24156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159
24160
24161 fi
24162
24163 fi
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24165 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24166
24167 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24168 for ac_func in ldexpf
24169 do :
24170 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24171 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24172 cat >>confdefs.h <<_ACEOF
24173 #define HAVE_LDEXPF 1
24174 _ACEOF
24175
24176 fi
24177 done
24178
24179 else
24180
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24182 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24183 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24184 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24185 $as_echo_n "(cached) " >&6
24186 else
24187
24188
24189 ac_ext=cpp
24190 ac_cpp='$CXXCPP $CPPFLAGS'
24191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24194
24195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24196 /* end confdefs.h. */
24197 #include <math.h>
24198 int
24199 main ()
24200 {
24201 _ldexpf(0, 0);
24202 ;
24203 return 0;
24204 }
24205 _ACEOF
24206 if ac_fn_cxx_try_compile "$LINENO"; then :
24207 glibcxx_cv_func__ldexpf_use=yes
24208 else
24209 glibcxx_cv_func__ldexpf_use=no
24210 fi
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24212 ac_ext=c
24213 ac_cpp='$CPP $CPPFLAGS'
24214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24217
24218
24219 fi
24220
24221 fi
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24223 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24224
24225 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24226 for ac_func in _ldexpf
24227 do :
24228 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24229 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24230 cat >>confdefs.h <<_ACEOF
24231 #define HAVE__LDEXPF 1
24232 _ACEOF
24233
24234 fi
24235 done
24236
24237 fi
24238 fi
24239
24240
24241
24242
24243
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24245 $as_echo_n "checking for logf declaration... " >&6; }
24246 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24247 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24248 $as_echo_n "(cached) " >&6
24249 else
24250
24251
24252 ac_ext=cpp
24253 ac_cpp='$CXXCPP $CPPFLAGS'
24254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24257
24258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24259 /* end confdefs.h. */
24260 #include <math.h>
24261 #ifdef HAVE_IEEEFP_H
24262 #include <ieeefp.h>
24263 #endif
24264
24265 int
24266 main ()
24267 {
24268 logf(0);
24269 ;
24270 return 0;
24271 }
24272 _ACEOF
24273 if ac_fn_cxx_try_compile "$LINENO"; then :
24274 glibcxx_cv_func_logf_use=yes
24275 else
24276 glibcxx_cv_func_logf_use=no
24277 fi
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 ac_ext=c
24280 ac_cpp='$CPP $CPPFLAGS'
24281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24284
24285
24286 fi
24287
24288 fi
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24290 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24291
24292 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24293 for ac_func in logf
24294 do :
24295 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24296 if test "x$ac_cv_func_logf" = x""yes; then :
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE_LOGF 1
24299 _ACEOF
24300
24301 fi
24302 done
24303
24304 else
24305
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24307 $as_echo_n "checking for _logf declaration... " >&6; }
24308 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24309 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24310 $as_echo_n "(cached) " >&6
24311 else
24312
24313
24314 ac_ext=cpp
24315 ac_cpp='$CXXCPP $CPPFLAGS'
24316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24319
24320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24321 /* end confdefs.h. */
24322 #include <math.h>
24323 #ifdef HAVE_IEEEFP_H
24324 #include <ieeefp.h>
24325 #endif
24326
24327 int
24328 main ()
24329 {
24330 _logf(0);
24331 ;
24332 return 0;
24333 }
24334 _ACEOF
24335 if ac_fn_cxx_try_compile "$LINENO"; then :
24336 glibcxx_cv_func__logf_use=yes
24337 else
24338 glibcxx_cv_func__logf_use=no
24339 fi
24340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341 ac_ext=c
24342 ac_cpp='$CPP $CPPFLAGS'
24343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24346
24347
24348 fi
24349
24350 fi
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24352 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24353
24354 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24355 for ac_func in _logf
24356 do :
24357 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24358 if test "x$ac_cv_func__logf" = x""yes; then :
24359 cat >>confdefs.h <<_ACEOF
24360 #define HAVE__LOGF 1
24361 _ACEOF
24362
24363 fi
24364 done
24365
24366 fi
24367 fi
24368
24369
24370
24371
24372
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24374 $as_echo_n "checking for log10f declaration... " >&6; }
24375 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24376 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24377 $as_echo_n "(cached) " >&6
24378 else
24379
24380
24381 ac_ext=cpp
24382 ac_cpp='$CXXCPP $CPPFLAGS'
24383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386
24387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h. */
24389 #include <math.h>
24390 #ifdef HAVE_IEEEFP_H
24391 #include <ieeefp.h>
24392 #endif
24393
24394 int
24395 main ()
24396 {
24397 log10f(0);
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func_log10f_use=yes
24404 else
24405 glibcxx_cv_func_log10f_use=no
24406 fi
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 ac_ext=c
24409 ac_cpp='$CPP $CPPFLAGS'
24410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413
24414
24415 fi
24416
24417 fi
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24419 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24420
24421 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24422 for ac_func in log10f
24423 do :
24424 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24425 if test "x$ac_cv_func_log10f" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define HAVE_LOG10F 1
24428 _ACEOF
24429
24430 fi
24431 done
24432
24433 else
24434
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24436 $as_echo_n "checking for _log10f declaration... " >&6; }
24437 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24438 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24439 $as_echo_n "(cached) " >&6
24440 else
24441
24442
24443 ac_ext=cpp
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448
24449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450 /* end confdefs.h. */
24451 #include <math.h>
24452 #ifdef HAVE_IEEEFP_H
24453 #include <ieeefp.h>
24454 #endif
24455
24456 int
24457 main ()
24458 {
24459 _log10f(0);
24460 ;
24461 return 0;
24462 }
24463 _ACEOF
24464 if ac_fn_cxx_try_compile "$LINENO"; then :
24465 glibcxx_cv_func__log10f_use=yes
24466 else
24467 glibcxx_cv_func__log10f_use=no
24468 fi
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 ac_ext=c
24471 ac_cpp='$CPP $CPPFLAGS'
24472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475
24476
24477 fi
24478
24479 fi
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24481 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24482
24483 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24484 for ac_func in _log10f
24485 do :
24486 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24487 if test "x$ac_cv_func__log10f" = x""yes; then :
24488 cat >>confdefs.h <<_ACEOF
24489 #define HAVE__LOG10F 1
24490 _ACEOF
24491
24492 fi
24493 done
24494
24495 fi
24496 fi
24497
24498
24499
24500
24501
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24503 $as_echo_n "checking for modff declaration... " >&6; }
24504 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24505 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24506 $as_echo_n "(cached) " >&6
24507 else
24508
24509
24510 ac_ext=cpp
24511 ac_cpp='$CXXCPP $CPPFLAGS'
24512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24515
24516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24517 /* end confdefs.h. */
24518 #include <math.h>
24519 int
24520 main ()
24521 {
24522 modff(0, 0);
24523 ;
24524 return 0;
24525 }
24526 _ACEOF
24527 if ac_fn_cxx_try_compile "$LINENO"; then :
24528 glibcxx_cv_func_modff_use=yes
24529 else
24530 glibcxx_cv_func_modff_use=no
24531 fi
24532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 ac_ext=c
24534 ac_cpp='$CPP $CPPFLAGS'
24535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538
24539
24540 fi
24541
24542 fi
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24544 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24545
24546 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24547 for ac_func in modff
24548 do :
24549 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24550 if test "x$ac_cv_func_modff" = x""yes; then :
24551 cat >>confdefs.h <<_ACEOF
24552 #define HAVE_MODFF 1
24553 _ACEOF
24554
24555 fi
24556 done
24557
24558 else
24559
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24561 $as_echo_n "checking for _modff declaration... " >&6; }
24562 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24563 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24564 $as_echo_n "(cached) " >&6
24565 else
24566
24567
24568 ac_ext=cpp
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573
24574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24575 /* end confdefs.h. */
24576 #include <math.h>
24577 int
24578 main ()
24579 {
24580 _modff(0, 0);
24581 ;
24582 return 0;
24583 }
24584 _ACEOF
24585 if ac_fn_cxx_try_compile "$LINENO"; then :
24586 glibcxx_cv_func__modff_use=yes
24587 else
24588 glibcxx_cv_func__modff_use=no
24589 fi
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 ac_ext=c
24592 ac_cpp='$CPP $CPPFLAGS'
24593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596
24597
24598 fi
24599
24600 fi
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24602 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24603
24604 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24605 for ac_func in _modff
24606 do :
24607 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24608 if test "x$ac_cv_func__modff" = x""yes; then :
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE__MODFF 1
24611 _ACEOF
24612
24613 fi
24614 done
24615
24616 fi
24617 fi
24618
24619
24620
24621
24622
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24624 $as_echo_n "checking for modf declaration... " >&6; }
24625 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24626 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24628 else
24629
24630
24631 ac_ext=cpp
24632 ac_cpp='$CXXCPP $CPPFLAGS'
24633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24636
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639 #include <math.h>
24640 int
24641 main ()
24642 {
24643 modf(0, 0);
24644 ;
24645 return 0;
24646 }
24647 _ACEOF
24648 if ac_fn_cxx_try_compile "$LINENO"; then :
24649 glibcxx_cv_func_modf_use=yes
24650 else
24651 glibcxx_cv_func_modf_use=no
24652 fi
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 ac_ext=c
24655 ac_cpp='$CPP $CPPFLAGS'
24656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24659
24660
24661 fi
24662
24663 fi
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24665 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24666
24667 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24668 for ac_func in modf
24669 do :
24670 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24671 if test "x$ac_cv_func_modf" = x""yes; then :
24672 cat >>confdefs.h <<_ACEOF
24673 #define HAVE_MODF 1
24674 _ACEOF
24675
24676 fi
24677 done
24678
24679 else
24680
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24682 $as_echo_n "checking for _modf declaration... " >&6; }
24683 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24684 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24685 $as_echo_n "(cached) " >&6
24686 else
24687
24688
24689 ac_ext=cpp
24690 ac_cpp='$CXXCPP $CPPFLAGS'
24691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694
24695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24696 /* end confdefs.h. */
24697 #include <math.h>
24698 int
24699 main ()
24700 {
24701 _modf(0, 0);
24702 ;
24703 return 0;
24704 }
24705 _ACEOF
24706 if ac_fn_cxx_try_compile "$LINENO"; then :
24707 glibcxx_cv_func__modf_use=yes
24708 else
24709 glibcxx_cv_func__modf_use=no
24710 fi
24711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24712 ac_ext=c
24713 ac_cpp='$CPP $CPPFLAGS'
24714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24717
24718
24719 fi
24720
24721 fi
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24723 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24724
24725 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24726 for ac_func in _modf
24727 do :
24728 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24729 if test "x$ac_cv_func__modf" = x""yes; then :
24730 cat >>confdefs.h <<_ACEOF
24731 #define HAVE__MODF 1
24732 _ACEOF
24733
24734 fi
24735 done
24736
24737 fi
24738 fi
24739
24740
24741
24742
24743
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24745 $as_echo_n "checking for powf declaration... " >&6; }
24746 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24747 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24748 $as_echo_n "(cached) " >&6
24749 else
24750
24751
24752 ac_ext=cpp
24753 ac_cpp='$CXXCPP $CPPFLAGS'
24754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24757
24758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24759 /* end confdefs.h. */
24760 #include <math.h>
24761 int
24762 main ()
24763 {
24764 powf(0, 0);
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func_powf_use=yes
24771 else
24772 glibcxx_cv_func_powf_use=no
24773 fi
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780
24781
24782 fi
24783
24784 fi
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24786 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24787
24788 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24789 for ac_func in powf
24790 do :
24791 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24792 if test "x$ac_cv_func_powf" = x""yes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE_POWF 1
24795 _ACEOF
24796
24797 fi
24798 done
24799
24800 else
24801
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24803 $as_echo_n "checking for _powf declaration... " >&6; }
24804 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24805 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24806 $as_echo_n "(cached) " >&6
24807 else
24808
24809
24810 ac_ext=cpp
24811 ac_cpp='$CXXCPP $CPPFLAGS'
24812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24815
24816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24817 /* end confdefs.h. */
24818 #include <math.h>
24819 int
24820 main ()
24821 {
24822 _powf(0, 0);
24823 ;
24824 return 0;
24825 }
24826 _ACEOF
24827 if ac_fn_cxx_try_compile "$LINENO"; then :
24828 glibcxx_cv_func__powf_use=yes
24829 else
24830 glibcxx_cv_func__powf_use=no
24831 fi
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 ac_ext=c
24834 ac_cpp='$CPP $CPPFLAGS'
24835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24838
24839
24840 fi
24841
24842 fi
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24844 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24845
24846 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24847 for ac_func in _powf
24848 do :
24849 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24850 if test "x$ac_cv_func__powf" = x""yes; then :
24851 cat >>confdefs.h <<_ACEOF
24852 #define HAVE__POWF 1
24853 _ACEOF
24854
24855 fi
24856 done
24857
24858 fi
24859 fi
24860
24861
24862
24863
24864
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24866 $as_echo_n "checking for sqrtf declaration... " >&6; }
24867 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24868 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24870 else
24871
24872
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24878
24879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24880 /* end confdefs.h. */
24881 #include <math.h>
24882 #ifdef HAVE_IEEEFP_H
24883 #include <ieeefp.h>
24884 #endif
24885
24886 int
24887 main ()
24888 {
24889 sqrtf(0);
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func_sqrtf_use=yes
24896 else
24897 glibcxx_cv_func_sqrtf_use=no
24898 fi
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24905
24906
24907 fi
24908
24909 fi
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24911 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24912
24913 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24914 for ac_func in sqrtf
24915 do :
24916 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24917 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE_SQRTF 1
24920 _ACEOF
24921
24922 fi
24923 done
24924
24925 else
24926
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24928 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24929 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24930 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24931 $as_echo_n "(cached) " >&6
24932 else
24933
24934
24935 ac_ext=cpp
24936 ac_cpp='$CXXCPP $CPPFLAGS'
24937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24940
24941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h. */
24943 #include <math.h>
24944 #ifdef HAVE_IEEEFP_H
24945 #include <ieeefp.h>
24946 #endif
24947
24948 int
24949 main ()
24950 {
24951 _sqrtf(0);
24952 ;
24953 return 0;
24954 }
24955 _ACEOF
24956 if ac_fn_cxx_try_compile "$LINENO"; then :
24957 glibcxx_cv_func__sqrtf_use=yes
24958 else
24959 glibcxx_cv_func__sqrtf_use=no
24960 fi
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 ac_ext=c
24963 ac_cpp='$CPP $CPPFLAGS'
24964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967
24968
24969 fi
24970
24971 fi
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24973 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24974
24975 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24976 for ac_func in _sqrtf
24977 do :
24978 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24979 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24980 cat >>confdefs.h <<_ACEOF
24981 #define HAVE__SQRTF 1
24982 _ACEOF
24983
24984 fi
24985 done
24986
24987 fi
24988 fi
24989
24990
24991
24992
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24995 $as_echo_n "checking for sincosf declaration... " >&6; }
24996 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24997 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25000
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 int
25012 main ()
25013 {
25014 sincosf(0, 0, 0);
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func_sincosf_use=yes
25021 else
25022 glibcxx_cv_func_sincosf_use=no
25023 fi
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030
25031
25032 fi
25033
25034 fi
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25036 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25037
25038 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25039 for ac_func in sincosf
25040 do :
25041 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25042 if test "x$ac_cv_func_sincosf" = x""yes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE_SINCOSF 1
25045 _ACEOF
25046
25047 fi
25048 done
25049
25050 else
25051
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25053 $as_echo_n "checking for _sincosf declaration... " >&6; }
25054 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25055 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25056 $as_echo_n "(cached) " >&6
25057 else
25058
25059
25060 ac_ext=cpp
25061 ac_cpp='$CXXCPP $CPPFLAGS'
25062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25065
25066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25067 /* end confdefs.h. */
25068 #include <math.h>
25069 int
25070 main ()
25071 {
25072 _sincosf(0, 0, 0);
25073 ;
25074 return 0;
25075 }
25076 _ACEOF
25077 if ac_fn_cxx_try_compile "$LINENO"; then :
25078 glibcxx_cv_func__sincosf_use=yes
25079 else
25080 glibcxx_cv_func__sincosf_use=no
25081 fi
25082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25083 ac_ext=c
25084 ac_cpp='$CPP $CPPFLAGS'
25085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25088
25089
25090 fi
25091
25092 fi
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25094 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25095
25096 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25097 for ac_func in _sincosf
25098 do :
25099 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25100 if test "x$ac_cv_func__sincosf" = x""yes; then :
25101 cat >>confdefs.h <<_ACEOF
25102 #define HAVE__SINCOSF 1
25103 _ACEOF
25104
25105 fi
25106 done
25107
25108 fi
25109 fi
25110
25111
25112
25113
25114
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25116 $as_echo_n "checking for finitef declaration... " >&6; }
25117 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25118 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25119 $as_echo_n "(cached) " >&6
25120 else
25121
25122
25123 ac_ext=cpp
25124 ac_cpp='$CXXCPP $CPPFLAGS'
25125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128
25129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25131 #include <math.h>
25132 #ifdef HAVE_IEEEFP_H
25133 #include <ieeefp.h>
25134 #endif
25135
25136 int
25137 main ()
25138 {
25139 finitef(0);
25140 ;
25141 return 0;
25142 }
25143 _ACEOF
25144 if ac_fn_cxx_try_compile "$LINENO"; then :
25145 glibcxx_cv_func_finitef_use=yes
25146 else
25147 glibcxx_cv_func_finitef_use=no
25148 fi
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150 ac_ext=c
25151 ac_cpp='$CPP $CPPFLAGS'
25152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25155
25156
25157 fi
25158
25159 fi
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25161 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25162
25163 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25164 for ac_func in finitef
25165 do :
25166 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25167 if test "x$ac_cv_func_finitef" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE_FINITEF 1
25170 _ACEOF
25171
25172 fi
25173 done
25174
25175 else
25176
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25178 $as_echo_n "checking for _finitef declaration... " >&6; }
25179 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25180 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25181 $as_echo_n "(cached) " >&6
25182 else
25183
25184
25185 ac_ext=cpp
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190
25191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25193 #include <math.h>
25194 #ifdef HAVE_IEEEFP_H
25195 #include <ieeefp.h>
25196 #endif
25197
25198 int
25199 main ()
25200 {
25201 _finitef(0);
25202 ;
25203 return 0;
25204 }
25205 _ACEOF
25206 if ac_fn_cxx_try_compile "$LINENO"; then :
25207 glibcxx_cv_func__finitef_use=yes
25208 else
25209 glibcxx_cv_func__finitef_use=no
25210 fi
25211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25212 ac_ext=c
25213 ac_cpp='$CPP $CPPFLAGS'
25214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217
25218
25219 fi
25220
25221 fi
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25223 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25224
25225 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25226 for ac_func in _finitef
25227 do :
25228 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25229 if test "x$ac_cv_func__finitef" = x""yes; then :
25230 cat >>confdefs.h <<_ACEOF
25231 #define HAVE__FINITEF 1
25232 _ACEOF
25233
25234 fi
25235 done
25236
25237 fi
25238 fi
25239
25240
25241
25242
25243
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25245 $as_echo_n "checking for long double trig functions... " >&6; }
25246 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25247 $as_echo_n "(cached) " >&6
25248 else
25249
25250
25251 ac_ext=cpp
25252 ac_cpp='$CXXCPP $CPPFLAGS'
25253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256
25257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h. */
25259 #include <math.h>
25260 int
25261 main ()
25262 {
25263 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25264 ;
25265 return 0;
25266 }
25267 _ACEOF
25268 if ac_fn_cxx_try_compile "$LINENO"; then :
25269 glibcxx_cv_func_long_double_trig_use=yes
25270 else
25271 glibcxx_cv_func_long_double_trig_use=no
25272 fi
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 ac_ext=c
25275 ac_cpp='$CPP $CPPFLAGS'
25276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25279
25280 fi
25281
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25283 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25284 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25285 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25286 do :
25287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25289 eval as_val=\$$as_ac_var
25290 if test "x$as_val" = x""yes; then :
25291 cat >>confdefs.h <<_ACEOF
25292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25293 _ACEOF
25294
25295 fi
25296 done
25297
25298 else
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25300 $as_echo_n "checking for _long double trig functions... " >&6; }
25301 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25302 $as_echo_n "(cached) " >&6
25303 else
25304
25305
25306 ac_ext=cpp
25307 ac_cpp='$CXXCPP $CPPFLAGS'
25308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25311
25312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h. */
25314 #include <math.h>
25315 int
25316 main ()
25317 {
25318 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25319 ;
25320 return 0;
25321 }
25322 _ACEOF
25323 if ac_fn_cxx_try_compile "$LINENO"; then :
25324 glibcxx_cv_func__long_double_trig_use=yes
25325 else
25326 glibcxx_cv_func__long_double_trig_use=no
25327 fi
25328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 ac_ext=c
25330 ac_cpp='$CPP $CPPFLAGS'
25331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25334
25335 fi
25336
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25338 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25339 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25340 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25341 do :
25342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25344 eval as_val=\$$as_ac_var
25345 if test "x$as_val" = x""yes; then :
25346 cat >>confdefs.h <<_ACEOF
25347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25348 _ACEOF
25349
25350 fi
25351 done
25352
25353 fi
25354 fi
25355
25356
25357
25358
25359
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25361 $as_echo_n "checking for long double round functions... " >&6; }
25362 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25363 $as_echo_n "(cached) " >&6
25364 else
25365
25366
25367 ac_ext=cpp
25368 ac_cpp='$CXXCPP $CPPFLAGS'
25369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372
25373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25374 /* end confdefs.h. */
25375 #include <math.h>
25376 int
25377 main ()
25378 {
25379 ceill (0); floorl (0);
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 if ac_fn_cxx_try_compile "$LINENO"; then :
25385 glibcxx_cv_func_long_double_round_use=yes
25386 else
25387 glibcxx_cv_func_long_double_round_use=no
25388 fi
25389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25390 ac_ext=c
25391 ac_cpp='$CPP $CPPFLAGS'
25392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395
25396 fi
25397
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25399 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25400 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25401 for ac_func in ceill floorl
25402 do :
25403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25405 eval as_val=\$$as_ac_var
25406 if test "x$as_val" = x""yes; then :
25407 cat >>confdefs.h <<_ACEOF
25408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25409 _ACEOF
25410
25411 fi
25412 done
25413
25414 else
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25416 $as_echo_n "checking for _long double round functions... " >&6; }
25417 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25418 $as_echo_n "(cached) " >&6
25419 else
25420
25421
25422 ac_ext=cpp
25423 ac_cpp='$CXXCPP $CPPFLAGS'
25424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25427
25428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25429 /* end confdefs.h. */
25430 #include <math.h>
25431 int
25432 main ()
25433 {
25434 _ceill (0); _floorl (0);
25435 ;
25436 return 0;
25437 }
25438 _ACEOF
25439 if ac_fn_cxx_try_compile "$LINENO"; then :
25440 glibcxx_cv_func__long_double_round_use=yes
25441 else
25442 glibcxx_cv_func__long_double_round_use=no
25443 fi
25444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445 ac_ext=c
25446 ac_cpp='$CPP $CPPFLAGS'
25447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25450
25451 fi
25452
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25454 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25455 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25456 for ac_func in _ceill _floorl
25457 do :
25458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25460 eval as_val=\$$as_ac_var
25461 if test "x$as_val" = x""yes; then :
25462 cat >>confdefs.h <<_ACEOF
25463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25464 _ACEOF
25465
25466 fi
25467 done
25468
25469 fi
25470 fi
25471
25472
25473
25474
25475
25476
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25478 $as_echo_n "checking for isnanl declaration... " >&6; }
25479 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25480 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25481 $as_echo_n "(cached) " >&6
25482 else
25483
25484
25485 ac_ext=cpp
25486 ac_cpp='$CXXCPP $CPPFLAGS'
25487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25490
25491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25492 /* end confdefs.h. */
25493 #include <math.h>
25494 #ifdef HAVE_IEEEFP_H
25495 #include <ieeefp.h>
25496 #endif
25497
25498 int
25499 main ()
25500 {
25501 isnanl(0);
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 if ac_fn_cxx_try_compile "$LINENO"; then :
25507 glibcxx_cv_func_isnanl_use=yes
25508 else
25509 glibcxx_cv_func_isnanl_use=no
25510 fi
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_ext=c
25513 ac_cpp='$CPP $CPPFLAGS'
25514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25517
25518
25519 fi
25520
25521 fi
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25523 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25524
25525 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25526 for ac_func in isnanl
25527 do :
25528 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25529 if test "x$ac_cv_func_isnanl" = x""yes; then :
25530 cat >>confdefs.h <<_ACEOF
25531 #define HAVE_ISNANL 1
25532 _ACEOF
25533
25534 fi
25535 done
25536
25537 else
25538
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25540 $as_echo_n "checking for _isnanl declaration... " >&6; }
25541 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25542 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25543 $as_echo_n "(cached) " >&6
25544 else
25545
25546
25547 ac_ext=cpp
25548 ac_cpp='$CXXCPP $CPPFLAGS'
25549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25552
25553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h. */
25555 #include <math.h>
25556 #ifdef HAVE_IEEEFP_H
25557 #include <ieeefp.h>
25558 #endif
25559
25560 int
25561 main ()
25562 {
25563 _isnanl(0);
25564 ;
25565 return 0;
25566 }
25567 _ACEOF
25568 if ac_fn_cxx_try_compile "$LINENO"; then :
25569 glibcxx_cv_func__isnanl_use=yes
25570 else
25571 glibcxx_cv_func__isnanl_use=no
25572 fi
25573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25574 ac_ext=c
25575 ac_cpp='$CPP $CPPFLAGS'
25576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25579
25580
25581 fi
25582
25583 fi
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25585 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25586
25587 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25588 for ac_func in _isnanl
25589 do :
25590 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25591 if test "x$ac_cv_func__isnanl" = x""yes; then :
25592 cat >>confdefs.h <<_ACEOF
25593 #define HAVE__ISNANL 1
25594 _ACEOF
25595
25596 fi
25597 done
25598
25599 fi
25600 fi
25601
25602
25603
25604
25605
25606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25607 $as_echo_n "checking for isinfl declaration... " >&6; }
25608 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25609 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25610 $as_echo_n "(cached) " >&6
25611 else
25612
25613
25614 ac_ext=cpp
25615 ac_cpp='$CXXCPP $CPPFLAGS'
25616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25619
25620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25621 /* end confdefs.h. */
25622 #include <math.h>
25623 #ifdef HAVE_IEEEFP_H
25624 #include <ieeefp.h>
25625 #endif
25626
25627 int
25628 main ()
25629 {
25630 isinfl(0);
25631 ;
25632 return 0;
25633 }
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func_isinfl_use=yes
25637 else
25638 glibcxx_cv_func_isinfl_use=no
25639 fi
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25646
25647
25648 fi
25649
25650 fi
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25652 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25653
25654 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25655 for ac_func in isinfl
25656 do :
25657 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25658 if test "x$ac_cv_func_isinfl" = x""yes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE_ISINFL 1
25661 _ACEOF
25662
25663 fi
25664 done
25665
25666 else
25667
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25669 $as_echo_n "checking for _isinfl declaration... " >&6; }
25670 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25671 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25672 $as_echo_n "(cached) " >&6
25673 else
25674
25675
25676 ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h. */
25684 #include <math.h>
25685 #ifdef HAVE_IEEEFP_H
25686 #include <ieeefp.h>
25687 #endif
25688
25689 int
25690 main ()
25691 {
25692 _isinfl(0);
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 if ac_fn_cxx_try_compile "$LINENO"; then :
25698 glibcxx_cv_func__isinfl_use=yes
25699 else
25700 glibcxx_cv_func__isinfl_use=no
25701 fi
25702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25703 ac_ext=c
25704 ac_cpp='$CPP $CPPFLAGS'
25705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25708
25709
25710 fi
25711
25712 fi
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25714 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25715
25716 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25717 for ac_func in _isinfl
25718 do :
25719 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25720 if test "x$ac_cv_func__isinfl" = x""yes; then :
25721 cat >>confdefs.h <<_ACEOF
25722 #define HAVE__ISINFL 1
25723 _ACEOF
25724
25725 fi
25726 done
25727
25728 fi
25729 fi
25730
25731
25732
25733
25734
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25736 $as_echo_n "checking for atan2l declaration... " >&6; }
25737 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25738 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25739 $as_echo_n "(cached) " >&6
25740 else
25741
25742
25743 ac_ext=cpp
25744 ac_cpp='$CXXCPP $CPPFLAGS'
25745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25748
25749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25750 /* end confdefs.h. */
25751 #include <math.h>
25752 int
25753 main ()
25754 {
25755 atan2l(0, 0);
25756 ;
25757 return 0;
25758 }
25759 _ACEOF
25760 if ac_fn_cxx_try_compile "$LINENO"; then :
25761 glibcxx_cv_func_atan2l_use=yes
25762 else
25763 glibcxx_cv_func_atan2l_use=no
25764 fi
25765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25766 ac_ext=c
25767 ac_cpp='$CPP $CPPFLAGS'
25768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25771
25772
25773 fi
25774
25775 fi
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25777 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25778
25779 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25780 for ac_func in atan2l
25781 do :
25782 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25783 if test "x$ac_cv_func_atan2l" = x""yes; then :
25784 cat >>confdefs.h <<_ACEOF
25785 #define HAVE_ATAN2L 1
25786 _ACEOF
25787
25788 fi
25789 done
25790
25791 else
25792
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25794 $as_echo_n "checking for _atan2l declaration... " >&6; }
25795 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25796 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25797 $as_echo_n "(cached) " >&6
25798 else
25799
25800
25801 ac_ext=cpp
25802 ac_cpp='$CXXCPP $CPPFLAGS'
25803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25806
25807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25809 #include <math.h>
25810 int
25811 main ()
25812 {
25813 _atan2l(0, 0);
25814 ;
25815 return 0;
25816 }
25817 _ACEOF
25818 if ac_fn_cxx_try_compile "$LINENO"; then :
25819 glibcxx_cv_func__atan2l_use=yes
25820 else
25821 glibcxx_cv_func__atan2l_use=no
25822 fi
25823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824 ac_ext=c
25825 ac_cpp='$CPP $CPPFLAGS'
25826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829
25830
25831 fi
25832
25833 fi
25834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25835 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25836
25837 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25838 for ac_func in _atan2l
25839 do :
25840 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25841 if test "x$ac_cv_func__atan2l" = x""yes; then :
25842 cat >>confdefs.h <<_ACEOF
25843 #define HAVE__ATAN2L 1
25844 _ACEOF
25845
25846 fi
25847 done
25848
25849 fi
25850 fi
25851
25852
25853
25854
25855
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25857 $as_echo_n "checking for expl declaration... " >&6; }
25858 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25859 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25860 $as_echo_n "(cached) " >&6
25861 else
25862
25863
25864 ac_ext=cpp
25865 ac_cpp='$CXXCPP $CPPFLAGS'
25866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25869
25870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25871 /* end confdefs.h. */
25872 #include <math.h>
25873 #ifdef HAVE_IEEEFP_H
25874 #include <ieeefp.h>
25875 #endif
25876
25877 int
25878 main ()
25879 {
25880 expl(0);
25881 ;
25882 return 0;
25883 }
25884 _ACEOF
25885 if ac_fn_cxx_try_compile "$LINENO"; then :
25886 glibcxx_cv_func_expl_use=yes
25887 else
25888 glibcxx_cv_func_expl_use=no
25889 fi
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 ac_ext=c
25892 ac_cpp='$CPP $CPPFLAGS'
25893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25896
25897
25898 fi
25899
25900 fi
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25902 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25903
25904 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25905 for ac_func in expl
25906 do :
25907 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25908 if test "x$ac_cv_func_expl" = x""yes; then :
25909 cat >>confdefs.h <<_ACEOF
25910 #define HAVE_EXPL 1
25911 _ACEOF
25912
25913 fi
25914 done
25915
25916 else
25917
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25919 $as_echo_n "checking for _expl declaration... " >&6; }
25920 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25921 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25922 $as_echo_n "(cached) " >&6
25923 else
25924
25925
25926 ac_ext=cpp
25927 ac_cpp='$CXXCPP $CPPFLAGS'
25928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931
25932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933 /* end confdefs.h. */
25934 #include <math.h>
25935 #ifdef HAVE_IEEEFP_H
25936 #include <ieeefp.h>
25937 #endif
25938
25939 int
25940 main ()
25941 {
25942 _expl(0);
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 if ac_fn_cxx_try_compile "$LINENO"; then :
25948 glibcxx_cv_func__expl_use=yes
25949 else
25950 glibcxx_cv_func__expl_use=no
25951 fi
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958
25959
25960 fi
25961
25962 fi
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25964 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25965
25966 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25967 for ac_func in _expl
25968 do :
25969 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25970 if test "x$ac_cv_func__expl" = x""yes; then :
25971 cat >>confdefs.h <<_ACEOF
25972 #define HAVE__EXPL 1
25973 _ACEOF
25974
25975 fi
25976 done
25977
25978 fi
25979 fi
25980
25981
25982
25983
25984
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25986 $as_echo_n "checking for fabsl declaration... " >&6; }
25987 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25988 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25989 $as_echo_n "(cached) " >&6
25990 else
25991
25992
25993 ac_ext=cpp
25994 ac_cpp='$CXXCPP $CPPFLAGS'
25995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25998
25999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h. */
26001 #include <math.h>
26002 #ifdef HAVE_IEEEFP_H
26003 #include <ieeefp.h>
26004 #endif
26005
26006 int
26007 main ()
26008 {
26009 fabsl(0);
26010 ;
26011 return 0;
26012 }
26013 _ACEOF
26014 if ac_fn_cxx_try_compile "$LINENO"; then :
26015 glibcxx_cv_func_fabsl_use=yes
26016 else
26017 glibcxx_cv_func_fabsl_use=no
26018 fi
26019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26020 ac_ext=c
26021 ac_cpp='$CPP $CPPFLAGS'
26022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26025
26026
26027 fi
26028
26029 fi
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26031 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26032
26033 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26034 for ac_func in fabsl
26035 do :
26036 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26037 if test "x$ac_cv_func_fabsl" = x""yes; then :
26038 cat >>confdefs.h <<_ACEOF
26039 #define HAVE_FABSL 1
26040 _ACEOF
26041
26042 fi
26043 done
26044
26045 else
26046
26047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26048 $as_echo_n "checking for _fabsl declaration... " >&6; }
26049 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26050 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26051 $as_echo_n "(cached) " >&6
26052 else
26053
26054
26055 ac_ext=cpp
26056 ac_cpp='$CXXCPP $CPPFLAGS'
26057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26060
26061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26062 /* end confdefs.h. */
26063 #include <math.h>
26064 #ifdef HAVE_IEEEFP_H
26065 #include <ieeefp.h>
26066 #endif
26067
26068 int
26069 main ()
26070 {
26071 _fabsl(0);
26072 ;
26073 return 0;
26074 }
26075 _ACEOF
26076 if ac_fn_cxx_try_compile "$LINENO"; then :
26077 glibcxx_cv_func__fabsl_use=yes
26078 else
26079 glibcxx_cv_func__fabsl_use=no
26080 fi
26081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26082 ac_ext=c
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26087
26088
26089 fi
26090
26091 fi
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26093 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26094
26095 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26096 for ac_func in _fabsl
26097 do :
26098 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26099 if test "x$ac_cv_func__fabsl" = x""yes; then :
26100 cat >>confdefs.h <<_ACEOF
26101 #define HAVE__FABSL 1
26102 _ACEOF
26103
26104 fi
26105 done
26106
26107 fi
26108 fi
26109
26110
26111
26112
26113
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26115 $as_echo_n "checking for fmodl declaration... " >&6; }
26116 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26117 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26120
26121
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <math.h>
26131 int
26132 main ()
26133 {
26134 fmodl(0, 0);
26135 ;
26136 return 0;
26137 }
26138 _ACEOF
26139 if ac_fn_cxx_try_compile "$LINENO"; then :
26140 glibcxx_cv_func_fmodl_use=yes
26141 else
26142 glibcxx_cv_func_fmodl_use=no
26143 fi
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145 ac_ext=c
26146 ac_cpp='$CPP $CPPFLAGS'
26147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150
26151
26152 fi
26153
26154 fi
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26156 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26157
26158 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26159 for ac_func in fmodl
26160 do :
26161 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26162 if test "x$ac_cv_func_fmodl" = x""yes; then :
26163 cat >>confdefs.h <<_ACEOF
26164 #define HAVE_FMODL 1
26165 _ACEOF
26166
26167 fi
26168 done
26169
26170 else
26171
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26173 $as_echo_n "checking for _fmodl declaration... " >&6; }
26174 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26175 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26176 $as_echo_n "(cached) " >&6
26177 else
26178
26179
26180 ac_ext=cpp
26181 ac_cpp='$CXXCPP $CPPFLAGS'
26182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26188 #include <math.h>
26189 int
26190 main ()
26191 {
26192 _fmodl(0, 0);
26193 ;
26194 return 0;
26195 }
26196 _ACEOF
26197 if ac_fn_cxx_try_compile "$LINENO"; then :
26198 glibcxx_cv_func__fmodl_use=yes
26199 else
26200 glibcxx_cv_func__fmodl_use=no
26201 fi
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203 ac_ext=c
26204 ac_cpp='$CPP $CPPFLAGS'
26205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26208
26209
26210 fi
26211
26212 fi
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26214 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26215
26216 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26217 for ac_func in _fmodl
26218 do :
26219 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26220 if test "x$ac_cv_func__fmodl" = x""yes; then :
26221 cat >>confdefs.h <<_ACEOF
26222 #define HAVE__FMODL 1
26223 _ACEOF
26224
26225 fi
26226 done
26227
26228 fi
26229 fi
26230
26231
26232
26233
26234
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26236 $as_echo_n "checking for frexpl declaration... " >&6; }
26237 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26238 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26239 $as_echo_n "(cached) " >&6
26240 else
26241
26242
26243 ac_ext=cpp
26244 ac_cpp='$CXXCPP $CPPFLAGS'
26245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26248
26249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250 /* end confdefs.h. */
26251 #include <math.h>
26252 int
26253 main ()
26254 {
26255 frexpl(0, 0);
26256 ;
26257 return 0;
26258 }
26259 _ACEOF
26260 if ac_fn_cxx_try_compile "$LINENO"; then :
26261 glibcxx_cv_func_frexpl_use=yes
26262 else
26263 glibcxx_cv_func_frexpl_use=no
26264 fi
26265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26266 ac_ext=c
26267 ac_cpp='$CPP $CPPFLAGS'
26268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26271
26272
26273 fi
26274
26275 fi
26276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26277 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26278
26279 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26280 for ac_func in frexpl
26281 do :
26282 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26283 if test "x$ac_cv_func_frexpl" = x""yes; then :
26284 cat >>confdefs.h <<_ACEOF
26285 #define HAVE_FREXPL 1
26286 _ACEOF
26287
26288 fi
26289 done
26290
26291 else
26292
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26294 $as_echo_n "checking for _frexpl declaration... " >&6; }
26295 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26296 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26297 $as_echo_n "(cached) " >&6
26298 else
26299
26300
26301 ac_ext=cpp
26302 ac_cpp='$CXXCPP $CPPFLAGS'
26303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306
26307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26308 /* end confdefs.h. */
26309 #include <math.h>
26310 int
26311 main ()
26312 {
26313 _frexpl(0, 0);
26314 ;
26315 return 0;
26316 }
26317 _ACEOF
26318 if ac_fn_cxx_try_compile "$LINENO"; then :
26319 glibcxx_cv_func__frexpl_use=yes
26320 else
26321 glibcxx_cv_func__frexpl_use=no
26322 fi
26323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26324 ac_ext=c
26325 ac_cpp='$CPP $CPPFLAGS'
26326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26329
26330
26331 fi
26332
26333 fi
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26335 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26336
26337 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26338 for ac_func in _frexpl
26339 do :
26340 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26341 if test "x$ac_cv_func__frexpl" = x""yes; then :
26342 cat >>confdefs.h <<_ACEOF
26343 #define HAVE__FREXPL 1
26344 _ACEOF
26345
26346 fi
26347 done
26348
26349 fi
26350 fi
26351
26352
26353
26354
26355
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26357 $as_echo_n "checking for hypotl declaration... " >&6; }
26358 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26359 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26360 $as_echo_n "(cached) " >&6
26361 else
26362
26363
26364 ac_ext=cpp
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369
26370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26371 /* end confdefs.h. */
26372 #include <math.h>
26373 int
26374 main ()
26375 {
26376 hypotl(0, 0);
26377 ;
26378 return 0;
26379 }
26380 _ACEOF
26381 if ac_fn_cxx_try_compile "$LINENO"; then :
26382 glibcxx_cv_func_hypotl_use=yes
26383 else
26384 glibcxx_cv_func_hypotl_use=no
26385 fi
26386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26387 ac_ext=c
26388 ac_cpp='$CPP $CPPFLAGS'
26389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26392
26393
26394 fi
26395
26396 fi
26397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26398 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26399
26400 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26401 for ac_func in hypotl
26402 do :
26403 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26404 if test "x$ac_cv_func_hypotl" = x""yes; then :
26405 cat >>confdefs.h <<_ACEOF
26406 #define HAVE_HYPOTL 1
26407 _ACEOF
26408
26409 fi
26410 done
26411
26412 else
26413
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26415 $as_echo_n "checking for _hypotl declaration... " >&6; }
26416 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26417 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26418 $as_echo_n "(cached) " >&6
26419 else
26420
26421
26422 ac_ext=cpp
26423 ac_cpp='$CXXCPP $CPPFLAGS'
26424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26427
26428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26429 /* end confdefs.h. */
26430 #include <math.h>
26431 int
26432 main ()
26433 {
26434 _hypotl(0, 0);
26435 ;
26436 return 0;
26437 }
26438 _ACEOF
26439 if ac_fn_cxx_try_compile "$LINENO"; then :
26440 glibcxx_cv_func__hypotl_use=yes
26441 else
26442 glibcxx_cv_func__hypotl_use=no
26443 fi
26444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26445 ac_ext=c
26446 ac_cpp='$CPP $CPPFLAGS'
26447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26450
26451
26452 fi
26453
26454 fi
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26456 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26457
26458 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26459 for ac_func in _hypotl
26460 do :
26461 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26462 if test "x$ac_cv_func__hypotl" = x""yes; then :
26463 cat >>confdefs.h <<_ACEOF
26464 #define HAVE__HYPOTL 1
26465 _ACEOF
26466
26467 fi
26468 done
26469
26470 fi
26471 fi
26472
26473
26474
26475
26476
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26478 $as_echo_n "checking for ldexpl declaration... " >&6; }
26479 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26480 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26481 $as_echo_n "(cached) " >&6
26482 else
26483
26484
26485 ac_ext=cpp
26486 ac_cpp='$CXXCPP $CPPFLAGS'
26487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490
26491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26492 /* end confdefs.h. */
26493 #include <math.h>
26494 int
26495 main ()
26496 {
26497 ldexpl(0, 0);
26498 ;
26499 return 0;
26500 }
26501 _ACEOF
26502 if ac_fn_cxx_try_compile "$LINENO"; then :
26503 glibcxx_cv_func_ldexpl_use=yes
26504 else
26505 glibcxx_cv_func_ldexpl_use=no
26506 fi
26507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26508 ac_ext=c
26509 ac_cpp='$CPP $CPPFLAGS'
26510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26513
26514
26515 fi
26516
26517 fi
26518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26519 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26520
26521 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26522 for ac_func in ldexpl
26523 do :
26524 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26525 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26526 cat >>confdefs.h <<_ACEOF
26527 #define HAVE_LDEXPL 1
26528 _ACEOF
26529
26530 fi
26531 done
26532
26533 else
26534
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26536 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26537 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26538 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26539 $as_echo_n "(cached) " >&6
26540 else
26541
26542
26543 ac_ext=cpp
26544 ac_cpp='$CXXCPP $CPPFLAGS'
26545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26548
26549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26550 /* end confdefs.h. */
26551 #include <math.h>
26552 int
26553 main ()
26554 {
26555 _ldexpl(0, 0);
26556 ;
26557 return 0;
26558 }
26559 _ACEOF
26560 if ac_fn_cxx_try_compile "$LINENO"; then :
26561 glibcxx_cv_func__ldexpl_use=yes
26562 else
26563 glibcxx_cv_func__ldexpl_use=no
26564 fi
26565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26566 ac_ext=c
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26571
26572
26573 fi
26574
26575 fi
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26577 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26578
26579 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26580 for ac_func in _ldexpl
26581 do :
26582 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26583 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26584 cat >>confdefs.h <<_ACEOF
26585 #define HAVE__LDEXPL 1
26586 _ACEOF
26587
26588 fi
26589 done
26590
26591 fi
26592 fi
26593
26594
26595
26596
26597
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26599 $as_echo_n "checking for logl declaration... " >&6; }
26600 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26601 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26602 $as_echo_n "(cached) " >&6
26603 else
26604
26605
26606 ac_ext=cpp
26607 ac_cpp='$CXXCPP $CPPFLAGS'
26608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26611
26612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26613 /* end confdefs.h. */
26614 #include <math.h>
26615 #ifdef HAVE_IEEEFP_H
26616 #include <ieeefp.h>
26617 #endif
26618
26619 int
26620 main ()
26621 {
26622 logl(0);
26623 ;
26624 return 0;
26625 }
26626 _ACEOF
26627 if ac_fn_cxx_try_compile "$LINENO"; then :
26628 glibcxx_cv_func_logl_use=yes
26629 else
26630 glibcxx_cv_func_logl_use=no
26631 fi
26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 ac_ext=c
26634 ac_cpp='$CPP $CPPFLAGS'
26635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638
26639
26640 fi
26641
26642 fi
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26644 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26645
26646 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26647 for ac_func in logl
26648 do :
26649 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26650 if test "x$ac_cv_func_logl" = x""yes; then :
26651 cat >>confdefs.h <<_ACEOF
26652 #define HAVE_LOGL 1
26653 _ACEOF
26654
26655 fi
26656 done
26657
26658 else
26659
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26661 $as_echo_n "checking for _logl declaration... " >&6; }
26662 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26663 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26664 $as_echo_n "(cached) " >&6
26665 else
26666
26667
26668 ac_ext=cpp
26669 ac_cpp='$CXXCPP $CPPFLAGS'
26670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26673
26674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26675 /* end confdefs.h. */
26676 #include <math.h>
26677 #ifdef HAVE_IEEEFP_H
26678 #include <ieeefp.h>
26679 #endif
26680
26681 int
26682 main ()
26683 {
26684 _logl(0);
26685 ;
26686 return 0;
26687 }
26688 _ACEOF
26689 if ac_fn_cxx_try_compile "$LINENO"; then :
26690 glibcxx_cv_func__logl_use=yes
26691 else
26692 glibcxx_cv_func__logl_use=no
26693 fi
26694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26695 ac_ext=c
26696 ac_cpp='$CPP $CPPFLAGS'
26697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26700
26701
26702 fi
26703
26704 fi
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26706 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26707
26708 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26709 for ac_func in _logl
26710 do :
26711 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26712 if test "x$ac_cv_func__logl" = x""yes; then :
26713 cat >>confdefs.h <<_ACEOF
26714 #define HAVE__LOGL 1
26715 _ACEOF
26716
26717 fi
26718 done
26719
26720 fi
26721 fi
26722
26723
26724
26725
26726
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26728 $as_echo_n "checking for log10l declaration... " >&6; }
26729 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26730 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26733
26734
26735 ac_ext=cpp
26736 ac_cpp='$CXXCPP $CPPFLAGS'
26737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26740
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743 #include <math.h>
26744 #ifdef HAVE_IEEEFP_H
26745 #include <ieeefp.h>
26746 #endif
26747
26748 int
26749 main ()
26750 {
26751 log10l(0);
26752 ;
26753 return 0;
26754 }
26755 _ACEOF
26756 if ac_fn_cxx_try_compile "$LINENO"; then :
26757 glibcxx_cv_func_log10l_use=yes
26758 else
26759 glibcxx_cv_func_log10l_use=no
26760 fi
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 ac_ext=c
26763 ac_cpp='$CPP $CPPFLAGS'
26764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26767
26768
26769 fi
26770
26771 fi
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26773 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26774
26775 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26776 for ac_func in log10l
26777 do :
26778 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26779 if test "x$ac_cv_func_log10l" = x""yes; then :
26780 cat >>confdefs.h <<_ACEOF
26781 #define HAVE_LOG10L 1
26782 _ACEOF
26783
26784 fi
26785 done
26786
26787 else
26788
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26790 $as_echo_n "checking for _log10l declaration... " >&6; }
26791 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26792 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26793 $as_echo_n "(cached) " >&6
26794 else
26795
26796
26797 ac_ext=cpp
26798 ac_cpp='$CXXCPP $CPPFLAGS'
26799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26802
26803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26804 /* end confdefs.h. */
26805 #include <math.h>
26806 #ifdef HAVE_IEEEFP_H
26807 #include <ieeefp.h>
26808 #endif
26809
26810 int
26811 main ()
26812 {
26813 _log10l(0);
26814 ;
26815 return 0;
26816 }
26817 _ACEOF
26818 if ac_fn_cxx_try_compile "$LINENO"; then :
26819 glibcxx_cv_func__log10l_use=yes
26820 else
26821 glibcxx_cv_func__log10l_use=no
26822 fi
26823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26824 ac_ext=c
26825 ac_cpp='$CPP $CPPFLAGS'
26826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26829
26830
26831 fi
26832
26833 fi
26834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26835 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26836
26837 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26838 for ac_func in _log10l
26839 do :
26840 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26841 if test "x$ac_cv_func__log10l" = x""yes; then :
26842 cat >>confdefs.h <<_ACEOF
26843 #define HAVE__LOG10L 1
26844 _ACEOF
26845
26846 fi
26847 done
26848
26849 fi
26850 fi
26851
26852
26853
26854
26855
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26857 $as_echo_n "checking for modfl declaration... " >&6; }
26858 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26859 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26860 $as_echo_n "(cached) " >&6
26861 else
26862
26863
26864 ac_ext=cpp
26865 ac_cpp='$CXXCPP $CPPFLAGS'
26866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869
26870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26871 /* end confdefs.h. */
26872 #include <math.h>
26873 int
26874 main ()
26875 {
26876 modfl(0, 0);
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 if ac_fn_cxx_try_compile "$LINENO"; then :
26882 glibcxx_cv_func_modfl_use=yes
26883 else
26884 glibcxx_cv_func_modfl_use=no
26885 fi
26886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26887 ac_ext=c
26888 ac_cpp='$CPP $CPPFLAGS'
26889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26892
26893
26894 fi
26895
26896 fi
26897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26898 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26899
26900 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26901 for ac_func in modfl
26902 do :
26903 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26904 if test "x$ac_cv_func_modfl" = x""yes; then :
26905 cat >>confdefs.h <<_ACEOF
26906 #define HAVE_MODFL 1
26907 _ACEOF
26908
26909 fi
26910 done
26911
26912 else
26913
26914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26915 $as_echo_n "checking for _modfl declaration... " >&6; }
26916 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26917 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26918 $as_echo_n "(cached) " >&6
26919 else
26920
26921
26922 ac_ext=cpp
26923 ac_cpp='$CXXCPP $CPPFLAGS'
26924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26927
26928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26929 /* end confdefs.h. */
26930 #include <math.h>
26931 int
26932 main ()
26933 {
26934 _modfl(0, 0);
26935 ;
26936 return 0;
26937 }
26938 _ACEOF
26939 if ac_fn_cxx_try_compile "$LINENO"; then :
26940 glibcxx_cv_func__modfl_use=yes
26941 else
26942 glibcxx_cv_func__modfl_use=no
26943 fi
26944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26945 ac_ext=c
26946 ac_cpp='$CPP $CPPFLAGS'
26947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26950
26951
26952 fi
26953
26954 fi
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26956 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26957
26958 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26959 for ac_func in _modfl
26960 do :
26961 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26962 if test "x$ac_cv_func__modfl" = x""yes; then :
26963 cat >>confdefs.h <<_ACEOF
26964 #define HAVE__MODFL 1
26965 _ACEOF
26966
26967 fi
26968 done
26969
26970 fi
26971 fi
26972
26973
26974
26975
26976
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26978 $as_echo_n "checking for powl declaration... " >&6; }
26979 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26980 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26981 $as_echo_n "(cached) " >&6
26982 else
26983
26984
26985 ac_ext=cpp
26986 ac_cpp='$CXXCPP $CPPFLAGS'
26987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26990
26991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26992 /* end confdefs.h. */
26993 #include <math.h>
26994 int
26995 main ()
26996 {
26997 powl(0, 0);
26998 ;
26999 return 0;
27000 }
27001 _ACEOF
27002 if ac_fn_cxx_try_compile "$LINENO"; then :
27003 glibcxx_cv_func_powl_use=yes
27004 else
27005 glibcxx_cv_func_powl_use=no
27006 fi
27007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27008 ac_ext=c
27009 ac_cpp='$CPP $CPPFLAGS'
27010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27013
27014
27015 fi
27016
27017 fi
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27019 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27020
27021 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27022 for ac_func in powl
27023 do :
27024 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27025 if test "x$ac_cv_func_powl" = x""yes; then :
27026 cat >>confdefs.h <<_ACEOF
27027 #define HAVE_POWL 1
27028 _ACEOF
27029
27030 fi
27031 done
27032
27033 else
27034
27035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27036 $as_echo_n "checking for _powl declaration... " >&6; }
27037 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27038 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27039 $as_echo_n "(cached) " >&6
27040 else
27041
27042
27043 ac_ext=cpp
27044 ac_cpp='$CXXCPP $CPPFLAGS'
27045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27048
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27050 /* end confdefs.h. */
27051 #include <math.h>
27052 int
27053 main ()
27054 {
27055 _powl(0, 0);
27056 ;
27057 return 0;
27058 }
27059 _ACEOF
27060 if ac_fn_cxx_try_compile "$LINENO"; then :
27061 glibcxx_cv_func__powl_use=yes
27062 else
27063 glibcxx_cv_func__powl_use=no
27064 fi
27065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27066 ac_ext=c
27067 ac_cpp='$CPP $CPPFLAGS'
27068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27071
27072
27073 fi
27074
27075 fi
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27077 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27078
27079 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27080 for ac_func in _powl
27081 do :
27082 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27083 if test "x$ac_cv_func__powl" = x""yes; then :
27084 cat >>confdefs.h <<_ACEOF
27085 #define HAVE__POWL 1
27086 _ACEOF
27087
27088 fi
27089 done
27090
27091 fi
27092 fi
27093
27094
27095
27096
27097
27098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27099 $as_echo_n "checking for sqrtl declaration... " >&6; }
27100 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27101 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27102 $as_echo_n "(cached) " >&6
27103 else
27104
27105
27106 ac_ext=cpp
27107 ac_cpp='$CXXCPP $CPPFLAGS'
27108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27111
27112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27114 #include <math.h>
27115 #ifdef HAVE_IEEEFP_H
27116 #include <ieeefp.h>
27117 #endif
27118
27119 int
27120 main ()
27121 {
27122 sqrtl(0);
27123 ;
27124 return 0;
27125 }
27126 _ACEOF
27127 if ac_fn_cxx_try_compile "$LINENO"; then :
27128 glibcxx_cv_func_sqrtl_use=yes
27129 else
27130 glibcxx_cv_func_sqrtl_use=no
27131 fi
27132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 ac_ext=c
27134 ac_cpp='$CPP $CPPFLAGS'
27135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27138
27139
27140 fi
27141
27142 fi
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27144 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27145
27146 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27147 for ac_func in sqrtl
27148 do :
27149 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27150 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27151 cat >>confdefs.h <<_ACEOF
27152 #define HAVE_SQRTL 1
27153 _ACEOF
27154
27155 fi
27156 done
27157
27158 else
27159
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27161 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27162 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27163 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27164 $as_echo_n "(cached) " >&6
27165 else
27166
27167
27168 ac_ext=cpp
27169 ac_cpp='$CXXCPP $CPPFLAGS'
27170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27173
27174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27175 /* end confdefs.h. */
27176 #include <math.h>
27177 #ifdef HAVE_IEEEFP_H
27178 #include <ieeefp.h>
27179 #endif
27180
27181 int
27182 main ()
27183 {
27184 _sqrtl(0);
27185 ;
27186 return 0;
27187 }
27188 _ACEOF
27189 if ac_fn_cxx_try_compile "$LINENO"; then :
27190 glibcxx_cv_func__sqrtl_use=yes
27191 else
27192 glibcxx_cv_func__sqrtl_use=no
27193 fi
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27195 ac_ext=c
27196 ac_cpp='$CPP $CPPFLAGS'
27197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27200
27201
27202 fi
27203
27204 fi
27205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27206 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27207
27208 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27209 for ac_func in _sqrtl
27210 do :
27211 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27212 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27213 cat >>confdefs.h <<_ACEOF
27214 #define HAVE__SQRTL 1
27215 _ACEOF
27216
27217 fi
27218 done
27219
27220 fi
27221 fi
27222
27223
27224
27225
27226
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27228 $as_echo_n "checking for sincosl declaration... " >&6; }
27229 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27230 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27231 $as_echo_n "(cached) " >&6
27232 else
27233
27234
27235 ac_ext=cpp
27236 ac_cpp='$CXXCPP $CPPFLAGS'
27237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27240
27241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27242 /* end confdefs.h. */
27243 #include <math.h>
27244 int
27245 main ()
27246 {
27247 sincosl(0, 0, 0);
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 if ac_fn_cxx_try_compile "$LINENO"; then :
27253 glibcxx_cv_func_sincosl_use=yes
27254 else
27255 glibcxx_cv_func_sincosl_use=no
27256 fi
27257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 ac_ext=c
27259 ac_cpp='$CPP $CPPFLAGS'
27260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27263
27264
27265 fi
27266
27267 fi
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27269 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27270
27271 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27272 for ac_func in sincosl
27273 do :
27274 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27275 if test "x$ac_cv_func_sincosl" = x""yes; then :
27276 cat >>confdefs.h <<_ACEOF
27277 #define HAVE_SINCOSL 1
27278 _ACEOF
27279
27280 fi
27281 done
27282
27283 else
27284
27285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27286 $as_echo_n "checking for _sincosl declaration... " >&6; }
27287 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27288 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27289 $as_echo_n "(cached) " >&6
27290 else
27291
27292
27293 ac_ext=cpp
27294 ac_cpp='$CXXCPP $CPPFLAGS'
27295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27298
27299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27300 /* end confdefs.h. */
27301 #include <math.h>
27302 int
27303 main ()
27304 {
27305 _sincosl(0, 0, 0);
27306 ;
27307 return 0;
27308 }
27309 _ACEOF
27310 if ac_fn_cxx_try_compile "$LINENO"; then :
27311 glibcxx_cv_func__sincosl_use=yes
27312 else
27313 glibcxx_cv_func__sincosl_use=no
27314 fi
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27316 ac_ext=c
27317 ac_cpp='$CPP $CPPFLAGS'
27318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27321
27322
27323 fi
27324
27325 fi
27326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27327 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27328
27329 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27330 for ac_func in _sincosl
27331 do :
27332 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27333 if test "x$ac_cv_func__sincosl" = x""yes; then :
27334 cat >>confdefs.h <<_ACEOF
27335 #define HAVE__SINCOSL 1
27336 _ACEOF
27337
27338 fi
27339 done
27340
27341 fi
27342 fi
27343
27344
27345
27346
27347
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27349 $as_echo_n "checking for finitel declaration... " >&6; }
27350 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27351 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27352 $as_echo_n "(cached) " >&6
27353 else
27354
27355
27356 ac_ext=cpp
27357 ac_cpp='$CXXCPP $CPPFLAGS'
27358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27361
27362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27363 /* end confdefs.h. */
27364 #include <math.h>
27365 #ifdef HAVE_IEEEFP_H
27366 #include <ieeefp.h>
27367 #endif
27368
27369 int
27370 main ()
27371 {
27372 finitel(0);
27373 ;
27374 return 0;
27375 }
27376 _ACEOF
27377 if ac_fn_cxx_try_compile "$LINENO"; then :
27378 glibcxx_cv_func_finitel_use=yes
27379 else
27380 glibcxx_cv_func_finitel_use=no
27381 fi
27382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383 ac_ext=c
27384 ac_cpp='$CPP $CPPFLAGS'
27385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27388
27389
27390 fi
27391
27392 fi
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27394 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27395
27396 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27397 for ac_func in finitel
27398 do :
27399 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27400 if test "x$ac_cv_func_finitel" = x""yes; then :
27401 cat >>confdefs.h <<_ACEOF
27402 #define HAVE_FINITEL 1
27403 _ACEOF
27404
27405 fi
27406 done
27407
27408 else
27409
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27411 $as_echo_n "checking for _finitel declaration... " >&6; }
27412 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27413 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27414 $as_echo_n "(cached) " >&6
27415 else
27416
27417
27418 ac_ext=cpp
27419 ac_cpp='$CXXCPP $CPPFLAGS'
27420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27423
27424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27425 /* end confdefs.h. */
27426 #include <math.h>
27427 #ifdef HAVE_IEEEFP_H
27428 #include <ieeefp.h>
27429 #endif
27430
27431 int
27432 main ()
27433 {
27434 _finitel(0);
27435 ;
27436 return 0;
27437 }
27438 _ACEOF
27439 if ac_fn_cxx_try_compile "$LINENO"; then :
27440 glibcxx_cv_func__finitel_use=yes
27441 else
27442 glibcxx_cv_func__finitel_use=no
27443 fi
27444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27450
27451
27452 fi
27453
27454 fi
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27456 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27457
27458 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27459 for ac_func in _finitel
27460 do :
27461 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27462 if test "x$ac_cv_func__finitel" = x""yes; then :
27463 cat >>confdefs.h <<_ACEOF
27464 #define HAVE__FINITEL 1
27465 _ACEOF
27466
27467 fi
27468 done
27469
27470 fi
27471 fi
27472
27473
27474
27475
27476 LIBS="$ac_save_LIBS"
27477 CXXFLAGS="$ac_save_CXXFLAGS"
27478
27479
27480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27481 ac_save_CXXFLAGS="$CXXFLAGS"
27482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27483
27484
27485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27486 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27487 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27488 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27489 $as_echo_n "(cached) " >&6
27490 else
27491
27492
27493 ac_ext=cpp
27494 ac_cpp='$CXXCPP $CPPFLAGS'
27495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27498
27499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27500 /* end confdefs.h. */
27501 #include <stdlib.h>
27502 int
27503 main ()
27504 {
27505 at_quick_exit(0);
27506 ;
27507 return 0;
27508 }
27509 _ACEOF
27510 if ac_fn_cxx_try_compile "$LINENO"; then :
27511 glibcxx_cv_func_at_quick_exit_use=yes
27512 else
27513 glibcxx_cv_func_at_quick_exit_use=no
27514 fi
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 ac_ext=c
27517 ac_cpp='$CPP $CPPFLAGS'
27518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27521
27522
27523 fi
27524
27525 fi
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27527 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27528 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27529 for ac_func in at_quick_exit
27530 do :
27531 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27532 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27533 cat >>confdefs.h <<_ACEOF
27534 #define HAVE_AT_QUICK_EXIT 1
27535 _ACEOF
27536
27537 fi
27538 done
27539
27540 fi
27541
27542
27543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27544 $as_echo_n "checking for quick_exit declaration... " >&6; }
27545 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27546 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27547 $as_echo_n "(cached) " >&6
27548 else
27549
27550
27551 ac_ext=cpp
27552 ac_cpp='$CXXCPP $CPPFLAGS'
27553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27556
27557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27558 /* end confdefs.h. */
27559 #include <stdlib.h>
27560 int
27561 main ()
27562 {
27563 quick_exit(0);
27564 ;
27565 return 0;
27566 }
27567 _ACEOF
27568 if ac_fn_cxx_try_compile "$LINENO"; then :
27569 glibcxx_cv_func_quick_exit_use=yes
27570 else
27571 glibcxx_cv_func_quick_exit_use=no
27572 fi
27573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27574 ac_ext=c
27575 ac_cpp='$CPP $CPPFLAGS'
27576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27579
27580
27581 fi
27582
27583 fi
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27585 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27586 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27587 for ac_func in quick_exit
27588 do :
27589 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27590 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27591 cat >>confdefs.h <<_ACEOF
27592 #define HAVE_QUICK_EXIT 1
27593 _ACEOF
27594
27595 fi
27596 done
27597
27598 fi
27599
27600
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27602 $as_echo_n "checking for strtold declaration... " >&6; }
27603 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27604 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27605 $as_echo_n "(cached) " >&6
27606 else
27607
27608
27609 ac_ext=cpp
27610 ac_cpp='$CXXCPP $CPPFLAGS'
27611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27614
27615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27616 /* end confdefs.h. */
27617 #include <stdlib.h>
27618 int
27619 main ()
27620 {
27621 strtold(0, 0);
27622 ;
27623 return 0;
27624 }
27625 _ACEOF
27626 if ac_fn_cxx_try_compile "$LINENO"; then :
27627 glibcxx_cv_func_strtold_use=yes
27628 else
27629 glibcxx_cv_func_strtold_use=no
27630 fi
27631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27632 ac_ext=c
27633 ac_cpp='$CPP $CPPFLAGS'
27634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27637
27638
27639 fi
27640
27641 fi
27642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27643 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27644 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27645 for ac_func in strtold
27646 do :
27647 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27648 if test "x$ac_cv_func_strtold" = x""yes; then :
27649 cat >>confdefs.h <<_ACEOF
27650 #define HAVE_STRTOLD 1
27651 _ACEOF
27652
27653 fi
27654 done
27655
27656 fi
27657
27658
27659
27660
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27662 $as_echo_n "checking for strtof declaration... " >&6; }
27663 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27664 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27665 $as_echo_n "(cached) " >&6
27666 else
27667
27668
27669 ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674
27675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27676 /* end confdefs.h. */
27677 #include <stdlib.h>
27678 int
27679 main ()
27680 {
27681 strtof(0, 0);
27682 ;
27683 return 0;
27684 }
27685 _ACEOF
27686 if ac_fn_cxx_try_compile "$LINENO"; then :
27687 glibcxx_cv_func_strtof_use=yes
27688 else
27689 glibcxx_cv_func_strtof_use=no
27690 fi
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692 ac_ext=c
27693 ac_cpp='$CPP $CPPFLAGS'
27694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697
27698
27699 fi
27700
27701 fi
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27703 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27705 for ac_func in strtof
27706 do :
27707 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27708 if test "x$ac_cv_func_strtof" = x""yes; then :
27709 cat >>confdefs.h <<_ACEOF
27710 #define HAVE_STRTOF 1
27711 _ACEOF
27712
27713 fi
27714 done
27715
27716 fi
27717
27718
27719
27720
27721 CXXFLAGS="$ac_save_CXXFLAGS"
27722
27723
27724 # For /dev/random and /dev/urandom for TR1.
27725
27726
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27728 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27729 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27730 $as_echo_n "(cached) " >&6
27731 else
27732
27733 if test -r /dev/random && test -r /dev/urandom; then
27734 ## For MSys environment the test above is detect as false-positive
27735 ## on mingw-targets. So disable it explicit for them.
27736 case ${target_os} in
27737 *mingw*) glibcxx_cv_random_tr1=no ;;
27738 *) glibcxx_cv_random_tr1=yes ;;
27739 esac
27740 else
27741 glibcxx_cv_random_tr1=no;
27742 fi
27743
27744 fi
27745
27746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27747 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27748
27749 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27750
27751 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27752
27753 fi
27754
27755
27756
27757 # For TLS support.
27758
27759
27760 # Check whether --enable-tls was given.
27761 if test "${enable_tls+set}" = set; then :
27762 enableval=$enable_tls;
27763 case "$enableval" in
27764 yes|no) ;;
27765 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27766 esac
27767
27768 else
27769 enable_tls=yes
27770 fi
27771
27772
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27774 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27775 if test "${gcc_cv_have_tls+set}" = set; then :
27776 $as_echo_n "(cached) " >&6
27777 else
27778
27779 if test "$cross_compiling" = yes; then :
27780 if test x$gcc_no_link = xyes; then
27781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27782 fi
27783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27784 /* end confdefs.h. */
27785 __thread int a; int b; int main() { return a = b; }
27786 _ACEOF
27787 if ac_fn_c_try_link "$LINENO"; then :
27788 chktls_save_LDFLAGS="$LDFLAGS"
27789 case $host in
27790 *-*-linux*)
27791 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27792 ;;
27793 esac
27794 chktls_save_CFLAGS="$CFLAGS"
27795 CFLAGS="-fPIC $CFLAGS"
27796 if test x$gcc_no_link = xyes; then
27797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27798 fi
27799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27800 /* end confdefs.h. */
27801 int f() { return 0; }
27802 _ACEOF
27803 if ac_fn_c_try_link "$LINENO"; then :
27804 if test x$gcc_no_link = xyes; then
27805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27806 fi
27807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27808 /* end confdefs.h. */
27809 __thread int a; int b; int f() { return a = b; }
27810 _ACEOF
27811 if ac_fn_c_try_link "$LINENO"; then :
27812 gcc_cv_have_tls=yes
27813 else
27814 gcc_cv_have_tls=no
27815 fi
27816 rm -f core conftest.err conftest.$ac_objext \
27817 conftest$ac_exeext conftest.$ac_ext
27818 else
27819 gcc_cv_have_tls=yes
27820 fi
27821 rm -f core conftest.err conftest.$ac_objext \
27822 conftest$ac_exeext conftest.$ac_ext
27823 CFLAGS="$chktls_save_CFLAGS"
27824 LDFLAGS="$chktls_save_LDFLAGS"
27825 else
27826 gcc_cv_have_tls=no
27827 fi
27828 rm -f core conftest.err conftest.$ac_objext \
27829 conftest$ac_exeext conftest.$ac_ext
27830
27831
27832 else
27833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27834 /* end confdefs.h. */
27835 __thread int a; int b; int main() { return a = b; }
27836 _ACEOF
27837 if ac_fn_c_try_run "$LINENO"; then :
27838 chktls_save_LDFLAGS="$LDFLAGS"
27839 LDFLAGS="-static $LDFLAGS"
27840 if test x$gcc_no_link = xyes; then
27841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27842 fi
27843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27844 /* end confdefs.h. */
27845 int main() { return 0; }
27846 _ACEOF
27847 if ac_fn_c_try_link "$LINENO"; then :
27848 if test "$cross_compiling" = yes; then :
27849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27851 as_fn_error "cannot run test program while cross compiling
27852 See \`config.log' for more details." "$LINENO" 5; }
27853 else
27854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27855 /* end confdefs.h. */
27856 __thread int a; int b; int main() { return a = b; }
27857 _ACEOF
27858 if ac_fn_c_try_run "$LINENO"; then :
27859 gcc_cv_have_tls=yes
27860 else
27861 gcc_cv_have_tls=no
27862 fi
27863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27864 conftest.$ac_objext conftest.beam conftest.$ac_ext
27865 fi
27866
27867 else
27868 gcc_cv_have_tls=yes
27869 fi
27870 rm -f core conftest.err conftest.$ac_objext \
27871 conftest$ac_exeext conftest.$ac_ext
27872 LDFLAGS="$chktls_save_LDFLAGS"
27873 if test $gcc_cv_have_tls = yes; then
27874 chktls_save_CFLAGS="$CFLAGS"
27875 thread_CFLAGS=failed
27876 for flag in '' '-pthread' '-lpthread'; do
27877 CFLAGS="$flag $chktls_save_CFLAGS"
27878 if test x$gcc_no_link = xyes; then
27879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27880 fi
27881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27882 /* end confdefs.h. */
27883 #include <pthread.h>
27884 void *g(void *d) { return NULL; }
27885 int
27886 main ()
27887 {
27888 pthread_t t; pthread_create(&t,NULL,g,NULL);
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 if ac_fn_c_try_link "$LINENO"; then :
27894 thread_CFLAGS="$flag"
27895 fi
27896 rm -f core conftest.err conftest.$ac_objext \
27897 conftest$ac_exeext conftest.$ac_ext
27898 if test "X$thread_CFLAGS" != Xfailed; then
27899 break
27900 fi
27901 done
27902 CFLAGS="$chktls_save_CFLAGS"
27903 if test "X$thread_CFLAGS" != Xfailed; then
27904 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27905 if test "$cross_compiling" = yes; then :
27906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27908 as_fn_error "cannot run test program while cross compiling
27909 See \`config.log' for more details." "$LINENO" 5; }
27910 else
27911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27912 /* end confdefs.h. */
27913 #include <pthread.h>
27914 __thread int a;
27915 static int *volatile a_in_other_thread;
27916 static void *
27917 thread_func (void *arg)
27918 {
27919 a_in_other_thread = &a;
27920 return (void *)0;
27921 }
27922 int
27923 main ()
27924 {
27925 pthread_t thread;
27926 void *thread_retval;
27927 int *volatile a_in_main_thread;
27928 a_in_main_thread = &a;
27929 if (pthread_create (&thread, (pthread_attr_t *)0,
27930 thread_func, (void *)0))
27931 return 0;
27932 if (pthread_join (thread, &thread_retval))
27933 return 0;
27934 return (a_in_other_thread == a_in_main_thread);
27935 ;
27936 return 0;
27937 }
27938 _ACEOF
27939 if ac_fn_c_try_run "$LINENO"; then :
27940 gcc_cv_have_tls=yes
27941 else
27942 gcc_cv_have_tls=no
27943 fi
27944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27945 conftest.$ac_objext conftest.beam conftest.$ac_ext
27946 fi
27947
27948 CFLAGS="$chktls_save_CFLAGS"
27949 fi
27950 fi
27951 else
27952 gcc_cv_have_tls=no
27953 fi
27954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27955 conftest.$ac_objext conftest.beam conftest.$ac_ext
27956 fi
27957
27958 fi
27959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27960 $as_echo "$gcc_cv_have_tls" >&6; }
27961 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27962
27963 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27964
27965 fi
27966
27967 for ac_func in __cxa_thread_atexit_impl
27968 do :
27969 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27970 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27971 cat >>confdefs.h <<_ACEOF
27972 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27973 _ACEOF
27974
27975 fi
27976 done
27977
27978 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
27979 do :
27980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27982 eval as_val=\$$as_ac_var
27983 if test "x$as_val" = x""yes; then :
27984 cat >>confdefs.h <<_ACEOF
27985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27986 _ACEOF
27987
27988 fi
27989 done
27990
27991
27992 # For iconv support.
27993
27994 if test "X$prefix" = "XNONE"; then
27995 acl_final_prefix="$ac_default_prefix"
27996 else
27997 acl_final_prefix="$prefix"
27998 fi
27999 if test "X$exec_prefix" = "XNONE"; then
28000 acl_final_exec_prefix='${prefix}'
28001 else
28002 acl_final_exec_prefix="$exec_prefix"
28003 fi
28004 acl_save_prefix="$prefix"
28005 prefix="$acl_final_prefix"
28006 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28007 prefix="$acl_save_prefix"
28008
28009
28010 # Check whether --with-gnu-ld was given.
28011 if test "${with_gnu_ld+set}" = set; then :
28012 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28013 else
28014 with_gnu_ld=no
28015 fi
28016
28017 # Prepare PATH_SEPARATOR.
28018 # The user is always right.
28019 if test "${PATH_SEPARATOR+set}" != set; then
28020 echo "#! /bin/sh" >conf$$.sh
28021 echo "exit 0" >>conf$$.sh
28022 chmod +x conf$$.sh
28023 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28024 PATH_SEPARATOR=';'
28025 else
28026 PATH_SEPARATOR=:
28027 fi
28028 rm -f conf$$.sh
28029 fi
28030 ac_prog=ld
28031 if test "$GCC" = yes; then
28032 # Check if gcc -print-prog-name=ld gives a path.
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28034 $as_echo_n "checking for ld used by GCC... " >&6; }
28035 case $host in
28036 *-*-mingw*)
28037 # gcc leaves a trailing carriage return which upsets mingw
28038 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28039 *)
28040 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28041 esac
28042 case $ac_prog in
28043 # Accept absolute paths.
28044 [\\/]* | [A-Za-z]:[\\/]*)
28045 re_direlt='/[^/][^/]*/\.\./'
28046 # Canonicalize the path of ld
28047 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28048 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28049 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28050 done
28051 test -z "$LD" && LD="$ac_prog"
28052 ;;
28053 "")
28054 # If it fails, then pretend we aren't using GCC.
28055 ac_prog=ld
28056 ;;
28057 *)
28058 # If it is relative, then search for the first ld in PATH.
28059 with_gnu_ld=unknown
28060 ;;
28061 esac
28062 elif test "$with_gnu_ld" = yes; then
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28064 $as_echo_n "checking for GNU ld... " >&6; }
28065 else
28066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28067 $as_echo_n "checking for non-GNU ld... " >&6; }
28068 fi
28069 if test "${acl_cv_path_LD+set}" = set; then :
28070 $as_echo_n "(cached) " >&6
28071 else
28072 if test -z "$LD"; then
28073 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28074 for ac_dir in $PATH; do
28075 test -z "$ac_dir" && ac_dir=.
28076 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28077 acl_cv_path_LD="$ac_dir/$ac_prog"
28078 # Check to see if the program is GNU ld. I'd rather use --version,
28079 # but apparently some GNU ld's only accept -v.
28080 # Break only if it was the GNU/non-GNU ld that we prefer.
28081 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28082 test "$with_gnu_ld" != no && break
28083 else
28084 test "$with_gnu_ld" != yes && break
28085 fi
28086 fi
28087 done
28088 IFS="$ac_save_ifs"
28089 else
28090 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28091 fi
28092 fi
28093
28094 LD="$acl_cv_path_LD"
28095 if test -n "$LD"; then
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28097 $as_echo "$LD" >&6; }
28098 else
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28100 $as_echo "no" >&6; }
28101 fi
28102 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28104 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28105 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28106 $as_echo_n "(cached) " >&6
28107 else
28108 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28109 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28110 acl_cv_prog_gnu_ld=yes
28111 else
28112 acl_cv_prog_gnu_ld=no
28113 fi
28114 fi
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28116 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28117 with_gnu_ld=$acl_cv_prog_gnu_ld
28118
28119
28120
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28122 $as_echo_n "checking for shared library run path origin... " >&6; }
28123 if test "${acl_cv_rpath+set}" = set; then :
28124 $as_echo_n "(cached) " >&6
28125 else
28126
28127 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28128 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28129 . ./conftest.sh
28130 rm -f ./conftest.sh
28131 acl_cv_rpath=done
28132
28133 fi
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28135 $as_echo "$acl_cv_rpath" >&6; }
28136 wl="$acl_cv_wl"
28137 libext="$acl_cv_libext"
28138 shlibext="$acl_cv_shlibext"
28139 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28140 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28141 hardcode_direct="$acl_cv_hardcode_direct"
28142 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28143 # Check whether --enable-rpath was given.
28144 if test "${enable_rpath+set}" = set; then :
28145 enableval=$enable_rpath; :
28146 else
28147 enable_rpath=yes
28148 fi
28149
28150
28151
28152
28153
28154
28155
28156
28157 use_additional=yes
28158
28159 acl_save_prefix="$prefix"
28160 prefix="$acl_final_prefix"
28161 acl_save_exec_prefix="$exec_prefix"
28162 exec_prefix="$acl_final_exec_prefix"
28163
28164 eval additional_includedir=\"$includedir\"
28165 eval additional_libdir=\"$libdir\"
28166
28167 exec_prefix="$acl_save_exec_prefix"
28168 prefix="$acl_save_prefix"
28169
28170
28171 # Check whether --with-libiconv-prefix was given.
28172 if test "${with_libiconv_prefix+set}" = set; then :
28173 withval=$with_libiconv_prefix;
28174 if test "X$withval" = "Xno"; then
28175 use_additional=no
28176 else
28177 if test "X$withval" = "X"; then
28178
28179 acl_save_prefix="$prefix"
28180 prefix="$acl_final_prefix"
28181 acl_save_exec_prefix="$exec_prefix"
28182 exec_prefix="$acl_final_exec_prefix"
28183
28184 eval additional_includedir=\"$includedir\"
28185 eval additional_libdir=\"$libdir\"
28186
28187 exec_prefix="$acl_save_exec_prefix"
28188 prefix="$acl_save_prefix"
28189
28190 else
28191 additional_includedir="$withval/include"
28192 additional_libdir="$withval/lib"
28193 fi
28194 fi
28195
28196 fi
28197
28198 LIBICONV=
28199 LTLIBICONV=
28200 INCICONV=
28201 rpathdirs=
28202 ltrpathdirs=
28203 names_already_handled=
28204 names_next_round='iconv '
28205 while test -n "$names_next_round"; do
28206 names_this_round="$names_next_round"
28207 names_next_round=
28208 for name in $names_this_round; do
28209 already_handled=
28210 for n in $names_already_handled; do
28211 if test "$n" = "$name"; then
28212 already_handled=yes
28213 break
28214 fi
28215 done
28216 if test -z "$already_handled"; then
28217 names_already_handled="$names_already_handled $name"
28218 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28219 eval value=\"\$HAVE_LIB$uppername\"
28220 if test -n "$value"; then
28221 if test "$value" = yes; then
28222 eval value=\"\$LIB$uppername\"
28223 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28224 eval value=\"\$LTLIB$uppername\"
28225 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28226 else
28227 :
28228 fi
28229 else
28230 found_dir=
28231 found_la=
28232 found_so=
28233 found_a=
28234 if test $use_additional = yes; then
28235 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28236 found_dir="$additional_libdir"
28237 found_so="$additional_libdir/lib$name.$shlibext"
28238 if test -f "$additional_libdir/lib$name.la"; then
28239 found_la="$additional_libdir/lib$name.la"
28240 fi
28241 else
28242 if test -f "$additional_libdir/lib$name.$libext"; then
28243 found_dir="$additional_libdir"
28244 found_a="$additional_libdir/lib$name.$libext"
28245 if test -f "$additional_libdir/lib$name.la"; then
28246 found_la="$additional_libdir/lib$name.la"
28247 fi
28248 fi
28249 fi
28250 fi
28251 if test "X$found_dir" = "X"; then
28252 for x in $LDFLAGS $LTLIBICONV; do
28253
28254 acl_save_prefix="$prefix"
28255 prefix="$acl_final_prefix"
28256 acl_save_exec_prefix="$exec_prefix"
28257 exec_prefix="$acl_final_exec_prefix"
28258 eval x=\"$x\"
28259 exec_prefix="$acl_save_exec_prefix"
28260 prefix="$acl_save_prefix"
28261
28262 case "$x" in
28263 -L*)
28264 dir=`echo "X$x" | sed -e 's/^X-L//'`
28265 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28266 found_dir="$dir"
28267 found_so="$dir/lib$name.$shlibext"
28268 if test -f "$dir/lib$name.la"; then
28269 found_la="$dir/lib$name.la"
28270 fi
28271 else
28272 if test -f "$dir/lib$name.$libext"; then
28273 found_dir="$dir"
28274 found_a="$dir/lib$name.$libext"
28275 if test -f "$dir/lib$name.la"; then
28276 found_la="$dir/lib$name.la"
28277 fi
28278 fi
28279 fi
28280 ;;
28281 esac
28282 if test "X$found_dir" != "X"; then
28283 break
28284 fi
28285 done
28286 fi
28287 if test "X$found_dir" != "X"; then
28288 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28289 if test "X$found_so" != "X"; then
28290 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28292 else
28293 haveit=
28294 for x in $ltrpathdirs; do
28295 if test "X$x" = "X$found_dir"; then
28296 haveit=yes
28297 break
28298 fi
28299 done
28300 if test -z "$haveit"; then
28301 ltrpathdirs="$ltrpathdirs $found_dir"
28302 fi
28303 if test "$hardcode_direct" = yes; then
28304 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28305 else
28306 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28307 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28308 haveit=
28309 for x in $rpathdirs; do
28310 if test "X$x" = "X$found_dir"; then
28311 haveit=yes
28312 break
28313 fi
28314 done
28315 if test -z "$haveit"; then
28316 rpathdirs="$rpathdirs $found_dir"
28317 fi
28318 else
28319 haveit=
28320 for x in $LDFLAGS $LIBICONV; do
28321
28322 acl_save_prefix="$prefix"
28323 prefix="$acl_final_prefix"
28324 acl_save_exec_prefix="$exec_prefix"
28325 exec_prefix="$acl_final_exec_prefix"
28326 eval x=\"$x\"
28327 exec_prefix="$acl_save_exec_prefix"
28328 prefix="$acl_save_prefix"
28329
28330 if test "X$x" = "X-L$found_dir"; then
28331 haveit=yes
28332 break
28333 fi
28334 done
28335 if test -z "$haveit"; then
28336 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28337 fi
28338 if test "$hardcode_minus_L" != no; then
28339 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28340 else
28341 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28342 fi
28343 fi
28344 fi
28345 fi
28346 else
28347 if test "X$found_a" != "X"; then
28348 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28349 else
28350 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28351 fi
28352 fi
28353 additional_includedir=
28354 case "$found_dir" in
28355 */lib | */lib/)
28356 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28357 additional_includedir="$basedir/include"
28358 ;;
28359 esac
28360 if test "X$additional_includedir" != "X"; then
28361 if test "X$additional_includedir" != "X/usr/include"; then
28362 haveit=
28363 if test "X$additional_includedir" = "X/usr/local/include"; then
28364 if test -n "$GCC"; then
28365 case $host_os in
28366 linux*) haveit=yes;;
28367 esac
28368 fi
28369 fi
28370 if test -z "$haveit"; then
28371 for x in $CPPFLAGS $INCICONV; do
28372
28373 acl_save_prefix="$prefix"
28374 prefix="$acl_final_prefix"
28375 acl_save_exec_prefix="$exec_prefix"
28376 exec_prefix="$acl_final_exec_prefix"
28377 eval x=\"$x\"
28378 exec_prefix="$acl_save_exec_prefix"
28379 prefix="$acl_save_prefix"
28380
28381 if test "X$x" = "X-I$additional_includedir"; then
28382 haveit=yes
28383 break
28384 fi
28385 done
28386 if test -z "$haveit"; then
28387 if test -d "$additional_includedir"; then
28388 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28389 fi
28390 fi
28391 fi
28392 fi
28393 fi
28394 if test -n "$found_la"; then
28395 save_libdir="$libdir"
28396 case "$found_la" in
28397 */* | *\\*) . "$found_la" ;;
28398 *) . "./$found_la" ;;
28399 esac
28400 libdir="$save_libdir"
28401 for dep in $dependency_libs; do
28402 case "$dep" in
28403 -L*)
28404 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28405 if test "X$additional_libdir" != "X/usr/lib"; then
28406 haveit=
28407 if test "X$additional_libdir" = "X/usr/local/lib"; then
28408 if test -n "$GCC"; then
28409 case $host_os in
28410 linux*) haveit=yes;;
28411 esac
28412 fi
28413 fi
28414 if test -z "$haveit"; then
28415 haveit=
28416 for x in $LDFLAGS $LIBICONV; do
28417
28418 acl_save_prefix="$prefix"
28419 prefix="$acl_final_prefix"
28420 acl_save_exec_prefix="$exec_prefix"
28421 exec_prefix="$acl_final_exec_prefix"
28422 eval x=\"$x\"
28423 exec_prefix="$acl_save_exec_prefix"
28424 prefix="$acl_save_prefix"
28425
28426 if test "X$x" = "X-L$additional_libdir"; then
28427 haveit=yes
28428 break
28429 fi
28430 done
28431 if test -z "$haveit"; then
28432 if test -d "$additional_libdir"; then
28433 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28434 fi
28435 fi
28436 haveit=
28437 for x in $LDFLAGS $LTLIBICONV; do
28438
28439 acl_save_prefix="$prefix"
28440 prefix="$acl_final_prefix"
28441 acl_save_exec_prefix="$exec_prefix"
28442 exec_prefix="$acl_final_exec_prefix"
28443 eval x=\"$x\"
28444 exec_prefix="$acl_save_exec_prefix"
28445 prefix="$acl_save_prefix"
28446
28447 if test "X$x" = "X-L$additional_libdir"; then
28448 haveit=yes
28449 break
28450 fi
28451 done
28452 if test -z "$haveit"; then
28453 if test -d "$additional_libdir"; then
28454 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28455 fi
28456 fi
28457 fi
28458 fi
28459 ;;
28460 -R*)
28461 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28462 if test "$enable_rpath" != no; then
28463 haveit=
28464 for x in $rpathdirs; do
28465 if test "X$x" = "X$dir"; then
28466 haveit=yes
28467 break
28468 fi
28469 done
28470 if test -z "$haveit"; then
28471 rpathdirs="$rpathdirs $dir"
28472 fi
28473 haveit=
28474 for x in $ltrpathdirs; do
28475 if test "X$x" = "X$dir"; then
28476 haveit=yes
28477 break
28478 fi
28479 done
28480 if test -z "$haveit"; then
28481 ltrpathdirs="$ltrpathdirs $dir"
28482 fi
28483 fi
28484 ;;
28485 -l*)
28486 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28487 ;;
28488 *.la)
28489 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28490 ;;
28491 *)
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28493 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28494 ;;
28495 esac
28496 done
28497 fi
28498 else
28499 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28500 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28501 fi
28502 fi
28503 fi
28504 done
28505 done
28506 if test "X$rpathdirs" != "X"; then
28507 if test -n "$hardcode_libdir_separator"; then
28508 alldirs=
28509 for found_dir in $rpathdirs; do
28510 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28511 done
28512 acl_save_libdir="$libdir"
28513 libdir="$alldirs"
28514 eval flag=\"$hardcode_libdir_flag_spec\"
28515 libdir="$acl_save_libdir"
28516 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28517 else
28518 for found_dir in $rpathdirs; do
28519 acl_save_libdir="$libdir"
28520 libdir="$found_dir"
28521 eval flag=\"$hardcode_libdir_flag_spec\"
28522 libdir="$acl_save_libdir"
28523 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28524 done
28525 fi
28526 fi
28527 if test "X$ltrpathdirs" != "X"; then
28528 for found_dir in $ltrpathdirs; do
28529 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28530 done
28531 fi
28532
28533
28534
28535
28536
28537
28538
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28540 $as_echo_n "checking for iconv... " >&6; }
28541 if test "${am_cv_func_iconv+set}" = set; then :
28542 $as_echo_n "(cached) " >&6
28543 else
28544
28545 am_cv_func_iconv="no, consider installing GNU libiconv"
28546 am_cv_lib_iconv=no
28547 am_save_CPPFLAGS="$CPPFLAGS"
28548 CPPFLAGS="$CPPFLAGS $INCICONV"
28549 if test x$gcc_no_link = xyes; then
28550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28551 fi
28552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28554 #include <stdlib.h>
28555 #include <iconv.h>
28556 int
28557 main ()
28558 {
28559 iconv_t cd = iconv_open("","");
28560 iconv(cd,NULL,NULL,NULL,NULL);
28561 iconv_close(cd);
28562 ;
28563 return 0;
28564 }
28565 _ACEOF
28566 if ac_fn_c_try_link "$LINENO"; then :
28567 am_cv_func_iconv=yes
28568 fi
28569 rm -f core conftest.err conftest.$ac_objext \
28570 conftest$ac_exeext conftest.$ac_ext
28571 CPPFLAGS="$am_save_CPPFLAGS"
28572
28573 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28574 for _libs in .libs _libs; do
28575 am_save_CPPFLAGS="$CPPFLAGS"
28576 am_save_LIBS="$LIBS"
28577 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28578 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28579 if test x$gcc_no_link = xyes; then
28580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28581 fi
28582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28583 /* end confdefs.h. */
28584 #include <stdlib.h>
28585 #include <iconv.h>
28586 int
28587 main ()
28588 {
28589 iconv_t cd = iconv_open("","");
28590 iconv(cd,NULL,NULL,NULL,NULL);
28591 iconv_close(cd);
28592 ;
28593 return 0;
28594 }
28595 _ACEOF
28596 if ac_fn_c_try_link "$LINENO"; then :
28597 INCICONV="-I../libiconv/include"
28598 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28599 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28600 am_cv_lib_iconv=yes
28601 am_cv_func_iconv=yes
28602 fi
28603 rm -f core conftest.err conftest.$ac_objext \
28604 conftest$ac_exeext conftest.$ac_ext
28605 CPPFLAGS="$am_save_CPPFLAGS"
28606 LIBS="$am_save_LIBS"
28607 if test "$am_cv_func_iconv" = "yes"; then
28608 break
28609 fi
28610 done
28611 fi
28612
28613 if test "$am_cv_func_iconv" != yes; then
28614 am_save_CPPFLAGS="$CPPFLAGS"
28615 am_save_LIBS="$LIBS"
28616 CPPFLAGS="$LIBS $INCICONV"
28617 LIBS="$LIBS $LIBICONV"
28618 if test x$gcc_no_link = xyes; then
28619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28620 fi
28621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28622 /* end confdefs.h. */
28623 #include <stdlib.h>
28624 #include <iconv.h>
28625 int
28626 main ()
28627 {
28628 iconv_t cd = iconv_open("","");
28629 iconv(cd,NULL,NULL,NULL,NULL);
28630 iconv_close(cd);
28631 ;
28632 return 0;
28633 }
28634 _ACEOF
28635 if ac_fn_c_try_link "$LINENO"; then :
28636 am_cv_lib_iconv=yes
28637 am_cv_func_iconv=yes
28638 fi
28639 rm -f core conftest.err conftest.$ac_objext \
28640 conftest$ac_exeext conftest.$ac_ext
28641 CPPFLAGS="$am_save_CPPFLAGS"
28642 LIBS="$am_save_LIBS"
28643 fi
28644
28645 fi
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28647 $as_echo "$am_cv_func_iconv" >&6; }
28648 if test "$am_cv_func_iconv" = yes; then
28649
28650 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28651
28652 fi
28653 if test "$am_cv_lib_iconv" = yes; then
28654
28655 for element in $INCICONV; do
28656 haveit=
28657 for x in $CPPFLAGS; do
28658
28659 acl_save_prefix="$prefix"
28660 prefix="$acl_final_prefix"
28661 acl_save_exec_prefix="$exec_prefix"
28662 exec_prefix="$acl_final_exec_prefix"
28663 eval x=\"$x\"
28664 exec_prefix="$acl_save_exec_prefix"
28665 prefix="$acl_save_prefix"
28666
28667 if test "X$x" = "X$element"; then
28668 haveit=yes
28669 break
28670 fi
28671 done
28672 if test -z "$haveit"; then
28673 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28674 fi
28675 done
28676
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28678 $as_echo_n "checking how to link with libiconv... " >&6; }
28679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28680 $as_echo "$LIBICONV" >&6; }
28681 else
28682 LIBICONV=
28683 LTLIBICONV=
28684 fi
28685
28686
28687
28688 if test "$am_cv_func_iconv" = yes; then
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28690 $as_echo_n "checking for iconv declaration... " >&6; }
28691 if test "${am_cv_proto_iconv+set}" = set; then :
28692 $as_echo_n "(cached) " >&6
28693 else
28694
28695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28696 /* end confdefs.h. */
28697
28698 #include <stdlib.h>
28699 #include <iconv.h>
28700 extern
28701 #ifdef __cplusplus
28702 "C"
28703 #endif
28704 #if defined(__STDC__) || defined(__cplusplus)
28705 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28706 #else
28707 size_t iconv();
28708 #endif
28709
28710 int
28711 main ()
28712 {
28713
28714 ;
28715 return 0;
28716 }
28717 _ACEOF
28718 if ac_fn_c_try_compile "$LINENO"; then :
28719 am_cv_proto_iconv_arg1=""
28720 else
28721 am_cv_proto_iconv_arg1="const"
28722 fi
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 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);"
28725 fi
28726
28727 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28729 }$am_cv_proto_iconv" >&5
28730 $as_echo "${ac_t:-
28731 }$am_cv_proto_iconv" >&6; }
28732
28733 cat >>confdefs.h <<_ACEOF
28734 #define ICONV_CONST $am_cv_proto_iconv_arg1
28735 _ACEOF
28736
28737 fi
28738
28739
28740 else
28741
28742 # This lets us hard-code the functionality we know we'll have in the cross
28743 # target environment. "Let" is a sugar-coated word placed on an especially
28744 # dull and tedious hack, actually.
28745 #
28746 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28747 # that involve linking, can't be used:
28748 # "cannot open sim-crt0.o"
28749 # "cannot open crt0.o"
28750 # etc. All this is because there currently exists no unified, consistent
28751 # way for top level CC information to be passed down to target directories:
28752 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28753 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28754 # crosses can be removed.
28755
28756 # If Canadian cross, then don't pick up tools from the build directory.
28757 # Used only in GLIBCXX_EXPORT_INCLUDES.
28758 if test -n "$with_cross_host" &&
28759 test x"$build_alias" != x"$with_cross_host" &&
28760 test x"$build" != x"$target";
28761 then
28762 CANADIAN=yes
28763 else
28764 CANADIAN=no
28765 fi
28766
28767 # Construct crosses by hand, eliminating bits that need ld...
28768 # GLIBCXX_CHECK_MATH_SUPPORT
28769
28770 # First, test for "known" system libraries. We may be using newlib even
28771 # on a hosted environment.
28772 if test "x${with_newlib}" = "xyes"; then
28773 os_include_dir="os/newlib"
28774 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28775
28776
28777 # GLIBCXX_CHECK_STDLIB_SUPPORT
28778 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28779
28780
28781 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28782
28783 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28784
28785 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28786
28787 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28788
28789 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28790
28791 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28792
28793 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28794
28795 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28796
28797 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28798
28799 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28800
28801 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28802
28803 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28804
28805 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28806
28807 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28808
28809 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28810
28811 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28812
28813 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28814
28815 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28816
28817 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28818
28819 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28820
28821 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28822
28823 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28824
28825
28826 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28827
28828 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28829
28830 else
28831
28832 # Base decisions on target environment.
28833 case "${host}" in
28834 arm*-*-symbianelf*)
28835 # This is a freestanding configuration; there is nothing to do here.
28836 ;;
28837
28838 mips*-sde-elf*)
28839 # These definitions are for the SDE C library rather than newlib.
28840 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28841
28842
28843 # All these tests are for C++; save the language and the compiler flags.
28844 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28845 # found in GLIBCXX_CONFIGURE.
28846
28847 ac_ext=cpp
28848 ac_cpp='$CXXCPP $CPPFLAGS'
28849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28852
28853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28854 ac_save_CXXFLAGS="$CXXFLAGS"
28855
28856 # Check for maintainer-mode bits.
28857 if test x"$USE_MAINTAINER_MODE" = xno; then
28858 WERROR=''
28859 else
28860 WERROR='-Werror'
28861 fi
28862
28863 # Check for -ffunction-sections -fdata-sections
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28865 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28866 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868 /* end confdefs.h. */
28869 int foo; void bar() { };
28870 int
28871 main ()
28872 {
28873
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 if ac_fn_cxx_try_compile "$LINENO"; then :
28879 ac_fdsections=yes
28880 else
28881 ac_fdsections=no
28882 fi
28883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 if test "$ac_test_CXXFLAGS" = set; then
28885 CXXFLAGS="$ac_save_CXXFLAGS"
28886 else
28887 # this is the suspicious part
28888 CXXFLAGS=''
28889 fi
28890 if test x"$ac_fdsections" = x"yes"; then
28891 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28892 fi
28893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28894 $as_echo "$ac_fdsections" >&6; }
28895
28896 ac_ext=c
28897 ac_cpp='$CPP $CPPFLAGS'
28898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28901
28902
28903
28904
28905
28906 # If we're not using GNU ld, then there's no point in even trying these
28907 # tests. Check for that first. We should have already tested for gld
28908 # by now (in libtool), but require it now just to be safe...
28909 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28910 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28911
28912
28913
28914 # The name set by libtool depends on the version of libtool. Shame on us
28915 # for depending on an impl detail, but c'est la vie. Older versions used
28916 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28917 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28918 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28919 # set (hence we're using an older libtool), then set it.
28920 if test x${with_gnu_ld+set} != xset; then
28921 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28922 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28923 with_gnu_ld=no
28924 else
28925 with_gnu_ld=$ac_cv_prog_gnu_ld
28926 fi
28927 fi
28928
28929 # Start by getting the version number. I think the libtool test already
28930 # does some of this, but throws away the result.
28931 glibcxx_ld_is_gold=no
28932 if test x"$with_gnu_ld" = x"yes"; then
28933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28934 $as_echo_n "checking for ld version... " >&6; }
28935
28936 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28937 glibcxx_ld_is_gold=yes
28938 fi
28939 ldver=`$LD --version 2>/dev/null |
28940 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'`
28941
28942 glibcxx_gnu_ld_version=`echo $ldver | \
28943 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28945 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28946 fi
28947
28948 # Set --gc-sections.
28949 glibcxx_have_gc_sections=no
28950 if test "$glibcxx_ld_is_gold" = "yes"; then
28951 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28952 glibcxx_have_gc_sections=yes
28953 fi
28954 else
28955 glibcxx_gcsections_min_ld=21602
28956 if test x"$with_gnu_ld" = x"yes" &&
28957 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28958 glibcxx_have_gc_sections=yes
28959 fi
28960 fi
28961 if test "$glibcxx_have_gc_sections" = "yes"; then
28962 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28963 # NB: This flag only works reliably after 2.16.1. Configure tests
28964 # for this are difficult, so hard wire a value that should work.
28965
28966 ac_test_CFLAGS="${CFLAGS+set}"
28967 ac_save_CFLAGS="$CFLAGS"
28968 CFLAGS='-Wl,--gc-sections'
28969
28970 # Check for -Wl,--gc-sections
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28972 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28973 if test x$gcc_no_link = xyes; then
28974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28975 fi
28976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28977 /* end confdefs.h. */
28978 int one(void) { return 1; }
28979 int two(void) { return 2; }
28980
28981 int
28982 main ()
28983 {
28984 two();
28985 ;
28986 return 0;
28987 }
28988 _ACEOF
28989 if ac_fn_c_try_link "$LINENO"; then :
28990 ac_gcsections=yes
28991 else
28992 ac_gcsections=no
28993 fi
28994 rm -f core conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 if test "$ac_gcsections" = "yes"; then
28997 rm -f conftest.c
28998 touch conftest.c
28999 if $CC -c conftest.c; then
29000 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29001 grep "Warning: gc-sections option ignored" > /dev/null; then
29002 ac_gcsections=no
29003 fi
29004 fi
29005 rm -f conftest.c conftest.o conftest
29006 fi
29007 if test "$ac_gcsections" = "yes"; then
29008 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29009 fi
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29011 $as_echo "$ac_gcsections" >&6; }
29012
29013 if test "$ac_test_CFLAGS" = set; then
29014 CFLAGS="$ac_save_CFLAGS"
29015 else
29016 # this is the suspicious part
29017 CFLAGS=''
29018 fi
29019 fi
29020
29021 # Set -z,relro.
29022 # Note this is only for shared objects.
29023 ac_ld_relro=no
29024 if test x"$with_gnu_ld" = x"yes"; then
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29026 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29027 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29028 if test -n "$cxx_z_relo"; then
29029 OPT_LDFLAGS="-Wl,-z,relro"
29030 ac_ld_relro=yes
29031 fi
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29033 $as_echo "$ac_ld_relro" >&6; }
29034 fi
29035
29036 # Set linker optimization flags.
29037 if test x"$with_gnu_ld" = x"yes"; then
29038 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29039 fi
29040
29041
29042
29043
29044
29045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29046 ac_save_CXXFLAGS="$CXXFLAGS"
29047 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29048
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29050 $as_echo_n "checking for sin in -lm... " >&6; }
29051 if test "${ac_cv_lib_m_sin+set}" = set; then :
29052 $as_echo_n "(cached) " >&6
29053 else
29054 ac_check_lib_save_LIBS=$LIBS
29055 LIBS="-lm $LIBS"
29056 if test x$gcc_no_link = xyes; then
29057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29058 fi
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061
29062 /* Override any GCC internal prototype to avoid an error.
29063 Use char because int might match the return type of a GCC
29064 builtin and then its argument prototype would still apply. */
29065 #ifdef __cplusplus
29066 extern "C"
29067 #endif
29068 char sin ();
29069 int
29070 main ()
29071 {
29072 return sin ();
29073 ;
29074 return 0;
29075 }
29076 _ACEOF
29077 if ac_fn_c_try_link "$LINENO"; then :
29078 ac_cv_lib_m_sin=yes
29079 else
29080 ac_cv_lib_m_sin=no
29081 fi
29082 rm -f core conftest.err conftest.$ac_objext \
29083 conftest$ac_exeext conftest.$ac_ext
29084 LIBS=$ac_check_lib_save_LIBS
29085 fi
29086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29087 $as_echo "$ac_cv_lib_m_sin" >&6; }
29088 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29089 libm="-lm"
29090 fi
29091
29092 ac_save_LIBS="$LIBS"
29093 LIBS="$LIBS $libm"
29094
29095
29096
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29098 $as_echo_n "checking for isinf declaration... " >&6; }
29099 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29100 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29101 $as_echo_n "(cached) " >&6
29102 else
29103
29104
29105 ac_ext=cpp
29106 ac_cpp='$CXXCPP $CPPFLAGS'
29107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29110
29111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29112 /* end confdefs.h. */
29113 #include <math.h>
29114 #ifdef HAVE_IEEEFP_H
29115 #include <ieeefp.h>
29116 #endif
29117
29118 int
29119 main ()
29120 {
29121 isinf(0);
29122 ;
29123 return 0;
29124 }
29125 _ACEOF
29126 if ac_fn_cxx_try_compile "$LINENO"; then :
29127 glibcxx_cv_func_isinf_use=yes
29128 else
29129 glibcxx_cv_func_isinf_use=no
29130 fi
29131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29132 ac_ext=c
29133 ac_cpp='$CPP $CPPFLAGS'
29134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29137
29138
29139 fi
29140
29141 fi
29142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29143 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29144
29145 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29146 for ac_func in isinf
29147 do :
29148 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29149 if test "x$ac_cv_func_isinf" = x""yes; then :
29150 cat >>confdefs.h <<_ACEOF
29151 #define HAVE_ISINF 1
29152 _ACEOF
29153
29154 fi
29155 done
29156
29157 else
29158
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29160 $as_echo_n "checking for _isinf declaration... " >&6; }
29161 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29162 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29163 $as_echo_n "(cached) " >&6
29164 else
29165
29166
29167 ac_ext=cpp
29168 ac_cpp='$CXXCPP $CPPFLAGS'
29169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29172
29173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29174 /* end confdefs.h. */
29175 #include <math.h>
29176 #ifdef HAVE_IEEEFP_H
29177 #include <ieeefp.h>
29178 #endif
29179
29180 int
29181 main ()
29182 {
29183 _isinf(0);
29184 ;
29185 return 0;
29186 }
29187 _ACEOF
29188 if ac_fn_cxx_try_compile "$LINENO"; then :
29189 glibcxx_cv_func__isinf_use=yes
29190 else
29191 glibcxx_cv_func__isinf_use=no
29192 fi
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 ac_ext=c
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29199
29200
29201 fi
29202
29203 fi
29204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29205 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29206
29207 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29208 for ac_func in _isinf
29209 do :
29210 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29211 if test "x$ac_cv_func__isinf" = x""yes; then :
29212 cat >>confdefs.h <<_ACEOF
29213 #define HAVE__ISINF 1
29214 _ACEOF
29215
29216 fi
29217 done
29218
29219 fi
29220 fi
29221
29222
29223
29224
29225
29226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29227 $as_echo_n "checking for isnan declaration... " >&6; }
29228 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29229 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29230 $as_echo_n "(cached) " >&6
29231 else
29232
29233
29234 ac_ext=cpp
29235 ac_cpp='$CXXCPP $CPPFLAGS'
29236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29239
29240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29241 /* end confdefs.h. */
29242 #include <math.h>
29243 #ifdef HAVE_IEEEFP_H
29244 #include <ieeefp.h>
29245 #endif
29246
29247 int
29248 main ()
29249 {
29250 isnan(0);
29251 ;
29252 return 0;
29253 }
29254 _ACEOF
29255 if ac_fn_cxx_try_compile "$LINENO"; then :
29256 glibcxx_cv_func_isnan_use=yes
29257 else
29258 glibcxx_cv_func_isnan_use=no
29259 fi
29260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29261 ac_ext=c
29262 ac_cpp='$CPP $CPPFLAGS'
29263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29266
29267
29268 fi
29269
29270 fi
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29272 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29273
29274 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29275 for ac_func in isnan
29276 do :
29277 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29278 if test "x$ac_cv_func_isnan" = x""yes; then :
29279 cat >>confdefs.h <<_ACEOF
29280 #define HAVE_ISNAN 1
29281 _ACEOF
29282
29283 fi
29284 done
29285
29286 else
29287
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29289 $as_echo_n "checking for _isnan declaration... " >&6; }
29290 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29291 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29292 $as_echo_n "(cached) " >&6
29293 else
29294
29295
29296 ac_ext=cpp
29297 ac_cpp='$CXXCPP $CPPFLAGS'
29298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29301
29302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29303 /* end confdefs.h. */
29304 #include <math.h>
29305 #ifdef HAVE_IEEEFP_H
29306 #include <ieeefp.h>
29307 #endif
29308
29309 int
29310 main ()
29311 {
29312 _isnan(0);
29313 ;
29314 return 0;
29315 }
29316 _ACEOF
29317 if ac_fn_cxx_try_compile "$LINENO"; then :
29318 glibcxx_cv_func__isnan_use=yes
29319 else
29320 glibcxx_cv_func__isnan_use=no
29321 fi
29322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29323 ac_ext=c
29324 ac_cpp='$CPP $CPPFLAGS'
29325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29328
29329
29330 fi
29331
29332 fi
29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29334 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29335
29336 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29337 for ac_func in _isnan
29338 do :
29339 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29340 if test "x$ac_cv_func__isnan" = x""yes; then :
29341 cat >>confdefs.h <<_ACEOF
29342 #define HAVE__ISNAN 1
29343 _ACEOF
29344
29345 fi
29346 done
29347
29348 fi
29349 fi
29350
29351
29352
29353
29354
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29356 $as_echo_n "checking for finite declaration... " >&6; }
29357 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29358 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29359 $as_echo_n "(cached) " >&6
29360 else
29361
29362
29363 ac_ext=cpp
29364 ac_cpp='$CXXCPP $CPPFLAGS'
29365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29368
29369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29370 /* end confdefs.h. */
29371 #include <math.h>
29372 #ifdef HAVE_IEEEFP_H
29373 #include <ieeefp.h>
29374 #endif
29375
29376 int
29377 main ()
29378 {
29379 finite(0);
29380 ;
29381 return 0;
29382 }
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func_finite_use=yes
29386 else
29387 glibcxx_cv_func_finite_use=no
29388 fi
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395
29396
29397 fi
29398
29399 fi
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29401 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29402
29403 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29404 for ac_func in finite
29405 do :
29406 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29407 if test "x$ac_cv_func_finite" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE_FINITE 1
29410 _ACEOF
29411
29412 fi
29413 done
29414
29415 else
29416
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29418 $as_echo_n "checking for _finite declaration... " >&6; }
29419 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29420 if test "${glibcxx_cv_func__finite_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 _finite(0);
29442 ;
29443 return 0;
29444 }
29445 _ACEOF
29446 if ac_fn_cxx_try_compile "$LINENO"; then :
29447 glibcxx_cv_func__finite_use=yes
29448 else
29449 glibcxx_cv_func__finite_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__finite_use" >&5
29463 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29464
29465 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29466 for ac_func in _finite
29467 do :
29468 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29469 if test "x$ac_cv_func__finite" = x""yes; then :
29470 cat >>confdefs.h <<_ACEOF
29471 #define HAVE__FINITE 1
29472 _ACEOF
29473
29474 fi
29475 done
29476
29477 fi
29478 fi
29479
29480
29481
29482
29483
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29485 $as_echo_n "checking for sincos declaration... " >&6; }
29486 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29487 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29488 $as_echo_n "(cached) " >&6
29489 else
29490
29491
29492 ac_ext=cpp
29493 ac_cpp='$CXXCPP $CPPFLAGS'
29494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29497
29498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h. */
29500 #include <math.h>
29501 int
29502 main ()
29503 {
29504 sincos(0, 0, 0);
29505 ;
29506 return 0;
29507 }
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510 glibcxx_cv_func_sincos_use=yes
29511 else
29512 glibcxx_cv_func_sincos_use=no
29513 fi
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515 ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29520
29521
29522 fi
29523
29524 fi
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29526 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29527
29528 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29529 for ac_func in sincos
29530 do :
29531 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29532 if test "x$ac_cv_func_sincos" = x""yes; then :
29533 cat >>confdefs.h <<_ACEOF
29534 #define HAVE_SINCOS 1
29535 _ACEOF
29536
29537 fi
29538 done
29539
29540 else
29541
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29543 $as_echo_n "checking for _sincos declaration... " >&6; }
29544 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29545 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29546 $as_echo_n "(cached) " >&6
29547 else
29548
29549
29550 ac_ext=cpp
29551 ac_cpp='$CXXCPP $CPPFLAGS'
29552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29555
29556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29557 /* end confdefs.h. */
29558 #include <math.h>
29559 int
29560 main ()
29561 {
29562 _sincos(0, 0, 0);
29563 ;
29564 return 0;
29565 }
29566 _ACEOF
29567 if ac_fn_cxx_try_compile "$LINENO"; then :
29568 glibcxx_cv_func__sincos_use=yes
29569 else
29570 glibcxx_cv_func__sincos_use=no
29571 fi
29572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29573 ac_ext=c
29574 ac_cpp='$CPP $CPPFLAGS'
29575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29578
29579
29580 fi
29581
29582 fi
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29584 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29585
29586 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29587 for ac_func in _sincos
29588 do :
29589 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29590 if test "x$ac_cv_func__sincos" = x""yes; then :
29591 cat >>confdefs.h <<_ACEOF
29592 #define HAVE__SINCOS 1
29593 _ACEOF
29594
29595 fi
29596 done
29597
29598 fi
29599 fi
29600
29601
29602
29603
29604
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29606 $as_echo_n "checking for fpclass declaration... " >&6; }
29607 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29608 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29609 $as_echo_n "(cached) " >&6
29610 else
29611
29612
29613 ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h. */
29621 #include <math.h>
29622 #ifdef HAVE_IEEEFP_H
29623 #include <ieeefp.h>
29624 #endif
29625
29626 int
29627 main ()
29628 {
29629 fpclass(0);
29630 ;
29631 return 0;
29632 }
29633 _ACEOF
29634 if ac_fn_cxx_try_compile "$LINENO"; then :
29635 glibcxx_cv_func_fpclass_use=yes
29636 else
29637 glibcxx_cv_func_fpclass_use=no
29638 fi
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29645
29646
29647 fi
29648
29649 fi
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29651 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29652
29653 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29654 for ac_func in fpclass
29655 do :
29656 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29657 if test "x$ac_cv_func_fpclass" = x""yes; then :
29658 cat >>confdefs.h <<_ACEOF
29659 #define HAVE_FPCLASS 1
29660 _ACEOF
29661
29662 fi
29663 done
29664
29665 else
29666
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29668 $as_echo_n "checking for _fpclass declaration... " >&6; }
29669 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29670 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29671 $as_echo_n "(cached) " >&6
29672 else
29673
29674
29675 ac_ext=cpp
29676 ac_cpp='$CXXCPP $CPPFLAGS'
29677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29680
29681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29682 /* end confdefs.h. */
29683 #include <math.h>
29684 #ifdef HAVE_IEEEFP_H
29685 #include <ieeefp.h>
29686 #endif
29687
29688 int
29689 main ()
29690 {
29691 _fpclass(0);
29692 ;
29693 return 0;
29694 }
29695 _ACEOF
29696 if ac_fn_cxx_try_compile "$LINENO"; then :
29697 glibcxx_cv_func__fpclass_use=yes
29698 else
29699 glibcxx_cv_func__fpclass_use=no
29700 fi
29701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29702 ac_ext=c
29703 ac_cpp='$CPP $CPPFLAGS'
29704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29707
29708
29709 fi
29710
29711 fi
29712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29713 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29714
29715 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29716 for ac_func in _fpclass
29717 do :
29718 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29719 if test "x$ac_cv_func__fpclass" = x""yes; then :
29720 cat >>confdefs.h <<_ACEOF
29721 #define HAVE__FPCLASS 1
29722 _ACEOF
29723
29724 fi
29725 done
29726
29727 fi
29728 fi
29729
29730
29731
29732
29733
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29735 $as_echo_n "checking for qfpclass declaration... " >&6; }
29736 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29737 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29740
29741
29742 ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750 #include <math.h>
29751 #ifdef HAVE_IEEEFP_H
29752 #include <ieeefp.h>
29753 #endif
29754
29755 int
29756 main ()
29757 {
29758 qfpclass(0);
29759 ;
29760 return 0;
29761 }
29762 _ACEOF
29763 if ac_fn_cxx_try_compile "$LINENO"; then :
29764 glibcxx_cv_func_qfpclass_use=yes
29765 else
29766 glibcxx_cv_func_qfpclass_use=no
29767 fi
29768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29769 ac_ext=c
29770 ac_cpp='$CPP $CPPFLAGS'
29771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29774
29775
29776 fi
29777
29778 fi
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29780 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29781
29782 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29783 for ac_func in qfpclass
29784 do :
29785 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29786 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29787 cat >>confdefs.h <<_ACEOF
29788 #define HAVE_QFPCLASS 1
29789 _ACEOF
29790
29791 fi
29792 done
29793
29794 else
29795
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29797 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29798 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29799 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29800 $as_echo_n "(cached) " >&6
29801 else
29802
29803
29804 ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809
29810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h. */
29812 #include <math.h>
29813 #ifdef HAVE_IEEEFP_H
29814 #include <ieeefp.h>
29815 #endif
29816
29817 int
29818 main ()
29819 {
29820 _qfpclass(0);
29821 ;
29822 return 0;
29823 }
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func__qfpclass_use=yes
29827 else
29828 glibcxx_cv_func__qfpclass_use=no
29829 fi
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836
29837
29838 fi
29839
29840 fi
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29842 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29843
29844 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29845 for ac_func in _qfpclass
29846 do :
29847 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29848 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE__QFPCLASS 1
29851 _ACEOF
29852
29853 fi
29854 done
29855
29856 fi
29857 fi
29858
29859
29860
29861
29862
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29864 $as_echo_n "checking for hypot declaration... " >&6; }
29865 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29866 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29867 $as_echo_n "(cached) " >&6
29868 else
29869
29870
29871 ac_ext=cpp
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29876
29877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h. */
29879 #include <math.h>
29880 int
29881 main ()
29882 {
29883 hypot(0, 0);
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func_hypot_use=yes
29890 else
29891 glibcxx_cv_func_hypot_use=no
29892 fi
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899
29900
29901 fi
29902
29903 fi
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29905 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29906
29907 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29908 for ac_func in hypot
29909 do :
29910 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29911 if test "x$ac_cv_func_hypot" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE_HYPOT 1
29914 _ACEOF
29915
29916 fi
29917 done
29918
29919 else
29920
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29922 $as_echo_n "checking for _hypot declaration... " >&6; }
29923 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29924 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29925 $as_echo_n "(cached) " >&6
29926 else
29927
29928
29929 ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934
29935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h. */
29937 #include <math.h>
29938 int
29939 main ()
29940 {
29941 _hypot(0, 0);
29942 ;
29943 return 0;
29944 }
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947 glibcxx_cv_func__hypot_use=yes
29948 else
29949 glibcxx_cv_func__hypot_use=no
29950 fi
29951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29952 ac_ext=c
29953 ac_cpp='$CPP $CPPFLAGS'
29954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29957
29958
29959 fi
29960
29961 fi
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29963 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29964
29965 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29966 for ac_func in _hypot
29967 do :
29968 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29969 if test "x$ac_cv_func__hypot" = x""yes; then :
29970 cat >>confdefs.h <<_ACEOF
29971 #define HAVE__HYPOT 1
29972 _ACEOF
29973
29974 fi
29975 done
29976
29977 fi
29978 fi
29979
29980
29981
29982
29983
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29985 $as_echo_n "checking for float trig functions... " >&6; }
29986 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29987 $as_echo_n "(cached) " >&6
29988 else
29989
29990
29991 ac_ext=cpp
29992 ac_cpp='$CXXCPP $CPPFLAGS'
29993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996
29997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29998 /* end confdefs.h. */
29999 #include <math.h>
30000 int
30001 main ()
30002 {
30003 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30004 ;
30005 return 0;
30006 }
30007 _ACEOF
30008 if ac_fn_cxx_try_compile "$LINENO"; then :
30009 glibcxx_cv_func_float_trig_use=yes
30010 else
30011 glibcxx_cv_func_float_trig_use=no
30012 fi
30013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 ac_ext=c
30015 ac_cpp='$CPP $CPPFLAGS'
30016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30019
30020 fi
30021
30022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30023 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30024 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30025 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30026 do :
30027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30029 eval as_val=\$$as_ac_var
30030 if test "x$as_val" = x""yes; then :
30031 cat >>confdefs.h <<_ACEOF
30032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30033 _ACEOF
30034
30035 fi
30036 done
30037
30038 else
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30040 $as_echo_n "checking for _float trig functions... " >&6; }
30041 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30042 $as_echo_n "(cached) " >&6
30043 else
30044
30045
30046 ac_ext=cpp
30047 ac_cpp='$CXXCPP $CPPFLAGS'
30048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30051
30052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30054 #include <math.h>
30055 int
30056 main ()
30057 {
30058 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30059 ;
30060 return 0;
30061 }
30062 _ACEOF
30063 if ac_fn_cxx_try_compile "$LINENO"; then :
30064 glibcxx_cv_func__float_trig_use=yes
30065 else
30066 glibcxx_cv_func__float_trig_use=no
30067 fi
30068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30069 ac_ext=c
30070 ac_cpp='$CPP $CPPFLAGS'
30071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30074
30075 fi
30076
30077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30078 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30079 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30080 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30081 do :
30082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30084 eval as_val=\$$as_ac_var
30085 if test "x$as_val" = x""yes; then :
30086 cat >>confdefs.h <<_ACEOF
30087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30088 _ACEOF
30089
30090 fi
30091 done
30092
30093 fi
30094 fi
30095
30096
30097
30098
30099
30100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30101 $as_echo_n "checking for float round functions... " >&6; }
30102 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30103 $as_echo_n "(cached) " >&6
30104 else
30105
30106
30107 ac_ext=cpp
30108 ac_cpp='$CXXCPP $CPPFLAGS'
30109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30112
30113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30114 /* end confdefs.h. */
30115 #include <math.h>
30116 int
30117 main ()
30118 {
30119 ceilf (0); floorf (0);
30120 ;
30121 return 0;
30122 }
30123 _ACEOF
30124 if ac_fn_cxx_try_compile "$LINENO"; then :
30125 glibcxx_cv_func_float_round_use=yes
30126 else
30127 glibcxx_cv_func_float_round_use=no
30128 fi
30129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30130 ac_ext=c
30131 ac_cpp='$CPP $CPPFLAGS'
30132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30135
30136 fi
30137
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30139 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30140 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30141 for ac_func in ceilf floorf
30142 do :
30143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30145 eval as_val=\$$as_ac_var
30146 if test "x$as_val" = x""yes; then :
30147 cat >>confdefs.h <<_ACEOF
30148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30149 _ACEOF
30150
30151 fi
30152 done
30153
30154 else
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30156 $as_echo_n "checking for _float round functions... " >&6; }
30157 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30158 $as_echo_n "(cached) " >&6
30159 else
30160
30161
30162 ac_ext=cpp
30163 ac_cpp='$CXXCPP $CPPFLAGS'
30164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30167
30168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30169 /* end confdefs.h. */
30170 #include <math.h>
30171 int
30172 main ()
30173 {
30174 _ceilf (0); _floorf (0);
30175 ;
30176 return 0;
30177 }
30178 _ACEOF
30179 if ac_fn_cxx_try_compile "$LINENO"; then :
30180 glibcxx_cv_func__float_round_use=yes
30181 else
30182 glibcxx_cv_func__float_round_use=no
30183 fi
30184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30185 ac_ext=c
30186 ac_cpp='$CPP $CPPFLAGS'
30187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30190
30191 fi
30192
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30194 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30195 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30196 for ac_func in _ceilf _floorf
30197 do :
30198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30200 eval as_val=\$$as_ac_var
30201 if test "x$as_val" = x""yes; then :
30202 cat >>confdefs.h <<_ACEOF
30203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30204 _ACEOF
30205
30206 fi
30207 done
30208
30209 fi
30210 fi
30211
30212
30213
30214
30215
30216
30217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30218 $as_echo_n "checking for expf declaration... " >&6; }
30219 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30220 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30221 $as_echo_n "(cached) " >&6
30222 else
30223
30224
30225 ac_ext=cpp
30226 ac_cpp='$CXXCPP $CPPFLAGS'
30227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30230
30231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30232 /* end confdefs.h. */
30233 #include <math.h>
30234 #ifdef HAVE_IEEEFP_H
30235 #include <ieeefp.h>
30236 #endif
30237
30238 int
30239 main ()
30240 {
30241 expf(0);
30242 ;
30243 return 0;
30244 }
30245 _ACEOF
30246 if ac_fn_cxx_try_compile "$LINENO"; then :
30247 glibcxx_cv_func_expf_use=yes
30248 else
30249 glibcxx_cv_func_expf_use=no
30250 fi
30251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30252 ac_ext=c
30253 ac_cpp='$CPP $CPPFLAGS'
30254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30257
30258
30259 fi
30260
30261 fi
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30263 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30264
30265 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30266 for ac_func in expf
30267 do :
30268 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30269 if test "x$ac_cv_func_expf" = x""yes; then :
30270 cat >>confdefs.h <<_ACEOF
30271 #define HAVE_EXPF 1
30272 _ACEOF
30273
30274 fi
30275 done
30276
30277 else
30278
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30280 $as_echo_n "checking for _expf declaration... " >&6; }
30281 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30282 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30283 $as_echo_n "(cached) " >&6
30284 else
30285
30286
30287 ac_ext=cpp
30288 ac_cpp='$CXXCPP $CPPFLAGS'
30289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30292
30293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30294 /* end confdefs.h. */
30295 #include <math.h>
30296 #ifdef HAVE_IEEEFP_H
30297 #include <ieeefp.h>
30298 #endif
30299
30300 int
30301 main ()
30302 {
30303 _expf(0);
30304 ;
30305 return 0;
30306 }
30307 _ACEOF
30308 if ac_fn_cxx_try_compile "$LINENO"; then :
30309 glibcxx_cv_func__expf_use=yes
30310 else
30311 glibcxx_cv_func__expf_use=no
30312 fi
30313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30314 ac_ext=c
30315 ac_cpp='$CPP $CPPFLAGS'
30316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30319
30320
30321 fi
30322
30323 fi
30324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30325 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30326
30327 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30328 for ac_func in _expf
30329 do :
30330 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30331 if test "x$ac_cv_func__expf" = x""yes; then :
30332 cat >>confdefs.h <<_ACEOF
30333 #define HAVE__EXPF 1
30334 _ACEOF
30335
30336 fi
30337 done
30338
30339 fi
30340 fi
30341
30342
30343
30344
30345
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30347 $as_echo_n "checking for isnanf declaration... " >&6; }
30348 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30349 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30352
30353
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30363 #ifdef HAVE_IEEEFP_H
30364 #include <ieeefp.h>
30365 #endif
30366
30367 int
30368 main ()
30369 {
30370 isnanf(0);
30371 ;
30372 return 0;
30373 }
30374 _ACEOF
30375 if ac_fn_cxx_try_compile "$LINENO"; then :
30376 glibcxx_cv_func_isnanf_use=yes
30377 else
30378 glibcxx_cv_func_isnanf_use=no
30379 fi
30380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30381 ac_ext=c
30382 ac_cpp='$CPP $CPPFLAGS'
30383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386
30387
30388 fi
30389
30390 fi
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30392 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30393
30394 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30395 for ac_func in isnanf
30396 do :
30397 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30398 if test "x$ac_cv_func_isnanf" = x""yes; then :
30399 cat >>confdefs.h <<_ACEOF
30400 #define HAVE_ISNANF 1
30401 _ACEOF
30402
30403 fi
30404 done
30405
30406 else
30407
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30409 $as_echo_n "checking for _isnanf declaration... " >&6; }
30410 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30411 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30414
30415
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30425 #ifdef HAVE_IEEEFP_H
30426 #include <ieeefp.h>
30427 #endif
30428
30429 int
30430 main ()
30431 {
30432 _isnanf(0);
30433 ;
30434 return 0;
30435 }
30436 _ACEOF
30437 if ac_fn_cxx_try_compile "$LINENO"; then :
30438 glibcxx_cv_func__isnanf_use=yes
30439 else
30440 glibcxx_cv_func__isnanf_use=no
30441 fi
30442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30443 ac_ext=c
30444 ac_cpp='$CPP $CPPFLAGS'
30445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30448
30449
30450 fi
30451
30452 fi
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30454 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30455
30456 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30457 for ac_func in _isnanf
30458 do :
30459 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30460 if test "x$ac_cv_func__isnanf" = x""yes; then :
30461 cat >>confdefs.h <<_ACEOF
30462 #define HAVE__ISNANF 1
30463 _ACEOF
30464
30465 fi
30466 done
30467
30468 fi
30469 fi
30470
30471
30472
30473
30474
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30476 $as_echo_n "checking for isinff declaration... " >&6; }
30477 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30478 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30479 $as_echo_n "(cached) " >&6
30480 else
30481
30482
30483 ac_ext=cpp
30484 ac_cpp='$CXXCPP $CPPFLAGS'
30485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30488
30489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30490 /* end confdefs.h. */
30491 #include <math.h>
30492 #ifdef HAVE_IEEEFP_H
30493 #include <ieeefp.h>
30494 #endif
30495
30496 int
30497 main ()
30498 {
30499 isinff(0);
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 if ac_fn_cxx_try_compile "$LINENO"; then :
30505 glibcxx_cv_func_isinff_use=yes
30506 else
30507 glibcxx_cv_func_isinff_use=no
30508 fi
30509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30510 ac_ext=c
30511 ac_cpp='$CPP $CPPFLAGS'
30512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30515
30516
30517 fi
30518
30519 fi
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30521 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30522
30523 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30524 for ac_func in isinff
30525 do :
30526 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30527 if test "x$ac_cv_func_isinff" = x""yes; then :
30528 cat >>confdefs.h <<_ACEOF
30529 #define HAVE_ISINFF 1
30530 _ACEOF
30531
30532 fi
30533 done
30534
30535 else
30536
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30538 $as_echo_n "checking for _isinff declaration... " >&6; }
30539 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30540 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
30562 ;
30563 return 0;
30564 }
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567 glibcxx_cv_func__isinff_use=yes
30568 else
30569 glibcxx_cv_func__isinff_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__isinff_use" >&5
30583 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30584
30585 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30586 for ac_func in _isinff
30587 do :
30588 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30589 if test "x$ac_cv_func__isinff" = x""yes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE__ISINFF 1
30592 _ACEOF
30593
30594 fi
30595 done
30596
30597 fi
30598 fi
30599
30600
30601
30602
30603
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30605 $as_echo_n "checking for atan2f declaration... " >&6; }
30606 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30607 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30608 $as_echo_n "(cached) " >&6
30609 else
30610
30611
30612 ac_ext=cpp
30613 ac_cpp='$CXXCPP $CPPFLAGS'
30614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30617
30618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30619 /* end confdefs.h. */
30620 #include <math.h>
30621 int
30622 main ()
30623 {
30624 atan2f(0, 0);
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func_atan2f_use=yes
30631 else
30632 glibcxx_cv_func_atan2f_use=no
30633 fi
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30640
30641
30642 fi
30643
30644 fi
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30646 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30647
30648 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30649 for ac_func in atan2f
30650 do :
30651 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30652 if test "x$ac_cv_func_atan2f" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE_ATAN2F 1
30655 _ACEOF
30656
30657 fi
30658 done
30659
30660 else
30661
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30663 $as_echo_n "checking for _atan2f declaration... " >&6; }
30664 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30665 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30668
30669
30670 ac_ext=cpp
30671 ac_cpp='$CXXCPP $CPPFLAGS'
30672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678 #include <math.h>
30679 int
30680 main ()
30681 {
30682 _atan2f(0, 0);
30683 ;
30684 return 0;
30685 }
30686 _ACEOF
30687 if ac_fn_cxx_try_compile "$LINENO"; then :
30688 glibcxx_cv_func__atan2f_use=yes
30689 else
30690 glibcxx_cv_func__atan2f_use=no
30691 fi
30692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30693 ac_ext=c
30694 ac_cpp='$CPP $CPPFLAGS'
30695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30698
30699
30700 fi
30701
30702 fi
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30704 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30705
30706 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30707 for ac_func in _atan2f
30708 do :
30709 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30710 if test "x$ac_cv_func__atan2f" = x""yes; then :
30711 cat >>confdefs.h <<_ACEOF
30712 #define HAVE__ATAN2F 1
30713 _ACEOF
30714
30715 fi
30716 done
30717
30718 fi
30719 fi
30720
30721
30722
30723
30724
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30726 $as_echo_n "checking for fabsf declaration... " >&6; }
30727 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30728 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30729 $as_echo_n "(cached) " >&6
30730 else
30731
30732
30733 ac_ext=cpp
30734 ac_cpp='$CXXCPP $CPPFLAGS'
30735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738
30739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30740 /* end confdefs.h. */
30741 #include <math.h>
30742 #ifdef HAVE_IEEEFP_H
30743 #include <ieeefp.h>
30744 #endif
30745
30746 int
30747 main ()
30748 {
30749 fabsf(0);
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func_fabsf_use=yes
30756 else
30757 glibcxx_cv_func_fabsf_use=no
30758 fi
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765
30766
30767 fi
30768
30769 fi
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30771 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30772
30773 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30774 for ac_func in fabsf
30775 do :
30776 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30777 if test "x$ac_cv_func_fabsf" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE_FABSF 1
30780 _ACEOF
30781
30782 fi
30783 done
30784
30785 else
30786
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30788 $as_echo_n "checking for _fabsf declaration... " >&6; }
30789 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30790 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
30805 #include <ieeefp.h>
30806 #endif
30807
30808 int
30809 main ()
30810 {
30811 _fabsf(0);
30812 ;
30813 return 0;
30814 }
30815 _ACEOF
30816 if ac_fn_cxx_try_compile "$LINENO"; then :
30817 glibcxx_cv_func__fabsf_use=yes
30818 else
30819 glibcxx_cv_func__fabsf_use=no
30820 fi
30821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30822 ac_ext=c
30823 ac_cpp='$CPP $CPPFLAGS'
30824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30827
30828
30829 fi
30830
30831 fi
30832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30833 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30834
30835 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30836 for ac_func in _fabsf
30837 do :
30838 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30839 if test "x$ac_cv_func__fabsf" = x""yes; then :
30840 cat >>confdefs.h <<_ACEOF
30841 #define HAVE__FABSF 1
30842 _ACEOF
30843
30844 fi
30845 done
30846
30847 fi
30848 fi
30849
30850
30851
30852
30853
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30855 $as_echo_n "checking for fmodf declaration... " >&6; }
30856 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30857 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30860
30861
30862 ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870 #include <math.h>
30871 int
30872 main ()
30873 {
30874 fmodf(0, 0);
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func_fmodf_use=yes
30881 else
30882 glibcxx_cv_func_fmodf_use=no
30883 fi
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890
30891
30892 fi
30893
30894 fi
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30896 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30897
30898 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30899 for ac_func in fmodf
30900 do :
30901 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30902 if test "x$ac_cv_func_fmodf" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE_FMODF 1
30905 _ACEOF
30906
30907 fi
30908 done
30909
30910 else
30911
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30913 $as_echo_n "checking for _fmodf declaration... " >&6; }
30914 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30915 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30916 $as_echo_n "(cached) " >&6
30917 else
30918
30919
30920 ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30925
30926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h. */
30928 #include <math.h>
30929 int
30930 main ()
30931 {
30932 _fmodf(0, 0);
30933 ;
30934 return 0;
30935 }
30936 _ACEOF
30937 if ac_fn_cxx_try_compile "$LINENO"; then :
30938 glibcxx_cv_func__fmodf_use=yes
30939 else
30940 glibcxx_cv_func__fmodf_use=no
30941 fi
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943 ac_ext=c
30944 ac_cpp='$CPP $CPPFLAGS'
30945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30948
30949
30950 fi
30951
30952 fi
30953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30954 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30955
30956 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30957 for ac_func in _fmodf
30958 do :
30959 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30960 if test "x$ac_cv_func__fmodf" = x""yes; then :
30961 cat >>confdefs.h <<_ACEOF
30962 #define HAVE__FMODF 1
30963 _ACEOF
30964
30965 fi
30966 done
30967
30968 fi
30969 fi
30970
30971
30972
30973
30974
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30976 $as_echo_n "checking for frexpf declaration... " >&6; }
30977 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30978 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30979 $as_echo_n "(cached) " >&6
30980 else
30981
30982
30983 ac_ext=cpp
30984 ac_cpp='$CXXCPP $CPPFLAGS'
30985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30988
30989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h. */
30991 #include <math.h>
30992 int
30993 main ()
30994 {
30995 frexpf(0, 0);
30996 ;
30997 return 0;
30998 }
30999 _ACEOF
31000 if ac_fn_cxx_try_compile "$LINENO"; then :
31001 glibcxx_cv_func_frexpf_use=yes
31002 else
31003 glibcxx_cv_func_frexpf_use=no
31004 fi
31005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31006 ac_ext=c
31007 ac_cpp='$CPP $CPPFLAGS'
31008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31011
31012
31013 fi
31014
31015 fi
31016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31017 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31018
31019 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31020 for ac_func in frexpf
31021 do :
31022 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31023 if test "x$ac_cv_func_frexpf" = x""yes; then :
31024 cat >>confdefs.h <<_ACEOF
31025 #define HAVE_FREXPF 1
31026 _ACEOF
31027
31028 fi
31029 done
31030
31031 else
31032
31033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31034 $as_echo_n "checking for _frexpf declaration... " >&6; }
31035 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31036 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31037 $as_echo_n "(cached) " >&6
31038 else
31039
31040
31041 ac_ext=cpp
31042 ac_cpp='$CXXCPP $CPPFLAGS'
31043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31046
31047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31048 /* end confdefs.h. */
31049 #include <math.h>
31050 int
31051 main ()
31052 {
31053 _frexpf(0, 0);
31054 ;
31055 return 0;
31056 }
31057 _ACEOF
31058 if ac_fn_cxx_try_compile "$LINENO"; then :
31059 glibcxx_cv_func__frexpf_use=yes
31060 else
31061 glibcxx_cv_func__frexpf_use=no
31062 fi
31063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31064 ac_ext=c
31065 ac_cpp='$CPP $CPPFLAGS'
31066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31069
31070
31071 fi
31072
31073 fi
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31075 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31076
31077 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31078 for ac_func in _frexpf
31079 do :
31080 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31081 if test "x$ac_cv_func__frexpf" = x""yes; then :
31082 cat >>confdefs.h <<_ACEOF
31083 #define HAVE__FREXPF 1
31084 _ACEOF
31085
31086 fi
31087 done
31088
31089 fi
31090 fi
31091
31092
31093
31094
31095
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31097 $as_echo_n "checking for hypotf declaration... " >&6; }
31098 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31099 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31100 $as_echo_n "(cached) " >&6
31101 else
31102
31103
31104 ac_ext=cpp
31105 ac_cpp='$CXXCPP $CPPFLAGS'
31106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31109
31110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31111 /* end confdefs.h. */
31112 #include <math.h>
31113 int
31114 main ()
31115 {
31116 hypotf(0, 0);
31117 ;
31118 return 0;
31119 }
31120 _ACEOF
31121 if ac_fn_cxx_try_compile "$LINENO"; then :
31122 glibcxx_cv_func_hypotf_use=yes
31123 else
31124 glibcxx_cv_func_hypotf_use=no
31125 fi
31126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31127 ac_ext=c
31128 ac_cpp='$CPP $CPPFLAGS'
31129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31132
31133
31134 fi
31135
31136 fi
31137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31138 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31139
31140 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31141 for ac_func in hypotf
31142 do :
31143 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31144 if test "x$ac_cv_func_hypotf" = x""yes; then :
31145 cat >>confdefs.h <<_ACEOF
31146 #define HAVE_HYPOTF 1
31147 _ACEOF
31148
31149 fi
31150 done
31151
31152 else
31153
31154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31155 $as_echo_n "checking for _hypotf declaration... " >&6; }
31156 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31157 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31158 $as_echo_n "(cached) " >&6
31159 else
31160
31161
31162 ac_ext=cpp
31163 ac_cpp='$CXXCPP $CPPFLAGS'
31164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31167
31168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31169 /* end confdefs.h. */
31170 #include <math.h>
31171 int
31172 main ()
31173 {
31174 _hypotf(0, 0);
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 if ac_fn_cxx_try_compile "$LINENO"; then :
31180 glibcxx_cv_func__hypotf_use=yes
31181 else
31182 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
31196 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31197
31198 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31199 for ac_func in _hypotf
31200 do :
31201 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31202 if test "x$ac_cv_func__hypotf" = x""yes; then :
31203 cat >>confdefs.h <<_ACEOF
31204 #define HAVE__HYPOTF 1
31205 _ACEOF
31206
31207 fi
31208 done
31209
31210 fi
31211 fi
31212
31213
31214
31215
31216
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31218 $as_echo_n "checking for ldexpf declaration... " >&6; }
31219 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31220 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31221 $as_echo_n "(cached) " >&6
31222 else
31223
31224
31225 ac_ext=cpp
31226 ac_cpp='$CXXCPP $CPPFLAGS'
31227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230
31231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31232 /* end confdefs.h. */
31233 #include <math.h>
31234 int
31235 main ()
31236 {
31237 ldexpf(0, 0);
31238 ;
31239 return 0;
31240 }
31241 _ACEOF
31242 if ac_fn_cxx_try_compile "$LINENO"; then :
31243 glibcxx_cv_func_ldexpf_use=yes
31244 else
31245 glibcxx_cv_func_ldexpf_use=no
31246 fi
31247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31248 ac_ext=c
31249 ac_cpp='$CPP $CPPFLAGS'
31250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31253
31254
31255 fi
31256
31257 fi
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31259 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31260
31261 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31262 for ac_func in ldexpf
31263 do :
31264 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31265 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31266 cat >>confdefs.h <<_ACEOF
31267 #define HAVE_LDEXPF 1
31268 _ACEOF
31269
31270 fi
31271 done
31272
31273 else
31274
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31276 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31277 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31278 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31279 $as_echo_n "(cached) " >&6
31280 else
31281
31282
31283 ac_ext=cpp
31284 ac_cpp='$CXXCPP $CPPFLAGS'
31285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31288
31289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31290 /* end confdefs.h. */
31291 #include <math.h>
31292 int
31293 main ()
31294 {
31295 _ldexpf(0, 0);
31296 ;
31297 return 0;
31298 }
31299 _ACEOF
31300 if ac_fn_cxx_try_compile "$LINENO"; then :
31301 glibcxx_cv_func__ldexpf_use=yes
31302 else
31303 glibcxx_cv_func__ldexpf_use=no
31304 fi
31305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31306 ac_ext=c
31307 ac_cpp='$CPP $CPPFLAGS'
31308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31311
31312
31313 fi
31314
31315 fi
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31317 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31318
31319 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31320 for ac_func in _ldexpf
31321 do :
31322 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31323 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31324 cat >>confdefs.h <<_ACEOF
31325 #define HAVE__LDEXPF 1
31326 _ACEOF
31327
31328 fi
31329 done
31330
31331 fi
31332 fi
31333
31334
31335
31336
31337
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31339 $as_echo_n "checking for logf declaration... " >&6; }
31340 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31341 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31342 $as_echo_n "(cached) " >&6
31343 else
31344
31345
31346 ac_ext=cpp
31347 ac_cpp='$CXXCPP $CPPFLAGS'
31348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31351
31352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31353 /* end confdefs.h. */
31354 #include <math.h>
31355 #ifdef HAVE_IEEEFP_H
31356 #include <ieeefp.h>
31357 #endif
31358
31359 int
31360 main ()
31361 {
31362 logf(0);
31363 ;
31364 return 0;
31365 }
31366 _ACEOF
31367 if ac_fn_cxx_try_compile "$LINENO"; then :
31368 glibcxx_cv_func_logf_use=yes
31369 else
31370 glibcxx_cv_func_logf_use=no
31371 fi
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373 ac_ext=c
31374 ac_cpp='$CPP $CPPFLAGS'
31375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378
31379
31380 fi
31381
31382 fi
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31384 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31385
31386 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31387 for ac_func in logf
31388 do :
31389 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31390 if test "x$ac_cv_func_logf" = x""yes; then :
31391 cat >>confdefs.h <<_ACEOF
31392 #define HAVE_LOGF 1
31393 _ACEOF
31394
31395 fi
31396 done
31397
31398 else
31399
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31401 $as_echo_n "checking for _logf declaration... " >&6; }
31402 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31403 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31404 $as_echo_n "(cached) " >&6
31405 else
31406
31407
31408 ac_ext=cpp
31409 ac_cpp='$CXXCPP $CPPFLAGS'
31410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413
31414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31415 /* end confdefs.h. */
31416 #include <math.h>
31417 #ifdef HAVE_IEEEFP_H
31418 #include <ieeefp.h>
31419 #endif
31420
31421 int
31422 main ()
31423 {
31424 _logf(0);
31425 ;
31426 return 0;
31427 }
31428 _ACEOF
31429 if ac_fn_cxx_try_compile "$LINENO"; then :
31430 glibcxx_cv_func__logf_use=yes
31431 else
31432 glibcxx_cv_func__logf_use=no
31433 fi
31434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31435 ac_ext=c
31436 ac_cpp='$CPP $CPPFLAGS'
31437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31440
31441
31442 fi
31443
31444 fi
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31446 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31447
31448 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31449 for ac_func in _logf
31450 do :
31451 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31452 if test "x$ac_cv_func__logf" = x""yes; then :
31453 cat >>confdefs.h <<_ACEOF
31454 #define HAVE__LOGF 1
31455 _ACEOF
31456
31457 fi
31458 done
31459
31460 fi
31461 fi
31462
31463
31464
31465
31466
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31468 $as_echo_n "checking for log10f declaration... " >&6; }
31469 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31470 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31473
31474
31475 ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31486 #endif
31487
31488 int
31489 main ()
31490 {
31491 log10f(0);
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_log10f_use=yes
31498 else
31499 glibcxx_cv_func_log10f_use=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507
31508
31509 fi
31510
31511 fi
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31513 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31514
31515 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31516 for ac_func in log10f
31517 do :
31518 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31519 if test "x$ac_cv_func_log10f" = x""yes; then :
31520 cat >>confdefs.h <<_ACEOF
31521 #define HAVE_LOG10F 1
31522 _ACEOF
31523
31524 fi
31525 done
31526
31527 else
31528
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31530 $as_echo_n "checking for _log10f declaration... " >&6; }
31531 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31532 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31535
31536
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 #ifdef HAVE_IEEEFP_H
31547 #include <ieeefp.h>
31548 #endif
31549
31550 int
31551 main ()
31552 {
31553 _log10f(0);
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 if ac_fn_cxx_try_compile "$LINENO"; then :
31559 glibcxx_cv_func__log10f_use=yes
31560 else
31561 glibcxx_cv_func__log10f_use=no
31562 fi
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31564 ac_ext=c
31565 ac_cpp='$CPP $CPPFLAGS'
31566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31569
31570
31571 fi
31572
31573 fi
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31575 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31576
31577 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31578 for ac_func in _log10f
31579 do :
31580 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31581 if test "x$ac_cv_func__log10f" = x""yes; then :
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE__LOG10F 1
31584 _ACEOF
31585
31586 fi
31587 done
31588
31589 fi
31590 fi
31591
31592
31593
31594
31595
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31597 $as_echo_n "checking for modff declaration... " >&6; }
31598 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31599 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31600 $as_echo_n "(cached) " >&6
31601 else
31602
31603
31604 ac_ext=cpp
31605 ac_cpp='$CXXCPP $CPPFLAGS'
31606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31609
31610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31611 /* end confdefs.h. */
31612 #include <math.h>
31613 int
31614 main ()
31615 {
31616 modff(0, 0);
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func_modff_use=yes
31623 else
31624 glibcxx_cv_func_modff_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636 fi
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31638 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31639
31640 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31641 for ac_func in modff
31642 do :
31643 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31644 if test "x$ac_cv_func_modff" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE_MODFF 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652 else
31653
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31655 $as_echo_n "checking for _modff declaration... " >&6; }
31656 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31657 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31658 $as_echo_n "(cached) " >&6
31659 else
31660
31661
31662 ac_ext=cpp
31663 ac_cpp='$CXXCPP $CPPFLAGS'
31664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31667
31668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 int
31672 main ()
31673 {
31674 _modff(0, 0);
31675 ;
31676 return 0;
31677 }
31678 _ACEOF
31679 if ac_fn_cxx_try_compile "$LINENO"; then :
31680 glibcxx_cv_func__modff_use=yes
31681 else
31682 glibcxx_cv_func__modff_use=no
31683 fi
31684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31685 ac_ext=c
31686 ac_cpp='$CPP $CPPFLAGS'
31687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31690
31691
31692 fi
31693
31694 fi
31695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31696 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31697
31698 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31699 for ac_func in _modff
31700 do :
31701 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31702 if test "x$ac_cv_func__modff" = x""yes; then :
31703 cat >>confdefs.h <<_ACEOF
31704 #define HAVE__MODFF 1
31705 _ACEOF
31706
31707 fi
31708 done
31709
31710 fi
31711 fi
31712
31713
31714
31715
31716
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31718 $as_echo_n "checking for modf declaration... " >&6; }
31719 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31720 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31723
31724
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31734 int
31735 main ()
31736 {
31737 modf(0, 0);
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func_modf_use=yes
31744 else
31745 glibcxx_cv_func_modf_use=no
31746 fi
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753
31754
31755 fi
31756
31757 fi
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31759 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31760
31761 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31762 for ac_func in modf
31763 do :
31764 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31765 if test "x$ac_cv_func_modf" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE_MODF 1
31768 _ACEOF
31769
31770 fi
31771 done
31772
31773 else
31774
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31776 $as_echo_n "checking for _modf declaration... " >&6; }
31777 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31778 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31779 $as_echo_n "(cached) " >&6
31780 else
31781
31782
31783 ac_ext=cpp
31784 ac_cpp='$CXXCPP $CPPFLAGS'
31785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788
31789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790 /* end confdefs.h. */
31791 #include <math.h>
31792 int
31793 main ()
31794 {
31795 _modf(0, 0);
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 if ac_fn_cxx_try_compile "$LINENO"; then :
31801 glibcxx_cv_func__modf_use=yes
31802 else
31803 glibcxx_cv_func__modf_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__modf_use" >&5
31817 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31818
31819 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31820 for ac_func in _modf
31821 do :
31822 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31823 if test "x$ac_cv_func__modf" = x""yes; then :
31824 cat >>confdefs.h <<_ACEOF
31825 #define HAVE__MODF 1
31826 _ACEOF
31827
31828 fi
31829 done
31830
31831 fi
31832 fi
31833
31834
31835
31836
31837
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31839 $as_echo_n "checking for powf declaration... " >&6; }
31840 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31841 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31842 $as_echo_n "(cached) " >&6
31843 else
31844
31845
31846 ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851
31852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h. */
31854 #include <math.h>
31855 int
31856 main ()
31857 {
31858 powf(0, 0);
31859 ;
31860 return 0;
31861 }
31862 _ACEOF
31863 if ac_fn_cxx_try_compile "$LINENO"; then :
31864 glibcxx_cv_func_powf_use=yes
31865 else
31866 glibcxx_cv_func_powf_use=no
31867 fi
31868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31869 ac_ext=c
31870 ac_cpp='$CPP $CPPFLAGS'
31871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31874
31875
31876 fi
31877
31878 fi
31879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31880 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31881
31882 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31883 for ac_func in powf
31884 do :
31885 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31886 if test "x$ac_cv_func_powf" = x""yes; then :
31887 cat >>confdefs.h <<_ACEOF
31888 #define HAVE_POWF 1
31889 _ACEOF
31890
31891 fi
31892 done
31893
31894 else
31895
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31897 $as_echo_n "checking for _powf declaration... " >&6; }
31898 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31899 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31900 $as_echo_n "(cached) " >&6
31901 else
31902
31903
31904 ac_ext=cpp
31905 ac_cpp='$CXXCPP $CPPFLAGS'
31906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31909
31910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31911 /* end confdefs.h. */
31912 #include <math.h>
31913 int
31914 main ()
31915 {
31916 _powf(0, 0);
31917 ;
31918 return 0;
31919 }
31920 _ACEOF
31921 if ac_fn_cxx_try_compile "$LINENO"; then :
31922 glibcxx_cv_func__powf_use=yes
31923 else
31924 glibcxx_cv_func__powf_use=no
31925 fi
31926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31927 ac_ext=c
31928 ac_cpp='$CPP $CPPFLAGS'
31929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31932
31933
31934 fi
31935
31936 fi
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31938 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31939
31940 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31941 for ac_func in _powf
31942 do :
31943 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31944 if test "x$ac_cv_func__powf" = x""yes; then :
31945 cat >>confdefs.h <<_ACEOF
31946 #define HAVE__POWF 1
31947 _ACEOF
31948
31949 fi
31950 done
31951
31952 fi
31953 fi
31954
31955
31956
31957
31958
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31960 $as_echo_n "checking for sqrtf declaration... " >&6; }
31961 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31962 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31963 $as_echo_n "(cached) " >&6
31964 else
31965
31966
31967 ac_ext=cpp
31968 ac_cpp='$CXXCPP $CPPFLAGS'
31969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972
31973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31974 /* end confdefs.h. */
31975 #include <math.h>
31976 #ifdef HAVE_IEEEFP_H
31977 #include <ieeefp.h>
31978 #endif
31979
31980 int
31981 main ()
31982 {
31983 sqrtf(0);
31984 ;
31985 return 0;
31986 }
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989 glibcxx_cv_func_sqrtf_use=yes
31990 else
31991 glibcxx_cv_func_sqrtf_use=no
31992 fi
31993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994 ac_ext=c
31995 ac_cpp='$CPP $CPPFLAGS'
31996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31999
32000
32001 fi
32002
32003 fi
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32005 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32006
32007 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32008 for ac_func in sqrtf
32009 do :
32010 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32011 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32012 cat >>confdefs.h <<_ACEOF
32013 #define HAVE_SQRTF 1
32014 _ACEOF
32015
32016 fi
32017 done
32018
32019 else
32020
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32022 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32023 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32024 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 if ac_fn_cxx_try_compile "$LINENO"; then :
32051 glibcxx_cv_func__sqrtf_use=yes
32052 else
32053 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
32067 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32068
32069 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32070 for ac_func in _sqrtf
32071 do :
32072 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32073 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32074 cat >>confdefs.h <<_ACEOF
32075 #define HAVE__SQRTF 1
32076 _ACEOF
32077
32078 fi
32079 done
32080
32081 fi
32082 fi
32083
32084
32085
32086
32087
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32089 $as_echo_n "checking for sincosf declaration... " >&6; }
32090 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32091 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32092 $as_echo_n "(cached) " >&6
32093 else
32094
32095
32096 ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h. */
32104 #include <math.h>
32105 int
32106 main ()
32107 {
32108 sincosf(0, 0, 0);
32109 ;
32110 return 0;
32111 }
32112 _ACEOF
32113 if ac_fn_cxx_try_compile "$LINENO"; then :
32114 glibcxx_cv_func_sincosf_use=yes
32115 else
32116 glibcxx_cv_func_sincosf_use=no
32117 fi
32118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32119 ac_ext=c
32120 ac_cpp='$CPP $CPPFLAGS'
32121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32124
32125
32126 fi
32127
32128 fi
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32130 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32131
32132 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32133 for ac_func in sincosf
32134 do :
32135 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32136 if test "x$ac_cv_func_sincosf" = x""yes; then :
32137 cat >>confdefs.h <<_ACEOF
32138 #define HAVE_SINCOSF 1
32139 _ACEOF
32140
32141 fi
32142 done
32143
32144 else
32145
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32147 $as_echo_n "checking for _sincosf declaration... " >&6; }
32148 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32149 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32150 $as_echo_n "(cached) " >&6
32151 else
32152
32153
32154 ac_ext=cpp
32155 ac_cpp='$CXXCPP $CPPFLAGS'
32156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32159
32160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32161 /* end confdefs.h. */
32162 #include <math.h>
32163 int
32164 main ()
32165 {
32166 _sincosf(0, 0, 0);
32167 ;
32168 return 0;
32169 }
32170 _ACEOF
32171 if ac_fn_cxx_try_compile "$LINENO"; then :
32172 glibcxx_cv_func__sincosf_use=yes
32173 else
32174 glibcxx_cv_func__sincosf_use=no
32175 fi
32176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32177 ac_ext=c
32178 ac_cpp='$CPP $CPPFLAGS'
32179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182
32183
32184 fi
32185
32186 fi
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32188 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32189
32190 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32191 for ac_func in _sincosf
32192 do :
32193 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32194 if test "x$ac_cv_func__sincosf" = x""yes; then :
32195 cat >>confdefs.h <<_ACEOF
32196 #define HAVE__SINCOSF 1
32197 _ACEOF
32198
32199 fi
32200 done
32201
32202 fi
32203 fi
32204
32205
32206
32207
32208
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32210 $as_echo_n "checking for finitef declaration... " >&6; }
32211 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32212 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32213 $as_echo_n "(cached) " >&6
32214 else
32215
32216
32217 ac_ext=cpp
32218 ac_cpp='$CXXCPP $CPPFLAGS'
32219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32222
32223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <math.h>
32226 #ifdef HAVE_IEEEFP_H
32227 #include <ieeefp.h>
32228 #endif
32229
32230 int
32231 main ()
32232 {
32233 finitef(0);
32234 ;
32235 return 0;
32236 }
32237 _ACEOF
32238 if ac_fn_cxx_try_compile "$LINENO"; then :
32239 glibcxx_cv_func_finitef_use=yes
32240 else
32241 glibcxx_cv_func_finitef_use=no
32242 fi
32243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32244 ac_ext=c
32245 ac_cpp='$CPP $CPPFLAGS'
32246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32249
32250
32251 fi
32252
32253 fi
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32255 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32256
32257 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32258 for ac_func in finitef
32259 do :
32260 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32261 if test "x$ac_cv_func_finitef" = x""yes; then :
32262 cat >>confdefs.h <<_ACEOF
32263 #define HAVE_FINITEF 1
32264 _ACEOF
32265
32266 fi
32267 done
32268
32269 else
32270
32271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32272 $as_echo_n "checking for _finitef declaration... " >&6; }
32273 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32274 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32275 $as_echo_n "(cached) " >&6
32276 else
32277
32278
32279 ac_ext=cpp
32280 ac_cpp='$CXXCPP $CPPFLAGS'
32281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284
32285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32286 /* end confdefs.h. */
32287 #include <math.h>
32288 #ifdef HAVE_IEEEFP_H
32289 #include <ieeefp.h>
32290 #endif
32291
32292 int
32293 main ()
32294 {
32295 _finitef(0);
32296 ;
32297 return 0;
32298 }
32299 _ACEOF
32300 if ac_fn_cxx_try_compile "$LINENO"; then :
32301 glibcxx_cv_func__finitef_use=yes
32302 else
32303 glibcxx_cv_func__finitef_use=no
32304 fi
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32306 ac_ext=c
32307 ac_cpp='$CPP $CPPFLAGS'
32308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32311
32312
32313 fi
32314
32315 fi
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32317 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32318
32319 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32320 for ac_func in _finitef
32321 do :
32322 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32323 if test "x$ac_cv_func__finitef" = x""yes; then :
32324 cat >>confdefs.h <<_ACEOF
32325 #define HAVE__FINITEF 1
32326 _ACEOF
32327
32328 fi
32329 done
32330
32331 fi
32332 fi
32333
32334
32335
32336
32337
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32339 $as_echo_n "checking for long double trig functions... " >&6; }
32340 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32341 $as_echo_n "(cached) " >&6
32342 else
32343
32344
32345 ac_ext=cpp
32346 ac_cpp='$CXXCPP $CPPFLAGS'
32347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350
32351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32352 /* end confdefs.h. */
32353 #include <math.h>
32354 int
32355 main ()
32356 {
32357 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32358 ;
32359 return 0;
32360 }
32361 _ACEOF
32362 if ac_fn_cxx_try_compile "$LINENO"; then :
32363 glibcxx_cv_func_long_double_trig_use=yes
32364 else
32365 glibcxx_cv_func_long_double_trig_use=no
32366 fi
32367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32368 ac_ext=c
32369 ac_cpp='$CPP $CPPFLAGS'
32370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32373
32374 fi
32375
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32377 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32378 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32379 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32380 do :
32381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32383 eval as_val=\$$as_ac_var
32384 if test "x$as_val" = x""yes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32387 _ACEOF
32388
32389 fi
32390 done
32391
32392 else
32393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32394 $as_echo_n "checking for _long double trig functions... " >&6; }
32395 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32396 $as_echo_n "(cached) " >&6
32397 else
32398
32399
32400 ac_ext=cpp
32401 ac_cpp='$CXXCPP $CPPFLAGS'
32402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405
32406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32407 /* end confdefs.h. */
32408 #include <math.h>
32409 int
32410 main ()
32411 {
32412 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32413 ;
32414 return 0;
32415 }
32416 _ACEOF
32417 if ac_fn_cxx_try_compile "$LINENO"; then :
32418 glibcxx_cv_func__long_double_trig_use=yes
32419 else
32420 glibcxx_cv_func__long_double_trig_use=no
32421 fi
32422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32423 ac_ext=c
32424 ac_cpp='$CPP $CPPFLAGS'
32425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32428
32429 fi
32430
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32432 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32433 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32434 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32435 do :
32436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32438 eval as_val=\$$as_ac_var
32439 if test "x$as_val" = x""yes; then :
32440 cat >>confdefs.h <<_ACEOF
32441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32442 _ACEOF
32443
32444 fi
32445 done
32446
32447 fi
32448 fi
32449
32450
32451
32452
32453
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32455 $as_echo_n "checking for long double round functions... " >&6; }
32456 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32457 $as_echo_n "(cached) " >&6
32458 else
32459
32460
32461 ac_ext=cpp
32462 ac_cpp='$CXXCPP $CPPFLAGS'
32463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32466
32467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h. */
32469 #include <math.h>
32470 int
32471 main ()
32472 {
32473 ceill (0); floorl (0);
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 if ac_fn_cxx_try_compile "$LINENO"; then :
32479 glibcxx_cv_func_long_double_round_use=yes
32480 else
32481 glibcxx_cv_func_long_double_round_use=no
32482 fi
32483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32484 ac_ext=c
32485 ac_cpp='$CPP $CPPFLAGS'
32486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32489
32490 fi
32491
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32493 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32494 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32495 for ac_func in ceill floorl
32496 do :
32497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32499 eval as_val=\$$as_ac_var
32500 if test "x$as_val" = x""yes; then :
32501 cat >>confdefs.h <<_ACEOF
32502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32503 _ACEOF
32504
32505 fi
32506 done
32507
32508 else
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32510 $as_echo_n "checking for _long double round functions... " >&6; }
32511 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32512 $as_echo_n "(cached) " >&6
32513 else
32514
32515
32516 ac_ext=cpp
32517 ac_cpp='$CXXCPP $CPPFLAGS'
32518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32521
32522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32523 /* end confdefs.h. */
32524 #include <math.h>
32525 int
32526 main ()
32527 {
32528 _ceill (0); _floorl (0);
32529 ;
32530 return 0;
32531 }
32532 _ACEOF
32533 if ac_fn_cxx_try_compile "$LINENO"; then :
32534 glibcxx_cv_func__long_double_round_use=yes
32535 else
32536 glibcxx_cv_func__long_double_round_use=no
32537 fi
32538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32539 ac_ext=c
32540 ac_cpp='$CPP $CPPFLAGS'
32541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32544
32545 fi
32546
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32548 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32549 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32550 for ac_func in _ceill _floorl
32551 do :
32552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32554 eval as_val=\$$as_ac_var
32555 if test "x$as_val" = x""yes; then :
32556 cat >>confdefs.h <<_ACEOF
32557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32558 _ACEOF
32559
32560 fi
32561 done
32562
32563 fi
32564 fi
32565
32566
32567
32568
32569
32570
32571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32572 $as_echo_n "checking for isnanl declaration... " >&6; }
32573 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32574 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32575 $as_echo_n "(cached) " >&6
32576 else
32577
32578
32579 ac_ext=cpp
32580 ac_cpp='$CXXCPP $CPPFLAGS'
32581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32584
32585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32586 /* end confdefs.h. */
32587 #include <math.h>
32588 #ifdef HAVE_IEEEFP_H
32589 #include <ieeefp.h>
32590 #endif
32591
32592 int
32593 main ()
32594 {
32595 isnanl(0);
32596 ;
32597 return 0;
32598 }
32599 _ACEOF
32600 if ac_fn_cxx_try_compile "$LINENO"; then :
32601 glibcxx_cv_func_isnanl_use=yes
32602 else
32603 glibcxx_cv_func_isnanl_use=no
32604 fi
32605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32606 ac_ext=c
32607 ac_cpp='$CPP $CPPFLAGS'
32608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32611
32612
32613 fi
32614
32615 fi
32616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32617 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32618
32619 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32620 for ac_func in isnanl
32621 do :
32622 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32623 if test "x$ac_cv_func_isnanl" = x""yes; then :
32624 cat >>confdefs.h <<_ACEOF
32625 #define HAVE_ISNANL 1
32626 _ACEOF
32627
32628 fi
32629 done
32630
32631 else
32632
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32634 $as_echo_n "checking for _isnanl declaration... " >&6; }
32635 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32636 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32637 $as_echo_n "(cached) " >&6
32638 else
32639
32640
32641 ac_ext=cpp
32642 ac_cpp='$CXXCPP $CPPFLAGS'
32643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32646
32647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32648 /* end confdefs.h. */
32649 #include <math.h>
32650 #ifdef HAVE_IEEEFP_H
32651 #include <ieeefp.h>
32652 #endif
32653
32654 int
32655 main ()
32656 {
32657 _isnanl(0);
32658 ;
32659 return 0;
32660 }
32661 _ACEOF
32662 if ac_fn_cxx_try_compile "$LINENO"; then :
32663 glibcxx_cv_func__isnanl_use=yes
32664 else
32665 glibcxx_cv_func__isnanl_use=no
32666 fi
32667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32668 ac_ext=c
32669 ac_cpp='$CPP $CPPFLAGS'
32670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32673
32674
32675 fi
32676
32677 fi
32678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32679 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32680
32681 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32682 for ac_func in _isnanl
32683 do :
32684 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32685 if test "x$ac_cv_func__isnanl" = x""yes; then :
32686 cat >>confdefs.h <<_ACEOF
32687 #define HAVE__ISNANL 1
32688 _ACEOF
32689
32690 fi
32691 done
32692
32693 fi
32694 fi
32695
32696
32697
32698
32699
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32701 $as_echo_n "checking for isinfl declaration... " >&6; }
32702 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32703 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32706
32707
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32717 #ifdef HAVE_IEEEFP_H
32718 #include <ieeefp.h>
32719 #endif
32720
32721 int
32722 main ()
32723 {
32724 isinfl(0);
32725 ;
32726 return 0;
32727 }
32728 _ACEOF
32729 if ac_fn_cxx_try_compile "$LINENO"; then :
32730 glibcxx_cv_func_isinfl_use=yes
32731 else
32732 glibcxx_cv_func_isinfl_use=no
32733 fi
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32735 ac_ext=c
32736 ac_cpp='$CPP $CPPFLAGS'
32737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32740
32741
32742 fi
32743
32744 fi
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32746 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32747
32748 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32749 for ac_func in isinfl
32750 do :
32751 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32752 if test "x$ac_cv_func_isinfl" = x""yes; then :
32753 cat >>confdefs.h <<_ACEOF
32754 #define HAVE_ISINFL 1
32755 _ACEOF
32756
32757 fi
32758 done
32759
32760 else
32761
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32763 $as_echo_n "checking for _isinfl declaration... " >&6; }
32764 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32765 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
32787 ;
32788 return 0;
32789 }
32790 _ACEOF
32791 if ac_fn_cxx_try_compile "$LINENO"; then :
32792 glibcxx_cv_func__isinfl_use=yes
32793 else
32794 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
32808 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32809
32810 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32811 for ac_func in _isinfl
32812 do :
32813 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32814 if test "x$ac_cv_func__isinfl" = x""yes; then :
32815 cat >>confdefs.h <<_ACEOF
32816 #define HAVE__ISINFL 1
32817 _ACEOF
32818
32819 fi
32820 done
32821
32822 fi
32823 fi
32824
32825
32826
32827
32828
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32830 $as_echo_n "checking for atan2l declaration... " >&6; }
32831 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32832 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32833 $as_echo_n "(cached) " >&6
32834 else
32835
32836
32837 ac_ext=cpp
32838 ac_cpp='$CXXCPP $CPPFLAGS'
32839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842
32843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32845 #include <math.h>
32846 int
32847 main ()
32848 {
32849 atan2l(0, 0);
32850 ;
32851 return 0;
32852 }
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855 glibcxx_cv_func_atan2l_use=yes
32856 else
32857 glibcxx_cv_func_atan2l_use=no
32858 fi
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869 fi
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32871 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32872
32873 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32874 for ac_func in atan2l
32875 do :
32876 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32877 if test "x$ac_cv_func_atan2l" = x""yes; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define HAVE_ATAN2L 1
32880 _ACEOF
32881
32882 fi
32883 done
32884
32885 else
32886
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32888 $as_echo_n "checking for _atan2l declaration... " >&6; }
32889 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32890 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32891 $as_echo_n "(cached) " >&6
32892 else
32893
32894
32895 ac_ext=cpp
32896 ac_cpp='$CXXCPP $CPPFLAGS'
32897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32900
32901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32902 /* end confdefs.h. */
32903 #include <math.h>
32904 int
32905 main ()
32906 {
32907 _atan2l(0, 0);
32908 ;
32909 return 0;
32910 }
32911 _ACEOF
32912 if ac_fn_cxx_try_compile "$LINENO"; then :
32913 glibcxx_cv_func__atan2l_use=yes
32914 else
32915 glibcxx_cv_func__atan2l_use=no
32916 fi
32917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32918 ac_ext=c
32919 ac_cpp='$CPP $CPPFLAGS'
32920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32923
32924
32925 fi
32926
32927 fi
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32929 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32930
32931 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32932 for ac_func in _atan2l
32933 do :
32934 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32935 if test "x$ac_cv_func__atan2l" = x""yes; then :
32936 cat >>confdefs.h <<_ACEOF
32937 #define HAVE__ATAN2L 1
32938 _ACEOF
32939
32940 fi
32941 done
32942
32943 fi
32944 fi
32945
32946
32947
32948
32949
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32951 $as_echo_n "checking for expl declaration... " >&6; }
32952 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32953 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32954 $as_echo_n "(cached) " >&6
32955 else
32956
32957
32958 ac_ext=cpp
32959 ac_cpp='$CXXCPP $CPPFLAGS'
32960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32963
32964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32965 /* end confdefs.h. */
32966 #include <math.h>
32967 #ifdef HAVE_IEEEFP_H
32968 #include <ieeefp.h>
32969 #endif
32970
32971 int
32972 main ()
32973 {
32974 expl(0);
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func_expl_use=yes
32981 else
32982 glibcxx_cv_func_expl_use=no
32983 fi
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32985 ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32990
32991
32992 fi
32993
32994 fi
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32996 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32997
32998 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32999 for ac_func in expl
33000 do :
33001 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33002 if test "x$ac_cv_func_expl" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE_EXPL 1
33005 _ACEOF
33006
33007 fi
33008 done
33009
33010 else
33011
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33013 $as_echo_n "checking for _expl declaration... " >&6; }
33014 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33015 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33016 $as_echo_n "(cached) " >&6
33017 else
33018
33019
33020 ac_ext=cpp
33021 ac_cpp='$CXXCPP $CPPFLAGS'
33022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33025
33026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33027 /* end confdefs.h. */
33028 #include <math.h>
33029 #ifdef HAVE_IEEEFP_H
33030 #include <ieeefp.h>
33031 #endif
33032
33033 int
33034 main ()
33035 {
33036 _expl(0);
33037 ;
33038 return 0;
33039 }
33040 _ACEOF
33041 if ac_fn_cxx_try_compile "$LINENO"; then :
33042 glibcxx_cv_func__expl_use=yes
33043 else
33044 glibcxx_cv_func__expl_use=no
33045 fi
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33047 ac_ext=c
33048 ac_cpp='$CPP $CPPFLAGS'
33049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33052
33053
33054 fi
33055
33056 fi
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33058 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33059
33060 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33061 for ac_func in _expl
33062 do :
33063 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33064 if test "x$ac_cv_func__expl" = x""yes; then :
33065 cat >>confdefs.h <<_ACEOF
33066 #define HAVE__EXPL 1
33067 _ACEOF
33068
33069 fi
33070 done
33071
33072 fi
33073 fi
33074
33075
33076
33077
33078
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33080 $as_echo_n "checking for fabsl declaration... " >&6; }
33081 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33082 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33085
33086
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33096 #ifdef HAVE_IEEEFP_H
33097 #include <ieeefp.h>
33098 #endif
33099
33100 int
33101 main ()
33102 {
33103 fabsl(0);
33104 ;
33105 return 0;
33106 }
33107 _ACEOF
33108 if ac_fn_cxx_try_compile "$LINENO"; then :
33109 glibcxx_cv_func_fabsl_use=yes
33110 else
33111 glibcxx_cv_func_fabsl_use=no
33112 fi
33113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33114 ac_ext=c
33115 ac_cpp='$CPP $CPPFLAGS'
33116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119
33120
33121 fi
33122
33123 fi
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33125 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33126
33127 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33128 for ac_func in fabsl
33129 do :
33130 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33131 if test "x$ac_cv_func_fabsl" = x""yes; then :
33132 cat >>confdefs.h <<_ACEOF
33133 #define HAVE_FABSL 1
33134 _ACEOF
33135
33136 fi
33137 done
33138
33139 else
33140
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33142 $as_echo_n "checking for _fabsl declaration... " >&6; }
33143 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33144 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
33159 #include <ieeefp.h>
33160 #endif
33161
33162 int
33163 main ()
33164 {
33165 _fabsl(0);
33166 ;
33167 return 0;
33168 }
33169 _ACEOF
33170 if ac_fn_cxx_try_compile "$LINENO"; then :
33171 glibcxx_cv_func__fabsl_use=yes
33172 else
33173 glibcxx_cv_func__fabsl_use=no
33174 fi
33175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33176 ac_ext=c
33177 ac_cpp='$CPP $CPPFLAGS'
33178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33181
33182
33183 fi
33184
33185 fi
33186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33187 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33188
33189 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33190 for ac_func in _fabsl
33191 do :
33192 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33193 if test "x$ac_cv_func__fabsl" = x""yes; then :
33194 cat >>confdefs.h <<_ACEOF
33195 #define HAVE__FABSL 1
33196 _ACEOF
33197
33198 fi
33199 done
33200
33201 fi
33202 fi
33203
33204
33205
33206
33207
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33209 $as_echo_n "checking for fmodl declaration... " >&6; }
33210 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33211 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33212 $as_echo_n "(cached) " >&6
33213 else
33214
33215
33216 ac_ext=cpp
33217 ac_cpp='$CXXCPP $CPPFLAGS'
33218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33221
33222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33224 #include <math.h>
33225 int
33226 main ()
33227 {
33228 fmodl(0, 0);
33229 ;
33230 return 0;
33231 }
33232 _ACEOF
33233 if ac_fn_cxx_try_compile "$LINENO"; then :
33234 glibcxx_cv_func_fmodl_use=yes
33235 else
33236 glibcxx_cv_func_fmodl_use=no
33237 fi
33238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33239 ac_ext=c
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244
33245
33246 fi
33247
33248 fi
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33250 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33251
33252 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33253 for ac_func in fmodl
33254 do :
33255 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33256 if test "x$ac_cv_func_fmodl" = x""yes; then :
33257 cat >>confdefs.h <<_ACEOF
33258 #define HAVE_FMODL 1
33259 _ACEOF
33260
33261 fi
33262 done
33263
33264 else
33265
33266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33267 $as_echo_n "checking for _fmodl declaration... " >&6; }
33268 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33269 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33270 $as_echo_n "(cached) " >&6
33271 else
33272
33273
33274 ac_ext=cpp
33275 ac_cpp='$CXXCPP $CPPFLAGS'
33276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33279
33280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33281 /* end confdefs.h. */
33282 #include <math.h>
33283 int
33284 main ()
33285 {
33286 _fmodl(0, 0);
33287 ;
33288 return 0;
33289 }
33290 _ACEOF
33291 if ac_fn_cxx_try_compile "$LINENO"; then :
33292 glibcxx_cv_func__fmodl_use=yes
33293 else
33294 glibcxx_cv_func__fmodl_use=no
33295 fi
33296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33297 ac_ext=c
33298 ac_cpp='$CPP $CPPFLAGS'
33299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33302
33303
33304 fi
33305
33306 fi
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33308 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33309
33310 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33311 for ac_func in _fmodl
33312 do :
33313 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33314 if test "x$ac_cv_func__fmodl" = x""yes; then :
33315 cat >>confdefs.h <<_ACEOF
33316 #define HAVE__FMODL 1
33317 _ACEOF
33318
33319 fi
33320 done
33321
33322 fi
33323 fi
33324
33325
33326
33327
33328
33329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33330 $as_echo_n "checking for frexpl declaration... " >&6; }
33331 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33332 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33333 $as_echo_n "(cached) " >&6
33334 else
33335
33336
33337 ac_ext=cpp
33338 ac_cpp='$CXXCPP $CPPFLAGS'
33339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33342
33343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33344 /* end confdefs.h. */
33345 #include <math.h>
33346 int
33347 main ()
33348 {
33349 frexpl(0, 0);
33350 ;
33351 return 0;
33352 }
33353 _ACEOF
33354 if ac_fn_cxx_try_compile "$LINENO"; then :
33355 glibcxx_cv_func_frexpl_use=yes
33356 else
33357 glibcxx_cv_func_frexpl_use=no
33358 fi
33359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33360 ac_ext=c
33361 ac_cpp='$CPP $CPPFLAGS'
33362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33365
33366
33367 fi
33368
33369 fi
33370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33371 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33372
33373 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33374 for ac_func in frexpl
33375 do :
33376 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33377 if test "x$ac_cv_func_frexpl" = x""yes; then :
33378 cat >>confdefs.h <<_ACEOF
33379 #define HAVE_FREXPL 1
33380 _ACEOF
33381
33382 fi
33383 done
33384
33385 else
33386
33387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33388 $as_echo_n "checking for _frexpl declaration... " >&6; }
33389 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33390 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33391 $as_echo_n "(cached) " >&6
33392 else
33393
33394
33395 ac_ext=cpp
33396 ac_cpp='$CXXCPP $CPPFLAGS'
33397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400
33401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33402 /* end confdefs.h. */
33403 #include <math.h>
33404 int
33405 main ()
33406 {
33407 _frexpl(0, 0);
33408 ;
33409 return 0;
33410 }
33411 _ACEOF
33412 if ac_fn_cxx_try_compile "$LINENO"; then :
33413 glibcxx_cv_func__frexpl_use=yes
33414 else
33415 glibcxx_cv_func__frexpl_use=no
33416 fi
33417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33418 ac_ext=c
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423
33424
33425 fi
33426
33427 fi
33428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33429 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33430
33431 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33432 for ac_func in _frexpl
33433 do :
33434 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33435 if test "x$ac_cv_func__frexpl" = x""yes; then :
33436 cat >>confdefs.h <<_ACEOF
33437 #define HAVE__FREXPL 1
33438 _ACEOF
33439
33440 fi
33441 done
33442
33443 fi
33444 fi
33445
33446
33447
33448
33449
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33451 $as_echo_n "checking for hypotl declaration... " >&6; }
33452 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33453 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33454 $as_echo_n "(cached) " >&6
33455 else
33456
33457
33458 ac_ext=cpp
33459 ac_cpp='$CXXCPP $CPPFLAGS'
33460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33463
33464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33465 /* end confdefs.h. */
33466 #include <math.h>
33467 int
33468 main ()
33469 {
33470 hypotl(0, 0);
33471 ;
33472 return 0;
33473 }
33474 _ACEOF
33475 if ac_fn_cxx_try_compile "$LINENO"; then :
33476 glibcxx_cv_func_hypotl_use=yes
33477 else
33478 glibcxx_cv_func_hypotl_use=no
33479 fi
33480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33481 ac_ext=c
33482 ac_cpp='$CPP $CPPFLAGS'
33483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33486
33487
33488 fi
33489
33490 fi
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33492 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33493
33494 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33495 for ac_func in hypotl
33496 do :
33497 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33498 if test "x$ac_cv_func_hypotl" = x""yes; then :
33499 cat >>confdefs.h <<_ACEOF
33500 #define HAVE_HYPOTL 1
33501 _ACEOF
33502
33503 fi
33504 done
33505
33506 else
33507
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33509 $as_echo_n "checking for _hypotl declaration... " >&6; }
33510 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33511 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33512 $as_echo_n "(cached) " >&6
33513 else
33514
33515
33516 ac_ext=cpp
33517 ac_cpp='$CXXCPP $CPPFLAGS'
33518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33521
33522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33523 /* end confdefs.h. */
33524 #include <math.h>
33525 int
33526 main ()
33527 {
33528 _hypotl(0, 0);
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 if ac_fn_cxx_try_compile "$LINENO"; then :
33534 glibcxx_cv_func__hypotl_use=yes
33535 else
33536 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
33550 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33551
33552 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33553 for ac_func in _hypotl
33554 do :
33555 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33556 if test "x$ac_cv_func__hypotl" = x""yes; then :
33557 cat >>confdefs.h <<_ACEOF
33558 #define HAVE__HYPOTL 1
33559 _ACEOF
33560
33561 fi
33562 done
33563
33564 fi
33565 fi
33566
33567
33568
33569
33570
33571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33572 $as_echo_n "checking for ldexpl declaration... " >&6; }
33573 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33574 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33575 $as_echo_n "(cached) " >&6
33576 else
33577
33578
33579 ac_ext=cpp
33580 ac_cpp='$CXXCPP $CPPFLAGS'
33581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584
33585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586 /* end confdefs.h. */
33587 #include <math.h>
33588 int
33589 main ()
33590 {
33591 ldexpl(0, 0);
33592 ;
33593 return 0;
33594 }
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597 glibcxx_cv_func_ldexpl_use=yes
33598 else
33599 glibcxx_cv_func_ldexpl_use=no
33600 fi
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607
33608
33609 fi
33610
33611 fi
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33613 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33614
33615 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33616 for ac_func in ldexpl
33617 do :
33618 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33619 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33620 cat >>confdefs.h <<_ACEOF
33621 #define HAVE_LDEXPL 1
33622 _ACEOF
33623
33624 fi
33625 done
33626
33627 else
33628
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33630 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33631 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33632 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33633 $as_echo_n "(cached) " >&6
33634 else
33635
33636
33637 ac_ext=cpp
33638 ac_cpp='$CXXCPP $CPPFLAGS'
33639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33642
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33645 #include <math.h>
33646 int
33647 main ()
33648 {
33649 _ldexpl(0, 0);
33650 ;
33651 return 0;
33652 }
33653 _ACEOF
33654 if ac_fn_cxx_try_compile "$LINENO"; then :
33655 glibcxx_cv_func__ldexpl_use=yes
33656 else
33657 glibcxx_cv_func__ldexpl_use=no
33658 fi
33659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33660 ac_ext=c
33661 ac_cpp='$CPP $CPPFLAGS'
33662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33665
33666
33667 fi
33668
33669 fi
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33671 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33672
33673 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33674 for ac_func in _ldexpl
33675 do :
33676 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33677 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33678 cat >>confdefs.h <<_ACEOF
33679 #define HAVE__LDEXPL 1
33680 _ACEOF
33681
33682 fi
33683 done
33684
33685 fi
33686 fi
33687
33688
33689
33690
33691
33692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33693 $as_echo_n "checking for logl declaration... " >&6; }
33694 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33695 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33696 $as_echo_n "(cached) " >&6
33697 else
33698
33699
33700 ac_ext=cpp
33701 ac_cpp='$CXXCPP $CPPFLAGS'
33702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33705
33706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33707 /* end confdefs.h. */
33708 #include <math.h>
33709 #ifdef HAVE_IEEEFP_H
33710 #include <ieeefp.h>
33711 #endif
33712
33713 int
33714 main ()
33715 {
33716 logl(0);
33717 ;
33718 return 0;
33719 }
33720 _ACEOF
33721 if ac_fn_cxx_try_compile "$LINENO"; then :
33722 glibcxx_cv_func_logl_use=yes
33723 else
33724 glibcxx_cv_func_logl_use=no
33725 fi
33726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33732
33733
33734 fi
33735
33736 fi
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33738 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33739
33740 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33741 for ac_func in logl
33742 do :
33743 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33744 if test "x$ac_cv_func_logl" = x""yes; then :
33745 cat >>confdefs.h <<_ACEOF
33746 #define HAVE_LOGL 1
33747 _ACEOF
33748
33749 fi
33750 done
33751
33752 else
33753
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33755 $as_echo_n "checking for _logl declaration... " >&6; }
33756 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33757 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33758 $as_echo_n "(cached) " >&6
33759 else
33760
33761
33762 ac_ext=cpp
33763 ac_cpp='$CXXCPP $CPPFLAGS'
33764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33767
33768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33769 /* end confdefs.h. */
33770 #include <math.h>
33771 #ifdef HAVE_IEEEFP_H
33772 #include <ieeefp.h>
33773 #endif
33774
33775 int
33776 main ()
33777 {
33778 _logl(0);
33779 ;
33780 return 0;
33781 }
33782 _ACEOF
33783 if ac_fn_cxx_try_compile "$LINENO"; then :
33784 glibcxx_cv_func__logl_use=yes
33785 else
33786 glibcxx_cv_func__logl_use=no
33787 fi
33788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33789 ac_ext=c
33790 ac_cpp='$CPP $CPPFLAGS'
33791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33794
33795
33796 fi
33797
33798 fi
33799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33800 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33801
33802 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33803 for ac_func in _logl
33804 do :
33805 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33806 if test "x$ac_cv_func__logl" = x""yes; then :
33807 cat >>confdefs.h <<_ACEOF
33808 #define HAVE__LOGL 1
33809 _ACEOF
33810
33811 fi
33812 done
33813
33814 fi
33815 fi
33816
33817
33818
33819
33820
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33822 $as_echo_n "checking for log10l declaration... " >&6; }
33823 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33824 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33825 $as_echo_n "(cached) " >&6
33826 else
33827
33828
33829 ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834
33835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33837 #include <math.h>
33838 #ifdef HAVE_IEEEFP_H
33839 #include <ieeefp.h>
33840 #endif
33841
33842 int
33843 main ()
33844 {
33845 log10l(0);
33846 ;
33847 return 0;
33848 }
33849 _ACEOF
33850 if ac_fn_cxx_try_compile "$LINENO"; then :
33851 glibcxx_cv_func_log10l_use=yes
33852 else
33853 glibcxx_cv_func_log10l_use=no
33854 fi
33855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 ac_ext=c
33857 ac_cpp='$CPP $CPPFLAGS'
33858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861
33862
33863 fi
33864
33865 fi
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33867 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33868
33869 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33870 for ac_func in log10l
33871 do :
33872 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33873 if test "x$ac_cv_func_log10l" = x""yes; then :
33874 cat >>confdefs.h <<_ACEOF
33875 #define HAVE_LOG10L 1
33876 _ACEOF
33877
33878 fi
33879 done
33880
33881 else
33882
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33884 $as_echo_n "checking for _log10l declaration... " >&6; }
33885 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33886 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
33901 #include <ieeefp.h>
33902 #endif
33903
33904 int
33905 main ()
33906 {
33907 _log10l(0);
33908 ;
33909 return 0;
33910 }
33911 _ACEOF
33912 if ac_fn_cxx_try_compile "$LINENO"; then :
33913 glibcxx_cv_func__log10l_use=yes
33914 else
33915 glibcxx_cv_func__log10l_use=no
33916 fi
33917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33918 ac_ext=c
33919 ac_cpp='$CPP $CPPFLAGS'
33920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33923
33924
33925 fi
33926
33927 fi
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33929 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33930
33931 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33932 for ac_func in _log10l
33933 do :
33934 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33935 if test "x$ac_cv_func__log10l" = x""yes; then :
33936 cat >>confdefs.h <<_ACEOF
33937 #define HAVE__LOG10L 1
33938 _ACEOF
33939
33940 fi
33941 done
33942
33943 fi
33944 fi
33945
33946
33947
33948
33949
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33951 $as_echo_n "checking for modfl declaration... " >&6; }
33952 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33953 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33954 $as_echo_n "(cached) " >&6
33955 else
33956
33957
33958 ac_ext=cpp
33959 ac_cpp='$CXXCPP $CPPFLAGS'
33960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33963
33964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33965 /* end confdefs.h. */
33966 #include <math.h>
33967 int
33968 main ()
33969 {
33970 modfl(0, 0);
33971 ;
33972 return 0;
33973 }
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976 glibcxx_cv_func_modfl_use=yes
33977 else
33978 glibcxx_cv_func_modfl_use=no
33979 fi
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987
33988 fi
33989
33990 fi
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33992 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33993
33994 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33995 for ac_func in modfl
33996 do :
33997 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33998 if test "x$ac_cv_func_modfl" = x""yes; then :
33999 cat >>confdefs.h <<_ACEOF
34000 #define HAVE_MODFL 1
34001 _ACEOF
34002
34003 fi
34004 done
34005
34006 else
34007
34008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34009 $as_echo_n "checking for _modfl declaration... " >&6; }
34010 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34011 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34012 $as_echo_n "(cached) " >&6
34013 else
34014
34015
34016 ac_ext=cpp
34017 ac_cpp='$CXXCPP $CPPFLAGS'
34018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34021
34022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34023 /* end confdefs.h. */
34024 #include <math.h>
34025 int
34026 main ()
34027 {
34028 _modfl(0, 0);
34029 ;
34030 return 0;
34031 }
34032 _ACEOF
34033 if ac_fn_cxx_try_compile "$LINENO"; then :
34034 glibcxx_cv_func__modfl_use=yes
34035 else
34036 glibcxx_cv_func__modfl_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__modfl_use" >&5
34050 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34051
34052 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34053 for ac_func in _modfl
34054 do :
34055 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34056 if test "x$ac_cv_func__modfl" = x""yes; then :
34057 cat >>confdefs.h <<_ACEOF
34058 #define HAVE__MODFL 1
34059 _ACEOF
34060
34061 fi
34062 done
34063
34064 fi
34065 fi
34066
34067
34068
34069
34070
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34072 $as_echo_n "checking for powl declaration... " >&6; }
34073 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34074 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34075 $as_echo_n "(cached) " >&6
34076 else
34077
34078
34079 ac_ext=cpp
34080 ac_cpp='$CXXCPP $CPPFLAGS'
34081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34084
34085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34086 /* end confdefs.h. */
34087 #include <math.h>
34088 int
34089 main ()
34090 {
34091 powl(0, 0);
34092 ;
34093 return 0;
34094 }
34095 _ACEOF
34096 if ac_fn_cxx_try_compile "$LINENO"; then :
34097 glibcxx_cv_func_powl_use=yes
34098 else
34099 glibcxx_cv_func_powl_use=no
34100 fi
34101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34102 ac_ext=c
34103 ac_cpp='$CPP $CPPFLAGS'
34104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34107
34108
34109 fi
34110
34111 fi
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34113 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34114
34115 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34116 for ac_func in powl
34117 do :
34118 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34119 if test "x$ac_cv_func_powl" = x""yes; then :
34120 cat >>confdefs.h <<_ACEOF
34121 #define HAVE_POWL 1
34122 _ACEOF
34123
34124 fi
34125 done
34126
34127 else
34128
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34130 $as_echo_n "checking for _powl declaration... " >&6; }
34131 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34132 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34133 $as_echo_n "(cached) " >&6
34134 else
34135
34136
34137 ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142
34143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h. */
34145 #include <math.h>
34146 int
34147 main ()
34148 {
34149 _powl(0, 0);
34150 ;
34151 return 0;
34152 }
34153 _ACEOF
34154 if ac_fn_cxx_try_compile "$LINENO"; then :
34155 glibcxx_cv_func__powl_use=yes
34156 else
34157 glibcxx_cv_func__powl_use=no
34158 fi
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 ac_ext=c
34161 ac_cpp='$CPP $CPPFLAGS'
34162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34165
34166
34167 fi
34168
34169 fi
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34171 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34172
34173 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34174 for ac_func in _powl
34175 do :
34176 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34177 if test "x$ac_cv_func__powl" = x""yes; then :
34178 cat >>confdefs.h <<_ACEOF
34179 #define HAVE__POWL 1
34180 _ACEOF
34181
34182 fi
34183 done
34184
34185 fi
34186 fi
34187
34188
34189
34190
34191
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34193 $as_echo_n "checking for sqrtl declaration... " >&6; }
34194 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34195 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34196 $as_echo_n "(cached) " >&6
34197 else
34198
34199
34200 ac_ext=cpp
34201 ac_cpp='$CXXCPP $CPPFLAGS'
34202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205
34206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34207 /* end confdefs.h. */
34208 #include <math.h>
34209 #ifdef HAVE_IEEEFP_H
34210 #include <ieeefp.h>
34211 #endif
34212
34213 int
34214 main ()
34215 {
34216 sqrtl(0);
34217 ;
34218 return 0;
34219 }
34220 _ACEOF
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func_sqrtl_use=yes
34223 else
34224 glibcxx_cv_func_sqrtl_use=no
34225 fi
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=c
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34232
34233
34234 fi
34235
34236 fi
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34238 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34239
34240 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34241 for ac_func in sqrtl
34242 do :
34243 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34244 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE_SQRTL 1
34247 _ACEOF
34248
34249 fi
34250 done
34251
34252 else
34253
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34255 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34256 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34257 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
34279 ;
34280 return 0;
34281 }
34282 _ACEOF
34283 if ac_fn_cxx_try_compile "$LINENO"; then :
34284 glibcxx_cv_func__sqrtl_use=yes
34285 else
34286 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
34300 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34301
34302 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34303 for ac_func in _sqrtl
34304 do :
34305 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34306 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34307 cat >>confdefs.h <<_ACEOF
34308 #define HAVE__SQRTL 1
34309 _ACEOF
34310
34311 fi
34312 done
34313
34314 fi
34315 fi
34316
34317
34318
34319
34320
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34322 $as_echo_n "checking for sincosl declaration... " >&6; }
34323 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34324 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34327
34328
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34338 int
34339 main ()
34340 {
34341 sincosl(0, 0, 0);
34342 ;
34343 return 0;
34344 }
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347 glibcxx_cv_func_sincosl_use=yes
34348 else
34349 glibcxx_cv_func_sincosl_use=no
34350 fi
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361 fi
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34363 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34364
34365 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34366 for ac_func in sincosl
34367 do :
34368 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34369 if test "x$ac_cv_func_sincosl" = x""yes; then :
34370 cat >>confdefs.h <<_ACEOF
34371 #define HAVE_SINCOSL 1
34372 _ACEOF
34373
34374 fi
34375 done
34376
34377 else
34378
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34380 $as_echo_n "checking for _sincosl declaration... " >&6; }
34381 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34382 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34383 $as_echo_n "(cached) " >&6
34384 else
34385
34386
34387 ac_ext=cpp
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392
34393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34394 /* end confdefs.h. */
34395 #include <math.h>
34396 int
34397 main ()
34398 {
34399 _sincosl(0, 0, 0);
34400 ;
34401 return 0;
34402 }
34403 _ACEOF
34404 if ac_fn_cxx_try_compile "$LINENO"; then :
34405 glibcxx_cv_func__sincosl_use=yes
34406 else
34407 glibcxx_cv_func__sincosl_use=no
34408 fi
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 fi
34418
34419 fi
34420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34421 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34422
34423 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34424 for ac_func in _sincosl
34425 do :
34426 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34427 if test "x$ac_cv_func__sincosl" = x""yes; then :
34428 cat >>confdefs.h <<_ACEOF
34429 #define HAVE__SINCOSL 1
34430 _ACEOF
34431
34432 fi
34433 done
34434
34435 fi
34436 fi
34437
34438
34439
34440
34441
34442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34443 $as_echo_n "checking for finitel declaration... " >&6; }
34444 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34445 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34446 $as_echo_n "(cached) " >&6
34447 else
34448
34449
34450 ac_ext=cpp
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34462
34463 int
34464 main ()
34465 {
34466 finitel(0);
34467 ;
34468 return 0;
34469 }
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472 glibcxx_cv_func_finitel_use=yes
34473 else
34474 glibcxx_cv_func_finitel_use=no
34475 fi
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482
34483
34484 fi
34485
34486 fi
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34488 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34489
34490 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34491 for ac_func in finitel
34492 do :
34493 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34494 if test "x$ac_cv_func_finitel" = x""yes; then :
34495 cat >>confdefs.h <<_ACEOF
34496 #define HAVE_FINITEL 1
34497 _ACEOF
34498
34499 fi
34500 done
34501
34502 else
34503
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34505 $as_echo_n "checking for _finitel declaration... " >&6; }
34506 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34507 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34508 $as_echo_n "(cached) " >&6
34509 else
34510
34511
34512 ac_ext=cpp
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34517
34518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519 /* end confdefs.h. */
34520 #include <math.h>
34521 #ifdef HAVE_IEEEFP_H
34522 #include <ieeefp.h>
34523 #endif
34524
34525 int
34526 main ()
34527 {
34528 _finitel(0);
34529 ;
34530 return 0;
34531 }
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func__finitel_use=yes
34535 else
34536 glibcxx_cv_func__finitel_use=no
34537 fi
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545
34546 fi
34547
34548 fi
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34550 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34551
34552 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34553 for ac_func in _finitel
34554 do :
34555 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34556 if test "x$ac_cv_func__finitel" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE__FINITEL 1
34559 _ACEOF
34560
34561 fi
34562 done
34563
34564 fi
34565 fi
34566
34567
34568
34569
34570 LIBS="$ac_save_LIBS"
34571 CXXFLAGS="$ac_save_CXXFLAGS"
34572
34573
34574 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34575 ac_save_CXXFLAGS="$CXXFLAGS"
34576 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34577
34578
34579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34580 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34581 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34582 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34583 $as_echo_n "(cached) " >&6
34584 else
34585
34586
34587 ac_ext=cpp
34588 ac_cpp='$CXXCPP $CPPFLAGS'
34589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592
34593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34594 /* end confdefs.h. */
34595 #include <stdlib.h>
34596 int
34597 main ()
34598 {
34599 at_quick_exit(0);
34600 ;
34601 return 0;
34602 }
34603 _ACEOF
34604 if ac_fn_cxx_try_compile "$LINENO"; then :
34605 glibcxx_cv_func_at_quick_exit_use=yes
34606 else
34607 glibcxx_cv_func_at_quick_exit_use=no
34608 fi
34609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610 ac_ext=c
34611 ac_cpp='$CPP $CPPFLAGS'
34612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34615
34616
34617 fi
34618
34619 fi
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34621 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34622 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34623 for ac_func in at_quick_exit
34624 do :
34625 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34626 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34627 cat >>confdefs.h <<_ACEOF
34628 #define HAVE_AT_QUICK_EXIT 1
34629 _ACEOF
34630
34631 fi
34632 done
34633
34634 fi
34635
34636
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34638 $as_echo_n "checking for quick_exit declaration... " >&6; }
34639 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34640 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34641 $as_echo_n "(cached) " >&6
34642 else
34643
34644
34645 ac_ext=cpp
34646 ac_cpp='$CXXCPP $CPPFLAGS'
34647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34650
34651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34652 /* end confdefs.h. */
34653 #include <stdlib.h>
34654 int
34655 main ()
34656 {
34657 quick_exit(0);
34658 ;
34659 return 0;
34660 }
34661 _ACEOF
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663 glibcxx_cv_func_quick_exit_use=yes
34664 else
34665 glibcxx_cv_func_quick_exit_use=no
34666 fi
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668 ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34673
34674
34675 fi
34676
34677 fi
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34679 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34680 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34681 for ac_func in quick_exit
34682 do :
34683 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34684 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34685 cat >>confdefs.h <<_ACEOF
34686 #define HAVE_QUICK_EXIT 1
34687 _ACEOF
34688
34689 fi
34690 done
34691
34692 fi
34693
34694
34695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34696 $as_echo_n "checking for strtold declaration... " >&6; }
34697 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34698 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34699 $as_echo_n "(cached) " >&6
34700 else
34701
34702
34703 ac_ext=cpp
34704 ac_cpp='$CXXCPP $CPPFLAGS'
34705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708
34709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34710 /* end confdefs.h. */
34711 #include <stdlib.h>
34712 int
34713 main ()
34714 {
34715 strtold(0, 0);
34716 ;
34717 return 0;
34718 }
34719 _ACEOF
34720 if ac_fn_cxx_try_compile "$LINENO"; then :
34721 glibcxx_cv_func_strtold_use=yes
34722 else
34723 glibcxx_cv_func_strtold_use=no
34724 fi
34725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34726 ac_ext=c
34727 ac_cpp='$CPP $CPPFLAGS'
34728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731
34732
34733 fi
34734
34735 fi
34736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34737 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34738 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34739 for ac_func in strtold
34740 do :
34741 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34742 if test "x$ac_cv_func_strtold" = x""yes; then :
34743 cat >>confdefs.h <<_ACEOF
34744 #define HAVE_STRTOLD 1
34745 _ACEOF
34746
34747 fi
34748 done
34749
34750 fi
34751
34752
34753
34754
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34756 $as_echo_n "checking for strtof declaration... " >&6; }
34757 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34758 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34759 $as_echo_n "(cached) " >&6
34760 else
34761
34762
34763 ac_ext=cpp
34764 ac_cpp='$CXXCPP $CPPFLAGS'
34765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34768
34769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34770 /* end confdefs.h. */
34771 #include <stdlib.h>
34772 int
34773 main ()
34774 {
34775 strtof(0, 0);
34776 ;
34777 return 0;
34778 }
34779 _ACEOF
34780 if ac_fn_cxx_try_compile "$LINENO"; then :
34781 glibcxx_cv_func_strtof_use=yes
34782 else
34783 glibcxx_cv_func_strtof_use=no
34784 fi
34785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34786 ac_ext=c
34787 ac_cpp='$CPP $CPPFLAGS'
34788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34791
34792
34793 fi
34794
34795 fi
34796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34797 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34798 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34799 for ac_func in strtof
34800 do :
34801 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34802 if test "x$ac_cv_func_strtof" = x""yes; then :
34803 cat >>confdefs.h <<_ACEOF
34804 #define HAVE_STRTOF 1
34805 _ACEOF
34806
34807 fi
34808 done
34809
34810 fi
34811
34812
34813
34814
34815 CXXFLAGS="$ac_save_CXXFLAGS"
34816
34817
34818 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34819
34820 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34821
34822 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34823
34824 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34825
34826
34827 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34828
34829 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34830
34831 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34832
34833 ;;
34834
34835 spu-*-elf*)
34836
34837 # All these tests are for C++; save the language and the compiler flags.
34838 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34839 # found in GLIBCXX_CONFIGURE.
34840
34841 ac_ext=cpp
34842 ac_cpp='$CXXCPP $CPPFLAGS'
34843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34846
34847 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34848 ac_save_CXXFLAGS="$CXXFLAGS"
34849
34850 # Check for maintainer-mode bits.
34851 if test x"$USE_MAINTAINER_MODE" = xno; then
34852 WERROR=''
34853 else
34854 WERROR='-Werror'
34855 fi
34856
34857 # Check for -ffunction-sections -fdata-sections
34858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34859 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34860 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 /* end confdefs.h. */
34863 int foo; void bar() { };
34864 int
34865 main ()
34866 {
34867
34868 ;
34869 return 0;
34870 }
34871 _ACEOF
34872 if ac_fn_cxx_try_compile "$LINENO"; then :
34873 ac_fdsections=yes
34874 else
34875 ac_fdsections=no
34876 fi
34877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34878 if test "$ac_test_CXXFLAGS" = set; then
34879 CXXFLAGS="$ac_save_CXXFLAGS"
34880 else
34881 # this is the suspicious part
34882 CXXFLAGS=''
34883 fi
34884 if test x"$ac_fdsections" = x"yes"; then
34885 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34886 fi
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34888 $as_echo "$ac_fdsections" >&6; }
34889
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34895
34896
34897
34898
34899
34900 # If we're not using GNU ld, then there's no point in even trying these
34901 # tests. Check for that first. We should have already tested for gld
34902 # by now (in libtool), but require it now just to be safe...
34903 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34904 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34905
34906
34907
34908 # The name set by libtool depends on the version of libtool. Shame on us
34909 # for depending on an impl detail, but c'est la vie. Older versions used
34910 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34911 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34912 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34913 # set (hence we're using an older libtool), then set it.
34914 if test x${with_gnu_ld+set} != xset; then
34915 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34916 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34917 with_gnu_ld=no
34918 else
34919 with_gnu_ld=$ac_cv_prog_gnu_ld
34920 fi
34921 fi
34922
34923 # Start by getting the version number. I think the libtool test already
34924 # does some of this, but throws away the result.
34925 glibcxx_ld_is_gold=no
34926 if test x"$with_gnu_ld" = x"yes"; then
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34928 $as_echo_n "checking for ld version... " >&6; }
34929
34930 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34931 glibcxx_ld_is_gold=yes
34932 fi
34933 ldver=`$LD --version 2>/dev/null |
34934 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'`
34935
34936 glibcxx_gnu_ld_version=`echo $ldver | \
34937 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34939 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34940 fi
34941
34942 # Set --gc-sections.
34943 glibcxx_have_gc_sections=no
34944 if test "$glibcxx_ld_is_gold" = "yes"; then
34945 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34946 glibcxx_have_gc_sections=yes
34947 fi
34948 else
34949 glibcxx_gcsections_min_ld=21602
34950 if test x"$with_gnu_ld" = x"yes" &&
34951 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34952 glibcxx_have_gc_sections=yes
34953 fi
34954 fi
34955 if test "$glibcxx_have_gc_sections" = "yes"; then
34956 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34957 # NB: This flag only works reliably after 2.16.1. Configure tests
34958 # for this are difficult, so hard wire a value that should work.
34959
34960 ac_test_CFLAGS="${CFLAGS+set}"
34961 ac_save_CFLAGS="$CFLAGS"
34962 CFLAGS='-Wl,--gc-sections'
34963
34964 # Check for -Wl,--gc-sections
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34966 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34967 if test x$gcc_no_link = xyes; then
34968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34969 fi
34970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34971 /* end confdefs.h. */
34972 int one(void) { return 1; }
34973 int two(void) { return 2; }
34974
34975 int
34976 main ()
34977 {
34978 two();
34979 ;
34980 return 0;
34981 }
34982 _ACEOF
34983 if ac_fn_c_try_link "$LINENO"; then :
34984 ac_gcsections=yes
34985 else
34986 ac_gcsections=no
34987 fi
34988 rm -f core conftest.err conftest.$ac_objext \
34989 conftest$ac_exeext conftest.$ac_ext
34990 if test "$ac_gcsections" = "yes"; then
34991 rm -f conftest.c
34992 touch conftest.c
34993 if $CC -c conftest.c; then
34994 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34995 grep "Warning: gc-sections option ignored" > /dev/null; then
34996 ac_gcsections=no
34997 fi
34998 fi
34999 rm -f conftest.c conftest.o conftest
35000 fi
35001 if test "$ac_gcsections" = "yes"; then
35002 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35003 fi
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35005 $as_echo "$ac_gcsections" >&6; }
35006
35007 if test "$ac_test_CFLAGS" = set; then
35008 CFLAGS="$ac_save_CFLAGS"
35009 else
35010 # this is the suspicious part
35011 CFLAGS=''
35012 fi
35013 fi
35014
35015 # Set -z,relro.
35016 # Note this is only for shared objects.
35017 ac_ld_relro=no
35018 if test x"$with_gnu_ld" = x"yes"; then
35019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35020 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35021 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35022 if test -n "$cxx_z_relo"; then
35023 OPT_LDFLAGS="-Wl,-z,relro"
35024 ac_ld_relro=yes
35025 fi
35026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35027 $as_echo "$ac_ld_relro" >&6; }
35028 fi
35029
35030 # Set linker optimization flags.
35031 if test x"$with_gnu_ld" = x"yes"; then
35032 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35033 fi
35034
35035
35036
35037
35038
35039 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35040 ac_save_CXXFLAGS="$CXXFLAGS"
35041 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35042
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35044 $as_echo_n "checking for sin in -lm... " >&6; }
35045 if test "${ac_cv_lib_m_sin+set}" = set; then :
35046 $as_echo_n "(cached) " >&6
35047 else
35048 ac_check_lib_save_LIBS=$LIBS
35049 LIBS="-lm $LIBS"
35050 if test x$gcc_no_link = xyes; then
35051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35052 fi
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055
35056 /* Override any GCC internal prototype to avoid an error.
35057 Use char because int might match the return type of a GCC
35058 builtin and then its argument prototype would still apply. */
35059 #ifdef __cplusplus
35060 extern "C"
35061 #endif
35062 char sin ();
35063 int
35064 main ()
35065 {
35066 return sin ();
35067 ;
35068 return 0;
35069 }
35070 _ACEOF
35071 if ac_fn_c_try_link "$LINENO"; then :
35072 ac_cv_lib_m_sin=yes
35073 else
35074 ac_cv_lib_m_sin=no
35075 fi
35076 rm -f core conftest.err conftest.$ac_objext \
35077 conftest$ac_exeext conftest.$ac_ext
35078 LIBS=$ac_check_lib_save_LIBS
35079 fi
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35081 $as_echo "$ac_cv_lib_m_sin" >&6; }
35082 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35083 libm="-lm"
35084 fi
35085
35086 ac_save_LIBS="$LIBS"
35087 LIBS="$LIBS $libm"
35088
35089
35090
35091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35092 $as_echo_n "checking for isinf declaration... " >&6; }
35093 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35094 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35095 $as_echo_n "(cached) " >&6
35096 else
35097
35098
35099 ac_ext=cpp
35100 ac_cpp='$CXXCPP $CPPFLAGS'
35101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35104
35105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35106 /* end confdefs.h. */
35107 #include <math.h>
35108 #ifdef HAVE_IEEEFP_H
35109 #include <ieeefp.h>
35110 #endif
35111
35112 int
35113 main ()
35114 {
35115 isinf(0);
35116 ;
35117 return 0;
35118 }
35119 _ACEOF
35120 if ac_fn_cxx_try_compile "$LINENO"; then :
35121 glibcxx_cv_func_isinf_use=yes
35122 else
35123 glibcxx_cv_func_isinf_use=no
35124 fi
35125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35131
35132
35133 fi
35134
35135 fi
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35137 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35138
35139 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35140 for ac_func in isinf
35141 do :
35142 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35143 if test "x$ac_cv_func_isinf" = x""yes; then :
35144 cat >>confdefs.h <<_ACEOF
35145 #define HAVE_ISINF 1
35146 _ACEOF
35147
35148 fi
35149 done
35150
35151 else
35152
35153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35154 $as_echo_n "checking for _isinf declaration... " >&6; }
35155 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35156 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35157 $as_echo_n "(cached) " >&6
35158 else
35159
35160
35161 ac_ext=cpp
35162 ac_cpp='$CXXCPP $CPPFLAGS'
35163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166
35167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35168 /* end confdefs.h. */
35169 #include <math.h>
35170 #ifdef HAVE_IEEEFP_H
35171 #include <ieeefp.h>
35172 #endif
35173
35174 int
35175 main ()
35176 {
35177 _isinf(0);
35178 ;
35179 return 0;
35180 }
35181 _ACEOF
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func__isinf_use=yes
35184 else
35185 glibcxx_cv_func__isinf_use=no
35186 fi
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35188 ac_ext=c
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35193
35194
35195 fi
35196
35197 fi
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35199 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35200
35201 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35202 for ac_func in _isinf
35203 do :
35204 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35205 if test "x$ac_cv_func__isinf" = x""yes; then :
35206 cat >>confdefs.h <<_ACEOF
35207 #define HAVE__ISINF 1
35208 _ACEOF
35209
35210 fi
35211 done
35212
35213 fi
35214 fi
35215
35216
35217
35218
35219
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35221 $as_echo_n "checking for isnan declaration... " >&6; }
35222 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35223 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35224 $as_echo_n "(cached) " >&6
35225 else
35226
35227
35228 ac_ext=cpp
35229 ac_cpp='$CXXCPP $CPPFLAGS'
35230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35233
35234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35235 /* end confdefs.h. */
35236 #include <math.h>
35237 #ifdef HAVE_IEEEFP_H
35238 #include <ieeefp.h>
35239 #endif
35240
35241 int
35242 main ()
35243 {
35244 isnan(0);
35245 ;
35246 return 0;
35247 }
35248 _ACEOF
35249 if ac_fn_cxx_try_compile "$LINENO"; then :
35250 glibcxx_cv_func_isnan_use=yes
35251 else
35252 glibcxx_cv_func_isnan_use=no
35253 fi
35254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35255 ac_ext=c
35256 ac_cpp='$CPP $CPPFLAGS'
35257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35260
35261
35262 fi
35263
35264 fi
35265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35266 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35267
35268 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35269 for ac_func in isnan
35270 do :
35271 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35272 if test "x$ac_cv_func_isnan" = x""yes; then :
35273 cat >>confdefs.h <<_ACEOF
35274 #define HAVE_ISNAN 1
35275 _ACEOF
35276
35277 fi
35278 done
35279
35280 else
35281
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35283 $as_echo_n "checking for _isnan declaration... " >&6; }
35284 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35285 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35286 $as_echo_n "(cached) " >&6
35287 else
35288
35289
35290 ac_ext=cpp
35291 ac_cpp='$CXXCPP $CPPFLAGS'
35292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35295
35296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35297 /* end confdefs.h. */
35298 #include <math.h>
35299 #ifdef HAVE_IEEEFP_H
35300 #include <ieeefp.h>
35301 #endif
35302
35303 int
35304 main ()
35305 {
35306 _isnan(0);
35307 ;
35308 return 0;
35309 }
35310 _ACEOF
35311 if ac_fn_cxx_try_compile "$LINENO"; then :
35312 glibcxx_cv_func__isnan_use=yes
35313 else
35314 glibcxx_cv_func__isnan_use=no
35315 fi
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 ac_ext=c
35318 ac_cpp='$CPP $CPPFLAGS'
35319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35322
35323
35324 fi
35325
35326 fi
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35328 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35329
35330 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35331 for ac_func in _isnan
35332 do :
35333 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35334 if test "x$ac_cv_func__isnan" = x""yes; then :
35335 cat >>confdefs.h <<_ACEOF
35336 #define HAVE__ISNAN 1
35337 _ACEOF
35338
35339 fi
35340 done
35341
35342 fi
35343 fi
35344
35345
35346
35347
35348
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35350 $as_echo_n "checking for finite declaration... " >&6; }
35351 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35352 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35353 $as_echo_n "(cached) " >&6
35354 else
35355
35356
35357 ac_ext=cpp
35358 ac_cpp='$CXXCPP $CPPFLAGS'
35359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35362
35363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35364 /* end confdefs.h. */
35365 #include <math.h>
35366 #ifdef HAVE_IEEEFP_H
35367 #include <ieeefp.h>
35368 #endif
35369
35370 int
35371 main ()
35372 {
35373 finite(0);
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 if ac_fn_cxx_try_compile "$LINENO"; then :
35379 glibcxx_cv_func_finite_use=yes
35380 else
35381 glibcxx_cv_func_finite_use=no
35382 fi
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 ac_ext=c
35385 ac_cpp='$CPP $CPPFLAGS'
35386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389
35390
35391 fi
35392
35393 fi
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35395 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35396
35397 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35398 for ac_func in finite
35399 do :
35400 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35401 if test "x$ac_cv_func_finite" = x""yes; then :
35402 cat >>confdefs.h <<_ACEOF
35403 #define HAVE_FINITE 1
35404 _ACEOF
35405
35406 fi
35407 done
35408
35409 else
35410
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35412 $as_echo_n "checking for _finite declaration... " >&6; }
35413 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35414 if test "${glibcxx_cv_func__finite_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 _finite(0);
35436 ;
35437 return 0;
35438 }
35439 _ACEOF
35440 if ac_fn_cxx_try_compile "$LINENO"; then :
35441 glibcxx_cv_func__finite_use=yes
35442 else
35443 glibcxx_cv_func__finite_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__finite_use" >&5
35457 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35458
35459 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35460 for ac_func in _finite
35461 do :
35462 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35463 if test "x$ac_cv_func__finite" = x""yes; then :
35464 cat >>confdefs.h <<_ACEOF
35465 #define HAVE__FINITE 1
35466 _ACEOF
35467
35468 fi
35469 done
35470
35471 fi
35472 fi
35473
35474
35475
35476
35477
35478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35479 $as_echo_n "checking for sincos declaration... " >&6; }
35480 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35481 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35482 $as_echo_n "(cached) " >&6
35483 else
35484
35485
35486 ac_ext=cpp
35487 ac_cpp='$CXXCPP $CPPFLAGS'
35488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35491
35492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35493 /* end confdefs.h. */
35494 #include <math.h>
35495 int
35496 main ()
35497 {
35498 sincos(0, 0, 0);
35499 ;
35500 return 0;
35501 }
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504 glibcxx_cv_func_sincos_use=yes
35505 else
35506 glibcxx_cv_func_sincos_use=no
35507 fi
35508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35509 ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514
35515
35516 fi
35517
35518 fi
35519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35520 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35521
35522 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35523 for ac_func in sincos
35524 do :
35525 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35526 if test "x$ac_cv_func_sincos" = x""yes; then :
35527 cat >>confdefs.h <<_ACEOF
35528 #define HAVE_SINCOS 1
35529 _ACEOF
35530
35531 fi
35532 done
35533
35534 else
35535
35536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35537 $as_echo_n "checking for _sincos declaration... " >&6; }
35538 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35539 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35540 $as_echo_n "(cached) " >&6
35541 else
35542
35543
35544 ac_ext=cpp
35545 ac_cpp='$CXXCPP $CPPFLAGS'
35546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35549
35550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35551 /* end confdefs.h. */
35552 #include <math.h>
35553 int
35554 main ()
35555 {
35556 _sincos(0, 0, 0);
35557 ;
35558 return 0;
35559 }
35560 _ACEOF
35561 if ac_fn_cxx_try_compile "$LINENO"; then :
35562 glibcxx_cv_func__sincos_use=yes
35563 else
35564 glibcxx_cv_func__sincos_use=no
35565 fi
35566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35567 ac_ext=c
35568 ac_cpp='$CPP $CPPFLAGS'
35569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35572
35573
35574 fi
35575
35576 fi
35577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35578 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35579
35580 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35581 for ac_func in _sincos
35582 do :
35583 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35584 if test "x$ac_cv_func__sincos" = x""yes; then :
35585 cat >>confdefs.h <<_ACEOF
35586 #define HAVE__SINCOS 1
35587 _ACEOF
35588
35589 fi
35590 done
35591
35592 fi
35593 fi
35594
35595
35596
35597
35598
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35600 $as_echo_n "checking for fpclass declaration... " >&6; }
35601 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35602 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35603 $as_echo_n "(cached) " >&6
35604 else
35605
35606
35607 ac_ext=cpp
35608 ac_cpp='$CXXCPP $CPPFLAGS'
35609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612
35613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h. */
35615 #include <math.h>
35616 #ifdef HAVE_IEEEFP_H
35617 #include <ieeefp.h>
35618 #endif
35619
35620 int
35621 main ()
35622 {
35623 fpclass(0);
35624 ;
35625 return 0;
35626 }
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629 glibcxx_cv_func_fpclass_use=yes
35630 else
35631 glibcxx_cv_func_fpclass_use=no
35632 fi
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 ac_ext=c
35635 ac_cpp='$CPP $CPPFLAGS'
35636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35639
35640
35641 fi
35642
35643 fi
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35645 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35646
35647 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35648 for ac_func in fpclass
35649 do :
35650 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35651 if test "x$ac_cv_func_fpclass" = x""yes; then :
35652 cat >>confdefs.h <<_ACEOF
35653 #define HAVE_FPCLASS 1
35654 _ACEOF
35655
35656 fi
35657 done
35658
35659 else
35660
35661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35662 $as_echo_n "checking for _fpclass declaration... " >&6; }
35663 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35664 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35665 $as_echo_n "(cached) " >&6
35666 else
35667
35668
35669 ac_ext=cpp
35670 ac_cpp='$CXXCPP $CPPFLAGS'
35671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35674
35675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35676 /* end confdefs.h. */
35677 #include <math.h>
35678 #ifdef HAVE_IEEEFP_H
35679 #include <ieeefp.h>
35680 #endif
35681
35682 int
35683 main ()
35684 {
35685 _fpclass(0);
35686 ;
35687 return 0;
35688 }
35689 _ACEOF
35690 if ac_fn_cxx_try_compile "$LINENO"; then :
35691 glibcxx_cv_func__fpclass_use=yes
35692 else
35693 glibcxx_cv_func__fpclass_use=no
35694 fi
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35696 ac_ext=c
35697 ac_cpp='$CPP $CPPFLAGS'
35698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35701
35702
35703 fi
35704
35705 fi
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35707 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35708
35709 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35710 for ac_func in _fpclass
35711 do :
35712 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35713 if test "x$ac_cv_func__fpclass" = x""yes; then :
35714 cat >>confdefs.h <<_ACEOF
35715 #define HAVE__FPCLASS 1
35716 _ACEOF
35717
35718 fi
35719 done
35720
35721 fi
35722 fi
35723
35724
35725
35726
35727
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35729 $as_echo_n "checking for qfpclass declaration... " >&6; }
35730 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35731 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35734
35735
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 #ifdef HAVE_IEEEFP_H
35746 #include <ieeefp.h>
35747 #endif
35748
35749 int
35750 main ()
35751 {
35752 qfpclass(0);
35753 ;
35754 return 0;
35755 }
35756 _ACEOF
35757 if ac_fn_cxx_try_compile "$LINENO"; then :
35758 glibcxx_cv_func_qfpclass_use=yes
35759 else
35760 glibcxx_cv_func_qfpclass_use=no
35761 fi
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_ext=c
35764 ac_cpp='$CPP $CPPFLAGS'
35765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35768
35769
35770 fi
35771
35772 fi
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35774 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35775
35776 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35777 for ac_func in qfpclass
35778 do :
35779 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35780 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35781 cat >>confdefs.h <<_ACEOF
35782 #define HAVE_QFPCLASS 1
35783 _ACEOF
35784
35785 fi
35786 done
35787
35788 else
35789
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35791 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35792 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35793 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35794 $as_echo_n "(cached) " >&6
35795 else
35796
35797
35798 ac_ext=cpp
35799 ac_cpp='$CXXCPP $CPPFLAGS'
35800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35803
35804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35805 /* end confdefs.h. */
35806 #include <math.h>
35807 #ifdef HAVE_IEEEFP_H
35808 #include <ieeefp.h>
35809 #endif
35810
35811 int
35812 main ()
35813 {
35814 _qfpclass(0);
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func__qfpclass_use=yes
35821 else
35822 glibcxx_cv_func__qfpclass_use=no
35823 fi
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830
35831
35832 fi
35833
35834 fi
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35836 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35837
35838 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35839 for ac_func in _qfpclass
35840 do :
35841 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35842 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE__QFPCLASS 1
35845 _ACEOF
35846
35847 fi
35848 done
35849
35850 fi
35851 fi
35852
35853
35854
35855
35856
35857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35858 $as_echo_n "checking for hypot declaration... " >&6; }
35859 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35860 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35861 $as_echo_n "(cached) " >&6
35862 else
35863
35864
35865 ac_ext=cpp
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870
35871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35872 /* end confdefs.h. */
35873 #include <math.h>
35874 int
35875 main ()
35876 {
35877 hypot(0, 0);
35878 ;
35879 return 0;
35880 }
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883 glibcxx_cv_func_hypot_use=yes
35884 else
35885 glibcxx_cv_func_hypot_use=no
35886 fi
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35893
35894
35895 fi
35896
35897 fi
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35899 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35900
35901 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35902 for ac_func in hypot
35903 do :
35904 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35905 if test "x$ac_cv_func_hypot" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define HAVE_HYPOT 1
35908 _ACEOF
35909
35910 fi
35911 done
35912
35913 else
35914
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35916 $as_echo_n "checking for _hypot declaration... " >&6; }
35917 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35918 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35919 $as_echo_n "(cached) " >&6
35920 else
35921
35922
35923 ac_ext=cpp
35924 ac_cpp='$CXXCPP $CPPFLAGS'
35925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35928
35929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 /* end confdefs.h. */
35931 #include <math.h>
35932 int
35933 main ()
35934 {
35935 _hypot(0, 0);
35936 ;
35937 return 0;
35938 }
35939 _ACEOF
35940 if ac_fn_cxx_try_compile "$LINENO"; then :
35941 glibcxx_cv_func__hypot_use=yes
35942 else
35943 glibcxx_cv_func__hypot_use=no
35944 fi
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35951
35952
35953 fi
35954
35955 fi
35956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35957 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35958
35959 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35960 for ac_func in _hypot
35961 do :
35962 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35963 if test "x$ac_cv_func__hypot" = x""yes; then :
35964 cat >>confdefs.h <<_ACEOF
35965 #define HAVE__HYPOT 1
35966 _ACEOF
35967
35968 fi
35969 done
35970
35971 fi
35972 fi
35973
35974
35975
35976
35977
35978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35979 $as_echo_n "checking for float trig functions... " >&6; }
35980 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35981 $as_echo_n "(cached) " >&6
35982 else
35983
35984
35985 ac_ext=cpp
35986 ac_cpp='$CXXCPP $CPPFLAGS'
35987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990
35991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35992 /* end confdefs.h. */
35993 #include <math.h>
35994 int
35995 main ()
35996 {
35997 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35998 ;
35999 return 0;
36000 }
36001 _ACEOF
36002 if ac_fn_cxx_try_compile "$LINENO"; then :
36003 glibcxx_cv_func_float_trig_use=yes
36004 else
36005 glibcxx_cv_func_float_trig_use=no
36006 fi
36007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36008 ac_ext=c
36009 ac_cpp='$CPP $CPPFLAGS'
36010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36013
36014 fi
36015
36016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36017 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36018 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36019 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36020 do :
36021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36023 eval as_val=\$$as_ac_var
36024 if test "x$as_val" = x""yes; then :
36025 cat >>confdefs.h <<_ACEOF
36026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36027 _ACEOF
36028
36029 fi
36030 done
36031
36032 else
36033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36034 $as_echo_n "checking for _float trig functions... " >&6; }
36035 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36036 $as_echo_n "(cached) " >&6
36037 else
36038
36039
36040 ac_ext=cpp
36041 ac_cpp='$CXXCPP $CPPFLAGS'
36042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36045
36046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36047 /* end confdefs.h. */
36048 #include <math.h>
36049 int
36050 main ()
36051 {
36052 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36053 ;
36054 return 0;
36055 }
36056 _ACEOF
36057 if ac_fn_cxx_try_compile "$LINENO"; then :
36058 glibcxx_cv_func__float_trig_use=yes
36059 else
36060 glibcxx_cv_func__float_trig_use=no
36061 fi
36062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36063 ac_ext=c
36064 ac_cpp='$CPP $CPPFLAGS'
36065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36068
36069 fi
36070
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36072 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36073 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36074 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36075 do :
36076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36078 eval as_val=\$$as_ac_var
36079 if test "x$as_val" = x""yes; then :
36080 cat >>confdefs.h <<_ACEOF
36081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36082 _ACEOF
36083
36084 fi
36085 done
36086
36087 fi
36088 fi
36089
36090
36091
36092
36093
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36095 $as_echo_n "checking for float round functions... " >&6; }
36096 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36097 $as_echo_n "(cached) " >&6
36098 else
36099
36100
36101 ac_ext=cpp
36102 ac_cpp='$CXXCPP $CPPFLAGS'
36103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106
36107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36108 /* end confdefs.h. */
36109 #include <math.h>
36110 int
36111 main ()
36112 {
36113 ceilf (0); floorf (0);
36114 ;
36115 return 0;
36116 }
36117 _ACEOF
36118 if ac_fn_cxx_try_compile "$LINENO"; then :
36119 glibcxx_cv_func_float_round_use=yes
36120 else
36121 glibcxx_cv_func_float_round_use=no
36122 fi
36123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36124 ac_ext=c
36125 ac_cpp='$CPP $CPPFLAGS'
36126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36129
36130 fi
36131
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36133 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36134 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36135 for ac_func in ceilf floorf
36136 do :
36137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36139 eval as_val=\$$as_ac_var
36140 if test "x$as_val" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36143 _ACEOF
36144
36145 fi
36146 done
36147
36148 else
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36150 $as_echo_n "checking for _float round functions... " >&6; }
36151 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36152 $as_echo_n "(cached) " >&6
36153 else
36154
36155
36156 ac_ext=cpp
36157 ac_cpp='$CXXCPP $CPPFLAGS'
36158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36161
36162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36163 /* end confdefs.h. */
36164 #include <math.h>
36165 int
36166 main ()
36167 {
36168 _ceilf (0); _floorf (0);
36169 ;
36170 return 0;
36171 }
36172 _ACEOF
36173 if ac_fn_cxx_try_compile "$LINENO"; then :
36174 glibcxx_cv_func__float_round_use=yes
36175 else
36176 glibcxx_cv_func__float_round_use=no
36177 fi
36178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36179 ac_ext=c
36180 ac_cpp='$CPP $CPPFLAGS'
36181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36184
36185 fi
36186
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36188 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36189 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36190 for ac_func in _ceilf _floorf
36191 do :
36192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36194 eval as_val=\$$as_ac_var
36195 if test "x$as_val" = x""yes; then :
36196 cat >>confdefs.h <<_ACEOF
36197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36198 _ACEOF
36199
36200 fi
36201 done
36202
36203 fi
36204 fi
36205
36206
36207
36208
36209
36210
36211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36212 $as_echo_n "checking for expf declaration... " >&6; }
36213 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36214 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36215 $as_echo_n "(cached) " >&6
36216 else
36217
36218
36219 ac_ext=cpp
36220 ac_cpp='$CXXCPP $CPPFLAGS'
36221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36224
36225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36226 /* end confdefs.h. */
36227 #include <math.h>
36228 #ifdef HAVE_IEEEFP_H
36229 #include <ieeefp.h>
36230 #endif
36231
36232 int
36233 main ()
36234 {
36235 expf(0);
36236 ;
36237 return 0;
36238 }
36239 _ACEOF
36240 if ac_fn_cxx_try_compile "$LINENO"; then :
36241 glibcxx_cv_func_expf_use=yes
36242 else
36243 glibcxx_cv_func_expf_use=no
36244 fi
36245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36246 ac_ext=c
36247 ac_cpp='$CPP $CPPFLAGS'
36248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36251
36252
36253 fi
36254
36255 fi
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36257 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36258
36259 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36260 for ac_func in expf
36261 do :
36262 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36263 if test "x$ac_cv_func_expf" = x""yes; then :
36264 cat >>confdefs.h <<_ACEOF
36265 #define HAVE_EXPF 1
36266 _ACEOF
36267
36268 fi
36269 done
36270
36271 else
36272
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36274 $as_echo_n "checking for _expf declaration... " >&6; }
36275 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36276 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36277 $as_echo_n "(cached) " >&6
36278 else
36279
36280
36281 ac_ext=cpp
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286
36287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288 /* end confdefs.h. */
36289 #include <math.h>
36290 #ifdef HAVE_IEEEFP_H
36291 #include <ieeefp.h>
36292 #endif
36293
36294 int
36295 main ()
36296 {
36297 _expf(0);
36298 ;
36299 return 0;
36300 }
36301 _ACEOF
36302 if ac_fn_cxx_try_compile "$LINENO"; then :
36303 glibcxx_cv_func__expf_use=yes
36304 else
36305 glibcxx_cv_func__expf_use=no
36306 fi
36307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36308 ac_ext=c
36309 ac_cpp='$CPP $CPPFLAGS'
36310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313
36314
36315 fi
36316
36317 fi
36318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36319 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36320
36321 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36322 for ac_func in _expf
36323 do :
36324 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36325 if test "x$ac_cv_func__expf" = x""yes; then :
36326 cat >>confdefs.h <<_ACEOF
36327 #define HAVE__EXPF 1
36328 _ACEOF
36329
36330 fi
36331 done
36332
36333 fi
36334 fi
36335
36336
36337
36338
36339
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36341 $as_echo_n "checking for isnanf declaration... " >&6; }
36342 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36343 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36346
36347
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36357 #ifdef HAVE_IEEEFP_H
36358 #include <ieeefp.h>
36359 #endif
36360
36361 int
36362 main ()
36363 {
36364 isnanf(0);
36365 ;
36366 return 0;
36367 }
36368 _ACEOF
36369 if ac_fn_cxx_try_compile "$LINENO"; then :
36370 glibcxx_cv_func_isnanf_use=yes
36371 else
36372 glibcxx_cv_func_isnanf_use=no
36373 fi
36374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36375 ac_ext=c
36376 ac_cpp='$CPP $CPPFLAGS'
36377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36380
36381
36382 fi
36383
36384 fi
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36386 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36387
36388 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36389 for ac_func in isnanf
36390 do :
36391 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36392 if test "x$ac_cv_func_isnanf" = x""yes; then :
36393 cat >>confdefs.h <<_ACEOF
36394 #define HAVE_ISNANF 1
36395 _ACEOF
36396
36397 fi
36398 done
36399
36400 else
36401
36402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36403 $as_echo_n "checking for _isnanf declaration... " >&6; }
36404 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36405 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36406 $as_echo_n "(cached) " >&6
36407 else
36408
36409
36410 ac_ext=cpp
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415
36416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36417 /* end confdefs.h. */
36418 #include <math.h>
36419 #ifdef HAVE_IEEEFP_H
36420 #include <ieeefp.h>
36421 #endif
36422
36423 int
36424 main ()
36425 {
36426 _isnanf(0);
36427 ;
36428 return 0;
36429 }
36430 _ACEOF
36431 if ac_fn_cxx_try_compile "$LINENO"; then :
36432 glibcxx_cv_func__isnanf_use=yes
36433 else
36434 glibcxx_cv_func__isnanf_use=no
36435 fi
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 ac_ext=c
36438 ac_cpp='$CPP $CPPFLAGS'
36439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442
36443
36444 fi
36445
36446 fi
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36448 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36449
36450 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36451 for ac_func in _isnanf
36452 do :
36453 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36454 if test "x$ac_cv_func__isnanf" = x""yes; then :
36455 cat >>confdefs.h <<_ACEOF
36456 #define HAVE__ISNANF 1
36457 _ACEOF
36458
36459 fi
36460 done
36461
36462 fi
36463 fi
36464
36465
36466
36467
36468
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36470 $as_echo_n "checking for isinff declaration... " >&6; }
36471 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36472 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36473 $as_echo_n "(cached) " >&6
36474 else
36475
36476
36477 ac_ext=cpp
36478 ac_cpp='$CXXCPP $CPPFLAGS'
36479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482
36483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36484 /* end confdefs.h. */
36485 #include <math.h>
36486 #ifdef HAVE_IEEEFP_H
36487 #include <ieeefp.h>
36488 #endif
36489
36490 int
36491 main ()
36492 {
36493 isinff(0);
36494 ;
36495 return 0;
36496 }
36497 _ACEOF
36498 if ac_fn_cxx_try_compile "$LINENO"; then :
36499 glibcxx_cv_func_isinff_use=yes
36500 else
36501 glibcxx_cv_func_isinff_use=no
36502 fi
36503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36504 ac_ext=c
36505 ac_cpp='$CPP $CPPFLAGS'
36506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36509
36510
36511 fi
36512
36513 fi
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36515 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36516
36517 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36518 for ac_func in isinff
36519 do :
36520 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36521 if test "x$ac_cv_func_isinff" = x""yes; then :
36522 cat >>confdefs.h <<_ACEOF
36523 #define HAVE_ISINFF 1
36524 _ACEOF
36525
36526 fi
36527 done
36528
36529 else
36530
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36532 $as_echo_n "checking for _isinff declaration... " >&6; }
36533 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36534 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
36556 ;
36557 return 0;
36558 }
36559 _ACEOF
36560 if ac_fn_cxx_try_compile "$LINENO"; then :
36561 glibcxx_cv_func__isinff_use=yes
36562 else
36563 glibcxx_cv_func__isinff_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__isinff_use" >&5
36577 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36578
36579 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36580 for ac_func in _isinff
36581 do :
36582 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36583 if test "x$ac_cv_func__isinff" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define HAVE__ISINFF 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591 fi
36592 fi
36593
36594
36595
36596
36597
36598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36599 $as_echo_n "checking for atan2f declaration... " >&6; }
36600 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36601 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36602 $as_echo_n "(cached) " >&6
36603 else
36604
36605
36606 ac_ext=cpp
36607 ac_cpp='$CXXCPP $CPPFLAGS'
36608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611
36612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36613 /* end confdefs.h. */
36614 #include <math.h>
36615 int
36616 main ()
36617 {
36618 atan2f(0, 0);
36619 ;
36620 return 0;
36621 }
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624 glibcxx_cv_func_atan2f_use=yes
36625 else
36626 glibcxx_cv_func_atan2f_use=no
36627 fi
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634
36635
36636 fi
36637
36638 fi
36639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36640 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36641
36642 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36643 for ac_func in atan2f
36644 do :
36645 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36646 if test "x$ac_cv_func_atan2f" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define HAVE_ATAN2F 1
36649 _ACEOF
36650
36651 fi
36652 done
36653
36654 else
36655
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36657 $as_echo_n "checking for _atan2f declaration... " >&6; }
36658 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36659 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36660 $as_echo_n "(cached) " >&6
36661 else
36662
36663
36664 ac_ext=cpp
36665 ac_cpp='$CXXCPP $CPPFLAGS'
36666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669
36670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36671 /* end confdefs.h. */
36672 #include <math.h>
36673 int
36674 main ()
36675 {
36676 _atan2f(0, 0);
36677 ;
36678 return 0;
36679 }
36680 _ACEOF
36681 if ac_fn_cxx_try_compile "$LINENO"; then :
36682 glibcxx_cv_func__atan2f_use=yes
36683 else
36684 glibcxx_cv_func__atan2f_use=no
36685 fi
36686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36687 ac_ext=c
36688 ac_cpp='$CPP $CPPFLAGS'
36689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36692
36693
36694 fi
36695
36696 fi
36697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36698 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36699
36700 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36701 for ac_func in _atan2f
36702 do :
36703 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36704 if test "x$ac_cv_func__atan2f" = x""yes; then :
36705 cat >>confdefs.h <<_ACEOF
36706 #define HAVE__ATAN2F 1
36707 _ACEOF
36708
36709 fi
36710 done
36711
36712 fi
36713 fi
36714
36715
36716
36717
36718
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36720 $as_echo_n "checking for fabsf declaration... " >&6; }
36721 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36722 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36723 $as_echo_n "(cached) " >&6
36724 else
36725
36726
36727 ac_ext=cpp
36728 ac_cpp='$CXXCPP $CPPFLAGS'
36729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732
36733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36734 /* end confdefs.h. */
36735 #include <math.h>
36736 #ifdef HAVE_IEEEFP_H
36737 #include <ieeefp.h>
36738 #endif
36739
36740 int
36741 main ()
36742 {
36743 fabsf(0);
36744 ;
36745 return 0;
36746 }
36747 _ACEOF
36748 if ac_fn_cxx_try_compile "$LINENO"; then :
36749 glibcxx_cv_func_fabsf_use=yes
36750 else
36751 glibcxx_cv_func_fabsf_use=no
36752 fi
36753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36754 ac_ext=c
36755 ac_cpp='$CPP $CPPFLAGS'
36756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36759
36760
36761 fi
36762
36763 fi
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36765 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36766
36767 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36768 for ac_func in fabsf
36769 do :
36770 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36771 if test "x$ac_cv_func_fabsf" = x""yes; then :
36772 cat >>confdefs.h <<_ACEOF
36773 #define HAVE_FABSF 1
36774 _ACEOF
36775
36776 fi
36777 done
36778
36779 else
36780
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36782 $as_echo_n "checking for _fabsf declaration... " >&6; }
36783 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36784 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
36799 #include <ieeefp.h>
36800 #endif
36801
36802 int
36803 main ()
36804 {
36805 _fabsf(0);
36806 ;
36807 return 0;
36808 }
36809 _ACEOF
36810 if ac_fn_cxx_try_compile "$LINENO"; then :
36811 glibcxx_cv_func__fabsf_use=yes
36812 else
36813 glibcxx_cv_func__fabsf_use=no
36814 fi
36815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36816 ac_ext=c
36817 ac_cpp='$CPP $CPPFLAGS'
36818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36821
36822
36823 fi
36824
36825 fi
36826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36827 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36828
36829 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36830 for ac_func in _fabsf
36831 do :
36832 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36833 if test "x$ac_cv_func__fabsf" = x""yes; then :
36834 cat >>confdefs.h <<_ACEOF
36835 #define HAVE__FABSF 1
36836 _ACEOF
36837
36838 fi
36839 done
36840
36841 fi
36842 fi
36843
36844
36845
36846
36847
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36849 $as_echo_n "checking for fmodf declaration... " >&6; }
36850 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36851 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36853 else
36854
36855
36856 ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36864 #include <math.h>
36865 int
36866 main ()
36867 {
36868 fmodf(0, 0);
36869 ;
36870 return 0;
36871 }
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func_fmodf_use=yes
36875 else
36876 glibcxx_cv_func_fmodf_use=no
36877 fi
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884
36885
36886 fi
36887
36888 fi
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36890 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36891
36892 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36893 for ac_func in fmodf
36894 do :
36895 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36896 if test "x$ac_cv_func_fmodf" = x""yes; then :
36897 cat >>confdefs.h <<_ACEOF
36898 #define HAVE_FMODF 1
36899 _ACEOF
36900
36901 fi
36902 done
36903
36904 else
36905
36906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36907 $as_echo_n "checking for _fmodf declaration... " >&6; }
36908 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36909 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36910 $as_echo_n "(cached) " >&6
36911 else
36912
36913
36914 ac_ext=cpp
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919
36920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36921 /* end confdefs.h. */
36922 #include <math.h>
36923 int
36924 main ()
36925 {
36926 _fmodf(0, 0);
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 if ac_fn_cxx_try_compile "$LINENO"; then :
36932 glibcxx_cv_func__fmodf_use=yes
36933 else
36934 glibcxx_cv_func__fmodf_use=no
36935 fi
36936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36937 ac_ext=c
36938 ac_cpp='$CPP $CPPFLAGS'
36939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942
36943
36944 fi
36945
36946 fi
36947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36948 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36949
36950 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36951 for ac_func in _fmodf
36952 do :
36953 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36954 if test "x$ac_cv_func__fmodf" = x""yes; then :
36955 cat >>confdefs.h <<_ACEOF
36956 #define HAVE__FMODF 1
36957 _ACEOF
36958
36959 fi
36960 done
36961
36962 fi
36963 fi
36964
36965
36966
36967
36968
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36970 $as_echo_n "checking for frexpf declaration... " >&6; }
36971 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36972 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36973 $as_echo_n "(cached) " >&6
36974 else
36975
36976
36977 ac_ext=cpp
36978 ac_cpp='$CXXCPP $CPPFLAGS'
36979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36982
36983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36984 /* end confdefs.h. */
36985 #include <math.h>
36986 int
36987 main ()
36988 {
36989 frexpf(0, 0);
36990 ;
36991 return 0;
36992 }
36993 _ACEOF
36994 if ac_fn_cxx_try_compile "$LINENO"; then :
36995 glibcxx_cv_func_frexpf_use=yes
36996 else
36997 glibcxx_cv_func_frexpf_use=no
36998 fi
36999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37000 ac_ext=c
37001 ac_cpp='$CPP $CPPFLAGS'
37002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37005
37006
37007 fi
37008
37009 fi
37010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37011 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37012
37013 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37014 for ac_func in frexpf
37015 do :
37016 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37017 if test "x$ac_cv_func_frexpf" = x""yes; then :
37018 cat >>confdefs.h <<_ACEOF
37019 #define HAVE_FREXPF 1
37020 _ACEOF
37021
37022 fi
37023 done
37024
37025 else
37026
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37028 $as_echo_n "checking for _frexpf declaration... " >&6; }
37029 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37030 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37031 $as_echo_n "(cached) " >&6
37032 else
37033
37034
37035 ac_ext=cpp
37036 ac_cpp='$CXXCPP $CPPFLAGS'
37037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040
37041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37042 /* end confdefs.h. */
37043 #include <math.h>
37044 int
37045 main ()
37046 {
37047 _frexpf(0, 0);
37048 ;
37049 return 0;
37050 }
37051 _ACEOF
37052 if ac_fn_cxx_try_compile "$LINENO"; then :
37053 glibcxx_cv_func__frexpf_use=yes
37054 else
37055 glibcxx_cv_func__frexpf_use=no
37056 fi
37057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37058 ac_ext=c
37059 ac_cpp='$CPP $CPPFLAGS'
37060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37063
37064
37065 fi
37066
37067 fi
37068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37069 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37070
37071 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37072 for ac_func in _frexpf
37073 do :
37074 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37075 if test "x$ac_cv_func__frexpf" = x""yes; then :
37076 cat >>confdefs.h <<_ACEOF
37077 #define HAVE__FREXPF 1
37078 _ACEOF
37079
37080 fi
37081 done
37082
37083 fi
37084 fi
37085
37086
37087
37088
37089
37090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37091 $as_echo_n "checking for hypotf declaration... " >&6; }
37092 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37093 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37094 $as_echo_n "(cached) " >&6
37095 else
37096
37097
37098 ac_ext=cpp
37099 ac_cpp='$CXXCPP $CPPFLAGS'
37100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103
37104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37105 /* end confdefs.h. */
37106 #include <math.h>
37107 int
37108 main ()
37109 {
37110 hypotf(0, 0);
37111 ;
37112 return 0;
37113 }
37114 _ACEOF
37115 if ac_fn_cxx_try_compile "$LINENO"; then :
37116 glibcxx_cv_func_hypotf_use=yes
37117 else
37118 glibcxx_cv_func_hypotf_use=no
37119 fi
37120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37121 ac_ext=c
37122 ac_cpp='$CPP $CPPFLAGS'
37123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37126
37127
37128 fi
37129
37130 fi
37131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37132 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37133
37134 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37135 for ac_func in hypotf
37136 do :
37137 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37138 if test "x$ac_cv_func_hypotf" = x""yes; then :
37139 cat >>confdefs.h <<_ACEOF
37140 #define HAVE_HYPOTF 1
37141 _ACEOF
37142
37143 fi
37144 done
37145
37146 else
37147
37148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37149 $as_echo_n "checking for _hypotf declaration... " >&6; }
37150 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37151 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37152 $as_echo_n "(cached) " >&6
37153 else
37154
37155
37156 ac_ext=cpp
37157 ac_cpp='$CXXCPP $CPPFLAGS'
37158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37161
37162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37163 /* end confdefs.h. */
37164 #include <math.h>
37165 int
37166 main ()
37167 {
37168 _hypotf(0, 0);
37169 ;
37170 return 0;
37171 }
37172 _ACEOF
37173 if ac_fn_cxx_try_compile "$LINENO"; then :
37174 glibcxx_cv_func__hypotf_use=yes
37175 else
37176 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
37190 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37191
37192 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37193 for ac_func in _hypotf
37194 do :
37195 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37196 if test "x$ac_cv_func__hypotf" = x""yes; then :
37197 cat >>confdefs.h <<_ACEOF
37198 #define HAVE__HYPOTF 1
37199 _ACEOF
37200
37201 fi
37202 done
37203
37204 fi
37205 fi
37206
37207
37208
37209
37210
37211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37212 $as_echo_n "checking for ldexpf declaration... " >&6; }
37213 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37214 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37215 $as_echo_n "(cached) " >&6
37216 else
37217
37218
37219 ac_ext=cpp
37220 ac_cpp='$CXXCPP $CPPFLAGS'
37221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224
37225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226 /* end confdefs.h. */
37227 #include <math.h>
37228 int
37229 main ()
37230 {
37231 ldexpf(0, 0);
37232 ;
37233 return 0;
37234 }
37235 _ACEOF
37236 if ac_fn_cxx_try_compile "$LINENO"; then :
37237 glibcxx_cv_func_ldexpf_use=yes
37238 else
37239 glibcxx_cv_func_ldexpf_use=no
37240 fi
37241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37242 ac_ext=c
37243 ac_cpp='$CPP $CPPFLAGS'
37244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37247
37248
37249 fi
37250
37251 fi
37252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37253 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37254
37255 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37256 for ac_func in ldexpf
37257 do :
37258 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37259 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37260 cat >>confdefs.h <<_ACEOF
37261 #define HAVE_LDEXPF 1
37262 _ACEOF
37263
37264 fi
37265 done
37266
37267 else
37268
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37270 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37271 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37272 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37273 $as_echo_n "(cached) " >&6
37274 else
37275
37276
37277 ac_ext=cpp
37278 ac_cpp='$CXXCPP $CPPFLAGS'
37279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37282
37283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37284 /* end confdefs.h. */
37285 #include <math.h>
37286 int
37287 main ()
37288 {
37289 _ldexpf(0, 0);
37290 ;
37291 return 0;
37292 }
37293 _ACEOF
37294 if ac_fn_cxx_try_compile "$LINENO"; then :
37295 glibcxx_cv_func__ldexpf_use=yes
37296 else
37297 glibcxx_cv_func__ldexpf_use=no
37298 fi
37299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37300 ac_ext=c
37301 ac_cpp='$CPP $CPPFLAGS'
37302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37305
37306
37307 fi
37308
37309 fi
37310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37311 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37312
37313 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37314 for ac_func in _ldexpf
37315 do :
37316 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37317 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37318 cat >>confdefs.h <<_ACEOF
37319 #define HAVE__LDEXPF 1
37320 _ACEOF
37321
37322 fi
37323 done
37324
37325 fi
37326 fi
37327
37328
37329
37330
37331
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37333 $as_echo_n "checking for logf declaration... " >&6; }
37334 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37335 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37336 $as_echo_n "(cached) " >&6
37337 else
37338
37339
37340 ac_ext=cpp
37341 ac_cpp='$CXXCPP $CPPFLAGS'
37342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37345
37346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37347 /* end confdefs.h. */
37348 #include <math.h>
37349 #ifdef HAVE_IEEEFP_H
37350 #include <ieeefp.h>
37351 #endif
37352
37353 int
37354 main ()
37355 {
37356 logf(0);
37357 ;
37358 return 0;
37359 }
37360 _ACEOF
37361 if ac_fn_cxx_try_compile "$LINENO"; then :
37362 glibcxx_cv_func_logf_use=yes
37363 else
37364 glibcxx_cv_func_logf_use=no
37365 fi
37366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37367 ac_ext=c
37368 ac_cpp='$CPP $CPPFLAGS'
37369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37372
37373
37374 fi
37375
37376 fi
37377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37378 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37379
37380 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37381 for ac_func in logf
37382 do :
37383 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37384 if test "x$ac_cv_func_logf" = x""yes; then :
37385 cat >>confdefs.h <<_ACEOF
37386 #define HAVE_LOGF 1
37387 _ACEOF
37388
37389 fi
37390 done
37391
37392 else
37393
37394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37395 $as_echo_n "checking for _logf declaration... " >&6; }
37396 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37397 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37398 $as_echo_n "(cached) " >&6
37399 else
37400
37401
37402 ac_ext=cpp
37403 ac_cpp='$CXXCPP $CPPFLAGS'
37404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407
37408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37409 /* end confdefs.h. */
37410 #include <math.h>
37411 #ifdef HAVE_IEEEFP_H
37412 #include <ieeefp.h>
37413 #endif
37414
37415 int
37416 main ()
37417 {
37418 _logf(0);
37419 ;
37420 return 0;
37421 }
37422 _ACEOF
37423 if ac_fn_cxx_try_compile "$LINENO"; then :
37424 glibcxx_cv_func__logf_use=yes
37425 else
37426 glibcxx_cv_func__logf_use=no
37427 fi
37428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37429 ac_ext=c
37430 ac_cpp='$CPP $CPPFLAGS'
37431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434
37435
37436 fi
37437
37438 fi
37439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37440 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37441
37442 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37443 for ac_func in _logf
37444 do :
37445 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37446 if test "x$ac_cv_func__logf" = x""yes; then :
37447 cat >>confdefs.h <<_ACEOF
37448 #define HAVE__LOGF 1
37449 _ACEOF
37450
37451 fi
37452 done
37453
37454 fi
37455 fi
37456
37457
37458
37459
37460
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37462 $as_echo_n "checking for log10f declaration... " >&6; }
37463 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37464 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37465 $as_echo_n "(cached) " >&6
37466 else
37467
37468
37469 ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474
37475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h. */
37477 #include <math.h>
37478 #ifdef HAVE_IEEEFP_H
37479 #include <ieeefp.h>
37480 #endif
37481
37482 int
37483 main ()
37484 {
37485 log10f(0);
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func_log10f_use=yes
37492 else
37493 glibcxx_cv_func_log10f_use=no
37494 fi
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501
37502
37503 fi
37504
37505 fi
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37507 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37508
37509 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37510 for ac_func in log10f
37511 do :
37512 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37513 if test "x$ac_cv_func_log10f" = x""yes; then :
37514 cat >>confdefs.h <<_ACEOF
37515 #define HAVE_LOG10F 1
37516 _ACEOF
37517
37518 fi
37519 done
37520
37521 else
37522
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37524 $as_echo_n "checking for _log10f declaration... " >&6; }
37525 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37526 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
37541 #include <ieeefp.h>
37542 #endif
37543
37544 int
37545 main ()
37546 {
37547 _log10f(0);
37548 ;
37549 return 0;
37550 }
37551 _ACEOF
37552 if ac_fn_cxx_try_compile "$LINENO"; then :
37553 glibcxx_cv_func__log10f_use=yes
37554 else
37555 glibcxx_cv_func__log10f_use=no
37556 fi
37557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37558 ac_ext=c
37559 ac_cpp='$CPP $CPPFLAGS'
37560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37563
37564
37565 fi
37566
37567 fi
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37569 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37570
37571 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37572 for ac_func in _log10f
37573 do :
37574 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37575 if test "x$ac_cv_func__log10f" = x""yes; then :
37576 cat >>confdefs.h <<_ACEOF
37577 #define HAVE__LOG10F 1
37578 _ACEOF
37579
37580 fi
37581 done
37582
37583 fi
37584 fi
37585
37586
37587
37588
37589
37590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37591 $as_echo_n "checking for modff declaration... " >&6; }
37592 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37593 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37594 $as_echo_n "(cached) " >&6
37595 else
37596
37597
37598 ac_ext=cpp
37599 ac_cpp='$CXXCPP $CPPFLAGS'
37600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37603
37604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37605 /* end confdefs.h. */
37606 #include <math.h>
37607 int
37608 main ()
37609 {
37610 modff(0, 0);
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func_modff_use=yes
37617 else
37618 glibcxx_cv_func_modff_use=no
37619 fi
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37626
37627
37628 fi
37629
37630 fi
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37632 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37633
37634 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37635 for ac_func in modff
37636 do :
37637 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37638 if test "x$ac_cv_func_modff" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE_MODFF 1
37641 _ACEOF
37642
37643 fi
37644 done
37645
37646 else
37647
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37649 $as_echo_n "checking for _modff declaration... " >&6; }
37650 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37651 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37652 $as_echo_n "(cached) " >&6
37653 else
37654
37655
37656 ac_ext=cpp
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661
37662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37663 /* end confdefs.h. */
37664 #include <math.h>
37665 int
37666 main ()
37667 {
37668 _modff(0, 0);
37669 ;
37670 return 0;
37671 }
37672 _ACEOF
37673 if ac_fn_cxx_try_compile "$LINENO"; then :
37674 glibcxx_cv_func__modff_use=yes
37675 else
37676 glibcxx_cv_func__modff_use=no
37677 fi
37678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37679 ac_ext=c
37680 ac_cpp='$CPP $CPPFLAGS'
37681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37684
37685
37686 fi
37687
37688 fi
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37690 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37691
37692 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37693 for ac_func in _modff
37694 do :
37695 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37696 if test "x$ac_cv_func__modff" = x""yes; then :
37697 cat >>confdefs.h <<_ACEOF
37698 #define HAVE__MODFF 1
37699 _ACEOF
37700
37701 fi
37702 done
37703
37704 fi
37705 fi
37706
37707
37708
37709
37710
37711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37712 $as_echo_n "checking for modf declaration... " >&6; }
37713 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37714 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37715 $as_echo_n "(cached) " >&6
37716 else
37717
37718
37719 ac_ext=cpp
37720 ac_cpp='$CXXCPP $CPPFLAGS'
37721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37724
37725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37726 /* end confdefs.h. */
37727 #include <math.h>
37728 int
37729 main ()
37730 {
37731 modf(0, 0);
37732 ;
37733 return 0;
37734 }
37735 _ACEOF
37736 if ac_fn_cxx_try_compile "$LINENO"; then :
37737 glibcxx_cv_func_modf_use=yes
37738 else
37739 glibcxx_cv_func_modf_use=no
37740 fi
37741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37742 ac_ext=c
37743 ac_cpp='$CPP $CPPFLAGS'
37744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37747
37748
37749 fi
37750
37751 fi
37752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37753 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37754
37755 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37756 for ac_func in modf
37757 do :
37758 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37759 if test "x$ac_cv_func_modf" = x""yes; then :
37760 cat >>confdefs.h <<_ACEOF
37761 #define HAVE_MODF 1
37762 _ACEOF
37763
37764 fi
37765 done
37766
37767 else
37768
37769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37770 $as_echo_n "checking for _modf declaration... " >&6; }
37771 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37772 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37773 $as_echo_n "(cached) " >&6
37774 else
37775
37776
37777 ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37782
37783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37784 /* end confdefs.h. */
37785 #include <math.h>
37786 int
37787 main ()
37788 {
37789 _modf(0, 0);
37790 ;
37791 return 0;
37792 }
37793 _ACEOF
37794 if ac_fn_cxx_try_compile "$LINENO"; then :
37795 glibcxx_cv_func__modf_use=yes
37796 else
37797 glibcxx_cv_func__modf_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__modf_use" >&5
37811 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37812
37813 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37814 for ac_func in _modf
37815 do :
37816 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37817 if test "x$ac_cv_func__modf" = x""yes; then :
37818 cat >>confdefs.h <<_ACEOF
37819 #define HAVE__MODF 1
37820 _ACEOF
37821
37822 fi
37823 done
37824
37825 fi
37826 fi
37827
37828
37829
37830
37831
37832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37833 $as_echo_n "checking for powf declaration... " >&6; }
37834 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37835 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37836 $as_echo_n "(cached) " >&6
37837 else
37838
37839
37840 ac_ext=cpp
37841 ac_cpp='$CXXCPP $CPPFLAGS'
37842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37845
37846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37847 /* end confdefs.h. */
37848 #include <math.h>
37849 int
37850 main ()
37851 {
37852 powf(0, 0);
37853 ;
37854 return 0;
37855 }
37856 _ACEOF
37857 if ac_fn_cxx_try_compile "$LINENO"; then :
37858 glibcxx_cv_func_powf_use=yes
37859 else
37860 glibcxx_cv_func_powf_use=no
37861 fi
37862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37863 ac_ext=c
37864 ac_cpp='$CPP $CPPFLAGS'
37865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37868
37869
37870 fi
37871
37872 fi
37873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37874 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37875
37876 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37877 for ac_func in powf
37878 do :
37879 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37880 if test "x$ac_cv_func_powf" = x""yes; then :
37881 cat >>confdefs.h <<_ACEOF
37882 #define HAVE_POWF 1
37883 _ACEOF
37884
37885 fi
37886 done
37887
37888 else
37889
37890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37891 $as_echo_n "checking for _powf declaration... " >&6; }
37892 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37893 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37894 $as_echo_n "(cached) " >&6
37895 else
37896
37897
37898 ac_ext=cpp
37899 ac_cpp='$CXXCPP $CPPFLAGS'
37900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37903
37904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37905 /* end confdefs.h. */
37906 #include <math.h>
37907 int
37908 main ()
37909 {
37910 _powf(0, 0);
37911 ;
37912 return 0;
37913 }
37914 _ACEOF
37915 if ac_fn_cxx_try_compile "$LINENO"; then :
37916 glibcxx_cv_func__powf_use=yes
37917 else
37918 glibcxx_cv_func__powf_use=no
37919 fi
37920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37921 ac_ext=c
37922 ac_cpp='$CPP $CPPFLAGS'
37923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37926
37927
37928 fi
37929
37930 fi
37931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37932 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37933
37934 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37935 for ac_func in _powf
37936 do :
37937 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37938 if test "x$ac_cv_func__powf" = x""yes; then :
37939 cat >>confdefs.h <<_ACEOF
37940 #define HAVE__POWF 1
37941 _ACEOF
37942
37943 fi
37944 done
37945
37946 fi
37947 fi
37948
37949
37950
37951
37952
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37954 $as_echo_n "checking for sqrtf declaration... " >&6; }
37955 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37956 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37957 $as_echo_n "(cached) " >&6
37958 else
37959
37960
37961 ac_ext=cpp
37962 ac_cpp='$CXXCPP $CPPFLAGS'
37963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37966
37967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37968 /* end confdefs.h. */
37969 #include <math.h>
37970 #ifdef HAVE_IEEEFP_H
37971 #include <ieeefp.h>
37972 #endif
37973
37974 int
37975 main ()
37976 {
37977 sqrtf(0);
37978 ;
37979 return 0;
37980 }
37981 _ACEOF
37982 if ac_fn_cxx_try_compile "$LINENO"; then :
37983 glibcxx_cv_func_sqrtf_use=yes
37984 else
37985 glibcxx_cv_func_sqrtf_use=no
37986 fi
37987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988 ac_ext=c
37989 ac_cpp='$CPP $CPPFLAGS'
37990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37993
37994
37995 fi
37996
37997 fi
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37999 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38000
38001 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38002 for ac_func in sqrtf
38003 do :
38004 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38005 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38006 cat >>confdefs.h <<_ACEOF
38007 #define HAVE_SQRTF 1
38008 _ACEOF
38009
38010 fi
38011 done
38012
38013 else
38014
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38016 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38017 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38018 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 if ac_fn_cxx_try_compile "$LINENO"; then :
38045 glibcxx_cv_func__sqrtf_use=yes
38046 else
38047 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
38061 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38062
38063 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38064 for ac_func in _sqrtf
38065 do :
38066 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38067 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38068 cat >>confdefs.h <<_ACEOF
38069 #define HAVE__SQRTF 1
38070 _ACEOF
38071
38072 fi
38073 done
38074
38075 fi
38076 fi
38077
38078
38079
38080
38081
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38083 $as_echo_n "checking for sincosf declaration... " >&6; }
38084 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38085 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38088
38089
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38099 int
38100 main ()
38101 {
38102 sincosf(0, 0, 0);
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func_sincosf_use=yes
38109 else
38110 glibcxx_cv_func_sincosf_use=no
38111 fi
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38118
38119
38120 fi
38121
38122 fi
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38124 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38125
38126 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38127 for ac_func in sincosf
38128 do :
38129 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38130 if test "x$ac_cv_func_sincosf" = x""yes; then :
38131 cat >>confdefs.h <<_ACEOF
38132 #define HAVE_SINCOSF 1
38133 _ACEOF
38134
38135 fi
38136 done
38137
38138 else
38139
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38141 $as_echo_n "checking for _sincosf declaration... " >&6; }
38142 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38143 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38144 $as_echo_n "(cached) " >&6
38145 else
38146
38147
38148 ac_ext=cpp
38149 ac_cpp='$CXXCPP $CPPFLAGS'
38150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38153
38154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38155 /* end confdefs.h. */
38156 #include <math.h>
38157 int
38158 main ()
38159 {
38160 _sincosf(0, 0, 0);
38161 ;
38162 return 0;
38163 }
38164 _ACEOF
38165 if ac_fn_cxx_try_compile "$LINENO"; then :
38166 glibcxx_cv_func__sincosf_use=yes
38167 else
38168 glibcxx_cv_func__sincosf_use=no
38169 fi
38170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38171 ac_ext=c
38172 ac_cpp='$CPP $CPPFLAGS'
38173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38176
38177
38178 fi
38179
38180 fi
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38182 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38183
38184 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38185 for ac_func in _sincosf
38186 do :
38187 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38188 if test "x$ac_cv_func__sincosf" = x""yes; then :
38189 cat >>confdefs.h <<_ACEOF
38190 #define HAVE__SINCOSF 1
38191 _ACEOF
38192
38193 fi
38194 done
38195
38196 fi
38197 fi
38198
38199
38200
38201
38202
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38204 $as_echo_n "checking for finitef declaration... " >&6; }
38205 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38206 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38207 $as_echo_n "(cached) " >&6
38208 else
38209
38210
38211 ac_ext=cpp
38212 ac_cpp='$CXXCPP $CPPFLAGS'
38213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38216
38217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38218 /* end confdefs.h. */
38219 #include <math.h>
38220 #ifdef HAVE_IEEEFP_H
38221 #include <ieeefp.h>
38222 #endif
38223
38224 int
38225 main ()
38226 {
38227 finitef(0);
38228 ;
38229 return 0;
38230 }
38231 _ACEOF
38232 if ac_fn_cxx_try_compile "$LINENO"; then :
38233 glibcxx_cv_func_finitef_use=yes
38234 else
38235 glibcxx_cv_func_finitef_use=no
38236 fi
38237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38238 ac_ext=c
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38243
38244
38245 fi
38246
38247 fi
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38249 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38250
38251 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38252 for ac_func in finitef
38253 do :
38254 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38255 if test "x$ac_cv_func_finitef" = x""yes; then :
38256 cat >>confdefs.h <<_ACEOF
38257 #define HAVE_FINITEF 1
38258 _ACEOF
38259
38260 fi
38261 done
38262
38263 else
38264
38265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38266 $as_echo_n "checking for _finitef declaration... " >&6; }
38267 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38268 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38269 $as_echo_n "(cached) " >&6
38270 else
38271
38272
38273 ac_ext=cpp
38274 ac_cpp='$CXXCPP $CPPFLAGS'
38275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38278
38279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38280 /* end confdefs.h. */
38281 #include <math.h>
38282 #ifdef HAVE_IEEEFP_H
38283 #include <ieeefp.h>
38284 #endif
38285
38286 int
38287 main ()
38288 {
38289 _finitef(0);
38290 ;
38291 return 0;
38292 }
38293 _ACEOF
38294 if ac_fn_cxx_try_compile "$LINENO"; then :
38295 glibcxx_cv_func__finitef_use=yes
38296 else
38297 glibcxx_cv_func__finitef_use=no
38298 fi
38299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38300 ac_ext=c
38301 ac_cpp='$CPP $CPPFLAGS'
38302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38305
38306
38307 fi
38308
38309 fi
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38311 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38312
38313 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38314 for ac_func in _finitef
38315 do :
38316 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38317 if test "x$ac_cv_func__finitef" = x""yes; then :
38318 cat >>confdefs.h <<_ACEOF
38319 #define HAVE__FINITEF 1
38320 _ACEOF
38321
38322 fi
38323 done
38324
38325 fi
38326 fi
38327
38328
38329
38330
38331
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38333 $as_echo_n "checking for long double trig functions... " >&6; }
38334 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38335 $as_echo_n "(cached) " >&6
38336 else
38337
38338
38339 ac_ext=cpp
38340 ac_cpp='$CXXCPP $CPPFLAGS'
38341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38344
38345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38346 /* end confdefs.h. */
38347 #include <math.h>
38348 int
38349 main ()
38350 {
38351 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38352 ;
38353 return 0;
38354 }
38355 _ACEOF
38356 if ac_fn_cxx_try_compile "$LINENO"; then :
38357 glibcxx_cv_func_long_double_trig_use=yes
38358 else
38359 glibcxx_cv_func_long_double_trig_use=no
38360 fi
38361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38362 ac_ext=c
38363 ac_cpp='$CPP $CPPFLAGS'
38364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38367
38368 fi
38369
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38371 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38372 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38373 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38374 do :
38375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38377 eval as_val=\$$as_ac_var
38378 if test "x$as_val" = x""yes; then :
38379 cat >>confdefs.h <<_ACEOF
38380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38381 _ACEOF
38382
38383 fi
38384 done
38385
38386 else
38387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38388 $as_echo_n "checking for _long double trig functions... " >&6; }
38389 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38390 $as_echo_n "(cached) " >&6
38391 else
38392
38393
38394 ac_ext=cpp
38395 ac_cpp='$CXXCPP $CPPFLAGS'
38396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38399
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h. */
38402 #include <math.h>
38403 int
38404 main ()
38405 {
38406 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38407 ;
38408 return 0;
38409 }
38410 _ACEOF
38411 if ac_fn_cxx_try_compile "$LINENO"; then :
38412 glibcxx_cv_func__long_double_trig_use=yes
38413 else
38414 glibcxx_cv_func__long_double_trig_use=no
38415 fi
38416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38417 ac_ext=c
38418 ac_cpp='$CPP $CPPFLAGS'
38419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38422
38423 fi
38424
38425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38426 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38427 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38428 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38429 do :
38430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38432 eval as_val=\$$as_ac_var
38433 if test "x$as_val" = x""yes; then :
38434 cat >>confdefs.h <<_ACEOF
38435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38436 _ACEOF
38437
38438 fi
38439 done
38440
38441 fi
38442 fi
38443
38444
38445
38446
38447
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38449 $as_echo_n "checking for long double round functions... " >&6; }
38450 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38451 $as_echo_n "(cached) " >&6
38452 else
38453
38454
38455 ac_ext=cpp
38456 ac_cpp='$CXXCPP $CPPFLAGS'
38457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460
38461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38462 /* end confdefs.h. */
38463 #include <math.h>
38464 int
38465 main ()
38466 {
38467 ceill (0); floorl (0);
38468 ;
38469 return 0;
38470 }
38471 _ACEOF
38472 if ac_fn_cxx_try_compile "$LINENO"; then :
38473 glibcxx_cv_func_long_double_round_use=yes
38474 else
38475 glibcxx_cv_func_long_double_round_use=no
38476 fi
38477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38478 ac_ext=c
38479 ac_cpp='$CPP $CPPFLAGS'
38480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38483
38484 fi
38485
38486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38487 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38488 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38489 for ac_func in ceill floorl
38490 do :
38491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38493 eval as_val=\$$as_ac_var
38494 if test "x$as_val" = x""yes; then :
38495 cat >>confdefs.h <<_ACEOF
38496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38497 _ACEOF
38498
38499 fi
38500 done
38501
38502 else
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38504 $as_echo_n "checking for _long double round functions... " >&6; }
38505 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38506 $as_echo_n "(cached) " >&6
38507 else
38508
38509
38510 ac_ext=cpp
38511 ac_cpp='$CXXCPP $CPPFLAGS'
38512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38515
38516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38517 /* end confdefs.h. */
38518 #include <math.h>
38519 int
38520 main ()
38521 {
38522 _ceill (0); _floorl (0);
38523 ;
38524 return 0;
38525 }
38526 _ACEOF
38527 if ac_fn_cxx_try_compile "$LINENO"; then :
38528 glibcxx_cv_func__long_double_round_use=yes
38529 else
38530 glibcxx_cv_func__long_double_round_use=no
38531 fi
38532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38533 ac_ext=c
38534 ac_cpp='$CPP $CPPFLAGS'
38535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38538
38539 fi
38540
38541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38542 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38543 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38544 for ac_func in _ceill _floorl
38545 do :
38546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38548 eval as_val=\$$as_ac_var
38549 if test "x$as_val" = x""yes; then :
38550 cat >>confdefs.h <<_ACEOF
38551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38552 _ACEOF
38553
38554 fi
38555 done
38556
38557 fi
38558 fi
38559
38560
38561
38562
38563
38564
38565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38566 $as_echo_n "checking for isnanl declaration... " >&6; }
38567 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38568 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38569 $as_echo_n "(cached) " >&6
38570 else
38571
38572
38573 ac_ext=cpp
38574 ac_cpp='$CXXCPP $CPPFLAGS'
38575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38578
38579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38580 /* end confdefs.h. */
38581 #include <math.h>
38582 #ifdef HAVE_IEEEFP_H
38583 #include <ieeefp.h>
38584 #endif
38585
38586 int
38587 main ()
38588 {
38589 isnanl(0);
38590 ;
38591 return 0;
38592 }
38593 _ACEOF
38594 if ac_fn_cxx_try_compile "$LINENO"; then :
38595 glibcxx_cv_func_isnanl_use=yes
38596 else
38597 glibcxx_cv_func_isnanl_use=no
38598 fi
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38605
38606
38607 fi
38608
38609 fi
38610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38611 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38612
38613 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38614 for ac_func in isnanl
38615 do :
38616 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38617 if test "x$ac_cv_func_isnanl" = x""yes; then :
38618 cat >>confdefs.h <<_ACEOF
38619 #define HAVE_ISNANL 1
38620 _ACEOF
38621
38622 fi
38623 done
38624
38625 else
38626
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38628 $as_echo_n "checking for _isnanl declaration... " >&6; }
38629 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38630 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38631 $as_echo_n "(cached) " >&6
38632 else
38633
38634
38635 ac_ext=cpp
38636 ac_cpp='$CXXCPP $CPPFLAGS'
38637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640
38641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38642 /* end confdefs.h. */
38643 #include <math.h>
38644 #ifdef HAVE_IEEEFP_H
38645 #include <ieeefp.h>
38646 #endif
38647
38648 int
38649 main ()
38650 {
38651 _isnanl(0);
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 if ac_fn_cxx_try_compile "$LINENO"; then :
38657 glibcxx_cv_func__isnanl_use=yes
38658 else
38659 glibcxx_cv_func__isnanl_use=no
38660 fi
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38662 ac_ext=c
38663 ac_cpp='$CPP $CPPFLAGS'
38664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38667
38668
38669 fi
38670
38671 fi
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38673 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38674
38675 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38676 for ac_func in _isnanl
38677 do :
38678 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38679 if test "x$ac_cv_func__isnanl" = x""yes; then :
38680 cat >>confdefs.h <<_ACEOF
38681 #define HAVE__ISNANL 1
38682 _ACEOF
38683
38684 fi
38685 done
38686
38687 fi
38688 fi
38689
38690
38691
38692
38693
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38695 $as_echo_n "checking for isinfl declaration... " >&6; }
38696 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38697 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 #ifdef HAVE_IEEEFP_H
38712 #include <ieeefp.h>
38713 #endif
38714
38715 int
38716 main ()
38717 {
38718 isinfl(0);
38719 ;
38720 return 0;
38721 }
38722 _ACEOF
38723 if ac_fn_cxx_try_compile "$LINENO"; then :
38724 glibcxx_cv_func_isinfl_use=yes
38725 else
38726 glibcxx_cv_func_isinfl_use=no
38727 fi
38728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38729 ac_ext=c
38730 ac_cpp='$CPP $CPPFLAGS'
38731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38734
38735
38736 fi
38737
38738 fi
38739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38740 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38741
38742 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38743 for ac_func in isinfl
38744 do :
38745 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38746 if test "x$ac_cv_func_isinfl" = x""yes; then :
38747 cat >>confdefs.h <<_ACEOF
38748 #define HAVE_ISINFL 1
38749 _ACEOF
38750
38751 fi
38752 done
38753
38754 else
38755
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38757 $as_echo_n "checking for _isinfl declaration... " >&6; }
38758 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38759 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
38781 ;
38782 return 0;
38783 }
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786 glibcxx_cv_func__isinfl_use=yes
38787 else
38788 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
38802 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38803
38804 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38805 for ac_func in _isinfl
38806 do :
38807 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38808 if test "x$ac_cv_func__isinfl" = x""yes; then :
38809 cat >>confdefs.h <<_ACEOF
38810 #define HAVE__ISINFL 1
38811 _ACEOF
38812
38813 fi
38814 done
38815
38816 fi
38817 fi
38818
38819
38820
38821
38822
38823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38824 $as_echo_n "checking for atan2l declaration... " >&6; }
38825 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38826 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38827 $as_echo_n "(cached) " >&6
38828 else
38829
38830
38831 ac_ext=cpp
38832 ac_cpp='$CXXCPP $CPPFLAGS'
38833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38836
38837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38838 /* end confdefs.h. */
38839 #include <math.h>
38840 int
38841 main ()
38842 {
38843 atan2l(0, 0);
38844 ;
38845 return 0;
38846 }
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849 glibcxx_cv_func_atan2l_use=yes
38850 else
38851 glibcxx_cv_func_atan2l_use=no
38852 fi
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38859
38860
38861 fi
38862
38863 fi
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38865 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38866
38867 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38868 for ac_func in atan2l
38869 do :
38870 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38871 if test "x$ac_cv_func_atan2l" = x""yes; then :
38872 cat >>confdefs.h <<_ACEOF
38873 #define HAVE_ATAN2L 1
38874 _ACEOF
38875
38876 fi
38877 done
38878
38879 else
38880
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38882 $as_echo_n "checking for _atan2l declaration... " >&6; }
38883 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38884 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38885 $as_echo_n "(cached) " >&6
38886 else
38887
38888
38889 ac_ext=cpp
38890 ac_cpp='$CXXCPP $CPPFLAGS'
38891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38894
38895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38896 /* end confdefs.h. */
38897 #include <math.h>
38898 int
38899 main ()
38900 {
38901 _atan2l(0, 0);
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 if ac_fn_cxx_try_compile "$LINENO"; then :
38907 glibcxx_cv_func__atan2l_use=yes
38908 else
38909 glibcxx_cv_func__atan2l_use=no
38910 fi
38911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38912 ac_ext=c
38913 ac_cpp='$CPP $CPPFLAGS'
38914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38917
38918
38919 fi
38920
38921 fi
38922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38923 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38924
38925 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38926 for ac_func in _atan2l
38927 do :
38928 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38929 if test "x$ac_cv_func__atan2l" = x""yes; then :
38930 cat >>confdefs.h <<_ACEOF
38931 #define HAVE__ATAN2L 1
38932 _ACEOF
38933
38934 fi
38935 done
38936
38937 fi
38938 fi
38939
38940
38941
38942
38943
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38945 $as_echo_n "checking for expl declaration... " >&6; }
38946 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38947 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38948 $as_echo_n "(cached) " >&6
38949 else
38950
38951
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38960 #include <math.h>
38961 #ifdef HAVE_IEEEFP_H
38962 #include <ieeefp.h>
38963 #endif
38964
38965 int
38966 main ()
38967 {
38968 expl(0);
38969 ;
38970 return 0;
38971 }
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func_expl_use=yes
38975 else
38976 glibcxx_cv_func_expl_use=no
38977 fi
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984
38985
38986 fi
38987
38988 fi
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38990 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38991
38992 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38993 for ac_func in expl
38994 do :
38995 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38996 if test "x$ac_cv_func_expl" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE_EXPL 1
38999 _ACEOF
39000
39001 fi
39002 done
39003
39004 else
39005
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39007 $as_echo_n "checking for _expl declaration... " >&6; }
39008 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39009 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39010 $as_echo_n "(cached) " >&6
39011 else
39012
39013
39014 ac_ext=cpp
39015 ac_cpp='$CXXCPP $CPPFLAGS'
39016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39019
39020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39021 /* end confdefs.h. */
39022 #include <math.h>
39023 #ifdef HAVE_IEEEFP_H
39024 #include <ieeefp.h>
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 _expl(0);
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 if ac_fn_cxx_try_compile "$LINENO"; then :
39036 glibcxx_cv_func__expl_use=yes
39037 else
39038 glibcxx_cv_func__expl_use=no
39039 fi
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39041 ac_ext=c
39042 ac_cpp='$CPP $CPPFLAGS'
39043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39046
39047
39048 fi
39049
39050 fi
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39052 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39053
39054 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39055 for ac_func in _expl
39056 do :
39057 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39058 if test "x$ac_cv_func__expl" = x""yes; then :
39059 cat >>confdefs.h <<_ACEOF
39060 #define HAVE__EXPL 1
39061 _ACEOF
39062
39063 fi
39064 done
39065
39066 fi
39067 fi
39068
39069
39070
39071
39072
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39074 $as_echo_n "checking for fabsl declaration... " >&6; }
39075 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39076 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 #ifdef HAVE_IEEEFP_H
39091 #include <ieeefp.h>
39092 #endif
39093
39094 int
39095 main ()
39096 {
39097 fabsl(0);
39098 ;
39099 return 0;
39100 }
39101 _ACEOF
39102 if ac_fn_cxx_try_compile "$LINENO"; then :
39103 glibcxx_cv_func_fabsl_use=yes
39104 else
39105 glibcxx_cv_func_fabsl_use=no
39106 fi
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 ac_ext=c
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113
39114
39115 fi
39116
39117 fi
39118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39119 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39120
39121 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39122 for ac_func in fabsl
39123 do :
39124 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39125 if test "x$ac_cv_func_fabsl" = x""yes; then :
39126 cat >>confdefs.h <<_ACEOF
39127 #define HAVE_FABSL 1
39128 _ACEOF
39129
39130 fi
39131 done
39132
39133 else
39134
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39136 $as_echo_n "checking for _fabsl declaration... " >&6; }
39137 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39138 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
39153 #include <ieeefp.h>
39154 #endif
39155
39156 int
39157 main ()
39158 {
39159 _fabsl(0);
39160 ;
39161 return 0;
39162 }
39163 _ACEOF
39164 if ac_fn_cxx_try_compile "$LINENO"; then :
39165 glibcxx_cv_func__fabsl_use=yes
39166 else
39167 glibcxx_cv_func__fabsl_use=no
39168 fi
39169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39170 ac_ext=c
39171 ac_cpp='$CPP $CPPFLAGS'
39172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39175
39176
39177 fi
39178
39179 fi
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39181 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39182
39183 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39184 for ac_func in _fabsl
39185 do :
39186 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39187 if test "x$ac_cv_func__fabsl" = x""yes; then :
39188 cat >>confdefs.h <<_ACEOF
39189 #define HAVE__FABSL 1
39190 _ACEOF
39191
39192 fi
39193 done
39194
39195 fi
39196 fi
39197
39198
39199
39200
39201
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39203 $as_echo_n "checking for fmodl declaration... " >&6; }
39204 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39205 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39206 $as_echo_n "(cached) " >&6
39207 else
39208
39209
39210 ac_ext=cpp
39211 ac_cpp='$CXXCPP $CPPFLAGS'
39212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39215
39216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39217 /* end confdefs.h. */
39218 #include <math.h>
39219 int
39220 main ()
39221 {
39222 fmodl(0, 0);
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 if ac_fn_cxx_try_compile "$LINENO"; then :
39228 glibcxx_cv_func_fmodl_use=yes
39229 else
39230 glibcxx_cv_func_fmodl_use=no
39231 fi
39232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 ac_ext=c
39234 ac_cpp='$CPP $CPPFLAGS'
39235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39238
39239
39240 fi
39241
39242 fi
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39244 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39245
39246 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39247 for ac_func in fmodl
39248 do :
39249 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39250 if test "x$ac_cv_func_fmodl" = x""yes; then :
39251 cat >>confdefs.h <<_ACEOF
39252 #define HAVE_FMODL 1
39253 _ACEOF
39254
39255 fi
39256 done
39257
39258 else
39259
39260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39261 $as_echo_n "checking for _fmodl declaration... " >&6; }
39262 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39263 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39264 $as_echo_n "(cached) " >&6
39265 else
39266
39267
39268 ac_ext=cpp
39269 ac_cpp='$CXXCPP $CPPFLAGS'
39270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39273
39274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39275 /* end confdefs.h. */
39276 #include <math.h>
39277 int
39278 main ()
39279 {
39280 _fmodl(0, 0);
39281 ;
39282 return 0;
39283 }
39284 _ACEOF
39285 if ac_fn_cxx_try_compile "$LINENO"; then :
39286 glibcxx_cv_func__fmodl_use=yes
39287 else
39288 glibcxx_cv_func__fmodl_use=no
39289 fi
39290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39291 ac_ext=c
39292 ac_cpp='$CPP $CPPFLAGS'
39293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39296
39297
39298 fi
39299
39300 fi
39301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39302 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39303
39304 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39305 for ac_func in _fmodl
39306 do :
39307 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39308 if test "x$ac_cv_func__fmodl" = x""yes; then :
39309 cat >>confdefs.h <<_ACEOF
39310 #define HAVE__FMODL 1
39311 _ACEOF
39312
39313 fi
39314 done
39315
39316 fi
39317 fi
39318
39319
39320
39321
39322
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39324 $as_echo_n "checking for frexpl declaration... " >&6; }
39325 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39326 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39329
39330
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39340 int
39341 main ()
39342 {
39343 frexpl(0, 0);
39344 ;
39345 return 0;
39346 }
39347 _ACEOF
39348 if ac_fn_cxx_try_compile "$LINENO"; then :
39349 glibcxx_cv_func_frexpl_use=yes
39350 else
39351 glibcxx_cv_func_frexpl_use=no
39352 fi
39353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39354 ac_ext=c
39355 ac_cpp='$CPP $CPPFLAGS'
39356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39359
39360
39361 fi
39362
39363 fi
39364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39365 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39366
39367 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39368 for ac_func in frexpl
39369 do :
39370 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39371 if test "x$ac_cv_func_frexpl" = x""yes; then :
39372 cat >>confdefs.h <<_ACEOF
39373 #define HAVE_FREXPL 1
39374 _ACEOF
39375
39376 fi
39377 done
39378
39379 else
39380
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39382 $as_echo_n "checking for _frexpl declaration... " >&6; }
39383 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39384 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39385 $as_echo_n "(cached) " >&6
39386 else
39387
39388
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394
39395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39396 /* end confdefs.h. */
39397 #include <math.h>
39398 int
39399 main ()
39400 {
39401 _frexpl(0, 0);
39402 ;
39403 return 0;
39404 }
39405 _ACEOF
39406 if ac_fn_cxx_try_compile "$LINENO"; then :
39407 glibcxx_cv_func__frexpl_use=yes
39408 else
39409 glibcxx_cv_func__frexpl_use=no
39410 fi
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39412 ac_ext=c
39413 ac_cpp='$CPP $CPPFLAGS'
39414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39417
39418
39419 fi
39420
39421 fi
39422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39423 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39424
39425 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39426 for ac_func in _frexpl
39427 do :
39428 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39429 if test "x$ac_cv_func__frexpl" = x""yes; then :
39430 cat >>confdefs.h <<_ACEOF
39431 #define HAVE__FREXPL 1
39432 _ACEOF
39433
39434 fi
39435 done
39436
39437 fi
39438 fi
39439
39440
39441
39442
39443
39444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39445 $as_echo_n "checking for hypotl declaration... " >&6; }
39446 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39447 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39448 $as_echo_n "(cached) " >&6
39449 else
39450
39451
39452 ac_ext=cpp
39453 ac_cpp='$CXXCPP $CPPFLAGS'
39454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457
39458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39459 /* end confdefs.h. */
39460 #include <math.h>
39461 int
39462 main ()
39463 {
39464 hypotl(0, 0);
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 if ac_fn_cxx_try_compile "$LINENO"; then :
39470 glibcxx_cv_func_hypotl_use=yes
39471 else
39472 glibcxx_cv_func_hypotl_use=no
39473 fi
39474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39475 ac_ext=c
39476 ac_cpp='$CPP $CPPFLAGS'
39477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39480
39481
39482 fi
39483
39484 fi
39485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39486 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39487
39488 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39489 for ac_func in hypotl
39490 do :
39491 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39492 if test "x$ac_cv_func_hypotl" = x""yes; then :
39493 cat >>confdefs.h <<_ACEOF
39494 #define HAVE_HYPOTL 1
39495 _ACEOF
39496
39497 fi
39498 done
39499
39500 else
39501
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39503 $as_echo_n "checking for _hypotl declaration... " >&6; }
39504 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39505 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39506 $as_echo_n "(cached) " >&6
39507 else
39508
39509
39510 ac_ext=cpp
39511 ac_cpp='$CXXCPP $CPPFLAGS'
39512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39515
39516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39517 /* end confdefs.h. */
39518 #include <math.h>
39519 int
39520 main ()
39521 {
39522 _hypotl(0, 0);
39523 ;
39524 return 0;
39525 }
39526 _ACEOF
39527 if ac_fn_cxx_try_compile "$LINENO"; then :
39528 glibcxx_cv_func__hypotl_use=yes
39529 else
39530 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
39544 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39545
39546 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39547 for ac_func in _hypotl
39548 do :
39549 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39550 if test "x$ac_cv_func__hypotl" = x""yes; then :
39551 cat >>confdefs.h <<_ACEOF
39552 #define HAVE__HYPOTL 1
39553 _ACEOF
39554
39555 fi
39556 done
39557
39558 fi
39559 fi
39560
39561
39562
39563
39564
39565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39566 $as_echo_n "checking for ldexpl declaration... " >&6; }
39567 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39568 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39569 $as_echo_n "(cached) " >&6
39570 else
39571
39572
39573 ac_ext=cpp
39574 ac_cpp='$CXXCPP $CPPFLAGS'
39575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578
39579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39580 /* end confdefs.h. */
39581 #include <math.h>
39582 int
39583 main ()
39584 {
39585 ldexpl(0, 0);
39586 ;
39587 return 0;
39588 }
39589 _ACEOF
39590 if ac_fn_cxx_try_compile "$LINENO"; then :
39591 glibcxx_cv_func_ldexpl_use=yes
39592 else
39593 glibcxx_cv_func_ldexpl_use=no
39594 fi
39595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39596 ac_ext=c
39597 ac_cpp='$CPP $CPPFLAGS'
39598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39601
39602
39603 fi
39604
39605 fi
39606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39607 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39608
39609 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39610 for ac_func in ldexpl
39611 do :
39612 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39613 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39614 cat >>confdefs.h <<_ACEOF
39615 #define HAVE_LDEXPL 1
39616 _ACEOF
39617
39618 fi
39619 done
39620
39621 else
39622
39623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39624 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39625 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39626 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39627 $as_echo_n "(cached) " >&6
39628 else
39629
39630
39631 ac_ext=cpp
39632 ac_cpp='$CXXCPP $CPPFLAGS'
39633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39636
39637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39638 /* end confdefs.h. */
39639 #include <math.h>
39640 int
39641 main ()
39642 {
39643 _ldexpl(0, 0);
39644 ;
39645 return 0;
39646 }
39647 _ACEOF
39648 if ac_fn_cxx_try_compile "$LINENO"; then :
39649 glibcxx_cv_func__ldexpl_use=yes
39650 else
39651 glibcxx_cv_func__ldexpl_use=no
39652 fi
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_ext=c
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39659
39660
39661 fi
39662
39663 fi
39664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39665 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39666
39667 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39668 for ac_func in _ldexpl
39669 do :
39670 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39671 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39672 cat >>confdefs.h <<_ACEOF
39673 #define HAVE__LDEXPL 1
39674 _ACEOF
39675
39676 fi
39677 done
39678
39679 fi
39680 fi
39681
39682
39683
39684
39685
39686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39687 $as_echo_n "checking for logl declaration... " >&6; }
39688 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39689 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39690 $as_echo_n "(cached) " >&6
39691 else
39692
39693
39694 ac_ext=cpp
39695 ac_cpp='$CXXCPP $CPPFLAGS'
39696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39699
39700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39701 /* end confdefs.h. */
39702 #include <math.h>
39703 #ifdef HAVE_IEEEFP_H
39704 #include <ieeefp.h>
39705 #endif
39706
39707 int
39708 main ()
39709 {
39710 logl(0);
39711 ;
39712 return 0;
39713 }
39714 _ACEOF
39715 if ac_fn_cxx_try_compile "$LINENO"; then :
39716 glibcxx_cv_func_logl_use=yes
39717 else
39718 glibcxx_cv_func_logl_use=no
39719 fi
39720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39721 ac_ext=c
39722 ac_cpp='$CPP $CPPFLAGS'
39723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39726
39727
39728 fi
39729
39730 fi
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39732 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39733
39734 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39735 for ac_func in logl
39736 do :
39737 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39738 if test "x$ac_cv_func_logl" = x""yes; then :
39739 cat >>confdefs.h <<_ACEOF
39740 #define HAVE_LOGL 1
39741 _ACEOF
39742
39743 fi
39744 done
39745
39746 else
39747
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39749 $as_echo_n "checking for _logl declaration... " >&6; }
39750 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39751 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39752 $as_echo_n "(cached) " >&6
39753 else
39754
39755
39756 ac_ext=cpp
39757 ac_cpp='$CXXCPP $CPPFLAGS'
39758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39761
39762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39763 /* end confdefs.h. */
39764 #include <math.h>
39765 #ifdef HAVE_IEEEFP_H
39766 #include <ieeefp.h>
39767 #endif
39768
39769 int
39770 main ()
39771 {
39772 _logl(0);
39773 ;
39774 return 0;
39775 }
39776 _ACEOF
39777 if ac_fn_cxx_try_compile "$LINENO"; then :
39778 glibcxx_cv_func__logl_use=yes
39779 else
39780 glibcxx_cv_func__logl_use=no
39781 fi
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39788
39789
39790 fi
39791
39792 fi
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39794 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39795
39796 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39797 for ac_func in _logl
39798 do :
39799 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39800 if test "x$ac_cv_func__logl" = x""yes; then :
39801 cat >>confdefs.h <<_ACEOF
39802 #define HAVE__LOGL 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808 fi
39809 fi
39810
39811
39812
39813
39814
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39816 $as_echo_n "checking for log10l declaration... " >&6; }
39817 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39818 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39819 $as_echo_n "(cached) " >&6
39820 else
39821
39822
39823 ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828
39829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h. */
39831 #include <math.h>
39832 #ifdef HAVE_IEEEFP_H
39833 #include <ieeefp.h>
39834 #endif
39835
39836 int
39837 main ()
39838 {
39839 log10l(0);
39840 ;
39841 return 0;
39842 }
39843 _ACEOF
39844 if ac_fn_cxx_try_compile "$LINENO"; then :
39845 glibcxx_cv_func_log10l_use=yes
39846 else
39847 glibcxx_cv_func_log10l_use=no
39848 fi
39849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39850 ac_ext=c
39851 ac_cpp='$CPP $CPPFLAGS'
39852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855
39856
39857 fi
39858
39859 fi
39860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39861 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39862
39863 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39864 for ac_func in log10l
39865 do :
39866 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39867 if test "x$ac_cv_func_log10l" = x""yes; then :
39868 cat >>confdefs.h <<_ACEOF
39869 #define HAVE_LOG10L 1
39870 _ACEOF
39871
39872 fi
39873 done
39874
39875 else
39876
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39878 $as_echo_n "checking for _log10l declaration... " >&6; }
39879 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39880 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
39895 #include <ieeefp.h>
39896 #endif
39897
39898 int
39899 main ()
39900 {
39901 _log10l(0);
39902 ;
39903 return 0;
39904 }
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907 glibcxx_cv_func__log10l_use=yes
39908 else
39909 glibcxx_cv_func__log10l_use=no
39910 fi
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912 ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39917
39918
39919 fi
39920
39921 fi
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39923 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39924
39925 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39926 for ac_func in _log10l
39927 do :
39928 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39929 if test "x$ac_cv_func__log10l" = x""yes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define HAVE__LOG10L 1
39932 _ACEOF
39933
39934 fi
39935 done
39936
39937 fi
39938 fi
39939
39940
39941
39942
39943
39944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39945 $as_echo_n "checking for modfl declaration... " >&6; }
39946 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39947 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39948 $as_echo_n "(cached) " >&6
39949 else
39950
39951
39952 ac_ext=cpp
39953 ac_cpp='$CXXCPP $CPPFLAGS'
39954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957
39958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39959 /* end confdefs.h. */
39960 #include <math.h>
39961 int
39962 main ()
39963 {
39964 modfl(0, 0);
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func_modfl_use=yes
39971 else
39972 glibcxx_cv_func_modfl_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984 fi
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39986 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39987
39988 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39989 for ac_func in modfl
39990 do :
39991 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39992 if test "x$ac_cv_func_modfl" = x""yes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE_MODFL 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000 else
40001
40002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40003 $as_echo_n "checking for _modfl declaration... " >&6; }
40004 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40005 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40006 $as_echo_n "(cached) " >&6
40007 else
40008
40009
40010 ac_ext=cpp
40011 ac_cpp='$CXXCPP $CPPFLAGS'
40012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40015
40016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40017 /* end confdefs.h. */
40018 #include <math.h>
40019 int
40020 main ()
40021 {
40022 _modfl(0, 0);
40023 ;
40024 return 0;
40025 }
40026 _ACEOF
40027 if ac_fn_cxx_try_compile "$LINENO"; then :
40028 glibcxx_cv_func__modfl_use=yes
40029 else
40030 glibcxx_cv_func__modfl_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__modfl_use" >&5
40044 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40045
40046 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40047 for ac_func in _modfl
40048 do :
40049 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40050 if test "x$ac_cv_func__modfl" = x""yes; then :
40051 cat >>confdefs.h <<_ACEOF
40052 #define HAVE__MODFL 1
40053 _ACEOF
40054
40055 fi
40056 done
40057
40058 fi
40059 fi
40060
40061
40062
40063
40064
40065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40066 $as_echo_n "checking for powl declaration... " >&6; }
40067 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40068 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40069 $as_echo_n "(cached) " >&6
40070 else
40071
40072
40073 ac_ext=cpp
40074 ac_cpp='$CXXCPP $CPPFLAGS'
40075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078
40079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40080 /* end confdefs.h. */
40081 #include <math.h>
40082 int
40083 main ()
40084 {
40085 powl(0, 0);
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 if ac_fn_cxx_try_compile "$LINENO"; then :
40091 glibcxx_cv_func_powl_use=yes
40092 else
40093 glibcxx_cv_func_powl_use=no
40094 fi
40095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40101
40102
40103 fi
40104
40105 fi
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40107 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40108
40109 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40110 for ac_func in powl
40111 do :
40112 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40113 if test "x$ac_cv_func_powl" = x""yes; then :
40114 cat >>confdefs.h <<_ACEOF
40115 #define HAVE_POWL 1
40116 _ACEOF
40117
40118 fi
40119 done
40120
40121 else
40122
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40124 $as_echo_n "checking for _powl declaration... " >&6; }
40125 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40126 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40127 $as_echo_n "(cached) " >&6
40128 else
40129
40130
40131 ac_ext=cpp
40132 ac_cpp='$CXXCPP $CPPFLAGS'
40133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40136
40137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40138 /* end confdefs.h. */
40139 #include <math.h>
40140 int
40141 main ()
40142 {
40143 _powl(0, 0);
40144 ;
40145 return 0;
40146 }
40147 _ACEOF
40148 if ac_fn_cxx_try_compile "$LINENO"; then :
40149 glibcxx_cv_func__powl_use=yes
40150 else
40151 glibcxx_cv_func__powl_use=no
40152 fi
40153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154 ac_ext=c
40155 ac_cpp='$CPP $CPPFLAGS'
40156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40159
40160
40161 fi
40162
40163 fi
40164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40165 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40166
40167 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40168 for ac_func in _powl
40169 do :
40170 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40171 if test "x$ac_cv_func__powl" = x""yes; then :
40172 cat >>confdefs.h <<_ACEOF
40173 #define HAVE__POWL 1
40174 _ACEOF
40175
40176 fi
40177 done
40178
40179 fi
40180 fi
40181
40182
40183
40184
40185
40186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40187 $as_echo_n "checking for sqrtl declaration... " >&6; }
40188 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40189 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40190 $as_echo_n "(cached) " >&6
40191 else
40192
40193
40194 ac_ext=cpp
40195 ac_cpp='$CXXCPP $CPPFLAGS'
40196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199
40200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40201 /* end confdefs.h. */
40202 #include <math.h>
40203 #ifdef HAVE_IEEEFP_H
40204 #include <ieeefp.h>
40205 #endif
40206
40207 int
40208 main ()
40209 {
40210 sqrtl(0);
40211 ;
40212 return 0;
40213 }
40214 _ACEOF
40215 if ac_fn_cxx_try_compile "$LINENO"; then :
40216 glibcxx_cv_func_sqrtl_use=yes
40217 else
40218 glibcxx_cv_func_sqrtl_use=no
40219 fi
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40221 ac_ext=c
40222 ac_cpp='$CPP $CPPFLAGS'
40223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40226
40227
40228 fi
40229
40230 fi
40231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40232 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40233
40234 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40235 for ac_func in sqrtl
40236 do :
40237 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40238 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40239 cat >>confdefs.h <<_ACEOF
40240 #define HAVE_SQRTL 1
40241 _ACEOF
40242
40243 fi
40244 done
40245
40246 else
40247
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40249 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40250 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40251 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
40273 ;
40274 return 0;
40275 }
40276 _ACEOF
40277 if ac_fn_cxx_try_compile "$LINENO"; then :
40278 glibcxx_cv_func__sqrtl_use=yes
40279 else
40280 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
40294 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40295
40296 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40297 for ac_func in _sqrtl
40298 do :
40299 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40300 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40301 cat >>confdefs.h <<_ACEOF
40302 #define HAVE__SQRTL 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308 fi
40309 fi
40310
40311
40312
40313
40314
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40316 $as_echo_n "checking for sincosl declaration... " >&6; }
40317 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40318 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40321
40322
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40332 int
40333 main ()
40334 {
40335 sincosl(0, 0, 0);
40336 ;
40337 return 0;
40338 }
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func_sincosl_use=yes
40342 else
40343 glibcxx_cv_func_sincosl_use=no
40344 fi
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351
40352
40353 fi
40354
40355 fi
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40357 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40358
40359 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40360 for ac_func in sincosl
40361 do :
40362 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40363 if test "x$ac_cv_func_sincosl" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE_SINCOSL 1
40366 _ACEOF
40367
40368 fi
40369 done
40370
40371 else
40372
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40374 $as_echo_n "checking for _sincosl declaration... " >&6; }
40375 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40376 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40379
40380
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 int
40391 main ()
40392 {
40393 _sincosl(0, 0, 0);
40394 ;
40395 return 0;
40396 }
40397 _ACEOF
40398 if ac_fn_cxx_try_compile "$LINENO"; then :
40399 glibcxx_cv_func__sincosl_use=yes
40400 else
40401 glibcxx_cv_func__sincosl_use=no
40402 fi
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40404 ac_ext=c
40405 ac_cpp='$CPP $CPPFLAGS'
40406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40409
40410
40411 fi
40412
40413 fi
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40415 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40416
40417 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40418 for ac_func in _sincosl
40419 do :
40420 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40421 if test "x$ac_cv_func__sincosl" = x""yes; then :
40422 cat >>confdefs.h <<_ACEOF
40423 #define HAVE__SINCOSL 1
40424 _ACEOF
40425
40426 fi
40427 done
40428
40429 fi
40430 fi
40431
40432
40433
40434
40435
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40437 $as_echo_n "checking for finitel declaration... " >&6; }
40438 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40439 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40440 $as_echo_n "(cached) " >&6
40441 else
40442
40443
40444 ac_ext=cpp
40445 ac_cpp='$CXXCPP $CPPFLAGS'
40446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40449
40450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40451 /* end confdefs.h. */
40452 #include <math.h>
40453 #ifdef HAVE_IEEEFP_H
40454 #include <ieeefp.h>
40455 #endif
40456
40457 int
40458 main ()
40459 {
40460 finitel(0);
40461 ;
40462 return 0;
40463 }
40464 _ACEOF
40465 if ac_fn_cxx_try_compile "$LINENO"; then :
40466 glibcxx_cv_func_finitel_use=yes
40467 else
40468 glibcxx_cv_func_finitel_use=no
40469 fi
40470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40471 ac_ext=c
40472 ac_cpp='$CPP $CPPFLAGS'
40473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40476
40477
40478 fi
40479
40480 fi
40481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40482 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40483
40484 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40485 for ac_func in finitel
40486 do :
40487 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40488 if test "x$ac_cv_func_finitel" = x""yes; then :
40489 cat >>confdefs.h <<_ACEOF
40490 #define HAVE_FINITEL 1
40491 _ACEOF
40492
40493 fi
40494 done
40495
40496 else
40497
40498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40499 $as_echo_n "checking for _finitel declaration... " >&6; }
40500 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40501 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40502 $as_echo_n "(cached) " >&6
40503 else
40504
40505
40506 ac_ext=cpp
40507 ac_cpp='$CXXCPP $CPPFLAGS'
40508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40511
40512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40513 /* end confdefs.h. */
40514 #include <math.h>
40515 #ifdef HAVE_IEEEFP_H
40516 #include <ieeefp.h>
40517 #endif
40518
40519 int
40520 main ()
40521 {
40522 _finitel(0);
40523 ;
40524 return 0;
40525 }
40526 _ACEOF
40527 if ac_fn_cxx_try_compile "$LINENO"; then :
40528 glibcxx_cv_func__finitel_use=yes
40529 else
40530 glibcxx_cv_func__finitel_use=no
40531 fi
40532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40533 ac_ext=c
40534 ac_cpp='$CPP $CPPFLAGS'
40535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40538
40539
40540 fi
40541
40542 fi
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40544 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40545
40546 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40547 for ac_func in _finitel
40548 do :
40549 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40550 if test "x$ac_cv_func__finitel" = x""yes; then :
40551 cat >>confdefs.h <<_ACEOF
40552 #define HAVE__FINITEL 1
40553 _ACEOF
40554
40555 fi
40556 done
40557
40558 fi
40559 fi
40560
40561
40562
40563
40564 LIBS="$ac_save_LIBS"
40565 CXXFLAGS="$ac_save_CXXFLAGS"
40566
40567
40568 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40569 ac_save_CXXFLAGS="$CXXFLAGS"
40570 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40571
40572
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40574 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40575 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40576 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40577 $as_echo_n "(cached) " >&6
40578 else
40579
40580
40581 ac_ext=cpp
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40586
40587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40588 /* end confdefs.h. */
40589 #include <stdlib.h>
40590 int
40591 main ()
40592 {
40593 at_quick_exit(0);
40594 ;
40595 return 0;
40596 }
40597 _ACEOF
40598 if ac_fn_cxx_try_compile "$LINENO"; then :
40599 glibcxx_cv_func_at_quick_exit_use=yes
40600 else
40601 glibcxx_cv_func_at_quick_exit_use=no
40602 fi
40603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40604 ac_ext=c
40605 ac_cpp='$CPP $CPPFLAGS'
40606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40609
40610
40611 fi
40612
40613 fi
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40615 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40616 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40617 for ac_func in at_quick_exit
40618 do :
40619 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40620 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40621 cat >>confdefs.h <<_ACEOF
40622 #define HAVE_AT_QUICK_EXIT 1
40623 _ACEOF
40624
40625 fi
40626 done
40627
40628 fi
40629
40630
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40632 $as_echo_n "checking for quick_exit declaration... " >&6; }
40633 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40634 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40635 $as_echo_n "(cached) " >&6
40636 else
40637
40638
40639 ac_ext=cpp
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40644
40645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40646 /* end confdefs.h. */
40647 #include <stdlib.h>
40648 int
40649 main ()
40650 {
40651 quick_exit(0);
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 if ac_fn_cxx_try_compile "$LINENO"; then :
40657 glibcxx_cv_func_quick_exit_use=yes
40658 else
40659 glibcxx_cv_func_quick_exit_use=no
40660 fi
40661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40662 ac_ext=c
40663 ac_cpp='$CPP $CPPFLAGS'
40664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40667
40668
40669 fi
40670
40671 fi
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40673 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40674 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40675 for ac_func in quick_exit
40676 do :
40677 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40678 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40679 cat >>confdefs.h <<_ACEOF
40680 #define HAVE_QUICK_EXIT 1
40681 _ACEOF
40682
40683 fi
40684 done
40685
40686 fi
40687
40688
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40690 $as_echo_n "checking for strtold declaration... " >&6; }
40691 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40692 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40693 $as_echo_n "(cached) " >&6
40694 else
40695
40696
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702
40703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40704 /* end confdefs.h. */
40705 #include <stdlib.h>
40706 int
40707 main ()
40708 {
40709 strtold(0, 0);
40710 ;
40711 return 0;
40712 }
40713 _ACEOF
40714 if ac_fn_cxx_try_compile "$LINENO"; then :
40715 glibcxx_cv_func_strtold_use=yes
40716 else
40717 glibcxx_cv_func_strtold_use=no
40718 fi
40719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40720 ac_ext=c
40721 ac_cpp='$CPP $CPPFLAGS'
40722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40725
40726
40727 fi
40728
40729 fi
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40731 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40732 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40733 for ac_func in strtold
40734 do :
40735 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40736 if test "x$ac_cv_func_strtold" = x""yes; then :
40737 cat >>confdefs.h <<_ACEOF
40738 #define HAVE_STRTOLD 1
40739 _ACEOF
40740
40741 fi
40742 done
40743
40744 fi
40745
40746
40747
40748
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40750 $as_echo_n "checking for strtof declaration... " >&6; }
40751 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40752 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40753 $as_echo_n "(cached) " >&6
40754 else
40755
40756
40757 ac_ext=cpp
40758 ac_cpp='$CXXCPP $CPPFLAGS'
40759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40762
40763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40764 /* end confdefs.h. */
40765 #include <stdlib.h>
40766 int
40767 main ()
40768 {
40769 strtof(0, 0);
40770 ;
40771 return 0;
40772 }
40773 _ACEOF
40774 if ac_fn_cxx_try_compile "$LINENO"; then :
40775 glibcxx_cv_func_strtof_use=yes
40776 else
40777 glibcxx_cv_func_strtof_use=no
40778 fi
40779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40780 ac_ext=c
40781 ac_cpp='$CPP $CPPFLAGS'
40782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40785
40786
40787 fi
40788
40789 fi
40790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40791 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40792 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40793 for ac_func in strtof
40794 do :
40795 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40796 if test "x$ac_cv_func_strtof" = x""yes; then :
40797 cat >>confdefs.h <<_ACEOF
40798 #define HAVE_STRTOF 1
40799 _ACEOF
40800
40801 fi
40802 done
40803
40804 fi
40805
40806
40807
40808
40809 CXXFLAGS="$ac_save_CXXFLAGS"
40810
40811
40812
40813
40814
40815
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40817 $as_echo_n "checking for iconv... " >&6; }
40818 if test "${am_cv_func_iconv+set}" = set; then :
40819 $as_echo_n "(cached) " >&6
40820 else
40821
40822 am_cv_func_iconv="no, consider installing GNU libiconv"
40823 am_cv_lib_iconv=no
40824 am_save_CPPFLAGS="$CPPFLAGS"
40825 CPPFLAGS="$CPPFLAGS $INCICONV"
40826 if test x$gcc_no_link = xyes; then
40827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40828 fi
40829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h. */
40831 #include <stdlib.h>
40832 #include <iconv.h>
40833 int
40834 main ()
40835 {
40836 iconv_t cd = iconv_open("","");
40837 iconv(cd,NULL,NULL,NULL,NULL);
40838 iconv_close(cd);
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 if ac_fn_c_try_link "$LINENO"; then :
40844 am_cv_func_iconv=yes
40845 fi
40846 rm -f core conftest.err conftest.$ac_objext \
40847 conftest$ac_exeext conftest.$ac_ext
40848 CPPFLAGS="$am_save_CPPFLAGS"
40849
40850 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40851 for _libs in .libs _libs; do
40852 am_save_CPPFLAGS="$CPPFLAGS"
40853 am_save_LIBS="$LIBS"
40854 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40855 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40856 if test x$gcc_no_link = xyes; then
40857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40858 fi
40859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40860 /* end confdefs.h. */
40861 #include <stdlib.h>
40862 #include <iconv.h>
40863 int
40864 main ()
40865 {
40866 iconv_t cd = iconv_open("","");
40867 iconv(cd,NULL,NULL,NULL,NULL);
40868 iconv_close(cd);
40869 ;
40870 return 0;
40871 }
40872 _ACEOF
40873 if ac_fn_c_try_link "$LINENO"; then :
40874 INCICONV="-I../libiconv/include"
40875 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40876 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40877 am_cv_lib_iconv=yes
40878 am_cv_func_iconv=yes
40879 fi
40880 rm -f core conftest.err conftest.$ac_objext \
40881 conftest$ac_exeext conftest.$ac_ext
40882 CPPFLAGS="$am_save_CPPFLAGS"
40883 LIBS="$am_save_LIBS"
40884 if test "$am_cv_func_iconv" = "yes"; then
40885 break
40886 fi
40887 done
40888 fi
40889
40890 if test "$am_cv_func_iconv" != yes; then
40891 am_save_CPPFLAGS="$CPPFLAGS"
40892 am_save_LIBS="$LIBS"
40893 CPPFLAGS="$LIBS $INCICONV"
40894 LIBS="$LIBS $LIBICONV"
40895 if test x$gcc_no_link = xyes; then
40896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40897 fi
40898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40899 /* end confdefs.h. */
40900 #include <stdlib.h>
40901 #include <iconv.h>
40902 int
40903 main ()
40904 {
40905 iconv_t cd = iconv_open("","");
40906 iconv(cd,NULL,NULL,NULL,NULL);
40907 iconv_close(cd);
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 if ac_fn_c_try_link "$LINENO"; then :
40913 am_cv_lib_iconv=yes
40914 am_cv_func_iconv=yes
40915 fi
40916 rm -f core conftest.err conftest.$ac_objext \
40917 conftest$ac_exeext conftest.$ac_ext
40918 CPPFLAGS="$am_save_CPPFLAGS"
40919 LIBS="$am_save_LIBS"
40920 fi
40921
40922 fi
40923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40924 $as_echo "$am_cv_func_iconv" >&6; }
40925 if test "$am_cv_func_iconv" = yes; then
40926
40927 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40928
40929 fi
40930 if test "$am_cv_lib_iconv" = yes; then
40931
40932 for element in $INCICONV; do
40933 haveit=
40934 for x in $CPPFLAGS; do
40935
40936 acl_save_prefix="$prefix"
40937 prefix="$acl_final_prefix"
40938 acl_save_exec_prefix="$exec_prefix"
40939 exec_prefix="$acl_final_exec_prefix"
40940 eval x=\"$x\"
40941 exec_prefix="$acl_save_exec_prefix"
40942 prefix="$acl_save_prefix"
40943
40944 if test "X$x" = "X$element"; then
40945 haveit=yes
40946 break
40947 fi
40948 done
40949 if test -z "$haveit"; then
40950 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40951 fi
40952 done
40953
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40955 $as_echo_n "checking how to link with libiconv... " >&6; }
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40957 $as_echo "$LIBICONV" >&6; }
40958 else
40959 LIBICONV=
40960 LTLIBICONV=
40961 fi
40962
40963
40964
40965 if test "$am_cv_func_iconv" = yes; then
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40967 $as_echo_n "checking for iconv declaration... " >&6; }
40968 if test "${am_cv_proto_iconv+set}" = set; then :
40969 $as_echo_n "(cached) " >&6
40970 else
40971
40972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40973 /* end confdefs.h. */
40974
40975 #include <stdlib.h>
40976 #include <iconv.h>
40977 extern
40978 #ifdef __cplusplus
40979 "C"
40980 #endif
40981 #if defined(__STDC__) || defined(__cplusplus)
40982 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40983 #else
40984 size_t iconv();
40985 #endif
40986
40987 int
40988 main ()
40989 {
40990
40991 ;
40992 return 0;
40993 }
40994 _ACEOF
40995 if ac_fn_c_try_compile "$LINENO"; then :
40996 am_cv_proto_iconv_arg1=""
40997 else
40998 am_cv_proto_iconv_arg1="const"
40999 fi
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41001 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);"
41002 fi
41003
41004 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41006 }$am_cv_proto_iconv" >&5
41007 $as_echo "${ac_t:-
41008 }$am_cv_proto_iconv" >&6; }
41009
41010 cat >>confdefs.h <<_ACEOF
41011 #define ICONV_CONST $am_cv_proto_iconv_arg1
41012 _ACEOF
41013
41014 fi
41015
41016 ;;
41017
41018 *-aix*)
41019
41020 # If we're not using GNU ld, then there's no point in even trying these
41021 # tests. Check for that first. We should have already tested for gld
41022 # by now (in libtool), but require it now just to be safe...
41023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41025
41026
41027
41028 # The name set by libtool depends on the version of libtool. Shame on us
41029 # for depending on an impl detail, but c'est la vie. Older versions used
41030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41033 # set (hence we're using an older libtool), then set it.
41034 if test x${with_gnu_ld+set} != xset; then
41035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41037 with_gnu_ld=no
41038 else
41039 with_gnu_ld=$ac_cv_prog_gnu_ld
41040 fi
41041 fi
41042
41043 # Start by getting the version number. I think the libtool test already
41044 # does some of this, but throws away the result.
41045 glibcxx_ld_is_gold=no
41046 if test x"$with_gnu_ld" = x"yes"; then
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41048 $as_echo_n "checking for ld version... " >&6; }
41049
41050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41051 glibcxx_ld_is_gold=yes
41052 fi
41053 ldver=`$LD --version 2>/dev/null |
41054 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'`
41055
41056 glibcxx_gnu_ld_version=`echo $ldver | \
41057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41059 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41060 fi
41061
41062 # Set --gc-sections.
41063 glibcxx_have_gc_sections=no
41064 if test "$glibcxx_ld_is_gold" = "yes"; then
41065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41066 glibcxx_have_gc_sections=yes
41067 fi
41068 else
41069 glibcxx_gcsections_min_ld=21602
41070 if test x"$with_gnu_ld" = x"yes" &&
41071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41072 glibcxx_have_gc_sections=yes
41073 fi
41074 fi
41075 if test "$glibcxx_have_gc_sections" = "yes"; then
41076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41077 # NB: This flag only works reliably after 2.16.1. Configure tests
41078 # for this are difficult, so hard wire a value that should work.
41079
41080 ac_test_CFLAGS="${CFLAGS+set}"
41081 ac_save_CFLAGS="$CFLAGS"
41082 CFLAGS='-Wl,--gc-sections'
41083
41084 # Check for -Wl,--gc-sections
41085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41086 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41087 if test x$gcc_no_link = xyes; then
41088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 fi
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h. */
41092 int one(void) { return 1; }
41093 int two(void) { return 2; }
41094
41095 int
41096 main ()
41097 {
41098 two();
41099 ;
41100 return 0;
41101 }
41102 _ACEOF
41103 if ac_fn_c_try_link "$LINENO"; then :
41104 ac_gcsections=yes
41105 else
41106 ac_gcsections=no
41107 fi
41108 rm -f core conftest.err conftest.$ac_objext \
41109 conftest$ac_exeext conftest.$ac_ext
41110 if test "$ac_gcsections" = "yes"; then
41111 rm -f conftest.c
41112 touch conftest.c
41113 if $CC -c conftest.c; then
41114 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41115 grep "Warning: gc-sections option ignored" > /dev/null; then
41116 ac_gcsections=no
41117 fi
41118 fi
41119 rm -f conftest.c conftest.o conftest
41120 fi
41121 if test "$ac_gcsections" = "yes"; then
41122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41123 fi
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41125 $as_echo "$ac_gcsections" >&6; }
41126
41127 if test "$ac_test_CFLAGS" = set; then
41128 CFLAGS="$ac_save_CFLAGS"
41129 else
41130 # this is the suspicious part
41131 CFLAGS=''
41132 fi
41133 fi
41134
41135 # Set -z,relro.
41136 # Note this is only for shared objects.
41137 ac_ld_relro=no
41138 if test x"$with_gnu_ld" = x"yes"; then
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41140 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41141 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41142 if test -n "$cxx_z_relo"; then
41143 OPT_LDFLAGS="-Wl,-z,relro"
41144 ac_ld_relro=yes
41145 fi
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41147 $as_echo "$ac_ld_relro" >&6; }
41148 fi
41149
41150 # Set linker optimization flags.
41151 if test x"$with_gnu_ld" = x"yes"; then
41152 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41153 fi
41154
41155
41156
41157
41158
41159 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41160 ac_save_CXXFLAGS="$CXXFLAGS"
41161 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41162
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41164 $as_echo_n "checking for sin in -lm... " >&6; }
41165 if test "${ac_cv_lib_m_sin+set}" = set; then :
41166 $as_echo_n "(cached) " >&6
41167 else
41168 ac_check_lib_save_LIBS=$LIBS
41169 LIBS="-lm $LIBS"
41170 if test x$gcc_no_link = xyes; then
41171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41172 fi
41173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41174 /* end confdefs.h. */
41175
41176 /* Override any GCC internal prototype to avoid an error.
41177 Use char because int might match the return type of a GCC
41178 builtin and then its argument prototype would still apply. */
41179 #ifdef __cplusplus
41180 extern "C"
41181 #endif
41182 char sin ();
41183 int
41184 main ()
41185 {
41186 return sin ();
41187 ;
41188 return 0;
41189 }
41190 _ACEOF
41191 if ac_fn_c_try_link "$LINENO"; then :
41192 ac_cv_lib_m_sin=yes
41193 else
41194 ac_cv_lib_m_sin=no
41195 fi
41196 rm -f core conftest.err conftest.$ac_objext \
41197 conftest$ac_exeext conftest.$ac_ext
41198 LIBS=$ac_check_lib_save_LIBS
41199 fi
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41201 $as_echo "$ac_cv_lib_m_sin" >&6; }
41202 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41203 libm="-lm"
41204 fi
41205
41206 ac_save_LIBS="$LIBS"
41207 LIBS="$LIBS $libm"
41208
41209
41210
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41212 $as_echo_n "checking for isinf declaration... " >&6; }
41213 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41214 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41215 $as_echo_n "(cached) " >&6
41216 else
41217
41218
41219 ac_ext=cpp
41220 ac_cpp='$CXXCPP $CPPFLAGS'
41221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41224
41225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41226 /* end confdefs.h. */
41227 #include <math.h>
41228 #ifdef HAVE_IEEEFP_H
41229 #include <ieeefp.h>
41230 #endif
41231
41232 int
41233 main ()
41234 {
41235 isinf(0);
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func_isinf_use=yes
41242 else
41243 glibcxx_cv_func_isinf_use=no
41244 fi
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41251
41252
41253 fi
41254
41255 fi
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41257 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41258
41259 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41260 for ac_func in isinf
41261 do :
41262 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41263 if test "x$ac_cv_func_isinf" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define HAVE_ISINF 1
41266 _ACEOF
41267
41268 fi
41269 done
41270
41271 else
41272
41273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41274 $as_echo_n "checking for _isinf declaration... " >&6; }
41275 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41276 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41277 $as_echo_n "(cached) " >&6
41278 else
41279
41280
41281 ac_ext=cpp
41282 ac_cpp='$CXXCPP $CPPFLAGS'
41283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41286
41287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41288 /* end confdefs.h. */
41289 #include <math.h>
41290 #ifdef HAVE_IEEEFP_H
41291 #include <ieeefp.h>
41292 #endif
41293
41294 int
41295 main ()
41296 {
41297 _isinf(0);
41298 ;
41299 return 0;
41300 }
41301 _ACEOF
41302 if ac_fn_cxx_try_compile "$LINENO"; then :
41303 glibcxx_cv_func__isinf_use=yes
41304 else
41305 glibcxx_cv_func__isinf_use=no
41306 fi
41307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41308 ac_ext=c
41309 ac_cpp='$CPP $CPPFLAGS'
41310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41313
41314
41315 fi
41316
41317 fi
41318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41319 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41320
41321 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41322 for ac_func in _isinf
41323 do :
41324 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41325 if test "x$ac_cv_func__isinf" = x""yes; then :
41326 cat >>confdefs.h <<_ACEOF
41327 #define HAVE__ISINF 1
41328 _ACEOF
41329
41330 fi
41331 done
41332
41333 fi
41334 fi
41335
41336
41337
41338
41339
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41341 $as_echo_n "checking for isnan declaration... " >&6; }
41342 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41343 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41344 $as_echo_n "(cached) " >&6
41345 else
41346
41347
41348 ac_ext=cpp
41349 ac_cpp='$CXXCPP $CPPFLAGS'
41350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41353
41354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41355 /* end confdefs.h. */
41356 #include <math.h>
41357 #ifdef HAVE_IEEEFP_H
41358 #include <ieeefp.h>
41359 #endif
41360
41361 int
41362 main ()
41363 {
41364 isnan(0);
41365 ;
41366 return 0;
41367 }
41368 _ACEOF
41369 if ac_fn_cxx_try_compile "$LINENO"; then :
41370 glibcxx_cv_func_isnan_use=yes
41371 else
41372 glibcxx_cv_func_isnan_use=no
41373 fi
41374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41375 ac_ext=c
41376 ac_cpp='$CPP $CPPFLAGS'
41377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41380
41381
41382 fi
41383
41384 fi
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41386 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41387
41388 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41389 for ac_func in isnan
41390 do :
41391 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41392 if test "x$ac_cv_func_isnan" = x""yes; then :
41393 cat >>confdefs.h <<_ACEOF
41394 #define HAVE_ISNAN 1
41395 _ACEOF
41396
41397 fi
41398 done
41399
41400 else
41401
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41403 $as_echo_n "checking for _isnan declaration... " >&6; }
41404 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41405 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41406 $as_echo_n "(cached) " >&6
41407 else
41408
41409
41410 ac_ext=cpp
41411 ac_cpp='$CXXCPP $CPPFLAGS'
41412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41415
41416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41417 /* end confdefs.h. */
41418 #include <math.h>
41419 #ifdef HAVE_IEEEFP_H
41420 #include <ieeefp.h>
41421 #endif
41422
41423 int
41424 main ()
41425 {
41426 _isnan(0);
41427 ;
41428 return 0;
41429 }
41430 _ACEOF
41431 if ac_fn_cxx_try_compile "$LINENO"; then :
41432 glibcxx_cv_func__isnan_use=yes
41433 else
41434 glibcxx_cv_func__isnan_use=no
41435 fi
41436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41437 ac_ext=c
41438 ac_cpp='$CPP $CPPFLAGS'
41439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41442
41443
41444 fi
41445
41446 fi
41447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41448 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41449
41450 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41451 for ac_func in _isnan
41452 do :
41453 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41454 if test "x$ac_cv_func__isnan" = x""yes; then :
41455 cat >>confdefs.h <<_ACEOF
41456 #define HAVE__ISNAN 1
41457 _ACEOF
41458
41459 fi
41460 done
41461
41462 fi
41463 fi
41464
41465
41466
41467
41468
41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41470 $as_echo_n "checking for finite declaration... " >&6; }
41471 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41472 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41473 $as_echo_n "(cached) " >&6
41474 else
41475
41476
41477 ac_ext=cpp
41478 ac_cpp='$CXXCPP $CPPFLAGS'
41479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41482
41483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 /* end confdefs.h. */
41485 #include <math.h>
41486 #ifdef HAVE_IEEEFP_H
41487 #include <ieeefp.h>
41488 #endif
41489
41490 int
41491 main ()
41492 {
41493 finite(0);
41494 ;
41495 return 0;
41496 }
41497 _ACEOF
41498 if ac_fn_cxx_try_compile "$LINENO"; then :
41499 glibcxx_cv_func_finite_use=yes
41500 else
41501 glibcxx_cv_func_finite_use=no
41502 fi
41503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41504 ac_ext=c
41505 ac_cpp='$CPP $CPPFLAGS'
41506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41509
41510
41511 fi
41512
41513 fi
41514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41515 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41516
41517 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41518 for ac_func in finite
41519 do :
41520 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41521 if test "x$ac_cv_func_finite" = x""yes; then :
41522 cat >>confdefs.h <<_ACEOF
41523 #define HAVE_FINITE 1
41524 _ACEOF
41525
41526 fi
41527 done
41528
41529 else
41530
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41532 $as_echo_n "checking for _finite declaration... " >&6; }
41533 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41534 if test "${glibcxx_cv_func__finite_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 _finite(0);
41556 ;
41557 return 0;
41558 }
41559 _ACEOF
41560 if ac_fn_cxx_try_compile "$LINENO"; then :
41561 glibcxx_cv_func__finite_use=yes
41562 else
41563 glibcxx_cv_func__finite_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__finite_use" >&5
41577 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41578
41579 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41580 for ac_func in _finite
41581 do :
41582 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41583 if test "x$ac_cv_func__finite" = x""yes; then :
41584 cat >>confdefs.h <<_ACEOF
41585 #define HAVE__FINITE 1
41586 _ACEOF
41587
41588 fi
41589 done
41590
41591 fi
41592 fi
41593
41594
41595
41596
41597
41598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41599 $as_echo_n "checking for sincos declaration... " >&6; }
41600 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41601 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41602 $as_echo_n "(cached) " >&6
41603 else
41604
41605
41606 ac_ext=cpp
41607 ac_cpp='$CXXCPP $CPPFLAGS'
41608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41611
41612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41613 /* end confdefs.h. */
41614 #include <math.h>
41615 int
41616 main ()
41617 {
41618 sincos(0, 0, 0);
41619 ;
41620 return 0;
41621 }
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func_sincos_use=yes
41625 else
41626 glibcxx_cv_func_sincos_use=no
41627 fi
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41634
41635
41636 fi
41637
41638 fi
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41640 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41641
41642 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41643 for ac_func in sincos
41644 do :
41645 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41646 if test "x$ac_cv_func_sincos" = x""yes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE_SINCOS 1
41649 _ACEOF
41650
41651 fi
41652 done
41653
41654 else
41655
41656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41657 $as_echo_n "checking for _sincos declaration... " >&6; }
41658 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41659 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41660 $as_echo_n "(cached) " >&6
41661 else
41662
41663
41664 ac_ext=cpp
41665 ac_cpp='$CXXCPP $CPPFLAGS'
41666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41669
41670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41671 /* end confdefs.h. */
41672 #include <math.h>
41673 int
41674 main ()
41675 {
41676 _sincos(0, 0, 0);
41677 ;
41678 return 0;
41679 }
41680 _ACEOF
41681 if ac_fn_cxx_try_compile "$LINENO"; then :
41682 glibcxx_cv_func__sincos_use=yes
41683 else
41684 glibcxx_cv_func__sincos_use=no
41685 fi
41686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41687 ac_ext=c
41688 ac_cpp='$CPP $CPPFLAGS'
41689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41692
41693
41694 fi
41695
41696 fi
41697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41698 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41699
41700 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41701 for ac_func in _sincos
41702 do :
41703 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41704 if test "x$ac_cv_func__sincos" = x""yes; then :
41705 cat >>confdefs.h <<_ACEOF
41706 #define HAVE__SINCOS 1
41707 _ACEOF
41708
41709 fi
41710 done
41711
41712 fi
41713 fi
41714
41715
41716
41717
41718
41719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41720 $as_echo_n "checking for fpclass declaration... " >&6; }
41721 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41722 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41723 $as_echo_n "(cached) " >&6
41724 else
41725
41726
41727 ac_ext=cpp
41728 ac_cpp='$CXXCPP $CPPFLAGS'
41729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41732
41733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41734 /* end confdefs.h. */
41735 #include <math.h>
41736 #ifdef HAVE_IEEEFP_H
41737 #include <ieeefp.h>
41738 #endif
41739
41740 int
41741 main ()
41742 {
41743 fpclass(0);
41744 ;
41745 return 0;
41746 }
41747 _ACEOF
41748 if ac_fn_cxx_try_compile "$LINENO"; then :
41749 glibcxx_cv_func_fpclass_use=yes
41750 else
41751 glibcxx_cv_func_fpclass_use=no
41752 fi
41753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41754 ac_ext=c
41755 ac_cpp='$CPP $CPPFLAGS'
41756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41759
41760
41761 fi
41762
41763 fi
41764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41765 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41766
41767 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41768 for ac_func in fpclass
41769 do :
41770 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41771 if test "x$ac_cv_func_fpclass" = x""yes; then :
41772 cat >>confdefs.h <<_ACEOF
41773 #define HAVE_FPCLASS 1
41774 _ACEOF
41775
41776 fi
41777 done
41778
41779 else
41780
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41782 $as_echo_n "checking for _fpclass declaration... " >&6; }
41783 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41784 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41785 $as_echo_n "(cached) " >&6
41786 else
41787
41788
41789 ac_ext=cpp
41790 ac_cpp='$CXXCPP $CPPFLAGS'
41791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41794
41795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41796 /* end confdefs.h. */
41797 #include <math.h>
41798 #ifdef HAVE_IEEEFP_H
41799 #include <ieeefp.h>
41800 #endif
41801
41802 int
41803 main ()
41804 {
41805 _fpclass(0);
41806 ;
41807 return 0;
41808 }
41809 _ACEOF
41810 if ac_fn_cxx_try_compile "$LINENO"; then :
41811 glibcxx_cv_func__fpclass_use=yes
41812 else
41813 glibcxx_cv_func__fpclass_use=no
41814 fi
41815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41816 ac_ext=c
41817 ac_cpp='$CPP $CPPFLAGS'
41818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41821
41822
41823 fi
41824
41825 fi
41826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41827 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41828
41829 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41830 for ac_func in _fpclass
41831 do :
41832 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41833 if test "x$ac_cv_func__fpclass" = x""yes; then :
41834 cat >>confdefs.h <<_ACEOF
41835 #define HAVE__FPCLASS 1
41836 _ACEOF
41837
41838 fi
41839 done
41840
41841 fi
41842 fi
41843
41844
41845
41846
41847
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41849 $as_echo_n "checking for qfpclass declaration... " >&6; }
41850 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41851 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41854
41855
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41865 #ifdef HAVE_IEEEFP_H
41866 #include <ieeefp.h>
41867 #endif
41868
41869 int
41870 main ()
41871 {
41872 qfpclass(0);
41873 ;
41874 return 0;
41875 }
41876 _ACEOF
41877 if ac_fn_cxx_try_compile "$LINENO"; then :
41878 glibcxx_cv_func_qfpclass_use=yes
41879 else
41880 glibcxx_cv_func_qfpclass_use=no
41881 fi
41882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41883 ac_ext=c
41884 ac_cpp='$CPP $CPPFLAGS'
41885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888
41889
41890 fi
41891
41892 fi
41893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41894 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41895
41896 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41897 for ac_func in qfpclass
41898 do :
41899 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41900 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41901 cat >>confdefs.h <<_ACEOF
41902 #define HAVE_QFPCLASS 1
41903 _ACEOF
41904
41905 fi
41906 done
41907
41908 else
41909
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41911 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41912 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41913 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41916
41917
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41927 #ifdef HAVE_IEEEFP_H
41928 #include <ieeefp.h>
41929 #endif
41930
41931 int
41932 main ()
41933 {
41934 _qfpclass(0);
41935 ;
41936 return 0;
41937 }
41938 _ACEOF
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func__qfpclass_use=yes
41941 else
41942 glibcxx_cv_func__qfpclass_use=no
41943 fi
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41950
41951
41952 fi
41953
41954 fi
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41956 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41957
41958 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41959 for ac_func in _qfpclass
41960 do :
41961 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41962 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE__QFPCLASS 1
41965 _ACEOF
41966
41967 fi
41968 done
41969
41970 fi
41971 fi
41972
41973
41974
41975
41976
41977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41978 $as_echo_n "checking for hypot declaration... " >&6; }
41979 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41980 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41981 $as_echo_n "(cached) " >&6
41982 else
41983
41984
41985 ac_ext=cpp
41986 ac_cpp='$CXXCPP $CPPFLAGS'
41987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41990
41991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41992 /* end confdefs.h. */
41993 #include <math.h>
41994 int
41995 main ()
41996 {
41997 hypot(0, 0);
41998 ;
41999 return 0;
42000 }
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func_hypot_use=yes
42004 else
42005 glibcxx_cv_func_hypot_use=no
42006 fi
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013
42014
42015 fi
42016
42017 fi
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42019 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42020
42021 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42022 for ac_func in hypot
42023 do :
42024 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42025 if test "x$ac_cv_func_hypot" = x""yes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE_HYPOT 1
42028 _ACEOF
42029
42030 fi
42031 done
42032
42033 else
42034
42035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42036 $as_echo_n "checking for _hypot declaration... " >&6; }
42037 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42038 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42039 $as_echo_n "(cached) " >&6
42040 else
42041
42042
42043 ac_ext=cpp
42044 ac_cpp='$CXXCPP $CPPFLAGS'
42045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42048
42049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42050 /* end confdefs.h. */
42051 #include <math.h>
42052 int
42053 main ()
42054 {
42055 _hypot(0, 0);
42056 ;
42057 return 0;
42058 }
42059 _ACEOF
42060 if ac_fn_cxx_try_compile "$LINENO"; then :
42061 glibcxx_cv_func__hypot_use=yes
42062 else
42063 glibcxx_cv_func__hypot_use=no
42064 fi
42065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42066 ac_ext=c
42067 ac_cpp='$CPP $CPPFLAGS'
42068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42071
42072
42073 fi
42074
42075 fi
42076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42077 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42078
42079 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42080 for ac_func in _hypot
42081 do :
42082 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42083 if test "x$ac_cv_func__hypot" = x""yes; then :
42084 cat >>confdefs.h <<_ACEOF
42085 #define HAVE__HYPOT 1
42086 _ACEOF
42087
42088 fi
42089 done
42090
42091 fi
42092 fi
42093
42094
42095
42096
42097
42098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42099 $as_echo_n "checking for float trig functions... " >&6; }
42100 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42101 $as_echo_n "(cached) " >&6
42102 else
42103
42104
42105 ac_ext=cpp
42106 ac_cpp='$CXXCPP $CPPFLAGS'
42107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42110
42111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42112 /* end confdefs.h. */
42113 #include <math.h>
42114 int
42115 main ()
42116 {
42117 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 if ac_fn_cxx_try_compile "$LINENO"; then :
42123 glibcxx_cv_func_float_trig_use=yes
42124 else
42125 glibcxx_cv_func_float_trig_use=no
42126 fi
42127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42128 ac_ext=c
42129 ac_cpp='$CPP $CPPFLAGS'
42130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42133
42134 fi
42135
42136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42137 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42138 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42139 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42140 do :
42141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42143 eval as_val=\$$as_ac_var
42144 if test "x$as_val" = x""yes; then :
42145 cat >>confdefs.h <<_ACEOF
42146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42147 _ACEOF
42148
42149 fi
42150 done
42151
42152 else
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42154 $as_echo_n "checking for _float trig functions... " >&6; }
42155 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42156 $as_echo_n "(cached) " >&6
42157 else
42158
42159
42160 ac_ext=cpp
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42165
42166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42167 /* end confdefs.h. */
42168 #include <math.h>
42169 int
42170 main ()
42171 {
42172 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42173 ;
42174 return 0;
42175 }
42176 _ACEOF
42177 if ac_fn_cxx_try_compile "$LINENO"; then :
42178 glibcxx_cv_func__float_trig_use=yes
42179 else
42180 glibcxx_cv_func__float_trig_use=no
42181 fi
42182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42183 ac_ext=c
42184 ac_cpp='$CPP $CPPFLAGS'
42185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42188
42189 fi
42190
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42192 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42193 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42194 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42195 do :
42196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42198 eval as_val=\$$as_ac_var
42199 if test "x$as_val" = x""yes; then :
42200 cat >>confdefs.h <<_ACEOF
42201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42202 _ACEOF
42203
42204 fi
42205 done
42206
42207 fi
42208 fi
42209
42210
42211
42212
42213
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42215 $as_echo_n "checking for float round functions... " >&6; }
42216 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42217 $as_echo_n "(cached) " >&6
42218 else
42219
42220
42221 ac_ext=cpp
42222 ac_cpp='$CXXCPP $CPPFLAGS'
42223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42226
42227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42228 /* end confdefs.h. */
42229 #include <math.h>
42230 int
42231 main ()
42232 {
42233 ceilf (0); floorf (0);
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 if ac_fn_cxx_try_compile "$LINENO"; then :
42239 glibcxx_cv_func_float_round_use=yes
42240 else
42241 glibcxx_cv_func_float_round_use=no
42242 fi
42243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42244 ac_ext=c
42245 ac_cpp='$CPP $CPPFLAGS'
42246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42249
42250 fi
42251
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42253 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42254 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42255 for ac_func in ceilf floorf
42256 do :
42257 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42258 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42259 eval as_val=\$$as_ac_var
42260 if test "x$as_val" = x""yes; then :
42261 cat >>confdefs.h <<_ACEOF
42262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42263 _ACEOF
42264
42265 fi
42266 done
42267
42268 else
42269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42270 $as_echo_n "checking for _float round functions... " >&6; }
42271 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42272 $as_echo_n "(cached) " >&6
42273 else
42274
42275
42276 ac_ext=cpp
42277 ac_cpp='$CXXCPP $CPPFLAGS'
42278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42281
42282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42283 /* end confdefs.h. */
42284 #include <math.h>
42285 int
42286 main ()
42287 {
42288 _ceilf (0); _floorf (0);
42289 ;
42290 return 0;
42291 }
42292 _ACEOF
42293 if ac_fn_cxx_try_compile "$LINENO"; then :
42294 glibcxx_cv_func__float_round_use=yes
42295 else
42296 glibcxx_cv_func__float_round_use=no
42297 fi
42298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299 ac_ext=c
42300 ac_cpp='$CPP $CPPFLAGS'
42301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42304
42305 fi
42306
42307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42308 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42309 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42310 for ac_func in _ceilf _floorf
42311 do :
42312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42314 eval as_val=\$$as_ac_var
42315 if test "x$as_val" = x""yes; then :
42316 cat >>confdefs.h <<_ACEOF
42317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42318 _ACEOF
42319
42320 fi
42321 done
42322
42323 fi
42324 fi
42325
42326
42327
42328
42329
42330
42331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42332 $as_echo_n "checking for expf declaration... " >&6; }
42333 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42334 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42335 $as_echo_n "(cached) " >&6
42336 else
42337
42338
42339 ac_ext=cpp
42340 ac_cpp='$CXXCPP $CPPFLAGS'
42341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42344
42345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42346 /* end confdefs.h. */
42347 #include <math.h>
42348 #ifdef HAVE_IEEEFP_H
42349 #include <ieeefp.h>
42350 #endif
42351
42352 int
42353 main ()
42354 {
42355 expf(0);
42356 ;
42357 return 0;
42358 }
42359 _ACEOF
42360 if ac_fn_cxx_try_compile "$LINENO"; then :
42361 glibcxx_cv_func_expf_use=yes
42362 else
42363 glibcxx_cv_func_expf_use=no
42364 fi
42365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42366 ac_ext=c
42367 ac_cpp='$CPP $CPPFLAGS'
42368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42371
42372
42373 fi
42374
42375 fi
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42377 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42378
42379 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42380 for ac_func in expf
42381 do :
42382 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42383 if test "x$ac_cv_func_expf" = x""yes; then :
42384 cat >>confdefs.h <<_ACEOF
42385 #define HAVE_EXPF 1
42386 _ACEOF
42387
42388 fi
42389 done
42390
42391 else
42392
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42394 $as_echo_n "checking for _expf declaration... " >&6; }
42395 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42396 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42397 $as_echo_n "(cached) " >&6
42398 else
42399
42400
42401 ac_ext=cpp
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406
42407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42408 /* end confdefs.h. */
42409 #include <math.h>
42410 #ifdef HAVE_IEEEFP_H
42411 #include <ieeefp.h>
42412 #endif
42413
42414 int
42415 main ()
42416 {
42417 _expf(0);
42418 ;
42419 return 0;
42420 }
42421 _ACEOF
42422 if ac_fn_cxx_try_compile "$LINENO"; then :
42423 glibcxx_cv_func__expf_use=yes
42424 else
42425 glibcxx_cv_func__expf_use=no
42426 fi
42427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42428 ac_ext=c
42429 ac_cpp='$CPP $CPPFLAGS'
42430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42433
42434
42435 fi
42436
42437 fi
42438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42439 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42440
42441 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42442 for ac_func in _expf
42443 do :
42444 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42445 if test "x$ac_cv_func__expf" = x""yes; then :
42446 cat >>confdefs.h <<_ACEOF
42447 #define HAVE__EXPF 1
42448 _ACEOF
42449
42450 fi
42451 done
42452
42453 fi
42454 fi
42455
42456
42457
42458
42459
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42461 $as_echo_n "checking for isnanf declaration... " >&6; }
42462 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42463 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42466
42467
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42477 #ifdef HAVE_IEEEFP_H
42478 #include <ieeefp.h>
42479 #endif
42480
42481 int
42482 main ()
42483 {
42484 isnanf(0);
42485 ;
42486 return 0;
42487 }
42488 _ACEOF
42489 if ac_fn_cxx_try_compile "$LINENO"; then :
42490 glibcxx_cv_func_isnanf_use=yes
42491 else
42492 glibcxx_cv_func_isnanf_use=no
42493 fi
42494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 ac_ext=c
42496 ac_cpp='$CPP $CPPFLAGS'
42497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500
42501
42502 fi
42503
42504 fi
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42506 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42507
42508 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42509 for ac_func in isnanf
42510 do :
42511 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42512 if test "x$ac_cv_func_isnanf" = x""yes; then :
42513 cat >>confdefs.h <<_ACEOF
42514 #define HAVE_ISNANF 1
42515 _ACEOF
42516
42517 fi
42518 done
42519
42520 else
42521
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42523 $as_echo_n "checking for _isnanf declaration... " >&6; }
42524 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42525 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42526 $as_echo_n "(cached) " >&6
42527 else
42528
42529
42530 ac_ext=cpp
42531 ac_cpp='$CXXCPP $CPPFLAGS'
42532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42537 /* end confdefs.h. */
42538 #include <math.h>
42539 #ifdef HAVE_IEEEFP_H
42540 #include <ieeefp.h>
42541 #endif
42542
42543 int
42544 main ()
42545 {
42546 _isnanf(0);
42547 ;
42548 return 0;
42549 }
42550 _ACEOF
42551 if ac_fn_cxx_try_compile "$LINENO"; then :
42552 glibcxx_cv_func__isnanf_use=yes
42553 else
42554 glibcxx_cv_func__isnanf_use=no
42555 fi
42556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42557 ac_ext=c
42558 ac_cpp='$CPP $CPPFLAGS'
42559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562
42563
42564 fi
42565
42566 fi
42567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42568 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42569
42570 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42571 for ac_func in _isnanf
42572 do :
42573 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42574 if test "x$ac_cv_func__isnanf" = x""yes; then :
42575 cat >>confdefs.h <<_ACEOF
42576 #define HAVE__ISNANF 1
42577 _ACEOF
42578
42579 fi
42580 done
42581
42582 fi
42583 fi
42584
42585
42586
42587
42588
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42590 $as_echo_n "checking for isinff declaration... " >&6; }
42591 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42592 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42593 $as_echo_n "(cached) " >&6
42594 else
42595
42596
42597 ac_ext=cpp
42598 ac_cpp='$CXXCPP $CPPFLAGS'
42599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42602
42603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42604 /* end confdefs.h. */
42605 #include <math.h>
42606 #ifdef HAVE_IEEEFP_H
42607 #include <ieeefp.h>
42608 #endif
42609
42610 int
42611 main ()
42612 {
42613 isinff(0);
42614 ;
42615 return 0;
42616 }
42617 _ACEOF
42618 if ac_fn_cxx_try_compile "$LINENO"; then :
42619 glibcxx_cv_func_isinff_use=yes
42620 else
42621 glibcxx_cv_func_isinff_use=no
42622 fi
42623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42624 ac_ext=c
42625 ac_cpp='$CPP $CPPFLAGS'
42626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42629
42630
42631 fi
42632
42633 fi
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42635 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42636
42637 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42638 for ac_func in isinff
42639 do :
42640 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42641 if test "x$ac_cv_func_isinff" = x""yes; then :
42642 cat >>confdefs.h <<_ACEOF
42643 #define HAVE_ISINFF 1
42644 _ACEOF
42645
42646 fi
42647 done
42648
42649 else
42650
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42652 $as_echo_n "checking for _isinff declaration... " >&6; }
42653 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42654 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
42676 ;
42677 return 0;
42678 }
42679 _ACEOF
42680 if ac_fn_cxx_try_compile "$LINENO"; then :
42681 glibcxx_cv_func__isinff_use=yes
42682 else
42683 glibcxx_cv_func__isinff_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__isinff_use" >&5
42697 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42698
42699 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42700 for ac_func in _isinff
42701 do :
42702 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42703 if test "x$ac_cv_func__isinff" = x""yes; then :
42704 cat >>confdefs.h <<_ACEOF
42705 #define HAVE__ISINFF 1
42706 _ACEOF
42707
42708 fi
42709 done
42710
42711 fi
42712 fi
42713
42714
42715
42716
42717
42718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42719 $as_echo_n "checking for atan2f declaration... " >&6; }
42720 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42721 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42722 $as_echo_n "(cached) " >&6
42723 else
42724
42725
42726 ac_ext=cpp
42727 ac_cpp='$CXXCPP $CPPFLAGS'
42728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42731
42732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42733 /* end confdefs.h. */
42734 #include <math.h>
42735 int
42736 main ()
42737 {
42738 atan2f(0, 0);
42739 ;
42740 return 0;
42741 }
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func_atan2f_use=yes
42745 else
42746 glibcxx_cv_func_atan2f_use=no
42747 fi
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749 ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754
42755
42756 fi
42757
42758 fi
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42760 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42761
42762 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42763 for ac_func in atan2f
42764 do :
42765 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42766 if test "x$ac_cv_func_atan2f" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE_ATAN2F 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774 else
42775
42776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42777 $as_echo_n "checking for _atan2f declaration... " >&6; }
42778 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42779 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42780 $as_echo_n "(cached) " >&6
42781 else
42782
42783
42784 ac_ext=cpp
42785 ac_cpp='$CXXCPP $CPPFLAGS'
42786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42789
42790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42791 /* end confdefs.h. */
42792 #include <math.h>
42793 int
42794 main ()
42795 {
42796 _atan2f(0, 0);
42797 ;
42798 return 0;
42799 }
42800 _ACEOF
42801 if ac_fn_cxx_try_compile "$LINENO"; then :
42802 glibcxx_cv_func__atan2f_use=yes
42803 else
42804 glibcxx_cv_func__atan2f_use=no
42805 fi
42806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807 ac_ext=c
42808 ac_cpp='$CPP $CPPFLAGS'
42809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42812
42813
42814 fi
42815
42816 fi
42817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42818 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42819
42820 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42821 for ac_func in _atan2f
42822 do :
42823 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42824 if test "x$ac_cv_func__atan2f" = x""yes; then :
42825 cat >>confdefs.h <<_ACEOF
42826 #define HAVE__ATAN2F 1
42827 _ACEOF
42828
42829 fi
42830 done
42831
42832 fi
42833 fi
42834
42835
42836
42837
42838
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42840 $as_echo_n "checking for fabsf declaration... " >&6; }
42841 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42842 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42843 $as_echo_n "(cached) " >&6
42844 else
42845
42846
42847 ac_ext=cpp
42848 ac_cpp='$CXXCPP $CPPFLAGS'
42849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42852
42853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42854 /* end confdefs.h. */
42855 #include <math.h>
42856 #ifdef HAVE_IEEEFP_H
42857 #include <ieeefp.h>
42858 #endif
42859
42860 int
42861 main ()
42862 {
42863 fabsf(0);
42864 ;
42865 return 0;
42866 }
42867 _ACEOF
42868 if ac_fn_cxx_try_compile "$LINENO"; then :
42869 glibcxx_cv_func_fabsf_use=yes
42870 else
42871 glibcxx_cv_func_fabsf_use=no
42872 fi
42873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42874 ac_ext=c
42875 ac_cpp='$CPP $CPPFLAGS'
42876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42879
42880
42881 fi
42882
42883 fi
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42885 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42886
42887 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42888 for ac_func in fabsf
42889 do :
42890 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42891 if test "x$ac_cv_func_fabsf" = x""yes; then :
42892 cat >>confdefs.h <<_ACEOF
42893 #define HAVE_FABSF 1
42894 _ACEOF
42895
42896 fi
42897 done
42898
42899 else
42900
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42902 $as_echo_n "checking for _fabsf declaration... " >&6; }
42903 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42904 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
42919 #include <ieeefp.h>
42920 #endif
42921
42922 int
42923 main ()
42924 {
42925 _fabsf(0);
42926 ;
42927 return 0;
42928 }
42929 _ACEOF
42930 if ac_fn_cxx_try_compile "$LINENO"; then :
42931 glibcxx_cv_func__fabsf_use=yes
42932 else
42933 glibcxx_cv_func__fabsf_use=no
42934 fi
42935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42936 ac_ext=c
42937 ac_cpp='$CPP $CPPFLAGS'
42938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42941
42942
42943 fi
42944
42945 fi
42946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42947 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42948
42949 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42950 for ac_func in _fabsf
42951 do :
42952 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42953 if test "x$ac_cv_func__fabsf" = x""yes; then :
42954 cat >>confdefs.h <<_ACEOF
42955 #define HAVE__FABSF 1
42956 _ACEOF
42957
42958 fi
42959 done
42960
42961 fi
42962 fi
42963
42964
42965
42966
42967
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42969 $as_echo_n "checking for fmodf declaration... " >&6; }
42970 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42971 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42974
42975
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42985 int
42986 main ()
42987 {
42988 fmodf(0, 0);
42989 ;
42990 return 0;
42991 }
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func_fmodf_use=yes
42995 else
42996 glibcxx_cv_func_fmodf_use=no
42997 fi
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999 ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43004
43005
43006 fi
43007
43008 fi
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43010 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43011
43012 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43013 for ac_func in fmodf
43014 do :
43015 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43016 if test "x$ac_cv_func_fmodf" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE_FMODF 1
43019 _ACEOF
43020
43021 fi
43022 done
43023
43024 else
43025
43026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43027 $as_echo_n "checking for _fmodf declaration... " >&6; }
43028 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43029 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43030 $as_echo_n "(cached) " >&6
43031 else
43032
43033
43034 ac_ext=cpp
43035 ac_cpp='$CXXCPP $CPPFLAGS'
43036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43039
43040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43041 /* end confdefs.h. */
43042 #include <math.h>
43043 int
43044 main ()
43045 {
43046 _fmodf(0, 0);
43047 ;
43048 return 0;
43049 }
43050 _ACEOF
43051 if ac_fn_cxx_try_compile "$LINENO"; then :
43052 glibcxx_cv_func__fmodf_use=yes
43053 else
43054 glibcxx_cv_func__fmodf_use=no
43055 fi
43056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43057 ac_ext=c
43058 ac_cpp='$CPP $CPPFLAGS'
43059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43062
43063
43064 fi
43065
43066 fi
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43068 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43069
43070 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43071 for ac_func in _fmodf
43072 do :
43073 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43074 if test "x$ac_cv_func__fmodf" = x""yes; then :
43075 cat >>confdefs.h <<_ACEOF
43076 #define HAVE__FMODF 1
43077 _ACEOF
43078
43079 fi
43080 done
43081
43082 fi
43083 fi
43084
43085
43086
43087
43088
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43090 $as_echo_n "checking for frexpf declaration... " >&6; }
43091 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43092 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43093 $as_echo_n "(cached) " >&6
43094 else
43095
43096
43097 ac_ext=cpp
43098 ac_cpp='$CXXCPP $CPPFLAGS'
43099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43102
43103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43104 /* end confdefs.h. */
43105 #include <math.h>
43106 int
43107 main ()
43108 {
43109 frexpf(0, 0);
43110 ;
43111 return 0;
43112 }
43113 _ACEOF
43114 if ac_fn_cxx_try_compile "$LINENO"; then :
43115 glibcxx_cv_func_frexpf_use=yes
43116 else
43117 glibcxx_cv_func_frexpf_use=no
43118 fi
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43125
43126
43127 fi
43128
43129 fi
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43131 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43132
43133 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43134 for ac_func in frexpf
43135 do :
43136 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43137 if test "x$ac_cv_func_frexpf" = x""yes; then :
43138 cat >>confdefs.h <<_ACEOF
43139 #define HAVE_FREXPF 1
43140 _ACEOF
43141
43142 fi
43143 done
43144
43145 else
43146
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43148 $as_echo_n "checking for _frexpf declaration... " >&6; }
43149 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43150 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43151 $as_echo_n "(cached) " >&6
43152 else
43153
43154
43155 ac_ext=cpp
43156 ac_cpp='$CXXCPP $CPPFLAGS'
43157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43160
43161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43162 /* end confdefs.h. */
43163 #include <math.h>
43164 int
43165 main ()
43166 {
43167 _frexpf(0, 0);
43168 ;
43169 return 0;
43170 }
43171 _ACEOF
43172 if ac_fn_cxx_try_compile "$LINENO"; then :
43173 glibcxx_cv_func__frexpf_use=yes
43174 else
43175 glibcxx_cv_func__frexpf_use=no
43176 fi
43177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43178 ac_ext=c
43179 ac_cpp='$CPP $CPPFLAGS'
43180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183
43184
43185 fi
43186
43187 fi
43188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43189 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43190
43191 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43192 for ac_func in _frexpf
43193 do :
43194 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43195 if test "x$ac_cv_func__frexpf" = x""yes; then :
43196 cat >>confdefs.h <<_ACEOF
43197 #define HAVE__FREXPF 1
43198 _ACEOF
43199
43200 fi
43201 done
43202
43203 fi
43204 fi
43205
43206
43207
43208
43209
43210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43211 $as_echo_n "checking for hypotf declaration... " >&6; }
43212 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43213 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43214 $as_echo_n "(cached) " >&6
43215 else
43216
43217
43218 ac_ext=cpp
43219 ac_cpp='$CXXCPP $CPPFLAGS'
43220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43223
43224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43225 /* end confdefs.h. */
43226 #include <math.h>
43227 int
43228 main ()
43229 {
43230 hypotf(0, 0);
43231 ;
43232 return 0;
43233 }
43234 _ACEOF
43235 if ac_fn_cxx_try_compile "$LINENO"; then :
43236 glibcxx_cv_func_hypotf_use=yes
43237 else
43238 glibcxx_cv_func_hypotf_use=no
43239 fi
43240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43241 ac_ext=c
43242 ac_cpp='$CPP $CPPFLAGS'
43243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43246
43247
43248 fi
43249
43250 fi
43251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43252 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43253
43254 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43255 for ac_func in hypotf
43256 do :
43257 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43258 if test "x$ac_cv_func_hypotf" = x""yes; then :
43259 cat >>confdefs.h <<_ACEOF
43260 #define HAVE_HYPOTF 1
43261 _ACEOF
43262
43263 fi
43264 done
43265
43266 else
43267
43268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43269 $as_echo_n "checking for _hypotf declaration... " >&6; }
43270 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43271 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43272 $as_echo_n "(cached) " >&6
43273 else
43274
43275
43276 ac_ext=cpp
43277 ac_cpp='$CXXCPP $CPPFLAGS'
43278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43281
43282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43283 /* end confdefs.h. */
43284 #include <math.h>
43285 int
43286 main ()
43287 {
43288 _hypotf(0, 0);
43289 ;
43290 return 0;
43291 }
43292 _ACEOF
43293 if ac_fn_cxx_try_compile "$LINENO"; then :
43294 glibcxx_cv_func__hypotf_use=yes
43295 else
43296 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
43310 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43311
43312 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43313 for ac_func in _hypotf
43314 do :
43315 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43316 if test "x$ac_cv_func__hypotf" = x""yes; then :
43317 cat >>confdefs.h <<_ACEOF
43318 #define HAVE__HYPOTF 1
43319 _ACEOF
43320
43321 fi
43322 done
43323
43324 fi
43325 fi
43326
43327
43328
43329
43330
43331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43332 $as_echo_n "checking for ldexpf declaration... " >&6; }
43333 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43334 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43335 $as_echo_n "(cached) " >&6
43336 else
43337
43338
43339 ac_ext=cpp
43340 ac_cpp='$CXXCPP $CPPFLAGS'
43341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344
43345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43346 /* end confdefs.h. */
43347 #include <math.h>
43348 int
43349 main ()
43350 {
43351 ldexpf(0, 0);
43352 ;
43353 return 0;
43354 }
43355 _ACEOF
43356 if ac_fn_cxx_try_compile "$LINENO"; then :
43357 glibcxx_cv_func_ldexpf_use=yes
43358 else
43359 glibcxx_cv_func_ldexpf_use=no
43360 fi
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43362 ac_ext=c
43363 ac_cpp='$CPP $CPPFLAGS'
43364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43367
43368
43369 fi
43370
43371 fi
43372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43373 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43374
43375 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43376 for ac_func in ldexpf
43377 do :
43378 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43379 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43380 cat >>confdefs.h <<_ACEOF
43381 #define HAVE_LDEXPF 1
43382 _ACEOF
43383
43384 fi
43385 done
43386
43387 else
43388
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43390 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43391 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43392 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43393 $as_echo_n "(cached) " >&6
43394 else
43395
43396
43397 ac_ext=cpp
43398 ac_cpp='$CXXCPP $CPPFLAGS'
43399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402
43403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43404 /* end confdefs.h. */
43405 #include <math.h>
43406 int
43407 main ()
43408 {
43409 _ldexpf(0, 0);
43410 ;
43411 return 0;
43412 }
43413 _ACEOF
43414 if ac_fn_cxx_try_compile "$LINENO"; then :
43415 glibcxx_cv_func__ldexpf_use=yes
43416 else
43417 glibcxx_cv_func__ldexpf_use=no
43418 fi
43419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43420 ac_ext=c
43421 ac_cpp='$CPP $CPPFLAGS'
43422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43425
43426
43427 fi
43428
43429 fi
43430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43431 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43432
43433 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43434 for ac_func in _ldexpf
43435 do :
43436 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43437 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43438 cat >>confdefs.h <<_ACEOF
43439 #define HAVE__LDEXPF 1
43440 _ACEOF
43441
43442 fi
43443 done
43444
43445 fi
43446 fi
43447
43448
43449
43450
43451
43452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43453 $as_echo_n "checking for logf declaration... " >&6; }
43454 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43455 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43456 $as_echo_n "(cached) " >&6
43457 else
43458
43459
43460 ac_ext=cpp
43461 ac_cpp='$CXXCPP $CPPFLAGS'
43462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43465
43466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43467 /* end confdefs.h. */
43468 #include <math.h>
43469 #ifdef HAVE_IEEEFP_H
43470 #include <ieeefp.h>
43471 #endif
43472
43473 int
43474 main ()
43475 {
43476 logf(0);
43477 ;
43478 return 0;
43479 }
43480 _ACEOF
43481 if ac_fn_cxx_try_compile "$LINENO"; then :
43482 glibcxx_cv_func_logf_use=yes
43483 else
43484 glibcxx_cv_func_logf_use=no
43485 fi
43486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43487 ac_ext=c
43488 ac_cpp='$CPP $CPPFLAGS'
43489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43492
43493
43494 fi
43495
43496 fi
43497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43498 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43499
43500 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43501 for ac_func in logf
43502 do :
43503 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43504 if test "x$ac_cv_func_logf" = x""yes; then :
43505 cat >>confdefs.h <<_ACEOF
43506 #define HAVE_LOGF 1
43507 _ACEOF
43508
43509 fi
43510 done
43511
43512 else
43513
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43515 $as_echo_n "checking for _logf declaration... " >&6; }
43516 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43517 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43518 $as_echo_n "(cached) " >&6
43519 else
43520
43521
43522 ac_ext=cpp
43523 ac_cpp='$CXXCPP $CPPFLAGS'
43524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43527
43528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43529 /* end confdefs.h. */
43530 #include <math.h>
43531 #ifdef HAVE_IEEEFP_H
43532 #include <ieeefp.h>
43533 #endif
43534
43535 int
43536 main ()
43537 {
43538 _logf(0);
43539 ;
43540 return 0;
43541 }
43542 _ACEOF
43543 if ac_fn_cxx_try_compile "$LINENO"; then :
43544 glibcxx_cv_func__logf_use=yes
43545 else
43546 glibcxx_cv_func__logf_use=no
43547 fi
43548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43549 ac_ext=c
43550 ac_cpp='$CPP $CPPFLAGS'
43551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43554
43555
43556 fi
43557
43558 fi
43559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43560 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43561
43562 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43563 for ac_func in _logf
43564 do :
43565 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43566 if test "x$ac_cv_func__logf" = x""yes; then :
43567 cat >>confdefs.h <<_ACEOF
43568 #define HAVE__LOGF 1
43569 _ACEOF
43570
43571 fi
43572 done
43573
43574 fi
43575 fi
43576
43577
43578
43579
43580
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43582 $as_echo_n "checking for log10f declaration... " >&6; }
43583 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43584 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43587
43588
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43598 #ifdef HAVE_IEEEFP_H
43599 #include <ieeefp.h>
43600 #endif
43601
43602 int
43603 main ()
43604 {
43605 log10f(0);
43606 ;
43607 return 0;
43608 }
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func_log10f_use=yes
43612 else
43613 glibcxx_cv_func_log10f_use=no
43614 fi
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43621
43622
43623 fi
43624
43625 fi
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43627 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43628
43629 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43630 for ac_func in log10f
43631 do :
43632 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43633 if test "x$ac_cv_func_log10f" = x""yes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE_LOG10F 1
43636 _ACEOF
43637
43638 fi
43639 done
43640
43641 else
43642
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43644 $as_echo_n "checking for _log10f declaration... " >&6; }
43645 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43646 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
43661 #include <ieeefp.h>
43662 #endif
43663
43664 int
43665 main ()
43666 {
43667 _log10f(0);
43668 ;
43669 return 0;
43670 }
43671 _ACEOF
43672 if ac_fn_cxx_try_compile "$LINENO"; then :
43673 glibcxx_cv_func__log10f_use=yes
43674 else
43675 glibcxx_cv_func__log10f_use=no
43676 fi
43677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43678 ac_ext=c
43679 ac_cpp='$CPP $CPPFLAGS'
43680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43683
43684
43685 fi
43686
43687 fi
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43689 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43690
43691 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43692 for ac_func in _log10f
43693 do :
43694 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43695 if test "x$ac_cv_func__log10f" = x""yes; then :
43696 cat >>confdefs.h <<_ACEOF
43697 #define HAVE__LOG10F 1
43698 _ACEOF
43699
43700 fi
43701 done
43702
43703 fi
43704 fi
43705
43706
43707
43708
43709
43710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43711 $as_echo_n "checking for modff declaration... " >&6; }
43712 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43713 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43714 $as_echo_n "(cached) " >&6
43715 else
43716
43717
43718 ac_ext=cpp
43719 ac_cpp='$CXXCPP $CPPFLAGS'
43720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43723
43724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43725 /* end confdefs.h. */
43726 #include <math.h>
43727 int
43728 main ()
43729 {
43730 modff(0, 0);
43731 ;
43732 return 0;
43733 }
43734 _ACEOF
43735 if ac_fn_cxx_try_compile "$LINENO"; then :
43736 glibcxx_cv_func_modff_use=yes
43737 else
43738 glibcxx_cv_func_modff_use=no
43739 fi
43740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43741 ac_ext=c
43742 ac_cpp='$CPP $CPPFLAGS'
43743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43746
43747
43748 fi
43749
43750 fi
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43752 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43753
43754 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43755 for ac_func in modff
43756 do :
43757 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43758 if test "x$ac_cv_func_modff" = x""yes; then :
43759 cat >>confdefs.h <<_ACEOF
43760 #define HAVE_MODFF 1
43761 _ACEOF
43762
43763 fi
43764 done
43765
43766 else
43767
43768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43769 $as_echo_n "checking for _modff declaration... " >&6; }
43770 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43771 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43772 $as_echo_n "(cached) " >&6
43773 else
43774
43775
43776 ac_ext=cpp
43777 ac_cpp='$CXXCPP $CPPFLAGS'
43778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43781
43782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43783 /* end confdefs.h. */
43784 #include <math.h>
43785 int
43786 main ()
43787 {
43788 _modff(0, 0);
43789 ;
43790 return 0;
43791 }
43792 _ACEOF
43793 if ac_fn_cxx_try_compile "$LINENO"; then :
43794 glibcxx_cv_func__modff_use=yes
43795 else
43796 glibcxx_cv_func__modff_use=no
43797 fi
43798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43799 ac_ext=c
43800 ac_cpp='$CPP $CPPFLAGS'
43801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43804
43805
43806 fi
43807
43808 fi
43809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43810 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43811
43812 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43813 for ac_func in _modff
43814 do :
43815 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43816 if test "x$ac_cv_func__modff" = x""yes; then :
43817 cat >>confdefs.h <<_ACEOF
43818 #define HAVE__MODFF 1
43819 _ACEOF
43820
43821 fi
43822 done
43823
43824 fi
43825 fi
43826
43827
43828
43829
43830
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43832 $as_echo_n "checking for modf declaration... " >&6; }
43833 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43834 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43835 $as_echo_n "(cached) " >&6
43836 else
43837
43838
43839 ac_ext=cpp
43840 ac_cpp='$CXXCPP $CPPFLAGS'
43841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43844
43845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43846 /* end confdefs.h. */
43847 #include <math.h>
43848 int
43849 main ()
43850 {
43851 modf(0, 0);
43852 ;
43853 return 0;
43854 }
43855 _ACEOF
43856 if ac_fn_cxx_try_compile "$LINENO"; then :
43857 glibcxx_cv_func_modf_use=yes
43858 else
43859 glibcxx_cv_func_modf_use=no
43860 fi
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862 ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43867
43868
43869 fi
43870
43871 fi
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43873 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43874
43875 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43876 for ac_func in modf
43877 do :
43878 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43879 if test "x$ac_cv_func_modf" = x""yes; then :
43880 cat >>confdefs.h <<_ACEOF
43881 #define HAVE_MODF 1
43882 _ACEOF
43883
43884 fi
43885 done
43886
43887 else
43888
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43890 $as_echo_n "checking for _modf declaration... " >&6; }
43891 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43892 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43893 $as_echo_n "(cached) " >&6
43894 else
43895
43896
43897 ac_ext=cpp
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902
43903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43904 /* end confdefs.h. */
43905 #include <math.h>
43906 int
43907 main ()
43908 {
43909 _modf(0, 0);
43910 ;
43911 return 0;
43912 }
43913 _ACEOF
43914 if ac_fn_cxx_try_compile "$LINENO"; then :
43915 glibcxx_cv_func__modf_use=yes
43916 else
43917 glibcxx_cv_func__modf_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__modf_use" >&5
43931 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43932
43933 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43934 for ac_func in _modf
43935 do :
43936 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43937 if test "x$ac_cv_func__modf" = x""yes; then :
43938 cat >>confdefs.h <<_ACEOF
43939 #define HAVE__MODF 1
43940 _ACEOF
43941
43942 fi
43943 done
43944
43945 fi
43946 fi
43947
43948
43949
43950
43951
43952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43953 $as_echo_n "checking for powf declaration... " >&6; }
43954 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43955 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43956 $as_echo_n "(cached) " >&6
43957 else
43958
43959
43960 ac_ext=cpp
43961 ac_cpp='$CXXCPP $CPPFLAGS'
43962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965
43966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43967 /* end confdefs.h. */
43968 #include <math.h>
43969 int
43970 main ()
43971 {
43972 powf(0, 0);
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 if ac_fn_cxx_try_compile "$LINENO"; then :
43978 glibcxx_cv_func_powf_use=yes
43979 else
43980 glibcxx_cv_func_powf_use=no
43981 fi
43982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43983 ac_ext=c
43984 ac_cpp='$CPP $CPPFLAGS'
43985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43988
43989
43990 fi
43991
43992 fi
43993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43994 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43995
43996 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43997 for ac_func in powf
43998 do :
43999 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44000 if test "x$ac_cv_func_powf" = x""yes; then :
44001 cat >>confdefs.h <<_ACEOF
44002 #define HAVE_POWF 1
44003 _ACEOF
44004
44005 fi
44006 done
44007
44008 else
44009
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44011 $as_echo_n "checking for _powf declaration... " >&6; }
44012 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44013 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44014 $as_echo_n "(cached) " >&6
44015 else
44016
44017
44018 ac_ext=cpp
44019 ac_cpp='$CXXCPP $CPPFLAGS'
44020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44023
44024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44025 /* end confdefs.h. */
44026 #include <math.h>
44027 int
44028 main ()
44029 {
44030 _powf(0, 0);
44031 ;
44032 return 0;
44033 }
44034 _ACEOF
44035 if ac_fn_cxx_try_compile "$LINENO"; then :
44036 glibcxx_cv_func__powf_use=yes
44037 else
44038 glibcxx_cv_func__powf_use=no
44039 fi
44040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44041 ac_ext=c
44042 ac_cpp='$CPP $CPPFLAGS'
44043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44046
44047
44048 fi
44049
44050 fi
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44052 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44053
44054 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44055 for ac_func in _powf
44056 do :
44057 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44058 if test "x$ac_cv_func__powf" = x""yes; then :
44059 cat >>confdefs.h <<_ACEOF
44060 #define HAVE__POWF 1
44061 _ACEOF
44062
44063 fi
44064 done
44065
44066 fi
44067 fi
44068
44069
44070
44071
44072
44073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44074 $as_echo_n "checking for sqrtf declaration... " >&6; }
44075 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44076 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44077 $as_echo_n "(cached) " >&6
44078 else
44079
44080
44081 ac_ext=cpp
44082 ac_cpp='$CXXCPP $CPPFLAGS'
44083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44086
44087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44088 /* end confdefs.h. */
44089 #include <math.h>
44090 #ifdef HAVE_IEEEFP_H
44091 #include <ieeefp.h>
44092 #endif
44093
44094 int
44095 main ()
44096 {
44097 sqrtf(0);
44098 ;
44099 return 0;
44100 }
44101 _ACEOF
44102 if ac_fn_cxx_try_compile "$LINENO"; then :
44103 glibcxx_cv_func_sqrtf_use=yes
44104 else
44105 glibcxx_cv_func_sqrtf_use=no
44106 fi
44107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44108 ac_ext=c
44109 ac_cpp='$CPP $CPPFLAGS'
44110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44113
44114
44115 fi
44116
44117 fi
44118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44119 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44120
44121 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44122 for ac_func in sqrtf
44123 do :
44124 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44125 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44126 cat >>confdefs.h <<_ACEOF
44127 #define HAVE_SQRTF 1
44128 _ACEOF
44129
44130 fi
44131 done
44132
44133 else
44134
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44136 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44137 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44138 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 if ac_fn_cxx_try_compile "$LINENO"; then :
44165 glibcxx_cv_func__sqrtf_use=yes
44166 else
44167 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
44181 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44182
44183 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44184 for ac_func in _sqrtf
44185 do :
44186 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44187 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44188 cat >>confdefs.h <<_ACEOF
44189 #define HAVE__SQRTF 1
44190 _ACEOF
44191
44192 fi
44193 done
44194
44195 fi
44196 fi
44197
44198
44199
44200
44201
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44203 $as_echo_n "checking for sincosf declaration... " >&6; }
44204 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44205 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44208
44209
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44219 int
44220 main ()
44221 {
44222 sincosf(0, 0, 0);
44223 ;
44224 return 0;
44225 }
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228 glibcxx_cv_func_sincosf_use=yes
44229 else
44230 glibcxx_cv_func_sincosf_use=no
44231 fi
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233 ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44238
44239
44240 fi
44241
44242 fi
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44244 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44245
44246 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44247 for ac_func in sincosf
44248 do :
44249 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44250 if test "x$ac_cv_func_sincosf" = x""yes; then :
44251 cat >>confdefs.h <<_ACEOF
44252 #define HAVE_SINCOSF 1
44253 _ACEOF
44254
44255 fi
44256 done
44257
44258 else
44259
44260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44261 $as_echo_n "checking for _sincosf declaration... " >&6; }
44262 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44263 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44264 $as_echo_n "(cached) " >&6
44265 else
44266
44267
44268 ac_ext=cpp
44269 ac_cpp='$CXXCPP $CPPFLAGS'
44270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44273
44274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44275 /* end confdefs.h. */
44276 #include <math.h>
44277 int
44278 main ()
44279 {
44280 _sincosf(0, 0, 0);
44281 ;
44282 return 0;
44283 }
44284 _ACEOF
44285 if ac_fn_cxx_try_compile "$LINENO"; then :
44286 glibcxx_cv_func__sincosf_use=yes
44287 else
44288 glibcxx_cv_func__sincosf_use=no
44289 fi
44290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44291 ac_ext=c
44292 ac_cpp='$CPP $CPPFLAGS'
44293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44296
44297
44298 fi
44299
44300 fi
44301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44302 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44303
44304 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44305 for ac_func in _sincosf
44306 do :
44307 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44308 if test "x$ac_cv_func__sincosf" = x""yes; then :
44309 cat >>confdefs.h <<_ACEOF
44310 #define HAVE__SINCOSF 1
44311 _ACEOF
44312
44313 fi
44314 done
44315
44316 fi
44317 fi
44318
44319
44320
44321
44322
44323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44324 $as_echo_n "checking for finitef declaration... " >&6; }
44325 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44326 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44327 $as_echo_n "(cached) " >&6
44328 else
44329
44330
44331 ac_ext=cpp
44332 ac_cpp='$CXXCPP $CPPFLAGS'
44333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44336
44337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44338 /* end confdefs.h. */
44339 #include <math.h>
44340 #ifdef HAVE_IEEEFP_H
44341 #include <ieeefp.h>
44342 #endif
44343
44344 int
44345 main ()
44346 {
44347 finitef(0);
44348 ;
44349 return 0;
44350 }
44351 _ACEOF
44352 if ac_fn_cxx_try_compile "$LINENO"; then :
44353 glibcxx_cv_func_finitef_use=yes
44354 else
44355 glibcxx_cv_func_finitef_use=no
44356 fi
44357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44358 ac_ext=c
44359 ac_cpp='$CPP $CPPFLAGS'
44360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44363
44364
44365 fi
44366
44367 fi
44368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44369 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44370
44371 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44372 for ac_func in finitef
44373 do :
44374 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44375 if test "x$ac_cv_func_finitef" = x""yes; then :
44376 cat >>confdefs.h <<_ACEOF
44377 #define HAVE_FINITEF 1
44378 _ACEOF
44379
44380 fi
44381 done
44382
44383 else
44384
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44386 $as_echo_n "checking for _finitef declaration... " >&6; }
44387 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44388 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44389 $as_echo_n "(cached) " >&6
44390 else
44391
44392
44393 ac_ext=cpp
44394 ac_cpp='$CXXCPP $CPPFLAGS'
44395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44398
44399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44400 /* end confdefs.h. */
44401 #include <math.h>
44402 #ifdef HAVE_IEEEFP_H
44403 #include <ieeefp.h>
44404 #endif
44405
44406 int
44407 main ()
44408 {
44409 _finitef(0);
44410 ;
44411 return 0;
44412 }
44413 _ACEOF
44414 if ac_fn_cxx_try_compile "$LINENO"; then :
44415 glibcxx_cv_func__finitef_use=yes
44416 else
44417 glibcxx_cv_func__finitef_use=no
44418 fi
44419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44420 ac_ext=c
44421 ac_cpp='$CPP $CPPFLAGS'
44422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44425
44426
44427 fi
44428
44429 fi
44430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44431 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44432
44433 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44434 for ac_func in _finitef
44435 do :
44436 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44437 if test "x$ac_cv_func__finitef" = x""yes; then :
44438 cat >>confdefs.h <<_ACEOF
44439 #define HAVE__FINITEF 1
44440 _ACEOF
44441
44442 fi
44443 done
44444
44445 fi
44446 fi
44447
44448
44449
44450
44451
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44453 $as_echo_n "checking for long double trig functions... " >&6; }
44454 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44455 $as_echo_n "(cached) " >&6
44456 else
44457
44458
44459 ac_ext=cpp
44460 ac_cpp='$CXXCPP $CPPFLAGS'
44461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44464
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h. */
44467 #include <math.h>
44468 int
44469 main ()
44470 {
44471 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44472 ;
44473 return 0;
44474 }
44475 _ACEOF
44476 if ac_fn_cxx_try_compile "$LINENO"; then :
44477 glibcxx_cv_func_long_double_trig_use=yes
44478 else
44479 glibcxx_cv_func_long_double_trig_use=no
44480 fi
44481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44482 ac_ext=c
44483 ac_cpp='$CPP $CPPFLAGS'
44484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44487
44488 fi
44489
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44491 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44492 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44493 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44494 do :
44495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44497 eval as_val=\$$as_ac_var
44498 if test "x$as_val" = x""yes; then :
44499 cat >>confdefs.h <<_ACEOF
44500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44501 _ACEOF
44502
44503 fi
44504 done
44505
44506 else
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44508 $as_echo_n "checking for _long double trig functions... " >&6; }
44509 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44510 $as_echo_n "(cached) " >&6
44511 else
44512
44513
44514 ac_ext=cpp
44515 ac_cpp='$CXXCPP $CPPFLAGS'
44516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44519
44520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 /* end confdefs.h. */
44522 #include <math.h>
44523 int
44524 main ()
44525 {
44526 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44527 ;
44528 return 0;
44529 }
44530 _ACEOF
44531 if ac_fn_cxx_try_compile "$LINENO"; then :
44532 glibcxx_cv_func__long_double_trig_use=yes
44533 else
44534 glibcxx_cv_func__long_double_trig_use=no
44535 fi
44536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44537 ac_ext=c
44538 ac_cpp='$CPP $CPPFLAGS'
44539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44542
44543 fi
44544
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44546 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44547 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44548 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44549 do :
44550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44552 eval as_val=\$$as_ac_var
44553 if test "x$as_val" = x""yes; then :
44554 cat >>confdefs.h <<_ACEOF
44555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44556 _ACEOF
44557
44558 fi
44559 done
44560
44561 fi
44562 fi
44563
44564
44565
44566
44567
44568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44569 $as_echo_n "checking for long double round functions... " >&6; }
44570 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44571 $as_echo_n "(cached) " >&6
44572 else
44573
44574
44575 ac_ext=cpp
44576 ac_cpp='$CXXCPP $CPPFLAGS'
44577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580
44581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44582 /* end confdefs.h. */
44583 #include <math.h>
44584 int
44585 main ()
44586 {
44587 ceill (0); floorl (0);
44588 ;
44589 return 0;
44590 }
44591 _ACEOF
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44593 glibcxx_cv_func_long_double_round_use=yes
44594 else
44595 glibcxx_cv_func_long_double_round_use=no
44596 fi
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 ac_ext=c
44599 ac_cpp='$CPP $CPPFLAGS'
44600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44603
44604 fi
44605
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44607 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44608 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44609 for ac_func in ceill floorl
44610 do :
44611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44613 eval as_val=\$$as_ac_var
44614 if test "x$as_val" = x""yes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44617 _ACEOF
44618
44619 fi
44620 done
44621
44622 else
44623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44624 $as_echo_n "checking for _long double round functions... " >&6; }
44625 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44626 $as_echo_n "(cached) " >&6
44627 else
44628
44629
44630 ac_ext=cpp
44631 ac_cpp='$CXXCPP $CPPFLAGS'
44632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44635
44636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44637 /* end confdefs.h. */
44638 #include <math.h>
44639 int
44640 main ()
44641 {
44642 _ceill (0); _floorl (0);
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 if ac_fn_cxx_try_compile "$LINENO"; then :
44648 glibcxx_cv_func__long_double_round_use=yes
44649 else
44650 glibcxx_cv_func__long_double_round_use=no
44651 fi
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 ac_ext=c
44654 ac_cpp='$CPP $CPPFLAGS'
44655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44658
44659 fi
44660
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44662 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44663 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44664 for ac_func in _ceill _floorl
44665 do :
44666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44668 eval as_val=\$$as_ac_var
44669 if test "x$as_val" = x""yes; then :
44670 cat >>confdefs.h <<_ACEOF
44671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44672 _ACEOF
44673
44674 fi
44675 done
44676
44677 fi
44678 fi
44679
44680
44681
44682
44683
44684
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44686 $as_echo_n "checking for isnanl declaration... " >&6; }
44687 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44688 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44689 $as_echo_n "(cached) " >&6
44690 else
44691
44692
44693 ac_ext=cpp
44694 ac_cpp='$CXXCPP $CPPFLAGS'
44695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44698
44699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44700 /* end confdefs.h. */
44701 #include <math.h>
44702 #ifdef HAVE_IEEEFP_H
44703 #include <ieeefp.h>
44704 #endif
44705
44706 int
44707 main ()
44708 {
44709 isnanl(0);
44710 ;
44711 return 0;
44712 }
44713 _ACEOF
44714 if ac_fn_cxx_try_compile "$LINENO"; then :
44715 glibcxx_cv_func_isnanl_use=yes
44716 else
44717 glibcxx_cv_func_isnanl_use=no
44718 fi
44719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44725
44726
44727 fi
44728
44729 fi
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44731 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44732
44733 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44734 for ac_func in isnanl
44735 do :
44736 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44737 if test "x$ac_cv_func_isnanl" = x""yes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE_ISNANL 1
44740 _ACEOF
44741
44742 fi
44743 done
44744
44745 else
44746
44747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44748 $as_echo_n "checking for _isnanl declaration... " >&6; }
44749 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44750 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44751 $as_echo_n "(cached) " >&6
44752 else
44753
44754
44755 ac_ext=cpp
44756 ac_cpp='$CXXCPP $CPPFLAGS'
44757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44760
44761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44762 /* end confdefs.h. */
44763 #include <math.h>
44764 #ifdef HAVE_IEEEFP_H
44765 #include <ieeefp.h>
44766 #endif
44767
44768 int
44769 main ()
44770 {
44771 _isnanl(0);
44772 ;
44773 return 0;
44774 }
44775 _ACEOF
44776 if ac_fn_cxx_try_compile "$LINENO"; then :
44777 glibcxx_cv_func__isnanl_use=yes
44778 else
44779 glibcxx_cv_func__isnanl_use=no
44780 fi
44781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44782 ac_ext=c
44783 ac_cpp='$CPP $CPPFLAGS'
44784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44787
44788
44789 fi
44790
44791 fi
44792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44793 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44794
44795 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44796 for ac_func in _isnanl
44797 do :
44798 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44799 if test "x$ac_cv_func__isnanl" = x""yes; then :
44800 cat >>confdefs.h <<_ACEOF
44801 #define HAVE__ISNANL 1
44802 _ACEOF
44803
44804 fi
44805 done
44806
44807 fi
44808 fi
44809
44810
44811
44812
44813
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44815 $as_echo_n "checking for isinfl declaration... " >&6; }
44816 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44817 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44820
44821
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44831 #ifdef HAVE_IEEEFP_H
44832 #include <ieeefp.h>
44833 #endif
44834
44835 int
44836 main ()
44837 {
44838 isinfl(0);
44839 ;
44840 return 0;
44841 }
44842 _ACEOF
44843 if ac_fn_cxx_try_compile "$LINENO"; then :
44844 glibcxx_cv_func_isinfl_use=yes
44845 else
44846 glibcxx_cv_func_isinfl_use=no
44847 fi
44848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44849 ac_ext=c
44850 ac_cpp='$CPP $CPPFLAGS'
44851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44854
44855
44856 fi
44857
44858 fi
44859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44860 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44861
44862 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44863 for ac_func in isinfl
44864 do :
44865 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44866 if test "x$ac_cv_func_isinfl" = x""yes; then :
44867 cat >>confdefs.h <<_ACEOF
44868 #define HAVE_ISINFL 1
44869 _ACEOF
44870
44871 fi
44872 done
44873
44874 else
44875
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44877 $as_echo_n "checking for _isinfl declaration... " >&6; }
44878 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44879 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
44901 ;
44902 return 0;
44903 }
44904 _ACEOF
44905 if ac_fn_cxx_try_compile "$LINENO"; then :
44906 glibcxx_cv_func__isinfl_use=yes
44907 else
44908 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
44922 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44923
44924 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44925 for ac_func in _isinfl
44926 do :
44927 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44928 if test "x$ac_cv_func__isinfl" = x""yes; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define HAVE__ISINFL 1
44931 _ACEOF
44932
44933 fi
44934 done
44935
44936 fi
44937 fi
44938
44939
44940
44941
44942
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44944 $as_echo_n "checking for atan2l declaration... " >&6; }
44945 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44946 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44947 $as_echo_n "(cached) " >&6
44948 else
44949
44950
44951 ac_ext=cpp
44952 ac_cpp='$CXXCPP $CPPFLAGS'
44953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44956
44957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44958 /* end confdefs.h. */
44959 #include <math.h>
44960 int
44961 main ()
44962 {
44963 atan2l(0, 0);
44964 ;
44965 return 0;
44966 }
44967 _ACEOF
44968 if ac_fn_cxx_try_compile "$LINENO"; then :
44969 glibcxx_cv_func_atan2l_use=yes
44970 else
44971 glibcxx_cv_func_atan2l_use=no
44972 fi
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974 ac_ext=c
44975 ac_cpp='$CPP $CPPFLAGS'
44976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44979
44980
44981 fi
44982
44983 fi
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44985 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44986
44987 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44988 for ac_func in atan2l
44989 do :
44990 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44991 if test "x$ac_cv_func_atan2l" = x""yes; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define HAVE_ATAN2L 1
44994 _ACEOF
44995
44996 fi
44997 done
44998
44999 else
45000
45001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45002 $as_echo_n "checking for _atan2l declaration... " >&6; }
45003 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45004 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45005 $as_echo_n "(cached) " >&6
45006 else
45007
45008
45009 ac_ext=cpp
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014
45015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45016 /* end confdefs.h. */
45017 #include <math.h>
45018 int
45019 main ()
45020 {
45021 _atan2l(0, 0);
45022 ;
45023 return 0;
45024 }
45025 _ACEOF
45026 if ac_fn_cxx_try_compile "$LINENO"; then :
45027 glibcxx_cv_func__atan2l_use=yes
45028 else
45029 glibcxx_cv_func__atan2l_use=no
45030 fi
45031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45032 ac_ext=c
45033 ac_cpp='$CPP $CPPFLAGS'
45034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45037
45038
45039 fi
45040
45041 fi
45042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45043 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45044
45045 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45046 for ac_func in _atan2l
45047 do :
45048 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45049 if test "x$ac_cv_func__atan2l" = x""yes; then :
45050 cat >>confdefs.h <<_ACEOF
45051 #define HAVE__ATAN2L 1
45052 _ACEOF
45053
45054 fi
45055 done
45056
45057 fi
45058 fi
45059
45060
45061
45062
45063
45064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45065 $as_echo_n "checking for expl declaration... " >&6; }
45066 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45067 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45068 $as_echo_n "(cached) " >&6
45069 else
45070
45071
45072 ac_ext=cpp
45073 ac_cpp='$CXXCPP $CPPFLAGS'
45074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45077
45078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45079 /* end confdefs.h. */
45080 #include <math.h>
45081 #ifdef HAVE_IEEEFP_H
45082 #include <ieeefp.h>
45083 #endif
45084
45085 int
45086 main ()
45087 {
45088 expl(0);
45089 ;
45090 return 0;
45091 }
45092 _ACEOF
45093 if ac_fn_cxx_try_compile "$LINENO"; then :
45094 glibcxx_cv_func_expl_use=yes
45095 else
45096 glibcxx_cv_func_expl_use=no
45097 fi
45098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45099 ac_ext=c
45100 ac_cpp='$CPP $CPPFLAGS'
45101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45104
45105
45106 fi
45107
45108 fi
45109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45110 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45111
45112 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45113 for ac_func in expl
45114 do :
45115 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45116 if test "x$ac_cv_func_expl" = x""yes; then :
45117 cat >>confdefs.h <<_ACEOF
45118 #define HAVE_EXPL 1
45119 _ACEOF
45120
45121 fi
45122 done
45123
45124 else
45125
45126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45127 $as_echo_n "checking for _expl declaration... " >&6; }
45128 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45129 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45130 $as_echo_n "(cached) " >&6
45131 else
45132
45133
45134 ac_ext=cpp
45135 ac_cpp='$CXXCPP $CPPFLAGS'
45136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45139
45140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45141 /* end confdefs.h. */
45142 #include <math.h>
45143 #ifdef HAVE_IEEEFP_H
45144 #include <ieeefp.h>
45145 #endif
45146
45147 int
45148 main ()
45149 {
45150 _expl(0);
45151 ;
45152 return 0;
45153 }
45154 _ACEOF
45155 if ac_fn_cxx_try_compile "$LINENO"; then :
45156 glibcxx_cv_func__expl_use=yes
45157 else
45158 glibcxx_cv_func__expl_use=no
45159 fi
45160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45161 ac_ext=c
45162 ac_cpp='$CPP $CPPFLAGS'
45163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45166
45167
45168 fi
45169
45170 fi
45171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45172 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45173
45174 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45175 for ac_func in _expl
45176 do :
45177 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45178 if test "x$ac_cv_func__expl" = x""yes; then :
45179 cat >>confdefs.h <<_ACEOF
45180 #define HAVE__EXPL 1
45181 _ACEOF
45182
45183 fi
45184 done
45185
45186 fi
45187 fi
45188
45189
45190
45191
45192
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45194 $as_echo_n "checking for fabsl declaration... " >&6; }
45195 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45196 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45197 $as_echo_n "(cached) " >&6
45198 else
45199
45200
45201 ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206
45207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h. */
45209 #include <math.h>
45210 #ifdef HAVE_IEEEFP_H
45211 #include <ieeefp.h>
45212 #endif
45213
45214 int
45215 main ()
45216 {
45217 fabsl(0);
45218 ;
45219 return 0;
45220 }
45221 _ACEOF
45222 if ac_fn_cxx_try_compile "$LINENO"; then :
45223 glibcxx_cv_func_fabsl_use=yes
45224 else
45225 glibcxx_cv_func_fabsl_use=no
45226 fi
45227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45228 ac_ext=c
45229 ac_cpp='$CPP $CPPFLAGS'
45230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45233
45234
45235 fi
45236
45237 fi
45238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45239 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45240
45241 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45242 for ac_func in fabsl
45243 do :
45244 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45245 if test "x$ac_cv_func_fabsl" = x""yes; then :
45246 cat >>confdefs.h <<_ACEOF
45247 #define HAVE_FABSL 1
45248 _ACEOF
45249
45250 fi
45251 done
45252
45253 else
45254
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45256 $as_echo_n "checking for _fabsl declaration... " >&6; }
45257 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45258 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
45273 #include <ieeefp.h>
45274 #endif
45275
45276 int
45277 main ()
45278 {
45279 _fabsl(0);
45280 ;
45281 return 0;
45282 }
45283 _ACEOF
45284 if ac_fn_cxx_try_compile "$LINENO"; then :
45285 glibcxx_cv_func__fabsl_use=yes
45286 else
45287 glibcxx_cv_func__fabsl_use=no
45288 fi
45289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45290 ac_ext=c
45291 ac_cpp='$CPP $CPPFLAGS'
45292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45295
45296
45297 fi
45298
45299 fi
45300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45301 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45302
45303 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45304 for ac_func in _fabsl
45305 do :
45306 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45307 if test "x$ac_cv_func__fabsl" = x""yes; then :
45308 cat >>confdefs.h <<_ACEOF
45309 #define HAVE__FABSL 1
45310 _ACEOF
45311
45312 fi
45313 done
45314
45315 fi
45316 fi
45317
45318
45319
45320
45321
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45323 $as_echo_n "checking for fmodl declaration... " >&6; }
45324 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45325 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45326 $as_echo_n "(cached) " >&6
45327 else
45328
45329
45330 ac_ext=cpp
45331 ac_cpp='$CXXCPP $CPPFLAGS'
45332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45335
45336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45337 /* end confdefs.h. */
45338 #include <math.h>
45339 int
45340 main ()
45341 {
45342 fmodl(0, 0);
45343 ;
45344 return 0;
45345 }
45346 _ACEOF
45347 if ac_fn_cxx_try_compile "$LINENO"; then :
45348 glibcxx_cv_func_fmodl_use=yes
45349 else
45350 glibcxx_cv_func_fmodl_use=no
45351 fi
45352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45353 ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45358
45359
45360 fi
45361
45362 fi
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45364 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45365
45366 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45367 for ac_func in fmodl
45368 do :
45369 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45370 if test "x$ac_cv_func_fmodl" = x""yes; then :
45371 cat >>confdefs.h <<_ACEOF
45372 #define HAVE_FMODL 1
45373 _ACEOF
45374
45375 fi
45376 done
45377
45378 else
45379
45380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45381 $as_echo_n "checking for _fmodl declaration... " >&6; }
45382 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45383 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45384 $as_echo_n "(cached) " >&6
45385 else
45386
45387
45388 ac_ext=cpp
45389 ac_cpp='$CXXCPP $CPPFLAGS'
45390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45393
45394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45395 /* end confdefs.h. */
45396 #include <math.h>
45397 int
45398 main ()
45399 {
45400 _fmodl(0, 0);
45401 ;
45402 return 0;
45403 }
45404 _ACEOF
45405 if ac_fn_cxx_try_compile "$LINENO"; then :
45406 glibcxx_cv_func__fmodl_use=yes
45407 else
45408 glibcxx_cv_func__fmodl_use=no
45409 fi
45410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45411 ac_ext=c
45412 ac_cpp='$CPP $CPPFLAGS'
45413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45416
45417
45418 fi
45419
45420 fi
45421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45422 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45423
45424 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45425 for ac_func in _fmodl
45426 do :
45427 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45428 if test "x$ac_cv_func__fmodl" = x""yes; then :
45429 cat >>confdefs.h <<_ACEOF
45430 #define HAVE__FMODL 1
45431 _ACEOF
45432
45433 fi
45434 done
45435
45436 fi
45437 fi
45438
45439
45440
45441
45442
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45444 $as_echo_n "checking for frexpl declaration... " >&6; }
45445 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45446 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45447 $as_echo_n "(cached) " >&6
45448 else
45449
45450
45451 ac_ext=cpp
45452 ac_cpp='$CXXCPP $CPPFLAGS'
45453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45456
45457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45458 /* end confdefs.h. */
45459 #include <math.h>
45460 int
45461 main ()
45462 {
45463 frexpl(0, 0);
45464 ;
45465 return 0;
45466 }
45467 _ACEOF
45468 if ac_fn_cxx_try_compile "$LINENO"; then :
45469 glibcxx_cv_func_frexpl_use=yes
45470 else
45471 glibcxx_cv_func_frexpl_use=no
45472 fi
45473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45474 ac_ext=c
45475 ac_cpp='$CPP $CPPFLAGS'
45476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45479
45480
45481 fi
45482
45483 fi
45484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45485 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45486
45487 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45488 for ac_func in frexpl
45489 do :
45490 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45491 if test "x$ac_cv_func_frexpl" = x""yes; then :
45492 cat >>confdefs.h <<_ACEOF
45493 #define HAVE_FREXPL 1
45494 _ACEOF
45495
45496 fi
45497 done
45498
45499 else
45500
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45502 $as_echo_n "checking for _frexpl declaration... " >&6; }
45503 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45504 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45505 $as_echo_n "(cached) " >&6
45506 else
45507
45508
45509 ac_ext=cpp
45510 ac_cpp='$CXXCPP $CPPFLAGS'
45511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45514
45515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45516 /* end confdefs.h. */
45517 #include <math.h>
45518 int
45519 main ()
45520 {
45521 _frexpl(0, 0);
45522 ;
45523 return 0;
45524 }
45525 _ACEOF
45526 if ac_fn_cxx_try_compile "$LINENO"; then :
45527 glibcxx_cv_func__frexpl_use=yes
45528 else
45529 glibcxx_cv_func__frexpl_use=no
45530 fi
45531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45532 ac_ext=c
45533 ac_cpp='$CPP $CPPFLAGS'
45534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45537
45538
45539 fi
45540
45541 fi
45542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45543 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45544
45545 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45546 for ac_func in _frexpl
45547 do :
45548 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45549 if test "x$ac_cv_func__frexpl" = x""yes; then :
45550 cat >>confdefs.h <<_ACEOF
45551 #define HAVE__FREXPL 1
45552 _ACEOF
45553
45554 fi
45555 done
45556
45557 fi
45558 fi
45559
45560
45561
45562
45563
45564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45565 $as_echo_n "checking for hypotl declaration... " >&6; }
45566 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45567 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45568 $as_echo_n "(cached) " >&6
45569 else
45570
45571
45572 ac_ext=cpp
45573 ac_cpp='$CXXCPP $CPPFLAGS'
45574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45577
45578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45579 /* end confdefs.h. */
45580 #include <math.h>
45581 int
45582 main ()
45583 {
45584 hypotl(0, 0);
45585 ;
45586 return 0;
45587 }
45588 _ACEOF
45589 if ac_fn_cxx_try_compile "$LINENO"; then :
45590 glibcxx_cv_func_hypotl_use=yes
45591 else
45592 glibcxx_cv_func_hypotl_use=no
45593 fi
45594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45595 ac_ext=c
45596 ac_cpp='$CPP $CPPFLAGS'
45597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45600
45601
45602 fi
45603
45604 fi
45605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45606 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45607
45608 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45609 for ac_func in hypotl
45610 do :
45611 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45612 if test "x$ac_cv_func_hypotl" = x""yes; then :
45613 cat >>confdefs.h <<_ACEOF
45614 #define HAVE_HYPOTL 1
45615 _ACEOF
45616
45617 fi
45618 done
45619
45620 else
45621
45622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45623 $as_echo_n "checking for _hypotl declaration... " >&6; }
45624 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45625 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45626 $as_echo_n "(cached) " >&6
45627 else
45628
45629
45630 ac_ext=cpp
45631 ac_cpp='$CXXCPP $CPPFLAGS'
45632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45635
45636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45637 /* end confdefs.h. */
45638 #include <math.h>
45639 int
45640 main ()
45641 {
45642 _hypotl(0, 0);
45643 ;
45644 return 0;
45645 }
45646 _ACEOF
45647 if ac_fn_cxx_try_compile "$LINENO"; then :
45648 glibcxx_cv_func__hypotl_use=yes
45649 else
45650 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
45664 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45665
45666 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45667 for ac_func in _hypotl
45668 do :
45669 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45670 if test "x$ac_cv_func__hypotl" = x""yes; then :
45671 cat >>confdefs.h <<_ACEOF
45672 #define HAVE__HYPOTL 1
45673 _ACEOF
45674
45675 fi
45676 done
45677
45678 fi
45679 fi
45680
45681
45682
45683
45684
45685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45686 $as_echo_n "checking for ldexpl declaration... " >&6; }
45687 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45688 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45689 $as_echo_n "(cached) " >&6
45690 else
45691
45692
45693 ac_ext=cpp
45694 ac_cpp='$CXXCPP $CPPFLAGS'
45695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698
45699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700 /* end confdefs.h. */
45701 #include <math.h>
45702 int
45703 main ()
45704 {
45705 ldexpl(0, 0);
45706 ;
45707 return 0;
45708 }
45709 _ACEOF
45710 if ac_fn_cxx_try_compile "$LINENO"; then :
45711 glibcxx_cv_func_ldexpl_use=yes
45712 else
45713 glibcxx_cv_func_ldexpl_use=no
45714 fi
45715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45716 ac_ext=c
45717 ac_cpp='$CPP $CPPFLAGS'
45718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45721
45722
45723 fi
45724
45725 fi
45726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45727 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45728
45729 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45730 for ac_func in ldexpl
45731 do :
45732 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45733 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45734 cat >>confdefs.h <<_ACEOF
45735 #define HAVE_LDEXPL 1
45736 _ACEOF
45737
45738 fi
45739 done
45740
45741 else
45742
45743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45744 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45745 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45746 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45747 $as_echo_n "(cached) " >&6
45748 else
45749
45750
45751 ac_ext=cpp
45752 ac_cpp='$CXXCPP $CPPFLAGS'
45753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45756
45757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45758 /* end confdefs.h. */
45759 #include <math.h>
45760 int
45761 main ()
45762 {
45763 _ldexpl(0, 0);
45764 ;
45765 return 0;
45766 }
45767 _ACEOF
45768 if ac_fn_cxx_try_compile "$LINENO"; then :
45769 glibcxx_cv_func__ldexpl_use=yes
45770 else
45771 glibcxx_cv_func__ldexpl_use=no
45772 fi
45773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45774 ac_ext=c
45775 ac_cpp='$CPP $CPPFLAGS'
45776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45779
45780
45781 fi
45782
45783 fi
45784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45785 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45786
45787 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45788 for ac_func in _ldexpl
45789 do :
45790 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45791 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45792 cat >>confdefs.h <<_ACEOF
45793 #define HAVE__LDEXPL 1
45794 _ACEOF
45795
45796 fi
45797 done
45798
45799 fi
45800 fi
45801
45802
45803
45804
45805
45806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45807 $as_echo_n "checking for logl declaration... " >&6; }
45808 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45809 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45810 $as_echo_n "(cached) " >&6
45811 else
45812
45813
45814 ac_ext=cpp
45815 ac_cpp='$CXXCPP $CPPFLAGS'
45816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45819
45820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45821 /* end confdefs.h. */
45822 #include <math.h>
45823 #ifdef HAVE_IEEEFP_H
45824 #include <ieeefp.h>
45825 #endif
45826
45827 int
45828 main ()
45829 {
45830 logl(0);
45831 ;
45832 return 0;
45833 }
45834 _ACEOF
45835 if ac_fn_cxx_try_compile "$LINENO"; then :
45836 glibcxx_cv_func_logl_use=yes
45837 else
45838 glibcxx_cv_func_logl_use=no
45839 fi
45840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841 ac_ext=c
45842 ac_cpp='$CPP $CPPFLAGS'
45843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846
45847
45848 fi
45849
45850 fi
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45852 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45853
45854 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45855 for ac_func in logl
45856 do :
45857 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45858 if test "x$ac_cv_func_logl" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE_LOGL 1
45861 _ACEOF
45862
45863 fi
45864 done
45865
45866 else
45867
45868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45869 $as_echo_n "checking for _logl declaration... " >&6; }
45870 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45871 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45872 $as_echo_n "(cached) " >&6
45873 else
45874
45875
45876 ac_ext=cpp
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45881
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45884 #include <math.h>
45885 #ifdef HAVE_IEEEFP_H
45886 #include <ieeefp.h>
45887 #endif
45888
45889 int
45890 main ()
45891 {
45892 _logl(0);
45893 ;
45894 return 0;
45895 }
45896 _ACEOF
45897 if ac_fn_cxx_try_compile "$LINENO"; then :
45898 glibcxx_cv_func__logl_use=yes
45899 else
45900 glibcxx_cv_func__logl_use=no
45901 fi
45902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45903 ac_ext=c
45904 ac_cpp='$CPP $CPPFLAGS'
45905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45908
45909
45910 fi
45911
45912 fi
45913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45914 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45915
45916 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45917 for ac_func in _logl
45918 do :
45919 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45920 if test "x$ac_cv_func__logl" = x""yes; then :
45921 cat >>confdefs.h <<_ACEOF
45922 #define HAVE__LOGL 1
45923 _ACEOF
45924
45925 fi
45926 done
45927
45928 fi
45929 fi
45930
45931
45932
45933
45934
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45936 $as_echo_n "checking for log10l declaration... " >&6; }
45937 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45938 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45941
45942
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45952 #ifdef HAVE_IEEEFP_H
45953 #include <ieeefp.h>
45954 #endif
45955
45956 int
45957 main ()
45958 {
45959 log10l(0);
45960 ;
45961 return 0;
45962 }
45963 _ACEOF
45964 if ac_fn_cxx_try_compile "$LINENO"; then :
45965 glibcxx_cv_func_log10l_use=yes
45966 else
45967 glibcxx_cv_func_log10l_use=no
45968 fi
45969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45970 ac_ext=c
45971 ac_cpp='$CPP $CPPFLAGS'
45972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45975
45976
45977 fi
45978
45979 fi
45980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45981 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45982
45983 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45984 for ac_func in log10l
45985 do :
45986 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45987 if test "x$ac_cv_func_log10l" = x""yes; then :
45988 cat >>confdefs.h <<_ACEOF
45989 #define HAVE_LOG10L 1
45990 _ACEOF
45991
45992 fi
45993 done
45994
45995 else
45996
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45998 $as_echo_n "checking for _log10l declaration... " >&6; }
45999 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46000 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
46015 #include <ieeefp.h>
46016 #endif
46017
46018 int
46019 main ()
46020 {
46021 _log10l(0);
46022 ;
46023 return 0;
46024 }
46025 _ACEOF
46026 if ac_fn_cxx_try_compile "$LINENO"; then :
46027 glibcxx_cv_func__log10l_use=yes
46028 else
46029 glibcxx_cv_func__log10l_use=no
46030 fi
46031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46032 ac_ext=c
46033 ac_cpp='$CPP $CPPFLAGS'
46034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46037
46038
46039 fi
46040
46041 fi
46042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46043 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46044
46045 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46046 for ac_func in _log10l
46047 do :
46048 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46049 if test "x$ac_cv_func__log10l" = x""yes; then :
46050 cat >>confdefs.h <<_ACEOF
46051 #define HAVE__LOG10L 1
46052 _ACEOF
46053
46054 fi
46055 done
46056
46057 fi
46058 fi
46059
46060
46061
46062
46063
46064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46065 $as_echo_n "checking for modfl declaration... " >&6; }
46066 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46067 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46068 $as_echo_n "(cached) " >&6
46069 else
46070
46071
46072 ac_ext=cpp
46073 ac_cpp='$CXXCPP $CPPFLAGS'
46074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46077
46078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h. */
46080 #include <math.h>
46081 int
46082 main ()
46083 {
46084 modfl(0, 0);
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func_modfl_use=yes
46091 else
46092 glibcxx_cv_func_modfl_use=no
46093 fi
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095 ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46100
46101
46102 fi
46103
46104 fi
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46106 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46107
46108 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46109 for ac_func in modfl
46110 do :
46111 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46112 if test "x$ac_cv_func_modfl" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE_MODFL 1
46115 _ACEOF
46116
46117 fi
46118 done
46119
46120 else
46121
46122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46123 $as_echo_n "checking for _modfl declaration... " >&6; }
46124 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46125 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46126 $as_echo_n "(cached) " >&6
46127 else
46128
46129
46130 ac_ext=cpp
46131 ac_cpp='$CXXCPP $CPPFLAGS'
46132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46135
46136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46137 /* end confdefs.h. */
46138 #include <math.h>
46139 int
46140 main ()
46141 {
46142 _modfl(0, 0);
46143 ;
46144 return 0;
46145 }
46146 _ACEOF
46147 if ac_fn_cxx_try_compile "$LINENO"; then :
46148 glibcxx_cv_func__modfl_use=yes
46149 else
46150 glibcxx_cv_func__modfl_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__modfl_use" >&5
46164 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46165
46166 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46167 for ac_func in _modfl
46168 do :
46169 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46170 if test "x$ac_cv_func__modfl" = x""yes; then :
46171 cat >>confdefs.h <<_ACEOF
46172 #define HAVE__MODFL 1
46173 _ACEOF
46174
46175 fi
46176 done
46177
46178 fi
46179 fi
46180
46181
46182
46183
46184
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46186 $as_echo_n "checking for powl declaration... " >&6; }
46187 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46188 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46189 $as_echo_n "(cached) " >&6
46190 else
46191
46192
46193 ac_ext=cpp
46194 ac_cpp='$CXXCPP $CPPFLAGS'
46195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46198
46199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46200 /* end confdefs.h. */
46201 #include <math.h>
46202 int
46203 main ()
46204 {
46205 powl(0, 0);
46206 ;
46207 return 0;
46208 }
46209 _ACEOF
46210 if ac_fn_cxx_try_compile "$LINENO"; then :
46211 glibcxx_cv_func_powl_use=yes
46212 else
46213 glibcxx_cv_func_powl_use=no
46214 fi
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216 ac_ext=c
46217 ac_cpp='$CPP $CPPFLAGS'
46218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46221
46222
46223 fi
46224
46225 fi
46226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46227 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46228
46229 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46230 for ac_func in powl
46231 do :
46232 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46233 if test "x$ac_cv_func_powl" = x""yes; then :
46234 cat >>confdefs.h <<_ACEOF
46235 #define HAVE_POWL 1
46236 _ACEOF
46237
46238 fi
46239 done
46240
46241 else
46242
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46244 $as_echo_n "checking for _powl declaration... " >&6; }
46245 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46246 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46247 $as_echo_n "(cached) " >&6
46248 else
46249
46250
46251 ac_ext=cpp
46252 ac_cpp='$CXXCPP $CPPFLAGS'
46253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46256
46257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46258 /* end confdefs.h. */
46259 #include <math.h>
46260 int
46261 main ()
46262 {
46263 _powl(0, 0);
46264 ;
46265 return 0;
46266 }
46267 _ACEOF
46268 if ac_fn_cxx_try_compile "$LINENO"; then :
46269 glibcxx_cv_func__powl_use=yes
46270 else
46271 glibcxx_cv_func__powl_use=no
46272 fi
46273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46274 ac_ext=c
46275 ac_cpp='$CPP $CPPFLAGS'
46276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46279
46280
46281 fi
46282
46283 fi
46284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46285 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46286
46287 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46288 for ac_func in _powl
46289 do :
46290 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46291 if test "x$ac_cv_func__powl" = x""yes; then :
46292 cat >>confdefs.h <<_ACEOF
46293 #define HAVE__POWL 1
46294 _ACEOF
46295
46296 fi
46297 done
46298
46299 fi
46300 fi
46301
46302
46303
46304
46305
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46307 $as_echo_n "checking for sqrtl declaration... " >&6; }
46308 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46309 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46310 $as_echo_n "(cached) " >&6
46311 else
46312
46313
46314 ac_ext=cpp
46315 ac_cpp='$CXXCPP $CPPFLAGS'
46316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46319
46320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46321 /* end confdefs.h. */
46322 #include <math.h>
46323 #ifdef HAVE_IEEEFP_H
46324 #include <ieeefp.h>
46325 #endif
46326
46327 int
46328 main ()
46329 {
46330 sqrtl(0);
46331 ;
46332 return 0;
46333 }
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func_sqrtl_use=yes
46337 else
46338 glibcxx_cv_func_sqrtl_use=no
46339 fi
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46346
46347
46348 fi
46349
46350 fi
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46352 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46353
46354 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46355 for ac_func in sqrtl
46356 do :
46357 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46358 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE_SQRTL 1
46361 _ACEOF
46362
46363 fi
46364 done
46365
46366 else
46367
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46369 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46370 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46371 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
46393 ;
46394 return 0;
46395 }
46396 _ACEOF
46397 if ac_fn_cxx_try_compile "$LINENO"; then :
46398 glibcxx_cv_func__sqrtl_use=yes
46399 else
46400 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
46414 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46415
46416 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46417 for ac_func in _sqrtl
46418 do :
46419 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46420 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46421 cat >>confdefs.h <<_ACEOF
46422 #define HAVE__SQRTL 1
46423 _ACEOF
46424
46425 fi
46426 done
46427
46428 fi
46429 fi
46430
46431
46432
46433
46434
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46436 $as_echo_n "checking for sincosl declaration... " >&6; }
46437 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46438 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46441
46442
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46452 int
46453 main ()
46454 {
46455 sincosl(0, 0, 0);
46456 ;
46457 return 0;
46458 }
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461 glibcxx_cv_func_sincosl_use=yes
46462 else
46463 glibcxx_cv_func_sincosl_use=no
46464 fi
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466 ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46471
46472
46473 fi
46474
46475 fi
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46477 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46478
46479 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46480 for ac_func in sincosl
46481 do :
46482 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46483 if test "x$ac_cv_func_sincosl" = x""yes; then :
46484 cat >>confdefs.h <<_ACEOF
46485 #define HAVE_SINCOSL 1
46486 _ACEOF
46487
46488 fi
46489 done
46490
46491 else
46492
46493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46494 $as_echo_n "checking for _sincosl declaration... " >&6; }
46495 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46496 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46497 $as_echo_n "(cached) " >&6
46498 else
46499
46500
46501 ac_ext=cpp
46502 ac_cpp='$CXXCPP $CPPFLAGS'
46503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46506
46507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46508 /* end confdefs.h. */
46509 #include <math.h>
46510 int
46511 main ()
46512 {
46513 _sincosl(0, 0, 0);
46514 ;
46515 return 0;
46516 }
46517 _ACEOF
46518 if ac_fn_cxx_try_compile "$LINENO"; then :
46519 glibcxx_cv_func__sincosl_use=yes
46520 else
46521 glibcxx_cv_func__sincosl_use=no
46522 fi
46523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46524 ac_ext=c
46525 ac_cpp='$CPP $CPPFLAGS'
46526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46529
46530
46531 fi
46532
46533 fi
46534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46535 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46536
46537 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46538 for ac_func in _sincosl
46539 do :
46540 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46541 if test "x$ac_cv_func__sincosl" = x""yes; then :
46542 cat >>confdefs.h <<_ACEOF
46543 #define HAVE__SINCOSL 1
46544 _ACEOF
46545
46546 fi
46547 done
46548
46549 fi
46550 fi
46551
46552
46553
46554
46555
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46557 $as_echo_n "checking for finitel declaration... " >&6; }
46558 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46559 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46562
46563
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46569
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <math.h>
46573 #ifdef HAVE_IEEEFP_H
46574 #include <ieeefp.h>
46575 #endif
46576
46577 int
46578 main ()
46579 {
46580 finitel(0);
46581 ;
46582 return 0;
46583 }
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func_finitel_use=yes
46587 else
46588 glibcxx_cv_func_finitel_use=no
46589 fi
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46596
46597
46598 fi
46599
46600 fi
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46602 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46603
46604 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46605 for ac_func in finitel
46606 do :
46607 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46608 if test "x$ac_cv_func_finitel" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE_FINITEL 1
46611 _ACEOF
46612
46613 fi
46614 done
46615
46616 else
46617
46618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46619 $as_echo_n "checking for _finitel declaration... " >&6; }
46620 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46621 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46622 $as_echo_n "(cached) " >&6
46623 else
46624
46625
46626 ac_ext=cpp
46627 ac_cpp='$CXXCPP $CPPFLAGS'
46628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46631
46632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46633 /* end confdefs.h. */
46634 #include <math.h>
46635 #ifdef HAVE_IEEEFP_H
46636 #include <ieeefp.h>
46637 #endif
46638
46639 int
46640 main ()
46641 {
46642 _finitel(0);
46643 ;
46644 return 0;
46645 }
46646 _ACEOF
46647 if ac_fn_cxx_try_compile "$LINENO"; then :
46648 glibcxx_cv_func__finitel_use=yes
46649 else
46650 glibcxx_cv_func__finitel_use=no
46651 fi
46652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46653 ac_ext=c
46654 ac_cpp='$CPP $CPPFLAGS'
46655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46658
46659
46660 fi
46661
46662 fi
46663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46664 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46665
46666 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46667 for ac_func in _finitel
46668 do :
46669 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46670 if test "x$ac_cv_func__finitel" = x""yes; then :
46671 cat >>confdefs.h <<_ACEOF
46672 #define HAVE__FINITEL 1
46673 _ACEOF
46674
46675 fi
46676 done
46677
46678 fi
46679 fi
46680
46681
46682
46683
46684 LIBS="$ac_save_LIBS"
46685 CXXFLAGS="$ac_save_CXXFLAGS"
46686
46687
46688 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46689 ac_save_CXXFLAGS="$CXXFLAGS"
46690 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46691
46692
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46694 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46695 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46696 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46697 $as_echo_n "(cached) " >&6
46698 else
46699
46700
46701 ac_ext=cpp
46702 ac_cpp='$CXXCPP $CPPFLAGS'
46703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46706
46707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46708 /* end confdefs.h. */
46709 #include <stdlib.h>
46710 int
46711 main ()
46712 {
46713 at_quick_exit(0);
46714 ;
46715 return 0;
46716 }
46717 _ACEOF
46718 if ac_fn_cxx_try_compile "$LINENO"; then :
46719 glibcxx_cv_func_at_quick_exit_use=yes
46720 else
46721 glibcxx_cv_func_at_quick_exit_use=no
46722 fi
46723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46724 ac_ext=c
46725 ac_cpp='$CPP $CPPFLAGS'
46726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46729
46730
46731 fi
46732
46733 fi
46734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46735 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46736 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46737 for ac_func in at_quick_exit
46738 do :
46739 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46740 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46741 cat >>confdefs.h <<_ACEOF
46742 #define HAVE_AT_QUICK_EXIT 1
46743 _ACEOF
46744
46745 fi
46746 done
46747
46748 fi
46749
46750
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46752 $as_echo_n "checking for quick_exit declaration... " >&6; }
46753 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46754 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46755 $as_echo_n "(cached) " >&6
46756 else
46757
46758
46759 ac_ext=cpp
46760 ac_cpp='$CXXCPP $CPPFLAGS'
46761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46764
46765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46766 /* end confdefs.h. */
46767 #include <stdlib.h>
46768 int
46769 main ()
46770 {
46771 quick_exit(0);
46772 ;
46773 return 0;
46774 }
46775 _ACEOF
46776 if ac_fn_cxx_try_compile "$LINENO"; then :
46777 glibcxx_cv_func_quick_exit_use=yes
46778 else
46779 glibcxx_cv_func_quick_exit_use=no
46780 fi
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46787
46788
46789 fi
46790
46791 fi
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46793 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46794 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46795 for ac_func in quick_exit
46796 do :
46797 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46798 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46799 cat >>confdefs.h <<_ACEOF
46800 #define HAVE_QUICK_EXIT 1
46801 _ACEOF
46802
46803 fi
46804 done
46805
46806 fi
46807
46808
46809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46810 $as_echo_n "checking for strtold declaration... " >&6; }
46811 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46812 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46813 $as_echo_n "(cached) " >&6
46814 else
46815
46816
46817 ac_ext=cpp
46818 ac_cpp='$CXXCPP $CPPFLAGS'
46819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46822
46823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46824 /* end confdefs.h. */
46825 #include <stdlib.h>
46826 int
46827 main ()
46828 {
46829 strtold(0, 0);
46830 ;
46831 return 0;
46832 }
46833 _ACEOF
46834 if ac_fn_cxx_try_compile "$LINENO"; then :
46835 glibcxx_cv_func_strtold_use=yes
46836 else
46837 glibcxx_cv_func_strtold_use=no
46838 fi
46839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46840 ac_ext=c
46841 ac_cpp='$CPP $CPPFLAGS'
46842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46845
46846
46847 fi
46848
46849 fi
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46851 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46852 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46853 for ac_func in strtold
46854 do :
46855 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46856 if test "x$ac_cv_func_strtold" = x""yes; then :
46857 cat >>confdefs.h <<_ACEOF
46858 #define HAVE_STRTOLD 1
46859 _ACEOF
46860
46861 fi
46862 done
46863
46864 fi
46865
46866
46867
46868
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46870 $as_echo_n "checking for strtof declaration... " >&6; }
46871 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46872 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46875
46876
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <stdlib.h>
46886 int
46887 main ()
46888 {
46889 strtof(0, 0);
46890 ;
46891 return 0;
46892 }
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func_strtof_use=yes
46896 else
46897 glibcxx_cv_func_strtof_use=no
46898 fi
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46905
46906
46907 fi
46908
46909 fi
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46911 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46912 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46913 for ac_func in strtof
46914 do :
46915 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46916 if test "x$ac_cv_func_strtof" = x""yes; then :
46917 cat >>confdefs.h <<_ACEOF
46918 #define HAVE_STRTOF 1
46919 _ACEOF
46920
46921 fi
46922 done
46923
46924 fi
46925
46926
46927
46928
46929 CXXFLAGS="$ac_save_CXXFLAGS"
46930
46931 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46932
46933 # We don't yet support AIX's TLS ABI.
46934 #GCC_CHECK_TLS
46935
46936
46937
46938
46939
46940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46941 $as_echo_n "checking for iconv... " >&6; }
46942 if test "${am_cv_func_iconv+set}" = set; then :
46943 $as_echo_n "(cached) " >&6
46944 else
46945
46946 am_cv_func_iconv="no, consider installing GNU libiconv"
46947 am_cv_lib_iconv=no
46948 am_save_CPPFLAGS="$CPPFLAGS"
46949 CPPFLAGS="$CPPFLAGS $INCICONV"
46950 if test x$gcc_no_link = xyes; then
46951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46952 fi
46953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46954 /* end confdefs.h. */
46955 #include <stdlib.h>
46956 #include <iconv.h>
46957 int
46958 main ()
46959 {
46960 iconv_t cd = iconv_open("","");
46961 iconv(cd,NULL,NULL,NULL,NULL);
46962 iconv_close(cd);
46963 ;
46964 return 0;
46965 }
46966 _ACEOF
46967 if ac_fn_c_try_link "$LINENO"; then :
46968 am_cv_func_iconv=yes
46969 fi
46970 rm -f core conftest.err conftest.$ac_objext \
46971 conftest$ac_exeext conftest.$ac_ext
46972 CPPFLAGS="$am_save_CPPFLAGS"
46973
46974 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46975 for _libs in .libs _libs; do
46976 am_save_CPPFLAGS="$CPPFLAGS"
46977 am_save_LIBS="$LIBS"
46978 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46979 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46980 if test x$gcc_no_link = xyes; then
46981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46982 fi
46983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46984 /* end confdefs.h. */
46985 #include <stdlib.h>
46986 #include <iconv.h>
46987 int
46988 main ()
46989 {
46990 iconv_t cd = iconv_open("","");
46991 iconv(cd,NULL,NULL,NULL,NULL);
46992 iconv_close(cd);
46993 ;
46994 return 0;
46995 }
46996 _ACEOF
46997 if ac_fn_c_try_link "$LINENO"; then :
46998 INCICONV="-I../libiconv/include"
46999 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47000 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47001 am_cv_lib_iconv=yes
47002 am_cv_func_iconv=yes
47003 fi
47004 rm -f core conftest.err conftest.$ac_objext \
47005 conftest$ac_exeext conftest.$ac_ext
47006 CPPFLAGS="$am_save_CPPFLAGS"
47007 LIBS="$am_save_LIBS"
47008 if test "$am_cv_func_iconv" = "yes"; then
47009 break
47010 fi
47011 done
47012 fi
47013
47014 if test "$am_cv_func_iconv" != yes; then
47015 am_save_CPPFLAGS="$CPPFLAGS"
47016 am_save_LIBS="$LIBS"
47017 CPPFLAGS="$LIBS $INCICONV"
47018 LIBS="$LIBS $LIBICONV"
47019 if test x$gcc_no_link = xyes; then
47020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47021 fi
47022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h. */
47024 #include <stdlib.h>
47025 #include <iconv.h>
47026 int
47027 main ()
47028 {
47029 iconv_t cd = iconv_open("","");
47030 iconv(cd,NULL,NULL,NULL,NULL);
47031 iconv_close(cd);
47032 ;
47033 return 0;
47034 }
47035 _ACEOF
47036 if ac_fn_c_try_link "$LINENO"; then :
47037 am_cv_lib_iconv=yes
47038 am_cv_func_iconv=yes
47039 fi
47040 rm -f core conftest.err conftest.$ac_objext \
47041 conftest$ac_exeext conftest.$ac_ext
47042 CPPFLAGS="$am_save_CPPFLAGS"
47043 LIBS="$am_save_LIBS"
47044 fi
47045
47046 fi
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47048 $as_echo "$am_cv_func_iconv" >&6; }
47049 if test "$am_cv_func_iconv" = yes; then
47050
47051 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47052
47053 fi
47054 if test "$am_cv_lib_iconv" = yes; then
47055
47056 for element in $INCICONV; do
47057 haveit=
47058 for x in $CPPFLAGS; do
47059
47060 acl_save_prefix="$prefix"
47061 prefix="$acl_final_prefix"
47062 acl_save_exec_prefix="$exec_prefix"
47063 exec_prefix="$acl_final_exec_prefix"
47064 eval x=\"$x\"
47065 exec_prefix="$acl_save_exec_prefix"
47066 prefix="$acl_save_prefix"
47067
47068 if test "X$x" = "X$element"; then
47069 haveit=yes
47070 break
47071 fi
47072 done
47073 if test -z "$haveit"; then
47074 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47075 fi
47076 done
47077
47078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47079 $as_echo_n "checking how to link with libiconv... " >&6; }
47080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47081 $as_echo "$LIBICONV" >&6; }
47082 else
47083 LIBICONV=
47084 LTLIBICONV=
47085 fi
47086
47087
47088
47089 if test "$am_cv_func_iconv" = yes; then
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47091 $as_echo_n "checking for iconv declaration... " >&6; }
47092 if test "${am_cv_proto_iconv+set}" = set; then :
47093 $as_echo_n "(cached) " >&6
47094 else
47095
47096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h. */
47098
47099 #include <stdlib.h>
47100 #include <iconv.h>
47101 extern
47102 #ifdef __cplusplus
47103 "C"
47104 #endif
47105 #if defined(__STDC__) || defined(__cplusplus)
47106 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47107 #else
47108 size_t iconv();
47109 #endif
47110
47111 int
47112 main ()
47113 {
47114
47115 ;
47116 return 0;
47117 }
47118 _ACEOF
47119 if ac_fn_c_try_compile "$LINENO"; then :
47120 am_cv_proto_iconv_arg1=""
47121 else
47122 am_cv_proto_iconv_arg1="const"
47123 fi
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 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);"
47126 fi
47127
47128 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47130 }$am_cv_proto_iconv" >&5
47131 $as_echo "${ac_t:-
47132 }$am_cv_proto_iconv" >&6; }
47133
47134 cat >>confdefs.h <<_ACEOF
47135 #define ICONV_CONST $am_cv_proto_iconv_arg1
47136 _ACEOF
47137
47138 fi
47139
47140 ;;
47141
47142 *-darwin*)
47143 # Darwin versions vary, but the linker should work in a cross environment,
47144 # so we just check for all the features here.
47145 # Check for available headers.
47146
47147 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47148
47149 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47150 ac_save_CXXFLAGS="$CXXFLAGS"
47151 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47152
47153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47154 $as_echo_n "checking for sin in -lm... " >&6; }
47155 if test "${ac_cv_lib_m_sin+set}" = set; then :
47156 $as_echo_n "(cached) " >&6
47157 else
47158 ac_check_lib_save_LIBS=$LIBS
47159 LIBS="-lm $LIBS"
47160 if test x$gcc_no_link = xyes; then
47161 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47162 fi
47163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47164 /* end confdefs.h. */
47165
47166 /* Override any GCC internal prototype to avoid an error.
47167 Use char because int might match the return type of a GCC
47168 builtin and then its argument prototype would still apply. */
47169 #ifdef __cplusplus
47170 extern "C"
47171 #endif
47172 char sin ();
47173 int
47174 main ()
47175 {
47176 return sin ();
47177 ;
47178 return 0;
47179 }
47180 _ACEOF
47181 if ac_fn_c_try_link "$LINENO"; then :
47182 ac_cv_lib_m_sin=yes
47183 else
47184 ac_cv_lib_m_sin=no
47185 fi
47186 rm -f core conftest.err conftest.$ac_objext \
47187 conftest$ac_exeext conftest.$ac_ext
47188 LIBS=$ac_check_lib_save_LIBS
47189 fi
47190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47191 $as_echo "$ac_cv_lib_m_sin" >&6; }
47192 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47193 libm="-lm"
47194 fi
47195
47196 ac_save_LIBS="$LIBS"
47197 LIBS="$LIBS $libm"
47198
47199
47200
47201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47202 $as_echo_n "checking for isinf declaration... " >&6; }
47203 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47204 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47205 $as_echo_n "(cached) " >&6
47206 else
47207
47208
47209 ac_ext=cpp
47210 ac_cpp='$CXXCPP $CPPFLAGS'
47211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47214
47215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47216 /* end confdefs.h. */
47217 #include <math.h>
47218 #ifdef HAVE_IEEEFP_H
47219 #include <ieeefp.h>
47220 #endif
47221
47222 int
47223 main ()
47224 {
47225 isinf(0);
47226 ;
47227 return 0;
47228 }
47229 _ACEOF
47230 if ac_fn_cxx_try_compile "$LINENO"; then :
47231 glibcxx_cv_func_isinf_use=yes
47232 else
47233 glibcxx_cv_func_isinf_use=no
47234 fi
47235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47236 ac_ext=c
47237 ac_cpp='$CPP $CPPFLAGS'
47238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47241
47242
47243 fi
47244
47245 fi
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47247 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47248
47249 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47250 for ac_func in isinf
47251 do :
47252 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47253 if test "x$ac_cv_func_isinf" = x""yes; then :
47254 cat >>confdefs.h <<_ACEOF
47255 #define HAVE_ISINF 1
47256 _ACEOF
47257
47258 fi
47259 done
47260
47261 else
47262
47263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47264 $as_echo_n "checking for _isinf declaration... " >&6; }
47265 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47266 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47267 $as_echo_n "(cached) " >&6
47268 else
47269
47270
47271 ac_ext=cpp
47272 ac_cpp='$CXXCPP $CPPFLAGS'
47273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47276
47277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47278 /* end confdefs.h. */
47279 #include <math.h>
47280 #ifdef HAVE_IEEEFP_H
47281 #include <ieeefp.h>
47282 #endif
47283
47284 int
47285 main ()
47286 {
47287 _isinf(0);
47288 ;
47289 return 0;
47290 }
47291 _ACEOF
47292 if ac_fn_cxx_try_compile "$LINENO"; then :
47293 glibcxx_cv_func__isinf_use=yes
47294 else
47295 glibcxx_cv_func__isinf_use=no
47296 fi
47297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47298 ac_ext=c
47299 ac_cpp='$CPP $CPPFLAGS'
47300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47303
47304
47305 fi
47306
47307 fi
47308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47309 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47310
47311 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47312 for ac_func in _isinf
47313 do :
47314 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47315 if test "x$ac_cv_func__isinf" = x""yes; then :
47316 cat >>confdefs.h <<_ACEOF
47317 #define HAVE__ISINF 1
47318 _ACEOF
47319
47320 fi
47321 done
47322
47323 fi
47324 fi
47325
47326
47327
47328
47329
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47331 $as_echo_n "checking for isnan declaration... " >&6; }
47332 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47333 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47334 $as_echo_n "(cached) " >&6
47335 else
47336
47337
47338 ac_ext=cpp
47339 ac_cpp='$CXXCPP $CPPFLAGS'
47340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47343
47344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47345 /* end confdefs.h. */
47346 #include <math.h>
47347 #ifdef HAVE_IEEEFP_H
47348 #include <ieeefp.h>
47349 #endif
47350
47351 int
47352 main ()
47353 {
47354 isnan(0);
47355 ;
47356 return 0;
47357 }
47358 _ACEOF
47359 if ac_fn_cxx_try_compile "$LINENO"; then :
47360 glibcxx_cv_func_isnan_use=yes
47361 else
47362 glibcxx_cv_func_isnan_use=no
47363 fi
47364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365 ac_ext=c
47366 ac_cpp='$CPP $CPPFLAGS'
47367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47370
47371
47372 fi
47373
47374 fi
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47376 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47377
47378 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47379 for ac_func in isnan
47380 do :
47381 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47382 if test "x$ac_cv_func_isnan" = x""yes; then :
47383 cat >>confdefs.h <<_ACEOF
47384 #define HAVE_ISNAN 1
47385 _ACEOF
47386
47387 fi
47388 done
47389
47390 else
47391
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47393 $as_echo_n "checking for _isnan declaration... " >&6; }
47394 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47395 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47396 $as_echo_n "(cached) " >&6
47397 else
47398
47399
47400 ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47405
47406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h. */
47408 #include <math.h>
47409 #ifdef HAVE_IEEEFP_H
47410 #include <ieeefp.h>
47411 #endif
47412
47413 int
47414 main ()
47415 {
47416 _isnan(0);
47417 ;
47418 return 0;
47419 }
47420 _ACEOF
47421 if ac_fn_cxx_try_compile "$LINENO"; then :
47422 glibcxx_cv_func__isnan_use=yes
47423 else
47424 glibcxx_cv_func__isnan_use=no
47425 fi
47426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47427 ac_ext=c
47428 ac_cpp='$CPP $CPPFLAGS'
47429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47432
47433
47434 fi
47435
47436 fi
47437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47438 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47439
47440 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47441 for ac_func in _isnan
47442 do :
47443 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47444 if test "x$ac_cv_func__isnan" = x""yes; then :
47445 cat >>confdefs.h <<_ACEOF
47446 #define HAVE__ISNAN 1
47447 _ACEOF
47448
47449 fi
47450 done
47451
47452 fi
47453 fi
47454
47455
47456
47457
47458
47459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47460 $as_echo_n "checking for finite declaration... " >&6; }
47461 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47462 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47463 $as_echo_n "(cached) " >&6
47464 else
47465
47466
47467 ac_ext=cpp
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47472
47473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474 /* end confdefs.h. */
47475 #include <math.h>
47476 #ifdef HAVE_IEEEFP_H
47477 #include <ieeefp.h>
47478 #endif
47479
47480 int
47481 main ()
47482 {
47483 finite(0);
47484 ;
47485 return 0;
47486 }
47487 _ACEOF
47488 if ac_fn_cxx_try_compile "$LINENO"; then :
47489 glibcxx_cv_func_finite_use=yes
47490 else
47491 glibcxx_cv_func_finite_use=no
47492 fi
47493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47494 ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47499
47500
47501 fi
47502
47503 fi
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47505 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47506
47507 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47508 for ac_func in finite
47509 do :
47510 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47511 if test "x$ac_cv_func_finite" = x""yes; then :
47512 cat >>confdefs.h <<_ACEOF
47513 #define HAVE_FINITE 1
47514 _ACEOF
47515
47516 fi
47517 done
47518
47519 else
47520
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47522 $as_echo_n "checking for _finite declaration... " >&6; }
47523 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47524 if test "${glibcxx_cv_func__finite_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 _finite(0);
47546 ;
47547 return 0;
47548 }
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func__finite_use=yes
47552 else
47553 glibcxx_cv_func__finite_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__finite_use" >&5
47567 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47568
47569 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47570 for ac_func in _finite
47571 do :
47572 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47573 if test "x$ac_cv_func__finite" = x""yes; then :
47574 cat >>confdefs.h <<_ACEOF
47575 #define HAVE__FINITE 1
47576 _ACEOF
47577
47578 fi
47579 done
47580
47581 fi
47582 fi
47583
47584
47585
47586
47587
47588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47589 $as_echo_n "checking for sincos declaration... " >&6; }
47590 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47591 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47592 $as_echo_n "(cached) " >&6
47593 else
47594
47595
47596 ac_ext=cpp
47597 ac_cpp='$CXXCPP $CPPFLAGS'
47598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47601
47602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47603 /* end confdefs.h. */
47604 #include <math.h>
47605 int
47606 main ()
47607 {
47608 sincos(0, 0, 0);
47609 ;
47610 return 0;
47611 }
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614 glibcxx_cv_func_sincos_use=yes
47615 else
47616 glibcxx_cv_func_sincos_use=no
47617 fi
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624
47625
47626 fi
47627
47628 fi
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47630 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47631
47632 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47633 for ac_func in sincos
47634 do :
47635 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47636 if test "x$ac_cv_func_sincos" = x""yes; then :
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE_SINCOS 1
47639 _ACEOF
47640
47641 fi
47642 done
47643
47644 else
47645
47646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47647 $as_echo_n "checking for _sincos declaration... " >&6; }
47648 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47649 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47650 $as_echo_n "(cached) " >&6
47651 else
47652
47653
47654 ac_ext=cpp
47655 ac_cpp='$CXXCPP $CPPFLAGS'
47656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47659
47660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47661 /* end confdefs.h. */
47662 #include <math.h>
47663 int
47664 main ()
47665 {
47666 _sincos(0, 0, 0);
47667 ;
47668 return 0;
47669 }
47670 _ACEOF
47671 if ac_fn_cxx_try_compile "$LINENO"; then :
47672 glibcxx_cv_func__sincos_use=yes
47673 else
47674 glibcxx_cv_func__sincos_use=no
47675 fi
47676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47677 ac_ext=c
47678 ac_cpp='$CPP $CPPFLAGS'
47679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47682
47683
47684 fi
47685
47686 fi
47687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47688 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47689
47690 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47691 for ac_func in _sincos
47692 do :
47693 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47694 if test "x$ac_cv_func__sincos" = x""yes; then :
47695 cat >>confdefs.h <<_ACEOF
47696 #define HAVE__SINCOS 1
47697 _ACEOF
47698
47699 fi
47700 done
47701
47702 fi
47703 fi
47704
47705
47706
47707
47708
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47710 $as_echo_n "checking for fpclass declaration... " >&6; }
47711 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47712 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47713 $as_echo_n "(cached) " >&6
47714 else
47715
47716
47717 ac_ext=cpp
47718 ac_cpp='$CXXCPP $CPPFLAGS'
47719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47722
47723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47724 /* end confdefs.h. */
47725 #include <math.h>
47726 #ifdef HAVE_IEEEFP_H
47727 #include <ieeefp.h>
47728 #endif
47729
47730 int
47731 main ()
47732 {
47733 fpclass(0);
47734 ;
47735 return 0;
47736 }
47737 _ACEOF
47738 if ac_fn_cxx_try_compile "$LINENO"; then :
47739 glibcxx_cv_func_fpclass_use=yes
47740 else
47741 glibcxx_cv_func_fpclass_use=no
47742 fi
47743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47744 ac_ext=c
47745 ac_cpp='$CPP $CPPFLAGS'
47746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47749
47750
47751 fi
47752
47753 fi
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47755 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47756
47757 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47758 for ac_func in fpclass
47759 do :
47760 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47761 if test "x$ac_cv_func_fpclass" = x""yes; then :
47762 cat >>confdefs.h <<_ACEOF
47763 #define HAVE_FPCLASS 1
47764 _ACEOF
47765
47766 fi
47767 done
47768
47769 else
47770
47771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47772 $as_echo_n "checking for _fpclass declaration... " >&6; }
47773 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47774 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47775 $as_echo_n "(cached) " >&6
47776 else
47777
47778
47779 ac_ext=cpp
47780 ac_cpp='$CXXCPP $CPPFLAGS'
47781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784
47785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47786 /* end confdefs.h. */
47787 #include <math.h>
47788 #ifdef HAVE_IEEEFP_H
47789 #include <ieeefp.h>
47790 #endif
47791
47792 int
47793 main ()
47794 {
47795 _fpclass(0);
47796 ;
47797 return 0;
47798 }
47799 _ACEOF
47800 if ac_fn_cxx_try_compile "$LINENO"; then :
47801 glibcxx_cv_func__fpclass_use=yes
47802 else
47803 glibcxx_cv_func__fpclass_use=no
47804 fi
47805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47806 ac_ext=c
47807 ac_cpp='$CPP $CPPFLAGS'
47808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47811
47812
47813 fi
47814
47815 fi
47816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47817 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47818
47819 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47820 for ac_func in _fpclass
47821 do :
47822 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47823 if test "x$ac_cv_func__fpclass" = x""yes; then :
47824 cat >>confdefs.h <<_ACEOF
47825 #define HAVE__FPCLASS 1
47826 _ACEOF
47827
47828 fi
47829 done
47830
47831 fi
47832 fi
47833
47834
47835
47836
47837
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47839 $as_echo_n "checking for qfpclass declaration... " >&6; }
47840 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47841 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47844
47845
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47855 #ifdef HAVE_IEEEFP_H
47856 #include <ieeefp.h>
47857 #endif
47858
47859 int
47860 main ()
47861 {
47862 qfpclass(0);
47863 ;
47864 return 0;
47865 }
47866 _ACEOF
47867 if ac_fn_cxx_try_compile "$LINENO"; then :
47868 glibcxx_cv_func_qfpclass_use=yes
47869 else
47870 glibcxx_cv_func_qfpclass_use=no
47871 fi
47872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47873 ac_ext=c
47874 ac_cpp='$CPP $CPPFLAGS'
47875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47878
47879
47880 fi
47881
47882 fi
47883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47884 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47885
47886 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47887 for ac_func in qfpclass
47888 do :
47889 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47890 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47891 cat >>confdefs.h <<_ACEOF
47892 #define HAVE_QFPCLASS 1
47893 _ACEOF
47894
47895 fi
47896 done
47897
47898 else
47899
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47901 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47902 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47903 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47904 $as_echo_n "(cached) " >&6
47905 else
47906
47907
47908 ac_ext=cpp
47909 ac_cpp='$CXXCPP $CPPFLAGS'
47910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47913
47914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47915 /* end confdefs.h. */
47916 #include <math.h>
47917 #ifdef HAVE_IEEEFP_H
47918 #include <ieeefp.h>
47919 #endif
47920
47921 int
47922 main ()
47923 {
47924 _qfpclass(0);
47925 ;
47926 return 0;
47927 }
47928 _ACEOF
47929 if ac_fn_cxx_try_compile "$LINENO"; then :
47930 glibcxx_cv_func__qfpclass_use=yes
47931 else
47932 glibcxx_cv_func__qfpclass_use=no
47933 fi
47934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47935 ac_ext=c
47936 ac_cpp='$CPP $CPPFLAGS'
47937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47940
47941
47942 fi
47943
47944 fi
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47946 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47947
47948 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47949 for ac_func in _qfpclass
47950 do :
47951 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47952 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47953 cat >>confdefs.h <<_ACEOF
47954 #define HAVE__QFPCLASS 1
47955 _ACEOF
47956
47957 fi
47958 done
47959
47960 fi
47961 fi
47962
47963
47964
47965
47966
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47968 $as_echo_n "checking for hypot declaration... " >&6; }
47969 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47970 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47971 $as_echo_n "(cached) " >&6
47972 else
47973
47974
47975 ac_ext=cpp
47976 ac_cpp='$CXXCPP $CPPFLAGS'
47977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47980
47981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47982 /* end confdefs.h. */
47983 #include <math.h>
47984 int
47985 main ()
47986 {
47987 hypot(0, 0);
47988 ;
47989 return 0;
47990 }
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993 glibcxx_cv_func_hypot_use=yes
47994 else
47995 glibcxx_cv_func_hypot_use=no
47996 fi
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48003
48004
48005 fi
48006
48007 fi
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48009 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48010
48011 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48012 for ac_func in hypot
48013 do :
48014 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48015 if test "x$ac_cv_func_hypot" = x""yes; then :
48016 cat >>confdefs.h <<_ACEOF
48017 #define HAVE_HYPOT 1
48018 _ACEOF
48019
48020 fi
48021 done
48022
48023 else
48024
48025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48026 $as_echo_n "checking for _hypot declaration... " >&6; }
48027 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48028 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48029 $as_echo_n "(cached) " >&6
48030 else
48031
48032
48033 ac_ext=cpp
48034 ac_cpp='$CXXCPP $CPPFLAGS'
48035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038
48039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48040 /* end confdefs.h. */
48041 #include <math.h>
48042 int
48043 main ()
48044 {
48045 _hypot(0, 0);
48046 ;
48047 return 0;
48048 }
48049 _ACEOF
48050 if ac_fn_cxx_try_compile "$LINENO"; then :
48051 glibcxx_cv_func__hypot_use=yes
48052 else
48053 glibcxx_cv_func__hypot_use=no
48054 fi
48055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48056 ac_ext=c
48057 ac_cpp='$CPP $CPPFLAGS'
48058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48061
48062
48063 fi
48064
48065 fi
48066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48067 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48068
48069 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48070 for ac_func in _hypot
48071 do :
48072 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48073 if test "x$ac_cv_func__hypot" = x""yes; then :
48074 cat >>confdefs.h <<_ACEOF
48075 #define HAVE__HYPOT 1
48076 _ACEOF
48077
48078 fi
48079 done
48080
48081 fi
48082 fi
48083
48084
48085
48086
48087
48088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48089 $as_echo_n "checking for float trig functions... " >&6; }
48090 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48091 $as_echo_n "(cached) " >&6
48092 else
48093
48094
48095 ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48100
48101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h. */
48103 #include <math.h>
48104 int
48105 main ()
48106 {
48107 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48108 ;
48109 return 0;
48110 }
48111 _ACEOF
48112 if ac_fn_cxx_try_compile "$LINENO"; then :
48113 glibcxx_cv_func_float_trig_use=yes
48114 else
48115 glibcxx_cv_func_float_trig_use=no
48116 fi
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118 ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48123
48124 fi
48125
48126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48127 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48128 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48129 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48130 do :
48131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48133 eval as_val=\$$as_ac_var
48134 if test "x$as_val" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48137 _ACEOF
48138
48139 fi
48140 done
48141
48142 else
48143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48144 $as_echo_n "checking for _float trig functions... " >&6; }
48145 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48146 $as_echo_n "(cached) " >&6
48147 else
48148
48149
48150 ac_ext=cpp
48151 ac_cpp='$CXXCPP $CPPFLAGS'
48152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155
48156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157 /* end confdefs.h. */
48158 #include <math.h>
48159 int
48160 main ()
48161 {
48162 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48163 ;
48164 return 0;
48165 }
48166 _ACEOF
48167 if ac_fn_cxx_try_compile "$LINENO"; then :
48168 glibcxx_cv_func__float_trig_use=yes
48169 else
48170 glibcxx_cv_func__float_trig_use=no
48171 fi
48172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48173 ac_ext=c
48174 ac_cpp='$CPP $CPPFLAGS'
48175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48178
48179 fi
48180
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48182 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48183 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48184 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48185 do :
48186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48188 eval as_val=\$$as_ac_var
48189 if test "x$as_val" = x""yes; then :
48190 cat >>confdefs.h <<_ACEOF
48191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48192 _ACEOF
48193
48194 fi
48195 done
48196
48197 fi
48198 fi
48199
48200
48201
48202
48203
48204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48205 $as_echo_n "checking for float round functions... " >&6; }
48206 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48207 $as_echo_n "(cached) " >&6
48208 else
48209
48210
48211 ac_ext=cpp
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216
48217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h. */
48219 #include <math.h>
48220 int
48221 main ()
48222 {
48223 ceilf (0); floorf (0);
48224 ;
48225 return 0;
48226 }
48227 _ACEOF
48228 if ac_fn_cxx_try_compile "$LINENO"; then :
48229 glibcxx_cv_func_float_round_use=yes
48230 else
48231 glibcxx_cv_func_float_round_use=no
48232 fi
48233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48234 ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48239
48240 fi
48241
48242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48243 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48244 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48245 for ac_func in ceilf floorf
48246 do :
48247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48249 eval as_val=\$$as_ac_var
48250 if test "x$as_val" = x""yes; then :
48251 cat >>confdefs.h <<_ACEOF
48252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48253 _ACEOF
48254
48255 fi
48256 done
48257
48258 else
48259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48260 $as_echo_n "checking for _float round functions... " >&6; }
48261 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48264
48265
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48275 int
48276 main ()
48277 {
48278 _ceilf (0); _floorf (0);
48279 ;
48280 return 0;
48281 }
48282 _ACEOF
48283 if ac_fn_cxx_try_compile "$LINENO"; then :
48284 glibcxx_cv_func__float_round_use=yes
48285 else
48286 glibcxx_cv_func__float_round_use=no
48287 fi
48288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48289 ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294
48295 fi
48296
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48298 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48299 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48300 for ac_func in _ceilf _floorf
48301 do :
48302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48304 eval as_val=\$$as_ac_var
48305 if test "x$as_val" = x""yes; then :
48306 cat >>confdefs.h <<_ACEOF
48307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48308 _ACEOF
48309
48310 fi
48311 done
48312
48313 fi
48314 fi
48315
48316
48317
48318
48319
48320
48321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48322 $as_echo_n "checking for expf declaration... " >&6; }
48323 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48324 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48325 $as_echo_n "(cached) " >&6
48326 else
48327
48328
48329 ac_ext=cpp
48330 ac_cpp='$CXXCPP $CPPFLAGS'
48331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48334
48335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48336 /* end confdefs.h. */
48337 #include <math.h>
48338 #ifdef HAVE_IEEEFP_H
48339 #include <ieeefp.h>
48340 #endif
48341
48342 int
48343 main ()
48344 {
48345 expf(0);
48346 ;
48347 return 0;
48348 }
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351 glibcxx_cv_func_expf_use=yes
48352 else
48353 glibcxx_cv_func_expf_use=no
48354 fi
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356 ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48361
48362
48363 fi
48364
48365 fi
48366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48367 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48368
48369 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48370 for ac_func in expf
48371 do :
48372 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48373 if test "x$ac_cv_func_expf" = x""yes; then :
48374 cat >>confdefs.h <<_ACEOF
48375 #define HAVE_EXPF 1
48376 _ACEOF
48377
48378 fi
48379 done
48380
48381 else
48382
48383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48384 $as_echo_n "checking for _expf declaration... " >&6; }
48385 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48386 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48387 $as_echo_n "(cached) " >&6
48388 else
48389
48390
48391 ac_ext=cpp
48392 ac_cpp='$CXXCPP $CPPFLAGS'
48393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48396
48397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398 /* end confdefs.h. */
48399 #include <math.h>
48400 #ifdef HAVE_IEEEFP_H
48401 #include <ieeefp.h>
48402 #endif
48403
48404 int
48405 main ()
48406 {
48407 _expf(0);
48408 ;
48409 return 0;
48410 }
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413 glibcxx_cv_func__expf_use=yes
48414 else
48415 glibcxx_cv_func__expf_use=no
48416 fi
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48423
48424
48425 fi
48426
48427 fi
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48429 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48430
48431 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48432 for ac_func in _expf
48433 do :
48434 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48435 if test "x$ac_cv_func__expf" = x""yes; then :
48436 cat >>confdefs.h <<_ACEOF
48437 #define HAVE__EXPF 1
48438 _ACEOF
48439
48440 fi
48441 done
48442
48443 fi
48444 fi
48445
48446
48447
48448
48449
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48451 $as_echo_n "checking for isnanf declaration... " >&6; }
48452 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48453 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48456
48457
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48467 #ifdef HAVE_IEEEFP_H
48468 #include <ieeefp.h>
48469 #endif
48470
48471 int
48472 main ()
48473 {
48474 isnanf(0);
48475 ;
48476 return 0;
48477 }
48478 _ACEOF
48479 if ac_fn_cxx_try_compile "$LINENO"; then :
48480 glibcxx_cv_func_isnanf_use=yes
48481 else
48482 glibcxx_cv_func_isnanf_use=no
48483 fi
48484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48485 ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48490
48491
48492 fi
48493
48494 fi
48495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48496 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48497
48498 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48499 for ac_func in isnanf
48500 do :
48501 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48502 if test "x$ac_cv_func_isnanf" = x""yes; then :
48503 cat >>confdefs.h <<_ACEOF
48504 #define HAVE_ISNANF 1
48505 _ACEOF
48506
48507 fi
48508 done
48509
48510 else
48511
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48513 $as_echo_n "checking for _isnanf declaration... " >&6; }
48514 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48515 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48517 else
48518
48519
48520 ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48528 #include <math.h>
48529 #ifdef HAVE_IEEEFP_H
48530 #include <ieeefp.h>
48531 #endif
48532
48533 int
48534 main ()
48535 {
48536 _isnanf(0);
48537 ;
48538 return 0;
48539 }
48540 _ACEOF
48541 if ac_fn_cxx_try_compile "$LINENO"; then :
48542 glibcxx_cv_func__isnanf_use=yes
48543 else
48544 glibcxx_cv_func__isnanf_use=no
48545 fi
48546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48547 ac_ext=c
48548 ac_cpp='$CPP $CPPFLAGS'
48549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48552
48553
48554 fi
48555
48556 fi
48557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48558 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48559
48560 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48561 for ac_func in _isnanf
48562 do :
48563 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48564 if test "x$ac_cv_func__isnanf" = x""yes; then :
48565 cat >>confdefs.h <<_ACEOF
48566 #define HAVE__ISNANF 1
48567 _ACEOF
48568
48569 fi
48570 done
48571
48572 fi
48573 fi
48574
48575
48576
48577
48578
48579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48580 $as_echo_n "checking for isinff declaration... " >&6; }
48581 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48582 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48585
48586
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48596 #ifdef HAVE_IEEEFP_H
48597 #include <ieeefp.h>
48598 #endif
48599
48600 int
48601 main ()
48602 {
48603 isinff(0);
48604 ;
48605 return 0;
48606 }
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func_isinff_use=yes
48610 else
48611 glibcxx_cv_func_isinff_use=no
48612 fi
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619
48620
48621 fi
48622
48623 fi
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48625 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48626
48627 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48628 for ac_func in isinff
48629 do :
48630 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48631 if test "x$ac_cv_func_isinff" = x""yes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE_ISINFF 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639 else
48640
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48642 $as_echo_n "checking for _isinff declaration... " >&6; }
48643 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48644 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
48666 ;
48667 return 0;
48668 }
48669 _ACEOF
48670 if ac_fn_cxx_try_compile "$LINENO"; then :
48671 glibcxx_cv_func__isinff_use=yes
48672 else
48673 glibcxx_cv_func__isinff_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__isinff_use" >&5
48687 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48688
48689 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48690 for ac_func in _isinff
48691 do :
48692 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48693 if test "x$ac_cv_func__isinff" = x""yes; then :
48694 cat >>confdefs.h <<_ACEOF
48695 #define HAVE__ISINFF 1
48696 _ACEOF
48697
48698 fi
48699 done
48700
48701 fi
48702 fi
48703
48704
48705
48706
48707
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48709 $as_echo_n "checking for atan2f declaration... " >&6; }
48710 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48711 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48712 $as_echo_n "(cached) " >&6
48713 else
48714
48715
48716 ac_ext=cpp
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721
48722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h. */
48724 #include <math.h>
48725 int
48726 main ()
48727 {
48728 atan2f(0, 0);
48729 ;
48730 return 0;
48731 }
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func_atan2f_use=yes
48735 else
48736 glibcxx_cv_func_atan2f_use=no
48737 fi
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48744
48745
48746 fi
48747
48748 fi
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48750 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48751
48752 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48753 for ac_func in atan2f
48754 do :
48755 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48756 if test "x$ac_cv_func_atan2f" = x""yes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE_ATAN2F 1
48759 _ACEOF
48760
48761 fi
48762 done
48763
48764 else
48765
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48767 $as_echo_n "checking for _atan2f declaration... " >&6; }
48768 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48769 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48770 $as_echo_n "(cached) " >&6
48771 else
48772
48773
48774 ac_ext=cpp
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48779
48780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48781 /* end confdefs.h. */
48782 #include <math.h>
48783 int
48784 main ()
48785 {
48786 _atan2f(0, 0);
48787 ;
48788 return 0;
48789 }
48790 _ACEOF
48791 if ac_fn_cxx_try_compile "$LINENO"; then :
48792 glibcxx_cv_func__atan2f_use=yes
48793 else
48794 glibcxx_cv_func__atan2f_use=no
48795 fi
48796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48797 ac_ext=c
48798 ac_cpp='$CPP $CPPFLAGS'
48799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48802
48803
48804 fi
48805
48806 fi
48807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48808 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48809
48810 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48811 for ac_func in _atan2f
48812 do :
48813 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48814 if test "x$ac_cv_func__atan2f" = x""yes; then :
48815 cat >>confdefs.h <<_ACEOF
48816 #define HAVE__ATAN2F 1
48817 _ACEOF
48818
48819 fi
48820 done
48821
48822 fi
48823 fi
48824
48825
48826
48827
48828
48829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48830 $as_echo_n "checking for fabsf declaration... " >&6; }
48831 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48832 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48833 $as_echo_n "(cached) " >&6
48834 else
48835
48836
48837 ac_ext=cpp
48838 ac_cpp='$CXXCPP $CPPFLAGS'
48839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48842
48843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48844 /* end confdefs.h. */
48845 #include <math.h>
48846 #ifdef HAVE_IEEEFP_H
48847 #include <ieeefp.h>
48848 #endif
48849
48850 int
48851 main ()
48852 {
48853 fabsf(0);
48854 ;
48855 return 0;
48856 }
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859 glibcxx_cv_func_fabsf_use=yes
48860 else
48861 glibcxx_cv_func_fabsf_use=no
48862 fi
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864 ac_ext=c
48865 ac_cpp='$CPP $CPPFLAGS'
48866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48869
48870
48871 fi
48872
48873 fi
48874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48875 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48876
48877 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48878 for ac_func in fabsf
48879 do :
48880 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48881 if test "x$ac_cv_func_fabsf" = x""yes; then :
48882 cat >>confdefs.h <<_ACEOF
48883 #define HAVE_FABSF 1
48884 _ACEOF
48885
48886 fi
48887 done
48888
48889 else
48890
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48892 $as_echo_n "checking for _fabsf declaration... " >&6; }
48893 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48894 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
48909 #include <ieeefp.h>
48910 #endif
48911
48912 int
48913 main ()
48914 {
48915 _fabsf(0);
48916 ;
48917 return 0;
48918 }
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921 glibcxx_cv_func__fabsf_use=yes
48922 else
48923 glibcxx_cv_func__fabsf_use=no
48924 fi
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931
48932
48933 fi
48934
48935 fi
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48937 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48938
48939 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48940 for ac_func in _fabsf
48941 do :
48942 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48943 if test "x$ac_cv_func__fabsf" = x""yes; then :
48944 cat >>confdefs.h <<_ACEOF
48945 #define HAVE__FABSF 1
48946 _ACEOF
48947
48948 fi
48949 done
48950
48951 fi
48952 fi
48953
48954
48955
48956
48957
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48959 $as_echo_n "checking for fmodf declaration... " >&6; }
48960 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48961 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48964
48965
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48975 int
48976 main ()
48977 {
48978 fmodf(0, 0);
48979 ;
48980 return 0;
48981 }
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func_fmodf_use=yes
48985 else
48986 glibcxx_cv_func_fmodf_use=no
48987 fi
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48994
48995
48996 fi
48997
48998 fi
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49000 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49001
49002 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49003 for ac_func in fmodf
49004 do :
49005 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49006 if test "x$ac_cv_func_fmodf" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE_FMODF 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014 else
49015
49016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49017 $as_echo_n "checking for _fmodf declaration... " >&6; }
49018 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49019 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49020 $as_echo_n "(cached) " >&6
49021 else
49022
49023
49024 ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029
49030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h. */
49032 #include <math.h>
49033 int
49034 main ()
49035 {
49036 _fmodf(0, 0);
49037 ;
49038 return 0;
49039 }
49040 _ACEOF
49041 if ac_fn_cxx_try_compile "$LINENO"; then :
49042 glibcxx_cv_func__fmodf_use=yes
49043 else
49044 glibcxx_cv_func__fmodf_use=no
49045 fi
49046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49047 ac_ext=c
49048 ac_cpp='$CPP $CPPFLAGS'
49049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052
49053
49054 fi
49055
49056 fi
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49058 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49059
49060 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49061 for ac_func in _fmodf
49062 do :
49063 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49064 if test "x$ac_cv_func__fmodf" = x""yes; then :
49065 cat >>confdefs.h <<_ACEOF
49066 #define HAVE__FMODF 1
49067 _ACEOF
49068
49069 fi
49070 done
49071
49072 fi
49073 fi
49074
49075
49076
49077
49078
49079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49080 $as_echo_n "checking for frexpf declaration... " >&6; }
49081 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49082 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49083 $as_echo_n "(cached) " >&6
49084 else
49085
49086
49087 ac_ext=cpp
49088 ac_cpp='$CXXCPP $CPPFLAGS'
49089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49092
49093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49094 /* end confdefs.h. */
49095 #include <math.h>
49096 int
49097 main ()
49098 {
49099 frexpf(0, 0);
49100 ;
49101 return 0;
49102 }
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105 glibcxx_cv_func_frexpf_use=yes
49106 else
49107 glibcxx_cv_func_frexpf_use=no
49108 fi
49109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49110 ac_ext=c
49111 ac_cpp='$CPP $CPPFLAGS'
49112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49115
49116
49117 fi
49118
49119 fi
49120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49121 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49122
49123 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49124 for ac_func in frexpf
49125 do :
49126 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49127 if test "x$ac_cv_func_frexpf" = x""yes; then :
49128 cat >>confdefs.h <<_ACEOF
49129 #define HAVE_FREXPF 1
49130 _ACEOF
49131
49132 fi
49133 done
49134
49135 else
49136
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49138 $as_echo_n "checking for _frexpf declaration... " >&6; }
49139 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49140 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49141 $as_echo_n "(cached) " >&6
49142 else
49143
49144
49145 ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49150
49151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h. */
49153 #include <math.h>
49154 int
49155 main ()
49156 {
49157 _frexpf(0, 0);
49158 ;
49159 return 0;
49160 }
49161 _ACEOF
49162 if ac_fn_cxx_try_compile "$LINENO"; then :
49163 glibcxx_cv_func__frexpf_use=yes
49164 else
49165 glibcxx_cv_func__frexpf_use=no
49166 fi
49167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49168 ac_ext=c
49169 ac_cpp='$CPP $CPPFLAGS'
49170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49173
49174
49175 fi
49176
49177 fi
49178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49179 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49180
49181 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49182 for ac_func in _frexpf
49183 do :
49184 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49185 if test "x$ac_cv_func__frexpf" = x""yes; then :
49186 cat >>confdefs.h <<_ACEOF
49187 #define HAVE__FREXPF 1
49188 _ACEOF
49189
49190 fi
49191 done
49192
49193 fi
49194 fi
49195
49196
49197
49198
49199
49200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49201 $as_echo_n "checking for hypotf declaration... " >&6; }
49202 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49203 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49204 $as_echo_n "(cached) " >&6
49205 else
49206
49207
49208 ac_ext=cpp
49209 ac_cpp='$CXXCPP $CPPFLAGS'
49210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213
49214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49215 /* end confdefs.h. */
49216 #include <math.h>
49217 int
49218 main ()
49219 {
49220 hypotf(0, 0);
49221 ;
49222 return 0;
49223 }
49224 _ACEOF
49225 if ac_fn_cxx_try_compile "$LINENO"; then :
49226 glibcxx_cv_func_hypotf_use=yes
49227 else
49228 glibcxx_cv_func_hypotf_use=no
49229 fi
49230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49231 ac_ext=c
49232 ac_cpp='$CPP $CPPFLAGS'
49233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49236
49237
49238 fi
49239
49240 fi
49241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49242 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49243
49244 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49245 for ac_func in hypotf
49246 do :
49247 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49248 if test "x$ac_cv_func_hypotf" = x""yes; then :
49249 cat >>confdefs.h <<_ACEOF
49250 #define HAVE_HYPOTF 1
49251 _ACEOF
49252
49253 fi
49254 done
49255
49256 else
49257
49258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49259 $as_echo_n "checking for _hypotf declaration... " >&6; }
49260 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49261 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49262 $as_echo_n "(cached) " >&6
49263 else
49264
49265
49266 ac_ext=cpp
49267 ac_cpp='$CXXCPP $CPPFLAGS'
49268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49271
49272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49273 /* end confdefs.h. */
49274 #include <math.h>
49275 int
49276 main ()
49277 {
49278 _hypotf(0, 0);
49279 ;
49280 return 0;
49281 }
49282 _ACEOF
49283 if ac_fn_cxx_try_compile "$LINENO"; then :
49284 glibcxx_cv_func__hypotf_use=yes
49285 else
49286 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
49300 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49301
49302 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49303 for ac_func in _hypotf
49304 do :
49305 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49306 if test "x$ac_cv_func__hypotf" = x""yes; then :
49307 cat >>confdefs.h <<_ACEOF
49308 #define HAVE__HYPOTF 1
49309 _ACEOF
49310
49311 fi
49312 done
49313
49314 fi
49315 fi
49316
49317
49318
49319
49320
49321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49322 $as_echo_n "checking for ldexpf declaration... " >&6; }
49323 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49324 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49325 $as_echo_n "(cached) " >&6
49326 else
49327
49328
49329 ac_ext=cpp
49330 ac_cpp='$CXXCPP $CPPFLAGS'
49331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49334
49335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336 /* end confdefs.h. */
49337 #include <math.h>
49338 int
49339 main ()
49340 {
49341 ldexpf(0, 0);
49342 ;
49343 return 0;
49344 }
49345 _ACEOF
49346 if ac_fn_cxx_try_compile "$LINENO"; then :
49347 glibcxx_cv_func_ldexpf_use=yes
49348 else
49349 glibcxx_cv_func_ldexpf_use=no
49350 fi
49351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49352 ac_ext=c
49353 ac_cpp='$CPP $CPPFLAGS'
49354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49357
49358
49359 fi
49360
49361 fi
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49363 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49364
49365 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49366 for ac_func in ldexpf
49367 do :
49368 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49369 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49370 cat >>confdefs.h <<_ACEOF
49371 #define HAVE_LDEXPF 1
49372 _ACEOF
49373
49374 fi
49375 done
49376
49377 else
49378
49379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49380 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49381 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49382 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49383 $as_echo_n "(cached) " >&6
49384 else
49385
49386
49387 ac_ext=cpp
49388 ac_cpp='$CXXCPP $CPPFLAGS'
49389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392
49393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49394 /* end confdefs.h. */
49395 #include <math.h>
49396 int
49397 main ()
49398 {
49399 _ldexpf(0, 0);
49400 ;
49401 return 0;
49402 }
49403 _ACEOF
49404 if ac_fn_cxx_try_compile "$LINENO"; then :
49405 glibcxx_cv_func__ldexpf_use=yes
49406 else
49407 glibcxx_cv_func__ldexpf_use=no
49408 fi
49409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49410 ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49415
49416
49417 fi
49418
49419 fi
49420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49421 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49422
49423 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49424 for ac_func in _ldexpf
49425 do :
49426 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49427 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49428 cat >>confdefs.h <<_ACEOF
49429 #define HAVE__LDEXPF 1
49430 _ACEOF
49431
49432 fi
49433 done
49434
49435 fi
49436 fi
49437
49438
49439
49440
49441
49442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49443 $as_echo_n "checking for logf declaration... " >&6; }
49444 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49445 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49446 $as_echo_n "(cached) " >&6
49447 else
49448
49449
49450 ac_ext=cpp
49451 ac_cpp='$CXXCPP $CPPFLAGS'
49452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49455
49456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49457 /* end confdefs.h. */
49458 #include <math.h>
49459 #ifdef HAVE_IEEEFP_H
49460 #include <ieeefp.h>
49461 #endif
49462
49463 int
49464 main ()
49465 {
49466 logf(0);
49467 ;
49468 return 0;
49469 }
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472 glibcxx_cv_func_logf_use=yes
49473 else
49474 glibcxx_cv_func_logf_use=no
49475 fi
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49482
49483
49484 fi
49485
49486 fi
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49488 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49489
49490 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49491 for ac_func in logf
49492 do :
49493 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49494 if test "x$ac_cv_func_logf" = x""yes; then :
49495 cat >>confdefs.h <<_ACEOF
49496 #define HAVE_LOGF 1
49497 _ACEOF
49498
49499 fi
49500 done
49501
49502 else
49503
49504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49505 $as_echo_n "checking for _logf declaration... " >&6; }
49506 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49507 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49508 $as_echo_n "(cached) " >&6
49509 else
49510
49511
49512 ac_ext=cpp
49513 ac_cpp='$CXXCPP $CPPFLAGS'
49514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517
49518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49519 /* end confdefs.h. */
49520 #include <math.h>
49521 #ifdef HAVE_IEEEFP_H
49522 #include <ieeefp.h>
49523 #endif
49524
49525 int
49526 main ()
49527 {
49528 _logf(0);
49529 ;
49530 return 0;
49531 }
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534 glibcxx_cv_func__logf_use=yes
49535 else
49536 glibcxx_cv_func__logf_use=no
49537 fi
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539 ac_ext=c
49540 ac_cpp='$CPP $CPPFLAGS'
49541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49544
49545
49546 fi
49547
49548 fi
49549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49550 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49551
49552 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49553 for ac_func in _logf
49554 do :
49555 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49556 if test "x$ac_cv_func__logf" = x""yes; then :
49557 cat >>confdefs.h <<_ACEOF
49558 #define HAVE__LOGF 1
49559 _ACEOF
49560
49561 fi
49562 done
49563
49564 fi
49565 fi
49566
49567
49568
49569
49570
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49572 $as_echo_n "checking for log10f declaration... " >&6; }
49573 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49574 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49577
49578
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 #ifdef HAVE_IEEEFP_H
49589 #include <ieeefp.h>
49590 #endif
49591
49592 int
49593 main ()
49594 {
49595 log10f(0);
49596 ;
49597 return 0;
49598 }
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601 glibcxx_cv_func_log10f_use=yes
49602 else
49603 glibcxx_cv_func_log10f_use=no
49604 fi
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606 ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49611
49612
49613 fi
49614
49615 fi
49616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49617 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49618
49619 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49620 for ac_func in log10f
49621 do :
49622 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49623 if test "x$ac_cv_func_log10f" = x""yes; then :
49624 cat >>confdefs.h <<_ACEOF
49625 #define HAVE_LOG10F 1
49626 _ACEOF
49627
49628 fi
49629 done
49630
49631 else
49632
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49634 $as_echo_n "checking for _log10f declaration... " >&6; }
49635 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49636 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49639
49640
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49653
49654 int
49655 main ()
49656 {
49657 _log10f(0);
49658 ;
49659 return 0;
49660 }
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func__log10f_use=yes
49664 else
49665 glibcxx_cv_func__log10f_use=no
49666 fi
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673
49674
49675 fi
49676
49677 fi
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49679 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49680
49681 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49682 for ac_func in _log10f
49683 do :
49684 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49685 if test "x$ac_cv_func__log10f" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE__LOG10F 1
49688 _ACEOF
49689
49690 fi
49691 done
49692
49693 fi
49694 fi
49695
49696
49697
49698
49699
49700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49701 $as_echo_n "checking for modff declaration... " >&6; }
49702 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49703 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49704 $as_echo_n "(cached) " >&6
49705 else
49706
49707
49708 ac_ext=cpp
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49713
49714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49715 /* end confdefs.h. */
49716 #include <math.h>
49717 int
49718 main ()
49719 {
49720 modff(0, 0);
49721 ;
49722 return 0;
49723 }
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func_modff_use=yes
49727 else
49728 glibcxx_cv_func_modff_use=no
49729 fi
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49736
49737
49738 fi
49739
49740 fi
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49742 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49743
49744 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49745 for ac_func in modff
49746 do :
49747 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49748 if test "x$ac_cv_func_modff" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE_MODFF 1
49751 _ACEOF
49752
49753 fi
49754 done
49755
49756 else
49757
49758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49759 $as_echo_n "checking for _modff declaration... " >&6; }
49760 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49761 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49762 $as_echo_n "(cached) " >&6
49763 else
49764
49765
49766 ac_ext=cpp
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771
49772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49773 /* end confdefs.h. */
49774 #include <math.h>
49775 int
49776 main ()
49777 {
49778 _modff(0, 0);
49779 ;
49780 return 0;
49781 }
49782 _ACEOF
49783 if ac_fn_cxx_try_compile "$LINENO"; then :
49784 glibcxx_cv_func__modff_use=yes
49785 else
49786 glibcxx_cv_func__modff_use=no
49787 fi
49788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49789 ac_ext=c
49790 ac_cpp='$CPP $CPPFLAGS'
49791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49794
49795
49796 fi
49797
49798 fi
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49800 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49801
49802 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49803 for ac_func in _modff
49804 do :
49805 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49806 if test "x$ac_cv_func__modff" = x""yes; then :
49807 cat >>confdefs.h <<_ACEOF
49808 #define HAVE__MODFF 1
49809 _ACEOF
49810
49811 fi
49812 done
49813
49814 fi
49815 fi
49816
49817
49818
49819
49820
49821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49822 $as_echo_n "checking for modf declaration... " >&6; }
49823 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49824 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49825 $as_echo_n "(cached) " >&6
49826 else
49827
49828
49829 ac_ext=cpp
49830 ac_cpp='$CXXCPP $CPPFLAGS'
49831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834
49835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49836 /* end confdefs.h. */
49837 #include <math.h>
49838 int
49839 main ()
49840 {
49841 modf(0, 0);
49842 ;
49843 return 0;
49844 }
49845 _ACEOF
49846 if ac_fn_cxx_try_compile "$LINENO"; then :
49847 glibcxx_cv_func_modf_use=yes
49848 else
49849 glibcxx_cv_func_modf_use=no
49850 fi
49851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49852 ac_ext=c
49853 ac_cpp='$CPP $CPPFLAGS'
49854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49857
49858
49859 fi
49860
49861 fi
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49863 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49864
49865 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49866 for ac_func in modf
49867 do :
49868 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49869 if test "x$ac_cv_func_modf" = x""yes; then :
49870 cat >>confdefs.h <<_ACEOF
49871 #define HAVE_MODF 1
49872 _ACEOF
49873
49874 fi
49875 done
49876
49877 else
49878
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49880 $as_echo_n "checking for _modf declaration... " >&6; }
49881 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49882 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49883 $as_echo_n "(cached) " >&6
49884 else
49885
49886
49887 ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892
49893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h. */
49895 #include <math.h>
49896 int
49897 main ()
49898 {
49899 _modf(0, 0);
49900 ;
49901 return 0;
49902 }
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905 glibcxx_cv_func__modf_use=yes
49906 else
49907 glibcxx_cv_func__modf_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__modf_use" >&5
49921 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49922
49923 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49924 for ac_func in _modf
49925 do :
49926 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49927 if test "x$ac_cv_func__modf" = x""yes; then :
49928 cat >>confdefs.h <<_ACEOF
49929 #define HAVE__MODF 1
49930 _ACEOF
49931
49932 fi
49933 done
49934
49935 fi
49936 fi
49937
49938
49939
49940
49941
49942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49943 $as_echo_n "checking for powf declaration... " >&6; }
49944 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49945 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49946 $as_echo_n "(cached) " >&6
49947 else
49948
49949
49950 ac_ext=cpp
49951 ac_cpp='$CXXCPP $CPPFLAGS'
49952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49955
49956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49957 /* end confdefs.h. */
49958 #include <math.h>
49959 int
49960 main ()
49961 {
49962 powf(0, 0);
49963 ;
49964 return 0;
49965 }
49966 _ACEOF
49967 if ac_fn_cxx_try_compile "$LINENO"; then :
49968 glibcxx_cv_func_powf_use=yes
49969 else
49970 glibcxx_cv_func_powf_use=no
49971 fi
49972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49973 ac_ext=c
49974 ac_cpp='$CPP $CPPFLAGS'
49975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49978
49979
49980 fi
49981
49982 fi
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49984 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49985
49986 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49987 for ac_func in powf
49988 do :
49989 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49990 if test "x$ac_cv_func_powf" = x""yes; then :
49991 cat >>confdefs.h <<_ACEOF
49992 #define HAVE_POWF 1
49993 _ACEOF
49994
49995 fi
49996 done
49997
49998 else
49999
50000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50001 $as_echo_n "checking for _powf declaration... " >&6; }
50002 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50003 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50004 $as_echo_n "(cached) " >&6
50005 else
50006
50007
50008 ac_ext=cpp
50009 ac_cpp='$CXXCPP $CPPFLAGS'
50010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50013
50014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50015 /* end confdefs.h. */
50016 #include <math.h>
50017 int
50018 main ()
50019 {
50020 _powf(0, 0);
50021 ;
50022 return 0;
50023 }
50024 _ACEOF
50025 if ac_fn_cxx_try_compile "$LINENO"; then :
50026 glibcxx_cv_func__powf_use=yes
50027 else
50028 glibcxx_cv_func__powf_use=no
50029 fi
50030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50031 ac_ext=c
50032 ac_cpp='$CPP $CPPFLAGS'
50033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50036
50037
50038 fi
50039
50040 fi
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50042 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50043
50044 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50045 for ac_func in _powf
50046 do :
50047 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50048 if test "x$ac_cv_func__powf" = x""yes; then :
50049 cat >>confdefs.h <<_ACEOF
50050 #define HAVE__POWF 1
50051 _ACEOF
50052
50053 fi
50054 done
50055
50056 fi
50057 fi
50058
50059
50060
50061
50062
50063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50064 $as_echo_n "checking for sqrtf declaration... " >&6; }
50065 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50066 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50067 $as_echo_n "(cached) " >&6
50068 else
50069
50070
50071 ac_ext=cpp
50072 ac_cpp='$CXXCPP $CPPFLAGS'
50073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50076
50077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50078 /* end confdefs.h. */
50079 #include <math.h>
50080 #ifdef HAVE_IEEEFP_H
50081 #include <ieeefp.h>
50082 #endif
50083
50084 int
50085 main ()
50086 {
50087 sqrtf(0);
50088 ;
50089 return 0;
50090 }
50091 _ACEOF
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func_sqrtf_use=yes
50094 else
50095 glibcxx_cv_func_sqrtf_use=no
50096 fi
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098 ac_ext=c
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50103
50104
50105 fi
50106
50107 fi
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50109 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50110
50111 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50112 for ac_func in sqrtf
50113 do :
50114 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50115 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE_SQRTF 1
50118 _ACEOF
50119
50120 fi
50121 done
50122
50123 else
50124
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50126 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50127 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50128 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
50150 ;
50151 return 0;
50152 }
50153 _ACEOF
50154 if ac_fn_cxx_try_compile "$LINENO"; then :
50155 glibcxx_cv_func__sqrtf_use=yes
50156 else
50157 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
50171 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50172
50173 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50174 for ac_func in _sqrtf
50175 do :
50176 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50177 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50178 cat >>confdefs.h <<_ACEOF
50179 #define HAVE__SQRTF 1
50180 _ACEOF
50181
50182 fi
50183 done
50184
50185 fi
50186 fi
50187
50188
50189
50190
50191
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50193 $as_echo_n "checking for sincosf declaration... " >&6; }
50194 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50195 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50198
50199
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50209 int
50210 main ()
50211 {
50212 sincosf(0, 0, 0);
50213 ;
50214 return 0;
50215 }
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func_sincosf_use=yes
50219 else
50220 glibcxx_cv_func_sincosf_use=no
50221 fi
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223 ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50228
50229
50230 fi
50231
50232 fi
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50234 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50235
50236 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50237 for ac_func in sincosf
50238 do :
50239 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50240 if test "x$ac_cv_func_sincosf" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE_SINCOSF 1
50243 _ACEOF
50244
50245 fi
50246 done
50247
50248 else
50249
50250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50251 $as_echo_n "checking for _sincosf declaration... " >&6; }
50252 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50253 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50254 $as_echo_n "(cached) " >&6
50255 else
50256
50257
50258 ac_ext=cpp
50259 ac_cpp='$CXXCPP $CPPFLAGS'
50260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50263
50264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50265 /* end confdefs.h. */
50266 #include <math.h>
50267 int
50268 main ()
50269 {
50270 _sincosf(0, 0, 0);
50271 ;
50272 return 0;
50273 }
50274 _ACEOF
50275 if ac_fn_cxx_try_compile "$LINENO"; then :
50276 glibcxx_cv_func__sincosf_use=yes
50277 else
50278 glibcxx_cv_func__sincosf_use=no
50279 fi
50280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50281 ac_ext=c
50282 ac_cpp='$CPP $CPPFLAGS'
50283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50286
50287
50288 fi
50289
50290 fi
50291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50292 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50293
50294 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50295 for ac_func in _sincosf
50296 do :
50297 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50298 if test "x$ac_cv_func__sincosf" = x""yes; then :
50299 cat >>confdefs.h <<_ACEOF
50300 #define HAVE__SINCOSF 1
50301 _ACEOF
50302
50303 fi
50304 done
50305
50306 fi
50307 fi
50308
50309
50310
50311
50312
50313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50314 $as_echo_n "checking for finitef declaration... " >&6; }
50315 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50316 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50317 $as_echo_n "(cached) " >&6
50318 else
50319
50320
50321 ac_ext=cpp
50322 ac_cpp='$CXXCPP $CPPFLAGS'
50323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50326
50327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50328 /* end confdefs.h. */
50329 #include <math.h>
50330 #ifdef HAVE_IEEEFP_H
50331 #include <ieeefp.h>
50332 #endif
50333
50334 int
50335 main ()
50336 {
50337 finitef(0);
50338 ;
50339 return 0;
50340 }
50341 _ACEOF
50342 if ac_fn_cxx_try_compile "$LINENO"; then :
50343 glibcxx_cv_func_finitef_use=yes
50344 else
50345 glibcxx_cv_func_finitef_use=no
50346 fi
50347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50348 ac_ext=c
50349 ac_cpp='$CPP $CPPFLAGS'
50350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50353
50354
50355 fi
50356
50357 fi
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50359 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50360
50361 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50362 for ac_func in finitef
50363 do :
50364 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50365 if test "x$ac_cv_func_finitef" = x""yes; then :
50366 cat >>confdefs.h <<_ACEOF
50367 #define HAVE_FINITEF 1
50368 _ACEOF
50369
50370 fi
50371 done
50372
50373 else
50374
50375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50376 $as_echo_n "checking for _finitef declaration... " >&6; }
50377 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50378 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50379 $as_echo_n "(cached) " >&6
50380 else
50381
50382
50383 ac_ext=cpp
50384 ac_cpp='$CXXCPP $CPPFLAGS'
50385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388
50389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50390 /* end confdefs.h. */
50391 #include <math.h>
50392 #ifdef HAVE_IEEEFP_H
50393 #include <ieeefp.h>
50394 #endif
50395
50396 int
50397 main ()
50398 {
50399 _finitef(0);
50400 ;
50401 return 0;
50402 }
50403 _ACEOF
50404 if ac_fn_cxx_try_compile "$LINENO"; then :
50405 glibcxx_cv_func__finitef_use=yes
50406 else
50407 glibcxx_cv_func__finitef_use=no
50408 fi
50409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50410 ac_ext=c
50411 ac_cpp='$CPP $CPPFLAGS'
50412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50415
50416
50417 fi
50418
50419 fi
50420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50421 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50422
50423 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50424 for ac_func in _finitef
50425 do :
50426 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50427 if test "x$ac_cv_func__finitef" = x""yes; then :
50428 cat >>confdefs.h <<_ACEOF
50429 #define HAVE__FINITEF 1
50430 _ACEOF
50431
50432 fi
50433 done
50434
50435 fi
50436 fi
50437
50438
50439
50440
50441
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50443 $as_echo_n "checking for long double trig functions... " >&6; }
50444 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50445 $as_echo_n "(cached) " >&6
50446 else
50447
50448
50449 ac_ext=cpp
50450 ac_cpp='$CXXCPP $CPPFLAGS'
50451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50454
50455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h. */
50457 #include <math.h>
50458 int
50459 main ()
50460 {
50461 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50462 ;
50463 return 0;
50464 }
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func_long_double_trig_use=yes
50468 else
50469 glibcxx_cv_func_long_double_trig_use=no
50470 fi
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472 ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50477
50478 fi
50479
50480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50481 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50482 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50483 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50484 do :
50485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50487 eval as_val=\$$as_ac_var
50488 if test "x$as_val" = x""yes; then :
50489 cat >>confdefs.h <<_ACEOF
50490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50491 _ACEOF
50492
50493 fi
50494 done
50495
50496 else
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50498 $as_echo_n "checking for _long double trig functions... " >&6; }
50499 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50500 $as_echo_n "(cached) " >&6
50501 else
50502
50503
50504 ac_ext=cpp
50505 ac_cpp='$CXXCPP $CPPFLAGS'
50506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50509
50510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50511 /* end confdefs.h. */
50512 #include <math.h>
50513 int
50514 main ()
50515 {
50516 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50517 ;
50518 return 0;
50519 }
50520 _ACEOF
50521 if ac_fn_cxx_try_compile "$LINENO"; then :
50522 glibcxx_cv_func__long_double_trig_use=yes
50523 else
50524 glibcxx_cv_func__long_double_trig_use=no
50525 fi
50526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50527 ac_ext=c
50528 ac_cpp='$CPP $CPPFLAGS'
50529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50532
50533 fi
50534
50535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50536 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50537 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50538 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50539 do :
50540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50542 eval as_val=\$$as_ac_var
50543 if test "x$as_val" = x""yes; then :
50544 cat >>confdefs.h <<_ACEOF
50545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50546 _ACEOF
50547
50548 fi
50549 done
50550
50551 fi
50552 fi
50553
50554
50555
50556
50557
50558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50559 $as_echo_n "checking for long double round functions... " >&6; }
50560 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50561 $as_echo_n "(cached) " >&6
50562 else
50563
50564
50565 ac_ext=cpp
50566 ac_cpp='$CXXCPP $CPPFLAGS'
50567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50570
50571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50572 /* end confdefs.h. */
50573 #include <math.h>
50574 int
50575 main ()
50576 {
50577 ceill (0); floorl (0);
50578 ;
50579 return 0;
50580 }
50581 _ACEOF
50582 if ac_fn_cxx_try_compile "$LINENO"; then :
50583 glibcxx_cv_func_long_double_round_use=yes
50584 else
50585 glibcxx_cv_func_long_double_round_use=no
50586 fi
50587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50593
50594 fi
50595
50596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50597 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50598 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50599 for ac_func in ceill floorl
50600 do :
50601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50603 eval as_val=\$$as_ac_var
50604 if test "x$as_val" = x""yes; then :
50605 cat >>confdefs.h <<_ACEOF
50606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50607 _ACEOF
50608
50609 fi
50610 done
50611
50612 else
50613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50614 $as_echo_n "checking for _long double round functions... " >&6; }
50615 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50616 $as_echo_n "(cached) " >&6
50617 else
50618
50619
50620 ac_ext=cpp
50621 ac_cpp='$CXXCPP $CPPFLAGS'
50622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50625
50626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50627 /* end confdefs.h. */
50628 #include <math.h>
50629 int
50630 main ()
50631 {
50632 _ceill (0); _floorl (0);
50633 ;
50634 return 0;
50635 }
50636 _ACEOF
50637 if ac_fn_cxx_try_compile "$LINENO"; then :
50638 glibcxx_cv_func__long_double_round_use=yes
50639 else
50640 glibcxx_cv_func__long_double_round_use=no
50641 fi
50642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50643 ac_ext=c
50644 ac_cpp='$CPP $CPPFLAGS'
50645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50648
50649 fi
50650
50651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50652 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50653 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50654 for ac_func in _ceill _floorl
50655 do :
50656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50658 eval as_val=\$$as_ac_var
50659 if test "x$as_val" = x""yes; then :
50660 cat >>confdefs.h <<_ACEOF
50661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50662 _ACEOF
50663
50664 fi
50665 done
50666
50667 fi
50668 fi
50669
50670
50671
50672
50673
50674
50675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50676 $as_echo_n "checking for isnanl declaration... " >&6; }
50677 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50678 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50679 $as_echo_n "(cached) " >&6
50680 else
50681
50682
50683 ac_ext=cpp
50684 ac_cpp='$CXXCPP $CPPFLAGS'
50685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50688
50689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50690 /* end confdefs.h. */
50691 #include <math.h>
50692 #ifdef HAVE_IEEEFP_H
50693 #include <ieeefp.h>
50694 #endif
50695
50696 int
50697 main ()
50698 {
50699 isnanl(0);
50700 ;
50701 return 0;
50702 }
50703 _ACEOF
50704 if ac_fn_cxx_try_compile "$LINENO"; then :
50705 glibcxx_cv_func_isnanl_use=yes
50706 else
50707 glibcxx_cv_func_isnanl_use=no
50708 fi
50709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50710 ac_ext=c
50711 ac_cpp='$CPP $CPPFLAGS'
50712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50715
50716
50717 fi
50718
50719 fi
50720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50721 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50722
50723 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50724 for ac_func in isnanl
50725 do :
50726 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50727 if test "x$ac_cv_func_isnanl" = x""yes; then :
50728 cat >>confdefs.h <<_ACEOF
50729 #define HAVE_ISNANL 1
50730 _ACEOF
50731
50732 fi
50733 done
50734
50735 else
50736
50737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50738 $as_echo_n "checking for _isnanl declaration... " >&6; }
50739 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50740 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50741 $as_echo_n "(cached) " >&6
50742 else
50743
50744
50745 ac_ext=cpp
50746 ac_cpp='$CXXCPP $CPPFLAGS'
50747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50750
50751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50752 /* end confdefs.h. */
50753 #include <math.h>
50754 #ifdef HAVE_IEEEFP_H
50755 #include <ieeefp.h>
50756 #endif
50757
50758 int
50759 main ()
50760 {
50761 _isnanl(0);
50762 ;
50763 return 0;
50764 }
50765 _ACEOF
50766 if ac_fn_cxx_try_compile "$LINENO"; then :
50767 glibcxx_cv_func__isnanl_use=yes
50768 else
50769 glibcxx_cv_func__isnanl_use=no
50770 fi
50771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50772 ac_ext=c
50773 ac_cpp='$CPP $CPPFLAGS'
50774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50777
50778
50779 fi
50780
50781 fi
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50783 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50784
50785 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50786 for ac_func in _isnanl
50787 do :
50788 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50789 if test "x$ac_cv_func__isnanl" = x""yes; then :
50790 cat >>confdefs.h <<_ACEOF
50791 #define HAVE__ISNANL 1
50792 _ACEOF
50793
50794 fi
50795 done
50796
50797 fi
50798 fi
50799
50800
50801
50802
50803
50804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50805 $as_echo_n "checking for isinfl declaration... " >&6; }
50806 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50807 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50810
50811
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50821 #ifdef HAVE_IEEEFP_H
50822 #include <ieeefp.h>
50823 #endif
50824
50825 int
50826 main ()
50827 {
50828 isinfl(0);
50829 ;
50830 return 0;
50831 }
50832 _ACEOF
50833 if ac_fn_cxx_try_compile "$LINENO"; then :
50834 glibcxx_cv_func_isinfl_use=yes
50835 else
50836 glibcxx_cv_func_isinfl_use=no
50837 fi
50838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50839 ac_ext=c
50840 ac_cpp='$CPP $CPPFLAGS'
50841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50844
50845
50846 fi
50847
50848 fi
50849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50850 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50851
50852 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50853 for ac_func in isinfl
50854 do :
50855 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50856 if test "x$ac_cv_func_isinfl" = x""yes; then :
50857 cat >>confdefs.h <<_ACEOF
50858 #define HAVE_ISINFL 1
50859 _ACEOF
50860
50861 fi
50862 done
50863
50864 else
50865
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50867 $as_echo_n "checking for _isinfl declaration... " >&6; }
50868 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50869 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
50891 ;
50892 return 0;
50893 }
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func__isinfl_use=yes
50897 else
50898 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
50912 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50913
50914 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50915 for ac_func in _isinfl
50916 do :
50917 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50918 if test "x$ac_cv_func__isinfl" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE__ISINFL 1
50921 _ACEOF
50922
50923 fi
50924 done
50925
50926 fi
50927 fi
50928
50929
50930
50931
50932
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50934 $as_echo_n "checking for atan2l declaration... " >&6; }
50935 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50936 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50937 $as_echo_n "(cached) " >&6
50938 else
50939
50940
50941 ac_ext=cpp
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50946
50947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50948 /* end confdefs.h. */
50949 #include <math.h>
50950 int
50951 main ()
50952 {
50953 atan2l(0, 0);
50954 ;
50955 return 0;
50956 }
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func_atan2l_use=yes
50960 else
50961 glibcxx_cv_func_atan2l_use=no
50962 fi
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50969
50970
50971 fi
50972
50973 fi
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50975 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50976
50977 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50978 for ac_func in atan2l
50979 do :
50980 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50981 if test "x$ac_cv_func_atan2l" = x""yes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE_ATAN2L 1
50984 _ACEOF
50985
50986 fi
50987 done
50988
50989 else
50990
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50992 $as_echo_n "checking for _atan2l declaration... " >&6; }
50993 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50994 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50995 $as_echo_n "(cached) " >&6
50996 else
50997
50998
50999 ac_ext=cpp
51000 ac_cpp='$CXXCPP $CPPFLAGS'
51001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51004
51005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51006 /* end confdefs.h. */
51007 #include <math.h>
51008 int
51009 main ()
51010 {
51011 _atan2l(0, 0);
51012 ;
51013 return 0;
51014 }
51015 _ACEOF
51016 if ac_fn_cxx_try_compile "$LINENO"; then :
51017 glibcxx_cv_func__atan2l_use=yes
51018 else
51019 glibcxx_cv_func__atan2l_use=no
51020 fi
51021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51022 ac_ext=c
51023 ac_cpp='$CPP $CPPFLAGS'
51024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51027
51028
51029 fi
51030
51031 fi
51032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51033 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51034
51035 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51036 for ac_func in _atan2l
51037 do :
51038 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51039 if test "x$ac_cv_func__atan2l" = x""yes; then :
51040 cat >>confdefs.h <<_ACEOF
51041 #define HAVE__ATAN2L 1
51042 _ACEOF
51043
51044 fi
51045 done
51046
51047 fi
51048 fi
51049
51050
51051
51052
51053
51054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51055 $as_echo_n "checking for expl declaration... " >&6; }
51056 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51057 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51058 $as_echo_n "(cached) " >&6
51059 else
51060
51061
51062 ac_ext=cpp
51063 ac_cpp='$CXXCPP $CPPFLAGS'
51064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51067
51068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51069 /* end confdefs.h. */
51070 #include <math.h>
51071 #ifdef HAVE_IEEEFP_H
51072 #include <ieeefp.h>
51073 #endif
51074
51075 int
51076 main ()
51077 {
51078 expl(0);
51079 ;
51080 return 0;
51081 }
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func_expl_use=yes
51085 else
51086 glibcxx_cv_func_expl_use=no
51087 fi
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51094
51095
51096 fi
51097
51098 fi
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51100 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51101
51102 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51103 for ac_func in expl
51104 do :
51105 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51106 if test "x$ac_cv_func_expl" = x""yes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE_EXPL 1
51109 _ACEOF
51110
51111 fi
51112 done
51113
51114 else
51115
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51117 $as_echo_n "checking for _expl declaration... " >&6; }
51118 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51119 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51120 $as_echo_n "(cached) " >&6
51121 else
51122
51123
51124 ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129
51130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h. */
51132 #include <math.h>
51133 #ifdef HAVE_IEEEFP_H
51134 #include <ieeefp.h>
51135 #endif
51136
51137 int
51138 main ()
51139 {
51140 _expl(0);
51141 ;
51142 return 0;
51143 }
51144 _ACEOF
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146 glibcxx_cv_func__expl_use=yes
51147 else
51148 glibcxx_cv_func__expl_use=no
51149 fi
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151 ac_ext=c
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51156
51157
51158 fi
51159
51160 fi
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51162 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51163
51164 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51165 for ac_func in _expl
51166 do :
51167 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51168 if test "x$ac_cv_func__expl" = x""yes; then :
51169 cat >>confdefs.h <<_ACEOF
51170 #define HAVE__EXPL 1
51171 _ACEOF
51172
51173 fi
51174 done
51175
51176 fi
51177 fi
51178
51179
51180
51181
51182
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51184 $as_echo_n "checking for fabsl declaration... " >&6; }
51185 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51186 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51189
51190
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51200 #ifdef HAVE_IEEEFP_H
51201 #include <ieeefp.h>
51202 #endif
51203
51204 int
51205 main ()
51206 {
51207 fabsl(0);
51208 ;
51209 return 0;
51210 }
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213 glibcxx_cv_func_fabsl_use=yes
51214 else
51215 glibcxx_cv_func_fabsl_use=no
51216 fi
51217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51218 ac_ext=c
51219 ac_cpp='$CPP $CPPFLAGS'
51220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223
51224
51225 fi
51226
51227 fi
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51229 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51230
51231 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51232 for ac_func in fabsl
51233 do :
51234 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51235 if test "x$ac_cv_func_fabsl" = x""yes; then :
51236 cat >>confdefs.h <<_ACEOF
51237 #define HAVE_FABSL 1
51238 _ACEOF
51239
51240 fi
51241 done
51242
51243 else
51244
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51246 $as_echo_n "checking for _fabsl declaration... " >&6; }
51247 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51248 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
51263 #include <ieeefp.h>
51264 #endif
51265
51266 int
51267 main ()
51268 {
51269 _fabsl(0);
51270 ;
51271 return 0;
51272 }
51273 _ACEOF
51274 if ac_fn_cxx_try_compile "$LINENO"; then :
51275 glibcxx_cv_func__fabsl_use=yes
51276 else
51277 glibcxx_cv_func__fabsl_use=no
51278 fi
51279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51280 ac_ext=c
51281 ac_cpp='$CPP $CPPFLAGS'
51282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51285
51286
51287 fi
51288
51289 fi
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51291 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51292
51293 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51294 for ac_func in _fabsl
51295 do :
51296 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51297 if test "x$ac_cv_func__fabsl" = x""yes; then :
51298 cat >>confdefs.h <<_ACEOF
51299 #define HAVE__FABSL 1
51300 _ACEOF
51301
51302 fi
51303 done
51304
51305 fi
51306 fi
51307
51308
51309
51310
51311
51312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51313 $as_echo_n "checking for fmodl declaration... " >&6; }
51314 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51315 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51316 $as_echo_n "(cached) " >&6
51317 else
51318
51319
51320 ac_ext=cpp
51321 ac_cpp='$CXXCPP $CPPFLAGS'
51322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51325
51326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51327 /* end confdefs.h. */
51328 #include <math.h>
51329 int
51330 main ()
51331 {
51332 fmodl(0, 0);
51333 ;
51334 return 0;
51335 }
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func_fmodl_use=yes
51339 else
51340 glibcxx_cv_func_fmodl_use=no
51341 fi
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51348
51349
51350 fi
51351
51352 fi
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51354 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51355
51356 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51357 for ac_func in fmodl
51358 do :
51359 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51360 if test "x$ac_cv_func_fmodl" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE_FMODL 1
51363 _ACEOF
51364
51365 fi
51366 done
51367
51368 else
51369
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51371 $as_echo_n "checking for _fmodl declaration... " >&6; }
51372 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51373 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51376
51377
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 int
51388 main ()
51389 {
51390 _fmodl(0, 0);
51391 ;
51392 return 0;
51393 }
51394 _ACEOF
51395 if ac_fn_cxx_try_compile "$LINENO"; then :
51396 glibcxx_cv_func__fmodl_use=yes
51397 else
51398 glibcxx_cv_func__fmodl_use=no
51399 fi
51400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51401 ac_ext=c
51402 ac_cpp='$CPP $CPPFLAGS'
51403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51406
51407
51408 fi
51409
51410 fi
51411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51412 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51413
51414 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51415 for ac_func in _fmodl
51416 do :
51417 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51418 if test "x$ac_cv_func__fmodl" = x""yes; then :
51419 cat >>confdefs.h <<_ACEOF
51420 #define HAVE__FMODL 1
51421 _ACEOF
51422
51423 fi
51424 done
51425
51426 fi
51427 fi
51428
51429
51430
51431
51432
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51434 $as_echo_n "checking for frexpl declaration... " >&6; }
51435 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51436 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51437 $as_echo_n "(cached) " >&6
51438 else
51439
51440
51441 ac_ext=cpp
51442 ac_cpp='$CXXCPP $CPPFLAGS'
51443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51446
51447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51448 /* end confdefs.h. */
51449 #include <math.h>
51450 int
51451 main ()
51452 {
51453 frexpl(0, 0);
51454 ;
51455 return 0;
51456 }
51457 _ACEOF
51458 if ac_fn_cxx_try_compile "$LINENO"; then :
51459 glibcxx_cv_func_frexpl_use=yes
51460 else
51461 glibcxx_cv_func_frexpl_use=no
51462 fi
51463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51464 ac_ext=c
51465 ac_cpp='$CPP $CPPFLAGS'
51466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51469
51470
51471 fi
51472
51473 fi
51474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51475 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51476
51477 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51478 for ac_func in frexpl
51479 do :
51480 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51481 if test "x$ac_cv_func_frexpl" = x""yes; then :
51482 cat >>confdefs.h <<_ACEOF
51483 #define HAVE_FREXPL 1
51484 _ACEOF
51485
51486 fi
51487 done
51488
51489 else
51490
51491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51492 $as_echo_n "checking for _frexpl declaration... " >&6; }
51493 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51494 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51495 $as_echo_n "(cached) " >&6
51496 else
51497
51498
51499 ac_ext=cpp
51500 ac_cpp='$CXXCPP $CPPFLAGS'
51501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51504
51505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51506 /* end confdefs.h. */
51507 #include <math.h>
51508 int
51509 main ()
51510 {
51511 _frexpl(0, 0);
51512 ;
51513 return 0;
51514 }
51515 _ACEOF
51516 if ac_fn_cxx_try_compile "$LINENO"; then :
51517 glibcxx_cv_func__frexpl_use=yes
51518 else
51519 glibcxx_cv_func__frexpl_use=no
51520 fi
51521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51522 ac_ext=c
51523 ac_cpp='$CPP $CPPFLAGS'
51524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51527
51528
51529 fi
51530
51531 fi
51532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51533 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51534
51535 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51536 for ac_func in _frexpl
51537 do :
51538 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51539 if test "x$ac_cv_func__frexpl" = x""yes; then :
51540 cat >>confdefs.h <<_ACEOF
51541 #define HAVE__FREXPL 1
51542 _ACEOF
51543
51544 fi
51545 done
51546
51547 fi
51548 fi
51549
51550
51551
51552
51553
51554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51555 $as_echo_n "checking for hypotl declaration... " >&6; }
51556 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51557 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51558 $as_echo_n "(cached) " >&6
51559 else
51560
51561
51562 ac_ext=cpp
51563 ac_cpp='$CXXCPP $CPPFLAGS'
51564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51567
51568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51569 /* end confdefs.h. */
51570 #include <math.h>
51571 int
51572 main ()
51573 {
51574 hypotl(0, 0);
51575 ;
51576 return 0;
51577 }
51578 _ACEOF
51579 if ac_fn_cxx_try_compile "$LINENO"; then :
51580 glibcxx_cv_func_hypotl_use=yes
51581 else
51582 glibcxx_cv_func_hypotl_use=no
51583 fi
51584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51585 ac_ext=c
51586 ac_cpp='$CPP $CPPFLAGS'
51587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51590
51591
51592 fi
51593
51594 fi
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51596 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51597
51598 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51599 for ac_func in hypotl
51600 do :
51601 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51602 if test "x$ac_cv_func_hypotl" = x""yes; then :
51603 cat >>confdefs.h <<_ACEOF
51604 #define HAVE_HYPOTL 1
51605 _ACEOF
51606
51607 fi
51608 done
51609
51610 else
51611
51612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51613 $as_echo_n "checking for _hypotl declaration... " >&6; }
51614 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51615 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51616 $as_echo_n "(cached) " >&6
51617 else
51618
51619
51620 ac_ext=cpp
51621 ac_cpp='$CXXCPP $CPPFLAGS'
51622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51625
51626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51627 /* end confdefs.h. */
51628 #include <math.h>
51629 int
51630 main ()
51631 {
51632 _hypotl(0, 0);
51633 ;
51634 return 0;
51635 }
51636 _ACEOF
51637 if ac_fn_cxx_try_compile "$LINENO"; then :
51638 glibcxx_cv_func__hypotl_use=yes
51639 else
51640 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
51654 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51655
51656 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51657 for ac_func in _hypotl
51658 do :
51659 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51660 if test "x$ac_cv_func__hypotl" = x""yes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE__HYPOTL 1
51663 _ACEOF
51664
51665 fi
51666 done
51667
51668 fi
51669 fi
51670
51671
51672
51673
51674
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51676 $as_echo_n "checking for ldexpl declaration... " >&6; }
51677 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51678 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51679 $as_echo_n "(cached) " >&6
51680 else
51681
51682
51683 ac_ext=cpp
51684 ac_cpp='$CXXCPP $CPPFLAGS'
51685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51688
51689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51690 /* end confdefs.h. */
51691 #include <math.h>
51692 int
51693 main ()
51694 {
51695 ldexpl(0, 0);
51696 ;
51697 return 0;
51698 }
51699 _ACEOF
51700 if ac_fn_cxx_try_compile "$LINENO"; then :
51701 glibcxx_cv_func_ldexpl_use=yes
51702 else
51703 glibcxx_cv_func_ldexpl_use=no
51704 fi
51705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51706 ac_ext=c
51707 ac_cpp='$CPP $CPPFLAGS'
51708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51711
51712
51713 fi
51714
51715 fi
51716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51717 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51718
51719 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51720 for ac_func in ldexpl
51721 do :
51722 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51723 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51724 cat >>confdefs.h <<_ACEOF
51725 #define HAVE_LDEXPL 1
51726 _ACEOF
51727
51728 fi
51729 done
51730
51731 else
51732
51733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51734 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51735 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51736 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51737 $as_echo_n "(cached) " >&6
51738 else
51739
51740
51741 ac_ext=cpp
51742 ac_cpp='$CXXCPP $CPPFLAGS'
51743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51746
51747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51748 /* end confdefs.h. */
51749 #include <math.h>
51750 int
51751 main ()
51752 {
51753 _ldexpl(0, 0);
51754 ;
51755 return 0;
51756 }
51757 _ACEOF
51758 if ac_fn_cxx_try_compile "$LINENO"; then :
51759 glibcxx_cv_func__ldexpl_use=yes
51760 else
51761 glibcxx_cv_func__ldexpl_use=no
51762 fi
51763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51764 ac_ext=c
51765 ac_cpp='$CPP $CPPFLAGS'
51766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51769
51770
51771 fi
51772
51773 fi
51774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51775 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51776
51777 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51778 for ac_func in _ldexpl
51779 do :
51780 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51781 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51782 cat >>confdefs.h <<_ACEOF
51783 #define HAVE__LDEXPL 1
51784 _ACEOF
51785
51786 fi
51787 done
51788
51789 fi
51790 fi
51791
51792
51793
51794
51795
51796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51797 $as_echo_n "checking for logl declaration... " >&6; }
51798 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51799 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51800 $as_echo_n "(cached) " >&6
51801 else
51802
51803
51804 ac_ext=cpp
51805 ac_cpp='$CXXCPP $CPPFLAGS'
51806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51809
51810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51811 /* end confdefs.h. */
51812 #include <math.h>
51813 #ifdef HAVE_IEEEFP_H
51814 #include <ieeefp.h>
51815 #endif
51816
51817 int
51818 main ()
51819 {
51820 logl(0);
51821 ;
51822 return 0;
51823 }
51824 _ACEOF
51825 if ac_fn_cxx_try_compile "$LINENO"; then :
51826 glibcxx_cv_func_logl_use=yes
51827 else
51828 glibcxx_cv_func_logl_use=no
51829 fi
51830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51831 ac_ext=c
51832 ac_cpp='$CPP $CPPFLAGS'
51833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51836
51837
51838 fi
51839
51840 fi
51841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51842 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51843
51844 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51845 for ac_func in logl
51846 do :
51847 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51848 if test "x$ac_cv_func_logl" = x""yes; then :
51849 cat >>confdefs.h <<_ACEOF
51850 #define HAVE_LOGL 1
51851 _ACEOF
51852
51853 fi
51854 done
51855
51856 else
51857
51858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51859 $as_echo_n "checking for _logl declaration... " >&6; }
51860 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51861 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51862 $as_echo_n "(cached) " >&6
51863 else
51864
51865
51866 ac_ext=cpp
51867 ac_cpp='$CXXCPP $CPPFLAGS'
51868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51871
51872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51873 /* end confdefs.h. */
51874 #include <math.h>
51875 #ifdef HAVE_IEEEFP_H
51876 #include <ieeefp.h>
51877 #endif
51878
51879 int
51880 main ()
51881 {
51882 _logl(0);
51883 ;
51884 return 0;
51885 }
51886 _ACEOF
51887 if ac_fn_cxx_try_compile "$LINENO"; then :
51888 glibcxx_cv_func__logl_use=yes
51889 else
51890 glibcxx_cv_func__logl_use=no
51891 fi
51892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51893 ac_ext=c
51894 ac_cpp='$CPP $CPPFLAGS'
51895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898
51899
51900 fi
51901
51902 fi
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51904 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51905
51906 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51907 for ac_func in _logl
51908 do :
51909 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51910 if test "x$ac_cv_func__logl" = x""yes; then :
51911 cat >>confdefs.h <<_ACEOF
51912 #define HAVE__LOGL 1
51913 _ACEOF
51914
51915 fi
51916 done
51917
51918 fi
51919 fi
51920
51921
51922
51923
51924
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51926 $as_echo_n "checking for log10l declaration... " >&6; }
51927 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51928 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51931
51932
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 #ifdef HAVE_IEEEFP_H
51943 #include <ieeefp.h>
51944 #endif
51945
51946 int
51947 main ()
51948 {
51949 log10l(0);
51950 ;
51951 return 0;
51952 }
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func_log10l_use=yes
51956 else
51957 glibcxx_cv_func_log10l_use=no
51958 fi
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965
51966
51967 fi
51968
51969 fi
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51971 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51972
51973 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51974 for ac_func in log10l
51975 do :
51976 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51977 if test "x$ac_cv_func_log10l" = x""yes; then :
51978 cat >>confdefs.h <<_ACEOF
51979 #define HAVE_LOG10L 1
51980 _ACEOF
51981
51982 fi
51983 done
51984
51985 else
51986
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51988 $as_echo_n "checking for _log10l declaration... " >&6; }
51989 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51990 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52007
52008 int
52009 main ()
52010 {
52011 _log10l(0);
52012 ;
52013 return 0;
52014 }
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func__log10l_use=yes
52018 else
52019 glibcxx_cv_func__log10l_use=no
52020 fi
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52027
52028
52029 fi
52030
52031 fi
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52033 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52034
52035 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52036 for ac_func in _log10l
52037 do :
52038 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52039 if test "x$ac_cv_func__log10l" = x""yes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE__LOG10L 1
52042 _ACEOF
52043
52044 fi
52045 done
52046
52047 fi
52048 fi
52049
52050
52051
52052
52053
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52055 $as_echo_n "checking for modfl declaration... " >&6; }
52056 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52057 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52058 $as_echo_n "(cached) " >&6
52059 else
52060
52061
52062 ac_ext=cpp
52063 ac_cpp='$CXXCPP $CPPFLAGS'
52064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52067
52068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52069 /* end confdefs.h. */
52070 #include <math.h>
52071 int
52072 main ()
52073 {
52074 modfl(0, 0);
52075 ;
52076 return 0;
52077 }
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func_modfl_use=yes
52081 else
52082 glibcxx_cv_func_modfl_use=no
52083 fi
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090
52091
52092 fi
52093
52094 fi
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52096 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52097
52098 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52099 for ac_func in modfl
52100 do :
52101 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52102 if test "x$ac_cv_func_modfl" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE_MODFL 1
52105 _ACEOF
52106
52107 fi
52108 done
52109
52110 else
52111
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52113 $as_echo_n "checking for _modfl declaration... " >&6; }
52114 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52115 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52116 $as_echo_n "(cached) " >&6
52117 else
52118
52119
52120 ac_ext=cpp
52121 ac_cpp='$CXXCPP $CPPFLAGS'
52122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52125
52126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52127 /* end confdefs.h. */
52128 #include <math.h>
52129 int
52130 main ()
52131 {
52132 _modfl(0, 0);
52133 ;
52134 return 0;
52135 }
52136 _ACEOF
52137 if ac_fn_cxx_try_compile "$LINENO"; then :
52138 glibcxx_cv_func__modfl_use=yes
52139 else
52140 glibcxx_cv_func__modfl_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__modfl_use" >&5
52154 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52155
52156 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52157 for ac_func in _modfl
52158 do :
52159 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52160 if test "x$ac_cv_func__modfl" = x""yes; then :
52161 cat >>confdefs.h <<_ACEOF
52162 #define HAVE__MODFL 1
52163 _ACEOF
52164
52165 fi
52166 done
52167
52168 fi
52169 fi
52170
52171
52172
52173
52174
52175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52176 $as_echo_n "checking for powl declaration... " >&6; }
52177 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52178 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52179 $as_echo_n "(cached) " >&6
52180 else
52181
52182
52183 ac_ext=cpp
52184 ac_cpp='$CXXCPP $CPPFLAGS'
52185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52188
52189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52190 /* end confdefs.h. */
52191 #include <math.h>
52192 int
52193 main ()
52194 {
52195 powl(0, 0);
52196 ;
52197 return 0;
52198 }
52199 _ACEOF
52200 if ac_fn_cxx_try_compile "$LINENO"; then :
52201 glibcxx_cv_func_powl_use=yes
52202 else
52203 glibcxx_cv_func_powl_use=no
52204 fi
52205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52206 ac_ext=c
52207 ac_cpp='$CPP $CPPFLAGS'
52208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52211
52212
52213 fi
52214
52215 fi
52216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52217 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52218
52219 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52220 for ac_func in powl
52221 do :
52222 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52223 if test "x$ac_cv_func_powl" = x""yes; then :
52224 cat >>confdefs.h <<_ACEOF
52225 #define HAVE_POWL 1
52226 _ACEOF
52227
52228 fi
52229 done
52230
52231 else
52232
52233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52234 $as_echo_n "checking for _powl declaration... " >&6; }
52235 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52236 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52237 $as_echo_n "(cached) " >&6
52238 else
52239
52240
52241 ac_ext=cpp
52242 ac_cpp='$CXXCPP $CPPFLAGS'
52243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246
52247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52248 /* end confdefs.h. */
52249 #include <math.h>
52250 int
52251 main ()
52252 {
52253 _powl(0, 0);
52254 ;
52255 return 0;
52256 }
52257 _ACEOF
52258 if ac_fn_cxx_try_compile "$LINENO"; then :
52259 glibcxx_cv_func__powl_use=yes
52260 else
52261 glibcxx_cv_func__powl_use=no
52262 fi
52263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52264 ac_ext=c
52265 ac_cpp='$CPP $CPPFLAGS'
52266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52269
52270
52271 fi
52272
52273 fi
52274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52275 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52276
52277 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52278 for ac_func in _powl
52279 do :
52280 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52281 if test "x$ac_cv_func__powl" = x""yes; then :
52282 cat >>confdefs.h <<_ACEOF
52283 #define HAVE__POWL 1
52284 _ACEOF
52285
52286 fi
52287 done
52288
52289 fi
52290 fi
52291
52292
52293
52294
52295
52296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52297 $as_echo_n "checking for sqrtl declaration... " >&6; }
52298 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52299 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52300 $as_echo_n "(cached) " >&6
52301 else
52302
52303
52304 ac_ext=cpp
52305 ac_cpp='$CXXCPP $CPPFLAGS'
52306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52309
52310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52311 /* end confdefs.h. */
52312 #include <math.h>
52313 #ifdef HAVE_IEEEFP_H
52314 #include <ieeefp.h>
52315 #endif
52316
52317 int
52318 main ()
52319 {
52320 sqrtl(0);
52321 ;
52322 return 0;
52323 }
52324 _ACEOF
52325 if ac_fn_cxx_try_compile "$LINENO"; then :
52326 glibcxx_cv_func_sqrtl_use=yes
52327 else
52328 glibcxx_cv_func_sqrtl_use=no
52329 fi
52330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52331 ac_ext=c
52332 ac_cpp='$CPP $CPPFLAGS'
52333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52336
52337
52338 fi
52339
52340 fi
52341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52342 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52343
52344 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52345 for ac_func in sqrtl
52346 do :
52347 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52348 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52349 cat >>confdefs.h <<_ACEOF
52350 #define HAVE_SQRTL 1
52351 _ACEOF
52352
52353 fi
52354 done
52355
52356 else
52357
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52359 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52360 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52361 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
52383 ;
52384 return 0;
52385 }
52386 _ACEOF
52387 if ac_fn_cxx_try_compile "$LINENO"; then :
52388 glibcxx_cv_func__sqrtl_use=yes
52389 else
52390 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
52404 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52405
52406 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52407 for ac_func in _sqrtl
52408 do :
52409 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52410 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52411 cat >>confdefs.h <<_ACEOF
52412 #define HAVE__SQRTL 1
52413 _ACEOF
52414
52415 fi
52416 done
52417
52418 fi
52419 fi
52420
52421
52422
52423
52424
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52426 $as_echo_n "checking for sincosl declaration... " >&6; }
52427 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52428 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52431
52432
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52442 int
52443 main ()
52444 {
52445 sincosl(0, 0, 0);
52446 ;
52447 return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func_sincosl_use=yes
52452 else
52453 glibcxx_cv_func_sincosl_use=no
52454 fi
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465 fi
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52467 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52468
52469 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52470 for ac_func in sincosl
52471 do :
52472 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52473 if test "x$ac_cv_func_sincosl" = x""yes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE_SINCOSL 1
52476 _ACEOF
52477
52478 fi
52479 done
52480
52481 else
52482
52483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52484 $as_echo_n "checking for _sincosl declaration... " >&6; }
52485 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52486 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52487 $as_echo_n "(cached) " >&6
52488 else
52489
52490
52491 ac_ext=cpp
52492 ac_cpp='$CXXCPP $CPPFLAGS'
52493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52496
52497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52498 /* end confdefs.h. */
52499 #include <math.h>
52500 int
52501 main ()
52502 {
52503 _sincosl(0, 0, 0);
52504 ;
52505 return 0;
52506 }
52507 _ACEOF
52508 if ac_fn_cxx_try_compile "$LINENO"; then :
52509 glibcxx_cv_func__sincosl_use=yes
52510 else
52511 glibcxx_cv_func__sincosl_use=no
52512 fi
52513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52514 ac_ext=c
52515 ac_cpp='$CPP $CPPFLAGS'
52516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52519
52520
52521 fi
52522
52523 fi
52524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52525 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52526
52527 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52528 for ac_func in _sincosl
52529 do :
52530 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52531 if test "x$ac_cv_func__sincosl" = x""yes; then :
52532 cat >>confdefs.h <<_ACEOF
52533 #define HAVE__SINCOSL 1
52534 _ACEOF
52535
52536 fi
52537 done
52538
52539 fi
52540 fi
52541
52542
52543
52544
52545
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52547 $as_echo_n "checking for finitel declaration... " >&6; }
52548 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52549 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52550 $as_echo_n "(cached) " >&6
52551 else
52552
52553
52554 ac_ext=cpp
52555 ac_cpp='$CXXCPP $CPPFLAGS'
52556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52559
52560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52561 /* end confdefs.h. */
52562 #include <math.h>
52563 #ifdef HAVE_IEEEFP_H
52564 #include <ieeefp.h>
52565 #endif
52566
52567 int
52568 main ()
52569 {
52570 finitel(0);
52571 ;
52572 return 0;
52573 }
52574 _ACEOF
52575 if ac_fn_cxx_try_compile "$LINENO"; then :
52576 glibcxx_cv_func_finitel_use=yes
52577 else
52578 glibcxx_cv_func_finitel_use=no
52579 fi
52580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52581 ac_ext=c
52582 ac_cpp='$CPP $CPPFLAGS'
52583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52586
52587
52588 fi
52589
52590 fi
52591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52592 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52593
52594 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52595 for ac_func in finitel
52596 do :
52597 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52598 if test "x$ac_cv_func_finitel" = x""yes; then :
52599 cat >>confdefs.h <<_ACEOF
52600 #define HAVE_FINITEL 1
52601 _ACEOF
52602
52603 fi
52604 done
52605
52606 else
52607
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52609 $as_echo_n "checking for _finitel declaration... " >&6; }
52610 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52611 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52612 $as_echo_n "(cached) " >&6
52613 else
52614
52615
52616 ac_ext=cpp
52617 ac_cpp='$CXXCPP $CPPFLAGS'
52618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52621
52622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52623 /* end confdefs.h. */
52624 #include <math.h>
52625 #ifdef HAVE_IEEEFP_H
52626 #include <ieeefp.h>
52627 #endif
52628
52629 int
52630 main ()
52631 {
52632 _finitel(0);
52633 ;
52634 return 0;
52635 }
52636 _ACEOF
52637 if ac_fn_cxx_try_compile "$LINENO"; then :
52638 glibcxx_cv_func__finitel_use=yes
52639 else
52640 glibcxx_cv_func__finitel_use=no
52641 fi
52642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52643 ac_ext=c
52644 ac_cpp='$CPP $CPPFLAGS'
52645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52648
52649
52650 fi
52651
52652 fi
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52654 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52655
52656 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52657 for ac_func in _finitel
52658 do :
52659 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52660 if test "x$ac_cv_func__finitel" = x""yes; then :
52661 cat >>confdefs.h <<_ACEOF
52662 #define HAVE__FINITEL 1
52663 _ACEOF
52664
52665 fi
52666 done
52667
52668 fi
52669 fi
52670
52671
52672
52673
52674 LIBS="$ac_save_LIBS"
52675 CXXFLAGS="$ac_save_CXXFLAGS"
52676
52677
52678 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52679 ac_save_CXXFLAGS="$CXXFLAGS"
52680 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52681
52682
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52684 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52685 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52686 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52687 $as_echo_n "(cached) " >&6
52688 else
52689
52690
52691 ac_ext=cpp
52692 ac_cpp='$CXXCPP $CPPFLAGS'
52693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52696
52697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52698 /* end confdefs.h. */
52699 #include <stdlib.h>
52700 int
52701 main ()
52702 {
52703 at_quick_exit(0);
52704 ;
52705 return 0;
52706 }
52707 _ACEOF
52708 if ac_fn_cxx_try_compile "$LINENO"; then :
52709 glibcxx_cv_func_at_quick_exit_use=yes
52710 else
52711 glibcxx_cv_func_at_quick_exit_use=no
52712 fi
52713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52714 ac_ext=c
52715 ac_cpp='$CPP $CPPFLAGS'
52716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52719
52720
52721 fi
52722
52723 fi
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52725 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52726 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52727 for ac_func in at_quick_exit
52728 do :
52729 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52730 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52731 cat >>confdefs.h <<_ACEOF
52732 #define HAVE_AT_QUICK_EXIT 1
52733 _ACEOF
52734
52735 fi
52736 done
52737
52738 fi
52739
52740
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52742 $as_echo_n "checking for quick_exit declaration... " >&6; }
52743 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52744 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52745 $as_echo_n "(cached) " >&6
52746 else
52747
52748
52749 ac_ext=cpp
52750 ac_cpp='$CXXCPP $CPPFLAGS'
52751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754
52755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52756 /* end confdefs.h. */
52757 #include <stdlib.h>
52758 int
52759 main ()
52760 {
52761 quick_exit(0);
52762 ;
52763 return 0;
52764 }
52765 _ACEOF
52766 if ac_fn_cxx_try_compile "$LINENO"; then :
52767 glibcxx_cv_func_quick_exit_use=yes
52768 else
52769 glibcxx_cv_func_quick_exit_use=no
52770 fi
52771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52772 ac_ext=c
52773 ac_cpp='$CPP $CPPFLAGS'
52774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52777
52778
52779 fi
52780
52781 fi
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52783 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52784 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52785 for ac_func in quick_exit
52786 do :
52787 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52788 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52789 cat >>confdefs.h <<_ACEOF
52790 #define HAVE_QUICK_EXIT 1
52791 _ACEOF
52792
52793 fi
52794 done
52795
52796 fi
52797
52798
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52800 $as_echo_n "checking for strtold declaration... " >&6; }
52801 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52802 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52803 $as_echo_n "(cached) " >&6
52804 else
52805
52806
52807 ac_ext=cpp
52808 ac_cpp='$CXXCPP $CPPFLAGS'
52809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52812
52813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52814 /* end confdefs.h. */
52815 #include <stdlib.h>
52816 int
52817 main ()
52818 {
52819 strtold(0, 0);
52820 ;
52821 return 0;
52822 }
52823 _ACEOF
52824 if ac_fn_cxx_try_compile "$LINENO"; then :
52825 glibcxx_cv_func_strtold_use=yes
52826 else
52827 glibcxx_cv_func_strtold_use=no
52828 fi
52829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52830 ac_ext=c
52831 ac_cpp='$CPP $CPPFLAGS'
52832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52835
52836
52837 fi
52838
52839 fi
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52841 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52842 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52843 for ac_func in strtold
52844 do :
52845 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52846 if test "x$ac_cv_func_strtold" = x""yes; then :
52847 cat >>confdefs.h <<_ACEOF
52848 #define HAVE_STRTOLD 1
52849 _ACEOF
52850
52851 fi
52852 done
52853
52854 fi
52855
52856
52857
52858
52859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52860 $as_echo_n "checking for strtof declaration... " >&6; }
52861 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52862 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52863 $as_echo_n "(cached) " >&6
52864 else
52865
52866
52867 ac_ext=cpp
52868 ac_cpp='$CXXCPP $CPPFLAGS'
52869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52872
52873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52874 /* end confdefs.h. */
52875 #include <stdlib.h>
52876 int
52877 main ()
52878 {
52879 strtof(0, 0);
52880 ;
52881 return 0;
52882 }
52883 _ACEOF
52884 if ac_fn_cxx_try_compile "$LINENO"; then :
52885 glibcxx_cv_func_strtof_use=yes
52886 else
52887 glibcxx_cv_func_strtof_use=no
52888 fi
52889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52890 ac_ext=c
52891 ac_cpp='$CPP $CPPFLAGS'
52892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52895
52896
52897 fi
52898
52899 fi
52900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52901 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52902 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52903 for ac_func in strtof
52904 do :
52905 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52906 if test "x$ac_cv_func_strtof" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE_STRTOF 1
52909 _ACEOF
52910
52911 fi
52912 done
52913
52914 fi
52915
52916
52917
52918
52919 CXXFLAGS="$ac_save_CXXFLAGS"
52920
52921 ;;
52922
52923 *djgpp)
52924 # GLIBCXX_CHECK_MATH_SUPPORT
52925 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52926
52927 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52928
52929 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52930
52931 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52932
52933 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52934
52935 ;;
52936
52937 *-freebsd*)
52938 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52939
52940
52941 # If we're not using GNU ld, then there's no point in even trying these
52942 # tests. Check for that first. We should have already tested for gld
52943 # by now (in libtool), but require it now just to be safe...
52944 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52945 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52946
52947
52948
52949 # The name set by libtool depends on the version of libtool. Shame on us
52950 # for depending on an impl detail, but c'est la vie. Older versions used
52951 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52952 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52953 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52954 # set (hence we're using an older libtool), then set it.
52955 if test x${with_gnu_ld+set} != xset; then
52956 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52957 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52958 with_gnu_ld=no
52959 else
52960 with_gnu_ld=$ac_cv_prog_gnu_ld
52961 fi
52962 fi
52963
52964 # Start by getting the version number. I think the libtool test already
52965 # does some of this, but throws away the result.
52966 glibcxx_ld_is_gold=no
52967 if test x"$with_gnu_ld" = x"yes"; then
52968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52969 $as_echo_n "checking for ld version... " >&6; }
52970
52971 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52972 glibcxx_ld_is_gold=yes
52973 fi
52974 ldver=`$LD --version 2>/dev/null |
52975 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'`
52976
52977 glibcxx_gnu_ld_version=`echo $ldver | \
52978 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52980 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52981 fi
52982
52983 # Set --gc-sections.
52984 glibcxx_have_gc_sections=no
52985 if test "$glibcxx_ld_is_gold" = "yes"; then
52986 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52987 glibcxx_have_gc_sections=yes
52988 fi
52989 else
52990 glibcxx_gcsections_min_ld=21602
52991 if test x"$with_gnu_ld" = x"yes" &&
52992 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52993 glibcxx_have_gc_sections=yes
52994 fi
52995 fi
52996 if test "$glibcxx_have_gc_sections" = "yes"; then
52997 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52998 # NB: This flag only works reliably after 2.16.1. Configure tests
52999 # for this are difficult, so hard wire a value that should work.
53000
53001 ac_test_CFLAGS="${CFLAGS+set}"
53002 ac_save_CFLAGS="$CFLAGS"
53003 CFLAGS='-Wl,--gc-sections'
53004
53005 # Check for -Wl,--gc-sections
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53007 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53008 if test x$gcc_no_link = xyes; then
53009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53010 fi
53011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53012 /* end confdefs.h. */
53013 int one(void) { return 1; }
53014 int two(void) { return 2; }
53015
53016 int
53017 main ()
53018 {
53019 two();
53020 ;
53021 return 0;
53022 }
53023 _ACEOF
53024 if ac_fn_c_try_link "$LINENO"; then :
53025 ac_gcsections=yes
53026 else
53027 ac_gcsections=no
53028 fi
53029 rm -f core conftest.err conftest.$ac_objext \
53030 conftest$ac_exeext conftest.$ac_ext
53031 if test "$ac_gcsections" = "yes"; then
53032 rm -f conftest.c
53033 touch conftest.c
53034 if $CC -c conftest.c; then
53035 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53036 grep "Warning: gc-sections option ignored" > /dev/null; then
53037 ac_gcsections=no
53038 fi
53039 fi
53040 rm -f conftest.c conftest.o conftest
53041 fi
53042 if test "$ac_gcsections" = "yes"; then
53043 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53044 fi
53045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53046 $as_echo "$ac_gcsections" >&6; }
53047
53048 if test "$ac_test_CFLAGS" = set; then
53049 CFLAGS="$ac_save_CFLAGS"
53050 else
53051 # this is the suspicious part
53052 CFLAGS=''
53053 fi
53054 fi
53055
53056 # Set -z,relro.
53057 # Note this is only for shared objects.
53058 ac_ld_relro=no
53059 if test x"$with_gnu_ld" = x"yes"; then
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53061 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53062 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53063 if test -n "$cxx_z_relo"; then
53064 OPT_LDFLAGS="-Wl,-z,relro"
53065 ac_ld_relro=yes
53066 fi
53067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53068 $as_echo "$ac_ld_relro" >&6; }
53069 fi
53070
53071 # Set linker optimization flags.
53072 if test x"$with_gnu_ld" = x"yes"; then
53073 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53074 fi
53075
53076
53077
53078
53079 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53080
53081 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53082
53083 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53084
53085 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53086
53087 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53088
53089 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53090
53091 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53092
53093 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53094
53095 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53096
53097
53098 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53099
53100 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53101
53102 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53103
53104 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53105
53106 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53107
53108 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53109
53110 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53111
53112 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53113
53114 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53115
53116 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53117
53118 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53119
53120 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53121
53122 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53123
53124 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53125
53126 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53127
53128 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53129
53130 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53131
53132 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53133
53134 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53135
53136 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53137
53138 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53139
53140 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53141
53142 if test x"long_double_math_on_this_cpu" = x"yes"; then
53143 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53144
53145 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53146
53147 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53148
53149 fi
53150 ;;
53151 *-hpux*)
53152 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53153
53154
53155 # If we're not using GNU ld, then there's no point in even trying these
53156 # tests. Check for that first. We should have already tested for gld
53157 # by now (in libtool), but require it now just to be safe...
53158 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53159 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53160
53161
53162
53163 # The name set by libtool depends on the version of libtool. Shame on us
53164 # for depending on an impl detail, but c'est la vie. Older versions used
53165 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53166 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53167 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53168 # set (hence we're using an older libtool), then set it.
53169 if test x${with_gnu_ld+set} != xset; then
53170 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53171 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53172 with_gnu_ld=no
53173 else
53174 with_gnu_ld=$ac_cv_prog_gnu_ld
53175 fi
53176 fi
53177
53178 # Start by getting the version number. I think the libtool test already
53179 # does some of this, but throws away the result.
53180 glibcxx_ld_is_gold=no
53181 if test x"$with_gnu_ld" = x"yes"; then
53182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53183 $as_echo_n "checking for ld version... " >&6; }
53184
53185 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53186 glibcxx_ld_is_gold=yes
53187 fi
53188 ldver=`$LD --version 2>/dev/null |
53189 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'`
53190
53191 glibcxx_gnu_ld_version=`echo $ldver | \
53192 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53194 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53195 fi
53196
53197 # Set --gc-sections.
53198 glibcxx_have_gc_sections=no
53199 if test "$glibcxx_ld_is_gold" = "yes"; then
53200 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53201 glibcxx_have_gc_sections=yes
53202 fi
53203 else
53204 glibcxx_gcsections_min_ld=21602
53205 if test x"$with_gnu_ld" = x"yes" &&
53206 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53207 glibcxx_have_gc_sections=yes
53208 fi
53209 fi
53210 if test "$glibcxx_have_gc_sections" = "yes"; then
53211 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53212 # NB: This flag only works reliably after 2.16.1. Configure tests
53213 # for this are difficult, so hard wire a value that should work.
53214
53215 ac_test_CFLAGS="${CFLAGS+set}"
53216 ac_save_CFLAGS="$CFLAGS"
53217 CFLAGS='-Wl,--gc-sections'
53218
53219 # Check for -Wl,--gc-sections
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53221 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53222 if test x$gcc_no_link = xyes; then
53223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53224 fi
53225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53226 /* end confdefs.h. */
53227 int one(void) { return 1; }
53228 int two(void) { return 2; }
53229
53230 int
53231 main ()
53232 {
53233 two();
53234 ;
53235 return 0;
53236 }
53237 _ACEOF
53238 if ac_fn_c_try_link "$LINENO"; then :
53239 ac_gcsections=yes
53240 else
53241 ac_gcsections=no
53242 fi
53243 rm -f core conftest.err conftest.$ac_objext \
53244 conftest$ac_exeext conftest.$ac_ext
53245 if test "$ac_gcsections" = "yes"; then
53246 rm -f conftest.c
53247 touch conftest.c
53248 if $CC -c conftest.c; then
53249 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53250 grep "Warning: gc-sections option ignored" > /dev/null; then
53251 ac_gcsections=no
53252 fi
53253 fi
53254 rm -f conftest.c conftest.o conftest
53255 fi
53256 if test "$ac_gcsections" = "yes"; then
53257 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53258 fi
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53260 $as_echo "$ac_gcsections" >&6; }
53261
53262 if test "$ac_test_CFLAGS" = set; then
53263 CFLAGS="$ac_save_CFLAGS"
53264 else
53265 # this is the suspicious part
53266 CFLAGS=''
53267 fi
53268 fi
53269
53270 # Set -z,relro.
53271 # Note this is only for shared objects.
53272 ac_ld_relro=no
53273 if test x"$with_gnu_ld" = x"yes"; then
53274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53275 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53276 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53277 if test -n "$cxx_z_relo"; then
53278 OPT_LDFLAGS="-Wl,-z,relro"
53279 ac_ld_relro=yes
53280 fi
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53282 $as_echo "$ac_ld_relro" >&6; }
53283 fi
53284
53285 # Set linker optimization flags.
53286 if test x"$with_gnu_ld" = x"yes"; then
53287 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53288 fi
53289
53290
53291
53292
53293
53294 # GLIBCXX_CHECK_MATH_SUPPORT
53295 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53296
53297 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53298
53299 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53300
53301 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53302
53303 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53304
53305 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53306
53307 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53308
53309 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53310
53311 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53312
53313 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53314
53315 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53316
53317 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53318
53319 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53320
53321 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53322
53323 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53324
53325 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53326
53327 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53328
53329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53330
53331 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53332
53333 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53334
53335 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53336
53337
53338 # GLIBCXX_CHECK_STDLIB_SUPPORT
53339 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53340
53341
53342
53343
53344 # Check whether --enable-tls was given.
53345 if test "${enable_tls+set}" = set; then :
53346 enableval=$enable_tls;
53347 case "$enableval" in
53348 yes|no) ;;
53349 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53350 esac
53351
53352 else
53353 enable_tls=yes
53354 fi
53355
53356
53357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53358 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53359 if test "${gcc_cv_have_tls+set}" = set; then :
53360 $as_echo_n "(cached) " >&6
53361 else
53362
53363 if test "$cross_compiling" = yes; then :
53364 if test x$gcc_no_link = xyes; then
53365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53366 fi
53367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53368 /* end confdefs.h. */
53369 __thread int a; int b; int main() { return a = b; }
53370 _ACEOF
53371 if ac_fn_c_try_link "$LINENO"; then :
53372 chktls_save_LDFLAGS="$LDFLAGS"
53373 case $host in
53374 *-*-linux*)
53375 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53376 ;;
53377 esac
53378 chktls_save_CFLAGS="$CFLAGS"
53379 CFLAGS="-fPIC $CFLAGS"
53380 if test x$gcc_no_link = xyes; then
53381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53382 fi
53383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h. */
53385 int f() { return 0; }
53386 _ACEOF
53387 if ac_fn_c_try_link "$LINENO"; then :
53388 if test x$gcc_no_link = xyes; then
53389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53390 fi
53391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53392 /* end confdefs.h. */
53393 __thread int a; int b; int f() { return a = b; }
53394 _ACEOF
53395 if ac_fn_c_try_link "$LINENO"; then :
53396 gcc_cv_have_tls=yes
53397 else
53398 gcc_cv_have_tls=no
53399 fi
53400 rm -f core conftest.err conftest.$ac_objext \
53401 conftest$ac_exeext conftest.$ac_ext
53402 else
53403 gcc_cv_have_tls=yes
53404 fi
53405 rm -f core conftest.err conftest.$ac_objext \
53406 conftest$ac_exeext conftest.$ac_ext
53407 CFLAGS="$chktls_save_CFLAGS"
53408 LDFLAGS="$chktls_save_LDFLAGS"
53409 else
53410 gcc_cv_have_tls=no
53411 fi
53412 rm -f core conftest.err conftest.$ac_objext \
53413 conftest$ac_exeext conftest.$ac_ext
53414
53415
53416 else
53417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53418 /* end confdefs.h. */
53419 __thread int a; int b; int main() { return a = b; }
53420 _ACEOF
53421 if ac_fn_c_try_run "$LINENO"; then :
53422 chktls_save_LDFLAGS="$LDFLAGS"
53423 LDFLAGS="-static $LDFLAGS"
53424 if test x$gcc_no_link = xyes; then
53425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53426 fi
53427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53428 /* end confdefs.h. */
53429 int main() { return 0; }
53430 _ACEOF
53431 if ac_fn_c_try_link "$LINENO"; then :
53432 if test "$cross_compiling" = yes; then :
53433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53435 as_fn_error "cannot run test program while cross compiling
53436 See \`config.log' for more details." "$LINENO" 5; }
53437 else
53438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53439 /* end confdefs.h. */
53440 __thread int a; int b; int main() { return a = b; }
53441 _ACEOF
53442 if ac_fn_c_try_run "$LINENO"; then :
53443 gcc_cv_have_tls=yes
53444 else
53445 gcc_cv_have_tls=no
53446 fi
53447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53448 conftest.$ac_objext conftest.beam conftest.$ac_ext
53449 fi
53450
53451 else
53452 gcc_cv_have_tls=yes
53453 fi
53454 rm -f core conftest.err conftest.$ac_objext \
53455 conftest$ac_exeext conftest.$ac_ext
53456 LDFLAGS="$chktls_save_LDFLAGS"
53457 if test $gcc_cv_have_tls = yes; then
53458 chktls_save_CFLAGS="$CFLAGS"
53459 thread_CFLAGS=failed
53460 for flag in '' '-pthread' '-lpthread'; do
53461 CFLAGS="$flag $chktls_save_CFLAGS"
53462 if test x$gcc_no_link = xyes; then
53463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53464 fi
53465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53466 /* end confdefs.h. */
53467 #include <pthread.h>
53468 void *g(void *d) { return NULL; }
53469 int
53470 main ()
53471 {
53472 pthread_t t; pthread_create(&t,NULL,g,NULL);
53473 ;
53474 return 0;
53475 }
53476 _ACEOF
53477 if ac_fn_c_try_link "$LINENO"; then :
53478 thread_CFLAGS="$flag"
53479 fi
53480 rm -f core conftest.err conftest.$ac_objext \
53481 conftest$ac_exeext conftest.$ac_ext
53482 if test "X$thread_CFLAGS" != Xfailed; then
53483 break
53484 fi
53485 done
53486 CFLAGS="$chktls_save_CFLAGS"
53487 if test "X$thread_CFLAGS" != Xfailed; then
53488 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53489 if test "$cross_compiling" = yes; then :
53490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53492 as_fn_error "cannot run test program while cross compiling
53493 See \`config.log' for more details." "$LINENO" 5; }
53494 else
53495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53496 /* end confdefs.h. */
53497 #include <pthread.h>
53498 __thread int a;
53499 static int *volatile a_in_other_thread;
53500 static void *
53501 thread_func (void *arg)
53502 {
53503 a_in_other_thread = &a;
53504 return (void *)0;
53505 }
53506 int
53507 main ()
53508 {
53509 pthread_t thread;
53510 void *thread_retval;
53511 int *volatile a_in_main_thread;
53512 a_in_main_thread = &a;
53513 if (pthread_create (&thread, (pthread_attr_t *)0,
53514 thread_func, (void *)0))
53515 return 0;
53516 if (pthread_join (thread, &thread_retval))
53517 return 0;
53518 return (a_in_other_thread == a_in_main_thread);
53519 ;
53520 return 0;
53521 }
53522 _ACEOF
53523 if ac_fn_c_try_run "$LINENO"; then :
53524 gcc_cv_have_tls=yes
53525 else
53526 gcc_cv_have_tls=no
53527 fi
53528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53529 conftest.$ac_objext conftest.beam conftest.$ac_ext
53530 fi
53531
53532 CFLAGS="$chktls_save_CFLAGS"
53533 fi
53534 fi
53535 else
53536 gcc_cv_have_tls=no
53537 fi
53538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53539 conftest.$ac_objext conftest.beam conftest.$ac_ext
53540 fi
53541
53542 fi
53543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53544 $as_echo "$gcc_cv_have_tls" >&6; }
53545 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53546
53547 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53548
53549 fi
53550 case "$target" in
53551 *-hpux10*)
53552 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53553
53554 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53555
53556 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53557
53558 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53559
53560 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53561
53562 ;;
53563 esac
53564 ;;
53565 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53566
53567 # All these tests are for C++; save the language and the compiler flags.
53568 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53569 # found in GLIBCXX_CONFIGURE.
53570
53571 ac_ext=cpp
53572 ac_cpp='$CXXCPP $CPPFLAGS'
53573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576
53577 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53578 ac_save_CXXFLAGS="$CXXFLAGS"
53579
53580 # Check for maintainer-mode bits.
53581 if test x"$USE_MAINTAINER_MODE" = xno; then
53582 WERROR=''
53583 else
53584 WERROR='-Werror'
53585 fi
53586
53587 # Check for -ffunction-sections -fdata-sections
53588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53589 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53590 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53592 /* end confdefs.h. */
53593 int foo; void bar() { };
53594 int
53595 main ()
53596 {
53597
53598 ;
53599 return 0;
53600 }
53601 _ACEOF
53602 if ac_fn_cxx_try_compile "$LINENO"; then :
53603 ac_fdsections=yes
53604 else
53605 ac_fdsections=no
53606 fi
53607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53608 if test "$ac_test_CXXFLAGS" = set; then
53609 CXXFLAGS="$ac_save_CXXFLAGS"
53610 else
53611 # this is the suspicious part
53612 CXXFLAGS=''
53613 fi
53614 if test x"$ac_fdsections" = x"yes"; then
53615 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53616 fi
53617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53618 $as_echo "$ac_fdsections" >&6; }
53619
53620 ac_ext=c
53621 ac_cpp='$CPP $CPPFLAGS'
53622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53625
53626
53627
53628
53629
53630 # If we're not using GNU ld, then there's no point in even trying these
53631 # tests. Check for that first. We should have already tested for gld
53632 # by now (in libtool), but require it now just to be safe...
53633 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53634 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53635
53636
53637
53638 # The name set by libtool depends on the version of libtool. Shame on us
53639 # for depending on an impl detail, but c'est la vie. Older versions used
53640 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53641 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53642 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53643 # set (hence we're using an older libtool), then set it.
53644 if test x${with_gnu_ld+set} != xset; then
53645 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53646 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53647 with_gnu_ld=no
53648 else
53649 with_gnu_ld=$ac_cv_prog_gnu_ld
53650 fi
53651 fi
53652
53653 # Start by getting the version number. I think the libtool test already
53654 # does some of this, but throws away the result.
53655 glibcxx_ld_is_gold=no
53656 if test x"$with_gnu_ld" = x"yes"; then
53657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53658 $as_echo_n "checking for ld version... " >&6; }
53659
53660 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53661 glibcxx_ld_is_gold=yes
53662 fi
53663 ldver=`$LD --version 2>/dev/null |
53664 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'`
53665
53666 glibcxx_gnu_ld_version=`echo $ldver | \
53667 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53669 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53670 fi
53671
53672 # Set --gc-sections.
53673 glibcxx_have_gc_sections=no
53674 if test "$glibcxx_ld_is_gold" = "yes"; then
53675 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53676 glibcxx_have_gc_sections=yes
53677 fi
53678 else
53679 glibcxx_gcsections_min_ld=21602
53680 if test x"$with_gnu_ld" = x"yes" &&
53681 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53682 glibcxx_have_gc_sections=yes
53683 fi
53684 fi
53685 if test "$glibcxx_have_gc_sections" = "yes"; then
53686 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53687 # NB: This flag only works reliably after 2.16.1. Configure tests
53688 # for this are difficult, so hard wire a value that should work.
53689
53690 ac_test_CFLAGS="${CFLAGS+set}"
53691 ac_save_CFLAGS="$CFLAGS"
53692 CFLAGS='-Wl,--gc-sections'
53693
53694 # Check for -Wl,--gc-sections
53695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53696 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53697 if test x$gcc_no_link = xyes; then
53698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53699 fi
53700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53701 /* end confdefs.h. */
53702 int one(void) { return 1; }
53703 int two(void) { return 2; }
53704
53705 int
53706 main ()
53707 {
53708 two();
53709 ;
53710 return 0;
53711 }
53712 _ACEOF
53713 if ac_fn_c_try_link "$LINENO"; then :
53714 ac_gcsections=yes
53715 else
53716 ac_gcsections=no
53717 fi
53718 rm -f core conftest.err conftest.$ac_objext \
53719 conftest$ac_exeext conftest.$ac_ext
53720 if test "$ac_gcsections" = "yes"; then
53721 rm -f conftest.c
53722 touch conftest.c
53723 if $CC -c conftest.c; then
53724 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53725 grep "Warning: gc-sections option ignored" > /dev/null; then
53726 ac_gcsections=no
53727 fi
53728 fi
53729 rm -f conftest.c conftest.o conftest
53730 fi
53731 if test "$ac_gcsections" = "yes"; then
53732 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53733 fi
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53735 $as_echo "$ac_gcsections" >&6; }
53736
53737 if test "$ac_test_CFLAGS" = set; then
53738 CFLAGS="$ac_save_CFLAGS"
53739 else
53740 # this is the suspicious part
53741 CFLAGS=''
53742 fi
53743 fi
53744
53745 # Set -z,relro.
53746 # Note this is only for shared objects.
53747 ac_ld_relro=no
53748 if test x"$with_gnu_ld" = x"yes"; then
53749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53750 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53751 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53752 if test -n "$cxx_z_relo"; then
53753 OPT_LDFLAGS="-Wl,-z,relro"
53754 ac_ld_relro=yes
53755 fi
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53757 $as_echo "$ac_ld_relro" >&6; }
53758 fi
53759
53760 # Set linker optimization flags.
53761 if test x"$with_gnu_ld" = x"yes"; then
53762 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53763 fi
53764
53765
53766
53767
53768
53769 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53770 ac_save_CXXFLAGS="$CXXFLAGS"
53771 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53772
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53774 $as_echo_n "checking for sin in -lm... " >&6; }
53775 if test "${ac_cv_lib_m_sin+set}" = set; then :
53776 $as_echo_n "(cached) " >&6
53777 else
53778 ac_check_lib_save_LIBS=$LIBS
53779 LIBS="-lm $LIBS"
53780 if test x$gcc_no_link = xyes; then
53781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53782 fi
53783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53784 /* end confdefs.h. */
53785
53786 /* Override any GCC internal prototype to avoid an error.
53787 Use char because int might match the return type of a GCC
53788 builtin and then its argument prototype would still apply. */
53789 #ifdef __cplusplus
53790 extern "C"
53791 #endif
53792 char sin ();
53793 int
53794 main ()
53795 {
53796 return sin ();
53797 ;
53798 return 0;
53799 }
53800 _ACEOF
53801 if ac_fn_c_try_link "$LINENO"; then :
53802 ac_cv_lib_m_sin=yes
53803 else
53804 ac_cv_lib_m_sin=no
53805 fi
53806 rm -f core conftest.err conftest.$ac_objext \
53807 conftest$ac_exeext conftest.$ac_ext
53808 LIBS=$ac_check_lib_save_LIBS
53809 fi
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53811 $as_echo "$ac_cv_lib_m_sin" >&6; }
53812 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53813 libm="-lm"
53814 fi
53815
53816 ac_save_LIBS="$LIBS"
53817 LIBS="$LIBS $libm"
53818
53819
53820
53821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53822 $as_echo_n "checking for isinf declaration... " >&6; }
53823 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53824 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53825 $as_echo_n "(cached) " >&6
53826 else
53827
53828
53829 ac_ext=cpp
53830 ac_cpp='$CXXCPP $CPPFLAGS'
53831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53834
53835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53836 /* end confdefs.h. */
53837 #include <math.h>
53838 #ifdef HAVE_IEEEFP_H
53839 #include <ieeefp.h>
53840 #endif
53841
53842 int
53843 main ()
53844 {
53845 isinf(0);
53846 ;
53847 return 0;
53848 }
53849 _ACEOF
53850 if ac_fn_cxx_try_compile "$LINENO"; then :
53851 glibcxx_cv_func_isinf_use=yes
53852 else
53853 glibcxx_cv_func_isinf_use=no
53854 fi
53855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53856 ac_ext=c
53857 ac_cpp='$CPP $CPPFLAGS'
53858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53861
53862
53863 fi
53864
53865 fi
53866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53867 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53868
53869 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53870 for ac_func in isinf
53871 do :
53872 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53873 if test "x$ac_cv_func_isinf" = x""yes; then :
53874 cat >>confdefs.h <<_ACEOF
53875 #define HAVE_ISINF 1
53876 _ACEOF
53877
53878 fi
53879 done
53880
53881 else
53882
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53884 $as_echo_n "checking for _isinf declaration... " >&6; }
53885 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53886 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53887 $as_echo_n "(cached) " >&6
53888 else
53889
53890
53891 ac_ext=cpp
53892 ac_cpp='$CXXCPP $CPPFLAGS'
53893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53896
53897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53898 /* end confdefs.h. */
53899 #include <math.h>
53900 #ifdef HAVE_IEEEFP_H
53901 #include <ieeefp.h>
53902 #endif
53903
53904 int
53905 main ()
53906 {
53907 _isinf(0);
53908 ;
53909 return 0;
53910 }
53911 _ACEOF
53912 if ac_fn_cxx_try_compile "$LINENO"; then :
53913 glibcxx_cv_func__isinf_use=yes
53914 else
53915 glibcxx_cv_func__isinf_use=no
53916 fi
53917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53918 ac_ext=c
53919 ac_cpp='$CPP $CPPFLAGS'
53920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923
53924
53925 fi
53926
53927 fi
53928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53929 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53930
53931 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53932 for ac_func in _isinf
53933 do :
53934 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53935 if test "x$ac_cv_func__isinf" = x""yes; then :
53936 cat >>confdefs.h <<_ACEOF
53937 #define HAVE__ISINF 1
53938 _ACEOF
53939
53940 fi
53941 done
53942
53943 fi
53944 fi
53945
53946
53947
53948
53949
53950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53951 $as_echo_n "checking for isnan declaration... " >&6; }
53952 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53953 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53954 $as_echo_n "(cached) " >&6
53955 else
53956
53957
53958 ac_ext=cpp
53959 ac_cpp='$CXXCPP $CPPFLAGS'
53960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963
53964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53965 /* end confdefs.h. */
53966 #include <math.h>
53967 #ifdef HAVE_IEEEFP_H
53968 #include <ieeefp.h>
53969 #endif
53970
53971 int
53972 main ()
53973 {
53974 isnan(0);
53975 ;
53976 return 0;
53977 }
53978 _ACEOF
53979 if ac_fn_cxx_try_compile "$LINENO"; then :
53980 glibcxx_cv_func_isnan_use=yes
53981 else
53982 glibcxx_cv_func_isnan_use=no
53983 fi
53984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53985 ac_ext=c
53986 ac_cpp='$CPP $CPPFLAGS'
53987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53990
53991
53992 fi
53993
53994 fi
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53996 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53997
53998 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53999 for ac_func in isnan
54000 do :
54001 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54002 if test "x$ac_cv_func_isnan" = x""yes; then :
54003 cat >>confdefs.h <<_ACEOF
54004 #define HAVE_ISNAN 1
54005 _ACEOF
54006
54007 fi
54008 done
54009
54010 else
54011
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54013 $as_echo_n "checking for _isnan declaration... " >&6; }
54014 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54015 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54016 $as_echo_n "(cached) " >&6
54017 else
54018
54019
54020 ac_ext=cpp
54021 ac_cpp='$CXXCPP $CPPFLAGS'
54022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54025
54026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54027 /* end confdefs.h. */
54028 #include <math.h>
54029 #ifdef HAVE_IEEEFP_H
54030 #include <ieeefp.h>
54031 #endif
54032
54033 int
54034 main ()
54035 {
54036 _isnan(0);
54037 ;
54038 return 0;
54039 }
54040 _ACEOF
54041 if ac_fn_cxx_try_compile "$LINENO"; then :
54042 glibcxx_cv_func__isnan_use=yes
54043 else
54044 glibcxx_cv_func__isnan_use=no
54045 fi
54046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54047 ac_ext=c
54048 ac_cpp='$CPP $CPPFLAGS'
54049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54052
54053
54054 fi
54055
54056 fi
54057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54058 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54059
54060 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54061 for ac_func in _isnan
54062 do :
54063 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54064 if test "x$ac_cv_func__isnan" = x""yes; then :
54065 cat >>confdefs.h <<_ACEOF
54066 #define HAVE__ISNAN 1
54067 _ACEOF
54068
54069 fi
54070 done
54071
54072 fi
54073 fi
54074
54075
54076
54077
54078
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54080 $as_echo_n "checking for finite declaration... " >&6; }
54081 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54082 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54083 $as_echo_n "(cached) " >&6
54084 else
54085
54086
54087 ac_ext=cpp
54088 ac_cpp='$CXXCPP $CPPFLAGS'
54089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54092
54093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54094 /* end confdefs.h. */
54095 #include <math.h>
54096 #ifdef HAVE_IEEEFP_H
54097 #include <ieeefp.h>
54098 #endif
54099
54100 int
54101 main ()
54102 {
54103 finite(0);
54104 ;
54105 return 0;
54106 }
54107 _ACEOF
54108 if ac_fn_cxx_try_compile "$LINENO"; then :
54109 glibcxx_cv_func_finite_use=yes
54110 else
54111 glibcxx_cv_func_finite_use=no
54112 fi
54113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54114 ac_ext=c
54115 ac_cpp='$CPP $CPPFLAGS'
54116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54119
54120
54121 fi
54122
54123 fi
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54125 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54126
54127 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54128 for ac_func in finite
54129 do :
54130 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54131 if test "x$ac_cv_func_finite" = x""yes; then :
54132 cat >>confdefs.h <<_ACEOF
54133 #define HAVE_FINITE 1
54134 _ACEOF
54135
54136 fi
54137 done
54138
54139 else
54140
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54142 $as_echo_n "checking for _finite declaration... " >&6; }
54143 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54144 if test "${glibcxx_cv_func__finite_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 _finite(0);
54166 ;
54167 return 0;
54168 }
54169 _ACEOF
54170 if ac_fn_cxx_try_compile "$LINENO"; then :
54171 glibcxx_cv_func__finite_use=yes
54172 else
54173 glibcxx_cv_func__finite_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__finite_use" >&5
54187 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54188
54189 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54190 for ac_func in _finite
54191 do :
54192 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54193 if test "x$ac_cv_func__finite" = x""yes; then :
54194 cat >>confdefs.h <<_ACEOF
54195 #define HAVE__FINITE 1
54196 _ACEOF
54197
54198 fi
54199 done
54200
54201 fi
54202 fi
54203
54204
54205
54206
54207
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54209 $as_echo_n "checking for sincos declaration... " >&6; }
54210 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54211 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54212 $as_echo_n "(cached) " >&6
54213 else
54214
54215
54216 ac_ext=cpp
54217 ac_cpp='$CXXCPP $CPPFLAGS'
54218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54221
54222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54223 /* end confdefs.h. */
54224 #include <math.h>
54225 int
54226 main ()
54227 {
54228 sincos(0, 0, 0);
54229 ;
54230 return 0;
54231 }
54232 _ACEOF
54233 if ac_fn_cxx_try_compile "$LINENO"; then :
54234 glibcxx_cv_func_sincos_use=yes
54235 else
54236 glibcxx_cv_func_sincos_use=no
54237 fi
54238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54239 ac_ext=c
54240 ac_cpp='$CPP $CPPFLAGS'
54241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54244
54245
54246 fi
54247
54248 fi
54249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54250 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54251
54252 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54253 for ac_func in sincos
54254 do :
54255 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54256 if test "x$ac_cv_func_sincos" = x""yes; then :
54257 cat >>confdefs.h <<_ACEOF
54258 #define HAVE_SINCOS 1
54259 _ACEOF
54260
54261 fi
54262 done
54263
54264 else
54265
54266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54267 $as_echo_n "checking for _sincos declaration... " >&6; }
54268 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54269 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54270 $as_echo_n "(cached) " >&6
54271 else
54272
54273
54274 ac_ext=cpp
54275 ac_cpp='$CXXCPP $CPPFLAGS'
54276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54279
54280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54281 /* end confdefs.h. */
54282 #include <math.h>
54283 int
54284 main ()
54285 {
54286 _sincos(0, 0, 0);
54287 ;
54288 return 0;
54289 }
54290 _ACEOF
54291 if ac_fn_cxx_try_compile "$LINENO"; then :
54292 glibcxx_cv_func__sincos_use=yes
54293 else
54294 glibcxx_cv_func__sincos_use=no
54295 fi
54296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54297 ac_ext=c
54298 ac_cpp='$CPP $CPPFLAGS'
54299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54302
54303
54304 fi
54305
54306 fi
54307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54308 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54309
54310 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54311 for ac_func in _sincos
54312 do :
54313 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54314 if test "x$ac_cv_func__sincos" = x""yes; then :
54315 cat >>confdefs.h <<_ACEOF
54316 #define HAVE__SINCOS 1
54317 _ACEOF
54318
54319 fi
54320 done
54321
54322 fi
54323 fi
54324
54325
54326
54327
54328
54329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54330 $as_echo_n "checking for fpclass declaration... " >&6; }
54331 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54332 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54333 $as_echo_n "(cached) " >&6
54334 else
54335
54336
54337 ac_ext=cpp
54338 ac_cpp='$CXXCPP $CPPFLAGS'
54339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54342
54343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54344 /* end confdefs.h. */
54345 #include <math.h>
54346 #ifdef HAVE_IEEEFP_H
54347 #include <ieeefp.h>
54348 #endif
54349
54350 int
54351 main ()
54352 {
54353 fpclass(0);
54354 ;
54355 return 0;
54356 }
54357 _ACEOF
54358 if ac_fn_cxx_try_compile "$LINENO"; then :
54359 glibcxx_cv_func_fpclass_use=yes
54360 else
54361 glibcxx_cv_func_fpclass_use=no
54362 fi
54363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54364 ac_ext=c
54365 ac_cpp='$CPP $CPPFLAGS'
54366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54369
54370
54371 fi
54372
54373 fi
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54375 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54376
54377 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54378 for ac_func in fpclass
54379 do :
54380 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54381 if test "x$ac_cv_func_fpclass" = x""yes; then :
54382 cat >>confdefs.h <<_ACEOF
54383 #define HAVE_FPCLASS 1
54384 _ACEOF
54385
54386 fi
54387 done
54388
54389 else
54390
54391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54392 $as_echo_n "checking for _fpclass declaration... " >&6; }
54393 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54394 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54395 $as_echo_n "(cached) " >&6
54396 else
54397
54398
54399 ac_ext=cpp
54400 ac_cpp='$CXXCPP $CPPFLAGS'
54401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54404
54405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54406 /* end confdefs.h. */
54407 #include <math.h>
54408 #ifdef HAVE_IEEEFP_H
54409 #include <ieeefp.h>
54410 #endif
54411
54412 int
54413 main ()
54414 {
54415 _fpclass(0);
54416 ;
54417 return 0;
54418 }
54419 _ACEOF
54420 if ac_fn_cxx_try_compile "$LINENO"; then :
54421 glibcxx_cv_func__fpclass_use=yes
54422 else
54423 glibcxx_cv_func__fpclass_use=no
54424 fi
54425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54426 ac_ext=c
54427 ac_cpp='$CPP $CPPFLAGS'
54428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54431
54432
54433 fi
54434
54435 fi
54436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54437 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54438
54439 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54440 for ac_func in _fpclass
54441 do :
54442 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54443 if test "x$ac_cv_func__fpclass" = x""yes; then :
54444 cat >>confdefs.h <<_ACEOF
54445 #define HAVE__FPCLASS 1
54446 _ACEOF
54447
54448 fi
54449 done
54450
54451 fi
54452 fi
54453
54454
54455
54456
54457
54458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54459 $as_echo_n "checking for qfpclass declaration... " >&6; }
54460 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54461 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54462 $as_echo_n "(cached) " >&6
54463 else
54464
54465
54466 ac_ext=cpp
54467 ac_cpp='$CXXCPP $CPPFLAGS'
54468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54471
54472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h. */
54474 #include <math.h>
54475 #ifdef HAVE_IEEEFP_H
54476 #include <ieeefp.h>
54477 #endif
54478
54479 int
54480 main ()
54481 {
54482 qfpclass(0);
54483 ;
54484 return 0;
54485 }
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488 glibcxx_cv_func_qfpclass_use=yes
54489 else
54490 glibcxx_cv_func_qfpclass_use=no
54491 fi
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54498
54499
54500 fi
54501
54502 fi
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54504 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54505
54506 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54507 for ac_func in qfpclass
54508 do :
54509 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54510 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54511 cat >>confdefs.h <<_ACEOF
54512 #define HAVE_QFPCLASS 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518 else
54519
54520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54521 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54522 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54523 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54524 $as_echo_n "(cached) " >&6
54525 else
54526
54527
54528 ac_ext=cpp
54529 ac_cpp='$CXXCPP $CPPFLAGS'
54530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54533
54534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54535 /* end confdefs.h. */
54536 #include <math.h>
54537 #ifdef HAVE_IEEEFP_H
54538 #include <ieeefp.h>
54539 #endif
54540
54541 int
54542 main ()
54543 {
54544 _qfpclass(0);
54545 ;
54546 return 0;
54547 }
54548 _ACEOF
54549 if ac_fn_cxx_try_compile "$LINENO"; then :
54550 glibcxx_cv_func__qfpclass_use=yes
54551 else
54552 glibcxx_cv_func__qfpclass_use=no
54553 fi
54554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54555 ac_ext=c
54556 ac_cpp='$CPP $CPPFLAGS'
54557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54560
54561
54562 fi
54563
54564 fi
54565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54566 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54567
54568 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54569 for ac_func in _qfpclass
54570 do :
54571 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54572 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54573 cat >>confdefs.h <<_ACEOF
54574 #define HAVE__QFPCLASS 1
54575 _ACEOF
54576
54577 fi
54578 done
54579
54580 fi
54581 fi
54582
54583
54584
54585
54586
54587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54588 $as_echo_n "checking for hypot declaration... " >&6; }
54589 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54590 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54591 $as_echo_n "(cached) " >&6
54592 else
54593
54594
54595 ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54600
54601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h. */
54603 #include <math.h>
54604 int
54605 main ()
54606 {
54607 hypot(0, 0);
54608 ;
54609 return 0;
54610 }
54611 _ACEOF
54612 if ac_fn_cxx_try_compile "$LINENO"; then :
54613 glibcxx_cv_func_hypot_use=yes
54614 else
54615 glibcxx_cv_func_hypot_use=no
54616 fi
54617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54618 ac_ext=c
54619 ac_cpp='$CPP $CPPFLAGS'
54620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54623
54624
54625 fi
54626
54627 fi
54628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54629 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54630
54631 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54632 for ac_func in hypot
54633 do :
54634 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54635 if test "x$ac_cv_func_hypot" = x""yes; then :
54636 cat >>confdefs.h <<_ACEOF
54637 #define HAVE_HYPOT 1
54638 _ACEOF
54639
54640 fi
54641 done
54642
54643 else
54644
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54646 $as_echo_n "checking for _hypot declaration... " >&6; }
54647 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54648 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54649 $as_echo_n "(cached) " >&6
54650 else
54651
54652
54653 ac_ext=cpp
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658
54659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660 /* end confdefs.h. */
54661 #include <math.h>
54662 int
54663 main ()
54664 {
54665 _hypot(0, 0);
54666 ;
54667 return 0;
54668 }
54669 _ACEOF
54670 if ac_fn_cxx_try_compile "$LINENO"; then :
54671 glibcxx_cv_func__hypot_use=yes
54672 else
54673 glibcxx_cv_func__hypot_use=no
54674 fi
54675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54676 ac_ext=c
54677 ac_cpp='$CPP $CPPFLAGS'
54678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54681
54682
54683 fi
54684
54685 fi
54686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54687 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54688
54689 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54690 for ac_func in _hypot
54691 do :
54692 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54693 if test "x$ac_cv_func__hypot" = x""yes; then :
54694 cat >>confdefs.h <<_ACEOF
54695 #define HAVE__HYPOT 1
54696 _ACEOF
54697
54698 fi
54699 done
54700
54701 fi
54702 fi
54703
54704
54705
54706
54707
54708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54709 $as_echo_n "checking for float trig functions... " >&6; }
54710 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54711 $as_echo_n "(cached) " >&6
54712 else
54713
54714
54715 ac_ext=cpp
54716 ac_cpp='$CXXCPP $CPPFLAGS'
54717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54720
54721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54722 /* end confdefs.h. */
54723 #include <math.h>
54724 int
54725 main ()
54726 {
54727 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54728 ;
54729 return 0;
54730 }
54731 _ACEOF
54732 if ac_fn_cxx_try_compile "$LINENO"; then :
54733 glibcxx_cv_func_float_trig_use=yes
54734 else
54735 glibcxx_cv_func_float_trig_use=no
54736 fi
54737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54738 ac_ext=c
54739 ac_cpp='$CPP $CPPFLAGS'
54740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54743
54744 fi
54745
54746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54747 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54748 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54749 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54750 do :
54751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54753 eval as_val=\$$as_ac_var
54754 if test "x$as_val" = x""yes; then :
54755 cat >>confdefs.h <<_ACEOF
54756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54757 _ACEOF
54758
54759 fi
54760 done
54761
54762 else
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54764 $as_echo_n "checking for _float trig functions... " >&6; }
54765 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54766 $as_echo_n "(cached) " >&6
54767 else
54768
54769
54770 ac_ext=cpp
54771 ac_cpp='$CXXCPP $CPPFLAGS'
54772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54775
54776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54777 /* end confdefs.h. */
54778 #include <math.h>
54779 int
54780 main ()
54781 {
54782 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54783 ;
54784 return 0;
54785 }
54786 _ACEOF
54787 if ac_fn_cxx_try_compile "$LINENO"; then :
54788 glibcxx_cv_func__float_trig_use=yes
54789 else
54790 glibcxx_cv_func__float_trig_use=no
54791 fi
54792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54793 ac_ext=c
54794 ac_cpp='$CPP $CPPFLAGS'
54795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54798
54799 fi
54800
54801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54802 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54803 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54804 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54805 do :
54806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54808 eval as_val=\$$as_ac_var
54809 if test "x$as_val" = x""yes; then :
54810 cat >>confdefs.h <<_ACEOF
54811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54812 _ACEOF
54813
54814 fi
54815 done
54816
54817 fi
54818 fi
54819
54820
54821
54822
54823
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54825 $as_echo_n "checking for float round functions... " >&6; }
54826 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54827 $as_echo_n "(cached) " >&6
54828 else
54829
54830
54831 ac_ext=cpp
54832 ac_cpp='$CXXCPP $CPPFLAGS'
54833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54836
54837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54838 /* end confdefs.h. */
54839 #include <math.h>
54840 int
54841 main ()
54842 {
54843 ceilf (0); floorf (0);
54844 ;
54845 return 0;
54846 }
54847 _ACEOF
54848 if ac_fn_cxx_try_compile "$LINENO"; then :
54849 glibcxx_cv_func_float_round_use=yes
54850 else
54851 glibcxx_cv_func_float_round_use=no
54852 fi
54853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54854 ac_ext=c
54855 ac_cpp='$CPP $CPPFLAGS'
54856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54859
54860 fi
54861
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54863 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54864 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54865 for ac_func in ceilf floorf
54866 do :
54867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54869 eval as_val=\$$as_ac_var
54870 if test "x$as_val" = x""yes; then :
54871 cat >>confdefs.h <<_ACEOF
54872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54873 _ACEOF
54874
54875 fi
54876 done
54877
54878 else
54879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54880 $as_echo_n "checking for _float round functions... " >&6; }
54881 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54882 $as_echo_n "(cached) " >&6
54883 else
54884
54885
54886 ac_ext=cpp
54887 ac_cpp='$CXXCPP $CPPFLAGS'
54888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891
54892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54893 /* end confdefs.h. */
54894 #include <math.h>
54895 int
54896 main ()
54897 {
54898 _ceilf (0); _floorf (0);
54899 ;
54900 return 0;
54901 }
54902 _ACEOF
54903 if ac_fn_cxx_try_compile "$LINENO"; then :
54904 glibcxx_cv_func__float_round_use=yes
54905 else
54906 glibcxx_cv_func__float_round_use=no
54907 fi
54908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54909 ac_ext=c
54910 ac_cpp='$CPP $CPPFLAGS'
54911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54914
54915 fi
54916
54917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54918 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54919 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54920 for ac_func in _ceilf _floorf
54921 do :
54922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54924 eval as_val=\$$as_ac_var
54925 if test "x$as_val" = x""yes; then :
54926 cat >>confdefs.h <<_ACEOF
54927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54928 _ACEOF
54929
54930 fi
54931 done
54932
54933 fi
54934 fi
54935
54936
54937
54938
54939
54940
54941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54942 $as_echo_n "checking for expf declaration... " >&6; }
54943 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54944 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54945 $as_echo_n "(cached) " >&6
54946 else
54947
54948
54949 ac_ext=cpp
54950 ac_cpp='$CXXCPP $CPPFLAGS'
54951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54954
54955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54956 /* end confdefs.h. */
54957 #include <math.h>
54958 #ifdef HAVE_IEEEFP_H
54959 #include <ieeefp.h>
54960 #endif
54961
54962 int
54963 main ()
54964 {
54965 expf(0);
54966 ;
54967 return 0;
54968 }
54969 _ACEOF
54970 if ac_fn_cxx_try_compile "$LINENO"; then :
54971 glibcxx_cv_func_expf_use=yes
54972 else
54973 glibcxx_cv_func_expf_use=no
54974 fi
54975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54976 ac_ext=c
54977 ac_cpp='$CPP $CPPFLAGS'
54978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54981
54982
54983 fi
54984
54985 fi
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54987 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54988
54989 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54990 for ac_func in expf
54991 do :
54992 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54993 if test "x$ac_cv_func_expf" = x""yes; then :
54994 cat >>confdefs.h <<_ACEOF
54995 #define HAVE_EXPF 1
54996 _ACEOF
54997
54998 fi
54999 done
55000
55001 else
55002
55003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55004 $as_echo_n "checking for _expf declaration... " >&6; }
55005 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55006 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55007 $as_echo_n "(cached) " >&6
55008 else
55009
55010
55011 ac_ext=cpp
55012 ac_cpp='$CXXCPP $CPPFLAGS'
55013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55016
55017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55018 /* end confdefs.h. */
55019 #include <math.h>
55020 #ifdef HAVE_IEEEFP_H
55021 #include <ieeefp.h>
55022 #endif
55023
55024 int
55025 main ()
55026 {
55027 _expf(0);
55028 ;
55029 return 0;
55030 }
55031 _ACEOF
55032 if ac_fn_cxx_try_compile "$LINENO"; then :
55033 glibcxx_cv_func__expf_use=yes
55034 else
55035 glibcxx_cv_func__expf_use=no
55036 fi
55037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55038 ac_ext=c
55039 ac_cpp='$CPP $CPPFLAGS'
55040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55043
55044
55045 fi
55046
55047 fi
55048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55049 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55050
55051 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55052 for ac_func in _expf
55053 do :
55054 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55055 if test "x$ac_cv_func__expf" = x""yes; then :
55056 cat >>confdefs.h <<_ACEOF
55057 #define HAVE__EXPF 1
55058 _ACEOF
55059
55060 fi
55061 done
55062
55063 fi
55064 fi
55065
55066
55067
55068
55069
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55071 $as_echo_n "checking for isnanf declaration... " >&6; }
55072 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55073 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55074 $as_echo_n "(cached) " >&6
55075 else
55076
55077
55078 ac_ext=cpp
55079 ac_cpp='$CXXCPP $CPPFLAGS'
55080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55083
55084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55085 /* end confdefs.h. */
55086 #include <math.h>
55087 #ifdef HAVE_IEEEFP_H
55088 #include <ieeefp.h>
55089 #endif
55090
55091 int
55092 main ()
55093 {
55094 isnanf(0);
55095 ;
55096 return 0;
55097 }
55098 _ACEOF
55099 if ac_fn_cxx_try_compile "$LINENO"; then :
55100 glibcxx_cv_func_isnanf_use=yes
55101 else
55102 glibcxx_cv_func_isnanf_use=no
55103 fi
55104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105 ac_ext=c
55106 ac_cpp='$CPP $CPPFLAGS'
55107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55110
55111
55112 fi
55113
55114 fi
55115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55116 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55117
55118 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55119 for ac_func in isnanf
55120 do :
55121 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55122 if test "x$ac_cv_func_isnanf" = x""yes; then :
55123 cat >>confdefs.h <<_ACEOF
55124 #define HAVE_ISNANF 1
55125 _ACEOF
55126
55127 fi
55128 done
55129
55130 else
55131
55132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55133 $as_echo_n "checking for _isnanf declaration... " >&6; }
55134 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55135 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55136 $as_echo_n "(cached) " >&6
55137 else
55138
55139
55140 ac_ext=cpp
55141 ac_cpp='$CXXCPP $CPPFLAGS'
55142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55145
55146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55147 /* end confdefs.h. */
55148 #include <math.h>
55149 #ifdef HAVE_IEEEFP_H
55150 #include <ieeefp.h>
55151 #endif
55152
55153 int
55154 main ()
55155 {
55156 _isnanf(0);
55157 ;
55158 return 0;
55159 }
55160 _ACEOF
55161 if ac_fn_cxx_try_compile "$LINENO"; then :
55162 glibcxx_cv_func__isnanf_use=yes
55163 else
55164 glibcxx_cv_func__isnanf_use=no
55165 fi
55166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55167 ac_ext=c
55168 ac_cpp='$CPP $CPPFLAGS'
55169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55172
55173
55174 fi
55175
55176 fi
55177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55178 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55179
55180 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55181 for ac_func in _isnanf
55182 do :
55183 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55184 if test "x$ac_cv_func__isnanf" = x""yes; then :
55185 cat >>confdefs.h <<_ACEOF
55186 #define HAVE__ISNANF 1
55187 _ACEOF
55188
55189 fi
55190 done
55191
55192 fi
55193 fi
55194
55195
55196
55197
55198
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55200 $as_echo_n "checking for isinff declaration... " >&6; }
55201 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55202 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55203 $as_echo_n "(cached) " >&6
55204 else
55205
55206
55207 ac_ext=cpp
55208 ac_cpp='$CXXCPP $CPPFLAGS'
55209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212
55213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55214 /* end confdefs.h. */
55215 #include <math.h>
55216 #ifdef HAVE_IEEEFP_H
55217 #include <ieeefp.h>
55218 #endif
55219
55220 int
55221 main ()
55222 {
55223 isinff(0);
55224 ;
55225 return 0;
55226 }
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func_isinff_use=yes
55230 else
55231 glibcxx_cv_func_isinff_use=no
55232 fi
55233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55239
55240
55241 fi
55242
55243 fi
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55245 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55246
55247 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55248 for ac_func in isinff
55249 do :
55250 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55251 if test "x$ac_cv_func_isinff" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define HAVE_ISINFF 1
55254 _ACEOF
55255
55256 fi
55257 done
55258
55259 else
55260
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55262 $as_echo_n "checking for _isinff declaration... " >&6; }
55263 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55264 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
55286 ;
55287 return 0;
55288 }
55289 _ACEOF
55290 if ac_fn_cxx_try_compile "$LINENO"; then :
55291 glibcxx_cv_func__isinff_use=yes
55292 else
55293 glibcxx_cv_func__isinff_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__isinff_use" >&5
55307 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55308
55309 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55310 for ac_func in _isinff
55311 do :
55312 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55313 if test "x$ac_cv_func__isinff" = x""yes; then :
55314 cat >>confdefs.h <<_ACEOF
55315 #define HAVE__ISINFF 1
55316 _ACEOF
55317
55318 fi
55319 done
55320
55321 fi
55322 fi
55323
55324
55325
55326
55327
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55329 $as_echo_n "checking for atan2f declaration... " >&6; }
55330 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55331 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55334
55335
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55341
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 int
55346 main ()
55347 {
55348 atan2f(0, 0);
55349 ;
55350 return 0;
55351 }
55352 _ACEOF
55353 if ac_fn_cxx_try_compile "$LINENO"; then :
55354 glibcxx_cv_func_atan2f_use=yes
55355 else
55356 glibcxx_cv_func_atan2f_use=no
55357 fi
55358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55359 ac_ext=c
55360 ac_cpp='$CPP $CPPFLAGS'
55361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55364
55365
55366 fi
55367
55368 fi
55369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55370 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55371
55372 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55373 for ac_func in atan2f
55374 do :
55375 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55376 if test "x$ac_cv_func_atan2f" = x""yes; then :
55377 cat >>confdefs.h <<_ACEOF
55378 #define HAVE_ATAN2F 1
55379 _ACEOF
55380
55381 fi
55382 done
55383
55384 else
55385
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55387 $as_echo_n "checking for _atan2f declaration... " >&6; }
55388 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55389 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55390 $as_echo_n "(cached) " >&6
55391 else
55392
55393
55394 ac_ext=cpp
55395 ac_cpp='$CXXCPP $CPPFLAGS'
55396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55399
55400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55401 /* end confdefs.h. */
55402 #include <math.h>
55403 int
55404 main ()
55405 {
55406 _atan2f(0, 0);
55407 ;
55408 return 0;
55409 }
55410 _ACEOF
55411 if ac_fn_cxx_try_compile "$LINENO"; then :
55412 glibcxx_cv_func__atan2f_use=yes
55413 else
55414 glibcxx_cv_func__atan2f_use=no
55415 fi
55416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55417 ac_ext=c
55418 ac_cpp='$CPP $CPPFLAGS'
55419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55422
55423
55424 fi
55425
55426 fi
55427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55428 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55429
55430 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55431 for ac_func in _atan2f
55432 do :
55433 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55434 if test "x$ac_cv_func__atan2f" = x""yes; then :
55435 cat >>confdefs.h <<_ACEOF
55436 #define HAVE__ATAN2F 1
55437 _ACEOF
55438
55439 fi
55440 done
55441
55442 fi
55443 fi
55444
55445
55446
55447
55448
55449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55450 $as_echo_n "checking for fabsf declaration... " >&6; }
55451 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55452 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55453 $as_echo_n "(cached) " >&6
55454 else
55455
55456
55457 ac_ext=cpp
55458 ac_cpp='$CXXCPP $CPPFLAGS'
55459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55462
55463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55464 /* end confdefs.h. */
55465 #include <math.h>
55466 #ifdef HAVE_IEEEFP_H
55467 #include <ieeefp.h>
55468 #endif
55469
55470 int
55471 main ()
55472 {
55473 fabsf(0);
55474 ;
55475 return 0;
55476 }
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479 glibcxx_cv_func_fabsf_use=yes
55480 else
55481 glibcxx_cv_func_fabsf_use=no
55482 fi
55483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55484 ac_ext=c
55485 ac_cpp='$CPP $CPPFLAGS'
55486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55489
55490
55491 fi
55492
55493 fi
55494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55495 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55496
55497 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55498 for ac_func in fabsf
55499 do :
55500 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55501 if test "x$ac_cv_func_fabsf" = x""yes; then :
55502 cat >>confdefs.h <<_ACEOF
55503 #define HAVE_FABSF 1
55504 _ACEOF
55505
55506 fi
55507 done
55508
55509 else
55510
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55512 $as_echo_n "checking for _fabsf declaration... " >&6; }
55513 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55514 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
55529 #include <ieeefp.h>
55530 #endif
55531
55532 int
55533 main ()
55534 {
55535 _fabsf(0);
55536 ;
55537 return 0;
55538 }
55539 _ACEOF
55540 if ac_fn_cxx_try_compile "$LINENO"; then :
55541 glibcxx_cv_func__fabsf_use=yes
55542 else
55543 glibcxx_cv_func__fabsf_use=no
55544 fi
55545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55546 ac_ext=c
55547 ac_cpp='$CPP $CPPFLAGS'
55548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55551
55552
55553 fi
55554
55555 fi
55556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55557 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55558
55559 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55560 for ac_func in _fabsf
55561 do :
55562 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55563 if test "x$ac_cv_func__fabsf" = x""yes; then :
55564 cat >>confdefs.h <<_ACEOF
55565 #define HAVE__FABSF 1
55566 _ACEOF
55567
55568 fi
55569 done
55570
55571 fi
55572 fi
55573
55574
55575
55576
55577
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55579 $as_echo_n "checking for fmodf declaration... " >&6; }
55580 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55581 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55582 $as_echo_n "(cached) " >&6
55583 else
55584
55585
55586 ac_ext=cpp
55587 ac_cpp='$CXXCPP $CPPFLAGS'
55588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55591
55592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55593 /* end confdefs.h. */
55594 #include <math.h>
55595 int
55596 main ()
55597 {
55598 fmodf(0, 0);
55599 ;
55600 return 0;
55601 }
55602 _ACEOF
55603 if ac_fn_cxx_try_compile "$LINENO"; then :
55604 glibcxx_cv_func_fmodf_use=yes
55605 else
55606 glibcxx_cv_func_fmodf_use=no
55607 fi
55608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55609 ac_ext=c
55610 ac_cpp='$CPP $CPPFLAGS'
55611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55614
55615
55616 fi
55617
55618 fi
55619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55620 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55621
55622 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55623 for ac_func in fmodf
55624 do :
55625 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55626 if test "x$ac_cv_func_fmodf" = x""yes; then :
55627 cat >>confdefs.h <<_ACEOF
55628 #define HAVE_FMODF 1
55629 _ACEOF
55630
55631 fi
55632 done
55633
55634 else
55635
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55637 $as_echo_n "checking for _fmodf declaration... " >&6; }
55638 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55639 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55640 $as_echo_n "(cached) " >&6
55641 else
55642
55643
55644 ac_ext=cpp
55645 ac_cpp='$CXXCPP $CPPFLAGS'
55646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649
55650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55651 /* end confdefs.h. */
55652 #include <math.h>
55653 int
55654 main ()
55655 {
55656 _fmodf(0, 0);
55657 ;
55658 return 0;
55659 }
55660 _ACEOF
55661 if ac_fn_cxx_try_compile "$LINENO"; then :
55662 glibcxx_cv_func__fmodf_use=yes
55663 else
55664 glibcxx_cv_func__fmodf_use=no
55665 fi
55666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55667 ac_ext=c
55668 ac_cpp='$CPP $CPPFLAGS'
55669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55672
55673
55674 fi
55675
55676 fi
55677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55678 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55679
55680 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55681 for ac_func in _fmodf
55682 do :
55683 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55684 if test "x$ac_cv_func__fmodf" = x""yes; then :
55685 cat >>confdefs.h <<_ACEOF
55686 #define HAVE__FMODF 1
55687 _ACEOF
55688
55689 fi
55690 done
55691
55692 fi
55693 fi
55694
55695
55696
55697
55698
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55700 $as_echo_n "checking for frexpf declaration... " >&6; }
55701 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55702 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55703 $as_echo_n "(cached) " >&6
55704 else
55705
55706
55707 ac_ext=cpp
55708 ac_cpp='$CXXCPP $CPPFLAGS'
55709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55712
55713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55714 /* end confdefs.h. */
55715 #include <math.h>
55716 int
55717 main ()
55718 {
55719 frexpf(0, 0);
55720 ;
55721 return 0;
55722 }
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725 glibcxx_cv_func_frexpf_use=yes
55726 else
55727 glibcxx_cv_func_frexpf_use=no
55728 fi
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730 ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55735
55736
55737 fi
55738
55739 fi
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55741 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55742
55743 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55744 for ac_func in frexpf
55745 do :
55746 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55747 if test "x$ac_cv_func_frexpf" = x""yes; then :
55748 cat >>confdefs.h <<_ACEOF
55749 #define HAVE_FREXPF 1
55750 _ACEOF
55751
55752 fi
55753 done
55754
55755 else
55756
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55758 $as_echo_n "checking for _frexpf declaration... " >&6; }
55759 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55760 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55761 $as_echo_n "(cached) " >&6
55762 else
55763
55764
55765 ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770
55771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h. */
55773 #include <math.h>
55774 int
55775 main ()
55776 {
55777 _frexpf(0, 0);
55778 ;
55779 return 0;
55780 }
55781 _ACEOF
55782 if ac_fn_cxx_try_compile "$LINENO"; then :
55783 glibcxx_cv_func__frexpf_use=yes
55784 else
55785 glibcxx_cv_func__frexpf_use=no
55786 fi
55787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55788 ac_ext=c
55789 ac_cpp='$CPP $CPPFLAGS'
55790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55793
55794
55795 fi
55796
55797 fi
55798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55799 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55800
55801 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55802 for ac_func in _frexpf
55803 do :
55804 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55805 if test "x$ac_cv_func__frexpf" = x""yes; then :
55806 cat >>confdefs.h <<_ACEOF
55807 #define HAVE__FREXPF 1
55808 _ACEOF
55809
55810 fi
55811 done
55812
55813 fi
55814 fi
55815
55816
55817
55818
55819
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55821 $as_echo_n "checking for hypotf declaration... " >&6; }
55822 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55823 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55824 $as_echo_n "(cached) " >&6
55825 else
55826
55827
55828 ac_ext=cpp
55829 ac_cpp='$CXXCPP $CPPFLAGS'
55830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55833
55834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55835 /* end confdefs.h. */
55836 #include <math.h>
55837 int
55838 main ()
55839 {
55840 hypotf(0, 0);
55841 ;
55842 return 0;
55843 }
55844 _ACEOF
55845 if ac_fn_cxx_try_compile "$LINENO"; then :
55846 glibcxx_cv_func_hypotf_use=yes
55847 else
55848 glibcxx_cv_func_hypotf_use=no
55849 fi
55850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55851 ac_ext=c
55852 ac_cpp='$CPP $CPPFLAGS'
55853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55856
55857
55858 fi
55859
55860 fi
55861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55862 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55863
55864 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55865 for ac_func in hypotf
55866 do :
55867 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55868 if test "x$ac_cv_func_hypotf" = x""yes; then :
55869 cat >>confdefs.h <<_ACEOF
55870 #define HAVE_HYPOTF 1
55871 _ACEOF
55872
55873 fi
55874 done
55875
55876 else
55877
55878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55879 $as_echo_n "checking for _hypotf declaration... " >&6; }
55880 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55881 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55882 $as_echo_n "(cached) " >&6
55883 else
55884
55885
55886 ac_ext=cpp
55887 ac_cpp='$CXXCPP $CPPFLAGS'
55888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55891
55892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55893 /* end confdefs.h. */
55894 #include <math.h>
55895 int
55896 main ()
55897 {
55898 _hypotf(0, 0);
55899 ;
55900 return 0;
55901 }
55902 _ACEOF
55903 if ac_fn_cxx_try_compile "$LINENO"; then :
55904 glibcxx_cv_func__hypotf_use=yes
55905 else
55906 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
55920 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55921
55922 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55923 for ac_func in _hypotf
55924 do :
55925 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55926 if test "x$ac_cv_func__hypotf" = x""yes; then :
55927 cat >>confdefs.h <<_ACEOF
55928 #define HAVE__HYPOTF 1
55929 _ACEOF
55930
55931 fi
55932 done
55933
55934 fi
55935 fi
55936
55937
55938
55939
55940
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55942 $as_echo_n "checking for ldexpf declaration... " >&6; }
55943 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55944 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55945 $as_echo_n "(cached) " >&6
55946 else
55947
55948
55949 ac_ext=cpp
55950 ac_cpp='$CXXCPP $CPPFLAGS'
55951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55954
55955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55956 /* end confdefs.h. */
55957 #include <math.h>
55958 int
55959 main ()
55960 {
55961 ldexpf(0, 0);
55962 ;
55963 return 0;
55964 }
55965 _ACEOF
55966 if ac_fn_cxx_try_compile "$LINENO"; then :
55967 glibcxx_cv_func_ldexpf_use=yes
55968 else
55969 glibcxx_cv_func_ldexpf_use=no
55970 fi
55971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55972 ac_ext=c
55973 ac_cpp='$CPP $CPPFLAGS'
55974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55977
55978
55979 fi
55980
55981 fi
55982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55983 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55984
55985 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55986 for ac_func in ldexpf
55987 do :
55988 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55989 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55990 cat >>confdefs.h <<_ACEOF
55991 #define HAVE_LDEXPF 1
55992 _ACEOF
55993
55994 fi
55995 done
55996
55997 else
55998
55999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56000 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56001 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56002 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56003 $as_echo_n "(cached) " >&6
56004 else
56005
56006
56007 ac_ext=cpp
56008 ac_cpp='$CXXCPP $CPPFLAGS'
56009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012
56013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56014 /* end confdefs.h. */
56015 #include <math.h>
56016 int
56017 main ()
56018 {
56019 _ldexpf(0, 0);
56020 ;
56021 return 0;
56022 }
56023 _ACEOF
56024 if ac_fn_cxx_try_compile "$LINENO"; then :
56025 glibcxx_cv_func__ldexpf_use=yes
56026 else
56027 glibcxx_cv_func__ldexpf_use=no
56028 fi
56029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56030 ac_ext=c
56031 ac_cpp='$CPP $CPPFLAGS'
56032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56035
56036
56037 fi
56038
56039 fi
56040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56041 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56042
56043 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56044 for ac_func in _ldexpf
56045 do :
56046 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56047 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56048 cat >>confdefs.h <<_ACEOF
56049 #define HAVE__LDEXPF 1
56050 _ACEOF
56051
56052 fi
56053 done
56054
56055 fi
56056 fi
56057
56058
56059
56060
56061
56062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56063 $as_echo_n "checking for logf declaration... " >&6; }
56064 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56065 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56066 $as_echo_n "(cached) " >&6
56067 else
56068
56069
56070 ac_ext=cpp
56071 ac_cpp='$CXXCPP $CPPFLAGS'
56072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56075
56076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56077 /* end confdefs.h. */
56078 #include <math.h>
56079 #ifdef HAVE_IEEEFP_H
56080 #include <ieeefp.h>
56081 #endif
56082
56083 int
56084 main ()
56085 {
56086 logf(0);
56087 ;
56088 return 0;
56089 }
56090 _ACEOF
56091 if ac_fn_cxx_try_compile "$LINENO"; then :
56092 glibcxx_cv_func_logf_use=yes
56093 else
56094 glibcxx_cv_func_logf_use=no
56095 fi
56096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56097 ac_ext=c
56098 ac_cpp='$CPP $CPPFLAGS'
56099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56102
56103
56104 fi
56105
56106 fi
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56108 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56109
56110 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56111 for ac_func in logf
56112 do :
56113 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56114 if test "x$ac_cv_func_logf" = x""yes; then :
56115 cat >>confdefs.h <<_ACEOF
56116 #define HAVE_LOGF 1
56117 _ACEOF
56118
56119 fi
56120 done
56121
56122 else
56123
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56125 $as_echo_n "checking for _logf declaration... " >&6; }
56126 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56127 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56128 $as_echo_n "(cached) " >&6
56129 else
56130
56131
56132 ac_ext=cpp
56133 ac_cpp='$CXXCPP $CPPFLAGS'
56134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56137
56138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56139 /* end confdefs.h. */
56140 #include <math.h>
56141 #ifdef HAVE_IEEEFP_H
56142 #include <ieeefp.h>
56143 #endif
56144
56145 int
56146 main ()
56147 {
56148 _logf(0);
56149 ;
56150 return 0;
56151 }
56152 _ACEOF
56153 if ac_fn_cxx_try_compile "$LINENO"; then :
56154 glibcxx_cv_func__logf_use=yes
56155 else
56156 glibcxx_cv_func__logf_use=no
56157 fi
56158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56159 ac_ext=c
56160 ac_cpp='$CPP $CPPFLAGS'
56161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164
56165
56166 fi
56167
56168 fi
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56170 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56171
56172 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56173 for ac_func in _logf
56174 do :
56175 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56176 if test "x$ac_cv_func__logf" = x""yes; then :
56177 cat >>confdefs.h <<_ACEOF
56178 #define HAVE__LOGF 1
56179 _ACEOF
56180
56181 fi
56182 done
56183
56184 fi
56185 fi
56186
56187
56188
56189
56190
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56192 $as_echo_n "checking for log10f declaration... " >&6; }
56193 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56194 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56195 $as_echo_n "(cached) " >&6
56196 else
56197
56198
56199 ac_ext=cpp
56200 ac_cpp='$CXXCPP $CPPFLAGS'
56201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56204
56205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56206 /* end confdefs.h. */
56207 #include <math.h>
56208 #ifdef HAVE_IEEEFP_H
56209 #include <ieeefp.h>
56210 #endif
56211
56212 int
56213 main ()
56214 {
56215 log10f(0);
56216 ;
56217 return 0;
56218 }
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func_log10f_use=yes
56222 else
56223 glibcxx_cv_func_log10f_use=no
56224 fi
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56231
56232
56233 fi
56234
56235 fi
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56237 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56238
56239 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56240 for ac_func in log10f
56241 do :
56242 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56243 if test "x$ac_cv_func_log10f" = x""yes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE_LOG10F 1
56246 _ACEOF
56247
56248 fi
56249 done
56250
56251 else
56252
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56254 $as_echo_n "checking for _log10f declaration... " >&6; }
56255 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56256 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56257 $as_echo_n "(cached) " >&6
56258 else
56259
56260
56261 ac_ext=cpp
56262 ac_cpp='$CXXCPP $CPPFLAGS'
56263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56266
56267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56268 /* end confdefs.h. */
56269 #include <math.h>
56270 #ifdef HAVE_IEEEFP_H
56271 #include <ieeefp.h>
56272 #endif
56273
56274 int
56275 main ()
56276 {
56277 _log10f(0);
56278 ;
56279 return 0;
56280 }
56281 _ACEOF
56282 if ac_fn_cxx_try_compile "$LINENO"; then :
56283 glibcxx_cv_func__log10f_use=yes
56284 else
56285 glibcxx_cv_func__log10f_use=no
56286 fi
56287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56288 ac_ext=c
56289 ac_cpp='$CPP $CPPFLAGS'
56290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56293
56294
56295 fi
56296
56297 fi
56298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56299 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56300
56301 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56302 for ac_func in _log10f
56303 do :
56304 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56305 if test "x$ac_cv_func__log10f" = x""yes; then :
56306 cat >>confdefs.h <<_ACEOF
56307 #define HAVE__LOG10F 1
56308 _ACEOF
56309
56310 fi
56311 done
56312
56313 fi
56314 fi
56315
56316
56317
56318
56319
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56321 $as_echo_n "checking for modff declaration... " >&6; }
56322 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56323 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56324 $as_echo_n "(cached) " >&6
56325 else
56326
56327
56328 ac_ext=cpp
56329 ac_cpp='$CXXCPP $CPPFLAGS'
56330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56333
56334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56335 /* end confdefs.h. */
56336 #include <math.h>
56337 int
56338 main ()
56339 {
56340 modff(0, 0);
56341 ;
56342 return 0;
56343 }
56344 _ACEOF
56345 if ac_fn_cxx_try_compile "$LINENO"; then :
56346 glibcxx_cv_func_modff_use=yes
56347 else
56348 glibcxx_cv_func_modff_use=no
56349 fi
56350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56351 ac_ext=c
56352 ac_cpp='$CPP $CPPFLAGS'
56353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56356
56357
56358 fi
56359
56360 fi
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56362 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56363
56364 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56365 for ac_func in modff
56366 do :
56367 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56368 if test "x$ac_cv_func_modff" = x""yes; then :
56369 cat >>confdefs.h <<_ACEOF
56370 #define HAVE_MODFF 1
56371 _ACEOF
56372
56373 fi
56374 done
56375
56376 else
56377
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56379 $as_echo_n "checking for _modff declaration... " >&6; }
56380 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56381 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56382 $as_echo_n "(cached) " >&6
56383 else
56384
56385
56386 ac_ext=cpp
56387 ac_cpp='$CXXCPP $CPPFLAGS'
56388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56391
56392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56393 /* end confdefs.h. */
56394 #include <math.h>
56395 int
56396 main ()
56397 {
56398 _modff(0, 0);
56399 ;
56400 return 0;
56401 }
56402 _ACEOF
56403 if ac_fn_cxx_try_compile "$LINENO"; then :
56404 glibcxx_cv_func__modff_use=yes
56405 else
56406 glibcxx_cv_func__modff_use=no
56407 fi
56408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56409 ac_ext=c
56410 ac_cpp='$CPP $CPPFLAGS'
56411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56414
56415
56416 fi
56417
56418 fi
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56420 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56421
56422 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56423 for ac_func in _modff
56424 do :
56425 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56426 if test "x$ac_cv_func__modff" = x""yes; then :
56427 cat >>confdefs.h <<_ACEOF
56428 #define HAVE__MODFF 1
56429 _ACEOF
56430
56431 fi
56432 done
56433
56434 fi
56435 fi
56436
56437
56438
56439
56440
56441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56442 $as_echo_n "checking for modf declaration... " >&6; }
56443 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56444 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56445 $as_echo_n "(cached) " >&6
56446 else
56447
56448
56449 ac_ext=cpp
56450 ac_cpp='$CXXCPP $CPPFLAGS'
56451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56454
56455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56456 /* end confdefs.h. */
56457 #include <math.h>
56458 int
56459 main ()
56460 {
56461 modf(0, 0);
56462 ;
56463 return 0;
56464 }
56465 _ACEOF
56466 if ac_fn_cxx_try_compile "$LINENO"; then :
56467 glibcxx_cv_func_modf_use=yes
56468 else
56469 glibcxx_cv_func_modf_use=no
56470 fi
56471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56472 ac_ext=c
56473 ac_cpp='$CPP $CPPFLAGS'
56474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56477
56478
56479 fi
56480
56481 fi
56482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56483 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56484
56485 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56486 for ac_func in modf
56487 do :
56488 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56489 if test "x$ac_cv_func_modf" = x""yes; then :
56490 cat >>confdefs.h <<_ACEOF
56491 #define HAVE_MODF 1
56492 _ACEOF
56493
56494 fi
56495 done
56496
56497 else
56498
56499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56500 $as_echo_n "checking for _modf declaration... " >&6; }
56501 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56502 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56503 $as_echo_n "(cached) " >&6
56504 else
56505
56506
56507 ac_ext=cpp
56508 ac_cpp='$CXXCPP $CPPFLAGS'
56509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512
56513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56514 /* end confdefs.h. */
56515 #include <math.h>
56516 int
56517 main ()
56518 {
56519 _modf(0, 0);
56520 ;
56521 return 0;
56522 }
56523 _ACEOF
56524 if ac_fn_cxx_try_compile "$LINENO"; then :
56525 glibcxx_cv_func__modf_use=yes
56526 else
56527 glibcxx_cv_func__modf_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__modf_use" >&5
56541 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56542
56543 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56544 for ac_func in _modf
56545 do :
56546 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56547 if test "x$ac_cv_func__modf" = x""yes; then :
56548 cat >>confdefs.h <<_ACEOF
56549 #define HAVE__MODF 1
56550 _ACEOF
56551
56552 fi
56553 done
56554
56555 fi
56556 fi
56557
56558
56559
56560
56561
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56563 $as_echo_n "checking for powf declaration... " >&6; }
56564 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56565 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56566 $as_echo_n "(cached) " >&6
56567 else
56568
56569
56570 ac_ext=cpp
56571 ac_cpp='$CXXCPP $CPPFLAGS'
56572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56575
56576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56577 /* end confdefs.h. */
56578 #include <math.h>
56579 int
56580 main ()
56581 {
56582 powf(0, 0);
56583 ;
56584 return 0;
56585 }
56586 _ACEOF
56587 if ac_fn_cxx_try_compile "$LINENO"; then :
56588 glibcxx_cv_func_powf_use=yes
56589 else
56590 glibcxx_cv_func_powf_use=no
56591 fi
56592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56593 ac_ext=c
56594 ac_cpp='$CPP $CPPFLAGS'
56595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56598
56599
56600 fi
56601
56602 fi
56603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56604 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56605
56606 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56607 for ac_func in powf
56608 do :
56609 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56610 if test "x$ac_cv_func_powf" = x""yes; then :
56611 cat >>confdefs.h <<_ACEOF
56612 #define HAVE_POWF 1
56613 _ACEOF
56614
56615 fi
56616 done
56617
56618 else
56619
56620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56621 $as_echo_n "checking for _powf declaration... " >&6; }
56622 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56623 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56624 $as_echo_n "(cached) " >&6
56625 else
56626
56627
56628 ac_ext=cpp
56629 ac_cpp='$CXXCPP $CPPFLAGS'
56630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56633
56634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56635 /* end confdefs.h. */
56636 #include <math.h>
56637 int
56638 main ()
56639 {
56640 _powf(0, 0);
56641 ;
56642 return 0;
56643 }
56644 _ACEOF
56645 if ac_fn_cxx_try_compile "$LINENO"; then :
56646 glibcxx_cv_func__powf_use=yes
56647 else
56648 glibcxx_cv_func__powf_use=no
56649 fi
56650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56651 ac_ext=c
56652 ac_cpp='$CPP $CPPFLAGS'
56653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56656
56657
56658 fi
56659
56660 fi
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56662 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56663
56664 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56665 for ac_func in _powf
56666 do :
56667 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56668 if test "x$ac_cv_func__powf" = x""yes; then :
56669 cat >>confdefs.h <<_ACEOF
56670 #define HAVE__POWF 1
56671 _ACEOF
56672
56673 fi
56674 done
56675
56676 fi
56677 fi
56678
56679
56680
56681
56682
56683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56684 $as_echo_n "checking for sqrtf declaration... " >&6; }
56685 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56686 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56687 $as_echo_n "(cached) " >&6
56688 else
56689
56690
56691 ac_ext=cpp
56692 ac_cpp='$CXXCPP $CPPFLAGS'
56693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56696
56697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56698 /* end confdefs.h. */
56699 #include <math.h>
56700 #ifdef HAVE_IEEEFP_H
56701 #include <ieeefp.h>
56702 #endif
56703
56704 int
56705 main ()
56706 {
56707 sqrtf(0);
56708 ;
56709 return 0;
56710 }
56711 _ACEOF
56712 if ac_fn_cxx_try_compile "$LINENO"; then :
56713 glibcxx_cv_func_sqrtf_use=yes
56714 else
56715 glibcxx_cv_func_sqrtf_use=no
56716 fi
56717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56718 ac_ext=c
56719 ac_cpp='$CPP $CPPFLAGS'
56720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56723
56724
56725 fi
56726
56727 fi
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56729 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56730
56731 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56732 for ac_func in sqrtf
56733 do :
56734 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56735 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56736 cat >>confdefs.h <<_ACEOF
56737 #define HAVE_SQRTF 1
56738 _ACEOF
56739
56740 fi
56741 done
56742
56743 else
56744
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56746 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56747 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56748 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
56770 ;
56771 return 0;
56772 }
56773 _ACEOF
56774 if ac_fn_cxx_try_compile "$LINENO"; then :
56775 glibcxx_cv_func__sqrtf_use=yes
56776 else
56777 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
56791 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56792
56793 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56794 for ac_func in _sqrtf
56795 do :
56796 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56797 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56798 cat >>confdefs.h <<_ACEOF
56799 #define HAVE__SQRTF 1
56800 _ACEOF
56801
56802 fi
56803 done
56804
56805 fi
56806 fi
56807
56808
56809
56810
56811
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56813 $as_echo_n "checking for sincosf declaration... " >&6; }
56814 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56815 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56816 $as_echo_n "(cached) " >&6
56817 else
56818
56819
56820 ac_ext=cpp
56821 ac_cpp='$CXXCPP $CPPFLAGS'
56822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56825
56826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56827 /* end confdefs.h. */
56828 #include <math.h>
56829 int
56830 main ()
56831 {
56832 sincosf(0, 0, 0);
56833 ;
56834 return 0;
56835 }
56836 _ACEOF
56837 if ac_fn_cxx_try_compile "$LINENO"; then :
56838 glibcxx_cv_func_sincosf_use=yes
56839 else
56840 glibcxx_cv_func_sincosf_use=no
56841 fi
56842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56843 ac_ext=c
56844 ac_cpp='$CPP $CPPFLAGS'
56845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56848
56849
56850 fi
56851
56852 fi
56853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56854 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56855
56856 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56857 for ac_func in sincosf
56858 do :
56859 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56860 if test "x$ac_cv_func_sincosf" = x""yes; then :
56861 cat >>confdefs.h <<_ACEOF
56862 #define HAVE_SINCOSF 1
56863 _ACEOF
56864
56865 fi
56866 done
56867
56868 else
56869
56870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56871 $as_echo_n "checking for _sincosf declaration... " >&6; }
56872 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56873 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56874 $as_echo_n "(cached) " >&6
56875 else
56876
56877
56878 ac_ext=cpp
56879 ac_cpp='$CXXCPP $CPPFLAGS'
56880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56883
56884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56885 /* end confdefs.h. */
56886 #include <math.h>
56887 int
56888 main ()
56889 {
56890 _sincosf(0, 0, 0);
56891 ;
56892 return 0;
56893 }
56894 _ACEOF
56895 if ac_fn_cxx_try_compile "$LINENO"; then :
56896 glibcxx_cv_func__sincosf_use=yes
56897 else
56898 glibcxx_cv_func__sincosf_use=no
56899 fi
56900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56901 ac_ext=c
56902 ac_cpp='$CPP $CPPFLAGS'
56903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56906
56907
56908 fi
56909
56910 fi
56911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56912 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56913
56914 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56915 for ac_func in _sincosf
56916 do :
56917 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56918 if test "x$ac_cv_func__sincosf" = x""yes; then :
56919 cat >>confdefs.h <<_ACEOF
56920 #define HAVE__SINCOSF 1
56921 _ACEOF
56922
56923 fi
56924 done
56925
56926 fi
56927 fi
56928
56929
56930
56931
56932
56933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56934 $as_echo_n "checking for finitef declaration... " >&6; }
56935 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56936 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56937 $as_echo_n "(cached) " >&6
56938 else
56939
56940
56941 ac_ext=cpp
56942 ac_cpp='$CXXCPP $CPPFLAGS'
56943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56946
56947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56948 /* end confdefs.h. */
56949 #include <math.h>
56950 #ifdef HAVE_IEEEFP_H
56951 #include <ieeefp.h>
56952 #endif
56953
56954 int
56955 main ()
56956 {
56957 finitef(0);
56958 ;
56959 return 0;
56960 }
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func_finitef_use=yes
56964 else
56965 glibcxx_cv_func_finitef_use=no
56966 fi
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56973
56974
56975 fi
56976
56977 fi
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56979 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56980
56981 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56982 for ac_func in finitef
56983 do :
56984 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56985 if test "x$ac_cv_func_finitef" = x""yes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE_FINITEF 1
56988 _ACEOF
56989
56990 fi
56991 done
56992
56993 else
56994
56995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56996 $as_echo_n "checking for _finitef declaration... " >&6; }
56997 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56998 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56999 $as_echo_n "(cached) " >&6
57000 else
57001
57002
57003 ac_ext=cpp
57004 ac_cpp='$CXXCPP $CPPFLAGS'
57005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57008
57009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57010 /* end confdefs.h. */
57011 #include <math.h>
57012 #ifdef HAVE_IEEEFP_H
57013 #include <ieeefp.h>
57014 #endif
57015
57016 int
57017 main ()
57018 {
57019 _finitef(0);
57020 ;
57021 return 0;
57022 }
57023 _ACEOF
57024 if ac_fn_cxx_try_compile "$LINENO"; then :
57025 glibcxx_cv_func__finitef_use=yes
57026 else
57027 glibcxx_cv_func__finitef_use=no
57028 fi
57029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57030 ac_ext=c
57031 ac_cpp='$CPP $CPPFLAGS'
57032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57035
57036
57037 fi
57038
57039 fi
57040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57041 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57042
57043 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57044 for ac_func in _finitef
57045 do :
57046 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57047 if test "x$ac_cv_func__finitef" = x""yes; then :
57048 cat >>confdefs.h <<_ACEOF
57049 #define HAVE__FINITEF 1
57050 _ACEOF
57051
57052 fi
57053 done
57054
57055 fi
57056 fi
57057
57058
57059
57060
57061
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57063 $as_echo_n "checking for long double trig functions... " >&6; }
57064 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57065 $as_echo_n "(cached) " >&6
57066 else
57067
57068
57069 ac_ext=cpp
57070 ac_cpp='$CXXCPP $CPPFLAGS'
57071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57074
57075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57076 /* end confdefs.h. */
57077 #include <math.h>
57078 int
57079 main ()
57080 {
57081 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57082 ;
57083 return 0;
57084 }
57085 _ACEOF
57086 if ac_fn_cxx_try_compile "$LINENO"; then :
57087 glibcxx_cv_func_long_double_trig_use=yes
57088 else
57089 glibcxx_cv_func_long_double_trig_use=no
57090 fi
57091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57092 ac_ext=c
57093 ac_cpp='$CPP $CPPFLAGS'
57094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57097
57098 fi
57099
57100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57101 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57102 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57103 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57104 do :
57105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57107 eval as_val=\$$as_ac_var
57108 if test "x$as_val" = x""yes; then :
57109 cat >>confdefs.h <<_ACEOF
57110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57111 _ACEOF
57112
57113 fi
57114 done
57115
57116 else
57117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57118 $as_echo_n "checking for _long double trig functions... " >&6; }
57119 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57120 $as_echo_n "(cached) " >&6
57121 else
57122
57123
57124 ac_ext=cpp
57125 ac_cpp='$CXXCPP $CPPFLAGS'
57126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129
57130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57131 /* end confdefs.h. */
57132 #include <math.h>
57133 int
57134 main ()
57135 {
57136 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57137 ;
57138 return 0;
57139 }
57140 _ACEOF
57141 if ac_fn_cxx_try_compile "$LINENO"; then :
57142 glibcxx_cv_func__long_double_trig_use=yes
57143 else
57144 glibcxx_cv_func__long_double_trig_use=no
57145 fi
57146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57147 ac_ext=c
57148 ac_cpp='$CPP $CPPFLAGS'
57149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57152
57153 fi
57154
57155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57156 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57157 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57158 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57159 do :
57160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57162 eval as_val=\$$as_ac_var
57163 if test "x$as_val" = x""yes; then :
57164 cat >>confdefs.h <<_ACEOF
57165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57166 _ACEOF
57167
57168 fi
57169 done
57170
57171 fi
57172 fi
57173
57174
57175
57176
57177
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57179 $as_echo_n "checking for long double round functions... " >&6; }
57180 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57181 $as_echo_n "(cached) " >&6
57182 else
57183
57184
57185 ac_ext=cpp
57186 ac_cpp='$CXXCPP $CPPFLAGS'
57187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57190
57191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57192 /* end confdefs.h. */
57193 #include <math.h>
57194 int
57195 main ()
57196 {
57197 ceill (0); floorl (0);
57198 ;
57199 return 0;
57200 }
57201 _ACEOF
57202 if ac_fn_cxx_try_compile "$LINENO"; then :
57203 glibcxx_cv_func_long_double_round_use=yes
57204 else
57205 glibcxx_cv_func_long_double_round_use=no
57206 fi
57207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57208 ac_ext=c
57209 ac_cpp='$CPP $CPPFLAGS'
57210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57213
57214 fi
57215
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57217 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57218 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57219 for ac_func in ceill floorl
57220 do :
57221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57223 eval as_val=\$$as_ac_var
57224 if test "x$as_val" = x""yes; then :
57225 cat >>confdefs.h <<_ACEOF
57226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57227 _ACEOF
57228
57229 fi
57230 done
57231
57232 else
57233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57234 $as_echo_n "checking for _long double round functions... " >&6; }
57235 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57236 $as_echo_n "(cached) " >&6
57237 else
57238
57239
57240 ac_ext=cpp
57241 ac_cpp='$CXXCPP $CPPFLAGS'
57242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57245
57246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57247 /* end confdefs.h. */
57248 #include <math.h>
57249 int
57250 main ()
57251 {
57252 _ceill (0); _floorl (0);
57253 ;
57254 return 0;
57255 }
57256 _ACEOF
57257 if ac_fn_cxx_try_compile "$LINENO"; then :
57258 glibcxx_cv_func__long_double_round_use=yes
57259 else
57260 glibcxx_cv_func__long_double_round_use=no
57261 fi
57262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57263 ac_ext=c
57264 ac_cpp='$CPP $CPPFLAGS'
57265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57268
57269 fi
57270
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57272 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57273 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57274 for ac_func in _ceill _floorl
57275 do :
57276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57278 eval as_val=\$$as_ac_var
57279 if test "x$as_val" = x""yes; then :
57280 cat >>confdefs.h <<_ACEOF
57281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57282 _ACEOF
57283
57284 fi
57285 done
57286
57287 fi
57288 fi
57289
57290
57291
57292
57293
57294
57295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57296 $as_echo_n "checking for isnanl declaration... " >&6; }
57297 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57298 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57299 $as_echo_n "(cached) " >&6
57300 else
57301
57302
57303 ac_ext=cpp
57304 ac_cpp='$CXXCPP $CPPFLAGS'
57305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57308
57309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57310 /* end confdefs.h. */
57311 #include <math.h>
57312 #ifdef HAVE_IEEEFP_H
57313 #include <ieeefp.h>
57314 #endif
57315
57316 int
57317 main ()
57318 {
57319 isnanl(0);
57320 ;
57321 return 0;
57322 }
57323 _ACEOF
57324 if ac_fn_cxx_try_compile "$LINENO"; then :
57325 glibcxx_cv_func_isnanl_use=yes
57326 else
57327 glibcxx_cv_func_isnanl_use=no
57328 fi
57329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57330 ac_ext=c
57331 ac_cpp='$CPP $CPPFLAGS'
57332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57335
57336
57337 fi
57338
57339 fi
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57341 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57342
57343 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57344 for ac_func in isnanl
57345 do :
57346 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57347 if test "x$ac_cv_func_isnanl" = x""yes; then :
57348 cat >>confdefs.h <<_ACEOF
57349 #define HAVE_ISNANL 1
57350 _ACEOF
57351
57352 fi
57353 done
57354
57355 else
57356
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57358 $as_echo_n "checking for _isnanl declaration... " >&6; }
57359 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57360 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57361 $as_echo_n "(cached) " >&6
57362 else
57363
57364
57365 ac_ext=cpp
57366 ac_cpp='$CXXCPP $CPPFLAGS'
57367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57370
57371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57372 /* end confdefs.h. */
57373 #include <math.h>
57374 #ifdef HAVE_IEEEFP_H
57375 #include <ieeefp.h>
57376 #endif
57377
57378 int
57379 main ()
57380 {
57381 _isnanl(0);
57382 ;
57383 return 0;
57384 }
57385 _ACEOF
57386 if ac_fn_cxx_try_compile "$LINENO"; then :
57387 glibcxx_cv_func__isnanl_use=yes
57388 else
57389 glibcxx_cv_func__isnanl_use=no
57390 fi
57391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57392 ac_ext=c
57393 ac_cpp='$CPP $CPPFLAGS'
57394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57397
57398
57399 fi
57400
57401 fi
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57403 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57404
57405 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57406 for ac_func in _isnanl
57407 do :
57408 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57409 if test "x$ac_cv_func__isnanl" = x""yes; then :
57410 cat >>confdefs.h <<_ACEOF
57411 #define HAVE__ISNANL 1
57412 _ACEOF
57413
57414 fi
57415 done
57416
57417 fi
57418 fi
57419
57420
57421
57422
57423
57424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57425 $as_echo_n "checking for isinfl declaration... " >&6; }
57426 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57427 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57428 $as_echo_n "(cached) " >&6
57429 else
57430
57431
57432 ac_ext=cpp
57433 ac_cpp='$CXXCPP $CPPFLAGS'
57434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57437
57438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57439 /* end confdefs.h. */
57440 #include <math.h>
57441 #ifdef HAVE_IEEEFP_H
57442 #include <ieeefp.h>
57443 #endif
57444
57445 int
57446 main ()
57447 {
57448 isinfl(0);
57449 ;
57450 return 0;
57451 }
57452 _ACEOF
57453 if ac_fn_cxx_try_compile "$LINENO"; then :
57454 glibcxx_cv_func_isinfl_use=yes
57455 else
57456 glibcxx_cv_func_isinfl_use=no
57457 fi
57458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57459 ac_ext=c
57460 ac_cpp='$CPP $CPPFLAGS'
57461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57464
57465
57466 fi
57467
57468 fi
57469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57470 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57471
57472 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57473 for ac_func in isinfl
57474 do :
57475 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57476 if test "x$ac_cv_func_isinfl" = x""yes; then :
57477 cat >>confdefs.h <<_ACEOF
57478 #define HAVE_ISINFL 1
57479 _ACEOF
57480
57481 fi
57482 done
57483
57484 else
57485
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57487 $as_echo_n "checking for _isinfl declaration... " >&6; }
57488 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57489 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
57511 ;
57512 return 0;
57513 }
57514 _ACEOF
57515 if ac_fn_cxx_try_compile "$LINENO"; then :
57516 glibcxx_cv_func__isinfl_use=yes
57517 else
57518 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
57532 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57533
57534 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57535 for ac_func in _isinfl
57536 do :
57537 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57538 if test "x$ac_cv_func__isinfl" = x""yes; then :
57539 cat >>confdefs.h <<_ACEOF
57540 #define HAVE__ISINFL 1
57541 _ACEOF
57542
57543 fi
57544 done
57545
57546 fi
57547 fi
57548
57549
57550
57551
57552
57553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57554 $as_echo_n "checking for atan2l declaration... " >&6; }
57555 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57556 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57557 $as_echo_n "(cached) " >&6
57558 else
57559
57560
57561 ac_ext=cpp
57562 ac_cpp='$CXXCPP $CPPFLAGS'
57563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57566
57567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57568 /* end confdefs.h. */
57569 #include <math.h>
57570 int
57571 main ()
57572 {
57573 atan2l(0, 0);
57574 ;
57575 return 0;
57576 }
57577 _ACEOF
57578 if ac_fn_cxx_try_compile "$LINENO"; then :
57579 glibcxx_cv_func_atan2l_use=yes
57580 else
57581 glibcxx_cv_func_atan2l_use=no
57582 fi
57583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57584 ac_ext=c
57585 ac_cpp='$CPP $CPPFLAGS'
57586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57589
57590
57591 fi
57592
57593 fi
57594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57595 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57596
57597 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57598 for ac_func in atan2l
57599 do :
57600 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57601 if test "x$ac_cv_func_atan2l" = x""yes; then :
57602 cat >>confdefs.h <<_ACEOF
57603 #define HAVE_ATAN2L 1
57604 _ACEOF
57605
57606 fi
57607 done
57608
57609 else
57610
57611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57612 $as_echo_n "checking for _atan2l declaration... " >&6; }
57613 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57614 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57615 $as_echo_n "(cached) " >&6
57616 else
57617
57618
57619 ac_ext=cpp
57620 ac_cpp='$CXXCPP $CPPFLAGS'
57621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57624
57625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57626 /* end confdefs.h. */
57627 #include <math.h>
57628 int
57629 main ()
57630 {
57631 _atan2l(0, 0);
57632 ;
57633 return 0;
57634 }
57635 _ACEOF
57636 if ac_fn_cxx_try_compile "$LINENO"; then :
57637 glibcxx_cv_func__atan2l_use=yes
57638 else
57639 glibcxx_cv_func__atan2l_use=no
57640 fi
57641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57642 ac_ext=c
57643 ac_cpp='$CPP $CPPFLAGS'
57644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57647
57648
57649 fi
57650
57651 fi
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57653 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57654
57655 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57656 for ac_func in _atan2l
57657 do :
57658 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57659 if test "x$ac_cv_func__atan2l" = x""yes; then :
57660 cat >>confdefs.h <<_ACEOF
57661 #define HAVE__ATAN2L 1
57662 _ACEOF
57663
57664 fi
57665 done
57666
57667 fi
57668 fi
57669
57670
57671
57672
57673
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57675 $as_echo_n "checking for expl declaration... " >&6; }
57676 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57677 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57678 $as_echo_n "(cached) " >&6
57679 else
57680
57681
57682 ac_ext=cpp
57683 ac_cpp='$CXXCPP $CPPFLAGS'
57684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57687
57688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57689 /* end confdefs.h. */
57690 #include <math.h>
57691 #ifdef HAVE_IEEEFP_H
57692 #include <ieeefp.h>
57693 #endif
57694
57695 int
57696 main ()
57697 {
57698 expl(0);
57699 ;
57700 return 0;
57701 }
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func_expl_use=yes
57705 else
57706 glibcxx_cv_func_expl_use=no
57707 fi
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709 ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57714
57715
57716 fi
57717
57718 fi
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57720 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57721
57722 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57723 for ac_func in expl
57724 do :
57725 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57726 if test "x$ac_cv_func_expl" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE_EXPL 1
57729 _ACEOF
57730
57731 fi
57732 done
57733
57734 else
57735
57736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57737 $as_echo_n "checking for _expl declaration... " >&6; }
57738 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57739 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57740 $as_echo_n "(cached) " >&6
57741 else
57742
57743
57744 ac_ext=cpp
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57749
57750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57751 /* end confdefs.h. */
57752 #include <math.h>
57753 #ifdef HAVE_IEEEFP_H
57754 #include <ieeefp.h>
57755 #endif
57756
57757 int
57758 main ()
57759 {
57760 _expl(0);
57761 ;
57762 return 0;
57763 }
57764 _ACEOF
57765 if ac_fn_cxx_try_compile "$LINENO"; then :
57766 glibcxx_cv_func__expl_use=yes
57767 else
57768 glibcxx_cv_func__expl_use=no
57769 fi
57770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57771 ac_ext=c
57772 ac_cpp='$CPP $CPPFLAGS'
57773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57776
57777
57778 fi
57779
57780 fi
57781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57782 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57783
57784 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57785 for ac_func in _expl
57786 do :
57787 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57788 if test "x$ac_cv_func__expl" = x""yes; then :
57789 cat >>confdefs.h <<_ACEOF
57790 #define HAVE__EXPL 1
57791 _ACEOF
57792
57793 fi
57794 done
57795
57796 fi
57797 fi
57798
57799
57800
57801
57802
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57804 $as_echo_n "checking for fabsl declaration... " >&6; }
57805 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57806 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57807 $as_echo_n "(cached) " >&6
57808 else
57809
57810
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57819 #include <math.h>
57820 #ifdef HAVE_IEEEFP_H
57821 #include <ieeefp.h>
57822 #endif
57823
57824 int
57825 main ()
57826 {
57827 fabsl(0);
57828 ;
57829 return 0;
57830 }
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833 glibcxx_cv_func_fabsl_use=yes
57834 else
57835 glibcxx_cv_func_fabsl_use=no
57836 fi
57837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57838 ac_ext=c
57839 ac_cpp='$CPP $CPPFLAGS'
57840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57843
57844
57845 fi
57846
57847 fi
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57849 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57850
57851 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57852 for ac_func in fabsl
57853 do :
57854 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57855 if test "x$ac_cv_func_fabsl" = x""yes; then :
57856 cat >>confdefs.h <<_ACEOF
57857 #define HAVE_FABSL 1
57858 _ACEOF
57859
57860 fi
57861 done
57862
57863 else
57864
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57866 $as_echo_n "checking for _fabsl declaration... " >&6; }
57867 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57868 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
57883 #include <ieeefp.h>
57884 #endif
57885
57886 int
57887 main ()
57888 {
57889 _fabsl(0);
57890 ;
57891 return 0;
57892 }
57893 _ACEOF
57894 if ac_fn_cxx_try_compile "$LINENO"; then :
57895 glibcxx_cv_func__fabsl_use=yes
57896 else
57897 glibcxx_cv_func__fabsl_use=no
57898 fi
57899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57900 ac_ext=c
57901 ac_cpp='$CPP $CPPFLAGS'
57902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57905
57906
57907 fi
57908
57909 fi
57910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57911 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57912
57913 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57914 for ac_func in _fabsl
57915 do :
57916 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57917 if test "x$ac_cv_func__fabsl" = x""yes; then :
57918 cat >>confdefs.h <<_ACEOF
57919 #define HAVE__FABSL 1
57920 _ACEOF
57921
57922 fi
57923 done
57924
57925 fi
57926 fi
57927
57928
57929
57930
57931
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57933 $as_echo_n "checking for fmodl declaration... " >&6; }
57934 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57935 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57936 $as_echo_n "(cached) " >&6
57937 else
57938
57939
57940 ac_ext=cpp
57941 ac_cpp='$CXXCPP $CPPFLAGS'
57942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57945
57946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57947 /* end confdefs.h. */
57948 #include <math.h>
57949 int
57950 main ()
57951 {
57952 fmodl(0, 0);
57953 ;
57954 return 0;
57955 }
57956 _ACEOF
57957 if ac_fn_cxx_try_compile "$LINENO"; then :
57958 glibcxx_cv_func_fmodl_use=yes
57959 else
57960 glibcxx_cv_func_fmodl_use=no
57961 fi
57962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57963 ac_ext=c
57964 ac_cpp='$CPP $CPPFLAGS'
57965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57968
57969
57970 fi
57971
57972 fi
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57974 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57975
57976 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57977 for ac_func in fmodl
57978 do :
57979 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57980 if test "x$ac_cv_func_fmodl" = x""yes; then :
57981 cat >>confdefs.h <<_ACEOF
57982 #define HAVE_FMODL 1
57983 _ACEOF
57984
57985 fi
57986 done
57987
57988 else
57989
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57991 $as_echo_n "checking for _fmodl declaration... " >&6; }
57992 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57993 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57994 $as_echo_n "(cached) " >&6
57995 else
57996
57997
57998 ac_ext=cpp
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003
58004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58005 /* end confdefs.h. */
58006 #include <math.h>
58007 int
58008 main ()
58009 {
58010 _fmodl(0, 0);
58011 ;
58012 return 0;
58013 }
58014 _ACEOF
58015 if ac_fn_cxx_try_compile "$LINENO"; then :
58016 glibcxx_cv_func__fmodl_use=yes
58017 else
58018 glibcxx_cv_func__fmodl_use=no
58019 fi
58020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58021 ac_ext=c
58022 ac_cpp='$CPP $CPPFLAGS'
58023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58026
58027
58028 fi
58029
58030 fi
58031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58032 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58033
58034 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58035 for ac_func in _fmodl
58036 do :
58037 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58038 if test "x$ac_cv_func__fmodl" = x""yes; then :
58039 cat >>confdefs.h <<_ACEOF
58040 #define HAVE__FMODL 1
58041 _ACEOF
58042
58043 fi
58044 done
58045
58046 fi
58047 fi
58048
58049
58050
58051
58052
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58054 $as_echo_n "checking for frexpl declaration... " >&6; }
58055 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58056 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58057 $as_echo_n "(cached) " >&6
58058 else
58059
58060
58061 ac_ext=cpp
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066
58067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h. */
58069 #include <math.h>
58070 int
58071 main ()
58072 {
58073 frexpl(0, 0);
58074 ;
58075 return 0;
58076 }
58077 _ACEOF
58078 if ac_fn_cxx_try_compile "$LINENO"; then :
58079 glibcxx_cv_func_frexpl_use=yes
58080 else
58081 glibcxx_cv_func_frexpl_use=no
58082 fi
58083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58084 ac_ext=c
58085 ac_cpp='$CPP $CPPFLAGS'
58086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58089
58090
58091 fi
58092
58093 fi
58094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58095 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58096
58097 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58098 for ac_func in frexpl
58099 do :
58100 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58101 if test "x$ac_cv_func_frexpl" = x""yes; then :
58102 cat >>confdefs.h <<_ACEOF
58103 #define HAVE_FREXPL 1
58104 _ACEOF
58105
58106 fi
58107 done
58108
58109 else
58110
58111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58112 $as_echo_n "checking for _frexpl declaration... " >&6; }
58113 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58114 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58115 $as_echo_n "(cached) " >&6
58116 else
58117
58118
58119 ac_ext=cpp
58120 ac_cpp='$CXXCPP $CPPFLAGS'
58121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58124
58125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58126 /* end confdefs.h. */
58127 #include <math.h>
58128 int
58129 main ()
58130 {
58131 _frexpl(0, 0);
58132 ;
58133 return 0;
58134 }
58135 _ACEOF
58136 if ac_fn_cxx_try_compile "$LINENO"; then :
58137 glibcxx_cv_func__frexpl_use=yes
58138 else
58139 glibcxx_cv_func__frexpl_use=no
58140 fi
58141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58142 ac_ext=c
58143 ac_cpp='$CPP $CPPFLAGS'
58144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58147
58148
58149 fi
58150
58151 fi
58152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58153 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58154
58155 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58156 for ac_func in _frexpl
58157 do :
58158 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58159 if test "x$ac_cv_func__frexpl" = x""yes; then :
58160 cat >>confdefs.h <<_ACEOF
58161 #define HAVE__FREXPL 1
58162 _ACEOF
58163
58164 fi
58165 done
58166
58167 fi
58168 fi
58169
58170
58171
58172
58173
58174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58175 $as_echo_n "checking for hypotl declaration... " >&6; }
58176 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58177 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58178 $as_echo_n "(cached) " >&6
58179 else
58180
58181
58182 ac_ext=cpp
58183 ac_cpp='$CXXCPP $CPPFLAGS'
58184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58187
58188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58189 /* end confdefs.h. */
58190 #include <math.h>
58191 int
58192 main ()
58193 {
58194 hypotl(0, 0);
58195 ;
58196 return 0;
58197 }
58198 _ACEOF
58199 if ac_fn_cxx_try_compile "$LINENO"; then :
58200 glibcxx_cv_func_hypotl_use=yes
58201 else
58202 glibcxx_cv_func_hypotl_use=no
58203 fi
58204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58205 ac_ext=c
58206 ac_cpp='$CPP $CPPFLAGS'
58207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58210
58211
58212 fi
58213
58214 fi
58215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58216 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58217
58218 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58219 for ac_func in hypotl
58220 do :
58221 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58222 if test "x$ac_cv_func_hypotl" = x""yes; then :
58223 cat >>confdefs.h <<_ACEOF
58224 #define HAVE_HYPOTL 1
58225 _ACEOF
58226
58227 fi
58228 done
58229
58230 else
58231
58232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58233 $as_echo_n "checking for _hypotl declaration... " >&6; }
58234 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58235 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58236 $as_echo_n "(cached) " >&6
58237 else
58238
58239
58240 ac_ext=cpp
58241 ac_cpp='$CXXCPP $CPPFLAGS'
58242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58245
58246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58247 /* end confdefs.h. */
58248 #include <math.h>
58249 int
58250 main ()
58251 {
58252 _hypotl(0, 0);
58253 ;
58254 return 0;
58255 }
58256 _ACEOF
58257 if ac_fn_cxx_try_compile "$LINENO"; then :
58258 glibcxx_cv_func__hypotl_use=yes
58259 else
58260 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
58274 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58275
58276 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58277 for ac_func in _hypotl
58278 do :
58279 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58280 if test "x$ac_cv_func__hypotl" = x""yes; then :
58281 cat >>confdefs.h <<_ACEOF
58282 #define HAVE__HYPOTL 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288 fi
58289 fi
58290
58291
58292
58293
58294
58295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58296 $as_echo_n "checking for ldexpl declaration... " >&6; }
58297 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58298 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58299 $as_echo_n "(cached) " >&6
58300 else
58301
58302
58303 ac_ext=cpp
58304 ac_cpp='$CXXCPP $CPPFLAGS'
58305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58308
58309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58310 /* end confdefs.h. */
58311 #include <math.h>
58312 int
58313 main ()
58314 {
58315 ldexpl(0, 0);
58316 ;
58317 return 0;
58318 }
58319 _ACEOF
58320 if ac_fn_cxx_try_compile "$LINENO"; then :
58321 glibcxx_cv_func_ldexpl_use=yes
58322 else
58323 glibcxx_cv_func_ldexpl_use=no
58324 fi
58325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58326 ac_ext=c
58327 ac_cpp='$CPP $CPPFLAGS'
58328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58331
58332
58333 fi
58334
58335 fi
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58337 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58338
58339 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58340 for ac_func in ldexpl
58341 do :
58342 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58343 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58344 cat >>confdefs.h <<_ACEOF
58345 #define HAVE_LDEXPL 1
58346 _ACEOF
58347
58348 fi
58349 done
58350
58351 else
58352
58353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58354 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58355 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58356 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58357 $as_echo_n "(cached) " >&6
58358 else
58359
58360
58361 ac_ext=cpp
58362 ac_cpp='$CXXCPP $CPPFLAGS'
58363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58366
58367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58368 /* end confdefs.h. */
58369 #include <math.h>
58370 int
58371 main ()
58372 {
58373 _ldexpl(0, 0);
58374 ;
58375 return 0;
58376 }
58377 _ACEOF
58378 if ac_fn_cxx_try_compile "$LINENO"; then :
58379 glibcxx_cv_func__ldexpl_use=yes
58380 else
58381 glibcxx_cv_func__ldexpl_use=no
58382 fi
58383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58384 ac_ext=c
58385 ac_cpp='$CPP $CPPFLAGS'
58386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58389
58390
58391 fi
58392
58393 fi
58394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58395 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58396
58397 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58398 for ac_func in _ldexpl
58399 do :
58400 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58401 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58402 cat >>confdefs.h <<_ACEOF
58403 #define HAVE__LDEXPL 1
58404 _ACEOF
58405
58406 fi
58407 done
58408
58409 fi
58410 fi
58411
58412
58413
58414
58415
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58417 $as_echo_n "checking for logl declaration... " >&6; }
58418 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58419 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58420 $as_echo_n "(cached) " >&6
58421 else
58422
58423
58424 ac_ext=cpp
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58429
58430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58431 /* end confdefs.h. */
58432 #include <math.h>
58433 #ifdef HAVE_IEEEFP_H
58434 #include <ieeefp.h>
58435 #endif
58436
58437 int
58438 main ()
58439 {
58440 logl(0);
58441 ;
58442 return 0;
58443 }
58444 _ACEOF
58445 if ac_fn_cxx_try_compile "$LINENO"; then :
58446 glibcxx_cv_func_logl_use=yes
58447 else
58448 glibcxx_cv_func_logl_use=no
58449 fi
58450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58451 ac_ext=c
58452 ac_cpp='$CPP $CPPFLAGS'
58453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58456
58457
58458 fi
58459
58460 fi
58461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58462 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58463
58464 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58465 for ac_func in logl
58466 do :
58467 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58468 if test "x$ac_cv_func_logl" = x""yes; then :
58469 cat >>confdefs.h <<_ACEOF
58470 #define HAVE_LOGL 1
58471 _ACEOF
58472
58473 fi
58474 done
58475
58476 else
58477
58478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58479 $as_echo_n "checking for _logl declaration... " >&6; }
58480 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58481 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58482 $as_echo_n "(cached) " >&6
58483 else
58484
58485
58486 ac_ext=cpp
58487 ac_cpp='$CXXCPP $CPPFLAGS'
58488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58491
58492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58493 /* end confdefs.h. */
58494 #include <math.h>
58495 #ifdef HAVE_IEEEFP_H
58496 #include <ieeefp.h>
58497 #endif
58498
58499 int
58500 main ()
58501 {
58502 _logl(0);
58503 ;
58504 return 0;
58505 }
58506 _ACEOF
58507 if ac_fn_cxx_try_compile "$LINENO"; then :
58508 glibcxx_cv_func__logl_use=yes
58509 else
58510 glibcxx_cv_func__logl_use=no
58511 fi
58512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58513 ac_ext=c
58514 ac_cpp='$CPP $CPPFLAGS'
58515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58518
58519
58520 fi
58521
58522 fi
58523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58524 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58525
58526 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58527 for ac_func in _logl
58528 do :
58529 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58530 if test "x$ac_cv_func__logl" = x""yes; then :
58531 cat >>confdefs.h <<_ACEOF
58532 #define HAVE__LOGL 1
58533 _ACEOF
58534
58535 fi
58536 done
58537
58538 fi
58539 fi
58540
58541
58542
58543
58544
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58546 $as_echo_n "checking for log10l declaration... " >&6; }
58547 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58548 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58549 $as_echo_n "(cached) " >&6
58550 else
58551
58552
58553 ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58558
58559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h. */
58561 #include <math.h>
58562 #ifdef HAVE_IEEEFP_H
58563 #include <ieeefp.h>
58564 #endif
58565
58566 int
58567 main ()
58568 {
58569 log10l(0);
58570 ;
58571 return 0;
58572 }
58573 _ACEOF
58574 if ac_fn_cxx_try_compile "$LINENO"; then :
58575 glibcxx_cv_func_log10l_use=yes
58576 else
58577 glibcxx_cv_func_log10l_use=no
58578 fi
58579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58580 ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58585
58586
58587 fi
58588
58589 fi
58590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58591 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58592
58593 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58594 for ac_func in log10l
58595 do :
58596 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58597 if test "x$ac_cv_func_log10l" = x""yes; then :
58598 cat >>confdefs.h <<_ACEOF
58599 #define HAVE_LOG10L 1
58600 _ACEOF
58601
58602 fi
58603 done
58604
58605 else
58606
58607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58608 $as_echo_n "checking for _log10l declaration... " >&6; }
58609 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58610 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
58625 #include <ieeefp.h>
58626 #endif
58627
58628 int
58629 main ()
58630 {
58631 _log10l(0);
58632 ;
58633 return 0;
58634 }
58635 _ACEOF
58636 if ac_fn_cxx_try_compile "$LINENO"; then :
58637 glibcxx_cv_func__log10l_use=yes
58638 else
58639 glibcxx_cv_func__log10l_use=no
58640 fi
58641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58642 ac_ext=c
58643 ac_cpp='$CPP $CPPFLAGS'
58644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58647
58648
58649 fi
58650
58651 fi
58652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58653 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58654
58655 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58656 for ac_func in _log10l
58657 do :
58658 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58659 if test "x$ac_cv_func__log10l" = x""yes; then :
58660 cat >>confdefs.h <<_ACEOF
58661 #define HAVE__LOG10L 1
58662 _ACEOF
58663
58664 fi
58665 done
58666
58667 fi
58668 fi
58669
58670
58671
58672
58673
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58675 $as_echo_n "checking for modfl declaration... " >&6; }
58676 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58677 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58678 $as_echo_n "(cached) " >&6
58679 else
58680
58681
58682 ac_ext=cpp
58683 ac_cpp='$CXXCPP $CPPFLAGS'
58684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58687
58688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58689 /* end confdefs.h. */
58690 #include <math.h>
58691 int
58692 main ()
58693 {
58694 modfl(0, 0);
58695 ;
58696 return 0;
58697 }
58698 _ACEOF
58699 if ac_fn_cxx_try_compile "$LINENO"; then :
58700 glibcxx_cv_func_modfl_use=yes
58701 else
58702 glibcxx_cv_func_modfl_use=no
58703 fi
58704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58705 ac_ext=c
58706 ac_cpp='$CPP $CPPFLAGS'
58707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58710
58711
58712 fi
58713
58714 fi
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58716 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58717
58718 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58719 for ac_func in modfl
58720 do :
58721 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58722 if test "x$ac_cv_func_modfl" = x""yes; then :
58723 cat >>confdefs.h <<_ACEOF
58724 #define HAVE_MODFL 1
58725 _ACEOF
58726
58727 fi
58728 done
58729
58730 else
58731
58732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58733 $as_echo_n "checking for _modfl declaration... " >&6; }
58734 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58735 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58736 $as_echo_n "(cached) " >&6
58737 else
58738
58739
58740 ac_ext=cpp
58741 ac_cpp='$CXXCPP $CPPFLAGS'
58742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58745
58746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58747 /* end confdefs.h. */
58748 #include <math.h>
58749 int
58750 main ()
58751 {
58752 _modfl(0, 0);
58753 ;
58754 return 0;
58755 }
58756 _ACEOF
58757 if ac_fn_cxx_try_compile "$LINENO"; then :
58758 glibcxx_cv_func__modfl_use=yes
58759 else
58760 glibcxx_cv_func__modfl_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__modfl_use" >&5
58774 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58775
58776 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58777 for ac_func in _modfl
58778 do :
58779 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58780 if test "x$ac_cv_func__modfl" = x""yes; then :
58781 cat >>confdefs.h <<_ACEOF
58782 #define HAVE__MODFL 1
58783 _ACEOF
58784
58785 fi
58786 done
58787
58788 fi
58789 fi
58790
58791
58792
58793
58794
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58796 $as_echo_n "checking for powl declaration... " >&6; }
58797 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58798 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58799 $as_echo_n "(cached) " >&6
58800 else
58801
58802
58803 ac_ext=cpp
58804 ac_cpp='$CXXCPP $CPPFLAGS'
58805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58808
58809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58810 /* end confdefs.h. */
58811 #include <math.h>
58812 int
58813 main ()
58814 {
58815 powl(0, 0);
58816 ;
58817 return 0;
58818 }
58819 _ACEOF
58820 if ac_fn_cxx_try_compile "$LINENO"; then :
58821 glibcxx_cv_func_powl_use=yes
58822 else
58823 glibcxx_cv_func_powl_use=no
58824 fi
58825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58826 ac_ext=c
58827 ac_cpp='$CPP $CPPFLAGS'
58828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58831
58832
58833 fi
58834
58835 fi
58836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58837 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58838
58839 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58840 for ac_func in powl
58841 do :
58842 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58843 if test "x$ac_cv_func_powl" = x""yes; then :
58844 cat >>confdefs.h <<_ACEOF
58845 #define HAVE_POWL 1
58846 _ACEOF
58847
58848 fi
58849 done
58850
58851 else
58852
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58854 $as_echo_n "checking for _powl declaration... " >&6; }
58855 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58856 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58857 $as_echo_n "(cached) " >&6
58858 else
58859
58860
58861 ac_ext=cpp
58862 ac_cpp='$CXXCPP $CPPFLAGS'
58863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58866
58867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58868 /* end confdefs.h. */
58869 #include <math.h>
58870 int
58871 main ()
58872 {
58873 _powl(0, 0);
58874 ;
58875 return 0;
58876 }
58877 _ACEOF
58878 if ac_fn_cxx_try_compile "$LINENO"; then :
58879 glibcxx_cv_func__powl_use=yes
58880 else
58881 glibcxx_cv_func__powl_use=no
58882 fi
58883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58884 ac_ext=c
58885 ac_cpp='$CPP $CPPFLAGS'
58886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58889
58890
58891 fi
58892
58893 fi
58894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58895 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58896
58897 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58898 for ac_func in _powl
58899 do :
58900 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58901 if test "x$ac_cv_func__powl" = x""yes; then :
58902 cat >>confdefs.h <<_ACEOF
58903 #define HAVE__POWL 1
58904 _ACEOF
58905
58906 fi
58907 done
58908
58909 fi
58910 fi
58911
58912
58913
58914
58915
58916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58917 $as_echo_n "checking for sqrtl declaration... " >&6; }
58918 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58919 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58920 $as_echo_n "(cached) " >&6
58921 else
58922
58923
58924 ac_ext=cpp
58925 ac_cpp='$CXXCPP $CPPFLAGS'
58926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58929
58930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58931 /* end confdefs.h. */
58932 #include <math.h>
58933 #ifdef HAVE_IEEEFP_H
58934 #include <ieeefp.h>
58935 #endif
58936
58937 int
58938 main ()
58939 {
58940 sqrtl(0);
58941 ;
58942 return 0;
58943 }
58944 _ACEOF
58945 if ac_fn_cxx_try_compile "$LINENO"; then :
58946 glibcxx_cv_func_sqrtl_use=yes
58947 else
58948 glibcxx_cv_func_sqrtl_use=no
58949 fi
58950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58951 ac_ext=c
58952 ac_cpp='$CPP $CPPFLAGS'
58953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58956
58957
58958 fi
58959
58960 fi
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58962 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58963
58964 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58965 for ac_func in sqrtl
58966 do :
58967 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58968 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58969 cat >>confdefs.h <<_ACEOF
58970 #define HAVE_SQRTL 1
58971 _ACEOF
58972
58973 fi
58974 done
58975
58976 else
58977
58978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58979 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58980 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58981 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
59003 ;
59004 return 0;
59005 }
59006 _ACEOF
59007 if ac_fn_cxx_try_compile "$LINENO"; then :
59008 glibcxx_cv_func__sqrtl_use=yes
59009 else
59010 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
59024 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59025
59026 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59027 for ac_func in _sqrtl
59028 do :
59029 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59030 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59031 cat >>confdefs.h <<_ACEOF
59032 #define HAVE__SQRTL 1
59033 _ACEOF
59034
59035 fi
59036 done
59037
59038 fi
59039 fi
59040
59041
59042
59043
59044
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59046 $as_echo_n "checking for sincosl declaration... " >&6; }
59047 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59048 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59051
59052
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59062 int
59063 main ()
59064 {
59065 sincosl(0, 0, 0);
59066 ;
59067 return 0;
59068 }
59069 _ACEOF
59070 if ac_fn_cxx_try_compile "$LINENO"; then :
59071 glibcxx_cv_func_sincosl_use=yes
59072 else
59073 glibcxx_cv_func_sincosl_use=no
59074 fi
59075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59076 ac_ext=c
59077 ac_cpp='$CPP $CPPFLAGS'
59078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081
59082
59083 fi
59084
59085 fi
59086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59087 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59088
59089 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59090 for ac_func in sincosl
59091 do :
59092 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59093 if test "x$ac_cv_func_sincosl" = x""yes; then :
59094 cat >>confdefs.h <<_ACEOF
59095 #define HAVE_SINCOSL 1
59096 _ACEOF
59097
59098 fi
59099 done
59100
59101 else
59102
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59104 $as_echo_n "checking for _sincosl declaration... " >&6; }
59105 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59106 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59107 $as_echo_n "(cached) " >&6
59108 else
59109
59110
59111 ac_ext=cpp
59112 ac_cpp='$CXXCPP $CPPFLAGS'
59113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116
59117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59118 /* end confdefs.h. */
59119 #include <math.h>
59120 int
59121 main ()
59122 {
59123 _sincosl(0, 0, 0);
59124 ;
59125 return 0;
59126 }
59127 _ACEOF
59128 if ac_fn_cxx_try_compile "$LINENO"; then :
59129 glibcxx_cv_func__sincosl_use=yes
59130 else
59131 glibcxx_cv_func__sincosl_use=no
59132 fi
59133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59134 ac_ext=c
59135 ac_cpp='$CPP $CPPFLAGS'
59136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59139
59140
59141 fi
59142
59143 fi
59144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59145 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59146
59147 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59148 for ac_func in _sincosl
59149 do :
59150 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59151 if test "x$ac_cv_func__sincosl" = x""yes; then :
59152 cat >>confdefs.h <<_ACEOF
59153 #define HAVE__SINCOSL 1
59154 _ACEOF
59155
59156 fi
59157 done
59158
59159 fi
59160 fi
59161
59162
59163
59164
59165
59166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59167 $as_echo_n "checking for finitel declaration... " >&6; }
59168 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59169 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59170 $as_echo_n "(cached) " >&6
59171 else
59172
59173
59174 ac_ext=cpp
59175 ac_cpp='$CXXCPP $CPPFLAGS'
59176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179
59180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59181 /* end confdefs.h. */
59182 #include <math.h>
59183 #ifdef HAVE_IEEEFP_H
59184 #include <ieeefp.h>
59185 #endif
59186
59187 int
59188 main ()
59189 {
59190 finitel(0);
59191 ;
59192 return 0;
59193 }
59194 _ACEOF
59195 if ac_fn_cxx_try_compile "$LINENO"; then :
59196 glibcxx_cv_func_finitel_use=yes
59197 else
59198 glibcxx_cv_func_finitel_use=no
59199 fi
59200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59201 ac_ext=c
59202 ac_cpp='$CPP $CPPFLAGS'
59203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59206
59207
59208 fi
59209
59210 fi
59211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59212 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59213
59214 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59215 for ac_func in finitel
59216 do :
59217 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59218 if test "x$ac_cv_func_finitel" = x""yes; then :
59219 cat >>confdefs.h <<_ACEOF
59220 #define HAVE_FINITEL 1
59221 _ACEOF
59222
59223 fi
59224 done
59225
59226 else
59227
59228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59229 $as_echo_n "checking for _finitel declaration... " >&6; }
59230 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59231 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59232 $as_echo_n "(cached) " >&6
59233 else
59234
59235
59236 ac_ext=cpp
59237 ac_cpp='$CXXCPP $CPPFLAGS'
59238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59241
59242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59243 /* end confdefs.h. */
59244 #include <math.h>
59245 #ifdef HAVE_IEEEFP_H
59246 #include <ieeefp.h>
59247 #endif
59248
59249 int
59250 main ()
59251 {
59252 _finitel(0);
59253 ;
59254 return 0;
59255 }
59256 _ACEOF
59257 if ac_fn_cxx_try_compile "$LINENO"; then :
59258 glibcxx_cv_func__finitel_use=yes
59259 else
59260 glibcxx_cv_func__finitel_use=no
59261 fi
59262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59263 ac_ext=c
59264 ac_cpp='$CPP $CPPFLAGS'
59265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59268
59269
59270 fi
59271
59272 fi
59273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59274 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59275
59276 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59277 for ac_func in _finitel
59278 do :
59279 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59280 if test "x$ac_cv_func__finitel" = x""yes; then :
59281 cat >>confdefs.h <<_ACEOF
59282 #define HAVE__FINITEL 1
59283 _ACEOF
59284
59285 fi
59286 done
59287
59288 fi
59289 fi
59290
59291
59292
59293
59294 LIBS="$ac_save_LIBS"
59295 CXXFLAGS="$ac_save_CXXFLAGS"
59296
59297
59298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59299 ac_save_CXXFLAGS="$CXXFLAGS"
59300 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59301
59302
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59304 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59305 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59306 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59309
59310
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <stdlib.h>
59320 int
59321 main ()
59322 {
59323 at_quick_exit(0);
59324 ;
59325 return 0;
59326 }
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329 glibcxx_cv_func_at_quick_exit_use=yes
59330 else
59331 glibcxx_cv_func_at_quick_exit_use=no
59332 fi
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334 ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339
59340
59341 fi
59342
59343 fi
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59345 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59346 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59347 for ac_func in at_quick_exit
59348 do :
59349 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59350 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59351 cat >>confdefs.h <<_ACEOF
59352 #define HAVE_AT_QUICK_EXIT 1
59353 _ACEOF
59354
59355 fi
59356 done
59357
59358 fi
59359
59360
59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59362 $as_echo_n "checking for quick_exit declaration... " >&6; }
59363 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59364 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59365 $as_echo_n "(cached) " >&6
59366 else
59367
59368
59369 ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374
59375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h. */
59377 #include <stdlib.h>
59378 int
59379 main ()
59380 {
59381 quick_exit(0);
59382 ;
59383 return 0;
59384 }
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387 glibcxx_cv_func_quick_exit_use=yes
59388 else
59389 glibcxx_cv_func_quick_exit_use=no
59390 fi
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399 fi
59400
59401 fi
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59403 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59404 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59405 for ac_func in quick_exit
59406 do :
59407 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59408 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59409 cat >>confdefs.h <<_ACEOF
59410 #define HAVE_QUICK_EXIT 1
59411 _ACEOF
59412
59413 fi
59414 done
59415
59416 fi
59417
59418
59419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59420 $as_echo_n "checking for strtold declaration... " >&6; }
59421 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59422 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59423 $as_echo_n "(cached) " >&6
59424 else
59425
59426
59427 ac_ext=cpp
59428 ac_cpp='$CXXCPP $CPPFLAGS'
59429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432
59433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59434 /* end confdefs.h. */
59435 #include <stdlib.h>
59436 int
59437 main ()
59438 {
59439 strtold(0, 0);
59440 ;
59441 return 0;
59442 }
59443 _ACEOF
59444 if ac_fn_cxx_try_compile "$LINENO"; then :
59445 glibcxx_cv_func_strtold_use=yes
59446 else
59447 glibcxx_cv_func_strtold_use=no
59448 fi
59449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59450 ac_ext=c
59451 ac_cpp='$CPP $CPPFLAGS'
59452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59455
59456
59457 fi
59458
59459 fi
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59461 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59462 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59463 for ac_func in strtold
59464 do :
59465 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59466 if test "x$ac_cv_func_strtold" = x""yes; then :
59467 cat >>confdefs.h <<_ACEOF
59468 #define HAVE_STRTOLD 1
59469 _ACEOF
59470
59471 fi
59472 done
59473
59474 fi
59475
59476
59477
59478
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59480 $as_echo_n "checking for strtof declaration... " >&6; }
59481 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59482 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59483 $as_echo_n "(cached) " >&6
59484 else
59485
59486
59487 ac_ext=cpp
59488 ac_cpp='$CXXCPP $CPPFLAGS'
59489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492
59493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59494 /* end confdefs.h. */
59495 #include <stdlib.h>
59496 int
59497 main ()
59498 {
59499 strtof(0, 0);
59500 ;
59501 return 0;
59502 }
59503 _ACEOF
59504 if ac_fn_cxx_try_compile "$LINENO"; then :
59505 glibcxx_cv_func_strtof_use=yes
59506 else
59507 glibcxx_cv_func_strtof_use=no
59508 fi
59509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59510 ac_ext=c
59511 ac_cpp='$CPP $CPPFLAGS'
59512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59515
59516
59517 fi
59518
59519 fi
59520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59521 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59522 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59523 for ac_func in strtof
59524 do :
59525 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59526 if test "x$ac_cv_func_strtof" = x""yes; then :
59527 cat >>confdefs.h <<_ACEOF
59528 #define HAVE_STRTOF 1
59529 _ACEOF
59530
59531 fi
59532 done
59533
59534 fi
59535
59536
59537
59538
59539 CXXFLAGS="$ac_save_CXXFLAGS"
59540
59541 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59542
59543
59544
59545 # Check whether --enable-tls was given.
59546 if test "${enable_tls+set}" = set; then :
59547 enableval=$enable_tls;
59548 case "$enableval" in
59549 yes|no) ;;
59550 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59551 esac
59552
59553 else
59554 enable_tls=yes
59555 fi
59556
59557
59558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59559 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59560 if test "${gcc_cv_have_tls+set}" = set; then :
59561 $as_echo_n "(cached) " >&6
59562 else
59563
59564 if test "$cross_compiling" = yes; then :
59565 if test x$gcc_no_link = xyes; then
59566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59567 fi
59568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59569 /* end confdefs.h. */
59570 __thread int a; int b; int main() { return a = b; }
59571 _ACEOF
59572 if ac_fn_c_try_link "$LINENO"; then :
59573 chktls_save_LDFLAGS="$LDFLAGS"
59574 case $host in
59575 *-*-linux*)
59576 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59577 ;;
59578 esac
59579 chktls_save_CFLAGS="$CFLAGS"
59580 CFLAGS="-fPIC $CFLAGS"
59581 if test x$gcc_no_link = xyes; then
59582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59583 fi
59584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59585 /* end confdefs.h. */
59586 int f() { return 0; }
59587 _ACEOF
59588 if ac_fn_c_try_link "$LINENO"; then :
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 __thread int a; int b; int f() { return a = b; }
59595 _ACEOF
59596 if ac_fn_c_try_link "$LINENO"; then :
59597 gcc_cv_have_tls=yes
59598 else
59599 gcc_cv_have_tls=no
59600 fi
59601 rm -f core conftest.err conftest.$ac_objext \
59602 conftest$ac_exeext conftest.$ac_ext
59603 else
59604 gcc_cv_have_tls=yes
59605 fi
59606 rm -f core conftest.err conftest.$ac_objext \
59607 conftest$ac_exeext conftest.$ac_ext
59608 CFLAGS="$chktls_save_CFLAGS"
59609 LDFLAGS="$chktls_save_LDFLAGS"
59610 else
59611 gcc_cv_have_tls=no
59612 fi
59613 rm -f core conftest.err conftest.$ac_objext \
59614 conftest$ac_exeext conftest.$ac_ext
59615
59616
59617 else
59618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59619 /* end confdefs.h. */
59620 __thread int a; int b; int main() { return a = b; }
59621 _ACEOF
59622 if ac_fn_c_try_run "$LINENO"; then :
59623 chktls_save_LDFLAGS="$LDFLAGS"
59624 LDFLAGS="-static $LDFLAGS"
59625 if test x$gcc_no_link = xyes; then
59626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59627 fi
59628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59629 /* end confdefs.h. */
59630 int main() { return 0; }
59631 _ACEOF
59632 if ac_fn_c_try_link "$LINENO"; then :
59633 if test "$cross_compiling" = yes; then :
59634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59636 as_fn_error "cannot run test program while cross compiling
59637 See \`config.log' for more details." "$LINENO" 5; }
59638 else
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 __thread int a; int b; int main() { return a = b; }
59642 _ACEOF
59643 if ac_fn_c_try_run "$LINENO"; then :
59644 gcc_cv_have_tls=yes
59645 else
59646 gcc_cv_have_tls=no
59647 fi
59648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59649 conftest.$ac_objext conftest.beam conftest.$ac_ext
59650 fi
59651
59652 else
59653 gcc_cv_have_tls=yes
59654 fi
59655 rm -f core conftest.err conftest.$ac_objext \
59656 conftest$ac_exeext conftest.$ac_ext
59657 LDFLAGS="$chktls_save_LDFLAGS"
59658 if test $gcc_cv_have_tls = yes; then
59659 chktls_save_CFLAGS="$CFLAGS"
59660 thread_CFLAGS=failed
59661 for flag in '' '-pthread' '-lpthread'; do
59662 CFLAGS="$flag $chktls_save_CFLAGS"
59663 if test x$gcc_no_link = xyes; then
59664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59665 fi
59666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59667 /* end confdefs.h. */
59668 #include <pthread.h>
59669 void *g(void *d) { return NULL; }
59670 int
59671 main ()
59672 {
59673 pthread_t t; pthread_create(&t,NULL,g,NULL);
59674 ;
59675 return 0;
59676 }
59677 _ACEOF
59678 if ac_fn_c_try_link "$LINENO"; then :
59679 thread_CFLAGS="$flag"
59680 fi
59681 rm -f core conftest.err conftest.$ac_objext \
59682 conftest$ac_exeext conftest.$ac_ext
59683 if test "X$thread_CFLAGS" != Xfailed; then
59684 break
59685 fi
59686 done
59687 CFLAGS="$chktls_save_CFLAGS"
59688 if test "X$thread_CFLAGS" != Xfailed; then
59689 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59690 if test "$cross_compiling" = yes; then :
59691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59693 as_fn_error "cannot run test program while cross compiling
59694 See \`config.log' for more details." "$LINENO" 5; }
59695 else
59696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59697 /* end confdefs.h. */
59698 #include <pthread.h>
59699 __thread int a;
59700 static int *volatile a_in_other_thread;
59701 static void *
59702 thread_func (void *arg)
59703 {
59704 a_in_other_thread = &a;
59705 return (void *)0;
59706 }
59707 int
59708 main ()
59709 {
59710 pthread_t thread;
59711 void *thread_retval;
59712 int *volatile a_in_main_thread;
59713 a_in_main_thread = &a;
59714 if (pthread_create (&thread, (pthread_attr_t *)0,
59715 thread_func, (void *)0))
59716 return 0;
59717 if (pthread_join (thread, &thread_retval))
59718 return 0;
59719 return (a_in_other_thread == a_in_main_thread);
59720 ;
59721 return 0;
59722 }
59723 _ACEOF
59724 if ac_fn_c_try_run "$LINENO"; then :
59725 gcc_cv_have_tls=yes
59726 else
59727 gcc_cv_have_tls=no
59728 fi
59729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59730 conftest.$ac_objext conftest.beam conftest.$ac_ext
59731 fi
59732
59733 CFLAGS="$chktls_save_CFLAGS"
59734 fi
59735 fi
59736 else
59737 gcc_cv_have_tls=no
59738 fi
59739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59740 conftest.$ac_objext conftest.beam conftest.$ac_ext
59741 fi
59742
59743 fi
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59745 $as_echo "$gcc_cv_have_tls" >&6; }
59746 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59747
59748 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59749
59750 fi
59751 for ac_func in __cxa_thread_atexit_impl
59752 do :
59753 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59754 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59755 cat >>confdefs.h <<_ACEOF
59756 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59757 _ACEOF
59758
59759 fi
59760 done
59761
59762
59763
59764
59765
59766
59767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59768 $as_echo_n "checking for iconv... " >&6; }
59769 if test "${am_cv_func_iconv+set}" = set; then :
59770 $as_echo_n "(cached) " >&6
59771 else
59772
59773 am_cv_func_iconv="no, consider installing GNU libiconv"
59774 am_cv_lib_iconv=no
59775 am_save_CPPFLAGS="$CPPFLAGS"
59776 CPPFLAGS="$CPPFLAGS $INCICONV"
59777 if test x$gcc_no_link = xyes; then
59778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59779 fi
59780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59781 /* end confdefs.h. */
59782 #include <stdlib.h>
59783 #include <iconv.h>
59784 int
59785 main ()
59786 {
59787 iconv_t cd = iconv_open("","");
59788 iconv(cd,NULL,NULL,NULL,NULL);
59789 iconv_close(cd);
59790 ;
59791 return 0;
59792 }
59793 _ACEOF
59794 if ac_fn_c_try_link "$LINENO"; then :
59795 am_cv_func_iconv=yes
59796 fi
59797 rm -f core conftest.err conftest.$ac_objext \
59798 conftest$ac_exeext conftest.$ac_ext
59799 CPPFLAGS="$am_save_CPPFLAGS"
59800
59801 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59802 for _libs in .libs _libs; do
59803 am_save_CPPFLAGS="$CPPFLAGS"
59804 am_save_LIBS="$LIBS"
59805 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59806 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59807 if test x$gcc_no_link = xyes; then
59808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59809 fi
59810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59811 /* end confdefs.h. */
59812 #include <stdlib.h>
59813 #include <iconv.h>
59814 int
59815 main ()
59816 {
59817 iconv_t cd = iconv_open("","");
59818 iconv(cd,NULL,NULL,NULL,NULL);
59819 iconv_close(cd);
59820 ;
59821 return 0;
59822 }
59823 _ACEOF
59824 if ac_fn_c_try_link "$LINENO"; then :
59825 INCICONV="-I../libiconv/include"
59826 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59827 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59828 am_cv_lib_iconv=yes
59829 am_cv_func_iconv=yes
59830 fi
59831 rm -f core conftest.err conftest.$ac_objext \
59832 conftest$ac_exeext conftest.$ac_ext
59833 CPPFLAGS="$am_save_CPPFLAGS"
59834 LIBS="$am_save_LIBS"
59835 if test "$am_cv_func_iconv" = "yes"; then
59836 break
59837 fi
59838 done
59839 fi
59840
59841 if test "$am_cv_func_iconv" != yes; then
59842 am_save_CPPFLAGS="$CPPFLAGS"
59843 am_save_LIBS="$LIBS"
59844 CPPFLAGS="$LIBS $INCICONV"
59845 LIBS="$LIBS $LIBICONV"
59846 if test x$gcc_no_link = xyes; then
59847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59848 fi
59849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59850 /* end confdefs.h. */
59851 #include <stdlib.h>
59852 #include <iconv.h>
59853 int
59854 main ()
59855 {
59856 iconv_t cd = iconv_open("","");
59857 iconv(cd,NULL,NULL,NULL,NULL);
59858 iconv_close(cd);
59859 ;
59860 return 0;
59861 }
59862 _ACEOF
59863 if ac_fn_c_try_link "$LINENO"; then :
59864 am_cv_lib_iconv=yes
59865 am_cv_func_iconv=yes
59866 fi
59867 rm -f core conftest.err conftest.$ac_objext \
59868 conftest$ac_exeext conftest.$ac_ext
59869 CPPFLAGS="$am_save_CPPFLAGS"
59870 LIBS="$am_save_LIBS"
59871 fi
59872
59873 fi
59874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59875 $as_echo "$am_cv_func_iconv" >&6; }
59876 if test "$am_cv_func_iconv" = yes; then
59877
59878 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59879
59880 fi
59881 if test "$am_cv_lib_iconv" = yes; then
59882
59883 for element in $INCICONV; do
59884 haveit=
59885 for x in $CPPFLAGS; do
59886
59887 acl_save_prefix="$prefix"
59888 prefix="$acl_final_prefix"
59889 acl_save_exec_prefix="$exec_prefix"
59890 exec_prefix="$acl_final_exec_prefix"
59891 eval x=\"$x\"
59892 exec_prefix="$acl_save_exec_prefix"
59893 prefix="$acl_save_prefix"
59894
59895 if test "X$x" = "X$element"; then
59896 haveit=yes
59897 break
59898 fi
59899 done
59900 if test -z "$haveit"; then
59901 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59902 fi
59903 done
59904
59905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59906 $as_echo_n "checking how to link with libiconv... " >&6; }
59907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59908 $as_echo "$LIBICONV" >&6; }
59909 else
59910 LIBICONV=
59911 LTLIBICONV=
59912 fi
59913
59914
59915
59916 if test "$am_cv_func_iconv" = yes; then
59917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59918 $as_echo_n "checking for iconv declaration... " >&6; }
59919 if test "${am_cv_proto_iconv+set}" = set; then :
59920 $as_echo_n "(cached) " >&6
59921 else
59922
59923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59924 /* end confdefs.h. */
59925
59926 #include <stdlib.h>
59927 #include <iconv.h>
59928 extern
59929 #ifdef __cplusplus
59930 "C"
59931 #endif
59932 #if defined(__STDC__) || defined(__cplusplus)
59933 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59934 #else
59935 size_t iconv();
59936 #endif
59937
59938 int
59939 main ()
59940 {
59941
59942 ;
59943 return 0;
59944 }
59945 _ACEOF
59946 if ac_fn_c_try_compile "$LINENO"; then :
59947 am_cv_proto_iconv_arg1=""
59948 else
59949 am_cv_proto_iconv_arg1="const"
59950 fi
59951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59952 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);"
59953 fi
59954
59955 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59957 }$am_cv_proto_iconv" >&5
59958 $as_echo "${ac_t:-
59959 }$am_cv_proto_iconv" >&6; }
59960
59961 cat >>confdefs.h <<_ACEOF
59962 #define ICONV_CONST $am_cv_proto_iconv_arg1
59963 _ACEOF
59964
59965 fi
59966
59967 ;;
59968 *-mingw32*)
59969
59970 # If we're not using GNU ld, then there's no point in even trying these
59971 # tests. Check for that first. We should have already tested for gld
59972 # by now (in libtool), but require it now just to be safe...
59973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59975
59976
59977
59978 # The name set by libtool depends on the version of libtool. Shame on us
59979 # for depending on an impl detail, but c'est la vie. Older versions used
59980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59983 # set (hence we're using an older libtool), then set it.
59984 if test x${with_gnu_ld+set} != xset; then
59985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59987 with_gnu_ld=no
59988 else
59989 with_gnu_ld=$ac_cv_prog_gnu_ld
59990 fi
59991 fi
59992
59993 # Start by getting the version number. I think the libtool test already
59994 # does some of this, but throws away the result.
59995 glibcxx_ld_is_gold=no
59996 if test x"$with_gnu_ld" = x"yes"; then
59997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59998 $as_echo_n "checking for ld version... " >&6; }
59999
60000 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60001 glibcxx_ld_is_gold=yes
60002 fi
60003 ldver=`$LD --version 2>/dev/null |
60004 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'`
60005
60006 glibcxx_gnu_ld_version=`echo $ldver | \
60007 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60009 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60010 fi
60011
60012 # Set --gc-sections.
60013 glibcxx_have_gc_sections=no
60014 if test "$glibcxx_ld_is_gold" = "yes"; then
60015 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60016 glibcxx_have_gc_sections=yes
60017 fi
60018 else
60019 glibcxx_gcsections_min_ld=21602
60020 if test x"$with_gnu_ld" = x"yes" &&
60021 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60022 glibcxx_have_gc_sections=yes
60023 fi
60024 fi
60025 if test "$glibcxx_have_gc_sections" = "yes"; then
60026 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60027 # NB: This flag only works reliably after 2.16.1. Configure tests
60028 # for this are difficult, so hard wire a value that should work.
60029
60030 ac_test_CFLAGS="${CFLAGS+set}"
60031 ac_save_CFLAGS="$CFLAGS"
60032 CFLAGS='-Wl,--gc-sections'
60033
60034 # Check for -Wl,--gc-sections
60035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60036 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60037 if test x$gcc_no_link = xyes; then
60038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60039 fi
60040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60041 /* end confdefs.h. */
60042 int one(void) { return 1; }
60043 int two(void) { return 2; }
60044
60045 int
60046 main ()
60047 {
60048 two();
60049 ;
60050 return 0;
60051 }
60052 _ACEOF
60053 if ac_fn_c_try_link "$LINENO"; then :
60054 ac_gcsections=yes
60055 else
60056 ac_gcsections=no
60057 fi
60058 rm -f core conftest.err conftest.$ac_objext \
60059 conftest$ac_exeext conftest.$ac_ext
60060 if test "$ac_gcsections" = "yes"; then
60061 rm -f conftest.c
60062 touch conftest.c
60063 if $CC -c conftest.c; then
60064 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60065 grep "Warning: gc-sections option ignored" > /dev/null; then
60066 ac_gcsections=no
60067 fi
60068 fi
60069 rm -f conftest.c conftest.o conftest
60070 fi
60071 if test "$ac_gcsections" = "yes"; then
60072 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60073 fi
60074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60075 $as_echo "$ac_gcsections" >&6; }
60076
60077 if test "$ac_test_CFLAGS" = set; then
60078 CFLAGS="$ac_save_CFLAGS"
60079 else
60080 # this is the suspicious part
60081 CFLAGS=''
60082 fi
60083 fi
60084
60085 # Set -z,relro.
60086 # Note this is only for shared objects.
60087 ac_ld_relro=no
60088 if test x"$with_gnu_ld" = x"yes"; then
60089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60090 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60091 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60092 if test -n "$cxx_z_relo"; then
60093 OPT_LDFLAGS="-Wl,-z,relro"
60094 ac_ld_relro=yes
60095 fi
60096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60097 $as_echo "$ac_ld_relro" >&6; }
60098 fi
60099
60100 # Set linker optimization flags.
60101 if test x"$with_gnu_ld" = x"yes"; then
60102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60103 fi
60104
60105
60106
60107
60108
60109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60110 ac_save_CXXFLAGS="$CXXFLAGS"
60111 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60112
60113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60114 $as_echo_n "checking for sin in -lm... " >&6; }
60115 if test "${ac_cv_lib_m_sin+set}" = set; then :
60116 $as_echo_n "(cached) " >&6
60117 else
60118 ac_check_lib_save_LIBS=$LIBS
60119 LIBS="-lm $LIBS"
60120 if test x$gcc_no_link = xyes; then
60121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60122 fi
60123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60124 /* end confdefs.h. */
60125
60126 /* Override any GCC internal prototype to avoid an error.
60127 Use char because int might match the return type of a GCC
60128 builtin and then its argument prototype would still apply. */
60129 #ifdef __cplusplus
60130 extern "C"
60131 #endif
60132 char sin ();
60133 int
60134 main ()
60135 {
60136 return sin ();
60137 ;
60138 return 0;
60139 }
60140 _ACEOF
60141 if ac_fn_c_try_link "$LINENO"; then :
60142 ac_cv_lib_m_sin=yes
60143 else
60144 ac_cv_lib_m_sin=no
60145 fi
60146 rm -f core conftest.err conftest.$ac_objext \
60147 conftest$ac_exeext conftest.$ac_ext
60148 LIBS=$ac_check_lib_save_LIBS
60149 fi
60150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60151 $as_echo "$ac_cv_lib_m_sin" >&6; }
60152 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60153 libm="-lm"
60154 fi
60155
60156 ac_save_LIBS="$LIBS"
60157 LIBS="$LIBS $libm"
60158
60159
60160
60161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60162 $as_echo_n "checking for isinf declaration... " >&6; }
60163 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60164 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60165 $as_echo_n "(cached) " >&6
60166 else
60167
60168
60169 ac_ext=cpp
60170 ac_cpp='$CXXCPP $CPPFLAGS'
60171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60174
60175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60176 /* end confdefs.h. */
60177 #include <math.h>
60178 #ifdef HAVE_IEEEFP_H
60179 #include <ieeefp.h>
60180 #endif
60181
60182 int
60183 main ()
60184 {
60185 isinf(0);
60186 ;
60187 return 0;
60188 }
60189 _ACEOF
60190 if ac_fn_cxx_try_compile "$LINENO"; then :
60191 glibcxx_cv_func_isinf_use=yes
60192 else
60193 glibcxx_cv_func_isinf_use=no
60194 fi
60195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60196 ac_ext=c
60197 ac_cpp='$CPP $CPPFLAGS'
60198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201
60202
60203 fi
60204
60205 fi
60206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60207 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60208
60209 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60210 for ac_func in isinf
60211 do :
60212 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60213 if test "x$ac_cv_func_isinf" = x""yes; then :
60214 cat >>confdefs.h <<_ACEOF
60215 #define HAVE_ISINF 1
60216 _ACEOF
60217
60218 fi
60219 done
60220
60221 else
60222
60223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60224 $as_echo_n "checking for _isinf declaration... " >&6; }
60225 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60226 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60227 $as_echo_n "(cached) " >&6
60228 else
60229
60230
60231 ac_ext=cpp
60232 ac_cpp='$CXXCPP $CPPFLAGS'
60233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60236
60237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60238 /* end confdefs.h. */
60239 #include <math.h>
60240 #ifdef HAVE_IEEEFP_H
60241 #include <ieeefp.h>
60242 #endif
60243
60244 int
60245 main ()
60246 {
60247 _isinf(0);
60248 ;
60249 return 0;
60250 }
60251 _ACEOF
60252 if ac_fn_cxx_try_compile "$LINENO"; then :
60253 glibcxx_cv_func__isinf_use=yes
60254 else
60255 glibcxx_cv_func__isinf_use=no
60256 fi
60257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60258 ac_ext=c
60259 ac_cpp='$CPP $CPPFLAGS'
60260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60263
60264
60265 fi
60266
60267 fi
60268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60269 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60270
60271 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60272 for ac_func in _isinf
60273 do :
60274 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60275 if test "x$ac_cv_func__isinf" = x""yes; then :
60276 cat >>confdefs.h <<_ACEOF
60277 #define HAVE__ISINF 1
60278 _ACEOF
60279
60280 fi
60281 done
60282
60283 fi
60284 fi
60285
60286
60287
60288
60289
60290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60291 $as_echo_n "checking for isnan declaration... " >&6; }
60292 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60293 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60294 $as_echo_n "(cached) " >&6
60295 else
60296
60297
60298 ac_ext=cpp
60299 ac_cpp='$CXXCPP $CPPFLAGS'
60300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60303
60304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60305 /* end confdefs.h. */
60306 #include <math.h>
60307 #ifdef HAVE_IEEEFP_H
60308 #include <ieeefp.h>
60309 #endif
60310
60311 int
60312 main ()
60313 {
60314 isnan(0);
60315 ;
60316 return 0;
60317 }
60318 _ACEOF
60319 if ac_fn_cxx_try_compile "$LINENO"; then :
60320 glibcxx_cv_func_isnan_use=yes
60321 else
60322 glibcxx_cv_func_isnan_use=no
60323 fi
60324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60325 ac_ext=c
60326 ac_cpp='$CPP $CPPFLAGS'
60327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60330
60331
60332 fi
60333
60334 fi
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60336 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60337
60338 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60339 for ac_func in isnan
60340 do :
60341 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60342 if test "x$ac_cv_func_isnan" = x""yes; then :
60343 cat >>confdefs.h <<_ACEOF
60344 #define HAVE_ISNAN 1
60345 _ACEOF
60346
60347 fi
60348 done
60349
60350 else
60351
60352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60353 $as_echo_n "checking for _isnan declaration... " >&6; }
60354 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60355 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60356 $as_echo_n "(cached) " >&6
60357 else
60358
60359
60360 ac_ext=cpp
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60365
60366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367 /* end confdefs.h. */
60368 #include <math.h>
60369 #ifdef HAVE_IEEEFP_H
60370 #include <ieeefp.h>
60371 #endif
60372
60373 int
60374 main ()
60375 {
60376 _isnan(0);
60377 ;
60378 return 0;
60379 }
60380 _ACEOF
60381 if ac_fn_cxx_try_compile "$LINENO"; then :
60382 glibcxx_cv_func__isnan_use=yes
60383 else
60384 glibcxx_cv_func__isnan_use=no
60385 fi
60386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60387 ac_ext=c
60388 ac_cpp='$CPP $CPPFLAGS'
60389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60392
60393
60394 fi
60395
60396 fi
60397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60398 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60399
60400 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60401 for ac_func in _isnan
60402 do :
60403 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60404 if test "x$ac_cv_func__isnan" = x""yes; then :
60405 cat >>confdefs.h <<_ACEOF
60406 #define HAVE__ISNAN 1
60407 _ACEOF
60408
60409 fi
60410 done
60411
60412 fi
60413 fi
60414
60415
60416
60417
60418
60419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60420 $as_echo_n "checking for finite declaration... " >&6; }
60421 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60422 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60423 $as_echo_n "(cached) " >&6
60424 else
60425
60426
60427 ac_ext=cpp
60428 ac_cpp='$CXXCPP $CPPFLAGS'
60429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60432
60433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60434 /* end confdefs.h. */
60435 #include <math.h>
60436 #ifdef HAVE_IEEEFP_H
60437 #include <ieeefp.h>
60438 #endif
60439
60440 int
60441 main ()
60442 {
60443 finite(0);
60444 ;
60445 return 0;
60446 }
60447 _ACEOF
60448 if ac_fn_cxx_try_compile "$LINENO"; then :
60449 glibcxx_cv_func_finite_use=yes
60450 else
60451 glibcxx_cv_func_finite_use=no
60452 fi
60453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60454 ac_ext=c
60455 ac_cpp='$CPP $CPPFLAGS'
60456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60459
60460
60461 fi
60462
60463 fi
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60465 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60466
60467 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60468 for ac_func in finite
60469 do :
60470 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60471 if test "x$ac_cv_func_finite" = x""yes; then :
60472 cat >>confdefs.h <<_ACEOF
60473 #define HAVE_FINITE 1
60474 _ACEOF
60475
60476 fi
60477 done
60478
60479 else
60480
60481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60482 $as_echo_n "checking for _finite declaration... " >&6; }
60483 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60484 if test "${glibcxx_cv_func__finite_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 _finite(0);
60506 ;
60507 return 0;
60508 }
60509 _ACEOF
60510 if ac_fn_cxx_try_compile "$LINENO"; then :
60511 glibcxx_cv_func__finite_use=yes
60512 else
60513 glibcxx_cv_func__finite_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__finite_use" >&5
60527 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60528
60529 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60530 for ac_func in _finite
60531 do :
60532 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60533 if test "x$ac_cv_func__finite" = x""yes; then :
60534 cat >>confdefs.h <<_ACEOF
60535 #define HAVE__FINITE 1
60536 _ACEOF
60537
60538 fi
60539 done
60540
60541 fi
60542 fi
60543
60544
60545
60546
60547
60548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60549 $as_echo_n "checking for sincos declaration... " >&6; }
60550 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60551 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60552 $as_echo_n "(cached) " >&6
60553 else
60554
60555
60556 ac_ext=cpp
60557 ac_cpp='$CXXCPP $CPPFLAGS'
60558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60561
60562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60563 /* end confdefs.h. */
60564 #include <math.h>
60565 int
60566 main ()
60567 {
60568 sincos(0, 0, 0);
60569 ;
60570 return 0;
60571 }
60572 _ACEOF
60573 if ac_fn_cxx_try_compile "$LINENO"; then :
60574 glibcxx_cv_func_sincos_use=yes
60575 else
60576 glibcxx_cv_func_sincos_use=no
60577 fi
60578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60579 ac_ext=c
60580 ac_cpp='$CPP $CPPFLAGS'
60581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60584
60585
60586 fi
60587
60588 fi
60589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60590 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60591
60592 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60593 for ac_func in sincos
60594 do :
60595 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60596 if test "x$ac_cv_func_sincos" = x""yes; then :
60597 cat >>confdefs.h <<_ACEOF
60598 #define HAVE_SINCOS 1
60599 _ACEOF
60600
60601 fi
60602 done
60603
60604 else
60605
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60607 $as_echo_n "checking for _sincos declaration... " >&6; }
60608 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60609 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60610 $as_echo_n "(cached) " >&6
60611 else
60612
60613
60614 ac_ext=cpp
60615 ac_cpp='$CXXCPP $CPPFLAGS'
60616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60619
60620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60621 /* end confdefs.h. */
60622 #include <math.h>
60623 int
60624 main ()
60625 {
60626 _sincos(0, 0, 0);
60627 ;
60628 return 0;
60629 }
60630 _ACEOF
60631 if ac_fn_cxx_try_compile "$LINENO"; then :
60632 glibcxx_cv_func__sincos_use=yes
60633 else
60634 glibcxx_cv_func__sincos_use=no
60635 fi
60636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60637 ac_ext=c
60638 ac_cpp='$CPP $CPPFLAGS'
60639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60642
60643
60644 fi
60645
60646 fi
60647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60648 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60649
60650 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60651 for ac_func in _sincos
60652 do :
60653 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60654 if test "x$ac_cv_func__sincos" = x""yes; then :
60655 cat >>confdefs.h <<_ACEOF
60656 #define HAVE__SINCOS 1
60657 _ACEOF
60658
60659 fi
60660 done
60661
60662 fi
60663 fi
60664
60665
60666
60667
60668
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60670 $as_echo_n "checking for fpclass declaration... " >&6; }
60671 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60672 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60673 $as_echo_n "(cached) " >&6
60674 else
60675
60676
60677 ac_ext=cpp
60678 ac_cpp='$CXXCPP $CPPFLAGS'
60679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60682
60683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60684 /* end confdefs.h. */
60685 #include <math.h>
60686 #ifdef HAVE_IEEEFP_H
60687 #include <ieeefp.h>
60688 #endif
60689
60690 int
60691 main ()
60692 {
60693 fpclass(0);
60694 ;
60695 return 0;
60696 }
60697 _ACEOF
60698 if ac_fn_cxx_try_compile "$LINENO"; then :
60699 glibcxx_cv_func_fpclass_use=yes
60700 else
60701 glibcxx_cv_func_fpclass_use=no
60702 fi
60703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60704 ac_ext=c
60705 ac_cpp='$CPP $CPPFLAGS'
60706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709
60710
60711 fi
60712
60713 fi
60714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60715 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60716
60717 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60718 for ac_func in fpclass
60719 do :
60720 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60721 if test "x$ac_cv_func_fpclass" = x""yes; then :
60722 cat >>confdefs.h <<_ACEOF
60723 #define HAVE_FPCLASS 1
60724 _ACEOF
60725
60726 fi
60727 done
60728
60729 else
60730
60731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60732 $as_echo_n "checking for _fpclass declaration... " >&6; }
60733 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60734 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60735 $as_echo_n "(cached) " >&6
60736 else
60737
60738
60739 ac_ext=cpp
60740 ac_cpp='$CXXCPP $CPPFLAGS'
60741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60744
60745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60746 /* end confdefs.h. */
60747 #include <math.h>
60748 #ifdef HAVE_IEEEFP_H
60749 #include <ieeefp.h>
60750 #endif
60751
60752 int
60753 main ()
60754 {
60755 _fpclass(0);
60756 ;
60757 return 0;
60758 }
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func__fpclass_use=yes
60762 else
60763 glibcxx_cv_func__fpclass_use=no
60764 fi
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771
60772
60773 fi
60774
60775 fi
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60777 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60778
60779 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60780 for ac_func in _fpclass
60781 do :
60782 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60783 if test "x$ac_cv_func__fpclass" = x""yes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE__FPCLASS 1
60786 _ACEOF
60787
60788 fi
60789 done
60790
60791 fi
60792 fi
60793
60794
60795
60796
60797
60798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60799 $as_echo_n "checking for qfpclass declaration... " >&6; }
60800 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60801 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60804
60805
60806 ac_ext=cpp
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60811
60812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60813 /* end confdefs.h. */
60814 #include <math.h>
60815 #ifdef HAVE_IEEEFP_H
60816 #include <ieeefp.h>
60817 #endif
60818
60819 int
60820 main ()
60821 {
60822 qfpclass(0);
60823 ;
60824 return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_qfpclass_use=yes
60829 else
60830 glibcxx_cv_func_qfpclass_use=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60838
60839
60840 fi
60841
60842 fi
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60844 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60845
60846 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60847 for ac_func in qfpclass
60848 do :
60849 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60850 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_QFPCLASS 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858 else
60859
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60861 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60862 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60863 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60866
60867
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 #ifdef HAVE_IEEEFP_H
60878 #include <ieeefp.h>
60879 #endif
60880
60881 int
60882 main ()
60883 {
60884 _qfpclass(0);
60885 ;
60886 return 0;
60887 }
60888 _ACEOF
60889 if ac_fn_cxx_try_compile "$LINENO"; then :
60890 glibcxx_cv_func__qfpclass_use=yes
60891 else
60892 glibcxx_cv_func__qfpclass_use=no
60893 fi
60894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60895 ac_ext=c
60896 ac_cpp='$CPP $CPPFLAGS'
60897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60900
60901
60902 fi
60903
60904 fi
60905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60906 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60907
60908 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60909 for ac_func in _qfpclass
60910 do :
60911 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60912 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60913 cat >>confdefs.h <<_ACEOF
60914 #define HAVE__QFPCLASS 1
60915 _ACEOF
60916
60917 fi
60918 done
60919
60920 fi
60921 fi
60922
60923
60924
60925
60926
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60928 $as_echo_n "checking for hypot declaration... " >&6; }
60929 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60930 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60931 $as_echo_n "(cached) " >&6
60932 else
60933
60934
60935 ac_ext=cpp
60936 ac_cpp='$CXXCPP $CPPFLAGS'
60937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60940
60941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60942 /* end confdefs.h. */
60943 #include <math.h>
60944 int
60945 main ()
60946 {
60947 hypot(0, 0);
60948 ;
60949 return 0;
60950 }
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func_hypot_use=yes
60954 else
60955 glibcxx_cv_func_hypot_use=no
60956 fi
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60963
60964
60965 fi
60966
60967 fi
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60969 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60970
60971 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60972 for ac_func in hypot
60973 do :
60974 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60975 if test "x$ac_cv_func_hypot" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE_HYPOT 1
60978 _ACEOF
60979
60980 fi
60981 done
60982
60983 else
60984
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60986 $as_echo_n "checking for _hypot declaration... " >&6; }
60987 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60988 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60989 $as_echo_n "(cached) " >&6
60990 else
60991
60992
60993 ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 #include <math.h>
61002 int
61003 main ()
61004 {
61005 _hypot(0, 0);
61006 ;
61007 return 0;
61008 }
61009 _ACEOF
61010 if ac_fn_cxx_try_compile "$LINENO"; then :
61011 glibcxx_cv_func__hypot_use=yes
61012 else
61013 glibcxx_cv_func__hypot_use=no
61014 fi
61015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61016 ac_ext=c
61017 ac_cpp='$CPP $CPPFLAGS'
61018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61021
61022
61023 fi
61024
61025 fi
61026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61027 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61028
61029 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61030 for ac_func in _hypot
61031 do :
61032 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61033 if test "x$ac_cv_func__hypot" = x""yes; then :
61034 cat >>confdefs.h <<_ACEOF
61035 #define HAVE__HYPOT 1
61036 _ACEOF
61037
61038 fi
61039 done
61040
61041 fi
61042 fi
61043
61044
61045
61046
61047
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61049 $as_echo_n "checking for float trig functions... " >&6; }
61050 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61051 $as_echo_n "(cached) " >&6
61052 else
61053
61054
61055 ac_ext=cpp
61056 ac_cpp='$CXXCPP $CPPFLAGS'
61057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61060
61061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61062 /* end confdefs.h. */
61063 #include <math.h>
61064 int
61065 main ()
61066 {
61067 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61068 ;
61069 return 0;
61070 }
61071 _ACEOF
61072 if ac_fn_cxx_try_compile "$LINENO"; then :
61073 glibcxx_cv_func_float_trig_use=yes
61074 else
61075 glibcxx_cv_func_float_trig_use=no
61076 fi
61077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61078 ac_ext=c
61079 ac_cpp='$CPP $CPPFLAGS'
61080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61083
61084 fi
61085
61086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61087 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61088 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61089 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61090 do :
61091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61093 eval as_val=\$$as_ac_var
61094 if test "x$as_val" = x""yes; then :
61095 cat >>confdefs.h <<_ACEOF
61096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61097 _ACEOF
61098
61099 fi
61100 done
61101
61102 else
61103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61104 $as_echo_n "checking for _float trig functions... " >&6; }
61105 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61106 $as_echo_n "(cached) " >&6
61107 else
61108
61109
61110 ac_ext=cpp
61111 ac_cpp='$CXXCPP $CPPFLAGS'
61112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61115
61116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61117 /* end confdefs.h. */
61118 #include <math.h>
61119 int
61120 main ()
61121 {
61122 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61123 ;
61124 return 0;
61125 }
61126 _ACEOF
61127 if ac_fn_cxx_try_compile "$LINENO"; then :
61128 glibcxx_cv_func__float_trig_use=yes
61129 else
61130 glibcxx_cv_func__float_trig_use=no
61131 fi
61132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61133 ac_ext=c
61134 ac_cpp='$CPP $CPPFLAGS'
61135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61138
61139 fi
61140
61141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61142 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61143 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61144 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61145 do :
61146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61148 eval as_val=\$$as_ac_var
61149 if test "x$as_val" = x""yes; then :
61150 cat >>confdefs.h <<_ACEOF
61151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61152 _ACEOF
61153
61154 fi
61155 done
61156
61157 fi
61158 fi
61159
61160
61161
61162
61163
61164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61165 $as_echo_n "checking for float round functions... " >&6; }
61166 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61167 $as_echo_n "(cached) " >&6
61168 else
61169
61170
61171 ac_ext=cpp
61172 ac_cpp='$CXXCPP $CPPFLAGS'
61173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61176
61177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61178 /* end confdefs.h. */
61179 #include <math.h>
61180 int
61181 main ()
61182 {
61183 ceilf (0); floorf (0);
61184 ;
61185 return 0;
61186 }
61187 _ACEOF
61188 if ac_fn_cxx_try_compile "$LINENO"; then :
61189 glibcxx_cv_func_float_round_use=yes
61190 else
61191 glibcxx_cv_func_float_round_use=no
61192 fi
61193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61194 ac_ext=c
61195 ac_cpp='$CPP $CPPFLAGS'
61196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61199
61200 fi
61201
61202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61203 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61204 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61205 for ac_func in ceilf floorf
61206 do :
61207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61209 eval as_val=\$$as_ac_var
61210 if test "x$as_val" = x""yes; then :
61211 cat >>confdefs.h <<_ACEOF
61212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61213 _ACEOF
61214
61215 fi
61216 done
61217
61218 else
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61220 $as_echo_n "checking for _float round functions... " >&6; }
61221 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61222 $as_echo_n "(cached) " >&6
61223 else
61224
61225
61226 ac_ext=cpp
61227 ac_cpp='$CXXCPP $CPPFLAGS'
61228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61231
61232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61233 /* end confdefs.h. */
61234 #include <math.h>
61235 int
61236 main ()
61237 {
61238 _ceilf (0); _floorf (0);
61239 ;
61240 return 0;
61241 }
61242 _ACEOF
61243 if ac_fn_cxx_try_compile "$LINENO"; then :
61244 glibcxx_cv_func__float_round_use=yes
61245 else
61246 glibcxx_cv_func__float_round_use=no
61247 fi
61248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61249 ac_ext=c
61250 ac_cpp='$CPP $CPPFLAGS'
61251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61254
61255 fi
61256
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61258 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61259 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61260 for ac_func in _ceilf _floorf
61261 do :
61262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61264 eval as_val=\$$as_ac_var
61265 if test "x$as_val" = x""yes; then :
61266 cat >>confdefs.h <<_ACEOF
61267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61268 _ACEOF
61269
61270 fi
61271 done
61272
61273 fi
61274 fi
61275
61276
61277
61278
61279
61280
61281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61282 $as_echo_n "checking for expf declaration... " >&6; }
61283 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61284 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61285 $as_echo_n "(cached) " >&6
61286 else
61287
61288
61289 ac_ext=cpp
61290 ac_cpp='$CXXCPP $CPPFLAGS'
61291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61294
61295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61296 /* end confdefs.h. */
61297 #include <math.h>
61298 #ifdef HAVE_IEEEFP_H
61299 #include <ieeefp.h>
61300 #endif
61301
61302 int
61303 main ()
61304 {
61305 expf(0);
61306 ;
61307 return 0;
61308 }
61309 _ACEOF
61310 if ac_fn_cxx_try_compile "$LINENO"; then :
61311 glibcxx_cv_func_expf_use=yes
61312 else
61313 glibcxx_cv_func_expf_use=no
61314 fi
61315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61316 ac_ext=c
61317 ac_cpp='$CPP $CPPFLAGS'
61318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61321
61322
61323 fi
61324
61325 fi
61326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61327 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61328
61329 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61330 for ac_func in expf
61331 do :
61332 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61333 if test "x$ac_cv_func_expf" = x""yes; then :
61334 cat >>confdefs.h <<_ACEOF
61335 #define HAVE_EXPF 1
61336 _ACEOF
61337
61338 fi
61339 done
61340
61341 else
61342
61343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61344 $as_echo_n "checking for _expf declaration... " >&6; }
61345 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61346 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61347 $as_echo_n "(cached) " >&6
61348 else
61349
61350
61351 ac_ext=cpp
61352 ac_cpp='$CXXCPP $CPPFLAGS'
61353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61356
61357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61358 /* end confdefs.h. */
61359 #include <math.h>
61360 #ifdef HAVE_IEEEFP_H
61361 #include <ieeefp.h>
61362 #endif
61363
61364 int
61365 main ()
61366 {
61367 _expf(0);
61368 ;
61369 return 0;
61370 }
61371 _ACEOF
61372 if ac_fn_cxx_try_compile "$LINENO"; then :
61373 glibcxx_cv_func__expf_use=yes
61374 else
61375 glibcxx_cv_func__expf_use=no
61376 fi
61377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61378 ac_ext=c
61379 ac_cpp='$CPP $CPPFLAGS'
61380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61383
61384
61385 fi
61386
61387 fi
61388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61389 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61390
61391 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61392 for ac_func in _expf
61393 do :
61394 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61395 if test "x$ac_cv_func__expf" = x""yes; then :
61396 cat >>confdefs.h <<_ACEOF
61397 #define HAVE__EXPF 1
61398 _ACEOF
61399
61400 fi
61401 done
61402
61403 fi
61404 fi
61405
61406
61407
61408
61409
61410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61411 $as_echo_n "checking for isnanf declaration... " >&6; }
61412 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61413 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61414 $as_echo_n "(cached) " >&6
61415 else
61416
61417
61418 ac_ext=cpp
61419 ac_cpp='$CXXCPP $CPPFLAGS'
61420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61423
61424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61425 /* end confdefs.h. */
61426 #include <math.h>
61427 #ifdef HAVE_IEEEFP_H
61428 #include <ieeefp.h>
61429 #endif
61430
61431 int
61432 main ()
61433 {
61434 isnanf(0);
61435 ;
61436 return 0;
61437 }
61438 _ACEOF
61439 if ac_fn_cxx_try_compile "$LINENO"; then :
61440 glibcxx_cv_func_isnanf_use=yes
61441 else
61442 glibcxx_cv_func_isnanf_use=no
61443 fi
61444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61445 ac_ext=c
61446 ac_cpp='$CPP $CPPFLAGS'
61447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61450
61451
61452 fi
61453
61454 fi
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61456 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61457
61458 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61459 for ac_func in isnanf
61460 do :
61461 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61462 if test "x$ac_cv_func_isnanf" = x""yes; then :
61463 cat >>confdefs.h <<_ACEOF
61464 #define HAVE_ISNANF 1
61465 _ACEOF
61466
61467 fi
61468 done
61469
61470 else
61471
61472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61473 $as_echo_n "checking for _isnanf declaration... " >&6; }
61474 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61475 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61476 $as_echo_n "(cached) " >&6
61477 else
61478
61479
61480 ac_ext=cpp
61481 ac_cpp='$CXXCPP $CPPFLAGS'
61482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61485
61486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61487 /* end confdefs.h. */
61488 #include <math.h>
61489 #ifdef HAVE_IEEEFP_H
61490 #include <ieeefp.h>
61491 #endif
61492
61493 int
61494 main ()
61495 {
61496 _isnanf(0);
61497 ;
61498 return 0;
61499 }
61500 _ACEOF
61501 if ac_fn_cxx_try_compile "$LINENO"; then :
61502 glibcxx_cv_func__isnanf_use=yes
61503 else
61504 glibcxx_cv_func__isnanf_use=no
61505 fi
61506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61507 ac_ext=c
61508 ac_cpp='$CPP $CPPFLAGS'
61509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61512
61513
61514 fi
61515
61516 fi
61517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61518 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61519
61520 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61521 for ac_func in _isnanf
61522 do :
61523 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61524 if test "x$ac_cv_func__isnanf" = x""yes; then :
61525 cat >>confdefs.h <<_ACEOF
61526 #define HAVE__ISNANF 1
61527 _ACEOF
61528
61529 fi
61530 done
61531
61532 fi
61533 fi
61534
61535
61536
61537
61538
61539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61540 $as_echo_n "checking for isinff declaration... " >&6; }
61541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61543 $as_echo_n "(cached) " >&6
61544 else
61545
61546
61547 ac_ext=cpp
61548 ac_cpp='$CXXCPP $CPPFLAGS'
61549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61552
61553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61554 /* end confdefs.h. */
61555 #include <math.h>
61556 #ifdef HAVE_IEEEFP_H
61557 #include <ieeefp.h>
61558 #endif
61559
61560 int
61561 main ()
61562 {
61563 isinff(0);
61564 ;
61565 return 0;
61566 }
61567 _ACEOF
61568 if ac_fn_cxx_try_compile "$LINENO"; then :
61569 glibcxx_cv_func_isinff_use=yes
61570 else
61571 glibcxx_cv_func_isinff_use=no
61572 fi
61573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61574 ac_ext=c
61575 ac_cpp='$CPP $CPPFLAGS'
61576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61579
61580
61581 fi
61582
61583 fi
61584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61585 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61586
61587 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61588 for ac_func in isinff
61589 do :
61590 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61591 if test "x$ac_cv_func_isinff" = x""yes; then :
61592 cat >>confdefs.h <<_ACEOF
61593 #define HAVE_ISINFF 1
61594 _ACEOF
61595
61596 fi
61597 done
61598
61599 else
61600
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61602 $as_echo_n "checking for _isinff declaration... " >&6; }
61603 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61604 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
61626 ;
61627 return 0;
61628 }
61629 _ACEOF
61630 if ac_fn_cxx_try_compile "$LINENO"; then :
61631 glibcxx_cv_func__isinff_use=yes
61632 else
61633 glibcxx_cv_func__isinff_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__isinff_use" >&5
61647 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61648
61649 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61650 for ac_func in _isinff
61651 do :
61652 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61653 if test "x$ac_cv_func__isinff" = x""yes; then :
61654 cat >>confdefs.h <<_ACEOF
61655 #define HAVE__ISINFF 1
61656 _ACEOF
61657
61658 fi
61659 done
61660
61661 fi
61662 fi
61663
61664
61665
61666
61667
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61669 $as_echo_n "checking for atan2f declaration... " >&6; }
61670 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61671 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61672 $as_echo_n "(cached) " >&6
61673 else
61674
61675
61676 ac_ext=cpp
61677 ac_cpp='$CXXCPP $CPPFLAGS'
61678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681
61682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61683 /* end confdefs.h. */
61684 #include <math.h>
61685 int
61686 main ()
61687 {
61688 atan2f(0, 0);
61689 ;
61690 return 0;
61691 }
61692 _ACEOF
61693 if ac_fn_cxx_try_compile "$LINENO"; then :
61694 glibcxx_cv_func_atan2f_use=yes
61695 else
61696 glibcxx_cv_func_atan2f_use=no
61697 fi
61698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61699 ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704
61705
61706 fi
61707
61708 fi
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61710 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61711
61712 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61713 for ac_func in atan2f
61714 do :
61715 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61716 if test "x$ac_cv_func_atan2f" = x""yes; then :
61717 cat >>confdefs.h <<_ACEOF
61718 #define HAVE_ATAN2F 1
61719 _ACEOF
61720
61721 fi
61722 done
61723
61724 else
61725
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61727 $as_echo_n "checking for _atan2f declaration... " >&6; }
61728 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61729 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61730 $as_echo_n "(cached) " >&6
61731 else
61732
61733
61734 ac_ext=cpp
61735 ac_cpp='$CXXCPP $CPPFLAGS'
61736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739
61740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61741 /* end confdefs.h. */
61742 #include <math.h>
61743 int
61744 main ()
61745 {
61746 _atan2f(0, 0);
61747 ;
61748 return 0;
61749 }
61750 _ACEOF
61751 if ac_fn_cxx_try_compile "$LINENO"; then :
61752 glibcxx_cv_func__atan2f_use=yes
61753 else
61754 glibcxx_cv_func__atan2f_use=no
61755 fi
61756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61757 ac_ext=c
61758 ac_cpp='$CPP $CPPFLAGS'
61759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762
61763
61764 fi
61765
61766 fi
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61768 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61769
61770 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61771 for ac_func in _atan2f
61772 do :
61773 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61774 if test "x$ac_cv_func__atan2f" = x""yes; then :
61775 cat >>confdefs.h <<_ACEOF
61776 #define HAVE__ATAN2F 1
61777 _ACEOF
61778
61779 fi
61780 done
61781
61782 fi
61783 fi
61784
61785
61786
61787
61788
61789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61790 $as_echo_n "checking for fabsf declaration... " >&6; }
61791 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61792 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61793 $as_echo_n "(cached) " >&6
61794 else
61795
61796
61797 ac_ext=cpp
61798 ac_cpp='$CXXCPP $CPPFLAGS'
61799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61802
61803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61804 /* end confdefs.h. */
61805 #include <math.h>
61806 #ifdef HAVE_IEEEFP_H
61807 #include <ieeefp.h>
61808 #endif
61809
61810 int
61811 main ()
61812 {
61813 fabsf(0);
61814 ;
61815 return 0;
61816 }
61817 _ACEOF
61818 if ac_fn_cxx_try_compile "$LINENO"; then :
61819 glibcxx_cv_func_fabsf_use=yes
61820 else
61821 glibcxx_cv_func_fabsf_use=no
61822 fi
61823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61824 ac_ext=c
61825 ac_cpp='$CPP $CPPFLAGS'
61826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61829
61830
61831 fi
61832
61833 fi
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61835 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61836
61837 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61838 for ac_func in fabsf
61839 do :
61840 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61841 if test "x$ac_cv_func_fabsf" = x""yes; then :
61842 cat >>confdefs.h <<_ACEOF
61843 #define HAVE_FABSF 1
61844 _ACEOF
61845
61846 fi
61847 done
61848
61849 else
61850
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61852 $as_echo_n "checking for _fabsf declaration... " >&6; }
61853 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61854 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
61869 #include <ieeefp.h>
61870 #endif
61871
61872 int
61873 main ()
61874 {
61875 _fabsf(0);
61876 ;
61877 return 0;
61878 }
61879 _ACEOF
61880 if ac_fn_cxx_try_compile "$LINENO"; then :
61881 glibcxx_cv_func__fabsf_use=yes
61882 else
61883 glibcxx_cv_func__fabsf_use=no
61884 fi
61885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61886 ac_ext=c
61887 ac_cpp='$CPP $CPPFLAGS'
61888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61891
61892
61893 fi
61894
61895 fi
61896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61897 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61898
61899 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61900 for ac_func in _fabsf
61901 do :
61902 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61903 if test "x$ac_cv_func__fabsf" = x""yes; then :
61904 cat >>confdefs.h <<_ACEOF
61905 #define HAVE__FABSF 1
61906 _ACEOF
61907
61908 fi
61909 done
61910
61911 fi
61912 fi
61913
61914
61915
61916
61917
61918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61919 $as_echo_n "checking for fmodf declaration... " >&6; }
61920 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61921 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61922 $as_echo_n "(cached) " >&6
61923 else
61924
61925
61926 ac_ext=cpp
61927 ac_cpp='$CXXCPP $CPPFLAGS'
61928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61931
61932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61933 /* end confdefs.h. */
61934 #include <math.h>
61935 int
61936 main ()
61937 {
61938 fmodf(0, 0);
61939 ;
61940 return 0;
61941 }
61942 _ACEOF
61943 if ac_fn_cxx_try_compile "$LINENO"; then :
61944 glibcxx_cv_func_fmodf_use=yes
61945 else
61946 glibcxx_cv_func_fmodf_use=no
61947 fi
61948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61949 ac_ext=c
61950 ac_cpp='$CPP $CPPFLAGS'
61951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61954
61955
61956 fi
61957
61958 fi
61959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61960 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61961
61962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61963 for ac_func in fmodf
61964 do :
61965 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61966 if test "x$ac_cv_func_fmodf" = x""yes; then :
61967 cat >>confdefs.h <<_ACEOF
61968 #define HAVE_FMODF 1
61969 _ACEOF
61970
61971 fi
61972 done
61973
61974 else
61975
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61977 $as_echo_n "checking for _fmodf declaration... " >&6; }
61978 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61979 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61980 $as_echo_n "(cached) " >&6
61981 else
61982
61983
61984 ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989
61990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h. */
61992 #include <math.h>
61993 int
61994 main ()
61995 {
61996 _fmodf(0, 0);
61997 ;
61998 return 0;
61999 }
62000 _ACEOF
62001 if ac_fn_cxx_try_compile "$LINENO"; then :
62002 glibcxx_cv_func__fmodf_use=yes
62003 else
62004 glibcxx_cv_func__fmodf_use=no
62005 fi
62006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62007 ac_ext=c
62008 ac_cpp='$CPP $CPPFLAGS'
62009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62012
62013
62014 fi
62015
62016 fi
62017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62018 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62019
62020 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62021 for ac_func in _fmodf
62022 do :
62023 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62024 if test "x$ac_cv_func__fmodf" = x""yes; then :
62025 cat >>confdefs.h <<_ACEOF
62026 #define HAVE__FMODF 1
62027 _ACEOF
62028
62029 fi
62030 done
62031
62032 fi
62033 fi
62034
62035
62036
62037
62038
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62040 $as_echo_n "checking for frexpf declaration... " >&6; }
62041 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62042 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62043 $as_echo_n "(cached) " >&6
62044 else
62045
62046
62047 ac_ext=cpp
62048 ac_cpp='$CXXCPP $CPPFLAGS'
62049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052
62053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62054 /* end confdefs.h. */
62055 #include <math.h>
62056 int
62057 main ()
62058 {
62059 frexpf(0, 0);
62060 ;
62061 return 0;
62062 }
62063 _ACEOF
62064 if ac_fn_cxx_try_compile "$LINENO"; then :
62065 glibcxx_cv_func_frexpf_use=yes
62066 else
62067 glibcxx_cv_func_frexpf_use=no
62068 fi
62069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62070 ac_ext=c
62071 ac_cpp='$CPP $CPPFLAGS'
62072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62075
62076
62077 fi
62078
62079 fi
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62081 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62082
62083 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62084 for ac_func in frexpf
62085 do :
62086 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62087 if test "x$ac_cv_func_frexpf" = x""yes; then :
62088 cat >>confdefs.h <<_ACEOF
62089 #define HAVE_FREXPF 1
62090 _ACEOF
62091
62092 fi
62093 done
62094
62095 else
62096
62097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62098 $as_echo_n "checking for _frexpf declaration... " >&6; }
62099 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62100 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62101 $as_echo_n "(cached) " >&6
62102 else
62103
62104
62105 ac_ext=cpp
62106 ac_cpp='$CXXCPP $CPPFLAGS'
62107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110
62111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62112 /* end confdefs.h. */
62113 #include <math.h>
62114 int
62115 main ()
62116 {
62117 _frexpf(0, 0);
62118 ;
62119 return 0;
62120 }
62121 _ACEOF
62122 if ac_fn_cxx_try_compile "$LINENO"; then :
62123 glibcxx_cv_func__frexpf_use=yes
62124 else
62125 glibcxx_cv_func__frexpf_use=no
62126 fi
62127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62128 ac_ext=c
62129 ac_cpp='$CPP $CPPFLAGS'
62130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62133
62134
62135 fi
62136
62137 fi
62138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62139 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62140
62141 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62142 for ac_func in _frexpf
62143 do :
62144 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62145 if test "x$ac_cv_func__frexpf" = x""yes; then :
62146 cat >>confdefs.h <<_ACEOF
62147 #define HAVE__FREXPF 1
62148 _ACEOF
62149
62150 fi
62151 done
62152
62153 fi
62154 fi
62155
62156
62157
62158
62159
62160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62161 $as_echo_n "checking for hypotf declaration... " >&6; }
62162 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62163 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62164 $as_echo_n "(cached) " >&6
62165 else
62166
62167
62168 ac_ext=cpp
62169 ac_cpp='$CXXCPP $CPPFLAGS'
62170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62173
62174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62175 /* end confdefs.h. */
62176 #include <math.h>
62177 int
62178 main ()
62179 {
62180 hypotf(0, 0);
62181 ;
62182 return 0;
62183 }
62184 _ACEOF
62185 if ac_fn_cxx_try_compile "$LINENO"; then :
62186 glibcxx_cv_func_hypotf_use=yes
62187 else
62188 glibcxx_cv_func_hypotf_use=no
62189 fi
62190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62191 ac_ext=c
62192 ac_cpp='$CPP $CPPFLAGS'
62193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62196
62197
62198 fi
62199
62200 fi
62201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62202 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62203
62204 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62205 for ac_func in hypotf
62206 do :
62207 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62208 if test "x$ac_cv_func_hypotf" = x""yes; then :
62209 cat >>confdefs.h <<_ACEOF
62210 #define HAVE_HYPOTF 1
62211 _ACEOF
62212
62213 fi
62214 done
62215
62216 else
62217
62218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62219 $as_echo_n "checking for _hypotf declaration... " >&6; }
62220 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62221 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62222 $as_echo_n "(cached) " >&6
62223 else
62224
62225
62226 ac_ext=cpp
62227 ac_cpp='$CXXCPP $CPPFLAGS'
62228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62231
62232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62233 /* end confdefs.h. */
62234 #include <math.h>
62235 int
62236 main ()
62237 {
62238 _hypotf(0, 0);
62239 ;
62240 return 0;
62241 }
62242 _ACEOF
62243 if ac_fn_cxx_try_compile "$LINENO"; then :
62244 glibcxx_cv_func__hypotf_use=yes
62245 else
62246 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
62260 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62261
62262 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62263 for ac_func in _hypotf
62264 do :
62265 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62266 if test "x$ac_cv_func__hypotf" = x""yes; then :
62267 cat >>confdefs.h <<_ACEOF
62268 #define HAVE__HYPOTF 1
62269 _ACEOF
62270
62271 fi
62272 done
62273
62274 fi
62275 fi
62276
62277
62278
62279
62280
62281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62282 $as_echo_n "checking for ldexpf declaration... " >&6; }
62283 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62284 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62285 $as_echo_n "(cached) " >&6
62286 else
62287
62288
62289 ac_ext=cpp
62290 ac_cpp='$CXXCPP $CPPFLAGS'
62291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62294
62295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62296 /* end confdefs.h. */
62297 #include <math.h>
62298 int
62299 main ()
62300 {
62301 ldexpf(0, 0);
62302 ;
62303 return 0;
62304 }
62305 _ACEOF
62306 if ac_fn_cxx_try_compile "$LINENO"; then :
62307 glibcxx_cv_func_ldexpf_use=yes
62308 else
62309 glibcxx_cv_func_ldexpf_use=no
62310 fi
62311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62312 ac_ext=c
62313 ac_cpp='$CPP $CPPFLAGS'
62314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62317
62318
62319 fi
62320
62321 fi
62322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62323 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62324
62325 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62326 for ac_func in ldexpf
62327 do :
62328 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62329 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62330 cat >>confdefs.h <<_ACEOF
62331 #define HAVE_LDEXPF 1
62332 _ACEOF
62333
62334 fi
62335 done
62336
62337 else
62338
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62340 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62341 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62342 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62343 $as_echo_n "(cached) " >&6
62344 else
62345
62346
62347 ac_ext=cpp
62348 ac_cpp='$CXXCPP $CPPFLAGS'
62349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62352
62353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62354 /* end confdefs.h. */
62355 #include <math.h>
62356 int
62357 main ()
62358 {
62359 _ldexpf(0, 0);
62360 ;
62361 return 0;
62362 }
62363 _ACEOF
62364 if ac_fn_cxx_try_compile "$LINENO"; then :
62365 glibcxx_cv_func__ldexpf_use=yes
62366 else
62367 glibcxx_cv_func__ldexpf_use=no
62368 fi
62369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62370 ac_ext=c
62371 ac_cpp='$CPP $CPPFLAGS'
62372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62375
62376
62377 fi
62378
62379 fi
62380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62381 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62382
62383 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62384 for ac_func in _ldexpf
62385 do :
62386 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62387 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62388 cat >>confdefs.h <<_ACEOF
62389 #define HAVE__LDEXPF 1
62390 _ACEOF
62391
62392 fi
62393 done
62394
62395 fi
62396 fi
62397
62398
62399
62400
62401
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62403 $as_echo_n "checking for logf declaration... " >&6; }
62404 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62405 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62406 $as_echo_n "(cached) " >&6
62407 else
62408
62409
62410 ac_ext=cpp
62411 ac_cpp='$CXXCPP $CPPFLAGS'
62412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62415
62416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62417 /* end confdefs.h. */
62418 #include <math.h>
62419 #ifdef HAVE_IEEEFP_H
62420 #include <ieeefp.h>
62421 #endif
62422
62423 int
62424 main ()
62425 {
62426 logf(0);
62427 ;
62428 return 0;
62429 }
62430 _ACEOF
62431 if ac_fn_cxx_try_compile "$LINENO"; then :
62432 glibcxx_cv_func_logf_use=yes
62433 else
62434 glibcxx_cv_func_logf_use=no
62435 fi
62436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62437 ac_ext=c
62438 ac_cpp='$CPP $CPPFLAGS'
62439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62442
62443
62444 fi
62445
62446 fi
62447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62448 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62449
62450 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62451 for ac_func in logf
62452 do :
62453 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62454 if test "x$ac_cv_func_logf" = x""yes; then :
62455 cat >>confdefs.h <<_ACEOF
62456 #define HAVE_LOGF 1
62457 _ACEOF
62458
62459 fi
62460 done
62461
62462 else
62463
62464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62465 $as_echo_n "checking for _logf declaration... " >&6; }
62466 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62467 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62468 $as_echo_n "(cached) " >&6
62469 else
62470
62471
62472 ac_ext=cpp
62473 ac_cpp='$CXXCPP $CPPFLAGS'
62474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62477
62478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62479 /* end confdefs.h. */
62480 #include <math.h>
62481 #ifdef HAVE_IEEEFP_H
62482 #include <ieeefp.h>
62483 #endif
62484
62485 int
62486 main ()
62487 {
62488 _logf(0);
62489 ;
62490 return 0;
62491 }
62492 _ACEOF
62493 if ac_fn_cxx_try_compile "$LINENO"; then :
62494 glibcxx_cv_func__logf_use=yes
62495 else
62496 glibcxx_cv_func__logf_use=no
62497 fi
62498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504
62505
62506 fi
62507
62508 fi
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62510 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62511
62512 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62513 for ac_func in _logf
62514 do :
62515 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62516 if test "x$ac_cv_func__logf" = x""yes; then :
62517 cat >>confdefs.h <<_ACEOF
62518 #define HAVE__LOGF 1
62519 _ACEOF
62520
62521 fi
62522 done
62523
62524 fi
62525 fi
62526
62527
62528
62529
62530
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62532 $as_echo_n "checking for log10f declaration... " >&6; }
62533 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62534 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62535 $as_echo_n "(cached) " >&6
62536 else
62537
62538
62539 ac_ext=cpp
62540 ac_cpp='$CXXCPP $CPPFLAGS'
62541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62544
62545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62546 /* end confdefs.h. */
62547 #include <math.h>
62548 #ifdef HAVE_IEEEFP_H
62549 #include <ieeefp.h>
62550 #endif
62551
62552 int
62553 main ()
62554 {
62555 log10f(0);
62556 ;
62557 return 0;
62558 }
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561 glibcxx_cv_func_log10f_use=yes
62562 else
62563 glibcxx_cv_func_log10f_use=no
62564 fi
62565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62566 ac_ext=c
62567 ac_cpp='$CPP $CPPFLAGS'
62568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62571
62572
62573 fi
62574
62575 fi
62576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62577 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62578
62579 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62580 for ac_func in log10f
62581 do :
62582 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62583 if test "x$ac_cv_func_log10f" = x""yes; then :
62584 cat >>confdefs.h <<_ACEOF
62585 #define HAVE_LOG10F 1
62586 _ACEOF
62587
62588 fi
62589 done
62590
62591 else
62592
62593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62594 $as_echo_n "checking for _log10f declaration... " >&6; }
62595 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62596 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
62611 #include <ieeefp.h>
62612 #endif
62613
62614 int
62615 main ()
62616 {
62617 _log10f(0);
62618 ;
62619 return 0;
62620 }
62621 _ACEOF
62622 if ac_fn_cxx_try_compile "$LINENO"; then :
62623 glibcxx_cv_func__log10f_use=yes
62624 else
62625 glibcxx_cv_func__log10f_use=no
62626 fi
62627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62628 ac_ext=c
62629 ac_cpp='$CPP $CPPFLAGS'
62630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62633
62634
62635 fi
62636
62637 fi
62638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62639 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62640
62641 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62642 for ac_func in _log10f
62643 do :
62644 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62645 if test "x$ac_cv_func__log10f" = x""yes; then :
62646 cat >>confdefs.h <<_ACEOF
62647 #define HAVE__LOG10F 1
62648 _ACEOF
62649
62650 fi
62651 done
62652
62653 fi
62654 fi
62655
62656
62657
62658
62659
62660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62661 $as_echo_n "checking for modff declaration... " >&6; }
62662 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62663 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62664 $as_echo_n "(cached) " >&6
62665 else
62666
62667
62668 ac_ext=cpp
62669 ac_cpp='$CXXCPP $CPPFLAGS'
62670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62673
62674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62675 /* end confdefs.h. */
62676 #include <math.h>
62677 int
62678 main ()
62679 {
62680 modff(0, 0);
62681 ;
62682 return 0;
62683 }
62684 _ACEOF
62685 if ac_fn_cxx_try_compile "$LINENO"; then :
62686 glibcxx_cv_func_modff_use=yes
62687 else
62688 glibcxx_cv_func_modff_use=no
62689 fi
62690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62691 ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696
62697
62698 fi
62699
62700 fi
62701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62702 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62703
62704 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62705 for ac_func in modff
62706 do :
62707 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62708 if test "x$ac_cv_func_modff" = x""yes; then :
62709 cat >>confdefs.h <<_ACEOF
62710 #define HAVE_MODFF 1
62711 _ACEOF
62712
62713 fi
62714 done
62715
62716 else
62717
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62719 $as_echo_n "checking for _modff declaration... " >&6; }
62720 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62721 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62722 $as_echo_n "(cached) " >&6
62723 else
62724
62725
62726 ac_ext=cpp
62727 ac_cpp='$CXXCPP $CPPFLAGS'
62728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731
62732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62733 /* end confdefs.h. */
62734 #include <math.h>
62735 int
62736 main ()
62737 {
62738 _modff(0, 0);
62739 ;
62740 return 0;
62741 }
62742 _ACEOF
62743 if ac_fn_cxx_try_compile "$LINENO"; then :
62744 glibcxx_cv_func__modff_use=yes
62745 else
62746 glibcxx_cv_func__modff_use=no
62747 fi
62748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62749 ac_ext=c
62750 ac_cpp='$CPP $CPPFLAGS'
62751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62754
62755
62756 fi
62757
62758 fi
62759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62760 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62761
62762 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62763 for ac_func in _modff
62764 do :
62765 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62766 if test "x$ac_cv_func__modff" = x""yes; then :
62767 cat >>confdefs.h <<_ACEOF
62768 #define HAVE__MODFF 1
62769 _ACEOF
62770
62771 fi
62772 done
62773
62774 fi
62775 fi
62776
62777
62778
62779
62780
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62782 $as_echo_n "checking for modf declaration... " >&6; }
62783 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62784 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62785 $as_echo_n "(cached) " >&6
62786 else
62787
62788
62789 ac_ext=cpp
62790 ac_cpp='$CXXCPP $CPPFLAGS'
62791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62794
62795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796 /* end confdefs.h. */
62797 #include <math.h>
62798 int
62799 main ()
62800 {
62801 modf(0, 0);
62802 ;
62803 return 0;
62804 }
62805 _ACEOF
62806 if ac_fn_cxx_try_compile "$LINENO"; then :
62807 glibcxx_cv_func_modf_use=yes
62808 else
62809 glibcxx_cv_func_modf_use=no
62810 fi
62811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62812 ac_ext=c
62813 ac_cpp='$CPP $CPPFLAGS'
62814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62817
62818
62819 fi
62820
62821 fi
62822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62823 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62824
62825 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62826 for ac_func in modf
62827 do :
62828 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62829 if test "x$ac_cv_func_modf" = x""yes; then :
62830 cat >>confdefs.h <<_ACEOF
62831 #define HAVE_MODF 1
62832 _ACEOF
62833
62834 fi
62835 done
62836
62837 else
62838
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62840 $as_echo_n "checking for _modf declaration... " >&6; }
62841 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62842 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62843 $as_echo_n "(cached) " >&6
62844 else
62845
62846
62847 ac_ext=cpp
62848 ac_cpp='$CXXCPP $CPPFLAGS'
62849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62852
62853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62854 /* end confdefs.h. */
62855 #include <math.h>
62856 int
62857 main ()
62858 {
62859 _modf(0, 0);
62860 ;
62861 return 0;
62862 }
62863 _ACEOF
62864 if ac_fn_cxx_try_compile "$LINENO"; then :
62865 glibcxx_cv_func__modf_use=yes
62866 else
62867 glibcxx_cv_func__modf_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__modf_use" >&5
62881 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62882
62883 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62884 for ac_func in _modf
62885 do :
62886 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62887 if test "x$ac_cv_func__modf" = x""yes; then :
62888 cat >>confdefs.h <<_ACEOF
62889 #define HAVE__MODF 1
62890 _ACEOF
62891
62892 fi
62893 done
62894
62895 fi
62896 fi
62897
62898
62899
62900
62901
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62903 $as_echo_n "checking for powf declaration... " >&6; }
62904 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62905 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62906 $as_echo_n "(cached) " >&6
62907 else
62908
62909
62910 ac_ext=cpp
62911 ac_cpp='$CXXCPP $CPPFLAGS'
62912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62915
62916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62917 /* end confdefs.h. */
62918 #include <math.h>
62919 int
62920 main ()
62921 {
62922 powf(0, 0);
62923 ;
62924 return 0;
62925 }
62926 _ACEOF
62927 if ac_fn_cxx_try_compile "$LINENO"; then :
62928 glibcxx_cv_func_powf_use=yes
62929 else
62930 glibcxx_cv_func_powf_use=no
62931 fi
62932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62933 ac_ext=c
62934 ac_cpp='$CPP $CPPFLAGS'
62935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62938
62939
62940 fi
62941
62942 fi
62943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62944 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62945
62946 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62947 for ac_func in powf
62948 do :
62949 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62950 if test "x$ac_cv_func_powf" = x""yes; then :
62951 cat >>confdefs.h <<_ACEOF
62952 #define HAVE_POWF 1
62953 _ACEOF
62954
62955 fi
62956 done
62957
62958 else
62959
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62961 $as_echo_n "checking for _powf declaration... " >&6; }
62962 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62963 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62964 $as_echo_n "(cached) " >&6
62965 else
62966
62967
62968 ac_ext=cpp
62969 ac_cpp='$CXXCPP $CPPFLAGS'
62970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973
62974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62975 /* end confdefs.h. */
62976 #include <math.h>
62977 int
62978 main ()
62979 {
62980 _powf(0, 0);
62981 ;
62982 return 0;
62983 }
62984 _ACEOF
62985 if ac_fn_cxx_try_compile "$LINENO"; then :
62986 glibcxx_cv_func__powf_use=yes
62987 else
62988 glibcxx_cv_func__powf_use=no
62989 fi
62990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62991 ac_ext=c
62992 ac_cpp='$CPP $CPPFLAGS'
62993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62996
62997
62998 fi
62999
63000 fi
63001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63002 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63003
63004 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63005 for ac_func in _powf
63006 do :
63007 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63008 if test "x$ac_cv_func__powf" = x""yes; then :
63009 cat >>confdefs.h <<_ACEOF
63010 #define HAVE__POWF 1
63011 _ACEOF
63012
63013 fi
63014 done
63015
63016 fi
63017 fi
63018
63019
63020
63021
63022
63023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63024 $as_echo_n "checking for sqrtf declaration... " >&6; }
63025 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63026 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63027 $as_echo_n "(cached) " >&6
63028 else
63029
63030
63031 ac_ext=cpp
63032 ac_cpp='$CXXCPP $CPPFLAGS'
63033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63036
63037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63038 /* end confdefs.h. */
63039 #include <math.h>
63040 #ifdef HAVE_IEEEFP_H
63041 #include <ieeefp.h>
63042 #endif
63043
63044 int
63045 main ()
63046 {
63047 sqrtf(0);
63048 ;
63049 return 0;
63050 }
63051 _ACEOF
63052 if ac_fn_cxx_try_compile "$LINENO"; then :
63053 glibcxx_cv_func_sqrtf_use=yes
63054 else
63055 glibcxx_cv_func_sqrtf_use=no
63056 fi
63057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63058 ac_ext=c
63059 ac_cpp='$CPP $CPPFLAGS'
63060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63063
63064
63065 fi
63066
63067 fi
63068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63069 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63070
63071 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63072 for ac_func in sqrtf
63073 do :
63074 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63075 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63076 cat >>confdefs.h <<_ACEOF
63077 #define HAVE_SQRTF 1
63078 _ACEOF
63079
63080 fi
63081 done
63082
63083 else
63084
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63086 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63087 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63088 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
63110 ;
63111 return 0;
63112 }
63113 _ACEOF
63114 if ac_fn_cxx_try_compile "$LINENO"; then :
63115 glibcxx_cv_func__sqrtf_use=yes
63116 else
63117 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
63131 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63132
63133 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63134 for ac_func in _sqrtf
63135 do :
63136 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63137 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63138 cat >>confdefs.h <<_ACEOF
63139 #define HAVE__SQRTF 1
63140 _ACEOF
63141
63142 fi
63143 done
63144
63145 fi
63146 fi
63147
63148
63149
63150
63151
63152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63153 $as_echo_n "checking for sincosf declaration... " >&6; }
63154 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63155 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63156 $as_echo_n "(cached) " >&6
63157 else
63158
63159
63160 ac_ext=cpp
63161 ac_cpp='$CXXCPP $CPPFLAGS'
63162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63165
63166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63167 /* end confdefs.h. */
63168 #include <math.h>
63169 int
63170 main ()
63171 {
63172 sincosf(0, 0, 0);
63173 ;
63174 return 0;
63175 }
63176 _ACEOF
63177 if ac_fn_cxx_try_compile "$LINENO"; then :
63178 glibcxx_cv_func_sincosf_use=yes
63179 else
63180 glibcxx_cv_func_sincosf_use=no
63181 fi
63182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63183 ac_ext=c
63184 ac_cpp='$CPP $CPPFLAGS'
63185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63188
63189
63190 fi
63191
63192 fi
63193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63194 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63195
63196 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63197 for ac_func in sincosf
63198 do :
63199 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63200 if test "x$ac_cv_func_sincosf" = x""yes; then :
63201 cat >>confdefs.h <<_ACEOF
63202 #define HAVE_SINCOSF 1
63203 _ACEOF
63204
63205 fi
63206 done
63207
63208 else
63209
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63211 $as_echo_n "checking for _sincosf declaration... " >&6; }
63212 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63213 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63214 $as_echo_n "(cached) " >&6
63215 else
63216
63217
63218 ac_ext=cpp
63219 ac_cpp='$CXXCPP $CPPFLAGS'
63220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63223
63224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63225 /* end confdefs.h. */
63226 #include <math.h>
63227 int
63228 main ()
63229 {
63230 _sincosf(0, 0, 0);
63231 ;
63232 return 0;
63233 }
63234 _ACEOF
63235 if ac_fn_cxx_try_compile "$LINENO"; then :
63236 glibcxx_cv_func__sincosf_use=yes
63237 else
63238 glibcxx_cv_func__sincosf_use=no
63239 fi
63240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63241 ac_ext=c
63242 ac_cpp='$CPP $CPPFLAGS'
63243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63246
63247
63248 fi
63249
63250 fi
63251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63252 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63253
63254 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63255 for ac_func in _sincosf
63256 do :
63257 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63258 if test "x$ac_cv_func__sincosf" = x""yes; then :
63259 cat >>confdefs.h <<_ACEOF
63260 #define HAVE__SINCOSF 1
63261 _ACEOF
63262
63263 fi
63264 done
63265
63266 fi
63267 fi
63268
63269
63270
63271
63272
63273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63274 $as_echo_n "checking for finitef declaration... " >&6; }
63275 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63276 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63277 $as_echo_n "(cached) " >&6
63278 else
63279
63280
63281 ac_ext=cpp
63282 ac_cpp='$CXXCPP $CPPFLAGS'
63283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63286
63287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63288 /* end confdefs.h. */
63289 #include <math.h>
63290 #ifdef HAVE_IEEEFP_H
63291 #include <ieeefp.h>
63292 #endif
63293
63294 int
63295 main ()
63296 {
63297 finitef(0);
63298 ;
63299 return 0;
63300 }
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303 glibcxx_cv_func_finitef_use=yes
63304 else
63305 glibcxx_cv_func_finitef_use=no
63306 fi
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63313
63314
63315 fi
63316
63317 fi
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63319 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63320
63321 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63322 for ac_func in finitef
63323 do :
63324 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63325 if test "x$ac_cv_func_finitef" = x""yes; then :
63326 cat >>confdefs.h <<_ACEOF
63327 #define HAVE_FINITEF 1
63328 _ACEOF
63329
63330 fi
63331 done
63332
63333 else
63334
63335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63336 $as_echo_n "checking for _finitef declaration... " >&6; }
63337 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63338 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63339 $as_echo_n "(cached) " >&6
63340 else
63341
63342
63343 ac_ext=cpp
63344 ac_cpp='$CXXCPP $CPPFLAGS'
63345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63348
63349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63350 /* end confdefs.h. */
63351 #include <math.h>
63352 #ifdef HAVE_IEEEFP_H
63353 #include <ieeefp.h>
63354 #endif
63355
63356 int
63357 main ()
63358 {
63359 _finitef(0);
63360 ;
63361 return 0;
63362 }
63363 _ACEOF
63364 if ac_fn_cxx_try_compile "$LINENO"; then :
63365 glibcxx_cv_func__finitef_use=yes
63366 else
63367 glibcxx_cv_func__finitef_use=no
63368 fi
63369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63370 ac_ext=c
63371 ac_cpp='$CPP $CPPFLAGS'
63372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63375
63376
63377 fi
63378
63379 fi
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63381 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63382
63383 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63384 for ac_func in _finitef
63385 do :
63386 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63387 if test "x$ac_cv_func__finitef" = x""yes; then :
63388 cat >>confdefs.h <<_ACEOF
63389 #define HAVE__FINITEF 1
63390 _ACEOF
63391
63392 fi
63393 done
63394
63395 fi
63396 fi
63397
63398
63399
63400
63401
63402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63403 $as_echo_n "checking for long double trig functions... " >&6; }
63404 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63405 $as_echo_n "(cached) " >&6
63406 else
63407
63408
63409 ac_ext=cpp
63410 ac_cpp='$CXXCPP $CPPFLAGS'
63411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63414
63415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63416 /* end confdefs.h. */
63417 #include <math.h>
63418 int
63419 main ()
63420 {
63421 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63422 ;
63423 return 0;
63424 }
63425 _ACEOF
63426 if ac_fn_cxx_try_compile "$LINENO"; then :
63427 glibcxx_cv_func_long_double_trig_use=yes
63428 else
63429 glibcxx_cv_func_long_double_trig_use=no
63430 fi
63431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63432 ac_ext=c
63433 ac_cpp='$CPP $CPPFLAGS'
63434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63437
63438 fi
63439
63440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63441 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63442 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63443 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63444 do :
63445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63447 eval as_val=\$$as_ac_var
63448 if test "x$as_val" = x""yes; then :
63449 cat >>confdefs.h <<_ACEOF
63450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63451 _ACEOF
63452
63453 fi
63454 done
63455
63456 else
63457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63458 $as_echo_n "checking for _long double trig functions... " >&6; }
63459 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63460 $as_echo_n "(cached) " >&6
63461 else
63462
63463
63464 ac_ext=cpp
63465 ac_cpp='$CXXCPP $CPPFLAGS'
63466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63469
63470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63471 /* end confdefs.h. */
63472 #include <math.h>
63473 int
63474 main ()
63475 {
63476 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63477 ;
63478 return 0;
63479 }
63480 _ACEOF
63481 if ac_fn_cxx_try_compile "$LINENO"; then :
63482 glibcxx_cv_func__long_double_trig_use=yes
63483 else
63484 glibcxx_cv_func__long_double_trig_use=no
63485 fi
63486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63487 ac_ext=c
63488 ac_cpp='$CPP $CPPFLAGS'
63489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63492
63493 fi
63494
63495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63496 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63497 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63498 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63499 do :
63500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63502 eval as_val=\$$as_ac_var
63503 if test "x$as_val" = x""yes; then :
63504 cat >>confdefs.h <<_ACEOF
63505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63506 _ACEOF
63507
63508 fi
63509 done
63510
63511 fi
63512 fi
63513
63514
63515
63516
63517
63518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63519 $as_echo_n "checking for long double round functions... " >&6; }
63520 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63521 $as_echo_n "(cached) " >&6
63522 else
63523
63524
63525 ac_ext=cpp
63526 ac_cpp='$CXXCPP $CPPFLAGS'
63527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63530
63531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63532 /* end confdefs.h. */
63533 #include <math.h>
63534 int
63535 main ()
63536 {
63537 ceill (0); floorl (0);
63538 ;
63539 return 0;
63540 }
63541 _ACEOF
63542 if ac_fn_cxx_try_compile "$LINENO"; then :
63543 glibcxx_cv_func_long_double_round_use=yes
63544 else
63545 glibcxx_cv_func_long_double_round_use=no
63546 fi
63547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63548 ac_ext=c
63549 ac_cpp='$CPP $CPPFLAGS'
63550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63553
63554 fi
63555
63556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63557 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63558 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63559 for ac_func in ceill floorl
63560 do :
63561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63563 eval as_val=\$$as_ac_var
63564 if test "x$as_val" = x""yes; then :
63565 cat >>confdefs.h <<_ACEOF
63566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63567 _ACEOF
63568
63569 fi
63570 done
63571
63572 else
63573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63574 $as_echo_n "checking for _long double round functions... " >&6; }
63575 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63576 $as_echo_n "(cached) " >&6
63577 else
63578
63579
63580 ac_ext=cpp
63581 ac_cpp='$CXXCPP $CPPFLAGS'
63582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63585
63586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63587 /* end confdefs.h. */
63588 #include <math.h>
63589 int
63590 main ()
63591 {
63592 _ceill (0); _floorl (0);
63593 ;
63594 return 0;
63595 }
63596 _ACEOF
63597 if ac_fn_cxx_try_compile "$LINENO"; then :
63598 glibcxx_cv_func__long_double_round_use=yes
63599 else
63600 glibcxx_cv_func__long_double_round_use=no
63601 fi
63602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63603 ac_ext=c
63604 ac_cpp='$CPP $CPPFLAGS'
63605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63608
63609 fi
63610
63611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63612 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63613 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63614 for ac_func in _ceill _floorl
63615 do :
63616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63618 eval as_val=\$$as_ac_var
63619 if test "x$as_val" = x""yes; then :
63620 cat >>confdefs.h <<_ACEOF
63621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63622 _ACEOF
63623
63624 fi
63625 done
63626
63627 fi
63628 fi
63629
63630
63631
63632
63633
63634
63635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63636 $as_echo_n "checking for isnanl declaration... " >&6; }
63637 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63638 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63639 $as_echo_n "(cached) " >&6
63640 else
63641
63642
63643 ac_ext=cpp
63644 ac_cpp='$CXXCPP $CPPFLAGS'
63645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63648
63649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63650 /* end confdefs.h. */
63651 #include <math.h>
63652 #ifdef HAVE_IEEEFP_H
63653 #include <ieeefp.h>
63654 #endif
63655
63656 int
63657 main ()
63658 {
63659 isnanl(0);
63660 ;
63661 return 0;
63662 }
63663 _ACEOF
63664 if ac_fn_cxx_try_compile "$LINENO"; then :
63665 glibcxx_cv_func_isnanl_use=yes
63666 else
63667 glibcxx_cv_func_isnanl_use=no
63668 fi
63669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63670 ac_ext=c
63671 ac_cpp='$CPP $CPPFLAGS'
63672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63675
63676
63677 fi
63678
63679 fi
63680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63681 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63682
63683 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63684 for ac_func in isnanl
63685 do :
63686 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63687 if test "x$ac_cv_func_isnanl" = x""yes; then :
63688 cat >>confdefs.h <<_ACEOF
63689 #define HAVE_ISNANL 1
63690 _ACEOF
63691
63692 fi
63693 done
63694
63695 else
63696
63697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63698 $as_echo_n "checking for _isnanl declaration... " >&6; }
63699 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63700 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63701 $as_echo_n "(cached) " >&6
63702 else
63703
63704
63705 ac_ext=cpp
63706 ac_cpp='$CXXCPP $CPPFLAGS'
63707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63710
63711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63712 /* end confdefs.h. */
63713 #include <math.h>
63714 #ifdef HAVE_IEEEFP_H
63715 #include <ieeefp.h>
63716 #endif
63717
63718 int
63719 main ()
63720 {
63721 _isnanl(0);
63722 ;
63723 return 0;
63724 }
63725 _ACEOF
63726 if ac_fn_cxx_try_compile "$LINENO"; then :
63727 glibcxx_cv_func__isnanl_use=yes
63728 else
63729 glibcxx_cv_func__isnanl_use=no
63730 fi
63731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63732 ac_ext=c
63733 ac_cpp='$CPP $CPPFLAGS'
63734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63737
63738
63739 fi
63740
63741 fi
63742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63743 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63744
63745 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63746 for ac_func in _isnanl
63747 do :
63748 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63749 if test "x$ac_cv_func__isnanl" = x""yes; then :
63750 cat >>confdefs.h <<_ACEOF
63751 #define HAVE__ISNANL 1
63752 _ACEOF
63753
63754 fi
63755 done
63756
63757 fi
63758 fi
63759
63760
63761
63762
63763
63764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63765 $as_echo_n "checking for isinfl declaration... " >&6; }
63766 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63767 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63768 $as_echo_n "(cached) " >&6
63769 else
63770
63771
63772 ac_ext=cpp
63773 ac_cpp='$CXXCPP $CPPFLAGS'
63774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63777
63778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63779 /* end confdefs.h. */
63780 #include <math.h>
63781 #ifdef HAVE_IEEEFP_H
63782 #include <ieeefp.h>
63783 #endif
63784
63785 int
63786 main ()
63787 {
63788 isinfl(0);
63789 ;
63790 return 0;
63791 }
63792 _ACEOF
63793 if ac_fn_cxx_try_compile "$LINENO"; then :
63794 glibcxx_cv_func_isinfl_use=yes
63795 else
63796 glibcxx_cv_func_isinfl_use=no
63797 fi
63798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63799 ac_ext=c
63800 ac_cpp='$CPP $CPPFLAGS'
63801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63804
63805
63806 fi
63807
63808 fi
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63810 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63811
63812 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63813 for ac_func in isinfl
63814 do :
63815 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63816 if test "x$ac_cv_func_isinfl" = x""yes; then :
63817 cat >>confdefs.h <<_ACEOF
63818 #define HAVE_ISINFL 1
63819 _ACEOF
63820
63821 fi
63822 done
63823
63824 else
63825
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63827 $as_echo_n "checking for _isinfl declaration... " >&6; }
63828 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63829 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
63851 ;
63852 return 0;
63853 }
63854 _ACEOF
63855 if ac_fn_cxx_try_compile "$LINENO"; then :
63856 glibcxx_cv_func__isinfl_use=yes
63857 else
63858 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
63872 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63873
63874 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63875 for ac_func in _isinfl
63876 do :
63877 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63878 if test "x$ac_cv_func__isinfl" = x""yes; then :
63879 cat >>confdefs.h <<_ACEOF
63880 #define HAVE__ISINFL 1
63881 _ACEOF
63882
63883 fi
63884 done
63885
63886 fi
63887 fi
63888
63889
63890
63891
63892
63893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63894 $as_echo_n "checking for atan2l declaration... " >&6; }
63895 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63896 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63897 $as_echo_n "(cached) " >&6
63898 else
63899
63900
63901 ac_ext=cpp
63902 ac_cpp='$CXXCPP $CPPFLAGS'
63903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63906
63907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63908 /* end confdefs.h. */
63909 #include <math.h>
63910 int
63911 main ()
63912 {
63913 atan2l(0, 0);
63914 ;
63915 return 0;
63916 }
63917 _ACEOF
63918 if ac_fn_cxx_try_compile "$LINENO"; then :
63919 glibcxx_cv_func_atan2l_use=yes
63920 else
63921 glibcxx_cv_func_atan2l_use=no
63922 fi
63923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63924 ac_ext=c
63925 ac_cpp='$CPP $CPPFLAGS'
63926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63929
63930
63931 fi
63932
63933 fi
63934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63935 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63936
63937 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63938 for ac_func in atan2l
63939 do :
63940 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63941 if test "x$ac_cv_func_atan2l" = x""yes; then :
63942 cat >>confdefs.h <<_ACEOF
63943 #define HAVE_ATAN2L 1
63944 _ACEOF
63945
63946 fi
63947 done
63948
63949 else
63950
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63952 $as_echo_n "checking for _atan2l declaration... " >&6; }
63953 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63954 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63955 $as_echo_n "(cached) " >&6
63956 else
63957
63958
63959 ac_ext=cpp
63960 ac_cpp='$CXXCPP $CPPFLAGS'
63961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63964
63965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63966 /* end confdefs.h. */
63967 #include <math.h>
63968 int
63969 main ()
63970 {
63971 _atan2l(0, 0);
63972 ;
63973 return 0;
63974 }
63975 _ACEOF
63976 if ac_fn_cxx_try_compile "$LINENO"; then :
63977 glibcxx_cv_func__atan2l_use=yes
63978 else
63979 glibcxx_cv_func__atan2l_use=no
63980 fi
63981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63982 ac_ext=c
63983 ac_cpp='$CPP $CPPFLAGS'
63984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63987
63988
63989 fi
63990
63991 fi
63992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63993 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63994
63995 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63996 for ac_func in _atan2l
63997 do :
63998 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63999 if test "x$ac_cv_func__atan2l" = x""yes; then :
64000 cat >>confdefs.h <<_ACEOF
64001 #define HAVE__ATAN2L 1
64002 _ACEOF
64003
64004 fi
64005 done
64006
64007 fi
64008 fi
64009
64010
64011
64012
64013
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64015 $as_echo_n "checking for expl declaration... " >&6; }
64016 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64017 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64018 $as_echo_n "(cached) " >&6
64019 else
64020
64021
64022 ac_ext=cpp
64023 ac_cpp='$CXXCPP $CPPFLAGS'
64024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64027
64028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64029 /* end confdefs.h. */
64030 #include <math.h>
64031 #ifdef HAVE_IEEEFP_H
64032 #include <ieeefp.h>
64033 #endif
64034
64035 int
64036 main ()
64037 {
64038 expl(0);
64039 ;
64040 return 0;
64041 }
64042 _ACEOF
64043 if ac_fn_cxx_try_compile "$LINENO"; then :
64044 glibcxx_cv_func_expl_use=yes
64045 else
64046 glibcxx_cv_func_expl_use=no
64047 fi
64048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64049 ac_ext=c
64050 ac_cpp='$CPP $CPPFLAGS'
64051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64054
64055
64056 fi
64057
64058 fi
64059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64060 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64061
64062 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64063 for ac_func in expl
64064 do :
64065 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64066 if test "x$ac_cv_func_expl" = x""yes; then :
64067 cat >>confdefs.h <<_ACEOF
64068 #define HAVE_EXPL 1
64069 _ACEOF
64070
64071 fi
64072 done
64073
64074 else
64075
64076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64077 $as_echo_n "checking for _expl declaration... " >&6; }
64078 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64079 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64080 $as_echo_n "(cached) " >&6
64081 else
64082
64083
64084 ac_ext=cpp
64085 ac_cpp='$CXXCPP $CPPFLAGS'
64086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64089
64090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64091 /* end confdefs.h. */
64092 #include <math.h>
64093 #ifdef HAVE_IEEEFP_H
64094 #include <ieeefp.h>
64095 #endif
64096
64097 int
64098 main ()
64099 {
64100 _expl(0);
64101 ;
64102 return 0;
64103 }
64104 _ACEOF
64105 if ac_fn_cxx_try_compile "$LINENO"; then :
64106 glibcxx_cv_func__expl_use=yes
64107 else
64108 glibcxx_cv_func__expl_use=no
64109 fi
64110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64111 ac_ext=c
64112 ac_cpp='$CPP $CPPFLAGS'
64113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64116
64117
64118 fi
64119
64120 fi
64121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64122 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64123
64124 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64125 for ac_func in _expl
64126 do :
64127 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64128 if test "x$ac_cv_func__expl" = x""yes; then :
64129 cat >>confdefs.h <<_ACEOF
64130 #define HAVE__EXPL 1
64131 _ACEOF
64132
64133 fi
64134 done
64135
64136 fi
64137 fi
64138
64139
64140
64141
64142
64143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64144 $as_echo_n "checking for fabsl declaration... " >&6; }
64145 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64146 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64147 $as_echo_n "(cached) " >&6
64148 else
64149
64150
64151 ac_ext=cpp
64152 ac_cpp='$CXXCPP $CPPFLAGS'
64153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64156
64157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64158 /* end confdefs.h. */
64159 #include <math.h>
64160 #ifdef HAVE_IEEEFP_H
64161 #include <ieeefp.h>
64162 #endif
64163
64164 int
64165 main ()
64166 {
64167 fabsl(0);
64168 ;
64169 return 0;
64170 }
64171 _ACEOF
64172 if ac_fn_cxx_try_compile "$LINENO"; then :
64173 glibcxx_cv_func_fabsl_use=yes
64174 else
64175 glibcxx_cv_func_fabsl_use=no
64176 fi
64177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64178 ac_ext=c
64179 ac_cpp='$CPP $CPPFLAGS'
64180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64183
64184
64185 fi
64186
64187 fi
64188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64189 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64190
64191 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64192 for ac_func in fabsl
64193 do :
64194 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64195 if test "x$ac_cv_func_fabsl" = x""yes; then :
64196 cat >>confdefs.h <<_ACEOF
64197 #define HAVE_FABSL 1
64198 _ACEOF
64199
64200 fi
64201 done
64202
64203 else
64204
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64206 $as_echo_n "checking for _fabsl declaration... " >&6; }
64207 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64208 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
64223 #include <ieeefp.h>
64224 #endif
64225
64226 int
64227 main ()
64228 {
64229 _fabsl(0);
64230 ;
64231 return 0;
64232 }
64233 _ACEOF
64234 if ac_fn_cxx_try_compile "$LINENO"; then :
64235 glibcxx_cv_func__fabsl_use=yes
64236 else
64237 glibcxx_cv_func__fabsl_use=no
64238 fi
64239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64240 ac_ext=c
64241 ac_cpp='$CPP $CPPFLAGS'
64242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64245
64246
64247 fi
64248
64249 fi
64250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64251 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64252
64253 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64254 for ac_func in _fabsl
64255 do :
64256 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64257 if test "x$ac_cv_func__fabsl" = x""yes; then :
64258 cat >>confdefs.h <<_ACEOF
64259 #define HAVE__FABSL 1
64260 _ACEOF
64261
64262 fi
64263 done
64264
64265 fi
64266 fi
64267
64268
64269
64270
64271
64272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64273 $as_echo_n "checking for fmodl declaration... " >&6; }
64274 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64275 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64276 $as_echo_n "(cached) " >&6
64277 else
64278
64279
64280 ac_ext=cpp
64281 ac_cpp='$CXXCPP $CPPFLAGS'
64282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64285
64286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64287 /* end confdefs.h. */
64288 #include <math.h>
64289 int
64290 main ()
64291 {
64292 fmodl(0, 0);
64293 ;
64294 return 0;
64295 }
64296 _ACEOF
64297 if ac_fn_cxx_try_compile "$LINENO"; then :
64298 glibcxx_cv_func_fmodl_use=yes
64299 else
64300 glibcxx_cv_func_fmodl_use=no
64301 fi
64302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64303 ac_ext=c
64304 ac_cpp='$CPP $CPPFLAGS'
64305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64308
64309
64310 fi
64311
64312 fi
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64314 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64315
64316 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64317 for ac_func in fmodl
64318 do :
64319 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64320 if test "x$ac_cv_func_fmodl" = x""yes; then :
64321 cat >>confdefs.h <<_ACEOF
64322 #define HAVE_FMODL 1
64323 _ACEOF
64324
64325 fi
64326 done
64327
64328 else
64329
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64331 $as_echo_n "checking for _fmodl declaration... " >&6; }
64332 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64333 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64334 $as_echo_n "(cached) " >&6
64335 else
64336
64337
64338 ac_ext=cpp
64339 ac_cpp='$CXXCPP $CPPFLAGS'
64340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64343
64344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64345 /* end confdefs.h. */
64346 #include <math.h>
64347 int
64348 main ()
64349 {
64350 _fmodl(0, 0);
64351 ;
64352 return 0;
64353 }
64354 _ACEOF
64355 if ac_fn_cxx_try_compile "$LINENO"; then :
64356 glibcxx_cv_func__fmodl_use=yes
64357 else
64358 glibcxx_cv_func__fmodl_use=no
64359 fi
64360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64361 ac_ext=c
64362 ac_cpp='$CPP $CPPFLAGS'
64363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64366
64367
64368 fi
64369
64370 fi
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64372 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64373
64374 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64375 for ac_func in _fmodl
64376 do :
64377 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64378 if test "x$ac_cv_func__fmodl" = x""yes; then :
64379 cat >>confdefs.h <<_ACEOF
64380 #define HAVE__FMODL 1
64381 _ACEOF
64382
64383 fi
64384 done
64385
64386 fi
64387 fi
64388
64389
64390
64391
64392
64393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64394 $as_echo_n "checking for frexpl declaration... " >&6; }
64395 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64396 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64397 $as_echo_n "(cached) " >&6
64398 else
64399
64400
64401 ac_ext=cpp
64402 ac_cpp='$CXXCPP $CPPFLAGS'
64403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64406
64407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64408 /* end confdefs.h. */
64409 #include <math.h>
64410 int
64411 main ()
64412 {
64413 frexpl(0, 0);
64414 ;
64415 return 0;
64416 }
64417 _ACEOF
64418 if ac_fn_cxx_try_compile "$LINENO"; then :
64419 glibcxx_cv_func_frexpl_use=yes
64420 else
64421 glibcxx_cv_func_frexpl_use=no
64422 fi
64423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64424 ac_ext=c
64425 ac_cpp='$CPP $CPPFLAGS'
64426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64429
64430
64431 fi
64432
64433 fi
64434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64435 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64436
64437 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64438 for ac_func in frexpl
64439 do :
64440 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64441 if test "x$ac_cv_func_frexpl" = x""yes; then :
64442 cat >>confdefs.h <<_ACEOF
64443 #define HAVE_FREXPL 1
64444 _ACEOF
64445
64446 fi
64447 done
64448
64449 else
64450
64451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64452 $as_echo_n "checking for _frexpl declaration... " >&6; }
64453 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64454 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64455 $as_echo_n "(cached) " >&6
64456 else
64457
64458
64459 ac_ext=cpp
64460 ac_cpp='$CXXCPP $CPPFLAGS'
64461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64464
64465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64466 /* end confdefs.h. */
64467 #include <math.h>
64468 int
64469 main ()
64470 {
64471 _frexpl(0, 0);
64472 ;
64473 return 0;
64474 }
64475 _ACEOF
64476 if ac_fn_cxx_try_compile "$LINENO"; then :
64477 glibcxx_cv_func__frexpl_use=yes
64478 else
64479 glibcxx_cv_func__frexpl_use=no
64480 fi
64481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64482 ac_ext=c
64483 ac_cpp='$CPP $CPPFLAGS'
64484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64487
64488
64489 fi
64490
64491 fi
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64493 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64494
64495 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64496 for ac_func in _frexpl
64497 do :
64498 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64499 if test "x$ac_cv_func__frexpl" = x""yes; then :
64500 cat >>confdefs.h <<_ACEOF
64501 #define HAVE__FREXPL 1
64502 _ACEOF
64503
64504 fi
64505 done
64506
64507 fi
64508 fi
64509
64510
64511
64512
64513
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64515 $as_echo_n "checking for hypotl declaration... " >&6; }
64516 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64517 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64520
64521
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 int
64532 main ()
64533 {
64534 hypotl(0, 0);
64535 ;
64536 return 0;
64537 }
64538 _ACEOF
64539 if ac_fn_cxx_try_compile "$LINENO"; then :
64540 glibcxx_cv_func_hypotl_use=yes
64541 else
64542 glibcxx_cv_func_hypotl_use=no
64543 fi
64544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64545 ac_ext=c
64546 ac_cpp='$CPP $CPPFLAGS'
64547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64550
64551
64552 fi
64553
64554 fi
64555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64556 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64557
64558 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64559 for ac_func in hypotl
64560 do :
64561 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64562 if test "x$ac_cv_func_hypotl" = x""yes; then :
64563 cat >>confdefs.h <<_ACEOF
64564 #define HAVE_HYPOTL 1
64565 _ACEOF
64566
64567 fi
64568 done
64569
64570 else
64571
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64573 $as_echo_n "checking for _hypotl declaration... " >&6; }
64574 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64575 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64576 $as_echo_n "(cached) " >&6
64577 else
64578
64579
64580 ac_ext=cpp
64581 ac_cpp='$CXXCPP $CPPFLAGS'
64582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64585
64586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h. */
64588 #include <math.h>
64589 int
64590 main ()
64591 {
64592 _hypotl(0, 0);
64593 ;
64594 return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598 glibcxx_cv_func__hypotl_use=yes
64599 else
64600 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
64614 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64615
64616 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64617 for ac_func in _hypotl
64618 do :
64619 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64620 if test "x$ac_cv_func__hypotl" = x""yes; then :
64621 cat >>confdefs.h <<_ACEOF
64622 #define HAVE__HYPOTL 1
64623 _ACEOF
64624
64625 fi
64626 done
64627
64628 fi
64629 fi
64630
64631
64632
64633
64634
64635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64636 $as_echo_n "checking for ldexpl declaration... " >&6; }
64637 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64638 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64639 $as_echo_n "(cached) " >&6
64640 else
64641
64642
64643 ac_ext=cpp
64644 ac_cpp='$CXXCPP $CPPFLAGS'
64645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64648
64649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64650 /* end confdefs.h. */
64651 #include <math.h>
64652 int
64653 main ()
64654 {
64655 ldexpl(0, 0);
64656 ;
64657 return 0;
64658 }
64659 _ACEOF
64660 if ac_fn_cxx_try_compile "$LINENO"; then :
64661 glibcxx_cv_func_ldexpl_use=yes
64662 else
64663 glibcxx_cv_func_ldexpl_use=no
64664 fi
64665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64666 ac_ext=c
64667 ac_cpp='$CPP $CPPFLAGS'
64668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64671
64672
64673 fi
64674
64675 fi
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64677 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64678
64679 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64680 for ac_func in ldexpl
64681 do :
64682 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64683 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64684 cat >>confdefs.h <<_ACEOF
64685 #define HAVE_LDEXPL 1
64686 _ACEOF
64687
64688 fi
64689 done
64690
64691 else
64692
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64694 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64695 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64696 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64697 $as_echo_n "(cached) " >&6
64698 else
64699
64700
64701 ac_ext=cpp
64702 ac_cpp='$CXXCPP $CPPFLAGS'
64703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64706
64707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64708 /* end confdefs.h. */
64709 #include <math.h>
64710 int
64711 main ()
64712 {
64713 _ldexpl(0, 0);
64714 ;
64715 return 0;
64716 }
64717 _ACEOF
64718 if ac_fn_cxx_try_compile "$LINENO"; then :
64719 glibcxx_cv_func__ldexpl_use=yes
64720 else
64721 glibcxx_cv_func__ldexpl_use=no
64722 fi
64723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64724 ac_ext=c
64725 ac_cpp='$CPP $CPPFLAGS'
64726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64729
64730
64731 fi
64732
64733 fi
64734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64735 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64736
64737 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64738 for ac_func in _ldexpl
64739 do :
64740 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64741 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64742 cat >>confdefs.h <<_ACEOF
64743 #define HAVE__LDEXPL 1
64744 _ACEOF
64745
64746 fi
64747 done
64748
64749 fi
64750 fi
64751
64752
64753
64754
64755
64756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64757 $as_echo_n "checking for logl declaration... " >&6; }
64758 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64759 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64760 $as_echo_n "(cached) " >&6
64761 else
64762
64763
64764 ac_ext=cpp
64765 ac_cpp='$CXXCPP $CPPFLAGS'
64766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64769
64770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64771 /* end confdefs.h. */
64772 #include <math.h>
64773 #ifdef HAVE_IEEEFP_H
64774 #include <ieeefp.h>
64775 #endif
64776
64777 int
64778 main ()
64779 {
64780 logl(0);
64781 ;
64782 return 0;
64783 }
64784 _ACEOF
64785 if ac_fn_cxx_try_compile "$LINENO"; then :
64786 glibcxx_cv_func_logl_use=yes
64787 else
64788 glibcxx_cv_func_logl_use=no
64789 fi
64790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64791 ac_ext=c
64792 ac_cpp='$CPP $CPPFLAGS'
64793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64796
64797
64798 fi
64799
64800 fi
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64802 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64803
64804 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64805 for ac_func in logl
64806 do :
64807 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64808 if test "x$ac_cv_func_logl" = x""yes; then :
64809 cat >>confdefs.h <<_ACEOF
64810 #define HAVE_LOGL 1
64811 _ACEOF
64812
64813 fi
64814 done
64815
64816 else
64817
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64819 $as_echo_n "checking for _logl declaration... " >&6; }
64820 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64821 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64822 $as_echo_n "(cached) " >&6
64823 else
64824
64825
64826 ac_ext=cpp
64827 ac_cpp='$CXXCPP $CPPFLAGS'
64828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64831
64832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64833 /* end confdefs.h. */
64834 #include <math.h>
64835 #ifdef HAVE_IEEEFP_H
64836 #include <ieeefp.h>
64837 #endif
64838
64839 int
64840 main ()
64841 {
64842 _logl(0);
64843 ;
64844 return 0;
64845 }
64846 _ACEOF
64847 if ac_fn_cxx_try_compile "$LINENO"; then :
64848 glibcxx_cv_func__logl_use=yes
64849 else
64850 glibcxx_cv_func__logl_use=no
64851 fi
64852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64853 ac_ext=c
64854 ac_cpp='$CPP $CPPFLAGS'
64855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64858
64859
64860 fi
64861
64862 fi
64863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64864 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64865
64866 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64867 for ac_func in _logl
64868 do :
64869 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64870 if test "x$ac_cv_func__logl" = x""yes; then :
64871 cat >>confdefs.h <<_ACEOF
64872 #define HAVE__LOGL 1
64873 _ACEOF
64874
64875 fi
64876 done
64877
64878 fi
64879 fi
64880
64881
64882
64883
64884
64885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64886 $as_echo_n "checking for log10l declaration... " >&6; }
64887 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64888 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64889 $as_echo_n "(cached) " >&6
64890 else
64891
64892
64893 ac_ext=cpp
64894 ac_cpp='$CXXCPP $CPPFLAGS'
64895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64898
64899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64900 /* end confdefs.h. */
64901 #include <math.h>
64902 #ifdef HAVE_IEEEFP_H
64903 #include <ieeefp.h>
64904 #endif
64905
64906 int
64907 main ()
64908 {
64909 log10l(0);
64910 ;
64911 return 0;
64912 }
64913 _ACEOF
64914 if ac_fn_cxx_try_compile "$LINENO"; then :
64915 glibcxx_cv_func_log10l_use=yes
64916 else
64917 glibcxx_cv_func_log10l_use=no
64918 fi
64919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64920 ac_ext=c
64921 ac_cpp='$CPP $CPPFLAGS'
64922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64925
64926
64927 fi
64928
64929 fi
64930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64931 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64932
64933 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64934 for ac_func in log10l
64935 do :
64936 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64937 if test "x$ac_cv_func_log10l" = x""yes; then :
64938 cat >>confdefs.h <<_ACEOF
64939 #define HAVE_LOG10L 1
64940 _ACEOF
64941
64942 fi
64943 done
64944
64945 else
64946
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64948 $as_echo_n "checking for _log10l declaration... " >&6; }
64949 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64950 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
64965 #include <ieeefp.h>
64966 #endif
64967
64968 int
64969 main ()
64970 {
64971 _log10l(0);
64972 ;
64973 return 0;
64974 }
64975 _ACEOF
64976 if ac_fn_cxx_try_compile "$LINENO"; then :
64977 glibcxx_cv_func__log10l_use=yes
64978 else
64979 glibcxx_cv_func__log10l_use=no
64980 fi
64981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64982 ac_ext=c
64983 ac_cpp='$CPP $CPPFLAGS'
64984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64987
64988
64989 fi
64990
64991 fi
64992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64993 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64994
64995 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64996 for ac_func in _log10l
64997 do :
64998 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64999 if test "x$ac_cv_func__log10l" = x""yes; then :
65000 cat >>confdefs.h <<_ACEOF
65001 #define HAVE__LOG10L 1
65002 _ACEOF
65003
65004 fi
65005 done
65006
65007 fi
65008 fi
65009
65010
65011
65012
65013
65014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65015 $as_echo_n "checking for modfl declaration... " >&6; }
65016 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65017 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65018 $as_echo_n "(cached) " >&6
65019 else
65020
65021
65022 ac_ext=cpp
65023 ac_cpp='$CXXCPP $CPPFLAGS'
65024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65027
65028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65029 /* end confdefs.h. */
65030 #include <math.h>
65031 int
65032 main ()
65033 {
65034 modfl(0, 0);
65035 ;
65036 return 0;
65037 }
65038 _ACEOF
65039 if ac_fn_cxx_try_compile "$LINENO"; then :
65040 glibcxx_cv_func_modfl_use=yes
65041 else
65042 glibcxx_cv_func_modfl_use=no
65043 fi
65044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65045 ac_ext=c
65046 ac_cpp='$CPP $CPPFLAGS'
65047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65050
65051
65052 fi
65053
65054 fi
65055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65056 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65057
65058 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65059 for ac_func in modfl
65060 do :
65061 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65062 if test "x$ac_cv_func_modfl" = x""yes; then :
65063 cat >>confdefs.h <<_ACEOF
65064 #define HAVE_MODFL 1
65065 _ACEOF
65066
65067 fi
65068 done
65069
65070 else
65071
65072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65073 $as_echo_n "checking for _modfl declaration... " >&6; }
65074 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65075 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65076 $as_echo_n "(cached) " >&6
65077 else
65078
65079
65080 ac_ext=cpp
65081 ac_cpp='$CXXCPP $CPPFLAGS'
65082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65085
65086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65087 /* end confdefs.h. */
65088 #include <math.h>
65089 int
65090 main ()
65091 {
65092 _modfl(0, 0);
65093 ;
65094 return 0;
65095 }
65096 _ACEOF
65097 if ac_fn_cxx_try_compile "$LINENO"; then :
65098 glibcxx_cv_func__modfl_use=yes
65099 else
65100 glibcxx_cv_func__modfl_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__modfl_use" >&5
65114 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65115
65116 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65117 for ac_func in _modfl
65118 do :
65119 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65120 if test "x$ac_cv_func__modfl" = x""yes; then :
65121 cat >>confdefs.h <<_ACEOF
65122 #define HAVE__MODFL 1
65123 _ACEOF
65124
65125 fi
65126 done
65127
65128 fi
65129 fi
65130
65131
65132
65133
65134
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65136 $as_echo_n "checking for powl declaration... " >&6; }
65137 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65138 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65139 $as_echo_n "(cached) " >&6
65140 else
65141
65142
65143 ac_ext=cpp
65144 ac_cpp='$CXXCPP $CPPFLAGS'
65145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65148
65149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65150 /* end confdefs.h. */
65151 #include <math.h>
65152 int
65153 main ()
65154 {
65155 powl(0, 0);
65156 ;
65157 return 0;
65158 }
65159 _ACEOF
65160 if ac_fn_cxx_try_compile "$LINENO"; then :
65161 glibcxx_cv_func_powl_use=yes
65162 else
65163 glibcxx_cv_func_powl_use=no
65164 fi
65165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65166 ac_ext=c
65167 ac_cpp='$CPP $CPPFLAGS'
65168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65171
65172
65173 fi
65174
65175 fi
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65177 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65178
65179 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65180 for ac_func in powl
65181 do :
65182 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65183 if test "x$ac_cv_func_powl" = x""yes; then :
65184 cat >>confdefs.h <<_ACEOF
65185 #define HAVE_POWL 1
65186 _ACEOF
65187
65188 fi
65189 done
65190
65191 else
65192
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65194 $as_echo_n "checking for _powl declaration... " >&6; }
65195 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65196 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65197 $as_echo_n "(cached) " >&6
65198 else
65199
65200
65201 ac_ext=cpp
65202 ac_cpp='$CXXCPP $CPPFLAGS'
65203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65206
65207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65208 /* end confdefs.h. */
65209 #include <math.h>
65210 int
65211 main ()
65212 {
65213 _powl(0, 0);
65214 ;
65215 return 0;
65216 }
65217 _ACEOF
65218 if ac_fn_cxx_try_compile "$LINENO"; then :
65219 glibcxx_cv_func__powl_use=yes
65220 else
65221 glibcxx_cv_func__powl_use=no
65222 fi
65223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65224 ac_ext=c
65225 ac_cpp='$CPP $CPPFLAGS'
65226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65229
65230
65231 fi
65232
65233 fi
65234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65235 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65236
65237 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65238 for ac_func in _powl
65239 do :
65240 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65241 if test "x$ac_cv_func__powl" = x""yes; then :
65242 cat >>confdefs.h <<_ACEOF
65243 #define HAVE__POWL 1
65244 _ACEOF
65245
65246 fi
65247 done
65248
65249 fi
65250 fi
65251
65252
65253
65254
65255
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65257 $as_echo_n "checking for sqrtl declaration... " >&6; }
65258 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65259 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65260 $as_echo_n "(cached) " >&6
65261 else
65262
65263
65264 ac_ext=cpp
65265 ac_cpp='$CXXCPP $CPPFLAGS'
65266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65269
65270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65271 /* end confdefs.h. */
65272 #include <math.h>
65273 #ifdef HAVE_IEEEFP_H
65274 #include <ieeefp.h>
65275 #endif
65276
65277 int
65278 main ()
65279 {
65280 sqrtl(0);
65281 ;
65282 return 0;
65283 }
65284 _ACEOF
65285 if ac_fn_cxx_try_compile "$LINENO"; then :
65286 glibcxx_cv_func_sqrtl_use=yes
65287 else
65288 glibcxx_cv_func_sqrtl_use=no
65289 fi
65290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65291 ac_ext=c
65292 ac_cpp='$CPP $CPPFLAGS'
65293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65296
65297
65298 fi
65299
65300 fi
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65302 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65303
65304 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65305 for ac_func in sqrtl
65306 do :
65307 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65308 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65309 cat >>confdefs.h <<_ACEOF
65310 #define HAVE_SQRTL 1
65311 _ACEOF
65312
65313 fi
65314 done
65315
65316 else
65317
65318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65319 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65320 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65321 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
65343 ;
65344 return 0;
65345 }
65346 _ACEOF
65347 if ac_fn_cxx_try_compile "$LINENO"; then :
65348 glibcxx_cv_func__sqrtl_use=yes
65349 else
65350 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
65364 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65365
65366 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65367 for ac_func in _sqrtl
65368 do :
65369 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65370 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65371 cat >>confdefs.h <<_ACEOF
65372 #define HAVE__SQRTL 1
65373 _ACEOF
65374
65375 fi
65376 done
65377
65378 fi
65379 fi
65380
65381
65382
65383
65384
65385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65386 $as_echo_n "checking for sincosl declaration... " >&6; }
65387 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65388 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65389 $as_echo_n "(cached) " >&6
65390 else
65391
65392
65393 ac_ext=cpp
65394 ac_cpp='$CXXCPP $CPPFLAGS'
65395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65398
65399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65400 /* end confdefs.h. */
65401 #include <math.h>
65402 int
65403 main ()
65404 {
65405 sincosl(0, 0, 0);
65406 ;
65407 return 0;
65408 }
65409 _ACEOF
65410 if ac_fn_cxx_try_compile "$LINENO"; then :
65411 glibcxx_cv_func_sincosl_use=yes
65412 else
65413 glibcxx_cv_func_sincosl_use=no
65414 fi
65415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65416 ac_ext=c
65417 ac_cpp='$CPP $CPPFLAGS'
65418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65421
65422
65423 fi
65424
65425 fi
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65427 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65428
65429 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65430 for ac_func in sincosl
65431 do :
65432 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65433 if test "x$ac_cv_func_sincosl" = x""yes; then :
65434 cat >>confdefs.h <<_ACEOF
65435 #define HAVE_SINCOSL 1
65436 _ACEOF
65437
65438 fi
65439 done
65440
65441 else
65442
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65444 $as_echo_n "checking for _sincosl declaration... " >&6; }
65445 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65446 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65447 $as_echo_n "(cached) " >&6
65448 else
65449
65450
65451 ac_ext=cpp
65452 ac_cpp='$CXXCPP $CPPFLAGS'
65453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65456
65457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65458 /* end confdefs.h. */
65459 #include <math.h>
65460 int
65461 main ()
65462 {
65463 _sincosl(0, 0, 0);
65464 ;
65465 return 0;
65466 }
65467 _ACEOF
65468 if ac_fn_cxx_try_compile "$LINENO"; then :
65469 glibcxx_cv_func__sincosl_use=yes
65470 else
65471 glibcxx_cv_func__sincosl_use=no
65472 fi
65473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65474 ac_ext=c
65475 ac_cpp='$CPP $CPPFLAGS'
65476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65479
65480
65481 fi
65482
65483 fi
65484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65485 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65486
65487 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65488 for ac_func in _sincosl
65489 do :
65490 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65491 if test "x$ac_cv_func__sincosl" = x""yes; then :
65492 cat >>confdefs.h <<_ACEOF
65493 #define HAVE__SINCOSL 1
65494 _ACEOF
65495
65496 fi
65497 done
65498
65499 fi
65500 fi
65501
65502
65503
65504
65505
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65507 $as_echo_n "checking for finitel declaration... " >&6; }
65508 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65509 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65510 $as_echo_n "(cached) " >&6
65511 else
65512
65513
65514 ac_ext=cpp
65515 ac_cpp='$CXXCPP $CPPFLAGS'
65516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65519
65520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65521 /* end confdefs.h. */
65522 #include <math.h>
65523 #ifdef HAVE_IEEEFP_H
65524 #include <ieeefp.h>
65525 #endif
65526
65527 int
65528 main ()
65529 {
65530 finitel(0);
65531 ;
65532 return 0;
65533 }
65534 _ACEOF
65535 if ac_fn_cxx_try_compile "$LINENO"; then :
65536 glibcxx_cv_func_finitel_use=yes
65537 else
65538 glibcxx_cv_func_finitel_use=no
65539 fi
65540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65541 ac_ext=c
65542 ac_cpp='$CPP $CPPFLAGS'
65543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65546
65547
65548 fi
65549
65550 fi
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65552 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65553
65554 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65555 for ac_func in finitel
65556 do :
65557 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65558 if test "x$ac_cv_func_finitel" = x""yes; then :
65559 cat >>confdefs.h <<_ACEOF
65560 #define HAVE_FINITEL 1
65561 _ACEOF
65562
65563 fi
65564 done
65565
65566 else
65567
65568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65569 $as_echo_n "checking for _finitel declaration... " >&6; }
65570 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65571 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65572 $as_echo_n "(cached) " >&6
65573 else
65574
65575
65576 ac_ext=cpp
65577 ac_cpp='$CXXCPP $CPPFLAGS'
65578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65581
65582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65583 /* end confdefs.h. */
65584 #include <math.h>
65585 #ifdef HAVE_IEEEFP_H
65586 #include <ieeefp.h>
65587 #endif
65588
65589 int
65590 main ()
65591 {
65592 _finitel(0);
65593 ;
65594 return 0;
65595 }
65596 _ACEOF
65597 if ac_fn_cxx_try_compile "$LINENO"; then :
65598 glibcxx_cv_func__finitel_use=yes
65599 else
65600 glibcxx_cv_func__finitel_use=no
65601 fi
65602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65603 ac_ext=c
65604 ac_cpp='$CPP $CPPFLAGS'
65605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65608
65609
65610 fi
65611
65612 fi
65613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65614 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65615
65616 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65617 for ac_func in _finitel
65618 do :
65619 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65620 if test "x$ac_cv_func__finitel" = x""yes; then :
65621 cat >>confdefs.h <<_ACEOF
65622 #define HAVE__FINITEL 1
65623 _ACEOF
65624
65625 fi
65626 done
65627
65628 fi
65629 fi
65630
65631
65632
65633
65634 LIBS="$ac_save_LIBS"
65635 CXXFLAGS="$ac_save_CXXFLAGS"
65636
65637
65638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65639 ac_save_CXXFLAGS="$CXXFLAGS"
65640 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65641
65642
65643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65644 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65645 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65646 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65647 $as_echo_n "(cached) " >&6
65648 else
65649
65650
65651 ac_ext=cpp
65652 ac_cpp='$CXXCPP $CPPFLAGS'
65653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65656
65657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65658 /* end confdefs.h. */
65659 #include <stdlib.h>
65660 int
65661 main ()
65662 {
65663 at_quick_exit(0);
65664 ;
65665 return 0;
65666 }
65667 _ACEOF
65668 if ac_fn_cxx_try_compile "$LINENO"; then :
65669 glibcxx_cv_func_at_quick_exit_use=yes
65670 else
65671 glibcxx_cv_func_at_quick_exit_use=no
65672 fi
65673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65674 ac_ext=c
65675 ac_cpp='$CPP $CPPFLAGS'
65676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65679
65680
65681 fi
65682
65683 fi
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65685 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65686 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65687 for ac_func in at_quick_exit
65688 do :
65689 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65690 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65691 cat >>confdefs.h <<_ACEOF
65692 #define HAVE_AT_QUICK_EXIT 1
65693 _ACEOF
65694
65695 fi
65696 done
65697
65698 fi
65699
65700
65701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65702 $as_echo_n "checking for quick_exit declaration... " >&6; }
65703 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65704 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65705 $as_echo_n "(cached) " >&6
65706 else
65707
65708
65709 ac_ext=cpp
65710 ac_cpp='$CXXCPP $CPPFLAGS'
65711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65714
65715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65716 /* end confdefs.h. */
65717 #include <stdlib.h>
65718 int
65719 main ()
65720 {
65721 quick_exit(0);
65722 ;
65723 return 0;
65724 }
65725 _ACEOF
65726 if ac_fn_cxx_try_compile "$LINENO"; then :
65727 glibcxx_cv_func_quick_exit_use=yes
65728 else
65729 glibcxx_cv_func_quick_exit_use=no
65730 fi
65731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65732 ac_ext=c
65733 ac_cpp='$CPP $CPPFLAGS'
65734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65737
65738
65739 fi
65740
65741 fi
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65743 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65744 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65745 for ac_func in quick_exit
65746 do :
65747 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65748 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65749 cat >>confdefs.h <<_ACEOF
65750 #define HAVE_QUICK_EXIT 1
65751 _ACEOF
65752
65753 fi
65754 done
65755
65756 fi
65757
65758
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65760 $as_echo_n "checking for strtold declaration... " >&6; }
65761 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65762 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65763 $as_echo_n "(cached) " >&6
65764 else
65765
65766
65767 ac_ext=cpp
65768 ac_cpp='$CXXCPP $CPPFLAGS'
65769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65772
65773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65774 /* end confdefs.h. */
65775 #include <stdlib.h>
65776 int
65777 main ()
65778 {
65779 strtold(0, 0);
65780 ;
65781 return 0;
65782 }
65783 _ACEOF
65784 if ac_fn_cxx_try_compile "$LINENO"; then :
65785 glibcxx_cv_func_strtold_use=yes
65786 else
65787 glibcxx_cv_func_strtold_use=no
65788 fi
65789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65790 ac_ext=c
65791 ac_cpp='$CPP $CPPFLAGS'
65792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65795
65796
65797 fi
65798
65799 fi
65800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65801 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65802 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65803 for ac_func in strtold
65804 do :
65805 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65806 if test "x$ac_cv_func_strtold" = x""yes; then :
65807 cat >>confdefs.h <<_ACEOF
65808 #define HAVE_STRTOLD 1
65809 _ACEOF
65810
65811 fi
65812 done
65813
65814 fi
65815
65816
65817
65818
65819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65820 $as_echo_n "checking for strtof declaration... " >&6; }
65821 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65822 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65823 $as_echo_n "(cached) " >&6
65824 else
65825
65826
65827 ac_ext=cpp
65828 ac_cpp='$CXXCPP $CPPFLAGS'
65829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65832
65833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65834 /* end confdefs.h. */
65835 #include <stdlib.h>
65836 int
65837 main ()
65838 {
65839 strtof(0, 0);
65840 ;
65841 return 0;
65842 }
65843 _ACEOF
65844 if ac_fn_cxx_try_compile "$LINENO"; then :
65845 glibcxx_cv_func_strtof_use=yes
65846 else
65847 glibcxx_cv_func_strtof_use=no
65848 fi
65849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65850 ac_ext=c
65851 ac_cpp='$CPP $CPPFLAGS'
65852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65855
65856
65857 fi
65858
65859 fi
65860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65861 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65862 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65863 for ac_func in strtof
65864 do :
65865 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65866 if test "x$ac_cv_func_strtof" = x""yes; then :
65867 cat >>confdefs.h <<_ACEOF
65868 #define HAVE_STRTOF 1
65869 _ACEOF
65870
65871 fi
65872 done
65873
65874 fi
65875
65876
65877
65878
65879 CXXFLAGS="$ac_save_CXXFLAGS"
65880
65881 ;;
65882 *-netbsd*)
65883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65884
65885
65886 # If we're not using GNU ld, then there's no point in even trying these
65887 # tests. Check for that first. We should have already tested for gld
65888 # by now (in libtool), but require it now just to be safe...
65889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65891
65892
65893
65894 # The name set by libtool depends on the version of libtool. Shame on us
65895 # for depending on an impl detail, but c'est la vie. Older versions used
65896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65899 # set (hence we're using an older libtool), then set it.
65900 if test x${with_gnu_ld+set} != xset; then
65901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65903 with_gnu_ld=no
65904 else
65905 with_gnu_ld=$ac_cv_prog_gnu_ld
65906 fi
65907 fi
65908
65909 # Start by getting the version number. I think the libtool test already
65910 # does some of this, but throws away the result.
65911 glibcxx_ld_is_gold=no
65912 if test x"$with_gnu_ld" = x"yes"; then
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65914 $as_echo_n "checking for ld version... " >&6; }
65915
65916 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65917 glibcxx_ld_is_gold=yes
65918 fi
65919 ldver=`$LD --version 2>/dev/null |
65920 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'`
65921
65922 glibcxx_gnu_ld_version=`echo $ldver | \
65923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65926 fi
65927
65928 # Set --gc-sections.
65929 glibcxx_have_gc_sections=no
65930 if test "$glibcxx_ld_is_gold" = "yes"; then
65931 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65932 glibcxx_have_gc_sections=yes
65933 fi
65934 else
65935 glibcxx_gcsections_min_ld=21602
65936 if test x"$with_gnu_ld" = x"yes" &&
65937 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65938 glibcxx_have_gc_sections=yes
65939 fi
65940 fi
65941 if test "$glibcxx_have_gc_sections" = "yes"; then
65942 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65943 # NB: This flag only works reliably after 2.16.1. Configure tests
65944 # for this are difficult, so hard wire a value that should work.
65945
65946 ac_test_CFLAGS="${CFLAGS+set}"
65947 ac_save_CFLAGS="$CFLAGS"
65948 CFLAGS='-Wl,--gc-sections'
65949
65950 # Check for -Wl,--gc-sections
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65953 if test x$gcc_no_link = xyes; then
65954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65955 fi
65956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65957 /* end confdefs.h. */
65958 int one(void) { return 1; }
65959 int two(void) { return 2; }
65960
65961 int
65962 main ()
65963 {
65964 two();
65965 ;
65966 return 0;
65967 }
65968 _ACEOF
65969 if ac_fn_c_try_link "$LINENO"; then :
65970 ac_gcsections=yes
65971 else
65972 ac_gcsections=no
65973 fi
65974 rm -f core conftest.err conftest.$ac_objext \
65975 conftest$ac_exeext conftest.$ac_ext
65976 if test "$ac_gcsections" = "yes"; then
65977 rm -f conftest.c
65978 touch conftest.c
65979 if $CC -c conftest.c; then
65980 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65981 grep "Warning: gc-sections option ignored" > /dev/null; then
65982 ac_gcsections=no
65983 fi
65984 fi
65985 rm -f conftest.c conftest.o conftest
65986 fi
65987 if test "$ac_gcsections" = "yes"; then
65988 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65989 fi
65990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65991 $as_echo "$ac_gcsections" >&6; }
65992
65993 if test "$ac_test_CFLAGS" = set; then
65994 CFLAGS="$ac_save_CFLAGS"
65995 else
65996 # this is the suspicious part
65997 CFLAGS=''
65998 fi
65999 fi
66000
66001 # Set -z,relro.
66002 # Note this is only for shared objects.
66003 ac_ld_relro=no
66004 if test x"$with_gnu_ld" = x"yes"; then
66005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66007 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66008 if test -n "$cxx_z_relo"; then
66009 OPT_LDFLAGS="-Wl,-z,relro"
66010 ac_ld_relro=yes
66011 fi
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66013 $as_echo "$ac_ld_relro" >&6; }
66014 fi
66015
66016 # Set linker optimization flags.
66017 if test x"$with_gnu_ld" = x"yes"; then
66018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66019 fi
66020
66021
66022
66023
66024 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66025
66026 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66027
66028 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66029
66030 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66031
66032 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66033
66034 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66035
66036 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66037
66038 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66039
66040 if test x"long_double_math_on_this_cpu" = x"yes"; then
66041 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66042
66043 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66044
66045 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66046
66047 fi
66048 ;;
66049 *-qnx6.1* | *-qnx6.2*)
66050 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66051
66052
66053 # If we're not using GNU ld, then there's no point in even trying these
66054 # tests. Check for that first. We should have already tested for gld
66055 # by now (in libtool), but require it now just to be safe...
66056 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66057 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66058
66059
66060
66061 # The name set by libtool depends on the version of libtool. Shame on us
66062 # for depending on an impl detail, but c'est la vie. Older versions used
66063 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66064 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66065 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66066 # set (hence we're using an older libtool), then set it.
66067 if test x${with_gnu_ld+set} != xset; then
66068 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66069 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66070 with_gnu_ld=no
66071 else
66072 with_gnu_ld=$ac_cv_prog_gnu_ld
66073 fi
66074 fi
66075
66076 # Start by getting the version number. I think the libtool test already
66077 # does some of this, but throws away the result.
66078 glibcxx_ld_is_gold=no
66079 if test x"$with_gnu_ld" = x"yes"; then
66080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66081 $as_echo_n "checking for ld version... " >&6; }
66082
66083 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66084 glibcxx_ld_is_gold=yes
66085 fi
66086 ldver=`$LD --version 2>/dev/null |
66087 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'`
66088
66089 glibcxx_gnu_ld_version=`echo $ldver | \
66090 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66092 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66093 fi
66094
66095 # Set --gc-sections.
66096 glibcxx_have_gc_sections=no
66097 if test "$glibcxx_ld_is_gold" = "yes"; then
66098 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66099 glibcxx_have_gc_sections=yes
66100 fi
66101 else
66102 glibcxx_gcsections_min_ld=21602
66103 if test x"$with_gnu_ld" = x"yes" &&
66104 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66105 glibcxx_have_gc_sections=yes
66106 fi
66107 fi
66108 if test "$glibcxx_have_gc_sections" = "yes"; then
66109 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66110 # NB: This flag only works reliably after 2.16.1. Configure tests
66111 # for this are difficult, so hard wire a value that should work.
66112
66113 ac_test_CFLAGS="${CFLAGS+set}"
66114 ac_save_CFLAGS="$CFLAGS"
66115 CFLAGS='-Wl,--gc-sections'
66116
66117 # Check for -Wl,--gc-sections
66118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66119 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66120 if test x$gcc_no_link = xyes; then
66121 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66122 fi
66123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66124 /* end confdefs.h. */
66125 int one(void) { return 1; }
66126 int two(void) { return 2; }
66127
66128 int
66129 main ()
66130 {
66131 two();
66132 ;
66133 return 0;
66134 }
66135 _ACEOF
66136 if ac_fn_c_try_link "$LINENO"; then :
66137 ac_gcsections=yes
66138 else
66139 ac_gcsections=no
66140 fi
66141 rm -f core conftest.err conftest.$ac_objext \
66142 conftest$ac_exeext conftest.$ac_ext
66143 if test "$ac_gcsections" = "yes"; then
66144 rm -f conftest.c
66145 touch conftest.c
66146 if $CC -c conftest.c; then
66147 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66148 grep "Warning: gc-sections option ignored" > /dev/null; then
66149 ac_gcsections=no
66150 fi
66151 fi
66152 rm -f conftest.c conftest.o conftest
66153 fi
66154 if test "$ac_gcsections" = "yes"; then
66155 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66156 fi
66157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66158 $as_echo "$ac_gcsections" >&6; }
66159
66160 if test "$ac_test_CFLAGS" = set; then
66161 CFLAGS="$ac_save_CFLAGS"
66162 else
66163 # this is the suspicious part
66164 CFLAGS=''
66165 fi
66166 fi
66167
66168 # Set -z,relro.
66169 # Note this is only for shared objects.
66170 ac_ld_relro=no
66171 if test x"$with_gnu_ld" = x"yes"; then
66172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66173 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66174 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66175 if test -n "$cxx_z_relo"; then
66176 OPT_LDFLAGS="-Wl,-z,relro"
66177 ac_ld_relro=yes
66178 fi
66179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66180 $as_echo "$ac_ld_relro" >&6; }
66181 fi
66182
66183 # Set linker optimization flags.
66184 if test x"$with_gnu_ld" = x"yes"; then
66185 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66186 fi
66187
66188
66189
66190
66191 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66192
66193 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66194
66195 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66196
66197 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66198
66199 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66200
66201 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66202
66203 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66204
66205 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66206
66207 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66208
66209 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66210
66211 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66212
66213 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66214
66215 ;;
66216 *-rtems*)
66217
66218 # All these tests are for C++; save the language and the compiler flags.
66219 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66220 # found in GLIBCXX_CONFIGURE.
66221
66222 ac_ext=cpp
66223 ac_cpp='$CXXCPP $CPPFLAGS'
66224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66227
66228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66229 ac_save_CXXFLAGS="$CXXFLAGS"
66230
66231 # Check for maintainer-mode bits.
66232 if test x"$USE_MAINTAINER_MODE" = xno; then
66233 WERROR=''
66234 else
66235 WERROR='-Werror'
66236 fi
66237
66238 # Check for -ffunction-sections -fdata-sections
66239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66240 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66241 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 int foo; void bar() { };
66245 int
66246 main ()
66247 {
66248
66249 ;
66250 return 0;
66251 }
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 ac_fdsections=yes
66255 else
66256 ac_fdsections=no
66257 fi
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 if test "$ac_test_CXXFLAGS" = set; then
66260 CXXFLAGS="$ac_save_CXXFLAGS"
66261 else
66262 # this is the suspicious part
66263 CXXFLAGS=''
66264 fi
66265 if test x"$ac_fdsections" = x"yes"; then
66266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66267 fi
66268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66269 $as_echo "$ac_fdsections" >&6; }
66270
66271 ac_ext=c
66272 ac_cpp='$CPP $CPPFLAGS'
66273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66276
66277
66278
66279
66280
66281 # If we're not using GNU ld, then there's no point in even trying these
66282 # tests. Check for that first. We should have already tested for gld
66283 # by now (in libtool), but require it now just to be safe...
66284 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66285 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66286
66287
66288
66289 # The name set by libtool depends on the version of libtool. Shame on us
66290 # for depending on an impl detail, but c'est la vie. Older versions used
66291 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66292 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66293 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66294 # set (hence we're using an older libtool), then set it.
66295 if test x${with_gnu_ld+set} != xset; then
66296 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66297 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66298 with_gnu_ld=no
66299 else
66300 with_gnu_ld=$ac_cv_prog_gnu_ld
66301 fi
66302 fi
66303
66304 # Start by getting the version number. I think the libtool test already
66305 # does some of this, but throws away the result.
66306 glibcxx_ld_is_gold=no
66307 if test x"$with_gnu_ld" = x"yes"; then
66308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66309 $as_echo_n "checking for ld version... " >&6; }
66310
66311 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66312 glibcxx_ld_is_gold=yes
66313 fi
66314 ldver=`$LD --version 2>/dev/null |
66315 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'`
66316
66317 glibcxx_gnu_ld_version=`echo $ldver | \
66318 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66320 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66321 fi
66322
66323 # Set --gc-sections.
66324 glibcxx_have_gc_sections=no
66325 if test "$glibcxx_ld_is_gold" = "yes"; then
66326 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66327 glibcxx_have_gc_sections=yes
66328 fi
66329 else
66330 glibcxx_gcsections_min_ld=21602
66331 if test x"$with_gnu_ld" = x"yes" &&
66332 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66333 glibcxx_have_gc_sections=yes
66334 fi
66335 fi
66336 if test "$glibcxx_have_gc_sections" = "yes"; then
66337 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66338 # NB: This flag only works reliably after 2.16.1. Configure tests
66339 # for this are difficult, so hard wire a value that should work.
66340
66341 ac_test_CFLAGS="${CFLAGS+set}"
66342 ac_save_CFLAGS="$CFLAGS"
66343 CFLAGS='-Wl,--gc-sections'
66344
66345 # Check for -Wl,--gc-sections
66346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66347 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66348 if test x$gcc_no_link = xyes; then
66349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66350 fi
66351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66352 /* end confdefs.h. */
66353 int one(void) { return 1; }
66354 int two(void) { return 2; }
66355
66356 int
66357 main ()
66358 {
66359 two();
66360 ;
66361 return 0;
66362 }
66363 _ACEOF
66364 if ac_fn_c_try_link "$LINENO"; then :
66365 ac_gcsections=yes
66366 else
66367 ac_gcsections=no
66368 fi
66369 rm -f core conftest.err conftest.$ac_objext \
66370 conftest$ac_exeext conftest.$ac_ext
66371 if test "$ac_gcsections" = "yes"; then
66372 rm -f conftest.c
66373 touch conftest.c
66374 if $CC -c conftest.c; then
66375 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66376 grep "Warning: gc-sections option ignored" > /dev/null; then
66377 ac_gcsections=no
66378 fi
66379 fi
66380 rm -f conftest.c conftest.o conftest
66381 fi
66382 if test "$ac_gcsections" = "yes"; then
66383 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66384 fi
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66386 $as_echo "$ac_gcsections" >&6; }
66387
66388 if test "$ac_test_CFLAGS" = set; then
66389 CFLAGS="$ac_save_CFLAGS"
66390 else
66391 # this is the suspicious part
66392 CFLAGS=''
66393 fi
66394 fi
66395
66396 # Set -z,relro.
66397 # Note this is only for shared objects.
66398 ac_ld_relro=no
66399 if test x"$with_gnu_ld" = x"yes"; then
66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66401 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66402 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66403 if test -n "$cxx_z_relo"; then
66404 OPT_LDFLAGS="-Wl,-z,relro"
66405 ac_ld_relro=yes
66406 fi
66407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66408 $as_echo "$ac_ld_relro" >&6; }
66409 fi
66410
66411 # Set linker optimization flags.
66412 if test x"$with_gnu_ld" = x"yes"; then
66413 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66414 fi
66415
66416
66417
66418
66419
66420 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66421 ac_save_CXXFLAGS="$CXXFLAGS"
66422 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66423
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66425 $as_echo_n "checking for sin in -lm... " >&6; }
66426 if test "${ac_cv_lib_m_sin+set}" = set; then :
66427 $as_echo_n "(cached) " >&6
66428 else
66429 ac_check_lib_save_LIBS=$LIBS
66430 LIBS="-lm $LIBS"
66431 if test x$gcc_no_link = xyes; then
66432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66433 fi
66434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66435 /* end confdefs.h. */
66436
66437 /* Override any GCC internal prototype to avoid an error.
66438 Use char because int might match the return type of a GCC
66439 builtin and then its argument prototype would still apply. */
66440 #ifdef __cplusplus
66441 extern "C"
66442 #endif
66443 char sin ();
66444 int
66445 main ()
66446 {
66447 return sin ();
66448 ;
66449 return 0;
66450 }
66451 _ACEOF
66452 if ac_fn_c_try_link "$LINENO"; then :
66453 ac_cv_lib_m_sin=yes
66454 else
66455 ac_cv_lib_m_sin=no
66456 fi
66457 rm -f core conftest.err conftest.$ac_objext \
66458 conftest$ac_exeext conftest.$ac_ext
66459 LIBS=$ac_check_lib_save_LIBS
66460 fi
66461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66462 $as_echo "$ac_cv_lib_m_sin" >&6; }
66463 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66464 libm="-lm"
66465 fi
66466
66467 ac_save_LIBS="$LIBS"
66468 LIBS="$LIBS $libm"
66469
66470
66471
66472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66473 $as_echo_n "checking for isinf declaration... " >&6; }
66474 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66475 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66476 $as_echo_n "(cached) " >&6
66477 else
66478
66479
66480 ac_ext=cpp
66481 ac_cpp='$CXXCPP $CPPFLAGS'
66482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66485
66486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66487 /* end confdefs.h. */
66488 #include <math.h>
66489 #ifdef HAVE_IEEEFP_H
66490 #include <ieeefp.h>
66491 #endif
66492
66493 int
66494 main ()
66495 {
66496 isinf(0);
66497 ;
66498 return 0;
66499 }
66500 _ACEOF
66501 if ac_fn_cxx_try_compile "$LINENO"; then :
66502 glibcxx_cv_func_isinf_use=yes
66503 else
66504 glibcxx_cv_func_isinf_use=no
66505 fi
66506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66507 ac_ext=c
66508 ac_cpp='$CPP $CPPFLAGS'
66509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66512
66513
66514 fi
66515
66516 fi
66517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66518 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66519
66520 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66521 for ac_func in isinf
66522 do :
66523 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66524 if test "x$ac_cv_func_isinf" = x""yes; then :
66525 cat >>confdefs.h <<_ACEOF
66526 #define HAVE_ISINF 1
66527 _ACEOF
66528
66529 fi
66530 done
66531
66532 else
66533
66534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66535 $as_echo_n "checking for _isinf declaration... " >&6; }
66536 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66537 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66538 $as_echo_n "(cached) " >&6
66539 else
66540
66541
66542 ac_ext=cpp
66543 ac_cpp='$CXXCPP $CPPFLAGS'
66544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66547
66548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66549 /* end confdefs.h. */
66550 #include <math.h>
66551 #ifdef HAVE_IEEEFP_H
66552 #include <ieeefp.h>
66553 #endif
66554
66555 int
66556 main ()
66557 {
66558 _isinf(0);
66559 ;
66560 return 0;
66561 }
66562 _ACEOF
66563 if ac_fn_cxx_try_compile "$LINENO"; then :
66564 glibcxx_cv_func__isinf_use=yes
66565 else
66566 glibcxx_cv_func__isinf_use=no
66567 fi
66568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66569 ac_ext=c
66570 ac_cpp='$CPP $CPPFLAGS'
66571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66574
66575
66576 fi
66577
66578 fi
66579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66580 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66581
66582 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66583 for ac_func in _isinf
66584 do :
66585 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66586 if test "x$ac_cv_func__isinf" = x""yes; then :
66587 cat >>confdefs.h <<_ACEOF
66588 #define HAVE__ISINF 1
66589 _ACEOF
66590
66591 fi
66592 done
66593
66594 fi
66595 fi
66596
66597
66598
66599
66600
66601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66602 $as_echo_n "checking for isnan declaration... " >&6; }
66603 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66604 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66605 $as_echo_n "(cached) " >&6
66606 else
66607
66608
66609 ac_ext=cpp
66610 ac_cpp='$CXXCPP $CPPFLAGS'
66611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66614
66615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66616 /* end confdefs.h. */
66617 #include <math.h>
66618 #ifdef HAVE_IEEEFP_H
66619 #include <ieeefp.h>
66620 #endif
66621
66622 int
66623 main ()
66624 {
66625 isnan(0);
66626 ;
66627 return 0;
66628 }
66629 _ACEOF
66630 if ac_fn_cxx_try_compile "$LINENO"; then :
66631 glibcxx_cv_func_isnan_use=yes
66632 else
66633 glibcxx_cv_func_isnan_use=no
66634 fi
66635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66636 ac_ext=c
66637 ac_cpp='$CPP $CPPFLAGS'
66638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66641
66642
66643 fi
66644
66645 fi
66646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66647 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66648
66649 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66650 for ac_func in isnan
66651 do :
66652 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66653 if test "x$ac_cv_func_isnan" = x""yes; then :
66654 cat >>confdefs.h <<_ACEOF
66655 #define HAVE_ISNAN 1
66656 _ACEOF
66657
66658 fi
66659 done
66660
66661 else
66662
66663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66664 $as_echo_n "checking for _isnan declaration... " >&6; }
66665 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66666 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66667 $as_echo_n "(cached) " >&6
66668 else
66669
66670
66671 ac_ext=cpp
66672 ac_cpp='$CXXCPP $CPPFLAGS'
66673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66676
66677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66678 /* end confdefs.h. */
66679 #include <math.h>
66680 #ifdef HAVE_IEEEFP_H
66681 #include <ieeefp.h>
66682 #endif
66683
66684 int
66685 main ()
66686 {
66687 _isnan(0);
66688 ;
66689 return 0;
66690 }
66691 _ACEOF
66692 if ac_fn_cxx_try_compile "$LINENO"; then :
66693 glibcxx_cv_func__isnan_use=yes
66694 else
66695 glibcxx_cv_func__isnan_use=no
66696 fi
66697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66698 ac_ext=c
66699 ac_cpp='$CPP $CPPFLAGS'
66700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66703
66704
66705 fi
66706
66707 fi
66708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66709 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66710
66711 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66712 for ac_func in _isnan
66713 do :
66714 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66715 if test "x$ac_cv_func__isnan" = x""yes; then :
66716 cat >>confdefs.h <<_ACEOF
66717 #define HAVE__ISNAN 1
66718 _ACEOF
66719
66720 fi
66721 done
66722
66723 fi
66724 fi
66725
66726
66727
66728
66729
66730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66731 $as_echo_n "checking for finite declaration... " >&6; }
66732 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66733 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66734 $as_echo_n "(cached) " >&6
66735 else
66736
66737
66738 ac_ext=cpp
66739 ac_cpp='$CXXCPP $CPPFLAGS'
66740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66743
66744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66745 /* end confdefs.h. */
66746 #include <math.h>
66747 #ifdef HAVE_IEEEFP_H
66748 #include <ieeefp.h>
66749 #endif
66750
66751 int
66752 main ()
66753 {
66754 finite(0);
66755 ;
66756 return 0;
66757 }
66758 _ACEOF
66759 if ac_fn_cxx_try_compile "$LINENO"; then :
66760 glibcxx_cv_func_finite_use=yes
66761 else
66762 glibcxx_cv_func_finite_use=no
66763 fi
66764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66765 ac_ext=c
66766 ac_cpp='$CPP $CPPFLAGS'
66767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66770
66771
66772 fi
66773
66774 fi
66775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66776 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66777
66778 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66779 for ac_func in finite
66780 do :
66781 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66782 if test "x$ac_cv_func_finite" = x""yes; then :
66783 cat >>confdefs.h <<_ACEOF
66784 #define HAVE_FINITE 1
66785 _ACEOF
66786
66787 fi
66788 done
66789
66790 else
66791
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66793 $as_echo_n "checking for _finite declaration... " >&6; }
66794 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66795 if test "${glibcxx_cv_func__finite_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 _finite(0);
66817 ;
66818 return 0;
66819 }
66820 _ACEOF
66821 if ac_fn_cxx_try_compile "$LINENO"; then :
66822 glibcxx_cv_func__finite_use=yes
66823 else
66824 glibcxx_cv_func__finite_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__finite_use" >&5
66838 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66839
66840 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66841 for ac_func in _finite
66842 do :
66843 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66844 if test "x$ac_cv_func__finite" = x""yes; then :
66845 cat >>confdefs.h <<_ACEOF
66846 #define HAVE__FINITE 1
66847 _ACEOF
66848
66849 fi
66850 done
66851
66852 fi
66853 fi
66854
66855
66856
66857
66858
66859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66860 $as_echo_n "checking for sincos declaration... " >&6; }
66861 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66862 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66863 $as_echo_n "(cached) " >&6
66864 else
66865
66866
66867 ac_ext=cpp
66868 ac_cpp='$CXXCPP $CPPFLAGS'
66869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66872
66873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66874 /* end confdefs.h. */
66875 #include <math.h>
66876 int
66877 main ()
66878 {
66879 sincos(0, 0, 0);
66880 ;
66881 return 0;
66882 }
66883 _ACEOF
66884 if ac_fn_cxx_try_compile "$LINENO"; then :
66885 glibcxx_cv_func_sincos_use=yes
66886 else
66887 glibcxx_cv_func_sincos_use=no
66888 fi
66889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66890 ac_ext=c
66891 ac_cpp='$CPP $CPPFLAGS'
66892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66895
66896
66897 fi
66898
66899 fi
66900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66901 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66902
66903 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66904 for ac_func in sincos
66905 do :
66906 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66907 if test "x$ac_cv_func_sincos" = x""yes; then :
66908 cat >>confdefs.h <<_ACEOF
66909 #define HAVE_SINCOS 1
66910 _ACEOF
66911
66912 fi
66913 done
66914
66915 else
66916
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66918 $as_echo_n "checking for _sincos declaration... " >&6; }
66919 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66920 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66921 $as_echo_n "(cached) " >&6
66922 else
66923
66924
66925 ac_ext=cpp
66926 ac_cpp='$CXXCPP $CPPFLAGS'
66927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930
66931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66932 /* end confdefs.h. */
66933 #include <math.h>
66934 int
66935 main ()
66936 {
66937 _sincos(0, 0, 0);
66938 ;
66939 return 0;
66940 }
66941 _ACEOF
66942 if ac_fn_cxx_try_compile "$LINENO"; then :
66943 glibcxx_cv_func__sincos_use=yes
66944 else
66945 glibcxx_cv_func__sincos_use=no
66946 fi
66947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66948 ac_ext=c
66949 ac_cpp='$CPP $CPPFLAGS'
66950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66953
66954
66955 fi
66956
66957 fi
66958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66959 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66960
66961 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66962 for ac_func in _sincos
66963 do :
66964 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66965 if test "x$ac_cv_func__sincos" = x""yes; then :
66966 cat >>confdefs.h <<_ACEOF
66967 #define HAVE__SINCOS 1
66968 _ACEOF
66969
66970 fi
66971 done
66972
66973 fi
66974 fi
66975
66976
66977
66978
66979
66980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66981 $as_echo_n "checking for fpclass declaration... " >&6; }
66982 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66983 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66984 $as_echo_n "(cached) " >&6
66985 else
66986
66987
66988 ac_ext=cpp
66989 ac_cpp='$CXXCPP $CPPFLAGS'
66990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66993
66994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66995 /* end confdefs.h. */
66996 #include <math.h>
66997 #ifdef HAVE_IEEEFP_H
66998 #include <ieeefp.h>
66999 #endif
67000
67001 int
67002 main ()
67003 {
67004 fpclass(0);
67005 ;
67006 return 0;
67007 }
67008 _ACEOF
67009 if ac_fn_cxx_try_compile "$LINENO"; then :
67010 glibcxx_cv_func_fpclass_use=yes
67011 else
67012 glibcxx_cv_func_fpclass_use=no
67013 fi
67014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67015 ac_ext=c
67016 ac_cpp='$CPP $CPPFLAGS'
67017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67020
67021
67022 fi
67023
67024 fi
67025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67026 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67027
67028 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67029 for ac_func in fpclass
67030 do :
67031 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67032 if test "x$ac_cv_func_fpclass" = x""yes; then :
67033 cat >>confdefs.h <<_ACEOF
67034 #define HAVE_FPCLASS 1
67035 _ACEOF
67036
67037 fi
67038 done
67039
67040 else
67041
67042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67043 $as_echo_n "checking for _fpclass declaration... " >&6; }
67044 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67045 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67046 $as_echo_n "(cached) " >&6
67047 else
67048
67049
67050 ac_ext=cpp
67051 ac_cpp='$CXXCPP $CPPFLAGS'
67052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67055
67056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67057 /* end confdefs.h. */
67058 #include <math.h>
67059 #ifdef HAVE_IEEEFP_H
67060 #include <ieeefp.h>
67061 #endif
67062
67063 int
67064 main ()
67065 {
67066 _fpclass(0);
67067 ;
67068 return 0;
67069 }
67070 _ACEOF
67071 if ac_fn_cxx_try_compile "$LINENO"; then :
67072 glibcxx_cv_func__fpclass_use=yes
67073 else
67074 glibcxx_cv_func__fpclass_use=no
67075 fi
67076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67077 ac_ext=c
67078 ac_cpp='$CPP $CPPFLAGS'
67079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67082
67083
67084 fi
67085
67086 fi
67087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67088 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67089
67090 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67091 for ac_func in _fpclass
67092 do :
67093 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67094 if test "x$ac_cv_func__fpclass" = x""yes; then :
67095 cat >>confdefs.h <<_ACEOF
67096 #define HAVE__FPCLASS 1
67097 _ACEOF
67098
67099 fi
67100 done
67101
67102 fi
67103 fi
67104
67105
67106
67107
67108
67109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67110 $as_echo_n "checking for qfpclass declaration... " >&6; }
67111 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67112 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67113 $as_echo_n "(cached) " >&6
67114 else
67115
67116
67117 ac_ext=cpp
67118 ac_cpp='$CXXCPP $CPPFLAGS'
67119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67122
67123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67124 /* end confdefs.h. */
67125 #include <math.h>
67126 #ifdef HAVE_IEEEFP_H
67127 #include <ieeefp.h>
67128 #endif
67129
67130 int
67131 main ()
67132 {
67133 qfpclass(0);
67134 ;
67135 return 0;
67136 }
67137 _ACEOF
67138 if ac_fn_cxx_try_compile "$LINENO"; then :
67139 glibcxx_cv_func_qfpclass_use=yes
67140 else
67141 glibcxx_cv_func_qfpclass_use=no
67142 fi
67143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67144 ac_ext=c
67145 ac_cpp='$CPP $CPPFLAGS'
67146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67149
67150
67151 fi
67152
67153 fi
67154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67155 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67156
67157 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67158 for ac_func in qfpclass
67159 do :
67160 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67161 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67162 cat >>confdefs.h <<_ACEOF
67163 #define HAVE_QFPCLASS 1
67164 _ACEOF
67165
67166 fi
67167 done
67168
67169 else
67170
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67172 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67173 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67174 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67175 $as_echo_n "(cached) " >&6
67176 else
67177
67178
67179 ac_ext=cpp
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184
67185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67186 /* end confdefs.h. */
67187 #include <math.h>
67188 #ifdef HAVE_IEEEFP_H
67189 #include <ieeefp.h>
67190 #endif
67191
67192 int
67193 main ()
67194 {
67195 _qfpclass(0);
67196 ;
67197 return 0;
67198 }
67199 _ACEOF
67200 if ac_fn_cxx_try_compile "$LINENO"; then :
67201 glibcxx_cv_func__qfpclass_use=yes
67202 else
67203 glibcxx_cv_func__qfpclass_use=no
67204 fi
67205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67206 ac_ext=c
67207 ac_cpp='$CPP $CPPFLAGS'
67208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67211
67212
67213 fi
67214
67215 fi
67216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67217 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67218
67219 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67220 for ac_func in _qfpclass
67221 do :
67222 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67223 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67224 cat >>confdefs.h <<_ACEOF
67225 #define HAVE__QFPCLASS 1
67226 _ACEOF
67227
67228 fi
67229 done
67230
67231 fi
67232 fi
67233
67234
67235
67236
67237
67238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67239 $as_echo_n "checking for hypot declaration... " >&6; }
67240 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67241 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67242 $as_echo_n "(cached) " >&6
67243 else
67244
67245
67246 ac_ext=cpp
67247 ac_cpp='$CXXCPP $CPPFLAGS'
67248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67251
67252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67253 /* end confdefs.h. */
67254 #include <math.h>
67255 int
67256 main ()
67257 {
67258 hypot(0, 0);
67259 ;
67260 return 0;
67261 }
67262 _ACEOF
67263 if ac_fn_cxx_try_compile "$LINENO"; then :
67264 glibcxx_cv_func_hypot_use=yes
67265 else
67266 glibcxx_cv_func_hypot_use=no
67267 fi
67268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67269 ac_ext=c
67270 ac_cpp='$CPP $CPPFLAGS'
67271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67274
67275
67276 fi
67277
67278 fi
67279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67280 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67281
67282 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67283 for ac_func in hypot
67284 do :
67285 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67286 if test "x$ac_cv_func_hypot" = x""yes; then :
67287 cat >>confdefs.h <<_ACEOF
67288 #define HAVE_HYPOT 1
67289 _ACEOF
67290
67291 fi
67292 done
67293
67294 else
67295
67296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67297 $as_echo_n "checking for _hypot declaration... " >&6; }
67298 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67299 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67300 $as_echo_n "(cached) " >&6
67301 else
67302
67303
67304 ac_ext=cpp
67305 ac_cpp='$CXXCPP $CPPFLAGS'
67306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67309
67310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67311 /* end confdefs.h. */
67312 #include <math.h>
67313 int
67314 main ()
67315 {
67316 _hypot(0, 0);
67317 ;
67318 return 0;
67319 }
67320 _ACEOF
67321 if ac_fn_cxx_try_compile "$LINENO"; then :
67322 glibcxx_cv_func__hypot_use=yes
67323 else
67324 glibcxx_cv_func__hypot_use=no
67325 fi
67326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67327 ac_ext=c
67328 ac_cpp='$CPP $CPPFLAGS'
67329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67332
67333
67334 fi
67335
67336 fi
67337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67338 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67339
67340 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67341 for ac_func in _hypot
67342 do :
67343 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67344 if test "x$ac_cv_func__hypot" = x""yes; then :
67345 cat >>confdefs.h <<_ACEOF
67346 #define HAVE__HYPOT 1
67347 _ACEOF
67348
67349 fi
67350 done
67351
67352 fi
67353 fi
67354
67355
67356
67357
67358
67359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67360 $as_echo_n "checking for float trig functions... " >&6; }
67361 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67362 $as_echo_n "(cached) " >&6
67363 else
67364
67365
67366 ac_ext=cpp
67367 ac_cpp='$CXXCPP $CPPFLAGS'
67368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67371
67372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67373 /* end confdefs.h. */
67374 #include <math.h>
67375 int
67376 main ()
67377 {
67378 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67379 ;
67380 return 0;
67381 }
67382 _ACEOF
67383 if ac_fn_cxx_try_compile "$LINENO"; then :
67384 glibcxx_cv_func_float_trig_use=yes
67385 else
67386 glibcxx_cv_func_float_trig_use=no
67387 fi
67388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67389 ac_ext=c
67390 ac_cpp='$CPP $CPPFLAGS'
67391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67394
67395 fi
67396
67397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67398 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67399 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67400 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67401 do :
67402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67404 eval as_val=\$$as_ac_var
67405 if test "x$as_val" = x""yes; then :
67406 cat >>confdefs.h <<_ACEOF
67407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67408 _ACEOF
67409
67410 fi
67411 done
67412
67413 else
67414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67415 $as_echo_n "checking for _float trig functions... " >&6; }
67416 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67417 $as_echo_n "(cached) " >&6
67418 else
67419
67420
67421 ac_ext=cpp
67422 ac_cpp='$CXXCPP $CPPFLAGS'
67423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67426
67427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67428 /* end confdefs.h. */
67429 #include <math.h>
67430 int
67431 main ()
67432 {
67433 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67434 ;
67435 return 0;
67436 }
67437 _ACEOF
67438 if ac_fn_cxx_try_compile "$LINENO"; then :
67439 glibcxx_cv_func__float_trig_use=yes
67440 else
67441 glibcxx_cv_func__float_trig_use=no
67442 fi
67443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 ac_ext=c
67445 ac_cpp='$CPP $CPPFLAGS'
67446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67449
67450 fi
67451
67452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67453 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67454 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67455 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67456 do :
67457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67459 eval as_val=\$$as_ac_var
67460 if test "x$as_val" = x""yes; then :
67461 cat >>confdefs.h <<_ACEOF
67462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67463 _ACEOF
67464
67465 fi
67466 done
67467
67468 fi
67469 fi
67470
67471
67472
67473
67474
67475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67476 $as_echo_n "checking for float round functions... " >&6; }
67477 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67478 $as_echo_n "(cached) " >&6
67479 else
67480
67481
67482 ac_ext=cpp
67483 ac_cpp='$CXXCPP $CPPFLAGS'
67484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67487
67488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67489 /* end confdefs.h. */
67490 #include <math.h>
67491 int
67492 main ()
67493 {
67494 ceilf (0); floorf (0);
67495 ;
67496 return 0;
67497 }
67498 _ACEOF
67499 if ac_fn_cxx_try_compile "$LINENO"; then :
67500 glibcxx_cv_func_float_round_use=yes
67501 else
67502 glibcxx_cv_func_float_round_use=no
67503 fi
67504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67505 ac_ext=c
67506 ac_cpp='$CPP $CPPFLAGS'
67507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67510
67511 fi
67512
67513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67514 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67515 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67516 for ac_func in ceilf floorf
67517 do :
67518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67520 eval as_val=\$$as_ac_var
67521 if test "x$as_val" = x""yes; then :
67522 cat >>confdefs.h <<_ACEOF
67523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67524 _ACEOF
67525
67526 fi
67527 done
67528
67529 else
67530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67531 $as_echo_n "checking for _float round functions... " >&6; }
67532 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67533 $as_echo_n "(cached) " >&6
67534 else
67535
67536
67537 ac_ext=cpp
67538 ac_cpp='$CXXCPP $CPPFLAGS'
67539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542
67543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67544 /* end confdefs.h. */
67545 #include <math.h>
67546 int
67547 main ()
67548 {
67549 _ceilf (0); _floorf (0);
67550 ;
67551 return 0;
67552 }
67553 _ACEOF
67554 if ac_fn_cxx_try_compile "$LINENO"; then :
67555 glibcxx_cv_func__float_round_use=yes
67556 else
67557 glibcxx_cv_func__float_round_use=no
67558 fi
67559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67560 ac_ext=c
67561 ac_cpp='$CPP $CPPFLAGS'
67562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67565
67566 fi
67567
67568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67569 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67570 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67571 for ac_func in _ceilf _floorf
67572 do :
67573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67575 eval as_val=\$$as_ac_var
67576 if test "x$as_val" = x""yes; then :
67577 cat >>confdefs.h <<_ACEOF
67578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67579 _ACEOF
67580
67581 fi
67582 done
67583
67584 fi
67585 fi
67586
67587
67588
67589
67590
67591
67592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67593 $as_echo_n "checking for expf declaration... " >&6; }
67594 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67595 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67596 $as_echo_n "(cached) " >&6
67597 else
67598
67599
67600 ac_ext=cpp
67601 ac_cpp='$CXXCPP $CPPFLAGS'
67602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67605
67606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67607 /* end confdefs.h. */
67608 #include <math.h>
67609 #ifdef HAVE_IEEEFP_H
67610 #include <ieeefp.h>
67611 #endif
67612
67613 int
67614 main ()
67615 {
67616 expf(0);
67617 ;
67618 return 0;
67619 }
67620 _ACEOF
67621 if ac_fn_cxx_try_compile "$LINENO"; then :
67622 glibcxx_cv_func_expf_use=yes
67623 else
67624 glibcxx_cv_func_expf_use=no
67625 fi
67626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67627 ac_ext=c
67628 ac_cpp='$CPP $CPPFLAGS'
67629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67632
67633
67634 fi
67635
67636 fi
67637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67638 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67639
67640 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67641 for ac_func in expf
67642 do :
67643 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67644 if test "x$ac_cv_func_expf" = x""yes; then :
67645 cat >>confdefs.h <<_ACEOF
67646 #define HAVE_EXPF 1
67647 _ACEOF
67648
67649 fi
67650 done
67651
67652 else
67653
67654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67655 $as_echo_n "checking for _expf declaration... " >&6; }
67656 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67657 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67658 $as_echo_n "(cached) " >&6
67659 else
67660
67661
67662 ac_ext=cpp
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667
67668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67669 /* end confdefs.h. */
67670 #include <math.h>
67671 #ifdef HAVE_IEEEFP_H
67672 #include <ieeefp.h>
67673 #endif
67674
67675 int
67676 main ()
67677 {
67678 _expf(0);
67679 ;
67680 return 0;
67681 }
67682 _ACEOF
67683 if ac_fn_cxx_try_compile "$LINENO"; then :
67684 glibcxx_cv_func__expf_use=yes
67685 else
67686 glibcxx_cv_func__expf_use=no
67687 fi
67688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67689 ac_ext=c
67690 ac_cpp='$CPP $CPPFLAGS'
67691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67694
67695
67696 fi
67697
67698 fi
67699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67700 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67701
67702 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67703 for ac_func in _expf
67704 do :
67705 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67706 if test "x$ac_cv_func__expf" = x""yes; then :
67707 cat >>confdefs.h <<_ACEOF
67708 #define HAVE__EXPF 1
67709 _ACEOF
67710
67711 fi
67712 done
67713
67714 fi
67715 fi
67716
67717
67718
67719
67720
67721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67722 $as_echo_n "checking for isnanf declaration... " >&6; }
67723 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67724 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67725 $as_echo_n "(cached) " >&6
67726 else
67727
67728
67729 ac_ext=cpp
67730 ac_cpp='$CXXCPP $CPPFLAGS'
67731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67734
67735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67736 /* end confdefs.h. */
67737 #include <math.h>
67738 #ifdef HAVE_IEEEFP_H
67739 #include <ieeefp.h>
67740 #endif
67741
67742 int
67743 main ()
67744 {
67745 isnanf(0);
67746 ;
67747 return 0;
67748 }
67749 _ACEOF
67750 if ac_fn_cxx_try_compile "$LINENO"; then :
67751 glibcxx_cv_func_isnanf_use=yes
67752 else
67753 glibcxx_cv_func_isnanf_use=no
67754 fi
67755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67756 ac_ext=c
67757 ac_cpp='$CPP $CPPFLAGS'
67758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67761
67762
67763 fi
67764
67765 fi
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67767 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67768
67769 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67770 for ac_func in isnanf
67771 do :
67772 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67773 if test "x$ac_cv_func_isnanf" = x""yes; then :
67774 cat >>confdefs.h <<_ACEOF
67775 #define HAVE_ISNANF 1
67776 _ACEOF
67777
67778 fi
67779 done
67780
67781 else
67782
67783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67784 $as_echo_n "checking for _isnanf declaration... " >&6; }
67785 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67786 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67787 $as_echo_n "(cached) " >&6
67788 else
67789
67790
67791 ac_ext=cpp
67792 ac_cpp='$CXXCPP $CPPFLAGS'
67793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796
67797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67798 /* end confdefs.h. */
67799 #include <math.h>
67800 #ifdef HAVE_IEEEFP_H
67801 #include <ieeefp.h>
67802 #endif
67803
67804 int
67805 main ()
67806 {
67807 _isnanf(0);
67808 ;
67809 return 0;
67810 }
67811 _ACEOF
67812 if ac_fn_cxx_try_compile "$LINENO"; then :
67813 glibcxx_cv_func__isnanf_use=yes
67814 else
67815 glibcxx_cv_func__isnanf_use=no
67816 fi
67817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67818 ac_ext=c
67819 ac_cpp='$CPP $CPPFLAGS'
67820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67823
67824
67825 fi
67826
67827 fi
67828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67829 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67830
67831 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67832 for ac_func in _isnanf
67833 do :
67834 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67835 if test "x$ac_cv_func__isnanf" = x""yes; then :
67836 cat >>confdefs.h <<_ACEOF
67837 #define HAVE__ISNANF 1
67838 _ACEOF
67839
67840 fi
67841 done
67842
67843 fi
67844 fi
67845
67846
67847
67848
67849
67850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67851 $as_echo_n "checking for isinff declaration... " >&6; }
67852 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67853 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67854 $as_echo_n "(cached) " >&6
67855 else
67856
67857
67858 ac_ext=cpp
67859 ac_cpp='$CXXCPP $CPPFLAGS'
67860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67863
67864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67865 /* end confdefs.h. */
67866 #include <math.h>
67867 #ifdef HAVE_IEEEFP_H
67868 #include <ieeefp.h>
67869 #endif
67870
67871 int
67872 main ()
67873 {
67874 isinff(0);
67875 ;
67876 return 0;
67877 }
67878 _ACEOF
67879 if ac_fn_cxx_try_compile "$LINENO"; then :
67880 glibcxx_cv_func_isinff_use=yes
67881 else
67882 glibcxx_cv_func_isinff_use=no
67883 fi
67884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67885 ac_ext=c
67886 ac_cpp='$CPP $CPPFLAGS'
67887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67890
67891
67892 fi
67893
67894 fi
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67896 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67897
67898 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67899 for ac_func in isinff
67900 do :
67901 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67902 if test "x$ac_cv_func_isinff" = x""yes; then :
67903 cat >>confdefs.h <<_ACEOF
67904 #define HAVE_ISINFF 1
67905 _ACEOF
67906
67907 fi
67908 done
67909
67910 else
67911
67912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67913 $as_echo_n "checking for _isinff declaration... " >&6; }
67914 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67915 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
67937 ;
67938 return 0;
67939 }
67940 _ACEOF
67941 if ac_fn_cxx_try_compile "$LINENO"; then :
67942 glibcxx_cv_func__isinff_use=yes
67943 else
67944 glibcxx_cv_func__isinff_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__isinff_use" >&5
67958 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67959
67960 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67961 for ac_func in _isinff
67962 do :
67963 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67964 if test "x$ac_cv_func__isinff" = x""yes; then :
67965 cat >>confdefs.h <<_ACEOF
67966 #define HAVE__ISINFF 1
67967 _ACEOF
67968
67969 fi
67970 done
67971
67972 fi
67973 fi
67974
67975
67976
67977
67978
67979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67980 $as_echo_n "checking for atan2f declaration... " >&6; }
67981 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67982 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67983 $as_echo_n "(cached) " >&6
67984 else
67985
67986
67987 ac_ext=cpp
67988 ac_cpp='$CXXCPP $CPPFLAGS'
67989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67992
67993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67994 /* end confdefs.h. */
67995 #include <math.h>
67996 int
67997 main ()
67998 {
67999 atan2f(0, 0);
68000 ;
68001 return 0;
68002 }
68003 _ACEOF
68004 if ac_fn_cxx_try_compile "$LINENO"; then :
68005 glibcxx_cv_func_atan2f_use=yes
68006 else
68007 glibcxx_cv_func_atan2f_use=no
68008 fi
68009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68010 ac_ext=c
68011 ac_cpp='$CPP $CPPFLAGS'
68012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68015
68016
68017 fi
68018
68019 fi
68020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68021 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68022
68023 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68024 for ac_func in atan2f
68025 do :
68026 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68027 if test "x$ac_cv_func_atan2f" = x""yes; then :
68028 cat >>confdefs.h <<_ACEOF
68029 #define HAVE_ATAN2F 1
68030 _ACEOF
68031
68032 fi
68033 done
68034
68035 else
68036
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68038 $as_echo_n "checking for _atan2f declaration... " >&6; }
68039 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68040 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68041 $as_echo_n "(cached) " >&6
68042 else
68043
68044
68045 ac_ext=cpp
68046 ac_cpp='$CXXCPP $CPPFLAGS'
68047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68050
68051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68052 /* end confdefs.h. */
68053 #include <math.h>
68054 int
68055 main ()
68056 {
68057 _atan2f(0, 0);
68058 ;
68059 return 0;
68060 }
68061 _ACEOF
68062 if ac_fn_cxx_try_compile "$LINENO"; then :
68063 glibcxx_cv_func__atan2f_use=yes
68064 else
68065 glibcxx_cv_func__atan2f_use=no
68066 fi
68067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68068 ac_ext=c
68069 ac_cpp='$CPP $CPPFLAGS'
68070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68073
68074
68075 fi
68076
68077 fi
68078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68079 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68080
68081 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68082 for ac_func in _atan2f
68083 do :
68084 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68085 if test "x$ac_cv_func__atan2f" = x""yes; then :
68086 cat >>confdefs.h <<_ACEOF
68087 #define HAVE__ATAN2F 1
68088 _ACEOF
68089
68090 fi
68091 done
68092
68093 fi
68094 fi
68095
68096
68097
68098
68099
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68101 $as_echo_n "checking for fabsf declaration... " >&6; }
68102 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68103 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68104 $as_echo_n "(cached) " >&6
68105 else
68106
68107
68108 ac_ext=cpp
68109 ac_cpp='$CXXCPP $CPPFLAGS'
68110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68113
68114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68115 /* end confdefs.h. */
68116 #include <math.h>
68117 #ifdef HAVE_IEEEFP_H
68118 #include <ieeefp.h>
68119 #endif
68120
68121 int
68122 main ()
68123 {
68124 fabsf(0);
68125 ;
68126 return 0;
68127 }
68128 _ACEOF
68129 if ac_fn_cxx_try_compile "$LINENO"; then :
68130 glibcxx_cv_func_fabsf_use=yes
68131 else
68132 glibcxx_cv_func_fabsf_use=no
68133 fi
68134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68135 ac_ext=c
68136 ac_cpp='$CPP $CPPFLAGS'
68137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68140
68141
68142 fi
68143
68144 fi
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68146 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68147
68148 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68149 for ac_func in fabsf
68150 do :
68151 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68152 if test "x$ac_cv_func_fabsf" = x""yes; then :
68153 cat >>confdefs.h <<_ACEOF
68154 #define HAVE_FABSF 1
68155 _ACEOF
68156
68157 fi
68158 done
68159
68160 else
68161
68162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68163 $as_echo_n "checking for _fabsf declaration... " >&6; }
68164 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68165 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
68180 #include <ieeefp.h>
68181 #endif
68182
68183 int
68184 main ()
68185 {
68186 _fabsf(0);
68187 ;
68188 return 0;
68189 }
68190 _ACEOF
68191 if ac_fn_cxx_try_compile "$LINENO"; then :
68192 glibcxx_cv_func__fabsf_use=yes
68193 else
68194 glibcxx_cv_func__fabsf_use=no
68195 fi
68196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68197 ac_ext=c
68198 ac_cpp='$CPP $CPPFLAGS'
68199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68202
68203
68204 fi
68205
68206 fi
68207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68208 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68209
68210 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68211 for ac_func in _fabsf
68212 do :
68213 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68214 if test "x$ac_cv_func__fabsf" = x""yes; then :
68215 cat >>confdefs.h <<_ACEOF
68216 #define HAVE__FABSF 1
68217 _ACEOF
68218
68219 fi
68220 done
68221
68222 fi
68223 fi
68224
68225
68226
68227
68228
68229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68230 $as_echo_n "checking for fmodf declaration... " >&6; }
68231 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68232 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68233 $as_echo_n "(cached) " >&6
68234 else
68235
68236
68237 ac_ext=cpp
68238 ac_cpp='$CXXCPP $CPPFLAGS'
68239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68242
68243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68244 /* end confdefs.h. */
68245 #include <math.h>
68246 int
68247 main ()
68248 {
68249 fmodf(0, 0);
68250 ;
68251 return 0;
68252 }
68253 _ACEOF
68254 if ac_fn_cxx_try_compile "$LINENO"; then :
68255 glibcxx_cv_func_fmodf_use=yes
68256 else
68257 glibcxx_cv_func_fmodf_use=no
68258 fi
68259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68260 ac_ext=c
68261 ac_cpp='$CPP $CPPFLAGS'
68262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68265
68266
68267 fi
68268
68269 fi
68270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68271 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68272
68273 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68274 for ac_func in fmodf
68275 do :
68276 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68277 if test "x$ac_cv_func_fmodf" = x""yes; then :
68278 cat >>confdefs.h <<_ACEOF
68279 #define HAVE_FMODF 1
68280 _ACEOF
68281
68282 fi
68283 done
68284
68285 else
68286
68287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68288 $as_echo_n "checking for _fmodf declaration... " >&6; }
68289 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68290 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68291 $as_echo_n "(cached) " >&6
68292 else
68293
68294
68295 ac_ext=cpp
68296 ac_cpp='$CXXCPP $CPPFLAGS'
68297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68300
68301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68302 /* end confdefs.h. */
68303 #include <math.h>
68304 int
68305 main ()
68306 {
68307 _fmodf(0, 0);
68308 ;
68309 return 0;
68310 }
68311 _ACEOF
68312 if ac_fn_cxx_try_compile "$LINENO"; then :
68313 glibcxx_cv_func__fmodf_use=yes
68314 else
68315 glibcxx_cv_func__fmodf_use=no
68316 fi
68317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68318 ac_ext=c
68319 ac_cpp='$CPP $CPPFLAGS'
68320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68323
68324
68325 fi
68326
68327 fi
68328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68329 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68330
68331 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68332 for ac_func in _fmodf
68333 do :
68334 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68335 if test "x$ac_cv_func__fmodf" = x""yes; then :
68336 cat >>confdefs.h <<_ACEOF
68337 #define HAVE__FMODF 1
68338 _ACEOF
68339
68340 fi
68341 done
68342
68343 fi
68344 fi
68345
68346
68347
68348
68349
68350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68351 $as_echo_n "checking for frexpf declaration... " >&6; }
68352 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68353 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68354 $as_echo_n "(cached) " >&6
68355 else
68356
68357
68358 ac_ext=cpp
68359 ac_cpp='$CXXCPP $CPPFLAGS'
68360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68363
68364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68365 /* end confdefs.h. */
68366 #include <math.h>
68367 int
68368 main ()
68369 {
68370 frexpf(0, 0);
68371 ;
68372 return 0;
68373 }
68374 _ACEOF
68375 if ac_fn_cxx_try_compile "$LINENO"; then :
68376 glibcxx_cv_func_frexpf_use=yes
68377 else
68378 glibcxx_cv_func_frexpf_use=no
68379 fi
68380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68381 ac_ext=c
68382 ac_cpp='$CPP $CPPFLAGS'
68383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68386
68387
68388 fi
68389
68390 fi
68391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68392 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68393
68394 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68395 for ac_func in frexpf
68396 do :
68397 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68398 if test "x$ac_cv_func_frexpf" = x""yes; then :
68399 cat >>confdefs.h <<_ACEOF
68400 #define HAVE_FREXPF 1
68401 _ACEOF
68402
68403 fi
68404 done
68405
68406 else
68407
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68409 $as_echo_n "checking for _frexpf declaration... " >&6; }
68410 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68411 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68412 $as_echo_n "(cached) " >&6
68413 else
68414
68415
68416 ac_ext=cpp
68417 ac_cpp='$CXXCPP $CPPFLAGS'
68418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68421
68422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68423 /* end confdefs.h. */
68424 #include <math.h>
68425 int
68426 main ()
68427 {
68428 _frexpf(0, 0);
68429 ;
68430 return 0;
68431 }
68432 _ACEOF
68433 if ac_fn_cxx_try_compile "$LINENO"; then :
68434 glibcxx_cv_func__frexpf_use=yes
68435 else
68436 glibcxx_cv_func__frexpf_use=no
68437 fi
68438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68439 ac_ext=c
68440 ac_cpp='$CPP $CPPFLAGS'
68441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68444
68445
68446 fi
68447
68448 fi
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68450 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68451
68452 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68453 for ac_func in _frexpf
68454 do :
68455 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68456 if test "x$ac_cv_func__frexpf" = x""yes; then :
68457 cat >>confdefs.h <<_ACEOF
68458 #define HAVE__FREXPF 1
68459 _ACEOF
68460
68461 fi
68462 done
68463
68464 fi
68465 fi
68466
68467
68468
68469
68470
68471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68472 $as_echo_n "checking for hypotf declaration... " >&6; }
68473 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68474 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68475 $as_echo_n "(cached) " >&6
68476 else
68477
68478
68479 ac_ext=cpp
68480 ac_cpp='$CXXCPP $CPPFLAGS'
68481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68484
68485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68486 /* end confdefs.h. */
68487 #include <math.h>
68488 int
68489 main ()
68490 {
68491 hypotf(0, 0);
68492 ;
68493 return 0;
68494 }
68495 _ACEOF
68496 if ac_fn_cxx_try_compile "$LINENO"; then :
68497 glibcxx_cv_func_hypotf_use=yes
68498 else
68499 glibcxx_cv_func_hypotf_use=no
68500 fi
68501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68502 ac_ext=c
68503 ac_cpp='$CPP $CPPFLAGS'
68504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68507
68508
68509 fi
68510
68511 fi
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68513 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68514
68515 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68516 for ac_func in hypotf
68517 do :
68518 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68519 if test "x$ac_cv_func_hypotf" = x""yes; then :
68520 cat >>confdefs.h <<_ACEOF
68521 #define HAVE_HYPOTF 1
68522 _ACEOF
68523
68524 fi
68525 done
68526
68527 else
68528
68529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68530 $as_echo_n "checking for _hypotf declaration... " >&6; }
68531 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68532 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68533 $as_echo_n "(cached) " >&6
68534 else
68535
68536
68537 ac_ext=cpp
68538 ac_cpp='$CXXCPP $CPPFLAGS'
68539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68542
68543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68544 /* end confdefs.h. */
68545 #include <math.h>
68546 int
68547 main ()
68548 {
68549 _hypotf(0, 0);
68550 ;
68551 return 0;
68552 }
68553 _ACEOF
68554 if ac_fn_cxx_try_compile "$LINENO"; then :
68555 glibcxx_cv_func__hypotf_use=yes
68556 else
68557 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
68571 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68572
68573 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68574 for ac_func in _hypotf
68575 do :
68576 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68577 if test "x$ac_cv_func__hypotf" = x""yes; then :
68578 cat >>confdefs.h <<_ACEOF
68579 #define HAVE__HYPOTF 1
68580 _ACEOF
68581
68582 fi
68583 done
68584
68585 fi
68586 fi
68587
68588
68589
68590
68591
68592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68593 $as_echo_n "checking for ldexpf declaration... " >&6; }
68594 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68595 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68596 $as_echo_n "(cached) " >&6
68597 else
68598
68599
68600 ac_ext=cpp
68601 ac_cpp='$CXXCPP $CPPFLAGS'
68602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68605
68606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68607 /* end confdefs.h. */
68608 #include <math.h>
68609 int
68610 main ()
68611 {
68612 ldexpf(0, 0);
68613 ;
68614 return 0;
68615 }
68616 _ACEOF
68617 if ac_fn_cxx_try_compile "$LINENO"; then :
68618 glibcxx_cv_func_ldexpf_use=yes
68619 else
68620 glibcxx_cv_func_ldexpf_use=no
68621 fi
68622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68623 ac_ext=c
68624 ac_cpp='$CPP $CPPFLAGS'
68625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68628
68629
68630 fi
68631
68632 fi
68633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68634 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68635
68636 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68637 for ac_func in ldexpf
68638 do :
68639 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68640 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68641 cat >>confdefs.h <<_ACEOF
68642 #define HAVE_LDEXPF 1
68643 _ACEOF
68644
68645 fi
68646 done
68647
68648 else
68649
68650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68651 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68652 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68653 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68654 $as_echo_n "(cached) " >&6
68655 else
68656
68657
68658 ac_ext=cpp
68659 ac_cpp='$CXXCPP $CPPFLAGS'
68660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68663
68664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68665 /* end confdefs.h. */
68666 #include <math.h>
68667 int
68668 main ()
68669 {
68670 _ldexpf(0, 0);
68671 ;
68672 return 0;
68673 }
68674 _ACEOF
68675 if ac_fn_cxx_try_compile "$LINENO"; then :
68676 glibcxx_cv_func__ldexpf_use=yes
68677 else
68678 glibcxx_cv_func__ldexpf_use=no
68679 fi
68680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68681 ac_ext=c
68682 ac_cpp='$CPP $CPPFLAGS'
68683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686
68687
68688 fi
68689
68690 fi
68691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68692 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68693
68694 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68695 for ac_func in _ldexpf
68696 do :
68697 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68698 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68699 cat >>confdefs.h <<_ACEOF
68700 #define HAVE__LDEXPF 1
68701 _ACEOF
68702
68703 fi
68704 done
68705
68706 fi
68707 fi
68708
68709
68710
68711
68712
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68714 $as_echo_n "checking for logf declaration... " >&6; }
68715 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68716 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68717 $as_echo_n "(cached) " >&6
68718 else
68719
68720
68721 ac_ext=cpp
68722 ac_cpp='$CXXCPP $CPPFLAGS'
68723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68726
68727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68728 /* end confdefs.h. */
68729 #include <math.h>
68730 #ifdef HAVE_IEEEFP_H
68731 #include <ieeefp.h>
68732 #endif
68733
68734 int
68735 main ()
68736 {
68737 logf(0);
68738 ;
68739 return 0;
68740 }
68741 _ACEOF
68742 if ac_fn_cxx_try_compile "$LINENO"; then :
68743 glibcxx_cv_func_logf_use=yes
68744 else
68745 glibcxx_cv_func_logf_use=no
68746 fi
68747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68748 ac_ext=c
68749 ac_cpp='$CPP $CPPFLAGS'
68750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68753
68754
68755 fi
68756
68757 fi
68758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68759 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68760
68761 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68762 for ac_func in logf
68763 do :
68764 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68765 if test "x$ac_cv_func_logf" = x""yes; then :
68766 cat >>confdefs.h <<_ACEOF
68767 #define HAVE_LOGF 1
68768 _ACEOF
68769
68770 fi
68771 done
68772
68773 else
68774
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68776 $as_echo_n "checking for _logf declaration... " >&6; }
68777 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68778 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68779 $as_echo_n "(cached) " >&6
68780 else
68781
68782
68783 ac_ext=cpp
68784 ac_cpp='$CXXCPP $CPPFLAGS'
68785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68788
68789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68790 /* end confdefs.h. */
68791 #include <math.h>
68792 #ifdef HAVE_IEEEFP_H
68793 #include <ieeefp.h>
68794 #endif
68795
68796 int
68797 main ()
68798 {
68799 _logf(0);
68800 ;
68801 return 0;
68802 }
68803 _ACEOF
68804 if ac_fn_cxx_try_compile "$LINENO"; then :
68805 glibcxx_cv_func__logf_use=yes
68806 else
68807 glibcxx_cv_func__logf_use=no
68808 fi
68809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68810 ac_ext=c
68811 ac_cpp='$CPP $CPPFLAGS'
68812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68815
68816
68817 fi
68818
68819 fi
68820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68821 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68822
68823 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68824 for ac_func in _logf
68825 do :
68826 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68827 if test "x$ac_cv_func__logf" = x""yes; then :
68828 cat >>confdefs.h <<_ACEOF
68829 #define HAVE__LOGF 1
68830 _ACEOF
68831
68832 fi
68833 done
68834
68835 fi
68836 fi
68837
68838
68839
68840
68841
68842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68843 $as_echo_n "checking for log10f declaration... " >&6; }
68844 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68845 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68846 $as_echo_n "(cached) " >&6
68847 else
68848
68849
68850 ac_ext=cpp
68851 ac_cpp='$CXXCPP $CPPFLAGS'
68852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68855
68856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68857 /* end confdefs.h. */
68858 #include <math.h>
68859 #ifdef HAVE_IEEEFP_H
68860 #include <ieeefp.h>
68861 #endif
68862
68863 int
68864 main ()
68865 {
68866 log10f(0);
68867 ;
68868 return 0;
68869 }
68870 _ACEOF
68871 if ac_fn_cxx_try_compile "$LINENO"; then :
68872 glibcxx_cv_func_log10f_use=yes
68873 else
68874 glibcxx_cv_func_log10f_use=no
68875 fi
68876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68877 ac_ext=c
68878 ac_cpp='$CPP $CPPFLAGS'
68879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68882
68883
68884 fi
68885
68886 fi
68887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68888 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68889
68890 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68891 for ac_func in log10f
68892 do :
68893 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68894 if test "x$ac_cv_func_log10f" = x""yes; then :
68895 cat >>confdefs.h <<_ACEOF
68896 #define HAVE_LOG10F 1
68897 _ACEOF
68898
68899 fi
68900 done
68901
68902 else
68903
68904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68905 $as_echo_n "checking for _log10f declaration... " >&6; }
68906 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68907 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
68922 #include <ieeefp.h>
68923 #endif
68924
68925 int
68926 main ()
68927 {
68928 _log10f(0);
68929 ;
68930 return 0;
68931 }
68932 _ACEOF
68933 if ac_fn_cxx_try_compile "$LINENO"; then :
68934 glibcxx_cv_func__log10f_use=yes
68935 else
68936 glibcxx_cv_func__log10f_use=no
68937 fi
68938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68939 ac_ext=c
68940 ac_cpp='$CPP $CPPFLAGS'
68941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68944
68945
68946 fi
68947
68948 fi
68949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68950 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68951
68952 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68953 for ac_func in _log10f
68954 do :
68955 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68956 if test "x$ac_cv_func__log10f" = x""yes; then :
68957 cat >>confdefs.h <<_ACEOF
68958 #define HAVE__LOG10F 1
68959 _ACEOF
68960
68961 fi
68962 done
68963
68964 fi
68965 fi
68966
68967
68968
68969
68970
68971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68972 $as_echo_n "checking for modff declaration... " >&6; }
68973 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68974 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68975 $as_echo_n "(cached) " >&6
68976 else
68977
68978
68979 ac_ext=cpp
68980 ac_cpp='$CXXCPP $CPPFLAGS'
68981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68984
68985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68986 /* end confdefs.h. */
68987 #include <math.h>
68988 int
68989 main ()
68990 {
68991 modff(0, 0);
68992 ;
68993 return 0;
68994 }
68995 _ACEOF
68996 if ac_fn_cxx_try_compile "$LINENO"; then :
68997 glibcxx_cv_func_modff_use=yes
68998 else
68999 glibcxx_cv_func_modff_use=no
69000 fi
69001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69002 ac_ext=c
69003 ac_cpp='$CPP $CPPFLAGS'
69004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69007
69008
69009 fi
69010
69011 fi
69012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69013 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69014
69015 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69016 for ac_func in modff
69017 do :
69018 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69019 if test "x$ac_cv_func_modff" = x""yes; then :
69020 cat >>confdefs.h <<_ACEOF
69021 #define HAVE_MODFF 1
69022 _ACEOF
69023
69024 fi
69025 done
69026
69027 else
69028
69029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69030 $as_echo_n "checking for _modff declaration... " >&6; }
69031 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69032 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69033 $as_echo_n "(cached) " >&6
69034 else
69035
69036
69037 ac_ext=cpp
69038 ac_cpp='$CXXCPP $CPPFLAGS'
69039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69042
69043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69044 /* end confdefs.h. */
69045 #include <math.h>
69046 int
69047 main ()
69048 {
69049 _modff(0, 0);
69050 ;
69051 return 0;
69052 }
69053 _ACEOF
69054 if ac_fn_cxx_try_compile "$LINENO"; then :
69055 glibcxx_cv_func__modff_use=yes
69056 else
69057 glibcxx_cv_func__modff_use=no
69058 fi
69059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69060 ac_ext=c
69061 ac_cpp='$CPP $CPPFLAGS'
69062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69065
69066
69067 fi
69068
69069 fi
69070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69071 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69072
69073 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69074 for ac_func in _modff
69075 do :
69076 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69077 if test "x$ac_cv_func__modff" = x""yes; then :
69078 cat >>confdefs.h <<_ACEOF
69079 #define HAVE__MODFF 1
69080 _ACEOF
69081
69082 fi
69083 done
69084
69085 fi
69086 fi
69087
69088
69089
69090
69091
69092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69093 $as_echo_n "checking for modf declaration... " >&6; }
69094 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69095 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69096 $as_echo_n "(cached) " >&6
69097 else
69098
69099
69100 ac_ext=cpp
69101 ac_cpp='$CXXCPP $CPPFLAGS'
69102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69105
69106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69107 /* end confdefs.h. */
69108 #include <math.h>
69109 int
69110 main ()
69111 {
69112 modf(0, 0);
69113 ;
69114 return 0;
69115 }
69116 _ACEOF
69117 if ac_fn_cxx_try_compile "$LINENO"; then :
69118 glibcxx_cv_func_modf_use=yes
69119 else
69120 glibcxx_cv_func_modf_use=no
69121 fi
69122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69123 ac_ext=c
69124 ac_cpp='$CPP $CPPFLAGS'
69125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69128
69129
69130 fi
69131
69132 fi
69133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69134 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69135
69136 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69137 for ac_func in modf
69138 do :
69139 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69140 if test "x$ac_cv_func_modf" = x""yes; then :
69141 cat >>confdefs.h <<_ACEOF
69142 #define HAVE_MODF 1
69143 _ACEOF
69144
69145 fi
69146 done
69147
69148 else
69149
69150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69151 $as_echo_n "checking for _modf declaration... " >&6; }
69152 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69153 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69154 $as_echo_n "(cached) " >&6
69155 else
69156
69157
69158 ac_ext=cpp
69159 ac_cpp='$CXXCPP $CPPFLAGS'
69160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69163
69164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69165 /* end confdefs.h. */
69166 #include <math.h>
69167 int
69168 main ()
69169 {
69170 _modf(0, 0);
69171 ;
69172 return 0;
69173 }
69174 _ACEOF
69175 if ac_fn_cxx_try_compile "$LINENO"; then :
69176 glibcxx_cv_func__modf_use=yes
69177 else
69178 glibcxx_cv_func__modf_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__modf_use" >&5
69192 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69193
69194 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69195 for ac_func in _modf
69196 do :
69197 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69198 if test "x$ac_cv_func__modf" = x""yes; then :
69199 cat >>confdefs.h <<_ACEOF
69200 #define HAVE__MODF 1
69201 _ACEOF
69202
69203 fi
69204 done
69205
69206 fi
69207 fi
69208
69209
69210
69211
69212
69213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69214 $as_echo_n "checking for powf declaration... " >&6; }
69215 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69216 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69217 $as_echo_n "(cached) " >&6
69218 else
69219
69220
69221 ac_ext=cpp
69222 ac_cpp='$CXXCPP $CPPFLAGS'
69223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69226
69227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69228 /* end confdefs.h. */
69229 #include <math.h>
69230 int
69231 main ()
69232 {
69233 powf(0, 0);
69234 ;
69235 return 0;
69236 }
69237 _ACEOF
69238 if ac_fn_cxx_try_compile "$LINENO"; then :
69239 glibcxx_cv_func_powf_use=yes
69240 else
69241 glibcxx_cv_func_powf_use=no
69242 fi
69243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69244 ac_ext=c
69245 ac_cpp='$CPP $CPPFLAGS'
69246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69249
69250
69251 fi
69252
69253 fi
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69255 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69256
69257 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69258 for ac_func in powf
69259 do :
69260 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69261 if test "x$ac_cv_func_powf" = x""yes; then :
69262 cat >>confdefs.h <<_ACEOF
69263 #define HAVE_POWF 1
69264 _ACEOF
69265
69266 fi
69267 done
69268
69269 else
69270
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69272 $as_echo_n "checking for _powf declaration... " >&6; }
69273 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69274 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69275 $as_echo_n "(cached) " >&6
69276 else
69277
69278
69279 ac_ext=cpp
69280 ac_cpp='$CXXCPP $CPPFLAGS'
69281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284
69285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69286 /* end confdefs.h. */
69287 #include <math.h>
69288 int
69289 main ()
69290 {
69291 _powf(0, 0);
69292 ;
69293 return 0;
69294 }
69295 _ACEOF
69296 if ac_fn_cxx_try_compile "$LINENO"; then :
69297 glibcxx_cv_func__powf_use=yes
69298 else
69299 glibcxx_cv_func__powf_use=no
69300 fi
69301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69302 ac_ext=c
69303 ac_cpp='$CPP $CPPFLAGS'
69304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69307
69308
69309 fi
69310
69311 fi
69312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69313 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69314
69315 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69316 for ac_func in _powf
69317 do :
69318 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69319 if test "x$ac_cv_func__powf" = x""yes; then :
69320 cat >>confdefs.h <<_ACEOF
69321 #define HAVE__POWF 1
69322 _ACEOF
69323
69324 fi
69325 done
69326
69327 fi
69328 fi
69329
69330
69331
69332
69333
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69335 $as_echo_n "checking for sqrtf declaration... " >&6; }
69336 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69337 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69338 $as_echo_n "(cached) " >&6
69339 else
69340
69341
69342 ac_ext=cpp
69343 ac_cpp='$CXXCPP $CPPFLAGS'
69344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69347
69348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69349 /* end confdefs.h. */
69350 #include <math.h>
69351 #ifdef HAVE_IEEEFP_H
69352 #include <ieeefp.h>
69353 #endif
69354
69355 int
69356 main ()
69357 {
69358 sqrtf(0);
69359 ;
69360 return 0;
69361 }
69362 _ACEOF
69363 if ac_fn_cxx_try_compile "$LINENO"; then :
69364 glibcxx_cv_func_sqrtf_use=yes
69365 else
69366 glibcxx_cv_func_sqrtf_use=no
69367 fi
69368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69369 ac_ext=c
69370 ac_cpp='$CPP $CPPFLAGS'
69371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69374
69375
69376 fi
69377
69378 fi
69379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69380 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69381
69382 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69383 for ac_func in sqrtf
69384 do :
69385 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69386 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69387 cat >>confdefs.h <<_ACEOF
69388 #define HAVE_SQRTF 1
69389 _ACEOF
69390
69391 fi
69392 done
69393
69394 else
69395
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69397 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69398 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69399 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
69421 ;
69422 return 0;
69423 }
69424 _ACEOF
69425 if ac_fn_cxx_try_compile "$LINENO"; then :
69426 glibcxx_cv_func__sqrtf_use=yes
69427 else
69428 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
69442 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69443
69444 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69445 for ac_func in _sqrtf
69446 do :
69447 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69448 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69449 cat >>confdefs.h <<_ACEOF
69450 #define HAVE__SQRTF 1
69451 _ACEOF
69452
69453 fi
69454 done
69455
69456 fi
69457 fi
69458
69459
69460
69461
69462
69463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69464 $as_echo_n "checking for sincosf declaration... " >&6; }
69465 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69466 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69467 $as_echo_n "(cached) " >&6
69468 else
69469
69470
69471 ac_ext=cpp
69472 ac_cpp='$CXXCPP $CPPFLAGS'
69473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69476
69477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69478 /* end confdefs.h. */
69479 #include <math.h>
69480 int
69481 main ()
69482 {
69483 sincosf(0, 0, 0);
69484 ;
69485 return 0;
69486 }
69487 _ACEOF
69488 if ac_fn_cxx_try_compile "$LINENO"; then :
69489 glibcxx_cv_func_sincosf_use=yes
69490 else
69491 glibcxx_cv_func_sincosf_use=no
69492 fi
69493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69494 ac_ext=c
69495 ac_cpp='$CPP $CPPFLAGS'
69496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69499
69500
69501 fi
69502
69503 fi
69504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69505 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69506
69507 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69508 for ac_func in sincosf
69509 do :
69510 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69511 if test "x$ac_cv_func_sincosf" = x""yes; then :
69512 cat >>confdefs.h <<_ACEOF
69513 #define HAVE_SINCOSF 1
69514 _ACEOF
69515
69516 fi
69517 done
69518
69519 else
69520
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69522 $as_echo_n "checking for _sincosf declaration... " >&6; }
69523 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69524 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69525 $as_echo_n "(cached) " >&6
69526 else
69527
69528
69529 ac_ext=cpp
69530 ac_cpp='$CXXCPP $CPPFLAGS'
69531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69534
69535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69536 /* end confdefs.h. */
69537 #include <math.h>
69538 int
69539 main ()
69540 {
69541 _sincosf(0, 0, 0);
69542 ;
69543 return 0;
69544 }
69545 _ACEOF
69546 if ac_fn_cxx_try_compile "$LINENO"; then :
69547 glibcxx_cv_func__sincosf_use=yes
69548 else
69549 glibcxx_cv_func__sincosf_use=no
69550 fi
69551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69552 ac_ext=c
69553 ac_cpp='$CPP $CPPFLAGS'
69554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69557
69558
69559 fi
69560
69561 fi
69562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69563 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69564
69565 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69566 for ac_func in _sincosf
69567 do :
69568 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69569 if test "x$ac_cv_func__sincosf" = x""yes; then :
69570 cat >>confdefs.h <<_ACEOF
69571 #define HAVE__SINCOSF 1
69572 _ACEOF
69573
69574 fi
69575 done
69576
69577 fi
69578 fi
69579
69580
69581
69582
69583
69584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69585 $as_echo_n "checking for finitef declaration... " >&6; }
69586 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69587 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69588 $as_echo_n "(cached) " >&6
69589 else
69590
69591
69592 ac_ext=cpp
69593 ac_cpp='$CXXCPP $CPPFLAGS'
69594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69597
69598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69599 /* end confdefs.h. */
69600 #include <math.h>
69601 #ifdef HAVE_IEEEFP_H
69602 #include <ieeefp.h>
69603 #endif
69604
69605 int
69606 main ()
69607 {
69608 finitef(0);
69609 ;
69610 return 0;
69611 }
69612 _ACEOF
69613 if ac_fn_cxx_try_compile "$LINENO"; then :
69614 glibcxx_cv_func_finitef_use=yes
69615 else
69616 glibcxx_cv_func_finitef_use=no
69617 fi
69618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69619 ac_ext=c
69620 ac_cpp='$CPP $CPPFLAGS'
69621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69624
69625
69626 fi
69627
69628 fi
69629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69630 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69631
69632 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69633 for ac_func in finitef
69634 do :
69635 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69636 if test "x$ac_cv_func_finitef" = x""yes; then :
69637 cat >>confdefs.h <<_ACEOF
69638 #define HAVE_FINITEF 1
69639 _ACEOF
69640
69641 fi
69642 done
69643
69644 else
69645
69646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69647 $as_echo_n "checking for _finitef declaration... " >&6; }
69648 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69649 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69650 $as_echo_n "(cached) " >&6
69651 else
69652
69653
69654 ac_ext=cpp
69655 ac_cpp='$CXXCPP $CPPFLAGS'
69656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69659
69660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69661 /* end confdefs.h. */
69662 #include <math.h>
69663 #ifdef HAVE_IEEEFP_H
69664 #include <ieeefp.h>
69665 #endif
69666
69667 int
69668 main ()
69669 {
69670 _finitef(0);
69671 ;
69672 return 0;
69673 }
69674 _ACEOF
69675 if ac_fn_cxx_try_compile "$LINENO"; then :
69676 glibcxx_cv_func__finitef_use=yes
69677 else
69678 glibcxx_cv_func__finitef_use=no
69679 fi
69680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69681 ac_ext=c
69682 ac_cpp='$CPP $CPPFLAGS'
69683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69686
69687
69688 fi
69689
69690 fi
69691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69692 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69693
69694 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69695 for ac_func in _finitef
69696 do :
69697 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69698 if test "x$ac_cv_func__finitef" = x""yes; then :
69699 cat >>confdefs.h <<_ACEOF
69700 #define HAVE__FINITEF 1
69701 _ACEOF
69702
69703 fi
69704 done
69705
69706 fi
69707 fi
69708
69709
69710
69711
69712
69713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69714 $as_echo_n "checking for long double trig functions... " >&6; }
69715 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69716 $as_echo_n "(cached) " >&6
69717 else
69718
69719
69720 ac_ext=cpp
69721 ac_cpp='$CXXCPP $CPPFLAGS'
69722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725
69726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69727 /* end confdefs.h. */
69728 #include <math.h>
69729 int
69730 main ()
69731 {
69732 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69733 ;
69734 return 0;
69735 }
69736 _ACEOF
69737 if ac_fn_cxx_try_compile "$LINENO"; then :
69738 glibcxx_cv_func_long_double_trig_use=yes
69739 else
69740 glibcxx_cv_func_long_double_trig_use=no
69741 fi
69742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69743 ac_ext=c
69744 ac_cpp='$CPP $CPPFLAGS'
69745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69748
69749 fi
69750
69751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69752 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69753 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69754 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69755 do :
69756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69758 eval as_val=\$$as_ac_var
69759 if test "x$as_val" = x""yes; then :
69760 cat >>confdefs.h <<_ACEOF
69761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69762 _ACEOF
69763
69764 fi
69765 done
69766
69767 else
69768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69769 $as_echo_n "checking for _long double trig functions... " >&6; }
69770 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69771 $as_echo_n "(cached) " >&6
69772 else
69773
69774
69775 ac_ext=cpp
69776 ac_cpp='$CXXCPP $CPPFLAGS'
69777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69780
69781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69782 /* end confdefs.h. */
69783 #include <math.h>
69784 int
69785 main ()
69786 {
69787 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69788 ;
69789 return 0;
69790 }
69791 _ACEOF
69792 if ac_fn_cxx_try_compile "$LINENO"; then :
69793 glibcxx_cv_func__long_double_trig_use=yes
69794 else
69795 glibcxx_cv_func__long_double_trig_use=no
69796 fi
69797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69798 ac_ext=c
69799 ac_cpp='$CPP $CPPFLAGS'
69800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803
69804 fi
69805
69806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69807 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69808 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69809 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69810 do :
69811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69813 eval as_val=\$$as_ac_var
69814 if test "x$as_val" = x""yes; then :
69815 cat >>confdefs.h <<_ACEOF
69816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69817 _ACEOF
69818
69819 fi
69820 done
69821
69822 fi
69823 fi
69824
69825
69826
69827
69828
69829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69830 $as_echo_n "checking for long double round functions... " >&6; }
69831 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69832 $as_echo_n "(cached) " >&6
69833 else
69834
69835
69836 ac_ext=cpp
69837 ac_cpp='$CXXCPP $CPPFLAGS'
69838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69841
69842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69843 /* end confdefs.h. */
69844 #include <math.h>
69845 int
69846 main ()
69847 {
69848 ceill (0); floorl (0);
69849 ;
69850 return 0;
69851 }
69852 _ACEOF
69853 if ac_fn_cxx_try_compile "$LINENO"; then :
69854 glibcxx_cv_func_long_double_round_use=yes
69855 else
69856 glibcxx_cv_func_long_double_round_use=no
69857 fi
69858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69859 ac_ext=c
69860 ac_cpp='$CPP $CPPFLAGS'
69861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69864
69865 fi
69866
69867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69868 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69869 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69870 for ac_func in ceill floorl
69871 do :
69872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69874 eval as_val=\$$as_ac_var
69875 if test "x$as_val" = x""yes; then :
69876 cat >>confdefs.h <<_ACEOF
69877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69878 _ACEOF
69879
69880 fi
69881 done
69882
69883 else
69884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69885 $as_echo_n "checking for _long double round functions... " >&6; }
69886 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69887 $as_echo_n "(cached) " >&6
69888 else
69889
69890
69891 ac_ext=cpp
69892 ac_cpp='$CXXCPP $CPPFLAGS'
69893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69896
69897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69898 /* end confdefs.h. */
69899 #include <math.h>
69900 int
69901 main ()
69902 {
69903 _ceill (0); _floorl (0);
69904 ;
69905 return 0;
69906 }
69907 _ACEOF
69908 if ac_fn_cxx_try_compile "$LINENO"; then :
69909 glibcxx_cv_func__long_double_round_use=yes
69910 else
69911 glibcxx_cv_func__long_double_round_use=no
69912 fi
69913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69914 ac_ext=c
69915 ac_cpp='$CPP $CPPFLAGS'
69916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69919
69920 fi
69921
69922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69923 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69924 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69925 for ac_func in _ceill _floorl
69926 do :
69927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69929 eval as_val=\$$as_ac_var
69930 if test "x$as_val" = x""yes; then :
69931 cat >>confdefs.h <<_ACEOF
69932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69933 _ACEOF
69934
69935 fi
69936 done
69937
69938 fi
69939 fi
69940
69941
69942
69943
69944
69945
69946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69947 $as_echo_n "checking for isnanl declaration... " >&6; }
69948 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69949 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69950 $as_echo_n "(cached) " >&6
69951 else
69952
69953
69954 ac_ext=cpp
69955 ac_cpp='$CXXCPP $CPPFLAGS'
69956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69959
69960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69961 /* end confdefs.h. */
69962 #include <math.h>
69963 #ifdef HAVE_IEEEFP_H
69964 #include <ieeefp.h>
69965 #endif
69966
69967 int
69968 main ()
69969 {
69970 isnanl(0);
69971 ;
69972 return 0;
69973 }
69974 _ACEOF
69975 if ac_fn_cxx_try_compile "$LINENO"; then :
69976 glibcxx_cv_func_isnanl_use=yes
69977 else
69978 glibcxx_cv_func_isnanl_use=no
69979 fi
69980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69981 ac_ext=c
69982 ac_cpp='$CPP $CPPFLAGS'
69983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69986
69987
69988 fi
69989
69990 fi
69991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69992 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69993
69994 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69995 for ac_func in isnanl
69996 do :
69997 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69998 if test "x$ac_cv_func_isnanl" = x""yes; then :
69999 cat >>confdefs.h <<_ACEOF
70000 #define HAVE_ISNANL 1
70001 _ACEOF
70002
70003 fi
70004 done
70005
70006 else
70007
70008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70009 $as_echo_n "checking for _isnanl declaration... " >&6; }
70010 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70011 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70012 $as_echo_n "(cached) " >&6
70013 else
70014
70015
70016 ac_ext=cpp
70017 ac_cpp='$CXXCPP $CPPFLAGS'
70018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70021
70022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70023 /* end confdefs.h. */
70024 #include <math.h>
70025 #ifdef HAVE_IEEEFP_H
70026 #include <ieeefp.h>
70027 #endif
70028
70029 int
70030 main ()
70031 {
70032 _isnanl(0);
70033 ;
70034 return 0;
70035 }
70036 _ACEOF
70037 if ac_fn_cxx_try_compile "$LINENO"; then :
70038 glibcxx_cv_func__isnanl_use=yes
70039 else
70040 glibcxx_cv_func__isnanl_use=no
70041 fi
70042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70043 ac_ext=c
70044 ac_cpp='$CPP $CPPFLAGS'
70045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70048
70049
70050 fi
70051
70052 fi
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70054 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70055
70056 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70057 for ac_func in _isnanl
70058 do :
70059 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70060 if test "x$ac_cv_func__isnanl" = x""yes; then :
70061 cat >>confdefs.h <<_ACEOF
70062 #define HAVE__ISNANL 1
70063 _ACEOF
70064
70065 fi
70066 done
70067
70068 fi
70069 fi
70070
70071
70072
70073
70074
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70076 $as_echo_n "checking for isinfl declaration... " >&6; }
70077 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70078 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70079 $as_echo_n "(cached) " >&6
70080 else
70081
70082
70083 ac_ext=cpp
70084 ac_cpp='$CXXCPP $CPPFLAGS'
70085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70088
70089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70090 /* end confdefs.h. */
70091 #include <math.h>
70092 #ifdef HAVE_IEEEFP_H
70093 #include <ieeefp.h>
70094 #endif
70095
70096 int
70097 main ()
70098 {
70099 isinfl(0);
70100 ;
70101 return 0;
70102 }
70103 _ACEOF
70104 if ac_fn_cxx_try_compile "$LINENO"; then :
70105 glibcxx_cv_func_isinfl_use=yes
70106 else
70107 glibcxx_cv_func_isinfl_use=no
70108 fi
70109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70110 ac_ext=c
70111 ac_cpp='$CPP $CPPFLAGS'
70112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70115
70116
70117 fi
70118
70119 fi
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70121 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70122
70123 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70124 for ac_func in isinfl
70125 do :
70126 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70127 if test "x$ac_cv_func_isinfl" = x""yes; then :
70128 cat >>confdefs.h <<_ACEOF
70129 #define HAVE_ISINFL 1
70130 _ACEOF
70131
70132 fi
70133 done
70134
70135 else
70136
70137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70138 $as_echo_n "checking for _isinfl declaration... " >&6; }
70139 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70140 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
70162 ;
70163 return 0;
70164 }
70165 _ACEOF
70166 if ac_fn_cxx_try_compile "$LINENO"; then :
70167 glibcxx_cv_func__isinfl_use=yes
70168 else
70169 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
70183 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70184
70185 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70186 for ac_func in _isinfl
70187 do :
70188 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70189 if test "x$ac_cv_func__isinfl" = x""yes; then :
70190 cat >>confdefs.h <<_ACEOF
70191 #define HAVE__ISINFL 1
70192 _ACEOF
70193
70194 fi
70195 done
70196
70197 fi
70198 fi
70199
70200
70201
70202
70203
70204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70205 $as_echo_n "checking for atan2l declaration... " >&6; }
70206 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70207 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70208 $as_echo_n "(cached) " >&6
70209 else
70210
70211
70212 ac_ext=cpp
70213 ac_cpp='$CXXCPP $CPPFLAGS'
70214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70217
70218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70219 /* end confdefs.h. */
70220 #include <math.h>
70221 int
70222 main ()
70223 {
70224 atan2l(0, 0);
70225 ;
70226 return 0;
70227 }
70228 _ACEOF
70229 if ac_fn_cxx_try_compile "$LINENO"; then :
70230 glibcxx_cv_func_atan2l_use=yes
70231 else
70232 glibcxx_cv_func_atan2l_use=no
70233 fi
70234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70235 ac_ext=c
70236 ac_cpp='$CPP $CPPFLAGS'
70237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70240
70241
70242 fi
70243
70244 fi
70245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70246 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70247
70248 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70249 for ac_func in atan2l
70250 do :
70251 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70252 if test "x$ac_cv_func_atan2l" = x""yes; then :
70253 cat >>confdefs.h <<_ACEOF
70254 #define HAVE_ATAN2L 1
70255 _ACEOF
70256
70257 fi
70258 done
70259
70260 else
70261
70262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70263 $as_echo_n "checking for _atan2l declaration... " >&6; }
70264 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70265 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70266 $as_echo_n "(cached) " >&6
70267 else
70268
70269
70270 ac_ext=cpp
70271 ac_cpp='$CXXCPP $CPPFLAGS'
70272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70275
70276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70277 /* end confdefs.h. */
70278 #include <math.h>
70279 int
70280 main ()
70281 {
70282 _atan2l(0, 0);
70283 ;
70284 return 0;
70285 }
70286 _ACEOF
70287 if ac_fn_cxx_try_compile "$LINENO"; then :
70288 glibcxx_cv_func__atan2l_use=yes
70289 else
70290 glibcxx_cv_func__atan2l_use=no
70291 fi
70292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70293 ac_ext=c
70294 ac_cpp='$CPP $CPPFLAGS'
70295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70298
70299
70300 fi
70301
70302 fi
70303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70304 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70305
70306 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70307 for ac_func in _atan2l
70308 do :
70309 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70310 if test "x$ac_cv_func__atan2l" = x""yes; then :
70311 cat >>confdefs.h <<_ACEOF
70312 #define HAVE__ATAN2L 1
70313 _ACEOF
70314
70315 fi
70316 done
70317
70318 fi
70319 fi
70320
70321
70322
70323
70324
70325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70326 $as_echo_n "checking for expl declaration... " >&6; }
70327 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70328 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70329 $as_echo_n "(cached) " >&6
70330 else
70331
70332
70333 ac_ext=cpp
70334 ac_cpp='$CXXCPP $CPPFLAGS'
70335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70338
70339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70340 /* end confdefs.h. */
70341 #include <math.h>
70342 #ifdef HAVE_IEEEFP_H
70343 #include <ieeefp.h>
70344 #endif
70345
70346 int
70347 main ()
70348 {
70349 expl(0);
70350 ;
70351 return 0;
70352 }
70353 _ACEOF
70354 if ac_fn_cxx_try_compile "$LINENO"; then :
70355 glibcxx_cv_func_expl_use=yes
70356 else
70357 glibcxx_cv_func_expl_use=no
70358 fi
70359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70360 ac_ext=c
70361 ac_cpp='$CPP $CPPFLAGS'
70362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70365
70366
70367 fi
70368
70369 fi
70370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70371 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70372
70373 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70374 for ac_func in expl
70375 do :
70376 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70377 if test "x$ac_cv_func_expl" = x""yes; then :
70378 cat >>confdefs.h <<_ACEOF
70379 #define HAVE_EXPL 1
70380 _ACEOF
70381
70382 fi
70383 done
70384
70385 else
70386
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70388 $as_echo_n "checking for _expl declaration... " >&6; }
70389 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70390 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70391 $as_echo_n "(cached) " >&6
70392 else
70393
70394
70395 ac_ext=cpp
70396 ac_cpp='$CXXCPP $CPPFLAGS'
70397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70400
70401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70402 /* end confdefs.h. */
70403 #include <math.h>
70404 #ifdef HAVE_IEEEFP_H
70405 #include <ieeefp.h>
70406 #endif
70407
70408 int
70409 main ()
70410 {
70411 _expl(0);
70412 ;
70413 return 0;
70414 }
70415 _ACEOF
70416 if ac_fn_cxx_try_compile "$LINENO"; then :
70417 glibcxx_cv_func__expl_use=yes
70418 else
70419 glibcxx_cv_func__expl_use=no
70420 fi
70421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70422 ac_ext=c
70423 ac_cpp='$CPP $CPPFLAGS'
70424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70427
70428
70429 fi
70430
70431 fi
70432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70433 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70434
70435 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70436 for ac_func in _expl
70437 do :
70438 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70439 if test "x$ac_cv_func__expl" = x""yes; then :
70440 cat >>confdefs.h <<_ACEOF
70441 #define HAVE__EXPL 1
70442 _ACEOF
70443
70444 fi
70445 done
70446
70447 fi
70448 fi
70449
70450
70451
70452
70453
70454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70455 $as_echo_n "checking for fabsl declaration... " >&6; }
70456 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70457 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70458 $as_echo_n "(cached) " >&6
70459 else
70460
70461
70462 ac_ext=cpp
70463 ac_cpp='$CXXCPP $CPPFLAGS'
70464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70467
70468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70469 /* end confdefs.h. */
70470 #include <math.h>
70471 #ifdef HAVE_IEEEFP_H
70472 #include <ieeefp.h>
70473 #endif
70474
70475 int
70476 main ()
70477 {
70478 fabsl(0);
70479 ;
70480 return 0;
70481 }
70482 _ACEOF
70483 if ac_fn_cxx_try_compile "$LINENO"; then :
70484 glibcxx_cv_func_fabsl_use=yes
70485 else
70486 glibcxx_cv_func_fabsl_use=no
70487 fi
70488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70489 ac_ext=c
70490 ac_cpp='$CPP $CPPFLAGS'
70491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70494
70495
70496 fi
70497
70498 fi
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70500 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70501
70502 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70503 for ac_func in fabsl
70504 do :
70505 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70506 if test "x$ac_cv_func_fabsl" = x""yes; then :
70507 cat >>confdefs.h <<_ACEOF
70508 #define HAVE_FABSL 1
70509 _ACEOF
70510
70511 fi
70512 done
70513
70514 else
70515
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70517 $as_echo_n "checking for _fabsl declaration... " >&6; }
70518 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70519 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
70534 #include <ieeefp.h>
70535 #endif
70536
70537 int
70538 main ()
70539 {
70540 _fabsl(0);
70541 ;
70542 return 0;
70543 }
70544 _ACEOF
70545 if ac_fn_cxx_try_compile "$LINENO"; then :
70546 glibcxx_cv_func__fabsl_use=yes
70547 else
70548 glibcxx_cv_func__fabsl_use=no
70549 fi
70550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70551 ac_ext=c
70552 ac_cpp='$CPP $CPPFLAGS'
70553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70556
70557
70558 fi
70559
70560 fi
70561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70562 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70563
70564 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70565 for ac_func in _fabsl
70566 do :
70567 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70568 if test "x$ac_cv_func__fabsl" = x""yes; then :
70569 cat >>confdefs.h <<_ACEOF
70570 #define HAVE__FABSL 1
70571 _ACEOF
70572
70573 fi
70574 done
70575
70576 fi
70577 fi
70578
70579
70580
70581
70582
70583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70584 $as_echo_n "checking for fmodl declaration... " >&6; }
70585 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70586 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70587 $as_echo_n "(cached) " >&6
70588 else
70589
70590
70591 ac_ext=cpp
70592 ac_cpp='$CXXCPP $CPPFLAGS'
70593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70596
70597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70598 /* end confdefs.h. */
70599 #include <math.h>
70600 int
70601 main ()
70602 {
70603 fmodl(0, 0);
70604 ;
70605 return 0;
70606 }
70607 _ACEOF
70608 if ac_fn_cxx_try_compile "$LINENO"; then :
70609 glibcxx_cv_func_fmodl_use=yes
70610 else
70611 glibcxx_cv_func_fmodl_use=no
70612 fi
70613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70614 ac_ext=c
70615 ac_cpp='$CPP $CPPFLAGS'
70616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70619
70620
70621 fi
70622
70623 fi
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70625 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70626
70627 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70628 for ac_func in fmodl
70629 do :
70630 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70631 if test "x$ac_cv_func_fmodl" = x""yes; then :
70632 cat >>confdefs.h <<_ACEOF
70633 #define HAVE_FMODL 1
70634 _ACEOF
70635
70636 fi
70637 done
70638
70639 else
70640
70641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70642 $as_echo_n "checking for _fmodl declaration... " >&6; }
70643 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70644 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70645 $as_echo_n "(cached) " >&6
70646 else
70647
70648
70649 ac_ext=cpp
70650 ac_cpp='$CXXCPP $CPPFLAGS'
70651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70654
70655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70656 /* end confdefs.h. */
70657 #include <math.h>
70658 int
70659 main ()
70660 {
70661 _fmodl(0, 0);
70662 ;
70663 return 0;
70664 }
70665 _ACEOF
70666 if ac_fn_cxx_try_compile "$LINENO"; then :
70667 glibcxx_cv_func__fmodl_use=yes
70668 else
70669 glibcxx_cv_func__fmodl_use=no
70670 fi
70671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70672 ac_ext=c
70673 ac_cpp='$CPP $CPPFLAGS'
70674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70677
70678
70679 fi
70680
70681 fi
70682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70683 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70684
70685 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70686 for ac_func in _fmodl
70687 do :
70688 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70689 if test "x$ac_cv_func__fmodl" = x""yes; then :
70690 cat >>confdefs.h <<_ACEOF
70691 #define HAVE__FMODL 1
70692 _ACEOF
70693
70694 fi
70695 done
70696
70697 fi
70698 fi
70699
70700
70701
70702
70703
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70705 $as_echo_n "checking for frexpl declaration... " >&6; }
70706 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70707 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70708 $as_echo_n "(cached) " >&6
70709 else
70710
70711
70712 ac_ext=cpp
70713 ac_cpp='$CXXCPP $CPPFLAGS'
70714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70717
70718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70719 /* end confdefs.h. */
70720 #include <math.h>
70721 int
70722 main ()
70723 {
70724 frexpl(0, 0);
70725 ;
70726 return 0;
70727 }
70728 _ACEOF
70729 if ac_fn_cxx_try_compile "$LINENO"; then :
70730 glibcxx_cv_func_frexpl_use=yes
70731 else
70732 glibcxx_cv_func_frexpl_use=no
70733 fi
70734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70735 ac_ext=c
70736 ac_cpp='$CPP $CPPFLAGS'
70737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740
70741
70742 fi
70743
70744 fi
70745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70746 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70747
70748 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70749 for ac_func in frexpl
70750 do :
70751 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70752 if test "x$ac_cv_func_frexpl" = x""yes; then :
70753 cat >>confdefs.h <<_ACEOF
70754 #define HAVE_FREXPL 1
70755 _ACEOF
70756
70757 fi
70758 done
70759
70760 else
70761
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70763 $as_echo_n "checking for _frexpl declaration... " >&6; }
70764 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70765 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70766 $as_echo_n "(cached) " >&6
70767 else
70768
70769
70770 ac_ext=cpp
70771 ac_cpp='$CXXCPP $CPPFLAGS'
70772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775
70776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70777 /* end confdefs.h. */
70778 #include <math.h>
70779 int
70780 main ()
70781 {
70782 _frexpl(0, 0);
70783 ;
70784 return 0;
70785 }
70786 _ACEOF
70787 if ac_fn_cxx_try_compile "$LINENO"; then :
70788 glibcxx_cv_func__frexpl_use=yes
70789 else
70790 glibcxx_cv_func__frexpl_use=no
70791 fi
70792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70793 ac_ext=c
70794 ac_cpp='$CPP $CPPFLAGS'
70795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70798
70799
70800 fi
70801
70802 fi
70803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70804 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70805
70806 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70807 for ac_func in _frexpl
70808 do :
70809 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70810 if test "x$ac_cv_func__frexpl" = x""yes; then :
70811 cat >>confdefs.h <<_ACEOF
70812 #define HAVE__FREXPL 1
70813 _ACEOF
70814
70815 fi
70816 done
70817
70818 fi
70819 fi
70820
70821
70822
70823
70824
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70826 $as_echo_n "checking for hypotl declaration... " >&6; }
70827 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70828 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70829 $as_echo_n "(cached) " >&6
70830 else
70831
70832
70833 ac_ext=cpp
70834 ac_cpp='$CXXCPP $CPPFLAGS'
70835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70838
70839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70840 /* end confdefs.h. */
70841 #include <math.h>
70842 int
70843 main ()
70844 {
70845 hypotl(0, 0);
70846 ;
70847 return 0;
70848 }
70849 _ACEOF
70850 if ac_fn_cxx_try_compile "$LINENO"; then :
70851 glibcxx_cv_func_hypotl_use=yes
70852 else
70853 glibcxx_cv_func_hypotl_use=no
70854 fi
70855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70856 ac_ext=c
70857 ac_cpp='$CPP $CPPFLAGS'
70858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70861
70862
70863 fi
70864
70865 fi
70866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70867 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70868
70869 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70870 for ac_func in hypotl
70871 do :
70872 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70873 if test "x$ac_cv_func_hypotl" = x""yes; then :
70874 cat >>confdefs.h <<_ACEOF
70875 #define HAVE_HYPOTL 1
70876 _ACEOF
70877
70878 fi
70879 done
70880
70881 else
70882
70883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70884 $as_echo_n "checking for _hypotl declaration... " >&6; }
70885 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70886 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70887 $as_echo_n "(cached) " >&6
70888 else
70889
70890
70891 ac_ext=cpp
70892 ac_cpp='$CXXCPP $CPPFLAGS'
70893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70896
70897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70898 /* end confdefs.h. */
70899 #include <math.h>
70900 int
70901 main ()
70902 {
70903 _hypotl(0, 0);
70904 ;
70905 return 0;
70906 }
70907 _ACEOF
70908 if ac_fn_cxx_try_compile "$LINENO"; then :
70909 glibcxx_cv_func__hypotl_use=yes
70910 else
70911 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
70925 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70926
70927 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70928 for ac_func in _hypotl
70929 do :
70930 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70931 if test "x$ac_cv_func__hypotl" = x""yes; then :
70932 cat >>confdefs.h <<_ACEOF
70933 #define HAVE__HYPOTL 1
70934 _ACEOF
70935
70936 fi
70937 done
70938
70939 fi
70940 fi
70941
70942
70943
70944
70945
70946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70947 $as_echo_n "checking for ldexpl declaration... " >&6; }
70948 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70949 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70950 $as_echo_n "(cached) " >&6
70951 else
70952
70953
70954 ac_ext=cpp
70955 ac_cpp='$CXXCPP $CPPFLAGS'
70956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70959
70960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70961 /* end confdefs.h. */
70962 #include <math.h>
70963 int
70964 main ()
70965 {
70966 ldexpl(0, 0);
70967 ;
70968 return 0;
70969 }
70970 _ACEOF
70971 if ac_fn_cxx_try_compile "$LINENO"; then :
70972 glibcxx_cv_func_ldexpl_use=yes
70973 else
70974 glibcxx_cv_func_ldexpl_use=no
70975 fi
70976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70977 ac_ext=c
70978 ac_cpp='$CPP $CPPFLAGS'
70979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70982
70983
70984 fi
70985
70986 fi
70987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70988 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70989
70990 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70991 for ac_func in ldexpl
70992 do :
70993 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70994 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70995 cat >>confdefs.h <<_ACEOF
70996 #define HAVE_LDEXPL 1
70997 _ACEOF
70998
70999 fi
71000 done
71001
71002 else
71003
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71005 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71006 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71007 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71008 $as_echo_n "(cached) " >&6
71009 else
71010
71011
71012 ac_ext=cpp
71013 ac_cpp='$CXXCPP $CPPFLAGS'
71014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71017
71018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71019 /* end confdefs.h. */
71020 #include <math.h>
71021 int
71022 main ()
71023 {
71024 _ldexpl(0, 0);
71025 ;
71026 return 0;
71027 }
71028 _ACEOF
71029 if ac_fn_cxx_try_compile "$LINENO"; then :
71030 glibcxx_cv_func__ldexpl_use=yes
71031 else
71032 glibcxx_cv_func__ldexpl_use=no
71033 fi
71034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71035 ac_ext=c
71036 ac_cpp='$CPP $CPPFLAGS'
71037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71040
71041
71042 fi
71043
71044 fi
71045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71046 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71047
71048 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71049 for ac_func in _ldexpl
71050 do :
71051 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71052 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71053 cat >>confdefs.h <<_ACEOF
71054 #define HAVE__LDEXPL 1
71055 _ACEOF
71056
71057 fi
71058 done
71059
71060 fi
71061 fi
71062
71063
71064
71065
71066
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71068 $as_echo_n "checking for logl declaration... " >&6; }
71069 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71070 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71071 $as_echo_n "(cached) " >&6
71072 else
71073
71074
71075 ac_ext=cpp
71076 ac_cpp='$CXXCPP $CPPFLAGS'
71077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71080
71081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71082 /* end confdefs.h. */
71083 #include <math.h>
71084 #ifdef HAVE_IEEEFP_H
71085 #include <ieeefp.h>
71086 #endif
71087
71088 int
71089 main ()
71090 {
71091 logl(0);
71092 ;
71093 return 0;
71094 }
71095 _ACEOF
71096 if ac_fn_cxx_try_compile "$LINENO"; then :
71097 glibcxx_cv_func_logl_use=yes
71098 else
71099 glibcxx_cv_func_logl_use=no
71100 fi
71101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71102 ac_ext=c
71103 ac_cpp='$CPP $CPPFLAGS'
71104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71107
71108
71109 fi
71110
71111 fi
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71113 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71114
71115 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71116 for ac_func in logl
71117 do :
71118 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71119 if test "x$ac_cv_func_logl" = x""yes; then :
71120 cat >>confdefs.h <<_ACEOF
71121 #define HAVE_LOGL 1
71122 _ACEOF
71123
71124 fi
71125 done
71126
71127 else
71128
71129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71130 $as_echo_n "checking for _logl declaration... " >&6; }
71131 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71132 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71133 $as_echo_n "(cached) " >&6
71134 else
71135
71136
71137 ac_ext=cpp
71138 ac_cpp='$CXXCPP $CPPFLAGS'
71139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71142
71143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71144 /* end confdefs.h. */
71145 #include <math.h>
71146 #ifdef HAVE_IEEEFP_H
71147 #include <ieeefp.h>
71148 #endif
71149
71150 int
71151 main ()
71152 {
71153 _logl(0);
71154 ;
71155 return 0;
71156 }
71157 _ACEOF
71158 if ac_fn_cxx_try_compile "$LINENO"; then :
71159 glibcxx_cv_func__logl_use=yes
71160 else
71161 glibcxx_cv_func__logl_use=no
71162 fi
71163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71164 ac_ext=c
71165 ac_cpp='$CPP $CPPFLAGS'
71166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71169
71170
71171 fi
71172
71173 fi
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71175 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71176
71177 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71178 for ac_func in _logl
71179 do :
71180 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71181 if test "x$ac_cv_func__logl" = x""yes; then :
71182 cat >>confdefs.h <<_ACEOF
71183 #define HAVE__LOGL 1
71184 _ACEOF
71185
71186 fi
71187 done
71188
71189 fi
71190 fi
71191
71192
71193
71194
71195
71196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71197 $as_echo_n "checking for log10l declaration... " >&6; }
71198 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71199 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71200 $as_echo_n "(cached) " >&6
71201 else
71202
71203
71204 ac_ext=cpp
71205 ac_cpp='$CXXCPP $CPPFLAGS'
71206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71209
71210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71211 /* end confdefs.h. */
71212 #include <math.h>
71213 #ifdef HAVE_IEEEFP_H
71214 #include <ieeefp.h>
71215 #endif
71216
71217 int
71218 main ()
71219 {
71220 log10l(0);
71221 ;
71222 return 0;
71223 }
71224 _ACEOF
71225 if ac_fn_cxx_try_compile "$LINENO"; then :
71226 glibcxx_cv_func_log10l_use=yes
71227 else
71228 glibcxx_cv_func_log10l_use=no
71229 fi
71230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71231 ac_ext=c
71232 ac_cpp='$CPP $CPPFLAGS'
71233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71236
71237
71238 fi
71239
71240 fi
71241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71242 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71243
71244 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71245 for ac_func in log10l
71246 do :
71247 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71248 if test "x$ac_cv_func_log10l" = x""yes; then :
71249 cat >>confdefs.h <<_ACEOF
71250 #define HAVE_LOG10L 1
71251 _ACEOF
71252
71253 fi
71254 done
71255
71256 else
71257
71258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71259 $as_echo_n "checking for _log10l declaration... " >&6; }
71260 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71261 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
71276 #include <ieeefp.h>
71277 #endif
71278
71279 int
71280 main ()
71281 {
71282 _log10l(0);
71283 ;
71284 return 0;
71285 }
71286 _ACEOF
71287 if ac_fn_cxx_try_compile "$LINENO"; then :
71288 glibcxx_cv_func__log10l_use=yes
71289 else
71290 glibcxx_cv_func__log10l_use=no
71291 fi
71292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71293 ac_ext=c
71294 ac_cpp='$CPP $CPPFLAGS'
71295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71298
71299
71300 fi
71301
71302 fi
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71304 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71305
71306 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71307 for ac_func in _log10l
71308 do :
71309 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71310 if test "x$ac_cv_func__log10l" = x""yes; then :
71311 cat >>confdefs.h <<_ACEOF
71312 #define HAVE__LOG10L 1
71313 _ACEOF
71314
71315 fi
71316 done
71317
71318 fi
71319 fi
71320
71321
71322
71323
71324
71325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71326 $as_echo_n "checking for modfl declaration... " >&6; }
71327 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71328 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71329 $as_echo_n "(cached) " >&6
71330 else
71331
71332
71333 ac_ext=cpp
71334 ac_cpp='$CXXCPP $CPPFLAGS'
71335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71338
71339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71340 /* end confdefs.h. */
71341 #include <math.h>
71342 int
71343 main ()
71344 {
71345 modfl(0, 0);
71346 ;
71347 return 0;
71348 }
71349 _ACEOF
71350 if ac_fn_cxx_try_compile "$LINENO"; then :
71351 glibcxx_cv_func_modfl_use=yes
71352 else
71353 glibcxx_cv_func_modfl_use=no
71354 fi
71355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71356 ac_ext=c
71357 ac_cpp='$CPP $CPPFLAGS'
71358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71361
71362
71363 fi
71364
71365 fi
71366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71367 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71368
71369 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71370 for ac_func in modfl
71371 do :
71372 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71373 if test "x$ac_cv_func_modfl" = x""yes; then :
71374 cat >>confdefs.h <<_ACEOF
71375 #define HAVE_MODFL 1
71376 _ACEOF
71377
71378 fi
71379 done
71380
71381 else
71382
71383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71384 $as_echo_n "checking for _modfl declaration... " >&6; }
71385 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71386 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71387 $as_echo_n "(cached) " >&6
71388 else
71389
71390
71391 ac_ext=cpp
71392 ac_cpp='$CXXCPP $CPPFLAGS'
71393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71396
71397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71398 /* end confdefs.h. */
71399 #include <math.h>
71400 int
71401 main ()
71402 {
71403 _modfl(0, 0);
71404 ;
71405 return 0;
71406 }
71407 _ACEOF
71408 if ac_fn_cxx_try_compile "$LINENO"; then :
71409 glibcxx_cv_func__modfl_use=yes
71410 else
71411 glibcxx_cv_func__modfl_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__modfl_use" >&5
71425 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71426
71427 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71428 for ac_func in _modfl
71429 do :
71430 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71431 if test "x$ac_cv_func__modfl" = x""yes; then :
71432 cat >>confdefs.h <<_ACEOF
71433 #define HAVE__MODFL 1
71434 _ACEOF
71435
71436 fi
71437 done
71438
71439 fi
71440 fi
71441
71442
71443
71444
71445
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71447 $as_echo_n "checking for powl declaration... " >&6; }
71448 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71449 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71450 $as_echo_n "(cached) " >&6
71451 else
71452
71453
71454 ac_ext=cpp
71455 ac_cpp='$CXXCPP $CPPFLAGS'
71456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71459
71460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71461 /* end confdefs.h. */
71462 #include <math.h>
71463 int
71464 main ()
71465 {
71466 powl(0, 0);
71467 ;
71468 return 0;
71469 }
71470 _ACEOF
71471 if ac_fn_cxx_try_compile "$LINENO"; then :
71472 glibcxx_cv_func_powl_use=yes
71473 else
71474 glibcxx_cv_func_powl_use=no
71475 fi
71476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71477 ac_ext=c
71478 ac_cpp='$CPP $CPPFLAGS'
71479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71482
71483
71484 fi
71485
71486 fi
71487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71488 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71489
71490 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71491 for ac_func in powl
71492 do :
71493 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71494 if test "x$ac_cv_func_powl" = x""yes; then :
71495 cat >>confdefs.h <<_ACEOF
71496 #define HAVE_POWL 1
71497 _ACEOF
71498
71499 fi
71500 done
71501
71502 else
71503
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71505 $as_echo_n "checking for _powl declaration... " >&6; }
71506 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71507 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71508 $as_echo_n "(cached) " >&6
71509 else
71510
71511
71512 ac_ext=cpp
71513 ac_cpp='$CXXCPP $CPPFLAGS'
71514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71517
71518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71519 /* end confdefs.h. */
71520 #include <math.h>
71521 int
71522 main ()
71523 {
71524 _powl(0, 0);
71525 ;
71526 return 0;
71527 }
71528 _ACEOF
71529 if ac_fn_cxx_try_compile "$LINENO"; then :
71530 glibcxx_cv_func__powl_use=yes
71531 else
71532 glibcxx_cv_func__powl_use=no
71533 fi
71534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71535 ac_ext=c
71536 ac_cpp='$CPP $CPPFLAGS'
71537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71540
71541
71542 fi
71543
71544 fi
71545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71546 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71547
71548 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71549 for ac_func in _powl
71550 do :
71551 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71552 if test "x$ac_cv_func__powl" = x""yes; then :
71553 cat >>confdefs.h <<_ACEOF
71554 #define HAVE__POWL 1
71555 _ACEOF
71556
71557 fi
71558 done
71559
71560 fi
71561 fi
71562
71563
71564
71565
71566
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71568 $as_echo_n "checking for sqrtl declaration... " >&6; }
71569 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71570 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71571 $as_echo_n "(cached) " >&6
71572 else
71573
71574
71575 ac_ext=cpp
71576 ac_cpp='$CXXCPP $CPPFLAGS'
71577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71580
71581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71582 /* end confdefs.h. */
71583 #include <math.h>
71584 #ifdef HAVE_IEEEFP_H
71585 #include <ieeefp.h>
71586 #endif
71587
71588 int
71589 main ()
71590 {
71591 sqrtl(0);
71592 ;
71593 return 0;
71594 }
71595 _ACEOF
71596 if ac_fn_cxx_try_compile "$LINENO"; then :
71597 glibcxx_cv_func_sqrtl_use=yes
71598 else
71599 glibcxx_cv_func_sqrtl_use=no
71600 fi
71601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71602 ac_ext=c
71603 ac_cpp='$CPP $CPPFLAGS'
71604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71607
71608
71609 fi
71610
71611 fi
71612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71613 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71614
71615 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71616 for ac_func in sqrtl
71617 do :
71618 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71619 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71620 cat >>confdefs.h <<_ACEOF
71621 #define HAVE_SQRTL 1
71622 _ACEOF
71623
71624 fi
71625 done
71626
71627 else
71628
71629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71630 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71631 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71632 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
71654 ;
71655 return 0;
71656 }
71657 _ACEOF
71658 if ac_fn_cxx_try_compile "$LINENO"; then :
71659 glibcxx_cv_func__sqrtl_use=yes
71660 else
71661 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
71675 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71676
71677 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71678 for ac_func in _sqrtl
71679 do :
71680 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71681 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71682 cat >>confdefs.h <<_ACEOF
71683 #define HAVE__SQRTL 1
71684 _ACEOF
71685
71686 fi
71687 done
71688
71689 fi
71690 fi
71691
71692
71693
71694
71695
71696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71697 $as_echo_n "checking for sincosl declaration... " >&6; }
71698 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71699 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71700 $as_echo_n "(cached) " >&6
71701 else
71702
71703
71704 ac_ext=cpp
71705 ac_cpp='$CXXCPP $CPPFLAGS'
71706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71709
71710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71711 /* end confdefs.h. */
71712 #include <math.h>
71713 int
71714 main ()
71715 {
71716 sincosl(0, 0, 0);
71717 ;
71718 return 0;
71719 }
71720 _ACEOF
71721 if ac_fn_cxx_try_compile "$LINENO"; then :
71722 glibcxx_cv_func_sincosl_use=yes
71723 else
71724 glibcxx_cv_func_sincosl_use=no
71725 fi
71726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71727 ac_ext=c
71728 ac_cpp='$CPP $CPPFLAGS'
71729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71732
71733
71734 fi
71735
71736 fi
71737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71738 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71739
71740 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71741 for ac_func in sincosl
71742 do :
71743 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71744 if test "x$ac_cv_func_sincosl" = x""yes; then :
71745 cat >>confdefs.h <<_ACEOF
71746 #define HAVE_SINCOSL 1
71747 _ACEOF
71748
71749 fi
71750 done
71751
71752 else
71753
71754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71755 $as_echo_n "checking for _sincosl declaration... " >&6; }
71756 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71757 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71758 $as_echo_n "(cached) " >&6
71759 else
71760
71761
71762 ac_ext=cpp
71763 ac_cpp='$CXXCPP $CPPFLAGS'
71764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71767
71768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71769 /* end confdefs.h. */
71770 #include <math.h>
71771 int
71772 main ()
71773 {
71774 _sincosl(0, 0, 0);
71775 ;
71776 return 0;
71777 }
71778 _ACEOF
71779 if ac_fn_cxx_try_compile "$LINENO"; then :
71780 glibcxx_cv_func__sincosl_use=yes
71781 else
71782 glibcxx_cv_func__sincosl_use=no
71783 fi
71784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71785 ac_ext=c
71786 ac_cpp='$CPP $CPPFLAGS'
71787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71790
71791
71792 fi
71793
71794 fi
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71796 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71797
71798 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71799 for ac_func in _sincosl
71800 do :
71801 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71802 if test "x$ac_cv_func__sincosl" = x""yes; then :
71803 cat >>confdefs.h <<_ACEOF
71804 #define HAVE__SINCOSL 1
71805 _ACEOF
71806
71807 fi
71808 done
71809
71810 fi
71811 fi
71812
71813
71814
71815
71816
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71818 $as_echo_n "checking for finitel declaration... " >&6; }
71819 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71820 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71821 $as_echo_n "(cached) " >&6
71822 else
71823
71824
71825 ac_ext=cpp
71826 ac_cpp='$CXXCPP $CPPFLAGS'
71827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71830
71831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71832 /* end confdefs.h. */
71833 #include <math.h>
71834 #ifdef HAVE_IEEEFP_H
71835 #include <ieeefp.h>
71836 #endif
71837
71838 int
71839 main ()
71840 {
71841 finitel(0);
71842 ;
71843 return 0;
71844 }
71845 _ACEOF
71846 if ac_fn_cxx_try_compile "$LINENO"; then :
71847 glibcxx_cv_func_finitel_use=yes
71848 else
71849 glibcxx_cv_func_finitel_use=no
71850 fi
71851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71852 ac_ext=c
71853 ac_cpp='$CPP $CPPFLAGS'
71854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71857
71858
71859 fi
71860
71861 fi
71862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71863 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71864
71865 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71866 for ac_func in finitel
71867 do :
71868 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71869 if test "x$ac_cv_func_finitel" = x""yes; then :
71870 cat >>confdefs.h <<_ACEOF
71871 #define HAVE_FINITEL 1
71872 _ACEOF
71873
71874 fi
71875 done
71876
71877 else
71878
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71880 $as_echo_n "checking for _finitel declaration... " >&6; }
71881 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71882 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71883 $as_echo_n "(cached) " >&6
71884 else
71885
71886
71887 ac_ext=cpp
71888 ac_cpp='$CXXCPP $CPPFLAGS'
71889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71892
71893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71894 /* end confdefs.h. */
71895 #include <math.h>
71896 #ifdef HAVE_IEEEFP_H
71897 #include <ieeefp.h>
71898 #endif
71899
71900 int
71901 main ()
71902 {
71903 _finitel(0);
71904 ;
71905 return 0;
71906 }
71907 _ACEOF
71908 if ac_fn_cxx_try_compile "$LINENO"; then :
71909 glibcxx_cv_func__finitel_use=yes
71910 else
71911 glibcxx_cv_func__finitel_use=no
71912 fi
71913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71914 ac_ext=c
71915 ac_cpp='$CPP $CPPFLAGS'
71916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71919
71920
71921 fi
71922
71923 fi
71924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71925 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71926
71927 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71928 for ac_func in _finitel
71929 do :
71930 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71931 if test "x$ac_cv_func__finitel" = x""yes; then :
71932 cat >>confdefs.h <<_ACEOF
71933 #define HAVE__FINITEL 1
71934 _ACEOF
71935
71936 fi
71937 done
71938
71939 fi
71940 fi
71941
71942
71943
71944
71945 LIBS="$ac_save_LIBS"
71946 CXXFLAGS="$ac_save_CXXFLAGS"
71947
71948
71949 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71950 ac_save_CXXFLAGS="$CXXFLAGS"
71951 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71952
71953
71954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71955 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71956 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71957 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71958 $as_echo_n "(cached) " >&6
71959 else
71960
71961
71962 ac_ext=cpp
71963 ac_cpp='$CXXCPP $CPPFLAGS'
71964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71967
71968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71969 /* end confdefs.h. */
71970 #include <stdlib.h>
71971 int
71972 main ()
71973 {
71974 at_quick_exit(0);
71975 ;
71976 return 0;
71977 }
71978 _ACEOF
71979 if ac_fn_cxx_try_compile "$LINENO"; then :
71980 glibcxx_cv_func_at_quick_exit_use=yes
71981 else
71982 glibcxx_cv_func_at_quick_exit_use=no
71983 fi
71984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71985 ac_ext=c
71986 ac_cpp='$CPP $CPPFLAGS'
71987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71990
71991
71992 fi
71993
71994 fi
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71996 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71997 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71998 for ac_func in at_quick_exit
71999 do :
72000 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72001 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72002 cat >>confdefs.h <<_ACEOF
72003 #define HAVE_AT_QUICK_EXIT 1
72004 _ACEOF
72005
72006 fi
72007 done
72008
72009 fi
72010
72011
72012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72013 $as_echo_n "checking for quick_exit declaration... " >&6; }
72014 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72015 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72016 $as_echo_n "(cached) " >&6
72017 else
72018
72019
72020 ac_ext=cpp
72021 ac_cpp='$CXXCPP $CPPFLAGS'
72022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72025
72026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72027 /* end confdefs.h. */
72028 #include <stdlib.h>
72029 int
72030 main ()
72031 {
72032 quick_exit(0);
72033 ;
72034 return 0;
72035 }
72036 _ACEOF
72037 if ac_fn_cxx_try_compile "$LINENO"; then :
72038 glibcxx_cv_func_quick_exit_use=yes
72039 else
72040 glibcxx_cv_func_quick_exit_use=no
72041 fi
72042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72043 ac_ext=c
72044 ac_cpp='$CPP $CPPFLAGS'
72045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72048
72049
72050 fi
72051
72052 fi
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72054 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72055 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72056 for ac_func in quick_exit
72057 do :
72058 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72059 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72060 cat >>confdefs.h <<_ACEOF
72061 #define HAVE_QUICK_EXIT 1
72062 _ACEOF
72063
72064 fi
72065 done
72066
72067 fi
72068
72069
72070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72071 $as_echo_n "checking for strtold declaration... " >&6; }
72072 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72073 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72074 $as_echo_n "(cached) " >&6
72075 else
72076
72077
72078 ac_ext=cpp
72079 ac_cpp='$CXXCPP $CPPFLAGS'
72080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72083
72084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72085 /* end confdefs.h. */
72086 #include <stdlib.h>
72087 int
72088 main ()
72089 {
72090 strtold(0, 0);
72091 ;
72092 return 0;
72093 }
72094 _ACEOF
72095 if ac_fn_cxx_try_compile "$LINENO"; then :
72096 glibcxx_cv_func_strtold_use=yes
72097 else
72098 glibcxx_cv_func_strtold_use=no
72099 fi
72100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72101 ac_ext=c
72102 ac_cpp='$CPP $CPPFLAGS'
72103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72106
72107
72108 fi
72109
72110 fi
72111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72112 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72113 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72114 for ac_func in strtold
72115 do :
72116 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72117 if test "x$ac_cv_func_strtold" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_STRTOLD 1
72120 _ACEOF
72121
72122 fi
72123 done
72124
72125 fi
72126
72127
72128
72129
72130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72131 $as_echo_n "checking for strtof declaration... " >&6; }
72132 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72133 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72134 $as_echo_n "(cached) " >&6
72135 else
72136
72137
72138 ac_ext=cpp
72139 ac_cpp='$CXXCPP $CPPFLAGS'
72140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72143
72144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72145 /* end confdefs.h. */
72146 #include <stdlib.h>
72147 int
72148 main ()
72149 {
72150 strtof(0, 0);
72151 ;
72152 return 0;
72153 }
72154 _ACEOF
72155 if ac_fn_cxx_try_compile "$LINENO"; then :
72156 glibcxx_cv_func_strtof_use=yes
72157 else
72158 glibcxx_cv_func_strtof_use=no
72159 fi
72160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72161 ac_ext=c
72162 ac_cpp='$CPP $CPPFLAGS'
72163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72166
72167
72168 fi
72169
72170 fi
72171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72172 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72173 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72174 for ac_func in strtof
72175 do :
72176 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72177 if test "x$ac_cv_func_strtof" = x""yes; then :
72178 cat >>confdefs.h <<_ACEOF
72179 #define HAVE_STRTOF 1
72180 _ACEOF
72181
72182 fi
72183 done
72184
72185 fi
72186
72187
72188
72189
72190 CXXFLAGS="$ac_save_CXXFLAGS"
72191
72192 ;;
72193 *-solaris*)
72194
72195 # If we're not using GNU ld, then there's no point in even trying these
72196 # tests. Check for that first. We should have already tested for gld
72197 # by now (in libtool), but require it now just to be safe...
72198 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72199 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72200
72201
72202
72203 # The name set by libtool depends on the version of libtool. Shame on us
72204 # for depending on an impl detail, but c'est la vie. Older versions used
72205 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72206 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72207 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72208 # set (hence we're using an older libtool), then set it.
72209 if test x${with_gnu_ld+set} != xset; then
72210 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72211 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72212 with_gnu_ld=no
72213 else
72214 with_gnu_ld=$ac_cv_prog_gnu_ld
72215 fi
72216 fi
72217
72218 # Start by getting the version number. I think the libtool test already
72219 # does some of this, but throws away the result.
72220 glibcxx_ld_is_gold=no
72221 if test x"$with_gnu_ld" = x"yes"; then
72222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72223 $as_echo_n "checking for ld version... " >&6; }
72224
72225 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72226 glibcxx_ld_is_gold=yes
72227 fi
72228 ldver=`$LD --version 2>/dev/null |
72229 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'`
72230
72231 glibcxx_gnu_ld_version=`echo $ldver | \
72232 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72234 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72235 fi
72236
72237 # Set --gc-sections.
72238 glibcxx_have_gc_sections=no
72239 if test "$glibcxx_ld_is_gold" = "yes"; then
72240 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72241 glibcxx_have_gc_sections=yes
72242 fi
72243 else
72244 glibcxx_gcsections_min_ld=21602
72245 if test x"$with_gnu_ld" = x"yes" &&
72246 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72247 glibcxx_have_gc_sections=yes
72248 fi
72249 fi
72250 if test "$glibcxx_have_gc_sections" = "yes"; then
72251 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72252 # NB: This flag only works reliably after 2.16.1. Configure tests
72253 # for this are difficult, so hard wire a value that should work.
72254
72255 ac_test_CFLAGS="${CFLAGS+set}"
72256 ac_save_CFLAGS="$CFLAGS"
72257 CFLAGS='-Wl,--gc-sections'
72258
72259 # Check for -Wl,--gc-sections
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72261 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72262 if test x$gcc_no_link = xyes; then
72263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72264 fi
72265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72266 /* end confdefs.h. */
72267 int one(void) { return 1; }
72268 int two(void) { return 2; }
72269
72270 int
72271 main ()
72272 {
72273 two();
72274 ;
72275 return 0;
72276 }
72277 _ACEOF
72278 if ac_fn_c_try_link "$LINENO"; then :
72279 ac_gcsections=yes
72280 else
72281 ac_gcsections=no
72282 fi
72283 rm -f core conftest.err conftest.$ac_objext \
72284 conftest$ac_exeext conftest.$ac_ext
72285 if test "$ac_gcsections" = "yes"; then
72286 rm -f conftest.c
72287 touch conftest.c
72288 if $CC -c conftest.c; then
72289 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72290 grep "Warning: gc-sections option ignored" > /dev/null; then
72291 ac_gcsections=no
72292 fi
72293 fi
72294 rm -f conftest.c conftest.o conftest
72295 fi
72296 if test "$ac_gcsections" = "yes"; then
72297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72298 fi
72299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72300 $as_echo "$ac_gcsections" >&6; }
72301
72302 if test "$ac_test_CFLAGS" = set; then
72303 CFLAGS="$ac_save_CFLAGS"
72304 else
72305 # this is the suspicious part
72306 CFLAGS=''
72307 fi
72308 fi
72309
72310 # Set -z,relro.
72311 # Note this is only for shared objects.
72312 ac_ld_relro=no
72313 if test x"$with_gnu_ld" = x"yes"; then
72314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72315 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72316 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72317 if test -n "$cxx_z_relo"; then
72318 OPT_LDFLAGS="-Wl,-z,relro"
72319 ac_ld_relro=yes
72320 fi
72321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72322 $as_echo "$ac_ld_relro" >&6; }
72323 fi
72324
72325 # Set linker optimization flags.
72326 if test x"$with_gnu_ld" = x"yes"; then
72327 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72328 fi
72329
72330
72331
72332
72333 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72334
72335 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72336
72337 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72338
72339 # All of the dependencies for wide character support are here, so
72340 # turn it on.
72341 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72342
72343 # These two C99 functions are present only in Solaris >= 10
72344 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72345
72346 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72347
72348 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72349
72350 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72351
72352 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72353
72354 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72355
72356 ;;
72357 *-tpf)
72358 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72359 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72360
72361 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72362
72363 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72364
72365 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72366
72367 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72368
72369 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72370
72371 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72372
72373 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72374
72375 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72376
72377 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72378
72379 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72380
72381 if test x"long_double_math_on_this_cpu" = x"yes"; then
72382 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72383
72384 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72385
72386 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72387
72388 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72389
72390 fi
72391 ;;
72392 *-*vms*)
72393 # Check for available headers.
72394 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72395
72396 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72397 ac_save_CXXFLAGS="$CXXFLAGS"
72398 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72399
72400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72401 $as_echo_n "checking for sin in -lm... " >&6; }
72402 if test "${ac_cv_lib_m_sin+set}" = set; then :
72403 $as_echo_n "(cached) " >&6
72404 else
72405 ac_check_lib_save_LIBS=$LIBS
72406 LIBS="-lm $LIBS"
72407 if test x$gcc_no_link = xyes; then
72408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72409 fi
72410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72411 /* end confdefs.h. */
72412
72413 /* Override any GCC internal prototype to avoid an error.
72414 Use char because int might match the return type of a GCC
72415 builtin and then its argument prototype would still apply. */
72416 #ifdef __cplusplus
72417 extern "C"
72418 #endif
72419 char sin ();
72420 int
72421 main ()
72422 {
72423 return sin ();
72424 ;
72425 return 0;
72426 }
72427 _ACEOF
72428 if ac_fn_c_try_link "$LINENO"; then :
72429 ac_cv_lib_m_sin=yes
72430 else
72431 ac_cv_lib_m_sin=no
72432 fi
72433 rm -f core conftest.err conftest.$ac_objext \
72434 conftest$ac_exeext conftest.$ac_ext
72435 LIBS=$ac_check_lib_save_LIBS
72436 fi
72437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72438 $as_echo "$ac_cv_lib_m_sin" >&6; }
72439 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72440 libm="-lm"
72441 fi
72442
72443 ac_save_LIBS="$LIBS"
72444 LIBS="$LIBS $libm"
72445
72446
72447
72448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72449 $as_echo_n "checking for isinf declaration... " >&6; }
72450 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72451 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72452 $as_echo_n "(cached) " >&6
72453 else
72454
72455
72456 ac_ext=cpp
72457 ac_cpp='$CXXCPP $CPPFLAGS'
72458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72461
72462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72463 /* end confdefs.h. */
72464 #include <math.h>
72465 #ifdef HAVE_IEEEFP_H
72466 #include <ieeefp.h>
72467 #endif
72468
72469 int
72470 main ()
72471 {
72472 isinf(0);
72473 ;
72474 return 0;
72475 }
72476 _ACEOF
72477 if ac_fn_cxx_try_compile "$LINENO"; then :
72478 glibcxx_cv_func_isinf_use=yes
72479 else
72480 glibcxx_cv_func_isinf_use=no
72481 fi
72482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72483 ac_ext=c
72484 ac_cpp='$CPP $CPPFLAGS'
72485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72488
72489
72490 fi
72491
72492 fi
72493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72494 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72495
72496 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72497 for ac_func in isinf
72498 do :
72499 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72500 if test "x$ac_cv_func_isinf" = x""yes; then :
72501 cat >>confdefs.h <<_ACEOF
72502 #define HAVE_ISINF 1
72503 _ACEOF
72504
72505 fi
72506 done
72507
72508 else
72509
72510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72511 $as_echo_n "checking for _isinf declaration... " >&6; }
72512 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72513 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72514 $as_echo_n "(cached) " >&6
72515 else
72516
72517
72518 ac_ext=cpp
72519 ac_cpp='$CXXCPP $CPPFLAGS'
72520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72523
72524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72525 /* end confdefs.h. */
72526 #include <math.h>
72527 #ifdef HAVE_IEEEFP_H
72528 #include <ieeefp.h>
72529 #endif
72530
72531 int
72532 main ()
72533 {
72534 _isinf(0);
72535 ;
72536 return 0;
72537 }
72538 _ACEOF
72539 if ac_fn_cxx_try_compile "$LINENO"; then :
72540 glibcxx_cv_func__isinf_use=yes
72541 else
72542 glibcxx_cv_func__isinf_use=no
72543 fi
72544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72545 ac_ext=c
72546 ac_cpp='$CPP $CPPFLAGS'
72547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72550
72551
72552 fi
72553
72554 fi
72555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72556 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72557
72558 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72559 for ac_func in _isinf
72560 do :
72561 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72562 if test "x$ac_cv_func__isinf" = x""yes; then :
72563 cat >>confdefs.h <<_ACEOF
72564 #define HAVE__ISINF 1
72565 _ACEOF
72566
72567 fi
72568 done
72569
72570 fi
72571 fi
72572
72573
72574
72575
72576
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72578 $as_echo_n "checking for isnan declaration... " >&6; }
72579 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72580 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72581 $as_echo_n "(cached) " >&6
72582 else
72583
72584
72585 ac_ext=cpp
72586 ac_cpp='$CXXCPP $CPPFLAGS'
72587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72590
72591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72592 /* end confdefs.h. */
72593 #include <math.h>
72594 #ifdef HAVE_IEEEFP_H
72595 #include <ieeefp.h>
72596 #endif
72597
72598 int
72599 main ()
72600 {
72601 isnan(0);
72602 ;
72603 return 0;
72604 }
72605 _ACEOF
72606 if ac_fn_cxx_try_compile "$LINENO"; then :
72607 glibcxx_cv_func_isnan_use=yes
72608 else
72609 glibcxx_cv_func_isnan_use=no
72610 fi
72611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72612 ac_ext=c
72613 ac_cpp='$CPP $CPPFLAGS'
72614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72617
72618
72619 fi
72620
72621 fi
72622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72623 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72624
72625 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72626 for ac_func in isnan
72627 do :
72628 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72629 if test "x$ac_cv_func_isnan" = x""yes; then :
72630 cat >>confdefs.h <<_ACEOF
72631 #define HAVE_ISNAN 1
72632 _ACEOF
72633
72634 fi
72635 done
72636
72637 else
72638
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72640 $as_echo_n "checking for _isnan declaration... " >&6; }
72641 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72642 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72643 $as_echo_n "(cached) " >&6
72644 else
72645
72646
72647 ac_ext=cpp
72648 ac_cpp='$CXXCPP $CPPFLAGS'
72649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72652
72653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72654 /* end confdefs.h. */
72655 #include <math.h>
72656 #ifdef HAVE_IEEEFP_H
72657 #include <ieeefp.h>
72658 #endif
72659
72660 int
72661 main ()
72662 {
72663 _isnan(0);
72664 ;
72665 return 0;
72666 }
72667 _ACEOF
72668 if ac_fn_cxx_try_compile "$LINENO"; then :
72669 glibcxx_cv_func__isnan_use=yes
72670 else
72671 glibcxx_cv_func__isnan_use=no
72672 fi
72673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72674 ac_ext=c
72675 ac_cpp='$CPP $CPPFLAGS'
72676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72679
72680
72681 fi
72682
72683 fi
72684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72685 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72686
72687 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72688 for ac_func in _isnan
72689 do :
72690 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72691 if test "x$ac_cv_func__isnan" = x""yes; then :
72692 cat >>confdefs.h <<_ACEOF
72693 #define HAVE__ISNAN 1
72694 _ACEOF
72695
72696 fi
72697 done
72698
72699 fi
72700 fi
72701
72702
72703
72704
72705
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72707 $as_echo_n "checking for finite declaration... " >&6; }
72708 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72709 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72710 $as_echo_n "(cached) " >&6
72711 else
72712
72713
72714 ac_ext=cpp
72715 ac_cpp='$CXXCPP $CPPFLAGS'
72716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72719
72720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72721 /* end confdefs.h. */
72722 #include <math.h>
72723 #ifdef HAVE_IEEEFP_H
72724 #include <ieeefp.h>
72725 #endif
72726
72727 int
72728 main ()
72729 {
72730 finite(0);
72731 ;
72732 return 0;
72733 }
72734 _ACEOF
72735 if ac_fn_cxx_try_compile "$LINENO"; then :
72736 glibcxx_cv_func_finite_use=yes
72737 else
72738 glibcxx_cv_func_finite_use=no
72739 fi
72740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72741 ac_ext=c
72742 ac_cpp='$CPP $CPPFLAGS'
72743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72746
72747
72748 fi
72749
72750 fi
72751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72752 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72753
72754 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72755 for ac_func in finite
72756 do :
72757 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72758 if test "x$ac_cv_func_finite" = x""yes; then :
72759 cat >>confdefs.h <<_ACEOF
72760 #define HAVE_FINITE 1
72761 _ACEOF
72762
72763 fi
72764 done
72765
72766 else
72767
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72769 $as_echo_n "checking for _finite declaration... " >&6; }
72770 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72771 if test "${glibcxx_cv_func__finite_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 _finite(0);
72793 ;
72794 return 0;
72795 }
72796 _ACEOF
72797 if ac_fn_cxx_try_compile "$LINENO"; then :
72798 glibcxx_cv_func__finite_use=yes
72799 else
72800 glibcxx_cv_func__finite_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__finite_use" >&5
72814 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72815
72816 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72817 for ac_func in _finite
72818 do :
72819 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72820 if test "x$ac_cv_func__finite" = x""yes; then :
72821 cat >>confdefs.h <<_ACEOF
72822 #define HAVE__FINITE 1
72823 _ACEOF
72824
72825 fi
72826 done
72827
72828 fi
72829 fi
72830
72831
72832
72833
72834
72835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72836 $as_echo_n "checking for sincos declaration... " >&6; }
72837 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72838 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72839 $as_echo_n "(cached) " >&6
72840 else
72841
72842
72843 ac_ext=cpp
72844 ac_cpp='$CXXCPP $CPPFLAGS'
72845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72848
72849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72850 /* end confdefs.h. */
72851 #include <math.h>
72852 int
72853 main ()
72854 {
72855 sincos(0, 0, 0);
72856 ;
72857 return 0;
72858 }
72859 _ACEOF
72860 if ac_fn_cxx_try_compile "$LINENO"; then :
72861 glibcxx_cv_func_sincos_use=yes
72862 else
72863 glibcxx_cv_func_sincos_use=no
72864 fi
72865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72866 ac_ext=c
72867 ac_cpp='$CPP $CPPFLAGS'
72868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72871
72872
72873 fi
72874
72875 fi
72876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72877 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72878
72879 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72880 for ac_func in sincos
72881 do :
72882 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72883 if test "x$ac_cv_func_sincos" = x""yes; then :
72884 cat >>confdefs.h <<_ACEOF
72885 #define HAVE_SINCOS 1
72886 _ACEOF
72887
72888 fi
72889 done
72890
72891 else
72892
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72894 $as_echo_n "checking for _sincos declaration... " >&6; }
72895 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72896 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72897 $as_echo_n "(cached) " >&6
72898 else
72899
72900
72901 ac_ext=cpp
72902 ac_cpp='$CXXCPP $CPPFLAGS'
72903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72906
72907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72908 /* end confdefs.h. */
72909 #include <math.h>
72910 int
72911 main ()
72912 {
72913 _sincos(0, 0, 0);
72914 ;
72915 return 0;
72916 }
72917 _ACEOF
72918 if ac_fn_cxx_try_compile "$LINENO"; then :
72919 glibcxx_cv_func__sincos_use=yes
72920 else
72921 glibcxx_cv_func__sincos_use=no
72922 fi
72923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72924 ac_ext=c
72925 ac_cpp='$CPP $CPPFLAGS'
72926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72929
72930
72931 fi
72932
72933 fi
72934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72935 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72936
72937 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72938 for ac_func in _sincos
72939 do :
72940 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72941 if test "x$ac_cv_func__sincos" = x""yes; then :
72942 cat >>confdefs.h <<_ACEOF
72943 #define HAVE__SINCOS 1
72944 _ACEOF
72945
72946 fi
72947 done
72948
72949 fi
72950 fi
72951
72952
72953
72954
72955
72956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72957 $as_echo_n "checking for fpclass declaration... " >&6; }
72958 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72959 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72960 $as_echo_n "(cached) " >&6
72961 else
72962
72963
72964 ac_ext=cpp
72965 ac_cpp='$CXXCPP $CPPFLAGS'
72966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72969
72970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72971 /* end confdefs.h. */
72972 #include <math.h>
72973 #ifdef HAVE_IEEEFP_H
72974 #include <ieeefp.h>
72975 #endif
72976
72977 int
72978 main ()
72979 {
72980 fpclass(0);
72981 ;
72982 return 0;
72983 }
72984 _ACEOF
72985 if ac_fn_cxx_try_compile "$LINENO"; then :
72986 glibcxx_cv_func_fpclass_use=yes
72987 else
72988 glibcxx_cv_func_fpclass_use=no
72989 fi
72990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72991 ac_ext=c
72992 ac_cpp='$CPP $CPPFLAGS'
72993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72996
72997
72998 fi
72999
73000 fi
73001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73002 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73003
73004 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73005 for ac_func in fpclass
73006 do :
73007 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73008 if test "x$ac_cv_func_fpclass" = x""yes; then :
73009 cat >>confdefs.h <<_ACEOF
73010 #define HAVE_FPCLASS 1
73011 _ACEOF
73012
73013 fi
73014 done
73015
73016 else
73017
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73019 $as_echo_n "checking for _fpclass declaration... " >&6; }
73020 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73021 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73022 $as_echo_n "(cached) " >&6
73023 else
73024
73025
73026 ac_ext=cpp
73027 ac_cpp='$CXXCPP $CPPFLAGS'
73028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73031
73032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73033 /* end confdefs.h. */
73034 #include <math.h>
73035 #ifdef HAVE_IEEEFP_H
73036 #include <ieeefp.h>
73037 #endif
73038
73039 int
73040 main ()
73041 {
73042 _fpclass(0);
73043 ;
73044 return 0;
73045 }
73046 _ACEOF
73047 if ac_fn_cxx_try_compile "$LINENO"; then :
73048 glibcxx_cv_func__fpclass_use=yes
73049 else
73050 glibcxx_cv_func__fpclass_use=no
73051 fi
73052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73053 ac_ext=c
73054 ac_cpp='$CPP $CPPFLAGS'
73055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73058
73059
73060 fi
73061
73062 fi
73063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73064 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73065
73066 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73067 for ac_func in _fpclass
73068 do :
73069 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73070 if test "x$ac_cv_func__fpclass" = x""yes; then :
73071 cat >>confdefs.h <<_ACEOF
73072 #define HAVE__FPCLASS 1
73073 _ACEOF
73074
73075 fi
73076 done
73077
73078 fi
73079 fi
73080
73081
73082
73083
73084
73085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73086 $as_echo_n "checking for qfpclass declaration... " >&6; }
73087 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73088 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73089 $as_echo_n "(cached) " >&6
73090 else
73091
73092
73093 ac_ext=cpp
73094 ac_cpp='$CXXCPP $CPPFLAGS'
73095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73098
73099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73100 /* end confdefs.h. */
73101 #include <math.h>
73102 #ifdef HAVE_IEEEFP_H
73103 #include <ieeefp.h>
73104 #endif
73105
73106 int
73107 main ()
73108 {
73109 qfpclass(0);
73110 ;
73111 return 0;
73112 }
73113 _ACEOF
73114 if ac_fn_cxx_try_compile "$LINENO"; then :
73115 glibcxx_cv_func_qfpclass_use=yes
73116 else
73117 glibcxx_cv_func_qfpclass_use=no
73118 fi
73119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73120 ac_ext=c
73121 ac_cpp='$CPP $CPPFLAGS'
73122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73125
73126
73127 fi
73128
73129 fi
73130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73131 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73132
73133 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73134 for ac_func in qfpclass
73135 do :
73136 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73137 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73138 cat >>confdefs.h <<_ACEOF
73139 #define HAVE_QFPCLASS 1
73140 _ACEOF
73141
73142 fi
73143 done
73144
73145 else
73146
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73148 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73149 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73150 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73151 $as_echo_n "(cached) " >&6
73152 else
73153
73154
73155 ac_ext=cpp
73156 ac_cpp='$CXXCPP $CPPFLAGS'
73157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73160
73161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73162 /* end confdefs.h. */
73163 #include <math.h>
73164 #ifdef HAVE_IEEEFP_H
73165 #include <ieeefp.h>
73166 #endif
73167
73168 int
73169 main ()
73170 {
73171 _qfpclass(0);
73172 ;
73173 return 0;
73174 }
73175 _ACEOF
73176 if ac_fn_cxx_try_compile "$LINENO"; then :
73177 glibcxx_cv_func__qfpclass_use=yes
73178 else
73179 glibcxx_cv_func__qfpclass_use=no
73180 fi
73181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73182 ac_ext=c
73183 ac_cpp='$CPP $CPPFLAGS'
73184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73187
73188
73189 fi
73190
73191 fi
73192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73193 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73194
73195 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73196 for ac_func in _qfpclass
73197 do :
73198 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73199 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73200 cat >>confdefs.h <<_ACEOF
73201 #define HAVE__QFPCLASS 1
73202 _ACEOF
73203
73204 fi
73205 done
73206
73207 fi
73208 fi
73209
73210
73211
73212
73213
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73215 $as_echo_n "checking for hypot declaration... " >&6; }
73216 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73217 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73218 $as_echo_n "(cached) " >&6
73219 else
73220
73221
73222 ac_ext=cpp
73223 ac_cpp='$CXXCPP $CPPFLAGS'
73224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73227
73228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73229 /* end confdefs.h. */
73230 #include <math.h>
73231 int
73232 main ()
73233 {
73234 hypot(0, 0);
73235 ;
73236 return 0;
73237 }
73238 _ACEOF
73239 if ac_fn_cxx_try_compile "$LINENO"; then :
73240 glibcxx_cv_func_hypot_use=yes
73241 else
73242 glibcxx_cv_func_hypot_use=no
73243 fi
73244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73245 ac_ext=c
73246 ac_cpp='$CPP $CPPFLAGS'
73247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73250
73251
73252 fi
73253
73254 fi
73255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73256 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73257
73258 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73259 for ac_func in hypot
73260 do :
73261 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73262 if test "x$ac_cv_func_hypot" = x""yes; then :
73263 cat >>confdefs.h <<_ACEOF
73264 #define HAVE_HYPOT 1
73265 _ACEOF
73266
73267 fi
73268 done
73269
73270 else
73271
73272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73273 $as_echo_n "checking for _hypot declaration... " >&6; }
73274 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73275 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73276 $as_echo_n "(cached) " >&6
73277 else
73278
73279
73280 ac_ext=cpp
73281 ac_cpp='$CXXCPP $CPPFLAGS'
73282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73285
73286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287 /* end confdefs.h. */
73288 #include <math.h>
73289 int
73290 main ()
73291 {
73292 _hypot(0, 0);
73293 ;
73294 return 0;
73295 }
73296 _ACEOF
73297 if ac_fn_cxx_try_compile "$LINENO"; then :
73298 glibcxx_cv_func__hypot_use=yes
73299 else
73300 glibcxx_cv_func__hypot_use=no
73301 fi
73302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73303 ac_ext=c
73304 ac_cpp='$CPP $CPPFLAGS'
73305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73308
73309
73310 fi
73311
73312 fi
73313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73314 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73315
73316 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73317 for ac_func in _hypot
73318 do :
73319 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73320 if test "x$ac_cv_func__hypot" = x""yes; then :
73321 cat >>confdefs.h <<_ACEOF
73322 #define HAVE__HYPOT 1
73323 _ACEOF
73324
73325 fi
73326 done
73327
73328 fi
73329 fi
73330
73331
73332
73333
73334
73335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73336 $as_echo_n "checking for float trig functions... " >&6; }
73337 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73338 $as_echo_n "(cached) " >&6
73339 else
73340
73341
73342 ac_ext=cpp
73343 ac_cpp='$CXXCPP $CPPFLAGS'
73344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73347
73348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73349 /* end confdefs.h. */
73350 #include <math.h>
73351 int
73352 main ()
73353 {
73354 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73355 ;
73356 return 0;
73357 }
73358 _ACEOF
73359 if ac_fn_cxx_try_compile "$LINENO"; then :
73360 glibcxx_cv_func_float_trig_use=yes
73361 else
73362 glibcxx_cv_func_float_trig_use=no
73363 fi
73364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73365 ac_ext=c
73366 ac_cpp='$CPP $CPPFLAGS'
73367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73370
73371 fi
73372
73373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73374 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73375 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73376 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73377 do :
73378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73380 eval as_val=\$$as_ac_var
73381 if test "x$as_val" = x""yes; then :
73382 cat >>confdefs.h <<_ACEOF
73383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73384 _ACEOF
73385
73386 fi
73387 done
73388
73389 else
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73391 $as_echo_n "checking for _float trig functions... " >&6; }
73392 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73393 $as_echo_n "(cached) " >&6
73394 else
73395
73396
73397 ac_ext=cpp
73398 ac_cpp='$CXXCPP $CPPFLAGS'
73399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73402
73403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73404 /* end confdefs.h. */
73405 #include <math.h>
73406 int
73407 main ()
73408 {
73409 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73410 ;
73411 return 0;
73412 }
73413 _ACEOF
73414 if ac_fn_cxx_try_compile "$LINENO"; then :
73415 glibcxx_cv_func__float_trig_use=yes
73416 else
73417 glibcxx_cv_func__float_trig_use=no
73418 fi
73419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73420 ac_ext=c
73421 ac_cpp='$CPP $CPPFLAGS'
73422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73425
73426 fi
73427
73428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73429 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73430 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73431 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73432 do :
73433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73435 eval as_val=\$$as_ac_var
73436 if test "x$as_val" = x""yes; then :
73437 cat >>confdefs.h <<_ACEOF
73438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73439 _ACEOF
73440
73441 fi
73442 done
73443
73444 fi
73445 fi
73446
73447
73448
73449
73450
73451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73452 $as_echo_n "checking for float round functions... " >&6; }
73453 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73454 $as_echo_n "(cached) " >&6
73455 else
73456
73457
73458 ac_ext=cpp
73459 ac_cpp='$CXXCPP $CPPFLAGS'
73460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73463
73464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73465 /* end confdefs.h. */
73466 #include <math.h>
73467 int
73468 main ()
73469 {
73470 ceilf (0); floorf (0);
73471 ;
73472 return 0;
73473 }
73474 _ACEOF
73475 if ac_fn_cxx_try_compile "$LINENO"; then :
73476 glibcxx_cv_func_float_round_use=yes
73477 else
73478 glibcxx_cv_func_float_round_use=no
73479 fi
73480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73481 ac_ext=c
73482 ac_cpp='$CPP $CPPFLAGS'
73483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73486
73487 fi
73488
73489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73490 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73491 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73492 for ac_func in ceilf floorf
73493 do :
73494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73496 eval as_val=\$$as_ac_var
73497 if test "x$as_val" = x""yes; then :
73498 cat >>confdefs.h <<_ACEOF
73499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73500 _ACEOF
73501
73502 fi
73503 done
73504
73505 else
73506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73507 $as_echo_n "checking for _float round functions... " >&6; }
73508 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73509 $as_echo_n "(cached) " >&6
73510 else
73511
73512
73513 ac_ext=cpp
73514 ac_cpp='$CXXCPP $CPPFLAGS'
73515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73518
73519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73520 /* end confdefs.h. */
73521 #include <math.h>
73522 int
73523 main ()
73524 {
73525 _ceilf (0); _floorf (0);
73526 ;
73527 return 0;
73528 }
73529 _ACEOF
73530 if ac_fn_cxx_try_compile "$LINENO"; then :
73531 glibcxx_cv_func__float_round_use=yes
73532 else
73533 glibcxx_cv_func__float_round_use=no
73534 fi
73535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73536 ac_ext=c
73537 ac_cpp='$CPP $CPPFLAGS'
73538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73541
73542 fi
73543
73544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73545 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73546 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73547 for ac_func in _ceilf _floorf
73548 do :
73549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73551 eval as_val=\$$as_ac_var
73552 if test "x$as_val" = x""yes; then :
73553 cat >>confdefs.h <<_ACEOF
73554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73555 _ACEOF
73556
73557 fi
73558 done
73559
73560 fi
73561 fi
73562
73563
73564
73565
73566
73567
73568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73569 $as_echo_n "checking for expf declaration... " >&6; }
73570 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73571 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73572 $as_echo_n "(cached) " >&6
73573 else
73574
73575
73576 ac_ext=cpp
73577 ac_cpp='$CXXCPP $CPPFLAGS'
73578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73581
73582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73583 /* end confdefs.h. */
73584 #include <math.h>
73585 #ifdef HAVE_IEEEFP_H
73586 #include <ieeefp.h>
73587 #endif
73588
73589 int
73590 main ()
73591 {
73592 expf(0);
73593 ;
73594 return 0;
73595 }
73596 _ACEOF
73597 if ac_fn_cxx_try_compile "$LINENO"; then :
73598 glibcxx_cv_func_expf_use=yes
73599 else
73600 glibcxx_cv_func_expf_use=no
73601 fi
73602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73603 ac_ext=c
73604 ac_cpp='$CPP $CPPFLAGS'
73605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73608
73609
73610 fi
73611
73612 fi
73613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73614 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73615
73616 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73617 for ac_func in expf
73618 do :
73619 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73620 if test "x$ac_cv_func_expf" = x""yes; then :
73621 cat >>confdefs.h <<_ACEOF
73622 #define HAVE_EXPF 1
73623 _ACEOF
73624
73625 fi
73626 done
73627
73628 else
73629
73630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73631 $as_echo_n "checking for _expf declaration... " >&6; }
73632 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73633 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73634 $as_echo_n "(cached) " >&6
73635 else
73636
73637
73638 ac_ext=cpp
73639 ac_cpp='$CXXCPP $CPPFLAGS'
73640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73643
73644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73645 /* end confdefs.h. */
73646 #include <math.h>
73647 #ifdef HAVE_IEEEFP_H
73648 #include <ieeefp.h>
73649 #endif
73650
73651 int
73652 main ()
73653 {
73654 _expf(0);
73655 ;
73656 return 0;
73657 }
73658 _ACEOF
73659 if ac_fn_cxx_try_compile "$LINENO"; then :
73660 glibcxx_cv_func__expf_use=yes
73661 else
73662 glibcxx_cv_func__expf_use=no
73663 fi
73664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73665 ac_ext=c
73666 ac_cpp='$CPP $CPPFLAGS'
73667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73670
73671
73672 fi
73673
73674 fi
73675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73676 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73677
73678 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73679 for ac_func in _expf
73680 do :
73681 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73682 if test "x$ac_cv_func__expf" = x""yes; then :
73683 cat >>confdefs.h <<_ACEOF
73684 #define HAVE__EXPF 1
73685 _ACEOF
73686
73687 fi
73688 done
73689
73690 fi
73691 fi
73692
73693
73694
73695
73696
73697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73698 $as_echo_n "checking for isnanf declaration... " >&6; }
73699 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73700 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73701 $as_echo_n "(cached) " >&6
73702 else
73703
73704
73705 ac_ext=cpp
73706 ac_cpp='$CXXCPP $CPPFLAGS'
73707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73710
73711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73712 /* end confdefs.h. */
73713 #include <math.h>
73714 #ifdef HAVE_IEEEFP_H
73715 #include <ieeefp.h>
73716 #endif
73717
73718 int
73719 main ()
73720 {
73721 isnanf(0);
73722 ;
73723 return 0;
73724 }
73725 _ACEOF
73726 if ac_fn_cxx_try_compile "$LINENO"; then :
73727 glibcxx_cv_func_isnanf_use=yes
73728 else
73729 glibcxx_cv_func_isnanf_use=no
73730 fi
73731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73732 ac_ext=c
73733 ac_cpp='$CPP $CPPFLAGS'
73734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73737
73738
73739 fi
73740
73741 fi
73742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73743 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73744
73745 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73746 for ac_func in isnanf
73747 do :
73748 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73749 if test "x$ac_cv_func_isnanf" = x""yes; then :
73750 cat >>confdefs.h <<_ACEOF
73751 #define HAVE_ISNANF 1
73752 _ACEOF
73753
73754 fi
73755 done
73756
73757 else
73758
73759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73760 $as_echo_n "checking for _isnanf declaration... " >&6; }
73761 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73762 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73763 $as_echo_n "(cached) " >&6
73764 else
73765
73766
73767 ac_ext=cpp
73768 ac_cpp='$CXXCPP $CPPFLAGS'
73769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73772
73773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73774 /* end confdefs.h. */
73775 #include <math.h>
73776 #ifdef HAVE_IEEEFP_H
73777 #include <ieeefp.h>
73778 #endif
73779
73780 int
73781 main ()
73782 {
73783 _isnanf(0);
73784 ;
73785 return 0;
73786 }
73787 _ACEOF
73788 if ac_fn_cxx_try_compile "$LINENO"; then :
73789 glibcxx_cv_func__isnanf_use=yes
73790 else
73791 glibcxx_cv_func__isnanf_use=no
73792 fi
73793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73794 ac_ext=c
73795 ac_cpp='$CPP $CPPFLAGS'
73796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73799
73800
73801 fi
73802
73803 fi
73804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73805 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73806
73807 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73808 for ac_func in _isnanf
73809 do :
73810 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73811 if test "x$ac_cv_func__isnanf" = x""yes; then :
73812 cat >>confdefs.h <<_ACEOF
73813 #define HAVE__ISNANF 1
73814 _ACEOF
73815
73816 fi
73817 done
73818
73819 fi
73820 fi
73821
73822
73823
73824
73825
73826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73827 $as_echo_n "checking for isinff declaration... " >&6; }
73828 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73829 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73830 $as_echo_n "(cached) " >&6
73831 else
73832
73833
73834 ac_ext=cpp
73835 ac_cpp='$CXXCPP $CPPFLAGS'
73836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73839
73840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73841 /* end confdefs.h. */
73842 #include <math.h>
73843 #ifdef HAVE_IEEEFP_H
73844 #include <ieeefp.h>
73845 #endif
73846
73847 int
73848 main ()
73849 {
73850 isinff(0);
73851 ;
73852 return 0;
73853 }
73854 _ACEOF
73855 if ac_fn_cxx_try_compile "$LINENO"; then :
73856 glibcxx_cv_func_isinff_use=yes
73857 else
73858 glibcxx_cv_func_isinff_use=no
73859 fi
73860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73861 ac_ext=c
73862 ac_cpp='$CPP $CPPFLAGS'
73863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73866
73867
73868 fi
73869
73870 fi
73871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73872 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73873
73874 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73875 for ac_func in isinff
73876 do :
73877 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73878 if test "x$ac_cv_func_isinff" = x""yes; then :
73879 cat >>confdefs.h <<_ACEOF
73880 #define HAVE_ISINFF 1
73881 _ACEOF
73882
73883 fi
73884 done
73885
73886 else
73887
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73889 $as_echo_n "checking for _isinff declaration... " >&6; }
73890 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73891 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
73913 ;
73914 return 0;
73915 }
73916 _ACEOF
73917 if ac_fn_cxx_try_compile "$LINENO"; then :
73918 glibcxx_cv_func__isinff_use=yes
73919 else
73920 glibcxx_cv_func__isinff_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__isinff_use" >&5
73934 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73935
73936 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73937 for ac_func in _isinff
73938 do :
73939 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73940 if test "x$ac_cv_func__isinff" = x""yes; then :
73941 cat >>confdefs.h <<_ACEOF
73942 #define HAVE__ISINFF 1
73943 _ACEOF
73944
73945 fi
73946 done
73947
73948 fi
73949 fi
73950
73951
73952
73953
73954
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73956 $as_echo_n "checking for atan2f declaration... " >&6; }
73957 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73958 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73959 $as_echo_n "(cached) " >&6
73960 else
73961
73962
73963 ac_ext=cpp
73964 ac_cpp='$CXXCPP $CPPFLAGS'
73965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73968
73969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73970 /* end confdefs.h. */
73971 #include <math.h>
73972 int
73973 main ()
73974 {
73975 atan2f(0, 0);
73976 ;
73977 return 0;
73978 }
73979 _ACEOF
73980 if ac_fn_cxx_try_compile "$LINENO"; then :
73981 glibcxx_cv_func_atan2f_use=yes
73982 else
73983 glibcxx_cv_func_atan2f_use=no
73984 fi
73985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73986 ac_ext=c
73987 ac_cpp='$CPP $CPPFLAGS'
73988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73991
73992
73993 fi
73994
73995 fi
73996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73997 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73998
73999 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74000 for ac_func in atan2f
74001 do :
74002 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74003 if test "x$ac_cv_func_atan2f" = x""yes; then :
74004 cat >>confdefs.h <<_ACEOF
74005 #define HAVE_ATAN2F 1
74006 _ACEOF
74007
74008 fi
74009 done
74010
74011 else
74012
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74014 $as_echo_n "checking for _atan2f declaration... " >&6; }
74015 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74016 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74017 $as_echo_n "(cached) " >&6
74018 else
74019
74020
74021 ac_ext=cpp
74022 ac_cpp='$CXXCPP $CPPFLAGS'
74023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74026
74027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74028 /* end confdefs.h. */
74029 #include <math.h>
74030 int
74031 main ()
74032 {
74033 _atan2f(0, 0);
74034 ;
74035 return 0;
74036 }
74037 _ACEOF
74038 if ac_fn_cxx_try_compile "$LINENO"; then :
74039 glibcxx_cv_func__atan2f_use=yes
74040 else
74041 glibcxx_cv_func__atan2f_use=no
74042 fi
74043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74044 ac_ext=c
74045 ac_cpp='$CPP $CPPFLAGS'
74046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74049
74050
74051 fi
74052
74053 fi
74054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74055 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74056
74057 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74058 for ac_func in _atan2f
74059 do :
74060 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74061 if test "x$ac_cv_func__atan2f" = x""yes; then :
74062 cat >>confdefs.h <<_ACEOF
74063 #define HAVE__ATAN2F 1
74064 _ACEOF
74065
74066 fi
74067 done
74068
74069 fi
74070 fi
74071
74072
74073
74074
74075
74076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74077 $as_echo_n "checking for fabsf declaration... " >&6; }
74078 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74079 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74080 $as_echo_n "(cached) " >&6
74081 else
74082
74083
74084 ac_ext=cpp
74085 ac_cpp='$CXXCPP $CPPFLAGS'
74086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74089
74090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74091 /* end confdefs.h. */
74092 #include <math.h>
74093 #ifdef HAVE_IEEEFP_H
74094 #include <ieeefp.h>
74095 #endif
74096
74097 int
74098 main ()
74099 {
74100 fabsf(0);
74101 ;
74102 return 0;
74103 }
74104 _ACEOF
74105 if ac_fn_cxx_try_compile "$LINENO"; then :
74106 glibcxx_cv_func_fabsf_use=yes
74107 else
74108 glibcxx_cv_func_fabsf_use=no
74109 fi
74110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74111 ac_ext=c
74112 ac_cpp='$CPP $CPPFLAGS'
74113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74116
74117
74118 fi
74119
74120 fi
74121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74122 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74123
74124 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74125 for ac_func in fabsf
74126 do :
74127 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74128 if test "x$ac_cv_func_fabsf" = x""yes; then :
74129 cat >>confdefs.h <<_ACEOF
74130 #define HAVE_FABSF 1
74131 _ACEOF
74132
74133 fi
74134 done
74135
74136 else
74137
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74139 $as_echo_n "checking for _fabsf declaration... " >&6; }
74140 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74141 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
74156 #include <ieeefp.h>
74157 #endif
74158
74159 int
74160 main ()
74161 {
74162 _fabsf(0);
74163 ;
74164 return 0;
74165 }
74166 _ACEOF
74167 if ac_fn_cxx_try_compile "$LINENO"; then :
74168 glibcxx_cv_func__fabsf_use=yes
74169 else
74170 glibcxx_cv_func__fabsf_use=no
74171 fi
74172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74173 ac_ext=c
74174 ac_cpp='$CPP $CPPFLAGS'
74175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74178
74179
74180 fi
74181
74182 fi
74183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74184 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74185
74186 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74187 for ac_func in _fabsf
74188 do :
74189 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74190 if test "x$ac_cv_func__fabsf" = x""yes; then :
74191 cat >>confdefs.h <<_ACEOF
74192 #define HAVE__FABSF 1
74193 _ACEOF
74194
74195 fi
74196 done
74197
74198 fi
74199 fi
74200
74201
74202
74203
74204
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74206 $as_echo_n "checking for fmodf declaration... " >&6; }
74207 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74208 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74209 $as_echo_n "(cached) " >&6
74210 else
74211
74212
74213 ac_ext=cpp
74214 ac_cpp='$CXXCPP $CPPFLAGS'
74215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74218
74219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74220 /* end confdefs.h. */
74221 #include <math.h>
74222 int
74223 main ()
74224 {
74225 fmodf(0, 0);
74226 ;
74227 return 0;
74228 }
74229 _ACEOF
74230 if ac_fn_cxx_try_compile "$LINENO"; then :
74231 glibcxx_cv_func_fmodf_use=yes
74232 else
74233 glibcxx_cv_func_fmodf_use=no
74234 fi
74235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74236 ac_ext=c
74237 ac_cpp='$CPP $CPPFLAGS'
74238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74241
74242
74243 fi
74244
74245 fi
74246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74247 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74248
74249 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74250 for ac_func in fmodf
74251 do :
74252 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74253 if test "x$ac_cv_func_fmodf" = x""yes; then :
74254 cat >>confdefs.h <<_ACEOF
74255 #define HAVE_FMODF 1
74256 _ACEOF
74257
74258 fi
74259 done
74260
74261 else
74262
74263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74264 $as_echo_n "checking for _fmodf declaration... " >&6; }
74265 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74266 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74267 $as_echo_n "(cached) " >&6
74268 else
74269
74270
74271 ac_ext=cpp
74272 ac_cpp='$CXXCPP $CPPFLAGS'
74273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74276
74277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74278 /* end confdefs.h. */
74279 #include <math.h>
74280 int
74281 main ()
74282 {
74283 _fmodf(0, 0);
74284 ;
74285 return 0;
74286 }
74287 _ACEOF
74288 if ac_fn_cxx_try_compile "$LINENO"; then :
74289 glibcxx_cv_func__fmodf_use=yes
74290 else
74291 glibcxx_cv_func__fmodf_use=no
74292 fi
74293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74294 ac_ext=c
74295 ac_cpp='$CPP $CPPFLAGS'
74296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74299
74300
74301 fi
74302
74303 fi
74304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74305 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74306
74307 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74308 for ac_func in _fmodf
74309 do :
74310 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74311 if test "x$ac_cv_func__fmodf" = x""yes; then :
74312 cat >>confdefs.h <<_ACEOF
74313 #define HAVE__FMODF 1
74314 _ACEOF
74315
74316 fi
74317 done
74318
74319 fi
74320 fi
74321
74322
74323
74324
74325
74326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74327 $as_echo_n "checking for frexpf declaration... " >&6; }
74328 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74329 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74330 $as_echo_n "(cached) " >&6
74331 else
74332
74333
74334 ac_ext=cpp
74335 ac_cpp='$CXXCPP $CPPFLAGS'
74336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74339
74340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74341 /* end confdefs.h. */
74342 #include <math.h>
74343 int
74344 main ()
74345 {
74346 frexpf(0, 0);
74347 ;
74348 return 0;
74349 }
74350 _ACEOF
74351 if ac_fn_cxx_try_compile "$LINENO"; then :
74352 glibcxx_cv_func_frexpf_use=yes
74353 else
74354 glibcxx_cv_func_frexpf_use=no
74355 fi
74356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74357 ac_ext=c
74358 ac_cpp='$CPP $CPPFLAGS'
74359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74362
74363
74364 fi
74365
74366 fi
74367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74368 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74369
74370 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74371 for ac_func in frexpf
74372 do :
74373 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74374 if test "x$ac_cv_func_frexpf" = x""yes; then :
74375 cat >>confdefs.h <<_ACEOF
74376 #define HAVE_FREXPF 1
74377 _ACEOF
74378
74379 fi
74380 done
74381
74382 else
74383
74384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74385 $as_echo_n "checking for _frexpf declaration... " >&6; }
74386 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74387 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74388 $as_echo_n "(cached) " >&6
74389 else
74390
74391
74392 ac_ext=cpp
74393 ac_cpp='$CXXCPP $CPPFLAGS'
74394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74397
74398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74399 /* end confdefs.h. */
74400 #include <math.h>
74401 int
74402 main ()
74403 {
74404 _frexpf(0, 0);
74405 ;
74406 return 0;
74407 }
74408 _ACEOF
74409 if ac_fn_cxx_try_compile "$LINENO"; then :
74410 glibcxx_cv_func__frexpf_use=yes
74411 else
74412 glibcxx_cv_func__frexpf_use=no
74413 fi
74414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74415 ac_ext=c
74416 ac_cpp='$CPP $CPPFLAGS'
74417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74420
74421
74422 fi
74423
74424 fi
74425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74426 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74427
74428 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74429 for ac_func in _frexpf
74430 do :
74431 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74432 if test "x$ac_cv_func__frexpf" = x""yes; then :
74433 cat >>confdefs.h <<_ACEOF
74434 #define HAVE__FREXPF 1
74435 _ACEOF
74436
74437 fi
74438 done
74439
74440 fi
74441 fi
74442
74443
74444
74445
74446
74447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74448 $as_echo_n "checking for hypotf declaration... " >&6; }
74449 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74450 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74451 $as_echo_n "(cached) " >&6
74452 else
74453
74454
74455 ac_ext=cpp
74456 ac_cpp='$CXXCPP $CPPFLAGS'
74457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74460
74461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74462 /* end confdefs.h. */
74463 #include <math.h>
74464 int
74465 main ()
74466 {
74467 hypotf(0, 0);
74468 ;
74469 return 0;
74470 }
74471 _ACEOF
74472 if ac_fn_cxx_try_compile "$LINENO"; then :
74473 glibcxx_cv_func_hypotf_use=yes
74474 else
74475 glibcxx_cv_func_hypotf_use=no
74476 fi
74477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74478 ac_ext=c
74479 ac_cpp='$CPP $CPPFLAGS'
74480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74483
74484
74485 fi
74486
74487 fi
74488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74489 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74490
74491 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74492 for ac_func in hypotf
74493 do :
74494 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74495 if test "x$ac_cv_func_hypotf" = x""yes; then :
74496 cat >>confdefs.h <<_ACEOF
74497 #define HAVE_HYPOTF 1
74498 _ACEOF
74499
74500 fi
74501 done
74502
74503 else
74504
74505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74506 $as_echo_n "checking for _hypotf declaration... " >&6; }
74507 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74508 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74509 $as_echo_n "(cached) " >&6
74510 else
74511
74512
74513 ac_ext=cpp
74514 ac_cpp='$CXXCPP $CPPFLAGS'
74515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74518
74519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74520 /* end confdefs.h. */
74521 #include <math.h>
74522 int
74523 main ()
74524 {
74525 _hypotf(0, 0);
74526 ;
74527 return 0;
74528 }
74529 _ACEOF
74530 if ac_fn_cxx_try_compile "$LINENO"; then :
74531 glibcxx_cv_func__hypotf_use=yes
74532 else
74533 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
74547 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74548
74549 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74550 for ac_func in _hypotf
74551 do :
74552 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74553 if test "x$ac_cv_func__hypotf" = x""yes; then :
74554 cat >>confdefs.h <<_ACEOF
74555 #define HAVE__HYPOTF 1
74556 _ACEOF
74557
74558 fi
74559 done
74560
74561 fi
74562 fi
74563
74564
74565
74566
74567
74568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74569 $as_echo_n "checking for ldexpf declaration... " >&6; }
74570 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74571 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74572 $as_echo_n "(cached) " >&6
74573 else
74574
74575
74576 ac_ext=cpp
74577 ac_cpp='$CXXCPP $CPPFLAGS'
74578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74581
74582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74583 /* end confdefs.h. */
74584 #include <math.h>
74585 int
74586 main ()
74587 {
74588 ldexpf(0, 0);
74589 ;
74590 return 0;
74591 }
74592 _ACEOF
74593 if ac_fn_cxx_try_compile "$LINENO"; then :
74594 glibcxx_cv_func_ldexpf_use=yes
74595 else
74596 glibcxx_cv_func_ldexpf_use=no
74597 fi
74598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74599 ac_ext=c
74600 ac_cpp='$CPP $CPPFLAGS'
74601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74604
74605
74606 fi
74607
74608 fi
74609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74610 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74611
74612 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74613 for ac_func in ldexpf
74614 do :
74615 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74616 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74617 cat >>confdefs.h <<_ACEOF
74618 #define HAVE_LDEXPF 1
74619 _ACEOF
74620
74621 fi
74622 done
74623
74624 else
74625
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74627 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74628 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74629 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74630 $as_echo_n "(cached) " >&6
74631 else
74632
74633
74634 ac_ext=cpp
74635 ac_cpp='$CXXCPP $CPPFLAGS'
74636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74639
74640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74641 /* end confdefs.h. */
74642 #include <math.h>
74643 int
74644 main ()
74645 {
74646 _ldexpf(0, 0);
74647 ;
74648 return 0;
74649 }
74650 _ACEOF
74651 if ac_fn_cxx_try_compile "$LINENO"; then :
74652 glibcxx_cv_func__ldexpf_use=yes
74653 else
74654 glibcxx_cv_func__ldexpf_use=no
74655 fi
74656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74657 ac_ext=c
74658 ac_cpp='$CPP $CPPFLAGS'
74659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74662
74663
74664 fi
74665
74666 fi
74667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74668 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74669
74670 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74671 for ac_func in _ldexpf
74672 do :
74673 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74674 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74675 cat >>confdefs.h <<_ACEOF
74676 #define HAVE__LDEXPF 1
74677 _ACEOF
74678
74679 fi
74680 done
74681
74682 fi
74683 fi
74684
74685
74686
74687
74688
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74690 $as_echo_n "checking for logf declaration... " >&6; }
74691 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74692 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74693 $as_echo_n "(cached) " >&6
74694 else
74695
74696
74697 ac_ext=cpp
74698 ac_cpp='$CXXCPP $CPPFLAGS'
74699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74702
74703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74704 /* end confdefs.h. */
74705 #include <math.h>
74706 #ifdef HAVE_IEEEFP_H
74707 #include <ieeefp.h>
74708 #endif
74709
74710 int
74711 main ()
74712 {
74713 logf(0);
74714 ;
74715 return 0;
74716 }
74717 _ACEOF
74718 if ac_fn_cxx_try_compile "$LINENO"; then :
74719 glibcxx_cv_func_logf_use=yes
74720 else
74721 glibcxx_cv_func_logf_use=no
74722 fi
74723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74724 ac_ext=c
74725 ac_cpp='$CPP $CPPFLAGS'
74726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74729
74730
74731 fi
74732
74733 fi
74734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74735 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74736
74737 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74738 for ac_func in logf
74739 do :
74740 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74741 if test "x$ac_cv_func_logf" = x""yes; then :
74742 cat >>confdefs.h <<_ACEOF
74743 #define HAVE_LOGF 1
74744 _ACEOF
74745
74746 fi
74747 done
74748
74749 else
74750
74751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74752 $as_echo_n "checking for _logf declaration... " >&6; }
74753 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74754 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74755 $as_echo_n "(cached) " >&6
74756 else
74757
74758
74759 ac_ext=cpp
74760 ac_cpp='$CXXCPP $CPPFLAGS'
74761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74764
74765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74766 /* end confdefs.h. */
74767 #include <math.h>
74768 #ifdef HAVE_IEEEFP_H
74769 #include <ieeefp.h>
74770 #endif
74771
74772 int
74773 main ()
74774 {
74775 _logf(0);
74776 ;
74777 return 0;
74778 }
74779 _ACEOF
74780 if ac_fn_cxx_try_compile "$LINENO"; then :
74781 glibcxx_cv_func__logf_use=yes
74782 else
74783 glibcxx_cv_func__logf_use=no
74784 fi
74785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74786 ac_ext=c
74787 ac_cpp='$CPP $CPPFLAGS'
74788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74791
74792
74793 fi
74794
74795 fi
74796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74797 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74798
74799 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74800 for ac_func in _logf
74801 do :
74802 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74803 if test "x$ac_cv_func__logf" = x""yes; then :
74804 cat >>confdefs.h <<_ACEOF
74805 #define HAVE__LOGF 1
74806 _ACEOF
74807
74808 fi
74809 done
74810
74811 fi
74812 fi
74813
74814
74815
74816
74817
74818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74819 $as_echo_n "checking for log10f declaration... " >&6; }
74820 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74821 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74822 $as_echo_n "(cached) " >&6
74823 else
74824
74825
74826 ac_ext=cpp
74827 ac_cpp='$CXXCPP $CPPFLAGS'
74828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74831
74832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74833 /* end confdefs.h. */
74834 #include <math.h>
74835 #ifdef HAVE_IEEEFP_H
74836 #include <ieeefp.h>
74837 #endif
74838
74839 int
74840 main ()
74841 {
74842 log10f(0);
74843 ;
74844 return 0;
74845 }
74846 _ACEOF
74847 if ac_fn_cxx_try_compile "$LINENO"; then :
74848 glibcxx_cv_func_log10f_use=yes
74849 else
74850 glibcxx_cv_func_log10f_use=no
74851 fi
74852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74853 ac_ext=c
74854 ac_cpp='$CPP $CPPFLAGS'
74855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74858
74859
74860 fi
74861
74862 fi
74863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74864 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74865
74866 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74867 for ac_func in log10f
74868 do :
74869 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74870 if test "x$ac_cv_func_log10f" = x""yes; then :
74871 cat >>confdefs.h <<_ACEOF
74872 #define HAVE_LOG10F 1
74873 _ACEOF
74874
74875 fi
74876 done
74877
74878 else
74879
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74881 $as_echo_n "checking for _log10f declaration... " >&6; }
74882 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74883 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
74898 #include <ieeefp.h>
74899 #endif
74900
74901 int
74902 main ()
74903 {
74904 _log10f(0);
74905 ;
74906 return 0;
74907 }
74908 _ACEOF
74909 if ac_fn_cxx_try_compile "$LINENO"; then :
74910 glibcxx_cv_func__log10f_use=yes
74911 else
74912 glibcxx_cv_func__log10f_use=no
74913 fi
74914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74915 ac_ext=c
74916 ac_cpp='$CPP $CPPFLAGS'
74917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74920
74921
74922 fi
74923
74924 fi
74925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74926 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74927
74928 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74929 for ac_func in _log10f
74930 do :
74931 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74932 if test "x$ac_cv_func__log10f" = x""yes; then :
74933 cat >>confdefs.h <<_ACEOF
74934 #define HAVE__LOG10F 1
74935 _ACEOF
74936
74937 fi
74938 done
74939
74940 fi
74941 fi
74942
74943
74944
74945
74946
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74948 $as_echo_n "checking for modff declaration... " >&6; }
74949 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74950 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74951 $as_echo_n "(cached) " >&6
74952 else
74953
74954
74955 ac_ext=cpp
74956 ac_cpp='$CXXCPP $CPPFLAGS'
74957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74960
74961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74962 /* end confdefs.h. */
74963 #include <math.h>
74964 int
74965 main ()
74966 {
74967 modff(0, 0);
74968 ;
74969 return 0;
74970 }
74971 _ACEOF
74972 if ac_fn_cxx_try_compile "$LINENO"; then :
74973 glibcxx_cv_func_modff_use=yes
74974 else
74975 glibcxx_cv_func_modff_use=no
74976 fi
74977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74978 ac_ext=c
74979 ac_cpp='$CPP $CPPFLAGS'
74980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74983
74984
74985 fi
74986
74987 fi
74988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74989 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74990
74991 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74992 for ac_func in modff
74993 do :
74994 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74995 if test "x$ac_cv_func_modff" = x""yes; then :
74996 cat >>confdefs.h <<_ACEOF
74997 #define HAVE_MODFF 1
74998 _ACEOF
74999
75000 fi
75001 done
75002
75003 else
75004
75005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75006 $as_echo_n "checking for _modff declaration... " >&6; }
75007 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75008 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75009 $as_echo_n "(cached) " >&6
75010 else
75011
75012
75013 ac_ext=cpp
75014 ac_cpp='$CXXCPP $CPPFLAGS'
75015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75018
75019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75020 /* end confdefs.h. */
75021 #include <math.h>
75022 int
75023 main ()
75024 {
75025 _modff(0, 0);
75026 ;
75027 return 0;
75028 }
75029 _ACEOF
75030 if ac_fn_cxx_try_compile "$LINENO"; then :
75031 glibcxx_cv_func__modff_use=yes
75032 else
75033 glibcxx_cv_func__modff_use=no
75034 fi
75035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75036 ac_ext=c
75037 ac_cpp='$CPP $CPPFLAGS'
75038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75041
75042
75043 fi
75044
75045 fi
75046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75047 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75048
75049 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75050 for ac_func in _modff
75051 do :
75052 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75053 if test "x$ac_cv_func__modff" = x""yes; then :
75054 cat >>confdefs.h <<_ACEOF
75055 #define HAVE__MODFF 1
75056 _ACEOF
75057
75058 fi
75059 done
75060
75061 fi
75062 fi
75063
75064
75065
75066
75067
75068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75069 $as_echo_n "checking for modf declaration... " >&6; }
75070 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75071 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75072 $as_echo_n "(cached) " >&6
75073 else
75074
75075
75076 ac_ext=cpp
75077 ac_cpp='$CXXCPP $CPPFLAGS'
75078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75081
75082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75083 /* end confdefs.h. */
75084 #include <math.h>
75085 int
75086 main ()
75087 {
75088 modf(0, 0);
75089 ;
75090 return 0;
75091 }
75092 _ACEOF
75093 if ac_fn_cxx_try_compile "$LINENO"; then :
75094 glibcxx_cv_func_modf_use=yes
75095 else
75096 glibcxx_cv_func_modf_use=no
75097 fi
75098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75099 ac_ext=c
75100 ac_cpp='$CPP $CPPFLAGS'
75101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75104
75105
75106 fi
75107
75108 fi
75109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75110 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75111
75112 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75113 for ac_func in modf
75114 do :
75115 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75116 if test "x$ac_cv_func_modf" = x""yes; then :
75117 cat >>confdefs.h <<_ACEOF
75118 #define HAVE_MODF 1
75119 _ACEOF
75120
75121 fi
75122 done
75123
75124 else
75125
75126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75127 $as_echo_n "checking for _modf declaration... " >&6; }
75128 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75129 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75130 $as_echo_n "(cached) " >&6
75131 else
75132
75133
75134 ac_ext=cpp
75135 ac_cpp='$CXXCPP $CPPFLAGS'
75136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75139
75140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75141 /* end confdefs.h. */
75142 #include <math.h>
75143 int
75144 main ()
75145 {
75146 _modf(0, 0);
75147 ;
75148 return 0;
75149 }
75150 _ACEOF
75151 if ac_fn_cxx_try_compile "$LINENO"; then :
75152 glibcxx_cv_func__modf_use=yes
75153 else
75154 glibcxx_cv_func__modf_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__modf_use" >&5
75168 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75169
75170 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75171 for ac_func in _modf
75172 do :
75173 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75174 if test "x$ac_cv_func__modf" = x""yes; then :
75175 cat >>confdefs.h <<_ACEOF
75176 #define HAVE__MODF 1
75177 _ACEOF
75178
75179 fi
75180 done
75181
75182 fi
75183 fi
75184
75185
75186
75187
75188
75189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75190 $as_echo_n "checking for powf declaration... " >&6; }
75191 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75192 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75193 $as_echo_n "(cached) " >&6
75194 else
75195
75196
75197 ac_ext=cpp
75198 ac_cpp='$CXXCPP $CPPFLAGS'
75199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75202
75203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75204 /* end confdefs.h. */
75205 #include <math.h>
75206 int
75207 main ()
75208 {
75209 powf(0, 0);
75210 ;
75211 return 0;
75212 }
75213 _ACEOF
75214 if ac_fn_cxx_try_compile "$LINENO"; then :
75215 glibcxx_cv_func_powf_use=yes
75216 else
75217 glibcxx_cv_func_powf_use=no
75218 fi
75219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75220 ac_ext=c
75221 ac_cpp='$CPP $CPPFLAGS'
75222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75225
75226
75227 fi
75228
75229 fi
75230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75231 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75232
75233 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75234 for ac_func in powf
75235 do :
75236 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75237 if test "x$ac_cv_func_powf" = x""yes; then :
75238 cat >>confdefs.h <<_ACEOF
75239 #define HAVE_POWF 1
75240 _ACEOF
75241
75242 fi
75243 done
75244
75245 else
75246
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75248 $as_echo_n "checking for _powf declaration... " >&6; }
75249 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75250 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75253
75254
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75260
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75264 int
75265 main ()
75266 {
75267 _powf(0, 0);
75268 ;
75269 return 0;
75270 }
75271 _ACEOF
75272 if ac_fn_cxx_try_compile "$LINENO"; then :
75273 glibcxx_cv_func__powf_use=yes
75274 else
75275 glibcxx_cv_func__powf_use=no
75276 fi
75277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75278 ac_ext=c
75279 ac_cpp='$CPP $CPPFLAGS'
75280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75283
75284
75285 fi
75286
75287 fi
75288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75289 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75290
75291 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75292 for ac_func in _powf
75293 do :
75294 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75295 if test "x$ac_cv_func__powf" = x""yes; then :
75296 cat >>confdefs.h <<_ACEOF
75297 #define HAVE__POWF 1
75298 _ACEOF
75299
75300 fi
75301 done
75302
75303 fi
75304 fi
75305
75306
75307
75308
75309
75310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75311 $as_echo_n "checking for sqrtf declaration... " >&6; }
75312 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75313 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75314 $as_echo_n "(cached) " >&6
75315 else
75316
75317
75318 ac_ext=cpp
75319 ac_cpp='$CXXCPP $CPPFLAGS'
75320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75323
75324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75325 /* end confdefs.h. */
75326 #include <math.h>
75327 #ifdef HAVE_IEEEFP_H
75328 #include <ieeefp.h>
75329 #endif
75330
75331 int
75332 main ()
75333 {
75334 sqrtf(0);
75335 ;
75336 return 0;
75337 }
75338 _ACEOF
75339 if ac_fn_cxx_try_compile "$LINENO"; then :
75340 glibcxx_cv_func_sqrtf_use=yes
75341 else
75342 glibcxx_cv_func_sqrtf_use=no
75343 fi
75344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75345 ac_ext=c
75346 ac_cpp='$CPP $CPPFLAGS'
75347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75350
75351
75352 fi
75353
75354 fi
75355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75356 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75357
75358 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75359 for ac_func in sqrtf
75360 do :
75361 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75362 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75363 cat >>confdefs.h <<_ACEOF
75364 #define HAVE_SQRTF 1
75365 _ACEOF
75366
75367 fi
75368 done
75369
75370 else
75371
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75373 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75374 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75375 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
75397 ;
75398 return 0;
75399 }
75400 _ACEOF
75401 if ac_fn_cxx_try_compile "$LINENO"; then :
75402 glibcxx_cv_func__sqrtf_use=yes
75403 else
75404 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
75418 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75419
75420 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75421 for ac_func in _sqrtf
75422 do :
75423 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75424 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75425 cat >>confdefs.h <<_ACEOF
75426 #define HAVE__SQRTF 1
75427 _ACEOF
75428
75429 fi
75430 done
75431
75432 fi
75433 fi
75434
75435
75436
75437
75438
75439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75440 $as_echo_n "checking for sincosf declaration... " >&6; }
75441 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75442 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75443 $as_echo_n "(cached) " >&6
75444 else
75445
75446
75447 ac_ext=cpp
75448 ac_cpp='$CXXCPP $CPPFLAGS'
75449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75452
75453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75454 /* end confdefs.h. */
75455 #include <math.h>
75456 int
75457 main ()
75458 {
75459 sincosf(0, 0, 0);
75460 ;
75461 return 0;
75462 }
75463 _ACEOF
75464 if ac_fn_cxx_try_compile "$LINENO"; then :
75465 glibcxx_cv_func_sincosf_use=yes
75466 else
75467 glibcxx_cv_func_sincosf_use=no
75468 fi
75469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75470 ac_ext=c
75471 ac_cpp='$CPP $CPPFLAGS'
75472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75475
75476
75477 fi
75478
75479 fi
75480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75481 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75482
75483 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75484 for ac_func in sincosf
75485 do :
75486 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75487 if test "x$ac_cv_func_sincosf" = x""yes; then :
75488 cat >>confdefs.h <<_ACEOF
75489 #define HAVE_SINCOSF 1
75490 _ACEOF
75491
75492 fi
75493 done
75494
75495 else
75496
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75498 $as_echo_n "checking for _sincosf declaration... " >&6; }
75499 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75500 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75501 $as_echo_n "(cached) " >&6
75502 else
75503
75504
75505 ac_ext=cpp
75506 ac_cpp='$CXXCPP $CPPFLAGS'
75507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75510
75511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75512 /* end confdefs.h. */
75513 #include <math.h>
75514 int
75515 main ()
75516 {
75517 _sincosf(0, 0, 0);
75518 ;
75519 return 0;
75520 }
75521 _ACEOF
75522 if ac_fn_cxx_try_compile "$LINENO"; then :
75523 glibcxx_cv_func__sincosf_use=yes
75524 else
75525 glibcxx_cv_func__sincosf_use=no
75526 fi
75527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75528 ac_ext=c
75529 ac_cpp='$CPP $CPPFLAGS'
75530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75533
75534
75535 fi
75536
75537 fi
75538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75539 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75540
75541 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75542 for ac_func in _sincosf
75543 do :
75544 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75545 if test "x$ac_cv_func__sincosf" = x""yes; then :
75546 cat >>confdefs.h <<_ACEOF
75547 #define HAVE__SINCOSF 1
75548 _ACEOF
75549
75550 fi
75551 done
75552
75553 fi
75554 fi
75555
75556
75557
75558
75559
75560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75561 $as_echo_n "checking for finitef declaration... " >&6; }
75562 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75563 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75564 $as_echo_n "(cached) " >&6
75565 else
75566
75567
75568 ac_ext=cpp
75569 ac_cpp='$CXXCPP $CPPFLAGS'
75570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75573
75574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75575 /* end confdefs.h. */
75576 #include <math.h>
75577 #ifdef HAVE_IEEEFP_H
75578 #include <ieeefp.h>
75579 #endif
75580
75581 int
75582 main ()
75583 {
75584 finitef(0);
75585 ;
75586 return 0;
75587 }
75588 _ACEOF
75589 if ac_fn_cxx_try_compile "$LINENO"; then :
75590 glibcxx_cv_func_finitef_use=yes
75591 else
75592 glibcxx_cv_func_finitef_use=no
75593 fi
75594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75595 ac_ext=c
75596 ac_cpp='$CPP $CPPFLAGS'
75597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75600
75601
75602 fi
75603
75604 fi
75605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75606 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75607
75608 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75609 for ac_func in finitef
75610 do :
75611 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75612 if test "x$ac_cv_func_finitef" = x""yes; then :
75613 cat >>confdefs.h <<_ACEOF
75614 #define HAVE_FINITEF 1
75615 _ACEOF
75616
75617 fi
75618 done
75619
75620 else
75621
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75623 $as_echo_n "checking for _finitef declaration... " >&6; }
75624 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75625 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75626 $as_echo_n "(cached) " >&6
75627 else
75628
75629
75630 ac_ext=cpp
75631 ac_cpp='$CXXCPP $CPPFLAGS'
75632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75635
75636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75637 /* end confdefs.h. */
75638 #include <math.h>
75639 #ifdef HAVE_IEEEFP_H
75640 #include <ieeefp.h>
75641 #endif
75642
75643 int
75644 main ()
75645 {
75646 _finitef(0);
75647 ;
75648 return 0;
75649 }
75650 _ACEOF
75651 if ac_fn_cxx_try_compile "$LINENO"; then :
75652 glibcxx_cv_func__finitef_use=yes
75653 else
75654 glibcxx_cv_func__finitef_use=no
75655 fi
75656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75657 ac_ext=c
75658 ac_cpp='$CPP $CPPFLAGS'
75659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75662
75663
75664 fi
75665
75666 fi
75667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75668 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75669
75670 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75671 for ac_func in _finitef
75672 do :
75673 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75674 if test "x$ac_cv_func__finitef" = x""yes; then :
75675 cat >>confdefs.h <<_ACEOF
75676 #define HAVE__FINITEF 1
75677 _ACEOF
75678
75679 fi
75680 done
75681
75682 fi
75683 fi
75684
75685
75686
75687
75688
75689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75690 $as_echo_n "checking for long double trig functions... " >&6; }
75691 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75692 $as_echo_n "(cached) " >&6
75693 else
75694
75695
75696 ac_ext=cpp
75697 ac_cpp='$CXXCPP $CPPFLAGS'
75698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75701
75702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75703 /* end confdefs.h. */
75704 #include <math.h>
75705 int
75706 main ()
75707 {
75708 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75709 ;
75710 return 0;
75711 }
75712 _ACEOF
75713 if ac_fn_cxx_try_compile "$LINENO"; then :
75714 glibcxx_cv_func_long_double_trig_use=yes
75715 else
75716 glibcxx_cv_func_long_double_trig_use=no
75717 fi
75718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75719 ac_ext=c
75720 ac_cpp='$CPP $CPPFLAGS'
75721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75724
75725 fi
75726
75727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75728 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75729 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75730 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75731 do :
75732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75734 eval as_val=\$$as_ac_var
75735 if test "x$as_val" = x""yes; then :
75736 cat >>confdefs.h <<_ACEOF
75737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75738 _ACEOF
75739
75740 fi
75741 done
75742
75743 else
75744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75745 $as_echo_n "checking for _long double trig functions... " >&6; }
75746 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75747 $as_echo_n "(cached) " >&6
75748 else
75749
75750
75751 ac_ext=cpp
75752 ac_cpp='$CXXCPP $CPPFLAGS'
75753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75756
75757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75758 /* end confdefs.h. */
75759 #include <math.h>
75760 int
75761 main ()
75762 {
75763 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75764 ;
75765 return 0;
75766 }
75767 _ACEOF
75768 if ac_fn_cxx_try_compile "$LINENO"; then :
75769 glibcxx_cv_func__long_double_trig_use=yes
75770 else
75771 glibcxx_cv_func__long_double_trig_use=no
75772 fi
75773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75774 ac_ext=c
75775 ac_cpp='$CPP $CPPFLAGS'
75776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75779
75780 fi
75781
75782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75783 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75784 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75785 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75786 do :
75787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75789 eval as_val=\$$as_ac_var
75790 if test "x$as_val" = x""yes; then :
75791 cat >>confdefs.h <<_ACEOF
75792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75793 _ACEOF
75794
75795 fi
75796 done
75797
75798 fi
75799 fi
75800
75801
75802
75803
75804
75805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75806 $as_echo_n "checking for long double round functions... " >&6; }
75807 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75808 $as_echo_n "(cached) " >&6
75809 else
75810
75811
75812 ac_ext=cpp
75813 ac_cpp='$CXXCPP $CPPFLAGS'
75814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75817
75818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75819 /* end confdefs.h. */
75820 #include <math.h>
75821 int
75822 main ()
75823 {
75824 ceill (0); floorl (0);
75825 ;
75826 return 0;
75827 }
75828 _ACEOF
75829 if ac_fn_cxx_try_compile "$LINENO"; then :
75830 glibcxx_cv_func_long_double_round_use=yes
75831 else
75832 glibcxx_cv_func_long_double_round_use=no
75833 fi
75834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75835 ac_ext=c
75836 ac_cpp='$CPP $CPPFLAGS'
75837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75840
75841 fi
75842
75843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75844 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75845 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75846 for ac_func in ceill floorl
75847 do :
75848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75850 eval as_val=\$$as_ac_var
75851 if test "x$as_val" = x""yes; then :
75852 cat >>confdefs.h <<_ACEOF
75853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75854 _ACEOF
75855
75856 fi
75857 done
75858
75859 else
75860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75861 $as_echo_n "checking for _long double round functions... " >&6; }
75862 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75863 $as_echo_n "(cached) " >&6
75864 else
75865
75866
75867 ac_ext=cpp
75868 ac_cpp='$CXXCPP $CPPFLAGS'
75869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75872
75873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75874 /* end confdefs.h. */
75875 #include <math.h>
75876 int
75877 main ()
75878 {
75879 _ceill (0); _floorl (0);
75880 ;
75881 return 0;
75882 }
75883 _ACEOF
75884 if ac_fn_cxx_try_compile "$LINENO"; then :
75885 glibcxx_cv_func__long_double_round_use=yes
75886 else
75887 glibcxx_cv_func__long_double_round_use=no
75888 fi
75889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75890 ac_ext=c
75891 ac_cpp='$CPP $CPPFLAGS'
75892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75895
75896 fi
75897
75898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75899 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75900 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75901 for ac_func in _ceill _floorl
75902 do :
75903 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75904 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75905 eval as_val=\$$as_ac_var
75906 if test "x$as_val" = x""yes; then :
75907 cat >>confdefs.h <<_ACEOF
75908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75909 _ACEOF
75910
75911 fi
75912 done
75913
75914 fi
75915 fi
75916
75917
75918
75919
75920
75921
75922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75923 $as_echo_n "checking for isnanl declaration... " >&6; }
75924 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75925 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75926 $as_echo_n "(cached) " >&6
75927 else
75928
75929
75930 ac_ext=cpp
75931 ac_cpp='$CXXCPP $CPPFLAGS'
75932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75935
75936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75937 /* end confdefs.h. */
75938 #include <math.h>
75939 #ifdef HAVE_IEEEFP_H
75940 #include <ieeefp.h>
75941 #endif
75942
75943 int
75944 main ()
75945 {
75946 isnanl(0);
75947 ;
75948 return 0;
75949 }
75950 _ACEOF
75951 if ac_fn_cxx_try_compile "$LINENO"; then :
75952 glibcxx_cv_func_isnanl_use=yes
75953 else
75954 glibcxx_cv_func_isnanl_use=no
75955 fi
75956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75957 ac_ext=c
75958 ac_cpp='$CPP $CPPFLAGS'
75959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75962
75963
75964 fi
75965
75966 fi
75967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75968 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75969
75970 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75971 for ac_func in isnanl
75972 do :
75973 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75974 if test "x$ac_cv_func_isnanl" = x""yes; then :
75975 cat >>confdefs.h <<_ACEOF
75976 #define HAVE_ISNANL 1
75977 _ACEOF
75978
75979 fi
75980 done
75981
75982 else
75983
75984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75985 $as_echo_n "checking for _isnanl declaration... " >&6; }
75986 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75987 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75988 $as_echo_n "(cached) " >&6
75989 else
75990
75991
75992 ac_ext=cpp
75993 ac_cpp='$CXXCPP $CPPFLAGS'
75994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75997
75998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75999 /* end confdefs.h. */
76000 #include <math.h>
76001 #ifdef HAVE_IEEEFP_H
76002 #include <ieeefp.h>
76003 #endif
76004
76005 int
76006 main ()
76007 {
76008 _isnanl(0);
76009 ;
76010 return 0;
76011 }
76012 _ACEOF
76013 if ac_fn_cxx_try_compile "$LINENO"; then :
76014 glibcxx_cv_func__isnanl_use=yes
76015 else
76016 glibcxx_cv_func__isnanl_use=no
76017 fi
76018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76019 ac_ext=c
76020 ac_cpp='$CPP $CPPFLAGS'
76021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76024
76025
76026 fi
76027
76028 fi
76029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76030 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76031
76032 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76033 for ac_func in _isnanl
76034 do :
76035 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76036 if test "x$ac_cv_func__isnanl" = x""yes; then :
76037 cat >>confdefs.h <<_ACEOF
76038 #define HAVE__ISNANL 1
76039 _ACEOF
76040
76041 fi
76042 done
76043
76044 fi
76045 fi
76046
76047
76048
76049
76050
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76052 $as_echo_n "checking for isinfl declaration... " >&6; }
76053 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76054 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76055 $as_echo_n "(cached) " >&6
76056 else
76057
76058
76059 ac_ext=cpp
76060 ac_cpp='$CXXCPP $CPPFLAGS'
76061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76064
76065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76066 /* end confdefs.h. */
76067 #include <math.h>
76068 #ifdef HAVE_IEEEFP_H
76069 #include <ieeefp.h>
76070 #endif
76071
76072 int
76073 main ()
76074 {
76075 isinfl(0);
76076 ;
76077 return 0;
76078 }
76079 _ACEOF
76080 if ac_fn_cxx_try_compile "$LINENO"; then :
76081 glibcxx_cv_func_isinfl_use=yes
76082 else
76083 glibcxx_cv_func_isinfl_use=no
76084 fi
76085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76086 ac_ext=c
76087 ac_cpp='$CPP $CPPFLAGS'
76088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76091
76092
76093 fi
76094
76095 fi
76096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76097 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76098
76099 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76100 for ac_func in isinfl
76101 do :
76102 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76103 if test "x$ac_cv_func_isinfl" = x""yes; then :
76104 cat >>confdefs.h <<_ACEOF
76105 #define HAVE_ISINFL 1
76106 _ACEOF
76107
76108 fi
76109 done
76110
76111 else
76112
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76114 $as_echo_n "checking for _isinfl declaration... " >&6; }
76115 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76116 if test "${glibcxx_cv_func__isinfl_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 _isinfl(0);
76138 ;
76139 return 0;
76140 }
76141 _ACEOF
76142 if ac_fn_cxx_try_compile "$LINENO"; then :
76143 glibcxx_cv_func__isinfl_use=yes
76144 else
76145 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
76159 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76160
76161 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76162 for ac_func in _isinfl
76163 do :
76164 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76165 if test "x$ac_cv_func__isinfl" = x""yes; then :
76166 cat >>confdefs.h <<_ACEOF
76167 #define HAVE__ISINFL 1
76168 _ACEOF
76169
76170 fi
76171 done
76172
76173 fi
76174 fi
76175
76176
76177
76178
76179
76180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76181 $as_echo_n "checking for atan2l declaration... " >&6; }
76182 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76183 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76184 $as_echo_n "(cached) " >&6
76185 else
76186
76187
76188 ac_ext=cpp
76189 ac_cpp='$CXXCPP $CPPFLAGS'
76190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76193
76194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76195 /* end confdefs.h. */
76196 #include <math.h>
76197 int
76198 main ()
76199 {
76200 atan2l(0, 0);
76201 ;
76202 return 0;
76203 }
76204 _ACEOF
76205 if ac_fn_cxx_try_compile "$LINENO"; then :
76206 glibcxx_cv_func_atan2l_use=yes
76207 else
76208 glibcxx_cv_func_atan2l_use=no
76209 fi
76210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76211 ac_ext=c
76212 ac_cpp='$CPP $CPPFLAGS'
76213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76216
76217
76218 fi
76219
76220 fi
76221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76222 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76223
76224 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76225 for ac_func in atan2l
76226 do :
76227 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76228 if test "x$ac_cv_func_atan2l" = x""yes; then :
76229 cat >>confdefs.h <<_ACEOF
76230 #define HAVE_ATAN2L 1
76231 _ACEOF
76232
76233 fi
76234 done
76235
76236 else
76237
76238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76239 $as_echo_n "checking for _atan2l declaration... " >&6; }
76240 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76241 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76242 $as_echo_n "(cached) " >&6
76243 else
76244
76245
76246 ac_ext=cpp
76247 ac_cpp='$CXXCPP $CPPFLAGS'
76248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76251
76252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76253 /* end confdefs.h. */
76254 #include <math.h>
76255 int
76256 main ()
76257 {
76258 _atan2l(0, 0);
76259 ;
76260 return 0;
76261 }
76262 _ACEOF
76263 if ac_fn_cxx_try_compile "$LINENO"; then :
76264 glibcxx_cv_func__atan2l_use=yes
76265 else
76266 glibcxx_cv_func__atan2l_use=no
76267 fi
76268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76269 ac_ext=c
76270 ac_cpp='$CPP $CPPFLAGS'
76271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76274
76275
76276 fi
76277
76278 fi
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76280 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76281
76282 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76283 for ac_func in _atan2l
76284 do :
76285 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76286 if test "x$ac_cv_func__atan2l" = x""yes; then :
76287 cat >>confdefs.h <<_ACEOF
76288 #define HAVE__ATAN2L 1
76289 _ACEOF
76290
76291 fi
76292 done
76293
76294 fi
76295 fi
76296
76297
76298
76299
76300
76301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76302 $as_echo_n "checking for expl declaration... " >&6; }
76303 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76304 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76305 $as_echo_n "(cached) " >&6
76306 else
76307
76308
76309 ac_ext=cpp
76310 ac_cpp='$CXXCPP $CPPFLAGS'
76311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76314
76315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76316 /* end confdefs.h. */
76317 #include <math.h>
76318 #ifdef HAVE_IEEEFP_H
76319 #include <ieeefp.h>
76320 #endif
76321
76322 int
76323 main ()
76324 {
76325 expl(0);
76326 ;
76327 return 0;
76328 }
76329 _ACEOF
76330 if ac_fn_cxx_try_compile "$LINENO"; then :
76331 glibcxx_cv_func_expl_use=yes
76332 else
76333 glibcxx_cv_func_expl_use=no
76334 fi
76335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76336 ac_ext=c
76337 ac_cpp='$CPP $CPPFLAGS'
76338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76341
76342
76343 fi
76344
76345 fi
76346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76347 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76348
76349 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76350 for ac_func in expl
76351 do :
76352 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76353 if test "x$ac_cv_func_expl" = x""yes; then :
76354 cat >>confdefs.h <<_ACEOF
76355 #define HAVE_EXPL 1
76356 _ACEOF
76357
76358 fi
76359 done
76360
76361 else
76362
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76364 $as_echo_n "checking for _expl declaration... " >&6; }
76365 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76366 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76367 $as_echo_n "(cached) " >&6
76368 else
76369
76370
76371 ac_ext=cpp
76372 ac_cpp='$CXXCPP $CPPFLAGS'
76373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76376
76377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76378 /* end confdefs.h. */
76379 #include <math.h>
76380 #ifdef HAVE_IEEEFP_H
76381 #include <ieeefp.h>
76382 #endif
76383
76384 int
76385 main ()
76386 {
76387 _expl(0);
76388 ;
76389 return 0;
76390 }
76391 _ACEOF
76392 if ac_fn_cxx_try_compile "$LINENO"; then :
76393 glibcxx_cv_func__expl_use=yes
76394 else
76395 glibcxx_cv_func__expl_use=no
76396 fi
76397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76398 ac_ext=c
76399 ac_cpp='$CPP $CPPFLAGS'
76400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76403
76404
76405 fi
76406
76407 fi
76408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76409 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76410
76411 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76412 for ac_func in _expl
76413 do :
76414 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76415 if test "x$ac_cv_func__expl" = x""yes; then :
76416 cat >>confdefs.h <<_ACEOF
76417 #define HAVE__EXPL 1
76418 _ACEOF
76419
76420 fi
76421 done
76422
76423 fi
76424 fi
76425
76426
76427
76428
76429
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76431 $as_echo_n "checking for fabsl declaration... " >&6; }
76432 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76433 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76434 $as_echo_n "(cached) " >&6
76435 else
76436
76437
76438 ac_ext=cpp
76439 ac_cpp='$CXXCPP $CPPFLAGS'
76440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76443
76444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76445 /* end confdefs.h. */
76446 #include <math.h>
76447 #ifdef HAVE_IEEEFP_H
76448 #include <ieeefp.h>
76449 #endif
76450
76451 int
76452 main ()
76453 {
76454 fabsl(0);
76455 ;
76456 return 0;
76457 }
76458 _ACEOF
76459 if ac_fn_cxx_try_compile "$LINENO"; then :
76460 glibcxx_cv_func_fabsl_use=yes
76461 else
76462 glibcxx_cv_func_fabsl_use=no
76463 fi
76464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76465 ac_ext=c
76466 ac_cpp='$CPP $CPPFLAGS'
76467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76470
76471
76472 fi
76473
76474 fi
76475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76476 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76477
76478 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76479 for ac_func in fabsl
76480 do :
76481 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76482 if test "x$ac_cv_func_fabsl" = x""yes; then :
76483 cat >>confdefs.h <<_ACEOF
76484 #define HAVE_FABSL 1
76485 _ACEOF
76486
76487 fi
76488 done
76489
76490 else
76491
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76493 $as_echo_n "checking for _fabsl declaration... " >&6; }
76494 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76495 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
76510 #include <ieeefp.h>
76511 #endif
76512
76513 int
76514 main ()
76515 {
76516 _fabsl(0);
76517 ;
76518 return 0;
76519 }
76520 _ACEOF
76521 if ac_fn_cxx_try_compile "$LINENO"; then :
76522 glibcxx_cv_func__fabsl_use=yes
76523 else
76524 glibcxx_cv_func__fabsl_use=no
76525 fi
76526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76527 ac_ext=c
76528 ac_cpp='$CPP $CPPFLAGS'
76529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76532
76533
76534 fi
76535
76536 fi
76537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76538 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76539
76540 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76541 for ac_func in _fabsl
76542 do :
76543 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76544 if test "x$ac_cv_func__fabsl" = x""yes; then :
76545 cat >>confdefs.h <<_ACEOF
76546 #define HAVE__FABSL 1
76547 _ACEOF
76548
76549 fi
76550 done
76551
76552 fi
76553 fi
76554
76555
76556
76557
76558
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76560 $as_echo_n "checking for fmodl declaration... " >&6; }
76561 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76562 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76563 $as_echo_n "(cached) " >&6
76564 else
76565
76566
76567 ac_ext=cpp
76568 ac_cpp='$CXXCPP $CPPFLAGS'
76569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76572
76573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76574 /* end confdefs.h. */
76575 #include <math.h>
76576 int
76577 main ()
76578 {
76579 fmodl(0, 0);
76580 ;
76581 return 0;
76582 }
76583 _ACEOF
76584 if ac_fn_cxx_try_compile "$LINENO"; then :
76585 glibcxx_cv_func_fmodl_use=yes
76586 else
76587 glibcxx_cv_func_fmodl_use=no
76588 fi
76589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76590 ac_ext=c
76591 ac_cpp='$CPP $CPPFLAGS'
76592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76595
76596
76597 fi
76598
76599 fi
76600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76601 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76602
76603 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76604 for ac_func in fmodl
76605 do :
76606 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76607 if test "x$ac_cv_func_fmodl" = x""yes; then :
76608 cat >>confdefs.h <<_ACEOF
76609 #define HAVE_FMODL 1
76610 _ACEOF
76611
76612 fi
76613 done
76614
76615 else
76616
76617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76618 $as_echo_n "checking for _fmodl declaration... " >&6; }
76619 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76620 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76621 $as_echo_n "(cached) " >&6
76622 else
76623
76624
76625 ac_ext=cpp
76626 ac_cpp='$CXXCPP $CPPFLAGS'
76627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76630
76631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76632 /* end confdefs.h. */
76633 #include <math.h>
76634 int
76635 main ()
76636 {
76637 _fmodl(0, 0);
76638 ;
76639 return 0;
76640 }
76641 _ACEOF
76642 if ac_fn_cxx_try_compile "$LINENO"; then :
76643 glibcxx_cv_func__fmodl_use=yes
76644 else
76645 glibcxx_cv_func__fmodl_use=no
76646 fi
76647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76648 ac_ext=c
76649 ac_cpp='$CPP $CPPFLAGS'
76650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76653
76654
76655 fi
76656
76657 fi
76658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76659 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76660
76661 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76662 for ac_func in _fmodl
76663 do :
76664 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76665 if test "x$ac_cv_func__fmodl" = x""yes; then :
76666 cat >>confdefs.h <<_ACEOF
76667 #define HAVE__FMODL 1
76668 _ACEOF
76669
76670 fi
76671 done
76672
76673 fi
76674 fi
76675
76676
76677
76678
76679
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76681 $as_echo_n "checking for frexpl declaration... " >&6; }
76682 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76683 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76684 $as_echo_n "(cached) " >&6
76685 else
76686
76687
76688 ac_ext=cpp
76689 ac_cpp='$CXXCPP $CPPFLAGS'
76690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76693
76694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76695 /* end confdefs.h. */
76696 #include <math.h>
76697 int
76698 main ()
76699 {
76700 frexpl(0, 0);
76701 ;
76702 return 0;
76703 }
76704 _ACEOF
76705 if ac_fn_cxx_try_compile "$LINENO"; then :
76706 glibcxx_cv_func_frexpl_use=yes
76707 else
76708 glibcxx_cv_func_frexpl_use=no
76709 fi
76710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76711 ac_ext=c
76712 ac_cpp='$CPP $CPPFLAGS'
76713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76716
76717
76718 fi
76719
76720 fi
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76722 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76723
76724 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76725 for ac_func in frexpl
76726 do :
76727 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76728 if test "x$ac_cv_func_frexpl" = x""yes; then :
76729 cat >>confdefs.h <<_ACEOF
76730 #define HAVE_FREXPL 1
76731 _ACEOF
76732
76733 fi
76734 done
76735
76736 else
76737
76738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76739 $as_echo_n "checking for _frexpl declaration... " >&6; }
76740 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76741 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76742 $as_echo_n "(cached) " >&6
76743 else
76744
76745
76746 ac_ext=cpp
76747 ac_cpp='$CXXCPP $CPPFLAGS'
76748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76751
76752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76753 /* end confdefs.h. */
76754 #include <math.h>
76755 int
76756 main ()
76757 {
76758 _frexpl(0, 0);
76759 ;
76760 return 0;
76761 }
76762 _ACEOF
76763 if ac_fn_cxx_try_compile "$LINENO"; then :
76764 glibcxx_cv_func__frexpl_use=yes
76765 else
76766 glibcxx_cv_func__frexpl_use=no
76767 fi
76768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76769 ac_ext=c
76770 ac_cpp='$CPP $CPPFLAGS'
76771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76774
76775
76776 fi
76777
76778 fi
76779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76780 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76781
76782 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76783 for ac_func in _frexpl
76784 do :
76785 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76786 if test "x$ac_cv_func__frexpl" = x""yes; then :
76787 cat >>confdefs.h <<_ACEOF
76788 #define HAVE__FREXPL 1
76789 _ACEOF
76790
76791 fi
76792 done
76793
76794 fi
76795 fi
76796
76797
76798
76799
76800
76801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76802 $as_echo_n "checking for hypotl declaration... " >&6; }
76803 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76804 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76805 $as_echo_n "(cached) " >&6
76806 else
76807
76808
76809 ac_ext=cpp
76810 ac_cpp='$CXXCPP $CPPFLAGS'
76811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76814
76815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76816 /* end confdefs.h. */
76817 #include <math.h>
76818 int
76819 main ()
76820 {
76821 hypotl(0, 0);
76822 ;
76823 return 0;
76824 }
76825 _ACEOF
76826 if ac_fn_cxx_try_compile "$LINENO"; then :
76827 glibcxx_cv_func_hypotl_use=yes
76828 else
76829 glibcxx_cv_func_hypotl_use=no
76830 fi
76831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76832 ac_ext=c
76833 ac_cpp='$CPP $CPPFLAGS'
76834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76837
76838
76839 fi
76840
76841 fi
76842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76843 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76844
76845 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76846 for ac_func in hypotl
76847 do :
76848 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76849 if test "x$ac_cv_func_hypotl" = x""yes; then :
76850 cat >>confdefs.h <<_ACEOF
76851 #define HAVE_HYPOTL 1
76852 _ACEOF
76853
76854 fi
76855 done
76856
76857 else
76858
76859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76860 $as_echo_n "checking for _hypotl declaration... " >&6; }
76861 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76862 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76863 $as_echo_n "(cached) " >&6
76864 else
76865
76866
76867 ac_ext=cpp
76868 ac_cpp='$CXXCPP $CPPFLAGS'
76869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76872
76873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76874 /* end confdefs.h. */
76875 #include <math.h>
76876 int
76877 main ()
76878 {
76879 _hypotl(0, 0);
76880 ;
76881 return 0;
76882 }
76883 _ACEOF
76884 if ac_fn_cxx_try_compile "$LINENO"; then :
76885 glibcxx_cv_func__hypotl_use=yes
76886 else
76887 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
76901 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76902
76903 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76904 for ac_func in _hypotl
76905 do :
76906 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76907 if test "x$ac_cv_func__hypotl" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE__HYPOTL 1
76910 _ACEOF
76911
76912 fi
76913 done
76914
76915 fi
76916 fi
76917
76918
76919
76920
76921
76922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76923 $as_echo_n "checking for ldexpl declaration... " >&6; }
76924 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76925 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76926 $as_echo_n "(cached) " >&6
76927 else
76928
76929
76930 ac_ext=cpp
76931 ac_cpp='$CXXCPP $CPPFLAGS'
76932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76935
76936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76937 /* end confdefs.h. */
76938 #include <math.h>
76939 int
76940 main ()
76941 {
76942 ldexpl(0, 0);
76943 ;
76944 return 0;
76945 }
76946 _ACEOF
76947 if ac_fn_cxx_try_compile "$LINENO"; then :
76948 glibcxx_cv_func_ldexpl_use=yes
76949 else
76950 glibcxx_cv_func_ldexpl_use=no
76951 fi
76952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76953 ac_ext=c
76954 ac_cpp='$CPP $CPPFLAGS'
76955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76958
76959
76960 fi
76961
76962 fi
76963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76964 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76965
76966 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76967 for ac_func in ldexpl
76968 do :
76969 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76970 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76971 cat >>confdefs.h <<_ACEOF
76972 #define HAVE_LDEXPL 1
76973 _ACEOF
76974
76975 fi
76976 done
76977
76978 else
76979
76980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76981 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76982 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76983 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76984 $as_echo_n "(cached) " >&6
76985 else
76986
76987
76988 ac_ext=cpp
76989 ac_cpp='$CXXCPP $CPPFLAGS'
76990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76993
76994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76995 /* end confdefs.h. */
76996 #include <math.h>
76997 int
76998 main ()
76999 {
77000 _ldexpl(0, 0);
77001 ;
77002 return 0;
77003 }
77004 _ACEOF
77005 if ac_fn_cxx_try_compile "$LINENO"; then :
77006 glibcxx_cv_func__ldexpl_use=yes
77007 else
77008 glibcxx_cv_func__ldexpl_use=no
77009 fi
77010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77011 ac_ext=c
77012 ac_cpp='$CPP $CPPFLAGS'
77013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77016
77017
77018 fi
77019
77020 fi
77021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77022 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77023
77024 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77025 for ac_func in _ldexpl
77026 do :
77027 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77028 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77029 cat >>confdefs.h <<_ACEOF
77030 #define HAVE__LDEXPL 1
77031 _ACEOF
77032
77033 fi
77034 done
77035
77036 fi
77037 fi
77038
77039
77040
77041
77042
77043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77044 $as_echo_n "checking for logl declaration... " >&6; }
77045 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77046 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77047 $as_echo_n "(cached) " >&6
77048 else
77049
77050
77051 ac_ext=cpp
77052 ac_cpp='$CXXCPP $CPPFLAGS'
77053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77056
77057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77058 /* end confdefs.h. */
77059 #include <math.h>
77060 #ifdef HAVE_IEEEFP_H
77061 #include <ieeefp.h>
77062 #endif
77063
77064 int
77065 main ()
77066 {
77067 logl(0);
77068 ;
77069 return 0;
77070 }
77071 _ACEOF
77072 if ac_fn_cxx_try_compile "$LINENO"; then :
77073 glibcxx_cv_func_logl_use=yes
77074 else
77075 glibcxx_cv_func_logl_use=no
77076 fi
77077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77078 ac_ext=c
77079 ac_cpp='$CPP $CPPFLAGS'
77080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77083
77084
77085 fi
77086
77087 fi
77088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77089 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77090
77091 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77092 for ac_func in logl
77093 do :
77094 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77095 if test "x$ac_cv_func_logl" = x""yes; then :
77096 cat >>confdefs.h <<_ACEOF
77097 #define HAVE_LOGL 1
77098 _ACEOF
77099
77100 fi
77101 done
77102
77103 else
77104
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77106 $as_echo_n "checking for _logl declaration... " >&6; }
77107 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77108 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77109 $as_echo_n "(cached) " >&6
77110 else
77111
77112
77113 ac_ext=cpp
77114 ac_cpp='$CXXCPP $CPPFLAGS'
77115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77118
77119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77120 /* end confdefs.h. */
77121 #include <math.h>
77122 #ifdef HAVE_IEEEFP_H
77123 #include <ieeefp.h>
77124 #endif
77125
77126 int
77127 main ()
77128 {
77129 _logl(0);
77130 ;
77131 return 0;
77132 }
77133 _ACEOF
77134 if ac_fn_cxx_try_compile "$LINENO"; then :
77135 glibcxx_cv_func__logl_use=yes
77136 else
77137 glibcxx_cv_func__logl_use=no
77138 fi
77139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77140 ac_ext=c
77141 ac_cpp='$CPP $CPPFLAGS'
77142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77145
77146
77147 fi
77148
77149 fi
77150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77151 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77152
77153 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77154 for ac_func in _logl
77155 do :
77156 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77157 if test "x$ac_cv_func__logl" = x""yes; then :
77158 cat >>confdefs.h <<_ACEOF
77159 #define HAVE__LOGL 1
77160 _ACEOF
77161
77162 fi
77163 done
77164
77165 fi
77166 fi
77167
77168
77169
77170
77171
77172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77173 $as_echo_n "checking for log10l declaration... " >&6; }
77174 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77175 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77176 $as_echo_n "(cached) " >&6
77177 else
77178
77179
77180 ac_ext=cpp
77181 ac_cpp='$CXXCPP $CPPFLAGS'
77182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77185
77186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77187 /* end confdefs.h. */
77188 #include <math.h>
77189 #ifdef HAVE_IEEEFP_H
77190 #include <ieeefp.h>
77191 #endif
77192
77193 int
77194 main ()
77195 {
77196 log10l(0);
77197 ;
77198 return 0;
77199 }
77200 _ACEOF
77201 if ac_fn_cxx_try_compile "$LINENO"; then :
77202 glibcxx_cv_func_log10l_use=yes
77203 else
77204 glibcxx_cv_func_log10l_use=no
77205 fi
77206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77207 ac_ext=c
77208 ac_cpp='$CPP $CPPFLAGS'
77209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77212
77213
77214 fi
77215
77216 fi
77217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77218 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77219
77220 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77221 for ac_func in log10l
77222 do :
77223 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77224 if test "x$ac_cv_func_log10l" = x""yes; then :
77225 cat >>confdefs.h <<_ACEOF
77226 #define HAVE_LOG10L 1
77227 _ACEOF
77228
77229 fi
77230 done
77231
77232 else
77233
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77235 $as_echo_n "checking for _log10l declaration... " >&6; }
77236 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77237 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
77252 #include <ieeefp.h>
77253 #endif
77254
77255 int
77256 main ()
77257 {
77258 _log10l(0);
77259 ;
77260 return 0;
77261 }
77262 _ACEOF
77263 if ac_fn_cxx_try_compile "$LINENO"; then :
77264 glibcxx_cv_func__log10l_use=yes
77265 else
77266 glibcxx_cv_func__log10l_use=no
77267 fi
77268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77269 ac_ext=c
77270 ac_cpp='$CPP $CPPFLAGS'
77271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77274
77275
77276 fi
77277
77278 fi
77279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77280 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77281
77282 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77283 for ac_func in _log10l
77284 do :
77285 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77286 if test "x$ac_cv_func__log10l" = x""yes; then :
77287 cat >>confdefs.h <<_ACEOF
77288 #define HAVE__LOG10L 1
77289 _ACEOF
77290
77291 fi
77292 done
77293
77294 fi
77295 fi
77296
77297
77298
77299
77300
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77302 $as_echo_n "checking for modfl declaration... " >&6; }
77303 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77304 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77305 $as_echo_n "(cached) " >&6
77306 else
77307
77308
77309 ac_ext=cpp
77310 ac_cpp='$CXXCPP $CPPFLAGS'
77311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77314
77315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77316 /* end confdefs.h. */
77317 #include <math.h>
77318 int
77319 main ()
77320 {
77321 modfl(0, 0);
77322 ;
77323 return 0;
77324 }
77325 _ACEOF
77326 if ac_fn_cxx_try_compile "$LINENO"; then :
77327 glibcxx_cv_func_modfl_use=yes
77328 else
77329 glibcxx_cv_func_modfl_use=no
77330 fi
77331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77332 ac_ext=c
77333 ac_cpp='$CPP $CPPFLAGS'
77334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77337
77338
77339 fi
77340
77341 fi
77342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77343 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77344
77345 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77346 for ac_func in modfl
77347 do :
77348 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77349 if test "x$ac_cv_func_modfl" = x""yes; then :
77350 cat >>confdefs.h <<_ACEOF
77351 #define HAVE_MODFL 1
77352 _ACEOF
77353
77354 fi
77355 done
77356
77357 else
77358
77359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77360 $as_echo_n "checking for _modfl declaration... " >&6; }
77361 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77362 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77363 $as_echo_n "(cached) " >&6
77364 else
77365
77366
77367 ac_ext=cpp
77368 ac_cpp='$CXXCPP $CPPFLAGS'
77369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77372
77373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77374 /* end confdefs.h. */
77375 #include <math.h>
77376 int
77377 main ()
77378 {
77379 _modfl(0, 0);
77380 ;
77381 return 0;
77382 }
77383 _ACEOF
77384 if ac_fn_cxx_try_compile "$LINENO"; then :
77385 glibcxx_cv_func__modfl_use=yes
77386 else
77387 glibcxx_cv_func__modfl_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__modfl_use" >&5
77401 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77402
77403 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77404 for ac_func in _modfl
77405 do :
77406 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77407 if test "x$ac_cv_func__modfl" = x""yes; then :
77408 cat >>confdefs.h <<_ACEOF
77409 #define HAVE__MODFL 1
77410 _ACEOF
77411
77412 fi
77413 done
77414
77415 fi
77416 fi
77417
77418
77419
77420
77421
77422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77423 $as_echo_n "checking for powl declaration... " >&6; }
77424 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77425 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77426 $as_echo_n "(cached) " >&6
77427 else
77428
77429
77430 ac_ext=cpp
77431 ac_cpp='$CXXCPP $CPPFLAGS'
77432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77435
77436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77437 /* end confdefs.h. */
77438 #include <math.h>
77439 int
77440 main ()
77441 {
77442 powl(0, 0);
77443 ;
77444 return 0;
77445 }
77446 _ACEOF
77447 if ac_fn_cxx_try_compile "$LINENO"; then :
77448 glibcxx_cv_func_powl_use=yes
77449 else
77450 glibcxx_cv_func_powl_use=no
77451 fi
77452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77453 ac_ext=c
77454 ac_cpp='$CPP $CPPFLAGS'
77455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77458
77459
77460 fi
77461
77462 fi
77463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77464 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77465
77466 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77467 for ac_func in powl
77468 do :
77469 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77470 if test "x$ac_cv_func_powl" = x""yes; then :
77471 cat >>confdefs.h <<_ACEOF
77472 #define HAVE_POWL 1
77473 _ACEOF
77474
77475 fi
77476 done
77477
77478 else
77479
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77481 $as_echo_n "checking for _powl declaration... " >&6; }
77482 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77483 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77484 $as_echo_n "(cached) " >&6
77485 else
77486
77487
77488 ac_ext=cpp
77489 ac_cpp='$CXXCPP $CPPFLAGS'
77490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77493
77494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77495 /* end confdefs.h. */
77496 #include <math.h>
77497 int
77498 main ()
77499 {
77500 _powl(0, 0);
77501 ;
77502 return 0;
77503 }
77504 _ACEOF
77505 if ac_fn_cxx_try_compile "$LINENO"; then :
77506 glibcxx_cv_func__powl_use=yes
77507 else
77508 glibcxx_cv_func__powl_use=no
77509 fi
77510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77511 ac_ext=c
77512 ac_cpp='$CPP $CPPFLAGS'
77513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77516
77517
77518 fi
77519
77520 fi
77521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77522 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77523
77524 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77525 for ac_func in _powl
77526 do :
77527 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77528 if test "x$ac_cv_func__powl" = x""yes; then :
77529 cat >>confdefs.h <<_ACEOF
77530 #define HAVE__POWL 1
77531 _ACEOF
77532
77533 fi
77534 done
77535
77536 fi
77537 fi
77538
77539
77540
77541
77542
77543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77544 $as_echo_n "checking for sqrtl declaration... " >&6; }
77545 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77546 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77547 $as_echo_n "(cached) " >&6
77548 else
77549
77550
77551 ac_ext=cpp
77552 ac_cpp='$CXXCPP $CPPFLAGS'
77553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77556
77557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77558 /* end confdefs.h. */
77559 #include <math.h>
77560 #ifdef HAVE_IEEEFP_H
77561 #include <ieeefp.h>
77562 #endif
77563
77564 int
77565 main ()
77566 {
77567 sqrtl(0);
77568 ;
77569 return 0;
77570 }
77571 _ACEOF
77572 if ac_fn_cxx_try_compile "$LINENO"; then :
77573 glibcxx_cv_func_sqrtl_use=yes
77574 else
77575 glibcxx_cv_func_sqrtl_use=no
77576 fi
77577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77578 ac_ext=c
77579 ac_cpp='$CPP $CPPFLAGS'
77580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77583
77584
77585 fi
77586
77587 fi
77588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77589 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77590
77591 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77592 for ac_func in sqrtl
77593 do :
77594 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77595 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77596 cat >>confdefs.h <<_ACEOF
77597 #define HAVE_SQRTL 1
77598 _ACEOF
77599
77600 fi
77601 done
77602
77603 else
77604
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77606 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77607 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77608 if test "${glibcxx_cv_func__sqrtl_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 _sqrtl(0);
77630 ;
77631 return 0;
77632 }
77633 _ACEOF
77634 if ac_fn_cxx_try_compile "$LINENO"; then :
77635 glibcxx_cv_func__sqrtl_use=yes
77636 else
77637 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
77651 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77652
77653 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77654 for ac_func in _sqrtl
77655 do :
77656 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77657 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77658 cat >>confdefs.h <<_ACEOF
77659 #define HAVE__SQRTL 1
77660 _ACEOF
77661
77662 fi
77663 done
77664
77665 fi
77666 fi
77667
77668
77669
77670
77671
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77673 $as_echo_n "checking for sincosl declaration... " >&6; }
77674 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77675 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77676 $as_echo_n "(cached) " >&6
77677 else
77678
77679
77680 ac_ext=cpp
77681 ac_cpp='$CXXCPP $CPPFLAGS'
77682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77685
77686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77687 /* end confdefs.h. */
77688 #include <math.h>
77689 int
77690 main ()
77691 {
77692 sincosl(0, 0, 0);
77693 ;
77694 return 0;
77695 }
77696 _ACEOF
77697 if ac_fn_cxx_try_compile "$LINENO"; then :
77698 glibcxx_cv_func_sincosl_use=yes
77699 else
77700 glibcxx_cv_func_sincosl_use=no
77701 fi
77702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77703 ac_ext=c
77704 ac_cpp='$CPP $CPPFLAGS'
77705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77708
77709
77710 fi
77711
77712 fi
77713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77714 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77715
77716 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77717 for ac_func in sincosl
77718 do :
77719 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77720 if test "x$ac_cv_func_sincosl" = x""yes; then :
77721 cat >>confdefs.h <<_ACEOF
77722 #define HAVE_SINCOSL 1
77723 _ACEOF
77724
77725 fi
77726 done
77727
77728 else
77729
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77731 $as_echo_n "checking for _sincosl declaration... " >&6; }
77732 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77733 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77734 $as_echo_n "(cached) " >&6
77735 else
77736
77737
77738 ac_ext=cpp
77739 ac_cpp='$CXXCPP $CPPFLAGS'
77740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77743
77744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77745 /* end confdefs.h. */
77746 #include <math.h>
77747 int
77748 main ()
77749 {
77750 _sincosl(0, 0, 0);
77751 ;
77752 return 0;
77753 }
77754 _ACEOF
77755 if ac_fn_cxx_try_compile "$LINENO"; then :
77756 glibcxx_cv_func__sincosl_use=yes
77757 else
77758 glibcxx_cv_func__sincosl_use=no
77759 fi
77760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77761 ac_ext=c
77762 ac_cpp='$CPP $CPPFLAGS'
77763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77766
77767
77768 fi
77769
77770 fi
77771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77772 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77773
77774 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77775 for ac_func in _sincosl
77776 do :
77777 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77778 if test "x$ac_cv_func__sincosl" = x""yes; then :
77779 cat >>confdefs.h <<_ACEOF
77780 #define HAVE__SINCOSL 1
77781 _ACEOF
77782
77783 fi
77784 done
77785
77786 fi
77787 fi
77788
77789
77790
77791
77792
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77794 $as_echo_n "checking for finitel declaration... " >&6; }
77795 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77796 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77797 $as_echo_n "(cached) " >&6
77798 else
77799
77800
77801 ac_ext=cpp
77802 ac_cpp='$CXXCPP $CPPFLAGS'
77803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77806
77807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77808 /* end confdefs.h. */
77809 #include <math.h>
77810 #ifdef HAVE_IEEEFP_H
77811 #include <ieeefp.h>
77812 #endif
77813
77814 int
77815 main ()
77816 {
77817 finitel(0);
77818 ;
77819 return 0;
77820 }
77821 _ACEOF
77822 if ac_fn_cxx_try_compile "$LINENO"; then :
77823 glibcxx_cv_func_finitel_use=yes
77824 else
77825 glibcxx_cv_func_finitel_use=no
77826 fi
77827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77828 ac_ext=c
77829 ac_cpp='$CPP $CPPFLAGS'
77830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77833
77834
77835 fi
77836
77837 fi
77838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77839 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77840
77841 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77842 for ac_func in finitel
77843 do :
77844 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77845 if test "x$ac_cv_func_finitel" = x""yes; then :
77846 cat >>confdefs.h <<_ACEOF
77847 #define HAVE_FINITEL 1
77848 _ACEOF
77849
77850 fi
77851 done
77852
77853 else
77854
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77856 $as_echo_n "checking for _finitel declaration... " >&6; }
77857 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77858 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77859 $as_echo_n "(cached) " >&6
77860 else
77861
77862
77863 ac_ext=cpp
77864 ac_cpp='$CXXCPP $CPPFLAGS'
77865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77868
77869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77870 /* end confdefs.h. */
77871 #include <math.h>
77872 #ifdef HAVE_IEEEFP_H
77873 #include <ieeefp.h>
77874 #endif
77875
77876 int
77877 main ()
77878 {
77879 _finitel(0);
77880 ;
77881 return 0;
77882 }
77883 _ACEOF
77884 if ac_fn_cxx_try_compile "$LINENO"; then :
77885 glibcxx_cv_func__finitel_use=yes
77886 else
77887 glibcxx_cv_func__finitel_use=no
77888 fi
77889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77890 ac_ext=c
77891 ac_cpp='$CPP $CPPFLAGS'
77892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77895
77896
77897 fi
77898
77899 fi
77900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77901 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77902
77903 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77904 for ac_func in _finitel
77905 do :
77906 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77907 if test "x$ac_cv_func__finitel" = x""yes; then :
77908 cat >>confdefs.h <<_ACEOF
77909 #define HAVE__FINITEL 1
77910 _ACEOF
77911
77912 fi
77913 done
77914
77915 fi
77916 fi
77917
77918
77919
77920
77921 LIBS="$ac_save_LIBS"
77922 CXXFLAGS="$ac_save_CXXFLAGS"
77923
77924
77925 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77926 ac_save_CXXFLAGS="$CXXFLAGS"
77927 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77928
77929
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77931 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77932 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77933 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77934 $as_echo_n "(cached) " >&6
77935 else
77936
77937
77938 ac_ext=cpp
77939 ac_cpp='$CXXCPP $CPPFLAGS'
77940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77943
77944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77945 /* end confdefs.h. */
77946 #include <stdlib.h>
77947 int
77948 main ()
77949 {
77950 at_quick_exit(0);
77951 ;
77952 return 0;
77953 }
77954 _ACEOF
77955 if ac_fn_cxx_try_compile "$LINENO"; then :
77956 glibcxx_cv_func_at_quick_exit_use=yes
77957 else
77958 glibcxx_cv_func_at_quick_exit_use=no
77959 fi
77960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77961 ac_ext=c
77962 ac_cpp='$CPP $CPPFLAGS'
77963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77966
77967
77968 fi
77969
77970 fi
77971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77972 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77973 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77974 for ac_func in at_quick_exit
77975 do :
77976 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77977 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77978 cat >>confdefs.h <<_ACEOF
77979 #define HAVE_AT_QUICK_EXIT 1
77980 _ACEOF
77981
77982 fi
77983 done
77984
77985 fi
77986
77987
77988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77989 $as_echo_n "checking for quick_exit declaration... " >&6; }
77990 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77991 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77992 $as_echo_n "(cached) " >&6
77993 else
77994
77995
77996 ac_ext=cpp
77997 ac_cpp='$CXXCPP $CPPFLAGS'
77998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78001
78002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h. */
78004 #include <stdlib.h>
78005 int
78006 main ()
78007 {
78008 quick_exit(0);
78009 ;
78010 return 0;
78011 }
78012 _ACEOF
78013 if ac_fn_cxx_try_compile "$LINENO"; then :
78014 glibcxx_cv_func_quick_exit_use=yes
78015 else
78016 glibcxx_cv_func_quick_exit_use=no
78017 fi
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78019 ac_ext=c
78020 ac_cpp='$CPP $CPPFLAGS'
78021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78024
78025
78026 fi
78027
78028 fi
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78030 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78031 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78032 for ac_func in quick_exit
78033 do :
78034 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78035 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78036 cat >>confdefs.h <<_ACEOF
78037 #define HAVE_QUICK_EXIT 1
78038 _ACEOF
78039
78040 fi
78041 done
78042
78043 fi
78044
78045
78046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78047 $as_echo_n "checking for strtold declaration... " >&6; }
78048 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78049 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78050 $as_echo_n "(cached) " >&6
78051 else
78052
78053
78054 ac_ext=cpp
78055 ac_cpp='$CXXCPP $CPPFLAGS'
78056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78059
78060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78061 /* end confdefs.h. */
78062 #include <stdlib.h>
78063 int
78064 main ()
78065 {
78066 strtold(0, 0);
78067 ;
78068 return 0;
78069 }
78070 _ACEOF
78071 if ac_fn_cxx_try_compile "$LINENO"; then :
78072 glibcxx_cv_func_strtold_use=yes
78073 else
78074 glibcxx_cv_func_strtold_use=no
78075 fi
78076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78077 ac_ext=c
78078 ac_cpp='$CPP $CPPFLAGS'
78079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78082
78083
78084 fi
78085
78086 fi
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78088 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78089 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78090 for ac_func in strtold
78091 do :
78092 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78093 if test "x$ac_cv_func_strtold" = x""yes; then :
78094 cat >>confdefs.h <<_ACEOF
78095 #define HAVE_STRTOLD 1
78096 _ACEOF
78097
78098 fi
78099 done
78100
78101 fi
78102
78103
78104
78105
78106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78107 $as_echo_n "checking for strtof declaration... " >&6; }
78108 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78109 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78110 $as_echo_n "(cached) " >&6
78111 else
78112
78113
78114 ac_ext=cpp
78115 ac_cpp='$CXXCPP $CPPFLAGS'
78116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78119
78120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78121 /* end confdefs.h. */
78122 #include <stdlib.h>
78123 int
78124 main ()
78125 {
78126 strtof(0, 0);
78127 ;
78128 return 0;
78129 }
78130 _ACEOF
78131 if ac_fn_cxx_try_compile "$LINENO"; then :
78132 glibcxx_cv_func_strtof_use=yes
78133 else
78134 glibcxx_cv_func_strtof_use=no
78135 fi
78136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78137 ac_ext=c
78138 ac_cpp='$CPP $CPPFLAGS'
78139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78142
78143
78144 fi
78145
78146 fi
78147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78148 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78149 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78150 for ac_func in strtof
78151 do :
78152 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78153 if test "x$ac_cv_func_strtof" = x""yes; then :
78154 cat >>confdefs.h <<_ACEOF
78155 #define HAVE_STRTOF 1
78156 _ACEOF
78157
78158 fi
78159 done
78160
78161 fi
78162
78163
78164
78165
78166 CXXFLAGS="$ac_save_CXXFLAGS"
78167
78168 ;;
78169 *-vxworks)
78170 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78171
78172 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78173
78174 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78175
78176 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78177
78178 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78179
78180 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78181
78182 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78183
78184 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78185
78186 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78187
78188 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78189
78190 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78191
78192 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78193
78194 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78195
78196 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78197
78198 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78199
78200 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78201
78202 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78203
78204 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78205
78206 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78207
78208 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78209
78210 ;;
78211 *)
78212 as_fn_error "No support for this host/target combination." "$LINENO" 5
78213 ;;
78214 esac
78215
78216 fi
78217
78218 # At some point, we should differentiate between architectures
78219 # like x86, which have long double versions, and alpha/powerpc/etc.,
78220 # which don't. For the time being, punt.
78221 if test x"long_double_math_on_this_cpu" = x"yes"; then
78222 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78223
78224 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78225
78226 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78227
78228 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78229
78230 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78231
78232 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78233
78234 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78235
78236 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78237
78238 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78239
78240 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78241
78242 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78243
78244 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78245
78246 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78247
78248 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78249
78250 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78251
78252 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78253
78254 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78255
78256 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78257
78258 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78259
78260 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78261
78262 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78263
78264 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78265
78266 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78267
78268 fi
78269 fi
78270
78271 # Check for _Unwind_GetIPInfo.
78272
78273
78274 # Check whether --with-system-libunwind was given.
78275 if test "${with_system_libunwind+set}" = set; then :
78276 withval=$with_system_libunwind;
78277 fi
78278
78279 # If system-libunwind was not specifically set, pick a default setting.
78280 if test x$with_system_libunwind = x; then
78281 case ${target} in
78282 ia64-*-hpux*) with_system_libunwind=yes ;;
78283 *) with_system_libunwind=no ;;
78284 esac
78285 fi
78286 # Based on system-libunwind and target, do we have ipinfo?
78287 if test x$with_system_libunwind = xyes; then
78288 case ${target} in
78289 ia64-*-*) have_unwind_getipinfo=no ;;
78290 *) have_unwind_getipinfo=yes ;;
78291 esac
78292 else
78293 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78294
78295 case ${target} in
78296 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78297 *) have_unwind_getipinfo=yes ;;
78298 esac
78299
78300 fi
78301
78302 if test x$have_unwind_getipinfo = xyes; then
78303
78304 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78305
78306 fi
78307
78308
78309 # Check whether --enable-linux-futex was given.
78310 if test "${enable_linux_futex+set}" = set; then :
78311 enableval=$enable_linux_futex;
78312 case "$enableval" in
78313 yes|no|default) ;;
78314 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78315 esac
78316
78317 else
78318 enable_linux_futex=default
78319 fi
78320
78321
78322 case "$target" in
78323 *-linux*)
78324 case "$enable_linux_futex" in
78325 default)
78326 # If headers don't have gettid/futex syscalls definition, then
78327 # default to no, otherwise there will be compile time failures.
78328 # Otherwise, default to yes. If we don't detect we are
78329 # compiled/linked against NPTL and not cross-compiling, check
78330 # if programs are run by default against NPTL and if not, issue
78331 # a warning.
78332 enable_linux_futex=no
78333 if test x$gcc_no_link = xyes; then
78334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78335 fi
78336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78337 /* end confdefs.h. */
78338 #include <sys/syscall.h>
78339 int lk;
78340 int
78341 main ()
78342 {
78343 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78344 ;
78345 return 0;
78346 }
78347 _ACEOF
78348 if ac_fn_c_try_link "$LINENO"; then :
78349 save_LIBS="$LIBS"
78350 LIBS="-lpthread $LIBS"
78351 if test x$gcc_no_link = xyes; then
78352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78353 fi
78354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78355 /* end confdefs.h. */
78356 #ifndef _GNU_SOURCE
78357 #define _GNU_SOURCE 1
78358 #endif
78359 #include <pthread.h>
78360 pthread_t th; void *status;
78361 int
78362 main ()
78363 {
78364 pthread_tryjoin_np (th, &status);
78365 ;
78366 return 0;
78367 }
78368 _ACEOF
78369 if ac_fn_c_try_link "$LINENO"; then :
78370 enable_linux_futex=yes
78371 else
78372 if test x$cross_compiling = xno; then
78373 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78374 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78376 If so, please configure with --disable-linux-futex" >&5
78377 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78378 If so, please configure with --disable-linux-futex" >&2;}
78379 fi
78380 fi
78381 enable_linux_futex=yes
78382 fi
78383 rm -f core conftest.err conftest.$ac_objext \
78384 conftest$ac_exeext conftest.$ac_ext
78385 LIBS="$save_LIBS"
78386 fi
78387 rm -f core conftest.err conftest.$ac_objext \
78388 conftest$ac_exeext conftest.$ac_ext
78389 ;;
78390 yes)
78391 if test x$gcc_no_link = xyes; then
78392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78393 fi
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <sys/syscall.h>
78397 int lk;
78398 int
78399 main ()
78400 {
78401 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78402 ;
78403 return 0;
78404 }
78405 _ACEOF
78406 if ac_fn_c_try_link "$LINENO"; then :
78407
78408 else
78409 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78410 fi
78411 rm -f core conftest.err conftest.$ac_objext \
78412 conftest$ac_exeext conftest.$ac_ext
78413 ;;
78414 esac
78415 ;;
78416 *)
78417 enable_linux_futex=no
78418 ;;
78419 esac
78420 if test x$enable_linux_futex = xyes; then
78421
78422 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78423
78424 fi
78425
78426
78427
78428
78429 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78430
78431 acx_cv_header_stdint=stddef.h
78432 acx_cv_header_stdint_kind="(already complete)"
78433 for i in stdint.h $inttype_headers; do
78434 unset ac_cv_type_uintptr_t
78435 unset ac_cv_type_uintmax_t
78436 unset ac_cv_type_int_least32_t
78437 unset ac_cv_type_int_fast32_t
78438 unset ac_cv_type_uint64_t
78439 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78440 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78441 #include <$i>
78442 "
78443 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78444 acx_cv_header_stdint=$i
78445 else
78446 continue
78447 fi
78448
78449 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78450 #include <$i>
78451 "
78452 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78453
78454 else
78455 acx_cv_header_stdint_kind="(mostly complete)"
78456 fi
78457
78458 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78459 #include <$i>
78460 "
78461 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78462
78463 else
78464 acx_cv_header_stdint_kind="(mostly complete)"
78465 fi
78466
78467 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78468 #include <$i>
78469 "
78470 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78471
78472 else
78473 acx_cv_header_stdint_kind="(mostly complete)"
78474 fi
78475
78476 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78477 #include <$i>
78478 "
78479 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78480
78481 else
78482 acx_cv_header_stdint_kind="(lacks uint64_t)"
78483 fi
78484
78485 break
78486 done
78487 if test "$acx_cv_header_stdint" = stddef.h; then
78488 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78489 for i in stdint.h $inttype_headers; do
78490 unset ac_cv_type_uintptr_t
78491 unset ac_cv_type_uint32_t
78492 unset ac_cv_type_uint64_t
78493 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78494 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78495 #include <$i>
78496 "
78497 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78498 acx_cv_header_stdint=$i
78499 else
78500 continue
78501 fi
78502
78503 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78504 #include <$i>
78505 "
78506 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78507
78508 fi
78509
78510 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78511 #include <$i>
78512 "
78513 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78514
78515 fi
78516
78517 break
78518 done
78519 fi
78520 if test "$acx_cv_header_stdint" = stddef.h; then
78521 acx_cv_header_stdint_kind="(u_intXX_t style)"
78522 for i in sys/types.h $inttype_headers; do
78523 unset ac_cv_type_u_int32_t
78524 unset ac_cv_type_u_int64_t
78525 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78526 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78527 #include <$i>
78528 "
78529 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78530 acx_cv_header_stdint=$i
78531 else
78532 continue
78533 fi
78534
78535 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78536 #include <$i>
78537 "
78538 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78539
78540 fi
78541
78542 break
78543 done
78544 fi
78545 if test "$acx_cv_header_stdint" = stddef.h; then
78546 acx_cv_header_stdint_kind="(using manual detection)"
78547 fi
78548
78549 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78550 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78551 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78552 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78553 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78554
78555 # ----------------- Summarize what we found so far
78556
78557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78558 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78559
78560 case `$as_basename -- include/gstdint.h ||
78561 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78562 Xinclude/gstdint.h : 'X\(//\)$' \| \
78563 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78564 $as_echo X/include/gstdint.h |
78565 sed '/^.*\/\([^/][^/]*\)\/*$/{
78566 s//\1/
78567 q
78568 }
78569 /^X\/\(\/\/\)$/{
78570 s//\1/
78571 q
78572 }
78573 /^X\/\(\/\).*/{
78574 s//\1/
78575 q
78576 }
78577 s/.*/./; q'` in
78578 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78579 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78580 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78581 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78582 *) ;;
78583 esac
78584
78585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78586 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78587
78588 # ----------------- done included file, check C basic types --------
78589
78590 # Lacking an uintptr_t? Test size of void *
78591 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78592 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78595 # This bug is HP SR number 8606223364.
78596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78597 $as_echo_n "checking size of void *... " >&6; }
78598 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78599 $as_echo_n "(cached) " >&6
78600 else
78601 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78602
78603 else
78604 if test "$ac_cv_type_void_p" = yes; then
78605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78607 { as_fn_set_status 77
78608 as_fn_error "cannot compute sizeof (void *)
78609 See \`config.log' for more details." "$LINENO" 5; }; }
78610 else
78611 ac_cv_sizeof_void_p=0
78612 fi
78613 fi
78614
78615 fi
78616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78617 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78618
78619
78620
78621 cat >>confdefs.h <<_ACEOF
78622 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78623 _ACEOF
78624
78625 ;;
78626 esac
78627
78628 # Lacking an uint64_t? Test size of long
78629 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78630 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78633 # This bug is HP SR number 8606223364.
78634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78635 $as_echo_n "checking size of long... " >&6; }
78636 if test "${ac_cv_sizeof_long+set}" = set; then :
78637 $as_echo_n "(cached) " >&6
78638 else
78639 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78640
78641 else
78642 if test "$ac_cv_type_long" = yes; then
78643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78645 { as_fn_set_status 77
78646 as_fn_error "cannot compute sizeof (long)
78647 See \`config.log' for more details." "$LINENO" 5; }; }
78648 else
78649 ac_cv_sizeof_long=0
78650 fi
78651 fi
78652
78653 fi
78654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78655 $as_echo "$ac_cv_sizeof_long" >&6; }
78656
78657
78658
78659 cat >>confdefs.h <<_ACEOF
78660 #define SIZEOF_LONG $ac_cv_sizeof_long
78661 _ACEOF
78662
78663 ;;
78664 esac
78665
78666 if test $acx_cv_header_stdint = stddef.h; then
78667 # Lacking a good header? Test size of everything and deduce all types.
78668 # The cast to long int works around a bug in the HP C Compiler
78669 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78670 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78671 # This bug is HP SR number 8606223364.
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78673 $as_echo_n "checking size of int... " >&6; }
78674 if test "${ac_cv_sizeof_int+set}" = set; then :
78675 $as_echo_n "(cached) " >&6
78676 else
78677 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78678
78679 else
78680 if test "$ac_cv_type_int" = yes; then
78681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78683 { as_fn_set_status 77
78684 as_fn_error "cannot compute sizeof (int)
78685 See \`config.log' for more details." "$LINENO" 5; }; }
78686 else
78687 ac_cv_sizeof_int=0
78688 fi
78689 fi
78690
78691 fi
78692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78693 $as_echo "$ac_cv_sizeof_int" >&6; }
78694
78695
78696
78697 cat >>confdefs.h <<_ACEOF
78698 #define SIZEOF_INT $ac_cv_sizeof_int
78699 _ACEOF
78700
78701
78702 # The cast to long int works around a bug in the HP C Compiler
78703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78705 # This bug is HP SR number 8606223364.
78706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78707 $as_echo_n "checking size of short... " >&6; }
78708 if test "${ac_cv_sizeof_short+set}" = set; then :
78709 $as_echo_n "(cached) " >&6
78710 else
78711 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78712
78713 else
78714 if test "$ac_cv_type_short" = yes; then
78715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78717 { as_fn_set_status 77
78718 as_fn_error "cannot compute sizeof (short)
78719 See \`config.log' for more details." "$LINENO" 5; }; }
78720 else
78721 ac_cv_sizeof_short=0
78722 fi
78723 fi
78724
78725 fi
78726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78727 $as_echo "$ac_cv_sizeof_short" >&6; }
78728
78729
78730
78731 cat >>confdefs.h <<_ACEOF
78732 #define SIZEOF_SHORT $ac_cv_sizeof_short
78733 _ACEOF
78734
78735
78736 # The cast to long int works around a bug in the HP C Compiler
78737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78739 # This bug is HP SR number 8606223364.
78740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78741 $as_echo_n "checking size of char... " >&6; }
78742 if test "${ac_cv_sizeof_char+set}" = set; then :
78743 $as_echo_n "(cached) " >&6
78744 else
78745 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78746
78747 else
78748 if test "$ac_cv_type_char" = yes; then
78749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78751 { as_fn_set_status 77
78752 as_fn_error "cannot compute sizeof (char)
78753 See \`config.log' for more details." "$LINENO" 5; }; }
78754 else
78755 ac_cv_sizeof_char=0
78756 fi
78757 fi
78758
78759 fi
78760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78761 $as_echo "$ac_cv_sizeof_char" >&6; }
78762
78763
78764
78765 cat >>confdefs.h <<_ACEOF
78766 #define SIZEOF_CHAR $ac_cv_sizeof_char
78767 _ACEOF
78768
78769
78770
78771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78772 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78773 case "$ac_cv_sizeof_char" in
78774 1) acx_cv_type_int8_t=char ;;
78775 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78776 esac
78777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78778 $as_echo "$acx_cv_type_int8_t" >&6; }
78779
78780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78781 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78782 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78783 2:*) acx_cv_type_int16_t=int ;;
78784 *:2) acx_cv_type_int16_t=short ;;
78785 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78786 esac
78787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78788 $as_echo "$acx_cv_type_int16_t" >&6; }
78789
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78791 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78792 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78793 4:*) acx_cv_type_int32_t=int ;;
78794 *:4) acx_cv_type_int32_t=long ;;
78795 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78796 esac
78797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78798 $as_echo "$acx_cv_type_int32_t" >&6; }
78799 fi
78800
78801 # These tests are here to make the output prettier
78802
78803 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78804 case "$ac_cv_sizeof_long" in
78805 8) acx_cv_type_int64_t=long ;;
78806 esac
78807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78808 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78810 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78811 fi
78812
78813 # Now we can use the above types
78814
78815 if test "$ac_cv_type_uintptr_t" != yes; then
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78817 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78818 case $ac_cv_sizeof_void_p in
78819 2) acx_cv_type_intptr_t=int16_t ;;
78820 4) acx_cv_type_intptr_t=int32_t ;;
78821 8) acx_cv_type_intptr_t=int64_t ;;
78822 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78823 esac
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78825 $as_echo "$acx_cv_type_intptr_t" >&6; }
78826 fi
78827
78828 # ----------------- done all checks, emit header -------------
78829 ac_config_commands="$ac_config_commands include/gstdint.h"
78830
78831
78832
78833
78834
78835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78836 $as_echo_n "checking for GNU c++filt... " >&6; }
78837 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78838 $as_echo_n "(cached) " >&6
78839 else
78840 if test -z "$CXXFILT"; then
78841 ac_path_CXXFILT_found=false
78842 # Loop through the user's path and test for each of PROGNAME-LIST
78843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78844 for as_dir in $PATH
78845 do
78846 IFS=$as_save_IFS
78847 test -z "$as_dir" && as_dir=.
78848 for ac_prog in c++filt gc++filt; do
78849 for ac_exec_ext in '' $ac_executable_extensions; do
78850 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78851 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78852 # Check for GNU $ac_path_CXXFILT
78853 case `"$ac_path_CXXFILT" --version 2>&1` in
78854 *GNU*)
78855 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78856 esac
78857
78858 $ac_path_CXXFILT_found && break 3
78859 done
78860 done
78861 done
78862 IFS=$as_save_IFS
78863 if test -z "$ac_cv_path_CXXFILT"; then
78864 :
78865 fi
78866 else
78867 ac_cv_path_CXXFILT=$CXXFILT
78868 fi
78869
78870 fi
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78872 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78873 CXXFILT=$ac_cv_path_CXXFILT
78874
78875
78876
78877 # Check whether --enable-symvers was given.
78878 if test "${enable_symvers+set}" = set; then :
78879 enableval=$enable_symvers;
78880 case "$enableval" in
78881 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78882 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78883 esac
78884
78885 else
78886 enable_symvers=yes
78887 fi
78888
78889
78890
78891 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78892 # don't know enough about $LD to do tricks...
78893
78894 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78895 # with extern "C++" in version scripts.
78896
78897
78898 # Turn a 'yes' into a suitable default.
78899 if test x$enable_symvers = xyes ; then
78900 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78901 enable_symvers=no
78902 else
78903 if test $with_gnu_ld = yes ; then
78904 case ${target_os} in
78905 hpux*)
78906 enable_symvers=no ;;
78907 *)
78908 enable_symvers=gnu ;;
78909 esac
78910 else
78911 case ${target_os} in
78912 darwin*)
78913 enable_symvers=darwin ;;
78914 # Sun symbol versioning exists since Solaris 2.5.
78915 solaris2.[5-9]* | solaris2.1[0-9]*)
78916 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78917 # version scripts, so disable symbol versioning if none can be
78918 # found.
78919 if test -z "$ac_cv_path_CXXFILT"; then
78920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78921 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78923 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78925 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78926 enable_symvers=no
78927 else
78928 enable_symvers=sun
78929 fi
78930 ;;
78931 *)
78932 enable_symvers=no ;;
78933 esac
78934 fi
78935 fi
78936 fi
78937
78938 # Check to see if 'darwin' or 'darwin-export' can win.
78939 if test x$enable_symvers = xdarwin-export ; then
78940 enable_symvers=darwin
78941 fi
78942
78943 # Check if 'sun' was requested on non-Solaris 2 platforms.
78944 if test x$enable_symvers = xsun ; then
78945 case ${target_os} in
78946 solaris2*)
78947 # All fine.
78948 ;;
78949 *)
78950 # Unlikely to work.
78951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78952 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78954 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78956 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78957 enable_symvers=no
78958 ;;
78959 esac
78960 fi
78961
78962 # Check to see if 'gnu' can win.
78963 if test $enable_symvers = gnu ||
78964 test $enable_symvers = gnu-versioned-namespace ||
78965 test $enable_symvers = sun; then
78966 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78968 $as_echo_n "checking for shared libgcc... " >&6; }
78969 ac_save_CFLAGS="$CFLAGS"
78970 CFLAGS=' -lgcc_s'
78971 if test x$gcc_no_link = xyes; then
78972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78973 fi
78974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78975 /* end confdefs.h. */
78976
78977 int
78978 main ()
78979 {
78980 return 0;
78981 ;
78982 return 0;
78983 }
78984 _ACEOF
78985 if ac_fn_c_try_link "$LINENO"; then :
78986 glibcxx_shared_libgcc=yes
78987 else
78988 glibcxx_shared_libgcc=no
78989 fi
78990 rm -f core conftest.err conftest.$ac_objext \
78991 conftest$ac_exeext conftest.$ac_ext
78992 CFLAGS="$ac_save_CFLAGS"
78993 if test $glibcxx_shared_libgcc = no; then
78994 cat > conftest.c <<EOF
78995 int main (void) { return 0; }
78996 EOF
78997 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78998 -shared -shared-libgcc -o conftest.so \
78999 conftest.c -v 2>&1 >/dev/null \
79000 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79001 rm -f conftest.c conftest.so
79002 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79003 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79004 if test x$gcc_no_link = xyes; then
79005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79006 fi
79007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79008 /* end confdefs.h. */
79009
79010 int
79011 main ()
79012 {
79013 return 0;
79014 ;
79015 return 0;
79016 }
79017 _ACEOF
79018 if ac_fn_c_try_link "$LINENO"; then :
79019 glibcxx_shared_libgcc=yes
79020 fi
79021 rm -f core conftest.err conftest.$ac_objext \
79022 conftest$ac_exeext conftest.$ac_ext
79023 CFLAGS="$ac_save_CFLAGS"
79024 fi
79025 fi
79026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79027 $as_echo "$glibcxx_shared_libgcc" >&6; }
79028
79029 # For GNU ld, we need at least this version. The format is described in
79030 # GLIBCXX_CHECK_LINKER_FEATURES above.
79031 glibcxx_min_gnu_ld_version=21400
79032
79033 # If no shared libgcc, can't win.
79034 if test $glibcxx_shared_libgcc != yes; then
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79036 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79038 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79041 enable_symvers=no
79042 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79043 : All interesting versions of Sun ld support sun style symbol versioning.
79044 elif test $with_gnu_ld != yes ; then
79045 # just fail for now
79046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79047 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79049 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79051 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79052 enable_symvers=no
79053 elif test $glibcxx_ld_is_gold = yes ; then
79054 : All versions of gold support symbol versioning.
79055 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79056 # The right tools, the right setup, but too old. Fallbacks?
79057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79058 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79060 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79062 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79064 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79066 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79067 enable_symvers=no
79068 fi
79069 fi
79070
79071 # For libtool versioning info, format is CURRENT:REVISION:AGE
79072 libtool_VERSION=6:23:0
79073
79074 # Everything parsed; figure out what files and settings to use.
79075 case $enable_symvers in
79076 no)
79077 SYMVER_FILE=config/abi/pre/none.ver
79078 ;;
79079 gnu)
79080 SYMVER_FILE=config/abi/pre/gnu.ver
79081
79082 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79083
79084 ;;
79085 gnu-versioned-namespace)
79086 libtool_VERSION=7:0:0
79087 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79088
79089 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79090
79091 ;;
79092 darwin)
79093 SYMVER_FILE=config/abi/pre/gnu.ver
79094
79095 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79096
79097 ;;
79098 sun)
79099 SYMVER_FILE=config/abi/pre/gnu.ver
79100
79101 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79102
79103 ;;
79104 esac
79105
79106 if test x$enable_symvers != xno ; then
79107
79108 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79109
79110 fi
79111
79112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79113 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79114 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79115 $as_echo_n "(cached) " >&6
79116 else
79117
79118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79119 /* end confdefs.h. */
79120 void foo (void); __asm (".symver foo, bar@SYMVER");
79121 int
79122 main ()
79123 {
79124
79125 ;
79126 return 0;
79127 }
79128 _ACEOF
79129 if ac_fn_c_try_compile "$LINENO"; then :
79130 glibcxx_cv_have_as_symver_directive=yes
79131 else
79132 glibcxx_cv_have_as_symver_directive=no
79133 fi
79134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79135 fi
79136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79137 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79138 if test $glibcxx_cv_have_as_symver_directive = yes; then
79139
79140 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79141
79142 fi
79143
79144
79145
79146
79147
79148
79149
79150
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79152 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79153
79154 if test $enable_symvers != no ; then
79155 case ${target_os} in
79156 # The Solaris 2 runtime linker doesn't support the GNU extension of
79157 # binding the same symbol to different versions
79158 solaris2*)
79159 ;;
79160 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79161 *)
79162
79163 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79164
79165 ;;
79166 esac
79167 fi
79168
79169 # Now, set up compatibility support, if any.
79170 # In addition, need this to deal with std::size_t mangling in
79171 # src/compatibility.cc. In a perfect world, could use
79172 # typeid(std::size_t).name()[0] to do direct substitution.
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79174 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79175 ac_save_CFLAGS="$CFLAGS"
79176 CFLAGS="-Werror"
79177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79178 /* end confdefs.h. */
79179
79180 int
79181 main ()
79182 {
79183 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79184 ;
79185 return 0;
79186 }
79187 _ACEOF
79188 if ac_fn_c_try_compile "$LINENO"; then :
79189 glibcxx_size_t_is_i=yes
79190 else
79191 glibcxx_size_t_is_i=no
79192 fi
79193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79194 CFLAGS=$ac_save_CFLAGS
79195 if test "$glibcxx_size_t_is_i" = yes; then
79196
79197 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79198
79199 fi
79200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79201 $as_echo "$glibcxx_size_t_is_i" >&6; }
79202
79203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79204 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79205 ac_save_CFLAGS="$CFLAGS"
79206 CFLAGS="-Werror"
79207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79208 /* end confdefs.h. */
79209
79210 int
79211 main ()
79212 {
79213 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79214 ;
79215 return 0;
79216 }
79217 _ACEOF
79218 if ac_fn_c_try_compile "$LINENO"; then :
79219 glibcxx_ptrdiff_t_is_i=yes
79220 else
79221 glibcxx_ptrdiff_t_is_i=no
79222 fi
79223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79224 CFLAGS=$ac_save_CFLAGS
79225 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79226
79227 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79228
79229 fi
79230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79231 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79232
79233
79234
79235
79236 # Check whether --enable-libstdcxx-visibility was given.
79237 if test "${enable_libstdcxx_visibility+set}" = set; then :
79238 enableval=$enable_libstdcxx_visibility;
79239 case "$enableval" in
79240 yes|no) ;;
79241 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79242 esac
79243
79244 else
79245 enable_libstdcxx_visibility=yes
79246 fi
79247
79248
79249
79250 if test x$enable_libstdcxx_visibility = xyes ; then
79251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79252 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79253 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79254 $as_echo_n "(cached) " >&6
79255 else
79256
79257 save_CFLAGS="$CFLAGS"
79258 CFLAGS="$CFLAGS -Werror"
79259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79260 /* end confdefs.h. */
79261 void __attribute__((visibility("hidden"))) foo(void) { }
79262 int
79263 main ()
79264 {
79265
79266 ;
79267 return 0;
79268 }
79269 _ACEOF
79270 if ac_fn_c_try_compile "$LINENO"; then :
79271 glibcxx_cv_have_attribute_visibility=yes
79272 else
79273 glibcxx_cv_have_attribute_visibility=no
79274 fi
79275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79276 CFLAGS="$save_CFLAGS"
79277 fi
79278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79279 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79280 if test $glibcxx_cv_have_attribute_visibility = no; then
79281 enable_libstdcxx_visibility=no
79282 fi
79283 fi
79284
79285
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79287 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79288
79289
79290
79291 # Check whether --enable-libstdcxx-dual-abi was given.
79292 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79293 enableval=$enable_libstdcxx_dual_abi;
79294 case "$enableval" in
79295 yes|no) ;;
79296 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79297 esac
79298
79299 else
79300 enable_libstdcxx_dual_abi=yes
79301 fi
79302
79303
79304 if test x$enable_symvers = xgnu-versioned-namespace; then
79305 # gnu-versioned-namespace is incompatible with the dual ABI.
79306 enable_libstdcxx_dual_abi="no"
79307 fi
79308 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79309 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79310 $as_echo "$as_me: dual ABI is disabled" >&6;}
79311 default_libstdcxx_abi="gcc4-compatible"
79312 fi
79313
79314
79315
79316 if test x$enable_libstdcxx_dual_abi = xyes; then
79317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79318 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79319
79320 # Check whether --with-default-libstdcxx-abi was given.
79321 if test "${with_default_libstdcxx_abi+set}" = set; then :
79322 withval=$with_default_libstdcxx_abi; case "$withval" in
79323 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79324 new|cxx11) default_libstdcxx_abi="new" ;;
79325 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79326 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79327 esac
79328
79329 else
79330 default_libstdcxx_abi="new"
79331 fi
79332
79333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79334 $as_echo "${default_libstdcxx_abi}" >&6; }
79335 fi
79336 if test $default_libstdcxx_abi = "new"; then
79337 glibcxx_cxx11_abi=1
79338 glibcxx_cxx98_abi=0
79339 else
79340 glibcxx_cxx11_abi=0
79341 glibcxx_cxx98_abi=1
79342 fi
79343
79344
79345
79346
79347 ac_ldbl_compat=no
79348 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79349 case "$target" in
79350 powerpc*-*-linux* | \
79351 sparc*-*-linux* | \
79352 s390*-*-linux* | \
79353 alpha*-*-linux*)
79354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79355 /* end confdefs.h. */
79356
79357 int
79358 main ()
79359 {
79360
79361 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79362 #error no need for long double compatibility
79363 #endif
79364
79365 ;
79366 return 0;
79367 }
79368 _ACEOF
79369 if ac_fn_c_try_compile "$LINENO"; then :
79370 ac_ldbl_compat=yes
79371 else
79372 ac_ldbl_compat=no
79373 fi
79374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79375 if test "$ac_ldbl_compat" = yes; then
79376
79377 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79378
79379 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79380 case "$target" in
79381 powerpc*-*-linux*)
79382 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79383 esac
79384 fi
79385 esac
79386
79387
79388
79389 # Check if assembler supports disabling hardware capability support.
79390
79391 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79392
79393 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79394 # with a different meaning.
79395 case ${target_os} in
79396 solaris2*)
79397 ac_save_CFLAGS="$CFLAGS"
79398 CFLAGS="$CFLAGS -Wa,-nH"
79399
79400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79401 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79403 /* end confdefs.h. */
79404
79405 int
79406 main ()
79407 {
79408 return 0;
79409 ;
79410 return 0;
79411 }
79412 _ACEOF
79413 if ac_fn_c_try_compile "$LINENO"; then :
79414 ac_hwcap_flags=yes
79415 else
79416 ac_hwcap_flags=no
79417 fi
79418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79419 if test "$ac_hwcap_flags" = "yes"; then
79420 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79421 fi
79422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79423 $as_echo "$ac_hwcap_flags" >&6; }
79424
79425 CFLAGS="$ac_save_CFLAGS"
79426 ;;
79427 esac
79428
79429
79430
79431
79432 # Check if assembler supports rdrand opcode.
79433
79434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79435 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79436 if test "${ac_cv_x86_rdrand+set}" = set; then :
79437 $as_echo_n "(cached) " >&6
79438 else
79439
79440 ac_cv_x86_rdrand=no
79441 case "$target" in
79442 i?86-*-* | \
79443 x86_64-*-*)
79444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79445 /* end confdefs.h. */
79446
79447 int
79448 main ()
79449 {
79450 asm("rdrand %eax");
79451 ;
79452 return 0;
79453 }
79454 _ACEOF
79455 if ac_fn_c_try_compile "$LINENO"; then :
79456 ac_cv_x86_rdrand=yes
79457 else
79458 ac_cv_x86_rdrand=no
79459 fi
79460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79461 esac
79462
79463 fi
79464
79465 if test $ac_cv_x86_rdrand = yes; then
79466
79467 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79468
79469 fi
79470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79471 $as_echo "$ac_cv_x86_rdrand" >&6; }
79472
79473
79474 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79475
79476 # Do checks for resource limit functions.
79477
79478 setrlimit_have_headers=yes
79479 for ac_header in unistd.h sys/time.h sys/resource.h
79480 do :
79481 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79482 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79483 eval as_val=\$$as_ac_Header
79484 if test "x$as_val" = x""yes; then :
79485 cat >>confdefs.h <<_ACEOF
79486 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79487 _ACEOF
79488
79489 else
79490 setrlimit_have_headers=no
79491 fi
79492
79493 done
79494
79495 # If don't have the headers, then we can't run the tests now, and we
79496 # won't be seeing any of these during testsuite compilation.
79497 if test $setrlimit_have_headers = yes; then
79498 # Can't do these in a loop, else the resulting syntax is wrong.
79499
79500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79501 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79503 /* end confdefs.h. */
79504 #include <unistd.h>
79505 #include <sys/time.h>
79506 #include <sys/resource.h>
79507
79508 int
79509 main ()
79510 {
79511 int f = RLIMIT_DATA ;
79512 ;
79513 return 0;
79514 }
79515 _ACEOF
79516 if ac_fn_c_try_compile "$LINENO"; then :
79517 glibcxx_mresult=1
79518 else
79519 glibcxx_mresult=0
79520 fi
79521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79522
79523 cat >>confdefs.h <<_ACEOF
79524 #define HAVE_LIMIT_DATA $glibcxx_mresult
79525 _ACEOF
79526
79527 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79529 $as_echo "$res" >&6; }
79530
79531
79532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79533 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79535 /* end confdefs.h. */
79536 #include <unistd.h>
79537 #include <sys/time.h>
79538 #include <sys/resource.h>
79539
79540 int
79541 main ()
79542 {
79543 int f = RLIMIT_RSS ;
79544 ;
79545 return 0;
79546 }
79547 _ACEOF
79548 if ac_fn_c_try_compile "$LINENO"; then :
79549 glibcxx_mresult=1
79550 else
79551 glibcxx_mresult=0
79552 fi
79553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79554
79555 cat >>confdefs.h <<_ACEOF
79556 #define HAVE_LIMIT_RSS $glibcxx_mresult
79557 _ACEOF
79558
79559 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79561 $as_echo "$res" >&6; }
79562
79563
79564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79565 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79567 /* end confdefs.h. */
79568 #include <unistd.h>
79569 #include <sys/time.h>
79570 #include <sys/resource.h>
79571
79572 int
79573 main ()
79574 {
79575 int f = RLIMIT_VMEM ;
79576 ;
79577 return 0;
79578 }
79579 _ACEOF
79580 if ac_fn_c_try_compile "$LINENO"; then :
79581 glibcxx_mresult=1
79582 else
79583 glibcxx_mresult=0
79584 fi
79585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79586
79587 cat >>confdefs.h <<_ACEOF
79588 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79589 _ACEOF
79590
79591 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79593 $as_echo "$res" >&6; }
79594
79595
79596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79597 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79599 /* end confdefs.h. */
79600 #include <unistd.h>
79601 #include <sys/time.h>
79602 #include <sys/resource.h>
79603
79604 int
79605 main ()
79606 {
79607 int f = RLIMIT_AS ;
79608 ;
79609 return 0;
79610 }
79611 _ACEOF
79612 if ac_fn_c_try_compile "$LINENO"; then :
79613 glibcxx_mresult=1
79614 else
79615 glibcxx_mresult=0
79616 fi
79617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79618
79619 cat >>confdefs.h <<_ACEOF
79620 #define HAVE_LIMIT_AS $glibcxx_mresult
79621 _ACEOF
79622
79623 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79625 $as_echo "$res" >&6; }
79626
79627
79628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79629 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79631 /* end confdefs.h. */
79632 #include <unistd.h>
79633 #include <sys/time.h>
79634 #include <sys/resource.h>
79635
79636 int
79637 main ()
79638 {
79639 int f = RLIMIT_FSIZE ;
79640 ;
79641 return 0;
79642 }
79643 _ACEOF
79644 if ac_fn_c_try_compile "$LINENO"; then :
79645 glibcxx_mresult=1
79646 else
79647 glibcxx_mresult=0
79648 fi
79649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79650
79651 cat >>confdefs.h <<_ACEOF
79652 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79653 _ACEOF
79654
79655 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79657 $as_echo "$res" >&6; }
79658
79659
79660 # Check for rlimit, setrlimit.
79661 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79662 $as_echo_n "(cached) " >&6
79663 else
79664
79665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79666 /* end confdefs.h. */
79667 #include <unistd.h>
79668 #include <sys/time.h>
79669 #include <sys/resource.h>
79670
79671 int
79672 main ()
79673 {
79674 struct rlimit r;
79675 setrlimit(0, &r);
79676 ;
79677 return 0;
79678 }
79679 _ACEOF
79680 if ac_fn_c_try_compile "$LINENO"; then :
79681 glibcxx_cv_setrlimit=yes
79682 else
79683 glibcxx_cv_setrlimit=no
79684 fi
79685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79686
79687 fi
79688
79689 fi
79690
79691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79692 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79693 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79694 ac_res_limits=yes
79695
79696 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79697
79698 else
79699 ac_res_limits=no
79700 fi
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79702 $as_echo "$ac_res_limits" >&6; }
79703
79704
79705 if $GLIBCXX_IS_NATIVE ; then
79706 # Look for setenv, so that extended locale tests can be performed.
79707
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79709 $as_echo_n "checking for setenv declaration... " >&6; }
79710 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79711 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79712 $as_echo_n "(cached) " >&6
79713 else
79714
79715
79716 ac_ext=cpp
79717 ac_cpp='$CXXCPP $CPPFLAGS'
79718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79721
79722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79723 /* end confdefs.h. */
79724 #include <stdlib.h>
79725 int
79726 main ()
79727 {
79728 setenv(0, 0, 0);
79729 ;
79730 return 0;
79731 }
79732 _ACEOF
79733 if ac_fn_cxx_try_compile "$LINENO"; then :
79734 glibcxx_cv_func_setenv_use=yes
79735 else
79736 glibcxx_cv_func_setenv_use=no
79737 fi
79738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79739 ac_ext=c
79740 ac_cpp='$CPP $CPPFLAGS'
79741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79744
79745
79746 fi
79747
79748 fi
79749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79750 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79751 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79752 for ac_func in setenv
79753 do :
79754 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79755 if test "x$ac_cv_func_setenv" = x""yes; then :
79756 cat >>confdefs.h <<_ACEOF
79757 #define HAVE_SETENV 1
79758 _ACEOF
79759
79760 fi
79761 done
79762
79763 fi
79764
79765 fi
79766
79767 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79768 test $enable_symvers != no; then
79769 case "$host" in
79770 *-*-cygwin*)
79771 enable_abi_check=no ;;
79772 *)
79773 enable_abi_check=yes ;;
79774 esac
79775 else
79776 # Only build this as native, since automake does not understand
79777 # CXX_FOR_BUILD.
79778 enable_abi_check=no
79779 fi
79780
79781 # Export file names for ABI checking.
79782 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79783
79784 baseline_subdir_switch="$abi_baseline_subdir_switch"
79785
79786
79787
79788 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79789
79790 # Check whether --enable-libstdcxx-threads was given.
79791 if test "${enable_libstdcxx_threads+set}" = set; then :
79792 enableval=$enable_libstdcxx_threads;
79793 case "$enableval" in
79794 yes|no) ;;
79795 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79796 esac
79797
79798 else
79799 enable_libstdcxx_threads=auto
79800 fi
79801
79802
79803
79804 if test x$enable_libstdcxx_threads = xauto ||
79805 test x$enable_libstdcxx_threads = xyes; then
79806
79807
79808 ac_ext=cpp
79809 ac_cpp='$CXXCPP $CPPFLAGS'
79810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79813
79814
79815 ac_save_CXXFLAGS="$CXXFLAGS"
79816 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79817 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79818
79819 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79820 case $target_thread_file in
79821 posix)
79822 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79823 esac
79824
79825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79826 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79827
79828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79829 /* end confdefs.h. */
79830 #include <unistd.h>
79831 int
79832 main ()
79833 {
79834
79835 // In case of POSIX threads check _POSIX_TIMEOUTS.
79836 #if (defined(_PTHREADS) \
79837 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79838 #error
79839 #endif
79840
79841 ;
79842 return 0;
79843 }
79844 _ACEOF
79845 if ac_fn_cxx_try_compile "$LINENO"; then :
79846 ac_gthread_use_mutex_timedlock=1
79847 else
79848 ac_gthread_use_mutex_timedlock=0
79849 fi
79850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79851
79852
79853 cat >>confdefs.h <<_ACEOF
79854 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79855 _ACEOF
79856
79857
79858 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79859 else res_mutex_timedlock=no ; fi
79860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79861 $as_echo "$res_mutex_timedlock" >&6; }
79862
79863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79864 $as_echo_n "checking for gthreads library... " >&6; }
79865
79866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79867 /* end confdefs.h. */
79868 #include "gthr.h"
79869 int
79870 main ()
79871 {
79872
79873 #ifndef __GTHREADS_CXX0X
79874 #error
79875 #endif
79876
79877 ;
79878 return 0;
79879 }
79880 _ACEOF
79881 if ac_fn_cxx_try_compile "$LINENO"; then :
79882 ac_has_gthreads=yes
79883 else
79884 ac_has_gthreads=no
79885 fi
79886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79887 else
79888 ac_has_gthreads=no
79889 fi
79890
79891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79892 $as_echo "$ac_has_gthreads" >&6; }
79893
79894 if test x"$ac_has_gthreads" = x"yes"; then
79895
79896 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79897
79898
79899 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79900 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79901 "
79902 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79903
79904 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79905
79906 fi
79907
79908 fi
79909
79910 CXXFLAGS="$ac_save_CXXFLAGS"
79911 ac_ext=c
79912 ac_cpp='$CPP $CPPFLAGS'
79913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79916
79917
79918
79919 # For Filesystem TS.
79920 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79921 do :
79922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79923 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79924 eval as_val=\$$as_ac_Header
79925 if test "x$as_val" = x""yes; then :
79926 cat >>confdefs.h <<_ACEOF
79927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79928 _ACEOF
79929
79930 fi
79931
79932 done
79933
79934
79935 # Check whether --enable-libstdcxx-filesystem-ts was given.
79936 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79937 enableval=$enable_libstdcxx_filesystem_ts;
79938 case "$enableval" in
79939 yes|no|auto) ;;
79940 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79941 esac
79942
79943 else
79944 enable_libstdcxx_filesystem_ts=auto
79945 fi
79946
79947
79948
79949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79950 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79951 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79952 enable_libstdcxx_filesystem_ts=no
79953 fi
79954 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79955 case "${target_os}" in
79956 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79957 enable_libstdcxx_filesystem_ts=yes
79958 ;;
79959 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79960 enable_libstdcxx_filesystem_ts=yes
79961 ;;
79962 solaris*)
79963 enable_libstdcxx_filesystem_ts=yes
79964 ;;
79965 *)
79966 enable_libstdcxx_filesystem_ts=no
79967 ;;
79968 esac
79969 fi
79970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79971 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79972
79973
79974
79975 ac_ext=cpp
79976 ac_cpp='$CXXCPP $CPPFLAGS'
79977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79980
79981 ac_save_CXXFLAGS="$CXXFLAGS"
79982 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79984 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79985 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79986 $as_echo_n "(cached) " >&6
79987 else
79988 if test x$gcc_no_link = xyes; then
79989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79990 /* end confdefs.h. */
79991 #include <dirent.h>
79992 int
79993 main ()
79994 {
79995
79996 struct dirent d;
79997 if (sizeof d.d_type) return 0;
79998
79999 ;
80000 return 0;
80001 }
80002 _ACEOF
80003 if ac_fn_cxx_try_compile "$LINENO"; then :
80004 glibcxx_cv_dirent_d_type=yes
80005 else
80006 glibcxx_cv_dirent_d_type=no
80007 fi
80008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80009 else
80010 if test x$gcc_no_link = xyes; then
80011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80012 fi
80013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80014 /* end confdefs.h. */
80015 #include <dirent.h>
80016 int
80017 main ()
80018 {
80019
80020 struct dirent d;
80021 if (sizeof d.d_type) return 0;
80022
80023 ;
80024 return 0;
80025 }
80026 _ACEOF
80027 if ac_fn_cxx_try_link "$LINENO"; then :
80028 glibcxx_cv_dirent_d_type=yes
80029 else
80030 glibcxx_cv_dirent_d_type=no
80031 fi
80032 rm -f core conftest.err conftest.$ac_objext \
80033 conftest$ac_exeext conftest.$ac_ext
80034 fi
80035
80036 fi
80037
80038 if test $glibcxx_cv_dirent_d_type = yes; then
80039
80040 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80041
80042 fi
80043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80044 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80046 $as_echo_n "checking for realpath... " >&6; }
80047 if test "${glibcxx_cv_realpath+set}" = set; then :
80048 $as_echo_n "(cached) " >&6
80049 else
80050 if test x$gcc_no_link = xyes; then
80051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80052 /* end confdefs.h. */
80053
80054 #include <stdlib.h>
80055 #include <unistd.h>
80056
80057 int
80058 main ()
80059 {
80060
80061 #if _XOPEN_VERSION < 500
80062 #error
80063 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80064 char *tmp = realpath((const char*)NULL, (char*)NULL);
80065 #else
80066 #error
80067 #endif
80068
80069 ;
80070 return 0;
80071 }
80072 _ACEOF
80073 if ac_fn_cxx_try_compile "$LINENO"; then :
80074 glibcxx_cv_realpath=yes
80075 else
80076 glibcxx_cv_realpath=no
80077 fi
80078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80079 else
80080 if test x$gcc_no_link = xyes; then
80081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80082 fi
80083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80084 /* end confdefs.h. */
80085
80086 #include <stdlib.h>
80087 #include <unistd.h>
80088
80089 int
80090 main ()
80091 {
80092
80093 #if _XOPEN_VERSION < 500
80094 #error
80095 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80096 char *tmp = realpath((const char*)NULL, (char*)NULL);
80097 #else
80098 #error
80099 #endif
80100
80101 ;
80102 return 0;
80103 }
80104 _ACEOF
80105 if ac_fn_cxx_try_link "$LINENO"; then :
80106 glibcxx_cv_realpath=yes
80107 else
80108 glibcxx_cv_realpath=no
80109 fi
80110 rm -f core conftest.err conftest.$ac_objext \
80111 conftest$ac_exeext conftest.$ac_ext
80112 fi
80113
80114 fi
80115
80116 if test $glibcxx_cv_realpath = yes; then
80117
80118 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80119
80120 fi
80121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80122 $as_echo "$glibcxx_cv_realpath" >&6; }
80123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80124 $as_echo_n "checking for utimensat... " >&6; }
80125 if test "${glibcxx_cv_utimensat+set}" = set; then :
80126 $as_echo_n "(cached) " >&6
80127 else
80128 if test x$gcc_no_link = xyes; then
80129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80130 /* end confdefs.h. */
80131
80132 #include <fcntl.h>
80133 #include <sys/stat.h>
80134
80135 int
80136 main ()
80137 {
80138
80139 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80140 int i = utimensat(AT_FDCWD, "path", ts, 0);
80141
80142 ;
80143 return 0;
80144 }
80145 _ACEOF
80146 if ac_fn_cxx_try_compile "$LINENO"; then :
80147 glibcxx_cv_utimensat=yes
80148 else
80149 glibcxx_cv_utimensat=no
80150 fi
80151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80152 else
80153 if test x$gcc_no_link = xyes; then
80154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80155 fi
80156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80157 /* end confdefs.h. */
80158
80159 #include <fcntl.h>
80160 #include <sys/stat.h>
80161
80162 int
80163 main ()
80164 {
80165
80166 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80167 int i = utimensat(AT_FDCWD, "path", ts, 0);
80168
80169 ;
80170 return 0;
80171 }
80172 _ACEOF
80173 if ac_fn_cxx_try_link "$LINENO"; then :
80174 glibcxx_cv_utimensat=yes
80175 else
80176 glibcxx_cv_utimensat=no
80177 fi
80178 rm -f core conftest.err conftest.$ac_objext \
80179 conftest$ac_exeext conftest.$ac_ext
80180 fi
80181
80182 fi
80183
80184 if test $glibcxx_cv_utimensat = yes; then
80185
80186 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80187
80188 fi
80189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80190 $as_echo "$glibcxx_cv_utimensat" >&6; }
80191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80192 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80193 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80194 $as_echo_n "(cached) " >&6
80195 else
80196 if test x$gcc_no_link = xyes; then
80197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80198 /* end confdefs.h. */
80199 #include <sys/stat.h>
80200 int
80201 main ()
80202 {
80203
80204 struct stat st;
80205 return st.st_mtim.tv_nsec;
80206
80207 ;
80208 return 0;
80209 }
80210 _ACEOF
80211 if ac_fn_cxx_try_compile "$LINENO"; then :
80212 glibcxx_cv_st_mtim=yes
80213 else
80214 glibcxx_cv_st_mtim=no
80215 fi
80216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80217 else
80218 if test x$gcc_no_link = xyes; then
80219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80220 fi
80221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80222 /* end confdefs.h. */
80223 #include <sys/stat.h>
80224 int
80225 main ()
80226 {
80227
80228 struct stat st;
80229 return st.st_mtim.tv_nsec;
80230
80231 ;
80232 return 0;
80233 }
80234 _ACEOF
80235 if ac_fn_cxx_try_link "$LINENO"; then :
80236 glibcxx_cv_st_mtim=yes
80237 else
80238 glibcxx_cv_st_mtim=no
80239 fi
80240 rm -f core conftest.err conftest.$ac_objext \
80241 conftest$ac_exeext conftest.$ac_ext
80242 fi
80243
80244 fi
80245
80246 if test $glibcxx_cv_st_mtim = yes; then
80247
80248 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80249
80250 fi
80251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80252 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80254 $as_echo_n "checking for fchmod... " >&6; }
80255 if test "${glibcxx_cv_fchmod+set}" = set; then :
80256 $as_echo_n "(cached) " >&6
80257 else
80258 if test x$gcc_no_link = xyes; then
80259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80260 /* end confdefs.h. */
80261 #include <sys/stat.h>
80262 int
80263 main ()
80264 {
80265 fchmod(1, S_IWUSR);
80266 ;
80267 return 0;
80268 }
80269 _ACEOF
80270 if ac_fn_cxx_try_compile "$LINENO"; then :
80271 glibcxx_cv_fchmod=yes
80272 else
80273 glibcxx_cv_fchmod=no
80274 fi
80275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80276 else
80277 if test x$gcc_no_link = xyes; then
80278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80279 fi
80280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80281 /* end confdefs.h. */
80282 #include <sys/stat.h>
80283 int
80284 main ()
80285 {
80286 fchmod(1, S_IWUSR);
80287 ;
80288 return 0;
80289 }
80290 _ACEOF
80291 if ac_fn_cxx_try_link "$LINENO"; then :
80292 glibcxx_cv_fchmod=yes
80293 else
80294 glibcxx_cv_fchmod=no
80295 fi
80296 rm -f core conftest.err conftest.$ac_objext \
80297 conftest$ac_exeext conftest.$ac_ext
80298 fi
80299
80300 fi
80301
80302 if test $glibcxx_cv_fchmod = yes; then
80303
80304 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80305
80306 fi
80307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80308 $as_echo "$glibcxx_cv_fchmod" >&6; }
80309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80310 $as_echo_n "checking for fchmodat... " >&6; }
80311 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80312 $as_echo_n "(cached) " >&6
80313 else
80314 if test x$gcc_no_link = xyes; then
80315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80316 /* end confdefs.h. */
80317
80318 #include <fcntl.h>
80319 #include <sys/stat.h>
80320
80321 int
80322 main ()
80323 {
80324 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80325 ;
80326 return 0;
80327 }
80328 _ACEOF
80329 if ac_fn_cxx_try_compile "$LINENO"; then :
80330 glibcxx_cv_fchmodat=yes
80331 else
80332 glibcxx_cv_fchmodat=no
80333 fi
80334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80335 else
80336 if test x$gcc_no_link = xyes; then
80337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80338 fi
80339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80340 /* end confdefs.h. */
80341
80342 #include <fcntl.h>
80343 #include <sys/stat.h>
80344
80345 int
80346 main ()
80347 {
80348 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80349 ;
80350 return 0;
80351 }
80352 _ACEOF
80353 if ac_fn_cxx_try_link "$LINENO"; then :
80354 glibcxx_cv_fchmodat=yes
80355 else
80356 glibcxx_cv_fchmodat=no
80357 fi
80358 rm -f core conftest.err conftest.$ac_objext \
80359 conftest$ac_exeext conftest.$ac_ext
80360 fi
80361
80362 fi
80363
80364 if test $glibcxx_cv_fchmodat = yes; then
80365
80366 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80367
80368 fi
80369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80370 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80372 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80373 if test "${glibcxx_cv_sendfile+set}" = set; then :
80374 $as_echo_n "(cached) " >&6
80375 else
80376 case "${target_os}" in
80377 gnu* | linux* | solaris*)
80378 if test x$gcc_no_link = xyes; then
80379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80380 /* end confdefs.h. */
80381 #include <sys/sendfile.h>
80382 int
80383 main ()
80384 {
80385 sendfile(1, 2, (off_t*)0, sizeof 1);
80386 ;
80387 return 0;
80388 }
80389 _ACEOF
80390 if ac_fn_cxx_try_compile "$LINENO"; then :
80391 glibcxx_cv_sendfile=yes
80392 else
80393 glibcxx_cv_sendfile=no
80394 fi
80395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80396 else
80397 if test x$gcc_no_link = xyes; then
80398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80399 fi
80400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80401 /* end confdefs.h. */
80402 #include <sys/sendfile.h>
80403 int
80404 main ()
80405 {
80406 sendfile(1, 2, (off_t*)0, sizeof 1);
80407 ;
80408 return 0;
80409 }
80410 _ACEOF
80411 if ac_fn_cxx_try_link "$LINENO"; then :
80412 glibcxx_cv_sendfile=yes
80413 else
80414 glibcxx_cv_sendfile=no
80415 fi
80416 rm -f core conftest.err conftest.$ac_objext \
80417 conftest$ac_exeext conftest.$ac_ext
80418 fi
80419 ;;
80420 *)
80421 glibcxx_cv_sendfile=no
80422 ;;
80423 esac
80424
80425 fi
80426
80427 if test $glibcxx_cv_sendfile = yes; then
80428
80429 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80430
80431 fi
80432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80433 $as_echo "$glibcxx_cv_sendfile" >&6; }
80434 CXXFLAGS="$ac_save_CXXFLAGS"
80435 ac_ext=c
80436 ac_cpp='$CPP $CPPFLAGS'
80437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80440
80441
80442
80443 # For Transactional Memory TS
80444
80445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80446 $as_echo_n "checking how size_t is mangled... " >&6; }
80447 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80448 $as_echo_n "(cached) " >&6
80449 else
80450
80451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80452 /* end confdefs.h. */
80453
80454 int
80455 main ()
80456 {
80457 extern __SIZE_TYPE__ x; extern unsigned long x;
80458 ;
80459 return 0;
80460 }
80461 _ACEOF
80462 if ac_fn_c_try_compile "$LINENO"; then :
80463 glibcxx_cv_size_t_mangling=m
80464 else
80465
80466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80467 /* end confdefs.h. */
80468
80469 int
80470 main ()
80471 {
80472 extern __SIZE_TYPE__ x; extern unsigned int x;
80473 ;
80474 return 0;
80475 }
80476 _ACEOF
80477 if ac_fn_c_try_compile "$LINENO"; then :
80478 glibcxx_cv_size_t_mangling=j
80479 else
80480
80481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80482 /* end confdefs.h. */
80483
80484 int
80485 main ()
80486 {
80487 extern __SIZE_TYPE__ x; extern unsigned long long x;
80488 ;
80489 return 0;
80490 }
80491 _ACEOF
80492 if ac_fn_c_try_compile "$LINENO"; then :
80493 glibcxx_cv_size_t_mangling=y
80494 else
80495
80496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80497 /* end confdefs.h. */
80498
80499 int
80500 main ()
80501 {
80502 extern __SIZE_TYPE__ x; extern unsigned short x;
80503 ;
80504 return 0;
80505 }
80506 _ACEOF
80507 if ac_fn_c_try_compile "$LINENO"; then :
80508 glibcxx_cv_size_t_mangling=t
80509 else
80510 glibcxx_cv_size_t_mangling=x
80511 fi
80512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80513
80514 fi
80515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80516
80517 fi
80518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80519
80520 fi
80521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80522
80523 fi
80524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80525 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80526 if test $glibcxx_cv_size_t_mangling = x; then
80527 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80528 fi
80529
80530 cat >>confdefs.h <<_ACEOF
80531 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80532 _ACEOF
80533
80534
80535
80536 # Define documentation rules conditionally.
80537
80538 # See if makeinfo has been installed and is modern enough
80539 # that we can use it.
80540
80541 # Extract the first word of "makeinfo", so it can be a program name with args.
80542 set dummy makeinfo; ac_word=$2
80543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80544 $as_echo_n "checking for $ac_word... " >&6; }
80545 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80546 $as_echo_n "(cached) " >&6
80547 else
80548 if test -n "$MAKEINFO"; then
80549 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80550 else
80551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80552 for as_dir in $PATH
80553 do
80554 IFS=$as_save_IFS
80555 test -z "$as_dir" && as_dir=.
80556 for ac_exec_ext in '' $ac_executable_extensions; do
80557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80558 ac_cv_prog_MAKEINFO="makeinfo"
80559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80560 break 2
80561 fi
80562 done
80563 done
80564 IFS=$as_save_IFS
80565
80566 fi
80567 fi
80568 MAKEINFO=$ac_cv_prog_MAKEINFO
80569 if test -n "$MAKEINFO"; then
80570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80571 $as_echo "$MAKEINFO" >&6; }
80572 else
80573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80574 $as_echo "no" >&6; }
80575 fi
80576
80577
80578 if test -n "$MAKEINFO"; then
80579 # Found it, now check the version.
80580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80581 $as_echo_n "checking for modern makeinfo... " >&6; }
80582 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80583 $as_echo_n "(cached) " >&6
80584 else
80585 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80586 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80587
80588 case $ac_prog_version in
80589 '') gcc_cv_prog_makeinfo_modern=no;;
80590 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80591 *) gcc_cv_prog_makeinfo_modern=no;;
80592 esac
80593
80594 fi
80595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80596 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80597 else
80598 gcc_cv_prog_makeinfo_modern=no
80599 fi
80600 if test $gcc_cv_prog_makeinfo_modern = no; then
80601 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80602 fi
80603
80604 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80605 BUILD_INFO_TRUE=
80606 BUILD_INFO_FALSE='#'
80607 else
80608 BUILD_INFO_TRUE='#'
80609 BUILD_INFO_FALSE=
80610 fi
80611
80612
80613 # Check for doxygen
80614 # Extract the first word of "doxygen", so it can be a program name with args.
80615 set dummy doxygen; ac_word=$2
80616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80617 $as_echo_n "checking for $ac_word... " >&6; }
80618 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80619 $as_echo_n "(cached) " >&6
80620 else
80621 if test -n "$DOXYGEN"; then
80622 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80623 else
80624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80625 for as_dir in $PATH
80626 do
80627 IFS=$as_save_IFS
80628 test -z "$as_dir" && as_dir=.
80629 for ac_exec_ext in '' $ac_executable_extensions; do
80630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80631 ac_cv_prog_DOXYGEN="yes"
80632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80633 break 2
80634 fi
80635 done
80636 done
80637 IFS=$as_save_IFS
80638
80639 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80640 fi
80641 fi
80642 DOXYGEN=$ac_cv_prog_DOXYGEN
80643 if test -n "$DOXYGEN"; then
80644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80645 $as_echo "$DOXYGEN" >&6; }
80646 else
80647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80648 $as_echo "no" >&6; }
80649 fi
80650
80651
80652 # Extract the first word of "dot", so it can be a program name with args.
80653 set dummy dot; ac_word=$2
80654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80655 $as_echo_n "checking for $ac_word... " >&6; }
80656 if test "${ac_cv_prog_DOT+set}" = set; then :
80657 $as_echo_n "(cached) " >&6
80658 else
80659 if test -n "$DOT"; then
80660 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80661 else
80662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80663 for as_dir in $PATH
80664 do
80665 IFS=$as_save_IFS
80666 test -z "$as_dir" && as_dir=.
80667 for ac_exec_ext in '' $ac_executable_extensions; do
80668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80669 ac_cv_prog_DOT="yes"
80670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80671 break 2
80672 fi
80673 done
80674 done
80675 IFS=$as_save_IFS
80676
80677 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80678 fi
80679 fi
80680 DOT=$ac_cv_prog_DOT
80681 if test -n "$DOT"; then
80682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80683 $as_echo "$DOT" >&6; }
80684 else
80685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80686 $as_echo "no" >&6; }
80687 fi
80688
80689
80690
80691 # Check for docbook
80692 # Extract the first word of "xsltproc", so it can be a program name with args.
80693 set dummy xsltproc; ac_word=$2
80694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80695 $as_echo_n "checking for $ac_word... " >&6; }
80696 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80697 $as_echo_n "(cached) " >&6
80698 else
80699 if test -n "$XSLTPROC"; then
80700 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80701 else
80702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80703 for as_dir in $PATH
80704 do
80705 IFS=$as_save_IFS
80706 test -z "$as_dir" && as_dir=.
80707 for ac_exec_ext in '' $ac_executable_extensions; do
80708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80709 ac_cv_prog_XSLTPROC="yes"
80710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80711 break 2
80712 fi
80713 done
80714 done
80715 IFS=$as_save_IFS
80716
80717 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80718 fi
80719 fi
80720 XSLTPROC=$ac_cv_prog_XSLTPROC
80721 if test -n "$XSLTPROC"; then
80722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80723 $as_echo "$XSLTPROC" >&6; }
80724 else
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80726 $as_echo "no" >&6; }
80727 fi
80728
80729
80730 # Extract the first word of "xmllint", so it can be a program name with args.
80731 set dummy xmllint; ac_word=$2
80732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80733 $as_echo_n "checking for $ac_word... " >&6; }
80734 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80735 $as_echo_n "(cached) " >&6
80736 else
80737 if test -n "$XMLLINT"; then
80738 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80739 else
80740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80741 for as_dir in $PATH
80742 do
80743 IFS=$as_save_IFS
80744 test -z "$as_dir" && as_dir=.
80745 for ac_exec_ext in '' $ac_executable_extensions; do
80746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80747 ac_cv_prog_XMLLINT="yes"
80748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80749 break 2
80750 fi
80751 done
80752 done
80753 IFS=$as_save_IFS
80754
80755 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80756 fi
80757 fi
80758 XMLLINT=$ac_cv_prog_XMLLINT
80759 if test -n "$XMLLINT"; then
80760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80761 $as_echo "$XMLLINT" >&6; }
80762 else
80763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80764 $as_echo "no" >&6; }
80765 fi
80766
80767
80768
80769
80770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80771 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80772 glibcxx_stylesheets=no
80773 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
80774 glibcxx_stylesheets=yes
80775 fi
80776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80777 $as_echo "$glibcxx_stylesheets" >&6; }
80778
80779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80780 $as_echo_n "checking for local stylesheet directory... " >&6; }
80781 glibcxx_local_stylesheets=no
80782 if test x"$glibcxx_stylesheets" = x"yes"; then
80783 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80784 glibcxx_local_stylesheets=yes
80785 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80786 fi
80787 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80788 glibcxx_local_stylesheets=yes
80789 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80790 fi
80791 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80792 glibcxx_local_stylesheets=yes
80793 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80794 fi
80795 fi
80796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80797 $as_echo "$glibcxx_local_stylesheets" >&6; }
80798
80799 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80800
80801 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80802 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80803 else
80804 glibcxx_stylesheets=no
80805 fi
80806
80807 # Check for epub3 dependencies.
80808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80809 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80810 glibcxx_epub_stylesheets=no
80811 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80812 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80813 glibcxx_epub_stylesheets=yes
80814 fi
80815 fi
80816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80817 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80818 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80819 BUILD_EPUB_TRUE=
80820 BUILD_EPUB_FALSE='#'
80821 else
80822 BUILD_EPUB_TRUE='#'
80823 BUILD_EPUB_FALSE=
80824 fi
80825
80826
80827
80828
80829 # Check for xml/html dependencies.
80830 if test $ac_cv_prog_DOXYGEN = "yes" &&
80831 test $ac_cv_prog_DOT = "yes" &&
80832 test $ac_cv_prog_XSLTPROC = "yes" &&
80833 test $ac_cv_prog_XMLLINT = "yes" &&
80834 test $glibcxx_stylesheets = "yes"; then
80835 BUILD_XML_TRUE=
80836 BUILD_XML_FALSE='#'
80837 else
80838 BUILD_XML_TRUE='#'
80839 BUILD_XML_FALSE=
80840 fi
80841
80842
80843 if test $ac_cv_prog_DOXYGEN = "yes" &&
80844 test $ac_cv_prog_DOT = "yes" &&
80845 test $ac_cv_prog_XSLTPROC = "yes" &&
80846 test $ac_cv_prog_XMLLINT = "yes" &&
80847 test $glibcxx_stylesheets = "yes"; then
80848 BUILD_HTML_TRUE=
80849 BUILD_HTML_FALSE='#'
80850 else
80851 BUILD_HTML_TRUE='#'
80852 BUILD_HTML_FALSE=
80853 fi
80854
80855
80856 # Check for man dependencies.
80857 if test $ac_cv_prog_DOXYGEN = "yes" &&
80858 test $ac_cv_prog_DOT = "yes"; then
80859 BUILD_MAN_TRUE=
80860 BUILD_MAN_FALSE='#'
80861 else
80862 BUILD_MAN_TRUE='#'
80863 BUILD_MAN_FALSE=
80864 fi
80865
80866
80867 # Check for pdf dependencies.
80868 # Extract the first word of "dblatex", so it can be a program name with args.
80869 set dummy dblatex; ac_word=$2
80870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80871 $as_echo_n "checking for $ac_word... " >&6; }
80872 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80873 $as_echo_n "(cached) " >&6
80874 else
80875 if test -n "$DBLATEX"; then
80876 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80877 else
80878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80879 for as_dir in $PATH
80880 do
80881 IFS=$as_save_IFS
80882 test -z "$as_dir" && as_dir=.
80883 for ac_exec_ext in '' $ac_executable_extensions; do
80884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80885 ac_cv_prog_DBLATEX="yes"
80886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80887 break 2
80888 fi
80889 done
80890 done
80891 IFS=$as_save_IFS
80892
80893 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80894 fi
80895 fi
80896 DBLATEX=$ac_cv_prog_DBLATEX
80897 if test -n "$DBLATEX"; then
80898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80899 $as_echo "$DBLATEX" >&6; }
80900 else
80901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80902 $as_echo "no" >&6; }
80903 fi
80904
80905
80906 # Extract the first word of "pdflatex", so it can be a program name with args.
80907 set dummy pdflatex; ac_word=$2
80908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80909 $as_echo_n "checking for $ac_word... " >&6; }
80910 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80911 $as_echo_n "(cached) " >&6
80912 else
80913 if test -n "$PDFLATEX"; then
80914 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80915 else
80916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80917 for as_dir in $PATH
80918 do
80919 IFS=$as_save_IFS
80920 test -z "$as_dir" && as_dir=.
80921 for ac_exec_ext in '' $ac_executable_extensions; do
80922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80923 ac_cv_prog_PDFLATEX="yes"
80924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80925 break 2
80926 fi
80927 done
80928 done
80929 IFS=$as_save_IFS
80930
80931 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80932 fi
80933 fi
80934 PDFLATEX=$ac_cv_prog_PDFLATEX
80935 if test -n "$PDFLATEX"; then
80936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80937 $as_echo "$PDFLATEX" >&6; }
80938 else
80939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80940 $as_echo "no" >&6; }
80941 fi
80942
80943
80944 if test $ac_cv_prog_DBLATEX = "yes" &&
80945 test $ac_cv_prog_PDFLATEX = "yes"; then
80946 BUILD_PDF_TRUE=
80947 BUILD_PDF_FALSE='#'
80948 else
80949 BUILD_PDF_TRUE='#'
80950 BUILD_PDF_FALSE=
80951 fi
80952
80953
80954
80955 # Propagate the target-specific source directories through the build chain.
80956 ATOMICITY_SRCDIR=config/${atomicity_dir}
80957 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80958 ATOMIC_FLAGS=${atomic_flags}
80959 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80960 OS_INC_SRCDIR=config/${os_include_dir}
80961 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80962 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80963 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80964 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80965
80966
80967
80968
80969
80970
80971
80972
80973
80974
80975
80976 # Determine cross-compile flags and AM_CONDITIONALs.
80977 #AC_SUBST(GLIBCXX_IS_NATIVE)
80978 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80979 if test $is_hosted = yes; then
80980 GLIBCXX_HOSTED_TRUE=
80981 GLIBCXX_HOSTED_FALSE='#'
80982 else
80983 GLIBCXX_HOSTED_TRUE='#'
80984 GLIBCXX_HOSTED_FALSE=
80985 fi
80986
80987
80988 if test $enable_libstdcxx_pch = yes; then
80989 GLIBCXX_BUILD_PCH_TRUE=
80990 GLIBCXX_BUILD_PCH_FALSE='#'
80991 else
80992 GLIBCXX_BUILD_PCH_TRUE='#'
80993 GLIBCXX_BUILD_PCH_FALSE=
80994 fi
80995
80996
80997 if test $enable_libstdcxx_allocator_flag = new; then
80998 ENABLE_ALLOCATOR_NEW_TRUE=
80999 ENABLE_ALLOCATOR_NEW_FALSE='#'
81000 else
81001 ENABLE_ALLOCATOR_NEW_TRUE='#'
81002 ENABLE_ALLOCATOR_NEW_FALSE=
81003 fi
81004
81005
81006 if test $enable_cheaders = c; then
81007 GLIBCXX_C_HEADERS_C_TRUE=
81008 GLIBCXX_C_HEADERS_C_FALSE='#'
81009 else
81010 GLIBCXX_C_HEADERS_C_TRUE='#'
81011 GLIBCXX_C_HEADERS_C_FALSE=
81012 fi
81013
81014
81015 if test $enable_cheaders = c_std; then
81016 GLIBCXX_C_HEADERS_C_STD_TRUE=
81017 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81018 else
81019 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81020 GLIBCXX_C_HEADERS_C_STD_FALSE=
81021 fi
81022
81023
81024 if test $enable_cheaders = c_global; then
81025 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81026 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81027 else
81028 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81029 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81030 fi
81031
81032
81033 if test $c_compatibility = yes; then
81034 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81035 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81036 else
81037 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81038 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81039 fi
81040
81041
81042 if test $enable_libstdcxx_debug = yes; then
81043 GLIBCXX_BUILD_DEBUG_TRUE=
81044 GLIBCXX_BUILD_DEBUG_FALSE='#'
81045 else
81046 GLIBCXX_BUILD_DEBUG_TRUE='#'
81047 GLIBCXX_BUILD_DEBUG_FALSE=
81048 fi
81049
81050
81051 if test $enable_extern_template = yes; then
81052 ENABLE_EXTERN_TEMPLATE_TRUE=
81053 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81054 else
81055 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81056 ENABLE_EXTERN_TEMPLATE_FALSE=
81057 fi
81058
81059
81060 if test $python_mod_dir != no; then
81061 ENABLE_PYTHONDIR_TRUE=
81062 ENABLE_PYTHONDIR_FALSE='#'
81063 else
81064 ENABLE_PYTHONDIR_TRUE='#'
81065 ENABLE_PYTHONDIR_FALSE=
81066 fi
81067
81068
81069 if test $enable_werror = yes; then
81070 ENABLE_WERROR_TRUE=
81071 ENABLE_WERROR_FALSE='#'
81072 else
81073 ENABLE_WERROR_TRUE='#'
81074 ENABLE_WERROR_FALSE=
81075 fi
81076
81077
81078 if test $enable_vtable_verify = yes; then
81079 ENABLE_VTABLE_VERIFY_TRUE=
81080 ENABLE_VTABLE_VERIFY_FALSE='#'
81081 else
81082 ENABLE_VTABLE_VERIFY_TRUE='#'
81083 ENABLE_VTABLE_VERIFY_FALSE=
81084 fi
81085
81086
81087 if test $enable_symvers != no; then
81088 ENABLE_SYMVERS_TRUE=
81089 ENABLE_SYMVERS_FALSE='#'
81090 else
81091 ENABLE_SYMVERS_TRUE='#'
81092 ENABLE_SYMVERS_FALSE=
81093 fi
81094
81095
81096 if test $enable_symvers = gnu; then
81097 ENABLE_SYMVERS_GNU_TRUE=
81098 ENABLE_SYMVERS_GNU_FALSE='#'
81099 else
81100 ENABLE_SYMVERS_GNU_TRUE='#'
81101 ENABLE_SYMVERS_GNU_FALSE=
81102 fi
81103
81104
81105 if test $enable_symvers = gnu-versioned-namespace; then
81106 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81107 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81108 else
81109 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81110 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81111 fi
81112
81113
81114 if test $enable_symvers = darwin; then
81115 ENABLE_SYMVERS_DARWIN_TRUE=
81116 ENABLE_SYMVERS_DARWIN_FALSE='#'
81117 else
81118 ENABLE_SYMVERS_DARWIN_TRUE='#'
81119 ENABLE_SYMVERS_DARWIN_FALSE=
81120 fi
81121
81122
81123 if test $enable_symvers = sun; then
81124 ENABLE_SYMVERS_SUN_TRUE=
81125 ENABLE_SYMVERS_SUN_FALSE='#'
81126 else
81127 ENABLE_SYMVERS_SUN_TRUE='#'
81128 ENABLE_SYMVERS_SUN_FALSE=
81129 fi
81130
81131
81132 if test $enable_libstdcxx_visibility = yes; then
81133 ENABLE_VISIBILITY_TRUE=
81134 ENABLE_VISIBILITY_FALSE='#'
81135 else
81136 ENABLE_VISIBILITY_TRUE='#'
81137 ENABLE_VISIBILITY_FALSE=
81138 fi
81139
81140
81141 if test $enable_libstdcxx_dual_abi = yes; then
81142 ENABLE_DUAL_ABI_TRUE=
81143 ENABLE_DUAL_ABI_FALSE='#'
81144 else
81145 ENABLE_DUAL_ABI_TRUE='#'
81146 ENABLE_DUAL_ABI_FALSE=
81147 fi
81148
81149
81150 if test $glibcxx_cxx11_abi = 1; then
81151 ENABLE_CXX11_ABI_TRUE=
81152 ENABLE_CXX11_ABI_FALSE='#'
81153 else
81154 ENABLE_CXX11_ABI_TRUE='#'
81155 ENABLE_CXX11_ABI_FALSE=
81156 fi
81157
81158
81159 if test $ac_ldbl_compat = yes; then
81160 GLIBCXX_LDBL_COMPAT_TRUE=
81161 GLIBCXX_LDBL_COMPAT_FALSE='#'
81162 else
81163 GLIBCXX_LDBL_COMPAT_TRUE='#'
81164 GLIBCXX_LDBL_COMPAT_FALSE=
81165 fi
81166
81167
81168 if test $enable_libstdcxx_filesystem_ts = yes; then
81169 ENABLE_FILESYSTEM_TS_TRUE=
81170 ENABLE_FILESYSTEM_TS_FALSE='#'
81171 else
81172 ENABLE_FILESYSTEM_TS_TRUE='#'
81173 ENABLE_FILESYSTEM_TS_FALSE=
81174 fi
81175
81176
81177
81178
81179 cat >confcache <<\_ACEOF
81180 # This file is a shell script that caches the results of configure
81181 # tests run on this system so they can be shared between configure
81182 # scripts and configure runs, see configure's option --config-cache.
81183 # It is not useful on other systems. If it contains results you don't
81184 # want to keep, you may remove or edit it.
81185 #
81186 # config.status only pays attention to the cache file if you give it
81187 # the --recheck option to rerun configure.
81188 #
81189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81191 # following values.
81192
81193 _ACEOF
81194
81195 # The following way of writing the cache mishandles newlines in values,
81196 # but we know of no workaround that is simple, portable, and efficient.
81197 # So, we kill variables containing newlines.
81198 # Ultrix sh set writes to stderr and can't be redirected directly,
81199 # and sets the high bit in the cache file unless we assign to the vars.
81200 (
81201 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81202 eval ac_val=\$$ac_var
81203 case $ac_val in #(
81204 *${as_nl}*)
81205 case $ac_var in #(
81206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81207 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81208 esac
81209 case $ac_var in #(
81210 _ | IFS | as_nl) ;; #(
81211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81212 *) { eval $ac_var=; unset $ac_var;} ;;
81213 esac ;;
81214 esac
81215 done
81216
81217 (set) 2>&1 |
81218 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81219 *${as_nl}ac_space=\ *)
81220 # `set' does not quote correctly, so add quotes: double-quote
81221 # substitution turns \\\\ into \\, and sed turns \\ into \.
81222 sed -n \
81223 "s/'/'\\\\''/g;
81224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81225 ;; #(
81226 *)
81227 # `set' quotes correctly as required by POSIX, so do not add quotes.
81228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81229 ;;
81230 esac |
81231 sort
81232 ) |
81233 sed '
81234 /^ac_cv_env_/b end
81235 t clear
81236 :clear
81237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81238 t end
81239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81240 :end' >>confcache
81241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81242 if test -w "$cache_file"; then
81243 test "x$cache_file" != "x/dev/null" &&
81244 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81245 $as_echo "$as_me: updating cache $cache_file" >&6;}
81246 cat confcache >$cache_file
81247 else
81248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81250 fi
81251 fi
81252 rm -f confcache
81253
81254 if test ${multilib} = yes; then
81255 multilib_arg="--enable-multilib"
81256 else
81257 multilib_arg=
81258 fi
81259
81260 # Export all the install information.
81261
81262 glibcxx_toolexecdir=no
81263 glibcxx_toolexeclibdir=no
81264 glibcxx_prefixdir=$prefix
81265
81266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81267 $as_echo_n "checking for gxx-include-dir... " >&6; }
81268
81269 # Check whether --with-gxx-include-dir was given.
81270 if test "${with_gxx_include_dir+set}" = set; then :
81271 withval=$with_gxx_include_dir; case "$withval" in
81272 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81273 no) gxx_include_dir=no ;;
81274 *) gxx_include_dir=$withval ;;
81275 esac
81276 else
81277 gxx_include_dir=no
81278 fi
81279
81280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81281 $as_echo "$gxx_include_dir" >&6; }
81282
81283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81284 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81285 # Check whether --enable-version-specific-runtime-libs was given.
81286 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81287 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81288 yes) version_specific_libs=yes ;;
81289 no) version_specific_libs=no ;;
81290 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81291 esac
81292 else
81293 version_specific_libs=no
81294 fi
81295
81296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81297 $as_echo "$version_specific_libs" >&6; }
81298
81299 # Default case for install directory for include files.
81300 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81301 gxx_include_dir='include/c++/${gcc_version}'
81302 if test -n "$with_cross_host" &&
81303 test x"$with_cross_host" != x"no"; then
81304 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81305 else
81306 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81307 fi
81308 fi
81309
81310 # Version-specific runtime libs processing.
81311 if test $version_specific_libs = yes; then
81312 # Need the gcc compiler version to know where to install libraries
81313 # and header files if --enable-version-specific-runtime-libs option
81314 # is selected. FIXME: these variables are misnamed, there are
81315 # no executables installed in _toolexecdir or _toolexeclibdir.
81316 if test x"$gxx_include_dir" = x"no"; then
81317 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81318 fi
81319 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81320 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81321 fi
81322
81323 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81324 # Install a library built with a cross compiler in tooldir, not libdir.
81325 if test x"$glibcxx_toolexecdir" = x"no"; then
81326 if test -n "$with_cross_host" &&
81327 test x"$with_cross_host" != x"no"; then
81328 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81329 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81330 else
81331 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81332 glibcxx_toolexeclibdir='${libdir}'
81333 fi
81334 multi_os_directory=`$CXX -print-multi-os-directory`
81335 case $multi_os_directory in
81336 .) ;; # Avoid trailing /.
81337 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81338 esac
81339 fi
81340
81341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81342 $as_echo_n "checking for install location... " >&6; }
81343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81344 $as_echo "$gxx_include_dir" >&6; }
81345
81346
81347
81348
81349
81350
81351
81352 # Export all the include and flag information to Makefiles.
81353
81354 # Used for every C++ compile we perform.
81355 GLIBCXX_INCLUDES="\
81356 -I$glibcxx_builddir/include/$host_alias \
81357 -I$glibcxx_builddir/include \
81358 -I$glibcxx_srcdir/libsupc++"
81359
81360 # For Canadian crosses, pick this up too.
81361 if test $CANADIAN = yes; then
81362 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81363 fi
81364
81365 # Stuff in the actual top level. Currently only used by libsupc++ to
81366 # get unwind* headers from the libgcc dir.
81367 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81368 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81369
81370 # Now, export this to all the little Makefiles....
81371
81372
81373
81374
81375 # Optimization flags that are probably a good idea for thrill-seekers. Just
81376 # uncomment the lines below and make, everything else is ready to go...
81377 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81378 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81379
81380
81381 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81382
81383
81384
81385 ac_config_files="$ac_config_files Makefile"
81386
81387 ac_config_files="$ac_config_files scripts/testsuite_flags"
81388
81389 ac_config_files="$ac_config_files scripts/extract_symvers"
81390
81391 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81392
81393
81394 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81395 # that multilib installs will end up installed in the correct place.
81396 # The testsuite needs it for multilib-aware ABI baseline files.
81397 # To work around this not being passed down from config-ml.in ->
81398 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81399 # append it here. Only modify Makefiles that have just been created.
81400 #
81401 # Also, get rid of this simulated-VPATH thing that automake does.
81402 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"
81403
81404
81405 ac_config_commands="$ac_config_commands generate-headers"
81406
81407
81408 cat >confcache <<\_ACEOF
81409 # This file is a shell script that caches the results of configure
81410 # tests run on this system so they can be shared between configure
81411 # scripts and configure runs, see configure's option --config-cache.
81412 # It is not useful on other systems. If it contains results you don't
81413 # want to keep, you may remove or edit it.
81414 #
81415 # config.status only pays attention to the cache file if you give it
81416 # the --recheck option to rerun configure.
81417 #
81418 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81419 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81420 # following values.
81421
81422 _ACEOF
81423
81424 # The following way of writing the cache mishandles newlines in values,
81425 # but we know of no workaround that is simple, portable, and efficient.
81426 # So, we kill variables containing newlines.
81427 # Ultrix sh set writes to stderr and can't be redirected directly,
81428 # and sets the high bit in the cache file unless we assign to the vars.
81429 (
81430 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81431 eval ac_val=\$$ac_var
81432 case $ac_val in #(
81433 *${as_nl}*)
81434 case $ac_var in #(
81435 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81436 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81437 esac
81438 case $ac_var in #(
81439 _ | IFS | as_nl) ;; #(
81440 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81441 *) { eval $ac_var=; unset $ac_var;} ;;
81442 esac ;;
81443 esac
81444 done
81445
81446 (set) 2>&1 |
81447 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81448 *${as_nl}ac_space=\ *)
81449 # `set' does not quote correctly, so add quotes: double-quote
81450 # substitution turns \\\\ into \\, and sed turns \\ into \.
81451 sed -n \
81452 "s/'/'\\\\''/g;
81453 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81454 ;; #(
81455 *)
81456 # `set' quotes correctly as required by POSIX, so do not add quotes.
81457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81458 ;;
81459 esac |
81460 sort
81461 ) |
81462 sed '
81463 /^ac_cv_env_/b end
81464 t clear
81465 :clear
81466 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81467 t end
81468 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81469 :end' >>confcache
81470 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81471 if test -w "$cache_file"; then
81472 test "x$cache_file" != "x/dev/null" &&
81473 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81474 $as_echo "$as_me: updating cache $cache_file" >&6;}
81475 cat confcache >$cache_file
81476 else
81477 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81478 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81479 fi
81480 fi
81481 rm -f confcache
81482
81483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81484 # Let make expand exec_prefix.
81485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81486
81487 DEFS=-DHAVE_CONFIG_H
81488
81489 ac_libobjs=
81490 ac_ltlibobjs=
81491 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81492 # 1. Remove the extension, and $U if already installed.
81493 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81494 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81495 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81496 # will be set to the directory where LIBOBJS objects are built.
81497 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81498 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81499 done
81500 LIBOBJS=$ac_libobjs
81501
81502 LTLIBOBJS=$ac_ltlibobjs
81503
81504
81505 if test -n "$EXEEXT"; then
81506 am__EXEEXT_TRUE=
81507 am__EXEEXT_FALSE='#'
81508 else
81509 am__EXEEXT_TRUE='#'
81510 am__EXEEXT_FALSE=
81511 fi
81512
81513 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81514 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81516 fi
81517 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81518 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81520 fi
81521 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81522 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81524 fi
81525 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81526 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81528 fi
81529 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81530 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81532 fi
81533 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81534 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81536 fi
81537 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81538 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81540 fi
81541 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81542 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81544 fi
81545 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81546 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81548 fi
81549 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81550 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81552 fi
81553 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81554 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81556 fi
81557 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81558 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81560 fi
81561 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81562 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81564 fi
81565 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81566 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81568 fi
81569 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81570 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81572 fi
81573 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81574 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81576 fi
81577 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81578 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81580 fi
81581 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81582 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81584 fi
81585 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81586 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81588 fi
81589 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81590 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81592 fi
81593 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81594 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81596 fi
81597 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81598 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81600 fi
81601 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81602 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81604 fi
81605 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81606 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81608 fi
81609 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81610 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81612 fi
81613 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81614 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81616 fi
81617 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81618 as_fn_error "conditional \"BUILD_XML\" was never defined.
81619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81620 fi
81621 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81622 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81624 fi
81625 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81626 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81628 fi
81629 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81630 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81632 fi
81633
81634 : ${CONFIG_STATUS=./config.status}
81635 ac_write_fail=0
81636 ac_clean_files_save=$ac_clean_files
81637 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81639 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81640 as_write_fail=0
81641 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81642 #! $SHELL
81643 # Generated by $as_me.
81644 # Run this file to recreate the current configuration.
81645 # Compiler output produced by configure, useful for debugging
81646 # configure, is in config.log if it exists.
81647
81648 debug=false
81649 ac_cs_recheck=false
81650 ac_cs_silent=false
81651
81652 SHELL=\${CONFIG_SHELL-$SHELL}
81653 export SHELL
81654 _ASEOF
81655 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81656 ## -------------------- ##
81657 ## M4sh Initialization. ##
81658 ## -------------------- ##
81659
81660 # Be more Bourne compatible
81661 DUALCASE=1; export DUALCASE # for MKS sh
81662 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81663 emulate sh
81664 NULLCMD=:
81665 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81666 # is contrary to our usage. Disable this feature.
81667 alias -g '${1+"$@"}'='"$@"'
81668 setopt NO_GLOB_SUBST
81669 else
81670 case `(set -o) 2>/dev/null` in #(
81671 *posix*) :
81672 set -o posix ;; #(
81673 *) :
81674 ;;
81675 esac
81676 fi
81677
81678
81679 as_nl='
81680 '
81681 export as_nl
81682 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81683 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81684 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81686 # Prefer a ksh shell builtin over an external printf program on Solaris,
81687 # but without wasting forks for bash or zsh.
81688 if test -z "$BASH_VERSION$ZSH_VERSION" \
81689 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81690 as_echo='print -r --'
81691 as_echo_n='print -rn --'
81692 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81693 as_echo='printf %s\n'
81694 as_echo_n='printf %s'
81695 else
81696 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81697 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81698 as_echo_n='/usr/ucb/echo -n'
81699 else
81700 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81701 as_echo_n_body='eval
81702 arg=$1;
81703 case $arg in #(
81704 *"$as_nl"*)
81705 expr "X$arg" : "X\\(.*\\)$as_nl";
81706 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81707 esac;
81708 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81709 '
81710 export as_echo_n_body
81711 as_echo_n='sh -c $as_echo_n_body as_echo'
81712 fi
81713 export as_echo_body
81714 as_echo='sh -c $as_echo_body as_echo'
81715 fi
81716
81717 # The user is always right.
81718 if test "${PATH_SEPARATOR+set}" != set; then
81719 PATH_SEPARATOR=:
81720 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81721 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81722 PATH_SEPARATOR=';'
81723 }
81724 fi
81725
81726
81727 # IFS
81728 # We need space, tab and new line, in precisely that order. Quoting is
81729 # there to prevent editors from complaining about space-tab.
81730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81731 # splitting by setting IFS to empty value.)
81732 IFS=" "" $as_nl"
81733
81734 # Find who we are. Look in the path if we contain no directory separator.
81735 case $0 in #((
81736 *[\\/]* ) as_myself=$0 ;;
81737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81738 for as_dir in $PATH
81739 do
81740 IFS=$as_save_IFS
81741 test -z "$as_dir" && as_dir=.
81742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81743 done
81744 IFS=$as_save_IFS
81745
81746 ;;
81747 esac
81748 # We did not find ourselves, most probably we were run as `sh COMMAND'
81749 # in which case we are not to be found in the path.
81750 if test "x$as_myself" = x; then
81751 as_myself=$0
81752 fi
81753 if test ! -f "$as_myself"; then
81754 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81755 exit 1
81756 fi
81757
81758 # Unset variables that we do not need and which cause bugs (e.g. in
81759 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81760 # suppresses any "Segmentation fault" message there. '((' could
81761 # trigger a bug in pdksh 5.2.14.
81762 for as_var in BASH_ENV ENV MAIL MAILPATH
81763 do eval test x\${$as_var+set} = xset \
81764 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81765 done
81766 PS1='$ '
81767 PS2='> '
81768 PS4='+ '
81769
81770 # NLS nuisances.
81771 LC_ALL=C
81772 export LC_ALL
81773 LANGUAGE=C
81774 export LANGUAGE
81775
81776 # CDPATH.
81777 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81778
81779
81780 # as_fn_error ERROR [LINENO LOG_FD]
81781 # ---------------------------------
81782 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81783 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81784 # script with status $?, using 1 if that was 0.
81785 as_fn_error ()
81786 {
81787 as_status=$?; test $as_status -eq 0 && as_status=1
81788 if test "$3"; then
81789 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81790 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81791 fi
81792 $as_echo "$as_me: error: $1" >&2
81793 as_fn_exit $as_status
81794 } # as_fn_error
81795
81796
81797 # as_fn_set_status STATUS
81798 # -----------------------
81799 # Set $? to STATUS, without forking.
81800 as_fn_set_status ()
81801 {
81802 return $1
81803 } # as_fn_set_status
81804
81805 # as_fn_exit STATUS
81806 # -----------------
81807 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81808 as_fn_exit ()
81809 {
81810 set +e
81811 as_fn_set_status $1
81812 exit $1
81813 } # as_fn_exit
81814
81815 # as_fn_unset VAR
81816 # ---------------
81817 # Portably unset VAR.
81818 as_fn_unset ()
81819 {
81820 { eval $1=; unset $1;}
81821 }
81822 as_unset=as_fn_unset
81823 # as_fn_append VAR VALUE
81824 # ----------------------
81825 # Append the text in VALUE to the end of the definition contained in VAR. Take
81826 # advantage of any shell optimizations that allow amortized linear growth over
81827 # repeated appends, instead of the typical quadratic growth present in naive
81828 # implementations.
81829 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81830 eval 'as_fn_append ()
81831 {
81832 eval $1+=\$2
81833 }'
81834 else
81835 as_fn_append ()
81836 {
81837 eval $1=\$$1\$2
81838 }
81839 fi # as_fn_append
81840
81841 # as_fn_arith ARG...
81842 # ------------------
81843 # Perform arithmetic evaluation on the ARGs, and store the result in the
81844 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81845 # must be portable across $(()) and expr.
81846 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81847 eval 'as_fn_arith ()
81848 {
81849 as_val=$(( $* ))
81850 }'
81851 else
81852 as_fn_arith ()
81853 {
81854 as_val=`expr "$@" || test $? -eq 1`
81855 }
81856 fi # as_fn_arith
81857
81858
81859 if expr a : '\(a\)' >/dev/null 2>&1 &&
81860 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81861 as_expr=expr
81862 else
81863 as_expr=false
81864 fi
81865
81866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81867 as_basename=basename
81868 else
81869 as_basename=false
81870 fi
81871
81872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81873 as_dirname=dirname
81874 else
81875 as_dirname=false
81876 fi
81877
81878 as_me=`$as_basename -- "$0" ||
81879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81880 X"$0" : 'X\(//\)$' \| \
81881 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81882 $as_echo X/"$0" |
81883 sed '/^.*\/\([^/][^/]*\)\/*$/{
81884 s//\1/
81885 q
81886 }
81887 /^X\/\(\/\/\)$/{
81888 s//\1/
81889 q
81890 }
81891 /^X\/\(\/\).*/{
81892 s//\1/
81893 q
81894 }
81895 s/.*/./; q'`
81896
81897 # Avoid depending upon Character Ranges.
81898 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81899 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81900 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81901 as_cr_digits='0123456789'
81902 as_cr_alnum=$as_cr_Letters$as_cr_digits
81903
81904 ECHO_C= ECHO_N= ECHO_T=
81905 case `echo -n x` in #(((((
81906 -n*)
81907 case `echo 'xy\c'` in
81908 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81909 xy) ECHO_C='\c';;
81910 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81911 ECHO_T=' ';;
81912 esac;;
81913 *)
81914 ECHO_N='-n';;
81915 esac
81916
81917 rm -f conf$$ conf$$.exe conf$$.file
81918 if test -d conf$$.dir; then
81919 rm -f conf$$.dir/conf$$.file
81920 else
81921 rm -f conf$$.dir
81922 mkdir conf$$.dir 2>/dev/null
81923 fi
81924 if (echo >conf$$.file) 2>/dev/null; then
81925 if ln -s conf$$.file conf$$ 2>/dev/null; then
81926 as_ln_s='ln -s'
81927 # ... but there are two gotchas:
81928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81930 # In both cases, we have to default to `cp -p'.
81931 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81932 as_ln_s='cp -p'
81933 elif ln conf$$.file conf$$ 2>/dev/null; then
81934 as_ln_s=ln
81935 else
81936 as_ln_s='cp -p'
81937 fi
81938 else
81939 as_ln_s='cp -p'
81940 fi
81941 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81942 rmdir conf$$.dir 2>/dev/null
81943
81944
81945 # as_fn_mkdir_p
81946 # -------------
81947 # Create "$as_dir" as a directory, including parents if necessary.
81948 as_fn_mkdir_p ()
81949 {
81950
81951 case $as_dir in #(
81952 -*) as_dir=./$as_dir;;
81953 esac
81954 test -d "$as_dir" || eval $as_mkdir_p || {
81955 as_dirs=
81956 while :; do
81957 case $as_dir in #(
81958 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81959 *) as_qdir=$as_dir;;
81960 esac
81961 as_dirs="'$as_qdir' $as_dirs"
81962 as_dir=`$as_dirname -- "$as_dir" ||
81963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81964 X"$as_dir" : 'X\(//\)[^/]' \| \
81965 X"$as_dir" : 'X\(//\)$' \| \
81966 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81967 $as_echo X"$as_dir" |
81968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81969 s//\1/
81970 q
81971 }
81972 /^X\(\/\/\)[^/].*/{
81973 s//\1/
81974 q
81975 }
81976 /^X\(\/\/\)$/{
81977 s//\1/
81978 q
81979 }
81980 /^X\(\/\).*/{
81981 s//\1/
81982 q
81983 }
81984 s/.*/./; q'`
81985 test -d "$as_dir" && break
81986 done
81987 test -z "$as_dirs" || eval "mkdir $as_dirs"
81988 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81989
81990
81991 } # as_fn_mkdir_p
81992 if mkdir -p . 2>/dev/null; then
81993 as_mkdir_p='mkdir -p "$as_dir"'
81994 else
81995 test -d ./-p && rmdir ./-p
81996 as_mkdir_p=false
81997 fi
81998
81999 if test -x / >/dev/null 2>&1; then
82000 as_test_x='test -x'
82001 else
82002 if ls -dL / >/dev/null 2>&1; then
82003 as_ls_L_option=L
82004 else
82005 as_ls_L_option=
82006 fi
82007 as_test_x='
82008 eval sh -c '\''
82009 if test -d "$1"; then
82010 test -d "$1/.";
82011 else
82012 case $1 in #(
82013 -*)set "./$1";;
82014 esac;
82015 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82016 ???[sx]*):;;*)false;;esac;fi
82017 '\'' sh
82018 '
82019 fi
82020 as_executable_p=$as_test_x
82021
82022 # Sed expression to map a string onto a valid CPP name.
82023 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82024
82025 # Sed expression to map a string onto a valid variable name.
82026 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82027
82028
82029 exec 6>&1
82030 ## ----------------------------------- ##
82031 ## Main body of $CONFIG_STATUS script. ##
82032 ## ----------------------------------- ##
82033 _ASEOF
82034 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82035
82036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82037 # Save the log message, to keep $0 and so on meaningful, and to
82038 # report actual input values of CONFIG_FILES etc. instead of their
82039 # values after options handling.
82040 ac_log="
82041 This file was extended by package-unused $as_me version-unused, which was
82042 generated by GNU Autoconf 2.64. Invocation command line was
82043
82044 CONFIG_FILES = $CONFIG_FILES
82045 CONFIG_HEADERS = $CONFIG_HEADERS
82046 CONFIG_LINKS = $CONFIG_LINKS
82047 CONFIG_COMMANDS = $CONFIG_COMMANDS
82048 $ $0 $@
82049
82050 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82051 "
82052
82053 _ACEOF
82054
82055 case $ac_config_files in *"
82056 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82057 esac
82058
82059 case $ac_config_headers in *"
82060 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82061 esac
82062
82063
82064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82065 # Files that config.status was made for.
82066 config_files="$ac_config_files"
82067 config_headers="$ac_config_headers"
82068 config_commands="$ac_config_commands"
82069
82070 _ACEOF
82071
82072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82073 ac_cs_usage="\
82074 \`$as_me' instantiates files and other configuration actions
82075 from templates according to the current configuration. Unless the files
82076 and actions are specified as TAGs, all are instantiated by default.
82077
82078 Usage: $0 [OPTION]... [TAG]...
82079
82080 -h, --help print this help, then exit
82081 -V, --version print version number and configuration settings, then exit
82082 -q, --quiet, --silent
82083 do not print progress messages
82084 -d, --debug don't remove temporary files
82085 --recheck update $as_me by reconfiguring in the same conditions
82086 --file=FILE[:TEMPLATE]
82087 instantiate the configuration file FILE
82088 --header=FILE[:TEMPLATE]
82089 instantiate the configuration header FILE
82090
82091 Configuration files:
82092 $config_files
82093
82094 Configuration headers:
82095 $config_headers
82096
82097 Configuration commands:
82098 $config_commands
82099
82100 Report bugs to the package provider."
82101
82102 _ACEOF
82103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82104 ac_cs_version="\\
82105 package-unused config.status version-unused
82106 configured by $0, generated by GNU Autoconf 2.64,
82107 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82108
82109 Copyright (C) 2009 Free Software Foundation, Inc.
82110 This config.status script is free software; the Free Software Foundation
82111 gives unlimited permission to copy, distribute and modify it."
82112
82113 ac_pwd='$ac_pwd'
82114 srcdir='$srcdir'
82115 INSTALL='$INSTALL'
82116 MKDIR_P='$MKDIR_P'
82117 AWK='$AWK'
82118 test -n "\$AWK" || AWK=awk
82119 _ACEOF
82120
82121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82122 # The default lists apply if the user does not specify any file.
82123 ac_need_defaults=:
82124 while test $# != 0
82125 do
82126 case $1 in
82127 --*=*)
82128 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82129 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82130 ac_shift=:
82131 ;;
82132 *)
82133 ac_option=$1
82134 ac_optarg=$2
82135 ac_shift=shift
82136 ;;
82137 esac
82138
82139 case $ac_option in
82140 # Handling of the options.
82141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82142 ac_cs_recheck=: ;;
82143 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82144 $as_echo "$ac_cs_version"; exit ;;
82145 --debug | --debu | --deb | --de | --d | -d )
82146 debug=: ;;
82147 --file | --fil | --fi | --f )
82148 $ac_shift
82149 case $ac_optarg in
82150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82151 esac
82152 as_fn_append CONFIG_FILES " '$ac_optarg'"
82153 ac_need_defaults=false;;
82154 --header | --heade | --head | --hea )
82155 $ac_shift
82156 case $ac_optarg in
82157 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82158 esac
82159 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82160 ac_need_defaults=false;;
82161 --he | --h)
82162 # Conflict between --help and --header
82163 as_fn_error "ambiguous option: \`$1'
82164 Try \`$0 --help' for more information.";;
82165 --help | --hel | -h )
82166 $as_echo "$ac_cs_usage"; exit ;;
82167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82169 ac_cs_silent=: ;;
82170
82171 # This is an error.
82172 -*) as_fn_error "unrecognized option: \`$1'
82173 Try \`$0 --help' for more information." ;;
82174
82175 *) as_fn_append ac_config_targets " $1"
82176 ac_need_defaults=false ;;
82177
82178 esac
82179 shift
82180 done
82181
82182 ac_configure_extra_args=
82183
82184 if $ac_cs_silent; then
82185 exec 6>/dev/null
82186 ac_configure_extra_args="$ac_configure_extra_args --silent"
82187 fi
82188
82189 _ACEOF
82190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82191 if \$ac_cs_recheck; then
82192 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82193 shift
82194 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82195 CONFIG_SHELL='$SHELL'
82196 export CONFIG_SHELL
82197 exec "\$@"
82198 fi
82199
82200 _ACEOF
82201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82202 exec 5>>config.log
82203 {
82204 echo
82205 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82206 ## Running $as_me. ##
82207 _ASBOX
82208 $as_echo "$ac_log"
82209 } >&5
82210
82211 _ACEOF
82212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82213 #
82214 # INIT-COMMANDS
82215 #
82216
82217 srcdir="$srcdir"
82218 host="$host"
82219 target="$target"
82220 with_multisubdir="$with_multisubdir"
82221 with_multisrctop="$with_multisrctop"
82222 with_target_subdir="$with_target_subdir"
82223 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82224 multi_basedir="$multi_basedir"
82225 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82226 CC="$CC"
82227 CXX="$CXX"
82228 GFORTRAN="$GFORTRAN"
82229 GCJ="$GCJ"
82230
82231
82232 # The HP-UX ksh and POSIX shell print the target directory to stdout
82233 # if CDPATH is set.
82234 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82235
82236 sed_quote_subst='$sed_quote_subst'
82237 double_quote_subst='$double_quote_subst'
82238 delay_variable_subst='$delay_variable_subst'
82239 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82240 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82241 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82242 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82243 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82244 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82245 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82246 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82247 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82248 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82249 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82250 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82251 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82252 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82253 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82254 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82255 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82256 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82257 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82258 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82259 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82260 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82261 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82262 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82263 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82264 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82265 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82266 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82267 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82268 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82269 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82270 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82271 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82272 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82273 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82274 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82275 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82276 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82277 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82278 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82279 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82280 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82281 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82282 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82283 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82284 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82285 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82286 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82287 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"`'
82288 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82289 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82290 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82291 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82292 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82293 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82294 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82295 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82296 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82297 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82298 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82299 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82300 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82301 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82302 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82303 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82304 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82305 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82306 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82307 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82308 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82309 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82310 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82311 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82312 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82313 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82314 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82315 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82316 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82317 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82318 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82319 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82320 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82321 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82322 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82323 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82324 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82325 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82326 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82327 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82328 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82329 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82330 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82331 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82332 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82333 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82334 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82335 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82336 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82337 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82338 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82339 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82340 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82341 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82342 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82343 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82344 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82345 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82346 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82347 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82348 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82349 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82350 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82351 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82352 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82353 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82354 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82355 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82356 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82357 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82358 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82359 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82360 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82361 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82362 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82363 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82364 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82365 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82366 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82367 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82368 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82369 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82370 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82371 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82372 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82373 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82374 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82375 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82376 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82377 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82378 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82379 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82380 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82381 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82382 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82383 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82384 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82385 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82386 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82387 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82388 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82389 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82390 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82391 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82392 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82393 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82394 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82395 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82396 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82397 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82398 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82399 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82400 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82401 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82402 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82403 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82404 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82405 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82406 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82407 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82408 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82409 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82410 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82411 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82412 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82413 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82414
82415 LTCC='$LTCC'
82416 LTCFLAGS='$LTCFLAGS'
82417 compiler='$compiler_DEFAULT'
82418
82419 # A function that is used when there is no print builtin or printf.
82420 func_fallback_echo ()
82421 {
82422 eval 'cat <<_LTECHO_EOF
82423 \$1
82424 _LTECHO_EOF'
82425 }
82426
82427 # Quote evaled strings.
82428 for var in SHELL \
82429 ECHO \
82430 SED \
82431 GREP \
82432 EGREP \
82433 FGREP \
82434 LD \
82435 NM \
82436 LN_S \
82437 lt_SP2NL \
82438 lt_NL2SP \
82439 reload_flag \
82440 OBJDUMP \
82441 deplibs_check_method \
82442 file_magic_cmd \
82443 AR \
82444 AR_FLAGS \
82445 STRIP \
82446 RANLIB \
82447 CC \
82448 CFLAGS \
82449 compiler \
82450 lt_cv_sys_global_symbol_pipe \
82451 lt_cv_sys_global_symbol_to_cdecl \
82452 lt_cv_sys_global_symbol_to_c_name_address \
82453 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82454 lt_prog_compiler_no_builtin_flag \
82455 lt_prog_compiler_wl \
82456 lt_prog_compiler_pic \
82457 lt_prog_compiler_static \
82458 lt_cv_prog_compiler_c_o \
82459 need_locks \
82460 DSYMUTIL \
82461 NMEDIT \
82462 LIPO \
82463 OTOOL \
82464 OTOOL64 \
82465 shrext_cmds \
82466 export_dynamic_flag_spec \
82467 whole_archive_flag_spec \
82468 compiler_needs_object \
82469 with_gnu_ld \
82470 allow_undefined_flag \
82471 no_undefined_flag \
82472 hardcode_libdir_flag_spec \
82473 hardcode_libdir_flag_spec_ld \
82474 hardcode_libdir_separator \
82475 fix_srcfile_path \
82476 exclude_expsyms \
82477 include_expsyms \
82478 file_list_spec \
82479 variables_saved_for_relink \
82480 libname_spec \
82481 library_names_spec \
82482 soname_spec \
82483 install_override_mode \
82484 finish_eval \
82485 old_striplib \
82486 striplib \
82487 compiler_lib_search_dirs \
82488 predep_objects \
82489 postdep_objects \
82490 predeps \
82491 postdeps \
82492 compiler_lib_search_path \
82493 LD_CXX \
82494 reload_flag_CXX \
82495 compiler_CXX \
82496 lt_prog_compiler_no_builtin_flag_CXX \
82497 lt_prog_compiler_wl_CXX \
82498 lt_prog_compiler_pic_CXX \
82499 lt_prog_compiler_static_CXX \
82500 lt_cv_prog_compiler_c_o_CXX \
82501 export_dynamic_flag_spec_CXX \
82502 whole_archive_flag_spec_CXX \
82503 compiler_needs_object_CXX \
82504 with_gnu_ld_CXX \
82505 allow_undefined_flag_CXX \
82506 no_undefined_flag_CXX \
82507 hardcode_libdir_flag_spec_CXX \
82508 hardcode_libdir_flag_spec_ld_CXX \
82509 hardcode_libdir_separator_CXX \
82510 fix_srcfile_path_CXX \
82511 exclude_expsyms_CXX \
82512 include_expsyms_CXX \
82513 file_list_spec_CXX \
82514 compiler_lib_search_dirs_CXX \
82515 predep_objects_CXX \
82516 postdep_objects_CXX \
82517 predeps_CXX \
82518 postdeps_CXX \
82519 compiler_lib_search_path_CXX; do
82520 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82521 *[\\\\\\\`\\"\\\$]*)
82522 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82523 ;;
82524 *)
82525 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82526 ;;
82527 esac
82528 done
82529
82530 # Double-quote double-evaled strings.
82531 for var in reload_cmds \
82532 old_postinstall_cmds \
82533 old_postuninstall_cmds \
82534 old_archive_cmds \
82535 extract_expsyms_cmds \
82536 old_archive_from_new_cmds \
82537 old_archive_from_expsyms_cmds \
82538 archive_cmds \
82539 archive_expsym_cmds \
82540 module_cmds \
82541 module_expsym_cmds \
82542 export_symbols_cmds \
82543 prelink_cmds \
82544 postinstall_cmds \
82545 postuninstall_cmds \
82546 finish_cmds \
82547 sys_lib_search_path_spec \
82548 sys_lib_dlsearch_path_spec \
82549 reload_cmds_CXX \
82550 old_archive_cmds_CXX \
82551 old_archive_from_new_cmds_CXX \
82552 old_archive_from_expsyms_cmds_CXX \
82553 archive_cmds_CXX \
82554 archive_expsym_cmds_CXX \
82555 module_cmds_CXX \
82556 module_expsym_cmds_CXX \
82557 export_symbols_cmds_CXX \
82558 prelink_cmds_CXX; do
82559 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82560 *[\\\\\\\`\\"\\\$]*)
82561 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82562 ;;
82563 *)
82564 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82565 ;;
82566 esac
82567 done
82568
82569 ac_aux_dir='$ac_aux_dir'
82570 xsi_shell='$xsi_shell'
82571 lt_shell_append='$lt_shell_append'
82572
82573 # See if we are running on zsh, and set the options which allow our
82574 # commands through without removal of \ escapes INIT.
82575 if test -n "\${ZSH_VERSION+set}" ; then
82576 setopt NO_GLOB_SUBST
82577 fi
82578
82579
82580 PACKAGE='$PACKAGE'
82581 VERSION='$VERSION'
82582 TIMESTAMP='$TIMESTAMP'
82583 RM='$RM'
82584 ofile='$ofile'
82585
82586
82587
82588
82589
82590
82591 GCC="$GCC"
82592 CC="$CC"
82593 acx_cv_header_stdint="$acx_cv_header_stdint"
82594 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82595 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82596 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82597 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82598 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82599 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82600 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82601 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82602 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82603 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82604 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82605 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82606 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82607
82608
82609 _ACEOF
82610
82611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82612
82613 # Handling of arguments.
82614 for ac_config_target in $ac_config_targets
82615 do
82616 case $ac_config_target in
82617 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82618 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82619 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82620 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82621 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82622 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82623 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82624 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82625 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82626 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82627 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82628 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82629 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82630 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82631 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82632 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82633 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82634 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82635 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82636
82637 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82638 esac
82639 done
82640
82641
82642 # If the user did not use the arguments to specify the items to instantiate,
82643 # then the envvar interface is used. Set only those that are not.
82644 # We use the long form for the default assignment because of an extremely
82645 # bizarre bug on SunOS 4.1.3.
82646 if $ac_need_defaults; then
82647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82650 fi
82651
82652 # Have a temporary directory for convenience. Make it in the build tree
82653 # simply because there is no reason against having it here, and in addition,
82654 # creating and moving files from /tmp can sometimes cause problems.
82655 # Hook for its removal unless debugging.
82656 # Note that there is a small window in which the directory will not be cleaned:
82657 # after its creation but before its name has been assigned to `$tmp'.
82658 $debug ||
82659 {
82660 tmp=
82661 trap 'exit_status=$?
82662 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82663 ' 0
82664 trap 'as_fn_exit 1' 1 2 13 15
82665 }
82666 # Create a (secure) tmp directory for tmp files.
82667
82668 {
82669 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82670 test -n "$tmp" && test -d "$tmp"
82671 } ||
82672 {
82673 tmp=./conf$$-$RANDOM
82674 (umask 077 && mkdir "$tmp")
82675 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82676
82677 # Set up the scripts for CONFIG_FILES section.
82678 # No need to generate them if there are no CONFIG_FILES.
82679 # This happens for instance with `./config.status config.h'.
82680 if test -n "$CONFIG_FILES"; then
82681
82682
82683 ac_cr=`echo X | tr X '\015'`
82684 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82685 # But we know of no other shell where ac_cr would be empty at this
82686 # point, so we can use a bashism as a fallback.
82687 if test "x$ac_cr" = x; then
82688 eval ac_cr=\$\'\\r\'
82689 fi
82690 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82691 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82692 ac_cs_awk_cr='\r'
82693 else
82694 ac_cs_awk_cr=$ac_cr
82695 fi
82696
82697 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82698 _ACEOF
82699
82700
82701 {
82702 echo "cat >conf$$subs.awk <<_ACEOF" &&
82703 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82704 echo "_ACEOF"
82705 } >conf$$subs.sh ||
82706 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82707 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82708 ac_delim='%!_!# '
82709 for ac_last_try in false false false false false :; do
82710 . ./conf$$subs.sh ||
82711 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82712
82713 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82714 if test $ac_delim_n = $ac_delim_num; then
82715 break
82716 elif $ac_last_try; then
82717 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82718 else
82719 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82720 fi
82721 done
82722 rm -f conf$$subs.sh
82723
82724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82725 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82726 _ACEOF
82727 sed -n '
82728 h
82729 s/^/S["/; s/!.*/"]=/
82730 p
82731 g
82732 s/^[^!]*!//
82733 :repl
82734 t repl
82735 s/'"$ac_delim"'$//
82736 t delim
82737 :nl
82738 h
82739 s/\(.\{148\}\).*/\1/
82740 t more1
82741 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82742 p
82743 n
82744 b repl
82745 :more1
82746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82747 p
82748 g
82749 s/.\{148\}//
82750 t nl
82751 :delim
82752 h
82753 s/\(.\{148\}\).*/\1/
82754 t more2
82755 s/["\\]/\\&/g; s/^/"/; s/$/"/
82756 p
82757 b
82758 :more2
82759 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82760 p
82761 g
82762 s/.\{148\}//
82763 t delim
82764 ' <conf$$subs.awk | sed '
82765 /^[^""]/{
82766 N
82767 s/\n//
82768 }
82769 ' >>$CONFIG_STATUS || ac_write_fail=1
82770 rm -f conf$$subs.awk
82771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82772 _ACAWK
82773 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82774 for (key in S) S_is_set[key] = 1
82775 FS = "\a"
82776
82777 }
82778 {
82779 line = $ 0
82780 nfields = split(line, field, "@")
82781 substed = 0
82782 len = length(field[1])
82783 for (i = 2; i < nfields; i++) {
82784 key = field[i]
82785 keylen = length(key)
82786 if (S_is_set[key]) {
82787 value = S[key]
82788 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82789 len += length(value) + length(field[++i])
82790 substed = 1
82791 } else
82792 len += 1 + keylen
82793 }
82794
82795 print line
82796 }
82797
82798 _ACAWK
82799 _ACEOF
82800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82801 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82802 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82803 else
82804 cat
82805 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82806 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82807 _ACEOF
82808
82809 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82810 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82811 # trailing colons and then remove the whole line if VPATH becomes empty
82812 # (actually we leave an empty line to preserve line numbers).
82813 if test "x$srcdir" = x.; then
82814 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82815 s/:*\$(srcdir):*/:/
82816 s/:*\${srcdir}:*/:/
82817 s/:*@srcdir@:*/:/
82818 s/^\([^=]*=[ ]*\):*/\1/
82819 s/:*$//
82820 s/^[^=]*=[ ]*$//
82821 }'
82822 fi
82823
82824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82825 fi # test -n "$CONFIG_FILES"
82826
82827 # Set up the scripts for CONFIG_HEADERS section.
82828 # No need to generate them if there are no CONFIG_HEADERS.
82829 # This happens for instance with `./config.status Makefile'.
82830 if test -n "$CONFIG_HEADERS"; then
82831 cat >"$tmp/defines.awk" <<\_ACAWK ||
82832 BEGIN {
82833 _ACEOF
82834
82835 # Transform confdefs.h into an awk script `defines.awk', embedded as
82836 # here-document in config.status, that substitutes the proper values into
82837 # config.h.in to produce config.h.
82838
82839 # Create a delimiter string that does not exist in confdefs.h, to ease
82840 # handling of long lines.
82841 ac_delim='%!_!# '
82842 for ac_last_try in false false :; do
82843 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82844 if test -z "$ac_t"; then
82845 break
82846 elif $ac_last_try; then
82847 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82848 else
82849 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82850 fi
82851 done
82852
82853 # For the awk script, D is an array of macro values keyed by name,
82854 # likewise P contains macro parameters if any. Preserve backslash
82855 # newline sequences.
82856
82857 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82858 sed -n '
82859 s/.\{148\}/&'"$ac_delim"'/g
82860 t rset
82861 :rset
82862 s/^[ ]*#[ ]*define[ ][ ]*/ /
82863 t def
82864 d
82865 :def
82866 s/\\$//
82867 t bsnl
82868 s/["\\]/\\&/g
82869 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82870 D["\1"]=" \3"/p
82871 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82872 d
82873 :bsnl
82874 s/["\\]/\\&/g
82875 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82876 D["\1"]=" \3\\\\\\n"\\/p
82877 t cont
82878 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82879 t cont
82880 d
82881 :cont
82882 n
82883 s/.\{148\}/&'"$ac_delim"'/g
82884 t clear
82885 :clear
82886 s/\\$//
82887 t bsnlc
82888 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82889 d
82890 :bsnlc
82891 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82892 b cont
82893 ' <confdefs.h | sed '
82894 s/'"$ac_delim"'/"\\\
82895 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82896
82897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82898 for (key in D) D_is_set[key] = 1
82899 FS = "\a"
82900 }
82901 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82902 line = \$ 0
82903 split(line, arg, " ")
82904 if (arg[1] == "#") {
82905 defundef = arg[2]
82906 mac1 = arg[3]
82907 } else {
82908 defundef = substr(arg[1], 2)
82909 mac1 = arg[2]
82910 }
82911 split(mac1, mac2, "(") #)
82912 macro = mac2[1]
82913 prefix = substr(line, 1, index(line, defundef) - 1)
82914 if (D_is_set[macro]) {
82915 # Preserve the white space surrounding the "#".
82916 print prefix "define", macro P[macro] D[macro]
82917 next
82918 } else {
82919 # Replace #undef with comments. This is necessary, for example,
82920 # in the case of _POSIX_SOURCE, which is predefined and required
82921 # on some systems where configure will not decide to define it.
82922 if (defundef == "undef") {
82923 print "/*", prefix defundef, macro, "*/"
82924 next
82925 }
82926 }
82927 }
82928 { print }
82929 _ACAWK
82930 _ACEOF
82931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82932 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82933 fi # test -n "$CONFIG_HEADERS"
82934
82935
82936 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82937 shift
82938 for ac_tag
82939 do
82940 case $ac_tag in
82941 :[FHLC]) ac_mode=$ac_tag; continue;;
82942 esac
82943 case $ac_mode$ac_tag in
82944 :[FHL]*:*);;
82945 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82946 :[FH]-) ac_tag=-:-;;
82947 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82948 esac
82949 ac_save_IFS=$IFS
82950 IFS=:
82951 set x $ac_tag
82952 IFS=$ac_save_IFS
82953 shift
82954 ac_file=$1
82955 shift
82956
82957 case $ac_mode in
82958 :L) ac_source=$1;;
82959 :[FH])
82960 ac_file_inputs=
82961 for ac_f
82962 do
82963 case $ac_f in
82964 -) ac_f="$tmp/stdin";;
82965 *) # Look for the file first in the build tree, then in the source tree
82966 # (if the path is not absolute). The absolute path cannot be DOS-style,
82967 # because $ac_f cannot contain `:'.
82968 test -f "$ac_f" ||
82969 case $ac_f in
82970 [\\/$]*) false;;
82971 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82972 esac ||
82973 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82974 esac
82975 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82976 as_fn_append ac_file_inputs " '$ac_f'"
82977 done
82978
82979 # Let's still pretend it is `configure' which instantiates (i.e., don't
82980 # use $as_me), people would be surprised to read:
82981 # /* config.h. Generated by config.status. */
82982 configure_input='Generated from '`
82983 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82984 `' by configure.'
82985 if test x"$ac_file" != x-; then
82986 configure_input="$ac_file. $configure_input"
82987 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82988 $as_echo "$as_me: creating $ac_file" >&6;}
82989 fi
82990 # Neutralize special characters interpreted by sed in replacement strings.
82991 case $configure_input in #(
82992 *\&* | *\|* | *\\* )
82993 ac_sed_conf_input=`$as_echo "$configure_input" |
82994 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82995 *) ac_sed_conf_input=$configure_input;;
82996 esac
82997
82998 case $ac_tag in
82999 *:-:* | *:-) cat >"$tmp/stdin" \
83000 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83001 esac
83002 ;;
83003 esac
83004
83005 ac_dir=`$as_dirname -- "$ac_file" ||
83006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83007 X"$ac_file" : 'X\(//\)[^/]' \| \
83008 X"$ac_file" : 'X\(//\)$' \| \
83009 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83010 $as_echo X"$ac_file" |
83011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83012 s//\1/
83013 q
83014 }
83015 /^X\(\/\/\)[^/].*/{
83016 s//\1/
83017 q
83018 }
83019 /^X\(\/\/\)$/{
83020 s//\1/
83021 q
83022 }
83023 /^X\(\/\).*/{
83024 s//\1/
83025 q
83026 }
83027 s/.*/./; q'`
83028 as_dir="$ac_dir"; as_fn_mkdir_p
83029 ac_builddir=.
83030
83031 case "$ac_dir" in
83032 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83033 *)
83034 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83035 # A ".." for each directory in $ac_dir_suffix.
83036 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83037 case $ac_top_builddir_sub in
83038 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83039 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83040 esac ;;
83041 esac
83042 ac_abs_top_builddir=$ac_pwd
83043 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83044 # for backward compatibility:
83045 ac_top_builddir=$ac_top_build_prefix
83046
83047 case $srcdir in
83048 .) # We are building in place.
83049 ac_srcdir=.
83050 ac_top_srcdir=$ac_top_builddir_sub
83051 ac_abs_top_srcdir=$ac_pwd ;;
83052 [\\/]* | ?:[\\/]* ) # Absolute name.
83053 ac_srcdir=$srcdir$ac_dir_suffix;
83054 ac_top_srcdir=$srcdir
83055 ac_abs_top_srcdir=$srcdir ;;
83056 *) # Relative name.
83057 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83058 ac_top_srcdir=$ac_top_build_prefix$srcdir
83059 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83060 esac
83061 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83062
83063
83064 case $ac_mode in
83065 :F)
83066 #
83067 # CONFIG_FILE
83068 #
83069
83070 case $INSTALL in
83071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83072 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83073 esac
83074 ac_MKDIR_P=$MKDIR_P
83075 case $MKDIR_P in
83076 [\\/$]* | ?:[\\/]* ) ;;
83077 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83078 esac
83079 _ACEOF
83080
83081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83082 # If the template does not know about datarootdir, expand it.
83083 # FIXME: This hack should be removed a few years after 2.60.
83084 ac_datarootdir_hack=; ac_datarootdir_seen=
83085 ac_sed_dataroot='
83086 /datarootdir/ {
83087 p
83088 q
83089 }
83090 /@datadir@/p
83091 /@docdir@/p
83092 /@infodir@/p
83093 /@localedir@/p
83094 /@mandir@/p'
83095 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83096 *datarootdir*) ac_datarootdir_seen=yes;;
83097 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83099 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83100 _ACEOF
83101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83102 ac_datarootdir_hack='
83103 s&@datadir@&$datadir&g
83104 s&@docdir@&$docdir&g
83105 s&@infodir@&$infodir&g
83106 s&@localedir@&$localedir&g
83107 s&@mandir@&$mandir&g
83108 s&\\\${datarootdir}&$datarootdir&g' ;;
83109 esac
83110 _ACEOF
83111
83112 # Neutralize VPATH when `$srcdir' = `.'.
83113 # Shell code in configure.ac might set extrasub.
83114 # FIXME: do we really want to maintain this feature?
83115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83116 ac_sed_extra="$ac_vpsub
83117 $extrasub
83118 _ACEOF
83119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83120 :t
83121 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83122 s|@configure_input@|$ac_sed_conf_input|;t t
83123 s&@top_builddir@&$ac_top_builddir_sub&;t t
83124 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83125 s&@srcdir@&$ac_srcdir&;t t
83126 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83127 s&@top_srcdir@&$ac_top_srcdir&;t t
83128 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83129 s&@builddir@&$ac_builddir&;t t
83130 s&@abs_builddir@&$ac_abs_builddir&;t t
83131 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83132 s&@INSTALL@&$ac_INSTALL&;t t
83133 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83134 $ac_datarootdir_hack
83135 "
83136 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83137 || as_fn_error "could not create $ac_file" "$LINENO" 5
83138
83139 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83140 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83141 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83143 which seems to be undefined. Please make sure it is defined." >&5
83144 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83145 which seems to be undefined. Please make sure it is defined." >&2;}
83146
83147 rm -f "$tmp/stdin"
83148 case $ac_file in
83149 -) cat "$tmp/out" && rm -f "$tmp/out";;
83150 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83151 esac \
83152 || as_fn_error "could not create $ac_file" "$LINENO" 5
83153 ;;
83154 :H)
83155 #
83156 # CONFIG_HEADER
83157 #
83158 if test x"$ac_file" != x-; then
83159 {
83160 $as_echo "/* $configure_input */" \
83161 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83162 } >"$tmp/config.h" \
83163 || as_fn_error "could not create $ac_file" "$LINENO" 5
83164 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83165 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83166 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83167 else
83168 rm -f "$ac_file"
83169 mv "$tmp/config.h" "$ac_file" \
83170 || as_fn_error "could not create $ac_file" "$LINENO" 5
83171 fi
83172 else
83173 $as_echo "/* $configure_input */" \
83174 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83175 || as_fn_error "could not create -" "$LINENO" 5
83176 fi
83177 # Compute "$ac_file"'s index in $config_headers.
83178 _am_arg="$ac_file"
83179 _am_stamp_count=1
83180 for _am_header in $config_headers :; do
83181 case $_am_header in
83182 $_am_arg | $_am_arg:* )
83183 break ;;
83184 * )
83185 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83186 esac
83187 done
83188 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83189 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83190 X"$_am_arg" : 'X\(//\)[^/]' \| \
83191 X"$_am_arg" : 'X\(//\)$' \| \
83192 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83193 $as_echo X"$_am_arg" |
83194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83195 s//\1/
83196 q
83197 }
83198 /^X\(\/\/\)[^/].*/{
83199 s//\1/
83200 q
83201 }
83202 /^X\(\/\/\)$/{
83203 s//\1/
83204 q
83205 }
83206 /^X\(\/\).*/{
83207 s//\1/
83208 q
83209 }
83210 s/.*/./; q'`/stamp-h$_am_stamp_count
83211 ;;
83212
83213 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83214 $as_echo "$as_me: executing $ac_file commands" >&6;}
83215 ;;
83216 esac
83217
83218
83219 case $ac_file$ac_mode in
83220 "default-1":C)
83221 # Only add multilib support code if we just rebuilt the top-level
83222 # Makefile.
83223 case " $CONFIG_FILES " in
83224 *" Makefile "*)
83225 ac_file=Makefile . ${multi_basedir}/config-ml.in
83226 ;;
83227 esac ;;
83228 "libtool":C)
83229
83230 # See if we are running on zsh, and set the options which allow our
83231 # commands through without removal of \ escapes.
83232 if test -n "${ZSH_VERSION+set}" ; then
83233 setopt NO_GLOB_SUBST
83234 fi
83235
83236 cfgfile="${ofile}T"
83237 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83238 $RM "$cfgfile"
83239
83240 cat <<_LT_EOF >> "$cfgfile"
83241 #! $SHELL
83242
83243 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83244 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83245 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83246 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83247 #
83248 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83249 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83250 # Written by Gordon Matzigkeit, 1996
83251 #
83252 # This file is part of GNU Libtool.
83253 #
83254 # GNU Libtool is free software; you can redistribute it and/or
83255 # modify it under the terms of the GNU General Public License as
83256 # published by the Free Software Foundation; either version 2 of
83257 # the License, or (at your option) any later version.
83258 #
83259 # As a special exception to the GNU General Public License,
83260 # if you distribute this file as part of a program or library that
83261 # is built using GNU Libtool, you may include this file under the
83262 # same distribution terms that you use for the rest of that program.
83263 #
83264 # GNU Libtool is distributed in the hope that it will be useful,
83265 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83266 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83267 # GNU General Public License for more details.
83268 #
83269 # You should have received a copy of the GNU General Public License
83270 # along with GNU Libtool; see the file COPYING. If not, a copy
83271 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83272 # obtained by writing to the Free Software Foundation, Inc.,
83273 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83274
83275
83276 # The names of the tagged configurations supported by this script.
83277 available_tags="CXX "
83278
83279 # ### BEGIN LIBTOOL CONFIG
83280
83281 # Which release of libtool.m4 was used?
83282 macro_version=$macro_version
83283 macro_revision=$macro_revision
83284
83285 # Whether or not to build shared libraries.
83286 build_libtool_libs=$enable_shared
83287
83288 # Whether or not to build static libraries.
83289 build_old_libs=$enable_static
83290
83291 # What type of objects to build.
83292 pic_mode=$pic_mode
83293
83294 # Whether or not to optimize for fast installation.
83295 fast_install=$enable_fast_install
83296
83297 # Shell to use when invoking shell scripts.
83298 SHELL=$lt_SHELL
83299
83300 # An echo program that protects backslashes.
83301 ECHO=$lt_ECHO
83302
83303 # The host system.
83304 host_alias=$host_alias
83305 host=$host
83306 host_os=$host_os
83307
83308 # The build system.
83309 build_alias=$build_alias
83310 build=$build
83311 build_os=$build_os
83312
83313 # A sed program that does not truncate output.
83314 SED=$lt_SED
83315
83316 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83317 Xsed="\$SED -e 1s/^X//"
83318
83319 # A grep program that handles long lines.
83320 GREP=$lt_GREP
83321
83322 # An ERE matcher.
83323 EGREP=$lt_EGREP
83324
83325 # A literal string matcher.
83326 FGREP=$lt_FGREP
83327
83328 # A BSD- or MS-compatible name lister.
83329 NM=$lt_NM
83330
83331 # Whether we need soft or hard links.
83332 LN_S=$lt_LN_S
83333
83334 # What is the maximum length of a command?
83335 max_cmd_len=$max_cmd_len
83336
83337 # Object file suffix (normally "o").
83338 objext=$ac_objext
83339
83340 # Executable file suffix (normally "").
83341 exeext=$exeext
83342
83343 # whether the shell understands "unset".
83344 lt_unset=$lt_unset
83345
83346 # turn spaces into newlines.
83347 SP2NL=$lt_lt_SP2NL
83348
83349 # turn newlines into spaces.
83350 NL2SP=$lt_lt_NL2SP
83351
83352 # An object symbol dumper.
83353 OBJDUMP=$lt_OBJDUMP
83354
83355 # Method to check whether dependent libraries are shared objects.
83356 deplibs_check_method=$lt_deplibs_check_method
83357
83358 # Command to use when deplibs_check_method == "file_magic".
83359 file_magic_cmd=$lt_file_magic_cmd
83360
83361 # The archiver.
83362 AR=$lt_AR
83363 AR_FLAGS=$lt_AR_FLAGS
83364
83365 # A symbol stripping program.
83366 STRIP=$lt_STRIP
83367
83368 # Commands used to install an old-style archive.
83369 RANLIB=$lt_RANLIB
83370 old_postinstall_cmds=$lt_old_postinstall_cmds
83371 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83372
83373 # Whether to use a lock for old archive extraction.
83374 lock_old_archive_extraction=$lock_old_archive_extraction
83375
83376 # A C compiler.
83377 LTCC=$lt_CC
83378
83379 # LTCC compiler flags.
83380 LTCFLAGS=$lt_CFLAGS
83381
83382 # Take the output of nm and produce a listing of raw symbols and C names.
83383 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83384
83385 # Transform the output of nm in a proper C declaration.
83386 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83387
83388 # Transform the output of nm in a C name address pair.
83389 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83390
83391 # Transform the output of nm in a C name address pair when lib prefix is needed.
83392 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83393
83394 # The name of the directory that contains temporary libtool files.
83395 objdir=$objdir
83396
83397 # Used to examine libraries when file_magic_cmd begins with "file".
83398 MAGIC_CMD=$MAGIC_CMD
83399
83400 # Must we lock files when doing compilation?
83401 need_locks=$lt_need_locks
83402
83403 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83404 DSYMUTIL=$lt_DSYMUTIL
83405
83406 # Tool to change global to local symbols on Mac OS X.
83407 NMEDIT=$lt_NMEDIT
83408
83409 # Tool to manipulate fat objects and archives on Mac OS X.
83410 LIPO=$lt_LIPO
83411
83412 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83413 OTOOL=$lt_OTOOL
83414
83415 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83416 OTOOL64=$lt_OTOOL64
83417
83418 # Old archive suffix (normally "a").
83419 libext=$libext
83420
83421 # Shared library suffix (normally ".so").
83422 shrext_cmds=$lt_shrext_cmds
83423
83424 # The commands to extract the exported symbol list from a shared archive.
83425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83426
83427 # Variables whose values should be saved in libtool wrapper scripts and
83428 # restored at link time.
83429 variables_saved_for_relink=$lt_variables_saved_for_relink
83430
83431 # Do we need the "lib" prefix for modules?
83432 need_lib_prefix=$need_lib_prefix
83433
83434 # Do we need a version for libraries?
83435 need_version=$need_version
83436
83437 # Library versioning type.
83438 version_type=$version_type
83439
83440 # Shared library runtime path variable.
83441 runpath_var=$runpath_var
83442
83443 # Shared library path variable.
83444 shlibpath_var=$shlibpath_var
83445
83446 # Is shlibpath searched before the hard-coded library search path?
83447 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83448
83449 # Format of library name prefix.
83450 libname_spec=$lt_libname_spec
83451
83452 # List of archive names. First name is the real one, the rest are links.
83453 # The last name is the one that the linker finds with -lNAME
83454 library_names_spec=$lt_library_names_spec
83455
83456 # The coded name of the library, if different from the real name.
83457 soname_spec=$lt_soname_spec
83458
83459 # Permission mode override for installation of shared libraries.
83460 install_override_mode=$lt_install_override_mode
83461
83462 # Command to use after installation of a shared archive.
83463 postinstall_cmds=$lt_postinstall_cmds
83464
83465 # Command to use after uninstallation of a shared archive.
83466 postuninstall_cmds=$lt_postuninstall_cmds
83467
83468 # Commands used to finish a libtool library installation in a directory.
83469 finish_cmds=$lt_finish_cmds
83470
83471 # As "finish_cmds", except a single script fragment to be evaled but
83472 # not shown.
83473 finish_eval=$lt_finish_eval
83474
83475 # Whether we should hardcode library paths into libraries.
83476 hardcode_into_libs=$hardcode_into_libs
83477
83478 # Compile-time system search path for libraries.
83479 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83480
83481 # Run-time system search path for libraries.
83482 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83483
83484 # Whether dlopen is supported.
83485 dlopen_support=$enable_dlopen
83486
83487 # Whether dlopen of programs is supported.
83488 dlopen_self=$enable_dlopen_self
83489
83490 # Whether dlopen of statically linked programs is supported.
83491 dlopen_self_static=$enable_dlopen_self_static
83492
83493 # Commands to strip libraries.
83494 old_striplib=$lt_old_striplib
83495 striplib=$lt_striplib
83496
83497
83498 # The linker used to build libraries.
83499 LD=$lt_LD
83500
83501 # How to create reloadable object files.
83502 reload_flag=$lt_reload_flag
83503 reload_cmds=$lt_reload_cmds
83504
83505 # Commands used to build an old-style archive.
83506 old_archive_cmds=$lt_old_archive_cmds
83507
83508 # A language specific compiler.
83509 CC=$lt_compiler
83510
83511 # Is the compiler the GNU compiler?
83512 with_gcc=$GCC
83513
83514 # Compiler flag to turn off builtin functions.
83515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83516
83517 # How to pass a linker flag through the compiler.
83518 wl=$lt_lt_prog_compiler_wl
83519
83520 # Additional compiler flags for building library objects.
83521 pic_flag=$lt_lt_prog_compiler_pic
83522
83523 # Compiler flag to prevent dynamic linking.
83524 link_static_flag=$lt_lt_prog_compiler_static
83525
83526 # Does compiler simultaneously support -c and -o options?
83527 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83528
83529 # Whether or not to add -lc for building shared libraries.
83530 build_libtool_need_lc=$archive_cmds_need_lc
83531
83532 # Whether or not to disallow shared libs when runtime libs are static.
83533 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83534
83535 # Compiler flag to allow reflexive dlopens.
83536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83537
83538 # Compiler flag to generate shared objects directly from archives.
83539 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83540
83541 # Whether the compiler copes with passing no objects directly.
83542 compiler_needs_object=$lt_compiler_needs_object
83543
83544 # Create an old-style archive from a shared archive.
83545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83546
83547 # Create a temporary old-style archive to link instead of a shared archive.
83548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83549
83550 # Commands used to build a shared archive.
83551 archive_cmds=$lt_archive_cmds
83552 archive_expsym_cmds=$lt_archive_expsym_cmds
83553
83554 # Commands used to build a loadable module if different from building
83555 # a shared archive.
83556 module_cmds=$lt_module_cmds
83557 module_expsym_cmds=$lt_module_expsym_cmds
83558
83559 # Whether we are building with GNU ld or not.
83560 with_gnu_ld=$lt_with_gnu_ld
83561
83562 # Flag that allows shared libraries with undefined symbols to be built.
83563 allow_undefined_flag=$lt_allow_undefined_flag
83564
83565 # Flag that enforces no undefined symbols.
83566 no_undefined_flag=$lt_no_undefined_flag
83567
83568 # Flag to hardcode \$libdir into a binary during linking.
83569 # This must work even if \$libdir does not exist
83570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83571
83572 # If ld is used when linking, flag to hardcode \$libdir into a binary
83573 # during linking. This must work even if \$libdir does not exist.
83574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83575
83576 # Whether we need a single "-rpath" flag with a separated argument.
83577 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83578
83579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83580 # DIR into the resulting binary.
83581 hardcode_direct=$hardcode_direct
83582
83583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83584 # DIR into the resulting binary and the resulting library dependency is
83585 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83586 # library is relocated.
83587 hardcode_direct_absolute=$hardcode_direct_absolute
83588
83589 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83590 # into the resulting binary.
83591 hardcode_minus_L=$hardcode_minus_L
83592
83593 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83594 # into the resulting binary.
83595 hardcode_shlibpath_var=$hardcode_shlibpath_var
83596
83597 # Set to "yes" if building a shared library automatically hardcodes DIR
83598 # into the library and all subsequent libraries and executables linked
83599 # against it.
83600 hardcode_automatic=$hardcode_automatic
83601
83602 # Set to yes if linker adds runtime paths of dependent libraries
83603 # to runtime path list.
83604 inherit_rpath=$inherit_rpath
83605
83606 # Whether libtool must link a program against all its dependency libraries.
83607 link_all_deplibs=$link_all_deplibs
83608
83609 # Fix the shell variable \$srcfile for the compiler.
83610 fix_srcfile_path=$lt_fix_srcfile_path
83611
83612 # Set to "yes" if exported symbols are required.
83613 always_export_symbols=$always_export_symbols
83614
83615 # The commands to list exported symbols.
83616 export_symbols_cmds=$lt_export_symbols_cmds
83617
83618 # Symbols that should not be listed in the preloaded symbols.
83619 exclude_expsyms=$lt_exclude_expsyms
83620
83621 # Symbols that must always be exported.
83622 include_expsyms=$lt_include_expsyms
83623
83624 # Commands necessary for linking programs (against libraries) with templates.
83625 prelink_cmds=$lt_prelink_cmds
83626
83627 # Specify filename containing input files.
83628 file_list_spec=$lt_file_list_spec
83629
83630 # How to hardcode a shared library path into an executable.
83631 hardcode_action=$hardcode_action
83632
83633 # The directories searched by this compiler when creating a shared library.
83634 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83635
83636 # Dependencies to place before and after the objects being linked to
83637 # create a shared library.
83638 predep_objects=$lt_predep_objects
83639 postdep_objects=$lt_postdep_objects
83640 predeps=$lt_predeps
83641 postdeps=$lt_postdeps
83642
83643 # The library search path used internally by the compiler when linking
83644 # a shared library.
83645 compiler_lib_search_path=$lt_compiler_lib_search_path
83646
83647 # ### END LIBTOOL CONFIG
83648
83649 _LT_EOF
83650
83651 case $host_os in
83652 aix3*)
83653 cat <<\_LT_EOF >> "$cfgfile"
83654 # AIX sometimes has problems with the GCC collect2 program. For some
83655 # reason, if we set the COLLECT_NAMES environment variable, the problems
83656 # vanish in a puff of smoke.
83657 if test "X${COLLECT_NAMES+set}" != Xset; then
83658 COLLECT_NAMES=
83659 export COLLECT_NAMES
83660 fi
83661 _LT_EOF
83662 ;;
83663 esac
83664
83665
83666 ltmain="$ac_aux_dir/ltmain.sh"
83667
83668
83669 # We use sed instead of cat because bash on DJGPP gets confused if
83670 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83671 # text mode, it properly converts lines to CR/LF. This bash problem
83672 # is reportedly fixed, but why not run on old versions too?
83673 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83674 || (rm -f "$cfgfile"; exit 1)
83675
83676 case $xsi_shell in
83677 yes)
83678 cat << \_LT_EOF >> "$cfgfile"
83679
83680 # func_dirname file append nondir_replacement
83681 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83682 # otherwise set result to NONDIR_REPLACEMENT.
83683 func_dirname ()
83684 {
83685 case ${1} in
83686 */*) func_dirname_result="${1%/*}${2}" ;;
83687 * ) func_dirname_result="${3}" ;;
83688 esac
83689 }
83690
83691 # func_basename file
83692 func_basename ()
83693 {
83694 func_basename_result="${1##*/}"
83695 }
83696
83697 # func_dirname_and_basename file append nondir_replacement
83698 # perform func_basename and func_dirname in a single function
83699 # call:
83700 # dirname: Compute the dirname of FILE. If nonempty,
83701 # add APPEND to the result, otherwise set result
83702 # to NONDIR_REPLACEMENT.
83703 # value returned in "$func_dirname_result"
83704 # basename: Compute filename of FILE.
83705 # value retuned in "$func_basename_result"
83706 # Implementation must be kept synchronized with func_dirname
83707 # and func_basename. For efficiency, we do not delegate to
83708 # those functions but instead duplicate the functionality here.
83709 func_dirname_and_basename ()
83710 {
83711 case ${1} in
83712 */*) func_dirname_result="${1%/*}${2}" ;;
83713 * ) func_dirname_result="${3}" ;;
83714 esac
83715 func_basename_result="${1##*/}"
83716 }
83717
83718 # func_stripname prefix suffix name
83719 # strip PREFIX and SUFFIX off of NAME.
83720 # PREFIX and SUFFIX must not contain globbing or regex special
83721 # characters, hashes, percent signs, but SUFFIX may contain a leading
83722 # dot (in which case that matches only a dot).
83723 func_stripname ()
83724 {
83725 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83726 # positional parameters, so assign one to ordinary parameter first.
83727 func_stripname_result=${3}
83728 func_stripname_result=${func_stripname_result#"${1}"}
83729 func_stripname_result=${func_stripname_result%"${2}"}
83730 }
83731
83732 # func_opt_split
83733 func_opt_split ()
83734 {
83735 func_opt_split_opt=${1%%=*}
83736 func_opt_split_arg=${1#*=}
83737 }
83738
83739 # func_lo2o object
83740 func_lo2o ()
83741 {
83742 case ${1} in
83743 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83744 *) func_lo2o_result=${1} ;;
83745 esac
83746 }
83747
83748 # func_xform libobj-or-source
83749 func_xform ()
83750 {
83751 func_xform_result=${1%.*}.lo
83752 }
83753
83754 # func_arith arithmetic-term...
83755 func_arith ()
83756 {
83757 func_arith_result=$(( $* ))
83758 }
83759
83760 # func_len string
83761 # STRING may not start with a hyphen.
83762 func_len ()
83763 {
83764 func_len_result=${#1}
83765 }
83766
83767 _LT_EOF
83768 ;;
83769 *) # Bourne compatible functions.
83770 cat << \_LT_EOF >> "$cfgfile"
83771
83772 # func_dirname file append nondir_replacement
83773 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83774 # otherwise set result to NONDIR_REPLACEMENT.
83775 func_dirname ()
83776 {
83777 # Extract subdirectory from the argument.
83778 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83779 if test "X$func_dirname_result" = "X${1}"; then
83780 func_dirname_result="${3}"
83781 else
83782 func_dirname_result="$func_dirname_result${2}"
83783 fi
83784 }
83785
83786 # func_basename file
83787 func_basename ()
83788 {
83789 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83790 }
83791
83792
83793 # func_stripname prefix suffix name
83794 # strip PREFIX and SUFFIX off of NAME.
83795 # PREFIX and SUFFIX must not contain globbing or regex special
83796 # characters, hashes, percent signs, but SUFFIX may contain a leading
83797 # dot (in which case that matches only a dot).
83798 # func_strip_suffix prefix name
83799 func_stripname ()
83800 {
83801 case ${2} in
83802 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83803 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83804 esac
83805 }
83806
83807 # sed scripts:
83808 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83809 my_sed_long_arg='1s/^-[^=]*=//'
83810
83811 # func_opt_split
83812 func_opt_split ()
83813 {
83814 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83815 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83816 }
83817
83818 # func_lo2o object
83819 func_lo2o ()
83820 {
83821 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83822 }
83823
83824 # func_xform libobj-or-source
83825 func_xform ()
83826 {
83827 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83828 }
83829
83830 # func_arith arithmetic-term...
83831 func_arith ()
83832 {
83833 func_arith_result=`expr "$@"`
83834 }
83835
83836 # func_len string
83837 # STRING may not start with a hyphen.
83838 func_len ()
83839 {
83840 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83841 }
83842
83843 _LT_EOF
83844 esac
83845
83846 case $lt_shell_append in
83847 yes)
83848 cat << \_LT_EOF >> "$cfgfile"
83849
83850 # func_append var value
83851 # Append VALUE to the end of shell variable VAR.
83852 func_append ()
83853 {
83854 eval "$1+=\$2"
83855 }
83856 _LT_EOF
83857 ;;
83858 *)
83859 cat << \_LT_EOF >> "$cfgfile"
83860
83861 # func_append var value
83862 # Append VALUE to the end of shell variable VAR.
83863 func_append ()
83864 {
83865 eval "$1=\$$1\$2"
83866 }
83867
83868 _LT_EOF
83869 ;;
83870 esac
83871
83872
83873 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83874 || (rm -f "$cfgfile"; exit 1)
83875
83876 mv -f "$cfgfile" "$ofile" ||
83877 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83878 chmod +x "$ofile"
83879
83880
83881 cat <<_LT_EOF >> "$ofile"
83882
83883 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83884
83885 # The linker used to build libraries.
83886 LD=$lt_LD_CXX
83887
83888 # How to create reloadable object files.
83889 reload_flag=$lt_reload_flag_CXX
83890 reload_cmds=$lt_reload_cmds_CXX
83891
83892 # Commands used to build an old-style archive.
83893 old_archive_cmds=$lt_old_archive_cmds_CXX
83894
83895 # A language specific compiler.
83896 CC=$lt_compiler_CXX
83897
83898 # Is the compiler the GNU compiler?
83899 with_gcc=$GCC_CXX
83900
83901 # Compiler flag to turn off builtin functions.
83902 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83903
83904 # How to pass a linker flag through the compiler.
83905 wl=$lt_lt_prog_compiler_wl_CXX
83906
83907 # Additional compiler flags for building library objects.
83908 pic_flag=$lt_lt_prog_compiler_pic_CXX
83909
83910 # Compiler flag to prevent dynamic linking.
83911 link_static_flag=$lt_lt_prog_compiler_static_CXX
83912
83913 # Does compiler simultaneously support -c and -o options?
83914 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83915
83916 # Whether or not to add -lc for building shared libraries.
83917 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83918
83919 # Whether or not to disallow shared libs when runtime libs are static.
83920 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83921
83922 # Compiler flag to allow reflexive dlopens.
83923 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83924
83925 # Compiler flag to generate shared objects directly from archives.
83926 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83927
83928 # Whether the compiler copes with passing no objects directly.
83929 compiler_needs_object=$lt_compiler_needs_object_CXX
83930
83931 # Create an old-style archive from a shared archive.
83932 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83933
83934 # Create a temporary old-style archive to link instead of a shared archive.
83935 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83936
83937 # Commands used to build a shared archive.
83938 archive_cmds=$lt_archive_cmds_CXX
83939 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83940
83941 # Commands used to build a loadable module if different from building
83942 # a shared archive.
83943 module_cmds=$lt_module_cmds_CXX
83944 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83945
83946 # Whether we are building with GNU ld or not.
83947 with_gnu_ld=$lt_with_gnu_ld_CXX
83948
83949 # Flag that allows shared libraries with undefined symbols to be built.
83950 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83951
83952 # Flag that enforces no undefined symbols.
83953 no_undefined_flag=$lt_no_undefined_flag_CXX
83954
83955 # Flag to hardcode \$libdir into a binary during linking.
83956 # This must work even if \$libdir does not exist
83957 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83958
83959 # If ld is used when linking, flag to hardcode \$libdir into a binary
83960 # during linking. This must work even if \$libdir does not exist.
83961 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83962
83963 # Whether we need a single "-rpath" flag with a separated argument.
83964 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83965
83966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83967 # DIR into the resulting binary.
83968 hardcode_direct=$hardcode_direct_CXX
83969
83970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83971 # DIR into the resulting binary and the resulting library dependency is
83972 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83973 # library is relocated.
83974 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83975
83976 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83977 # into the resulting binary.
83978 hardcode_minus_L=$hardcode_minus_L_CXX
83979
83980 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83981 # into the resulting binary.
83982 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83983
83984 # Set to "yes" if building a shared library automatically hardcodes DIR
83985 # into the library and all subsequent libraries and executables linked
83986 # against it.
83987 hardcode_automatic=$hardcode_automatic_CXX
83988
83989 # Set to yes if linker adds runtime paths of dependent libraries
83990 # to runtime path list.
83991 inherit_rpath=$inherit_rpath_CXX
83992
83993 # Whether libtool must link a program against all its dependency libraries.
83994 link_all_deplibs=$link_all_deplibs_CXX
83995
83996 # Fix the shell variable \$srcfile for the compiler.
83997 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83998
83999 # Set to "yes" if exported symbols are required.
84000 always_export_symbols=$always_export_symbols_CXX
84001
84002 # The commands to list exported symbols.
84003 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84004
84005 # Symbols that should not be listed in the preloaded symbols.
84006 exclude_expsyms=$lt_exclude_expsyms_CXX
84007
84008 # Symbols that must always be exported.
84009 include_expsyms=$lt_include_expsyms_CXX
84010
84011 # Commands necessary for linking programs (against libraries) with templates.
84012 prelink_cmds=$lt_prelink_cmds_CXX
84013
84014 # Specify filename containing input files.
84015 file_list_spec=$lt_file_list_spec_CXX
84016
84017 # How to hardcode a shared library path into an executable.
84018 hardcode_action=$hardcode_action_CXX
84019
84020 # The directories searched by this compiler when creating a shared library.
84021 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84022
84023 # Dependencies to place before and after the objects being linked to
84024 # create a shared library.
84025 predep_objects=$lt_predep_objects_CXX
84026 postdep_objects=$lt_postdep_objects_CXX
84027 predeps=$lt_predeps_CXX
84028 postdeps=$lt_postdeps_CXX
84029
84030 # The library search path used internally by the compiler when linking
84031 # a shared library.
84032 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84033
84034 # ### END LIBTOOL TAG CONFIG: CXX
84035 _LT_EOF
84036
84037 ;;
84038 "include/gstdint.h":C)
84039 if test "$GCC" = yes; then
84040 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84041 else
84042 echo "/* generated for $CC */" > tmp-stdint.h
84043 fi
84044
84045 sed 's/^ *//' >> tmp-stdint.h <<EOF
84046
84047 #ifndef GCC_GENERATED_STDINT_H
84048 #define GCC_GENERATED_STDINT_H 1
84049
84050 #include <sys/types.h>
84051 EOF
84052
84053 if test "$acx_cv_header_stdint" != stdint.h; then
84054 echo "#include <stddef.h>" >> tmp-stdint.h
84055 fi
84056 if test "$acx_cv_header_stdint" != stddef.h; then
84057 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84058 fi
84059
84060 sed 's/^ *//' >> tmp-stdint.h <<EOF
84061 /* glibc uses these symbols as guards to prevent redefinitions. */
84062 #ifdef __int8_t_defined
84063 #define _INT8_T
84064 #define _INT16_T
84065 #define _INT32_T
84066 #endif
84067 #ifdef __uint32_t_defined
84068 #define _UINT32_T
84069 #endif
84070
84071 EOF
84072
84073 # ----------------- done header, emit basic int types -------------
84074 if test "$acx_cv_header_stdint" = stddef.h; then
84075 sed 's/^ *//' >> tmp-stdint.h <<EOF
84076
84077 #ifndef _UINT8_T
84078 #define _UINT8_T
84079 #ifndef __uint8_t_defined
84080 #define __uint8_t_defined
84081 #ifndef uint8_t
84082 typedef unsigned $acx_cv_type_int8_t uint8_t;
84083 #endif
84084 #endif
84085 #endif
84086
84087 #ifndef _UINT16_T
84088 #define _UINT16_T
84089 #ifndef __uint16_t_defined
84090 #define __uint16_t_defined
84091 #ifndef uint16_t
84092 typedef unsigned $acx_cv_type_int16_t uint16_t;
84093 #endif
84094 #endif
84095 #endif
84096
84097 #ifndef _UINT32_T
84098 #define _UINT32_T
84099 #ifndef __uint32_t_defined
84100 #define __uint32_t_defined
84101 #ifndef uint32_t
84102 typedef unsigned $acx_cv_type_int32_t uint32_t;
84103 #endif
84104 #endif
84105 #endif
84106
84107 #ifndef _INT8_T
84108 #define _INT8_T
84109 #ifndef __int8_t_defined
84110 #define __int8_t_defined
84111 #ifndef int8_t
84112 typedef $acx_cv_type_int8_t int8_t;
84113 #endif
84114 #endif
84115 #endif
84116
84117 #ifndef _INT16_T
84118 #define _INT16_T
84119 #ifndef __int16_t_defined
84120 #define __int16_t_defined
84121 #ifndef int16_t
84122 typedef $acx_cv_type_int16_t int16_t;
84123 #endif
84124 #endif
84125 #endif
84126
84127 #ifndef _INT32_T
84128 #define _INT32_T
84129 #ifndef __int32_t_defined
84130 #define __int32_t_defined
84131 #ifndef int32_t
84132 typedef $acx_cv_type_int32_t int32_t;
84133 #endif
84134 #endif
84135 #endif
84136 EOF
84137 elif test "$ac_cv_type_u_int32_t" = yes; then
84138 sed 's/^ *//' >> tmp-stdint.h <<EOF
84139
84140 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84141 #ifndef _INT8_T
84142 #define _INT8_T
84143 #endif
84144 #ifndef _INT16_T
84145 #define _INT16_T
84146 #endif
84147 #ifndef _INT32_T
84148 #define _INT32_T
84149 #endif
84150
84151 #ifndef _UINT8_T
84152 #define _UINT8_T
84153 #ifndef __uint8_t_defined
84154 #define __uint8_t_defined
84155 #ifndef uint8_t
84156 typedef u_int8_t uint8_t;
84157 #endif
84158 #endif
84159 #endif
84160
84161 #ifndef _UINT16_T
84162 #define _UINT16_T
84163 #ifndef __uint16_t_defined
84164 #define __uint16_t_defined
84165 #ifndef uint16_t
84166 typedef u_int16_t uint16_t;
84167 #endif
84168 #endif
84169 #endif
84170
84171 #ifndef _UINT32_T
84172 #define _UINT32_T
84173 #ifndef __uint32_t_defined
84174 #define __uint32_t_defined
84175 #ifndef uint32_t
84176 typedef u_int32_t uint32_t;
84177 #endif
84178 #endif
84179 #endif
84180 EOF
84181 else
84182 sed 's/^ *//' >> tmp-stdint.h <<EOF
84183
84184 /* Some systems have guard macros to prevent redefinitions, define them. */
84185 #ifndef _INT8_T
84186 #define _INT8_T
84187 #endif
84188 #ifndef _INT16_T
84189 #define _INT16_T
84190 #endif
84191 #ifndef _INT32_T
84192 #define _INT32_T
84193 #endif
84194 #ifndef _UINT8_T
84195 #define _UINT8_T
84196 #endif
84197 #ifndef _UINT16_T
84198 #define _UINT16_T
84199 #endif
84200 #ifndef _UINT32_T
84201 #define _UINT32_T
84202 #endif
84203 EOF
84204 fi
84205
84206 # ------------- done basic int types, emit int64_t types ------------
84207 if test "$ac_cv_type_uint64_t" = yes; then
84208 sed 's/^ *//' >> tmp-stdint.h <<EOF
84209
84210 /* system headers have good uint64_t and int64_t */
84211 #ifndef _INT64_T
84212 #define _INT64_T
84213 #endif
84214 #ifndef _UINT64_T
84215 #define _UINT64_T
84216 #endif
84217 EOF
84218 elif test "$ac_cv_type_u_int64_t" = yes; then
84219 sed 's/^ *//' >> tmp-stdint.h <<EOF
84220
84221 /* system headers have an u_int64_t (and int64_t) */
84222 #ifndef _INT64_T
84223 #define _INT64_T
84224 #endif
84225 #ifndef _UINT64_T
84226 #define _UINT64_T
84227 #ifndef __uint64_t_defined
84228 #define __uint64_t_defined
84229 #ifndef uint64_t
84230 typedef u_int64_t uint64_t;
84231 #endif
84232 #endif
84233 #endif
84234 EOF
84235 elif test -n "$acx_cv_type_int64_t"; then
84236 sed 's/^ *//' >> tmp-stdint.h <<EOF
84237
84238 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84239 #ifndef _INT64_T
84240 #define _INT64_T
84241 #ifndef int64_t
84242 typedef $acx_cv_type_int64_t int64_t;
84243 #endif
84244 #endif
84245 #ifndef _UINT64_T
84246 #define _UINT64_T
84247 #ifndef __uint64_t_defined
84248 #define __uint64_t_defined
84249 #ifndef uint64_t
84250 typedef unsigned $acx_cv_type_int64_t uint64_t;
84251 #endif
84252 #endif
84253 #endif
84254 EOF
84255 else
84256 sed 's/^ *//' >> tmp-stdint.h <<EOF
84257
84258 /* some common heuristics for int64_t, using compiler-specific tests */
84259 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84260 #ifndef _INT64_T
84261 #define _INT64_T
84262 #ifndef __int64_t_defined
84263 #ifndef int64_t
84264 typedef long long int64_t;
84265 #endif
84266 #endif
84267 #endif
84268 #ifndef _UINT64_T
84269 #define _UINT64_T
84270 #ifndef uint64_t
84271 typedef unsigned long long uint64_t;
84272 #endif
84273 #endif
84274
84275 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84276 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84277 does not implement __extension__. But that compiler doesn't define
84278 __GNUC_MINOR__. */
84279 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84280 # define __extension__
84281 # endif
84282
84283 # ifndef _INT64_T
84284 # define _INT64_T
84285 # ifndef int64_t
84286 __extension__ typedef long long int64_t;
84287 # endif
84288 # endif
84289 # ifndef _UINT64_T
84290 # define _UINT64_T
84291 # ifndef uint64_t
84292 __extension__ typedef unsigned long long uint64_t;
84293 # endif
84294 # endif
84295
84296 #elif !defined __STRICT_ANSI__
84297 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84298
84299 # ifndef _INT64_T
84300 # define _INT64_T
84301 # ifndef int64_t
84302 typedef __int64 int64_t;
84303 # endif
84304 # endif
84305 # ifndef _UINT64_T
84306 # define _UINT64_T
84307 # ifndef uint64_t
84308 typedef unsigned __int64 uint64_t;
84309 # endif
84310 # endif
84311 # endif /* compiler */
84312
84313 #endif /* ANSI version */
84314 EOF
84315 fi
84316
84317 # ------------- done int64_t types, emit intptr types ------------
84318 if test "$ac_cv_type_uintptr_t" != yes; then
84319 sed 's/^ *//' >> tmp-stdint.h <<EOF
84320
84321 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84322 #ifndef __uintptr_t_defined
84323 #ifndef uintptr_t
84324 typedef u$acx_cv_type_intptr_t uintptr_t;
84325 #endif
84326 #endif
84327 #ifndef __intptr_t_defined
84328 #ifndef intptr_t
84329 typedef $acx_cv_type_intptr_t intptr_t;
84330 #endif
84331 #endif
84332 EOF
84333 fi
84334
84335 # ------------- done intptr types, emit int_least types ------------
84336 if test "$ac_cv_type_int_least32_t" != yes; then
84337 sed 's/^ *//' >> tmp-stdint.h <<EOF
84338
84339 /* Define int_least types */
84340 typedef int8_t int_least8_t;
84341 typedef int16_t int_least16_t;
84342 typedef int32_t int_least32_t;
84343 #ifdef _INT64_T
84344 typedef int64_t int_least64_t;
84345 #endif
84346
84347 typedef uint8_t uint_least8_t;
84348 typedef uint16_t uint_least16_t;
84349 typedef uint32_t uint_least32_t;
84350 #ifdef _UINT64_T
84351 typedef uint64_t uint_least64_t;
84352 #endif
84353 EOF
84354 fi
84355
84356 # ------------- done intptr types, emit int_fast types ------------
84357 if test "$ac_cv_type_int_fast32_t" != yes; then
84358 sed 's/^ *//' >> tmp-stdint.h <<EOF
84359
84360 /* Define int_fast types. short is often slow */
84361 typedef int8_t int_fast8_t;
84362 typedef int int_fast16_t;
84363 typedef int32_t int_fast32_t;
84364 #ifdef _INT64_T
84365 typedef int64_t int_fast64_t;
84366 #endif
84367
84368 typedef uint8_t uint_fast8_t;
84369 typedef unsigned int uint_fast16_t;
84370 typedef uint32_t uint_fast32_t;
84371 #ifdef _UINT64_T
84372 typedef uint64_t uint_fast64_t;
84373 #endif
84374 EOF
84375 fi
84376
84377 if test "$ac_cv_type_uintmax_t" != yes; then
84378 sed 's/^ *//' >> tmp-stdint.h <<EOF
84379
84380 /* Define intmax based on what we found */
84381 #ifndef intmax_t
84382 #ifdef _INT64_T
84383 typedef int64_t intmax_t;
84384 #else
84385 typedef long intmax_t;
84386 #endif
84387 #endif
84388 #ifndef uintmax_t
84389 #ifdef _UINT64_T
84390 typedef uint64_t uintmax_t;
84391 #else
84392 typedef unsigned long uintmax_t;
84393 #endif
84394 #endif
84395 EOF
84396 fi
84397
84398 sed 's/^ *//' >> tmp-stdint.h <<EOF
84399
84400 #endif /* GCC_GENERATED_STDINT_H */
84401 EOF
84402
84403 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84404 rm -f tmp-stdint.h
84405 else
84406 mv -f tmp-stdint.h include/gstdint.h
84407 fi
84408
84409 ;;
84410 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84411 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84412 "include/Makefile":F) cat > vpsed$$ << \_EOF
84413 s!`test -f '$<' || echo '$(srcdir)/'`!!
84414 _EOF
84415 sed -f vpsed$$ $ac_file > tmp$$
84416 mv tmp$$ $ac_file
84417 rm vpsed$$
84418 echo 'MULTISUBDIR =' >> $ac_file
84419 ml_norecursion=yes
84420 . ${multi_basedir}/config-ml.in
84421 { ml_norecursion=; unset ml_norecursion;}
84422 ;;
84423 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84424 s!`test -f '$<' || echo '$(srcdir)/'`!!
84425 _EOF
84426 sed -f vpsed$$ $ac_file > tmp$$
84427 mv tmp$$ $ac_file
84428 rm vpsed$$
84429 echo 'MULTISUBDIR =' >> $ac_file
84430 ml_norecursion=yes
84431 . ${multi_basedir}/config-ml.in
84432 { ml_norecursion=; unset ml_norecursion;}
84433 ;;
84434 "src/Makefile":F) cat > vpsed$$ << \_EOF
84435 s!`test -f '$<' || echo '$(srcdir)/'`!!
84436 _EOF
84437 sed -f vpsed$$ $ac_file > tmp$$
84438 mv tmp$$ $ac_file
84439 rm vpsed$$
84440 echo 'MULTISUBDIR =' >> $ac_file
84441 ml_norecursion=yes
84442 . ${multi_basedir}/config-ml.in
84443 { ml_norecursion=; unset ml_norecursion;}
84444 ;;
84445 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84446 s!`test -f '$<' || echo '$(srcdir)/'`!!
84447 _EOF
84448 sed -f vpsed$$ $ac_file > tmp$$
84449 mv tmp$$ $ac_file
84450 rm vpsed$$
84451 echo 'MULTISUBDIR =' >> $ac_file
84452 ml_norecursion=yes
84453 . ${multi_basedir}/config-ml.in
84454 { ml_norecursion=; unset ml_norecursion;}
84455 ;;
84456 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84457 s!`test -f '$<' || echo '$(srcdir)/'`!!
84458 _EOF
84459 sed -f vpsed$$ $ac_file > tmp$$
84460 mv tmp$$ $ac_file
84461 rm vpsed$$
84462 echo 'MULTISUBDIR =' >> $ac_file
84463 ml_norecursion=yes
84464 . ${multi_basedir}/config-ml.in
84465 { ml_norecursion=; unset ml_norecursion;}
84466 ;;
84467 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84468 s!`test -f '$<' || echo '$(srcdir)/'`!!
84469 _EOF
84470 sed -f vpsed$$ $ac_file > tmp$$
84471 mv tmp$$ $ac_file
84472 rm vpsed$$
84473 echo 'MULTISUBDIR =' >> $ac_file
84474 ml_norecursion=yes
84475 . ${multi_basedir}/config-ml.in
84476 { ml_norecursion=; unset ml_norecursion;}
84477 ;;
84478 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84479 s!`test -f '$<' || echo '$(srcdir)/'`!!
84480 _EOF
84481 sed -f vpsed$$ $ac_file > tmp$$
84482 mv tmp$$ $ac_file
84483 rm vpsed$$
84484 echo 'MULTISUBDIR =' >> $ac_file
84485 ml_norecursion=yes
84486 . ${multi_basedir}/config-ml.in
84487 { ml_norecursion=; unset ml_norecursion;}
84488 ;;
84489 "po/Makefile":F) cat > vpsed$$ << \_EOF
84490 s!`test -f '$<' || echo '$(srcdir)/'`!!
84491 _EOF
84492 sed -f vpsed$$ $ac_file > tmp$$
84493 mv tmp$$ $ac_file
84494 rm vpsed$$
84495 echo 'MULTISUBDIR =' >> $ac_file
84496 ml_norecursion=yes
84497 . ${multi_basedir}/config-ml.in
84498 { ml_norecursion=; unset ml_norecursion;}
84499 ;;
84500 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84501 s!`test -f '$<' || echo '$(srcdir)/'`!!
84502 _EOF
84503 sed -f vpsed$$ $ac_file > tmp$$
84504 mv tmp$$ $ac_file
84505 rm vpsed$$
84506 echo 'MULTISUBDIR =' >> $ac_file
84507 ml_norecursion=yes
84508 . ${multi_basedir}/config-ml.in
84509 { ml_norecursion=; unset ml_norecursion;}
84510 ;;
84511 "python/Makefile":F) cat > vpsed$$ << \_EOF
84512 s!`test -f '$<' || echo '$(srcdir)/'`!!
84513 _EOF
84514 sed -f vpsed$$ $ac_file > tmp$$
84515 mv tmp$$ $ac_file
84516 rm vpsed$$
84517 echo 'MULTISUBDIR =' >> $ac_file
84518 ml_norecursion=yes
84519 . ${multi_basedir}/config-ml.in
84520 { ml_norecursion=; unset ml_norecursion;}
84521 ;;
84522 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84523
84524 esac
84525 done # for ac_tag
84526
84527
84528 as_fn_exit 0
84529 _ACEOF
84530 ac_clean_files=$ac_clean_files_save
84531
84532 test $ac_write_fail = 0 ||
84533 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84534
84535
84536 # configure is writing to config.log, and then calls config.status.
84537 # config.status does its own redirection, appending to config.log.
84538 # Unfortunately, on DOS this fails, as config.log is still kept open
84539 # by configure, so config.status won't be able to write to it; its
84540 # output is simply discarded. So we exec the FD to /dev/null,
84541 # effectively closing config.log, so it can be properly (re)opened and
84542 # appended to by config.status. When coming back to configure, we
84543 # need to make the FD available again.
84544 if test "$no_create" != yes; then
84545 ac_cs_success=:
84546 ac_config_status_args=
84547 test "$silent" = yes &&
84548 ac_config_status_args="$ac_config_status_args --quiet"
84549 exec 5>/dev/null
84550 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84551 exec 5>>config.log
84552 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84553 # would make configure fail if this is the last instruction.
84554 $ac_cs_success || as_fn_exit $?
84555 fi
84556 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84558 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84559 fi
84560